1 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
3 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5 2014-06-03 Richard Henderson <rth@redhat.com>
7 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
8 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
9 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
10 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
11 in the SAVE_PID block.
12 (__libc_vfork): New alias.
13 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
15 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
16 child in registers, not on the stack. Remove RESET_PID conditionals.
17 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
19 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
21 * sysdeps/aarch64/libm-test-ulps: Regenerate.
23 2014-06-03 Wilco <wdijkstr@arm.com>
25 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
26 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
27 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
28 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
29 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
32 2014-06-03 Wilco <wdijkstr@arm.com>
34 * sysdeps/aarch64/fpu/math_private.h
35 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
36 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
37 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
38 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
41 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
43 * crypt/crypt-private.h: Include ufc-crypt.h.
44 (__b64_from_24bit): Declare extern.
45 * crypt/crypt_util.c(__b64_from_24bit): New function.
46 (b64t): New static const variable.
47 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
48 (b64t): Remove variable.
49 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
50 * crypt/sha256-crypt.c: Include crypt-private.h.
51 (b64t): Remove variable.
52 (__sha256_crypt_r): Remove b64_from_24bit and replace
53 with __b64_from_24bit.
54 * crypt/sha512-crypt.c: Likewise.
56 2014-06-02 Roland McGrath <roland@hack.frob.com>
58 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
59 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
60 Label the code __libc_vfork rather than __vfork.
61 [!NOT_IN_libc] (vfork): Define as weak alias.
62 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
63 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
64 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
66 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
68 * malloc/malloc.c (malloc_info): Fix format specifier for
71 2014-06-02 Wilco <wdijkstr@arm.com>
73 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
76 2014-06-02 Wilco <wdijkstr@arm.com>
79 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
80 Rewrite to reduce FPCR/FPSR accesses.
82 2014-06-01 David S. Miller <davem@davemloft.net>
84 * sysdeps/sparc/fpu/libm-test-ulps: Update.
86 2014-05-31 David S. Miller <davem@davemloft.net>
88 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
89 to occur in round to nearest mode when |x| >= 2.0
91 2014-05-30 Richard Henderson <rth@twiddle.net>
93 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
94 (PSEUDO_RET_NOERRNO): Remove.
95 (ret): Don't redefine.
96 (ret_NOERRNO): Define in terms of ret.
97 (ret_ERRVAL): Likewise.
99 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
100 use of PSEUDO_RET; perform the error check directly.
102 2014-05-30 Marko Myllynen <myllynen@redhat.com>
104 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
107 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
109 * malloc/malloc (malloc_info): Fix formatting.
111 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
112 Roland McGrath <roland@hack.frob.com>
114 * malloc/malloc (malloc_info): Also print mmapped statistics.
116 2014-05-30 Roland McGrath <roland@hack.frob.com>
118 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
119 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
121 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
123 * malloc/malloc.c (malloc_info): Inline mi_arena.
125 2014-05-29 Richard Henderson <rth@twiddle.net>
127 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
128 Remove comma before expanding ASM_ARGS_##nr.
129 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
130 Make _x0 a strict output; make _x8 a strict input; adjust expansion
132 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
133 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
134 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
135 (ASM_ARGS_1): Add leading comma.
137 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
138 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
140 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
141 Remove the expected plt for __errno_location.
143 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
144 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
147 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
148 Always allocate 64 bytes of stack frame. Use ldp/stp to create
149 it and break it down.
150 (DOCARGS_0, DOCARGS_1): Do nothing.
151 (DOCARGS_2): Update to store into the new stack frame.
152 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
153 (UNDOCARGS_1): Update to restore from the new stack frame.
154 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
155 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
157 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
158 (SINGLE_THREAD_P): New parameter for result regno.
159 (PSEUDO): Update to match; use cbz instead of beq.
161 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
162 Use ENTRY to define the _nocancel entry point. Share the syscall
163 and syscall error check paths with the cancel path.
166 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
167 whitespace; tabs before and after asm mnemonics.
169 2014-05-29 Eric Wong <normalperson@yhbt.net>
172 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
173 Call fstat64 or stat64 internally, depending on arguments passed.
174 Replace stat buffer argument with file descriptor argument.
175 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
176 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
177 Pass fd to __internal_statvfs instead of calling fstat64.
178 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
179 Pass fd to __internal_statvfs64 instead of calling fstat64.
180 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
181 Pass -1 to __internal_statvfs instead of calling stat64.
182 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
183 Pass -1 to __internal_statvfs64 instead of calling stat64.
185 2014-05-28 Roland McGrath <roland@hack.frob.com>
187 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
188 that was previously under [RESET_PID].
189 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
191 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
192 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
194 2014-05-27 Roland McGrath <roland@hack.frob.com>
196 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
198 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
199 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
201 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
203 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
205 2014-05-27 Andreas Schwab <schwab@suse.de>
207 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
209 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
210 * elf/rtld.c (init_tls, dl_main): Likewise.
211 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
212 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
213 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
214 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
215 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
216 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
217 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
218 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
219 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
220 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
221 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
222 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
223 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
224 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
225 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
226 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
227 * sysdeps/generic/tls.h: Update description.
229 2014-05-27 Will Newton <will.newton@linaro.org>
232 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
233 and restore r2 rather than just restoring.
235 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
238 * libio/tst-ftell-append.c: New test case.
239 * libio/Makefile (tests): Add test case.
240 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
242 * libio/wfileops.c (do_ftell_wide): Likewise.
244 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
246 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
248 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
252 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
253 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
254 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
255 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
256 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
257 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
258 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
261 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
264 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
265 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
266 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
267 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
268 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
270 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
271 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
273 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
275 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
277 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
278 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
279 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
281 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
282 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
283 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
284 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
286 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
289 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
292 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
295 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
299 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
302 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
307 conditional [RESET_PID].
308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
309 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
311 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
316 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
317 (__libc_vfork): New strong alias.
318 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
320 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
325 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
326 (__libc_vfork): New strong alias.
327 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
329 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
332 2014-05-26 Carlos O'Donell <carlos@redhat.com>
334 * malloc/malloc.c (mi_arena): New function.
335 (malloc_info): Remove nested function mi_arena. Call non-nosted
338 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
340 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
342 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
343 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
344 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
345 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
346 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
347 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
348 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
350 2014-05-26 Andreas Schwab <schwab@suse.de>
353 * locale/programs/repertoire.c (repertoire_read): Add slash
354 between I18NPATH element and file name.
355 * locale/programs/locfile.c (locfile_read): Likewise.
357 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
359 * nptl/pthread_mutexattr_settype.c
360 (__pthread_mutexattr_settype):
361 Disable lock elision for PTHREAD_MUTEX_NORMAL.
363 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
365 * nptl/tst-mutex5 (do_test):
366 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
368 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
370 * benchtests/README: Document 'init' directive.
371 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
373 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
374 (parse_file): Recognize 'init' directive.
376 2014-05-26 Kyle McMartin <kyle@redhat.com>
379 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
380 alignment of struct pthread.
382 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
385 * nscd/netgroupcache.c (addgetnetgrentX): Look for
386 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
387 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
388 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
390 2014-05-25 Richard Henderson <rth@twiddle.net>
392 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
393 (SINGLE_THREAD_P_PIC): Remove.
394 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
395 (SINGLE_THREAD_P_PIC): Remove.
397 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
398 branch to syscall error ...
400 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
401 from __local_syscall_error to .Lsyscall_error.
402 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
403 (SYSCALL_ERROR): Update label name.
405 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
406 Do not use DOARGS/UNDOARGS.
407 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
408 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
409 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
410 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
411 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
413 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
416 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
417 define if !NOT_IN_libc.
418 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
419 define with non-default symbol versions.
421 2014-05-23 Richard Henderson <rth@twiddle.net>
423 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
424 (vfork, __vfork): Define via compat_symbol.
426 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
427 [!HAVE_IFUNC] (vfork_compat): Remove.
428 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
430 2014-05-23 Joseph Myers <joseph@codesourcery.com>
433 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
434 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
437 2014-05-23 Richard Henderson <rth@twiddle.net>
439 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
440 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
441 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
442 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
444 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
445 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
446 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
447 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
448 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
449 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
450 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
451 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
452 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
453 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
454 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
455 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
456 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
457 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
458 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
459 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
460 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
461 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
462 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
463 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
464 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
465 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
466 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
467 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
468 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
469 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
470 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
471 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
472 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
473 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
474 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
475 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
476 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
477 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
478 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
479 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
480 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
481 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
482 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
483 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
484 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
485 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
486 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
487 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
488 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
489 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
490 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
491 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
492 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
493 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
494 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
495 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
496 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
497 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
498 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
499 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
501 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
502 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
503 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
504 before exiting on error.
505 (__libc_vfork): New strong alias.
506 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
507 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
509 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
510 that was previously under [RESET_PID].
511 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
513 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
515 2014-05-23 Joseph Myers <joseph@codesourcery.com>
518 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
519 value when x - 1 is zero.
520 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
521 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
522 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
523 0.0L for an argument of 1.0L.
524 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
526 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
527 value when x - 1 is zero.
528 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
529 * sysdeps/i386/fpu/libm-test-ulps: Update.
530 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
532 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
534 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
535 alphasort and versionsort.
537 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
539 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
541 [copysignf]: Likewise.
543 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
545 * crypt/md5-crypt.c: Fix formatting.
547 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
549 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
550 (b64_from_24bit): New function.
552 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
554 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
555 libc_hidden_builtin_def to ifunc.
556 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
557 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
559 2014-05-21 Roland McGrath <roland@hack.frob.com>
561 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
562 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
564 2014-05-21 Joseph Myers <joseph@codesourcery.com>
566 * nscd/Depend (linuxthreads): Remove.
568 * resolv/Depend (linuxthreads): Remove.
569 * rt/Depend (linuxthreads): Remove.
571 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
572 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
573 $(common-objpfx)elf/.
574 (link-libc-before-gnulib): Likewise.
575 (elfobjdir): Remove variable.
576 * Makefile (install): Use $(elf-objpfx) instead of
577 $(common-objpfx)elf/.
578 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
580 (link-libc-deps): Likewise.
581 ($(common-objpfx)libc.so): Likewise.
582 ($(common-objpfx)linkobj/libc.so): Likewise.
583 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
584 instead of $(common-objpfx)elf/.
585 (symbolic-link-list): Likewise.
586 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
587 [$(cross-compiling) = no]: Likewise.
588 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
590 (static-gnulib-arch): Likewise.
591 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
592 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
593 $(common-objpfx)elf/.
595 2014-05-21 Richard Henderson <rth@redhat.com>
597 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
598 (SINGLE_THREAD_P): Use the correct width load. Fold
601 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
602 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
604 2014-05-20 Joseph Myers <joseph@codesourcery.com>
606 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
607 (libgcc_s_resume): Use __attribute_used__.
608 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
611 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
613 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
614 optimization when used with float constants.
616 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
618 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
621 * locale/nl_langinfo_l.c: Make direct reference to every
622 _nl_current_CATEGORY symbol.
623 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
624 (tests-static): Add tst-langinfo-static.
625 (tests-special): Add tst-langinfo-static.out.
626 ($(objpfx)tst-langinfo.out): Redirect output.
627 ($(objpfx)tst-langinfo-static.out): New.
628 * localedata/tst-langinfo.sh: Send output to stdout.
629 * localedata/tst-langinfo-static.c: New file.
632 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
633 when the shift amount is modulo the limb size.
635 2014-05-20 Richard Henderson <rth@redhat.com>
638 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
639 Change type of sa_flags from unsigned int to int.
642 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
644 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
646 2014-05-20 Will Newton <will.newton@linaro.org>
648 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
649 Test the return value of the system call in the nocancel case.
651 2014-05-20 Will Newton <will.newton@linaro.org>
652 Yvan Roux <yvan.roux@linaro.org>
654 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
655 #include of asm/ptrace.h.
656 (PTRACE_GET_THREAD_AREA): Remove #undef.
657 (PTRACE_GETHBPREGS): Likewise.
658 (PTRACE_SETHBPREGS): Likewise.
659 (struct user_regs_struct): New structure.
660 (struct user_fpsimd_struct): New structure.
661 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
662 #include of asm/ptrace.h and second #include of sys/user.h.
663 (PTRACE_GET_THREAD_AREA): Remove #undef.
664 (PTRACE_GETHBPREGS): Likewise.
665 (PTRACE_SETHBPREGS): Likewise.
666 (ELF_NGREG): Use new struct user_regs_struct.
667 (elf_fpregset_t): Use new struct user_fpsimd_struct.
669 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
671 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
672 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
674 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
677 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
678 membar to avoid block loads/stores to overlap previous stores.
680 2014-05-17 Richard Henderson <rth@redhat.com>
682 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
683 Create the __##syscall_name##_nocancel entry point.
684 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
685 Remove; let the sysdep-cancel.h code create it.
687 2014-05-17 David S. Miller <davem@davemloft.net>
689 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
690 Protect with __USE_GNU.
691 (TIOCSET_TEMPT): Likewise.
692 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
693 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
694 these are already provided in bits/ioctl-types.h
696 2014-05-16 Roland McGrath <roland@hack.frob.com>
698 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
699 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
701 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
702 Use wait4 regardless of [__NR_waitpid].
704 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
707 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
708 (_FP_NANSIGN_Q): Set the quiet bit.
710 2014-05-16 Joseph Myers <joseph@codesourcery.com>
712 * benchtests/Makefile
713 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
714 not $(common-objpfx)math/libm.so.
715 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
716 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
717 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
718 $(common-objpfx)dlfcn/libdl.so.
719 ($(objpfx)tst-audit8): Depend on $(libm), not
720 $(common-objpfx)math/libm.so.
721 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
722 not $(common-objpfx)dlfcn/libdl.so.
724 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
725 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
726 [$(build-shared) = yes].
727 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
728 $(common-objpfx)nptl/libpthread.so.
729 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
730 $(common-objpfx)math/libm.so$(libm.so-version) or
731 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
732 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
733 $(common-objpfx)dlfcn/libdl.so.
734 * setjmp/Makefile (link-libm): Remove variable.
735 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
736 * stdio-common/Makefile (link-libm): Remove variable.
737 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
738 * stdlib/Makefile (link-libm): Remove variable.
739 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
740 ($(objpfx)tst-strtod-round): Likewise.
741 ($(objpfx)tst-tininess): Likewise.
742 ($(objpfx)tst-strtod-underflow): Likewise.
743 ($(objpfx)tst-strtod6): Likewise.
744 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
745 $(libdl), not $(common-objpfx)nptl/libpthread.so and
746 $(common-objpfx)dlfcn/libdl.so.
748 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
750 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
751 BSD terminal modes definitions.
753 2014-05-16 Roland McGrath <roland@hack.frob.com>
755 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
756 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
758 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
759 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
760 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
761 Don't do #include_next.
762 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
763 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
764 Don't do #include_next.
765 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
766 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
767 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
768 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
770 2014-05-16 Allan McRae <allan@archlinux.org>
772 * po/sv.po: Update Swedish translation from translation project.
774 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
777 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
780 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
781 errno if the TIOCGPTN ioctl fails with an error different than
783 * login/tst-ptsname.c: New file.
784 * login/Makefile (tests): Add tst-ptsname.
787 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
790 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
793 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
794 herrno to return EAI_AGAIN.
796 2014-05-14 Roland McGrath <roland@hack.frob.com>
798 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
799 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
800 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
801 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
802 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
803 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
804 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
805 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
806 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
807 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
808 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
809 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
810 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
811 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
812 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
813 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
814 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
815 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
816 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
817 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
818 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
819 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
820 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
821 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
822 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
823 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
824 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
825 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
826 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
827 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
828 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
829 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
830 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
831 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
832 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
834 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
835 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
836 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
837 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
838 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
839 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
840 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
841 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
842 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
843 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
844 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
845 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
846 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
847 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
848 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
849 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
850 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
851 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
852 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
853 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
854 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
855 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
856 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
857 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
858 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
859 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
860 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
861 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
863 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
864 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
865 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
866 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
867 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
868 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
869 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
870 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
871 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
872 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
873 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
874 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
875 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
876 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
877 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
878 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
879 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
880 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
881 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
882 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
884 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
885 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
886 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
888 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
889 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
890 (libpthread-sysdep_routines): Add elision-related stuff here instead.
891 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
892 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
893 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
894 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
895 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
896 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
897 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
898 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
899 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
900 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
901 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
902 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
903 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
904 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
905 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
906 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
907 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
908 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
909 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
910 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
911 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
912 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
913 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
914 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
915 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
916 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
917 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
918 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
920 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
921 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
923 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
924 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
925 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
926 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
927 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
928 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
930 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
931 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
933 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
934 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
936 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
937 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
939 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
940 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
941 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
942 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
944 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
945 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
946 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
947 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
948 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
949 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
950 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
951 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
953 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
954 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
956 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
958 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
959 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
960 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
961 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
962 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
964 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
966 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
968 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
969 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
970 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
971 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
972 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
973 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
975 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
976 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
978 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
979 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
981 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
982 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
984 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
985 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
986 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
987 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
989 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
990 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
991 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
992 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
993 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
994 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
995 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
996 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
998 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
999 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
1001 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
1003 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
1004 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
1005 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
1006 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
1007 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
1009 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
1011 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
1013 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
1014 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
1015 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
1016 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
1017 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
1018 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
1019 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
1020 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
1021 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
1022 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
1024 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
1025 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
1027 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
1028 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
1030 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
1031 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
1033 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
1034 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
1035 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
1036 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
1037 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
1038 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
1040 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
1041 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
1042 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
1043 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
1044 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
1045 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
1046 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
1047 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
1049 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
1050 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
1052 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
1054 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
1055 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
1056 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
1057 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
1058 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
1060 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
1062 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
1064 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
1065 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
1066 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
1067 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
1068 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
1069 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
1070 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
1071 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
1072 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
1073 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
1074 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
1076 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
1077 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
1079 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
1080 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
1082 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
1083 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
1084 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
1085 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
1086 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
1087 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
1088 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
1089 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
1090 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
1091 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
1092 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
1093 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
1094 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
1095 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
1096 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
1097 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
1098 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
1099 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
1101 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
1102 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
1103 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
1104 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
1106 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
1107 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
1108 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
1109 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
1110 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
1111 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
1112 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
1113 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
1115 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
1116 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
1118 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
1119 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
1120 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
1121 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
1122 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
1123 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
1124 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
1125 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
1126 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
1127 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
1128 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
1129 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
1130 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
1131 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
1132 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
1133 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
1134 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
1136 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
1137 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
1138 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
1139 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
1140 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
1142 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
1143 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
1144 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
1145 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
1146 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
1147 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
1148 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
1149 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
1150 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
1151 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
1153 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
1154 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
1156 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
1157 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
1158 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
1159 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
1160 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
1161 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
1162 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
1163 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
1164 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
1165 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
1166 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
1167 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
1168 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
1169 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
1170 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
1172 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
1174 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
1176 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
1178 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
1180 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
1182 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
1184 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
1186 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
1188 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
1190 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
1191 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
1192 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
1193 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
1194 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
1195 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
1196 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
1197 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
1198 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
1199 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
1200 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
1201 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
1202 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
1203 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
1204 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
1206 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
1207 that was previously under [RESET_PID].
1208 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
1209 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
1210 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
1212 * sysdeps/i386/nptl/Implies: New file.
1213 * sysdeps/x86_64/nptl/Implies: New file.
1214 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
1215 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
1216 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
1217 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
1219 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
1220 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1221 (__libc_vfork): New strong alias.
1222 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
1223 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
1225 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
1226 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1227 (__libc_vfork): New strong alias.
1228 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
1229 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
1231 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
1232 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1233 (__libc_vfork): New strong alias.
1234 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
1235 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
1236 * nptl/pt-vfork.c: New file.
1237 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
1238 (libpthread: GLIBC_2.20): New version set (empty).
1240 2014-05-14 Will Newton <will.newton@linaro.org>
1242 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
1245 2014-05-14 Joseph Myers <joseph@codesourcery.com>
1248 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
1249 arguments with exponent 65 or above.
1250 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
1251 arguments 0x1p113L or above.
1252 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
1253 to arguments 0x1p107L or above.
1254 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
1255 positive arguments with exponent 65 or above.
1256 * math/auto-libm-test-in: Add more tests of log1p.
1257 * math/auto-libm-test-out: Regenerated.
1260 * math/s_cacos.c (__cacos): Ensure zero real part of result from
1261 non-finite arguments is +0.
1262 * math/s_cacosf.c (__cacosf): Likewise.
1263 * math/s_cacosl.c (__cacosl): Likewise.
1264 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
1265 * sysdeps/i386/fpu/libm-test-ulps: Update.
1266 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1269 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
1271 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
1272 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
1273 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
1274 for explicit high bit of mantissa when testing for argument equal
1276 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
1277 * sysdeps/i386/fpu/libm-test-ulps: Update.
1278 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1281 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
1282 (__erf): Scale by 16 instead of 8 in potentially underflowing
1283 case. Ensure exception if result actually underflows.
1284 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
1285 (__erff): Scale by 16 instead of 8 in potentially underflowing
1286 case. Ensure exception if result actually underflows.
1287 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
1288 (efx8): Remove variable.
1289 (__erfl): Scale by 16 instead of 8 in potentially underflowing
1290 case. Ensure exception if result actually underflows.
1291 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
1292 (efx8): Remove variable.
1293 (__erfl): Scale by 16 instead of 8 in potentially underflowing
1294 case. Ensure exception if result actually underflows.
1295 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
1296 (efx8): Remove variable.
1297 (__erfl): Scale by 16 instead of 8 in potentially underflowing
1298 case. Ensure exception if result actually underflows.
1299 * math/auto-libm-test-in: Add more tests of erf.
1300 * math/auto-libm-test-out: Regenerated.
1302 2014-05-14 Andreas Schwab <schwab@suse.de>
1304 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
1305 Remove code conditionalized on USE___THREAD.
1307 * config.h.in (HAVE_PT_CHOWN): Define as 0.
1308 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
1311 2014-05-14 Joseph Myers <joseph@codesourcery.com>
1313 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
1314 Define unconditionally.
1315 (__ASSUME_O_CLOEXEC): Likewise.
1316 (__ASSUME_SOCK_CLOEXEC): Likewise.
1317 (__ASSUME_IN_NONBLOCK): Likewise.
1318 (__ASSUME_PIPE2): Likewise.
1319 (__ASSUME_EVENTFD2): Likewise.
1320 (__ASSUME_SIGNALFD4): Likewise.
1321 (__ASSUME_DUP3): Likewise.
1322 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1323 (__ASSUME_DUP3): Do not define.
1324 (__ASSUME_EVENTFD2): Likewise.
1325 (__ASSUME_IN_NONBLOCK): Likewise.
1326 (__ASSUME_O_CLOEXEC): Likewise.
1327 (__ASSUME_PIPE2): Likewise.
1328 (__ASSUME_SIGNALFD4): Likewise.
1329 (__ASSUME_SOCK_CLOEXEC): Likewise.
1330 (__ASSUME_UTIMES): Undefine.
1331 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1332 (__ASSUME_UTIMES): Do not define.
1333 (__ASSUME_O_CLOEXEC): Likewise.
1334 (__ASSUME_SOCK_CLOEXEC): Likewise.
1335 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
1336 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
1338 (__ASSUME_PIPE2): Likewise.
1339 (__ASSUME_EVENTFD2): Likewise.
1340 (__ASSUME_SIGNALFD4): Likewise.
1341 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
1342 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
1344 (__ASSUME_EVENTFD2): Likewise.
1345 (__ASSUME_SIGNALFD4): Likewise.
1346 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1347 (__ASSUME_32BITUIDS): Likewise.
1348 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
1349 (__ASSUME_IPC64): Likewise.
1350 (__ASSUME_ST_INO_64_BIT): Likewise.
1351 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
1352 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
1353 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1354 (__ASSUME_UTIMES): Do not define.
1355 (__ASSUME_PSELECT): Likewise.
1356 (__ASSUME_PPOLL): Likewise.
1357 (__ASSUME_O_CLOEXEC): Likewise.
1358 (__ASSUME_SOCK_CLOEXEC): Likewise.
1359 (__ASSUME_IN_NONBLOCK): Likewise.
1360 (__ASSUME_PIPE2): Likewise.
1361 (__ASSUME_EVENTFD2): Likewise.
1362 (__ASSUME_SIGNALFD4): Likewise.
1363 (__ASSUME_DUP3): Likewise.
1364 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1365 (__ASSUME_UTIMES): Likewise.
1366 (__ASSUME_O_CLOEXEC): Likewise.
1367 (__ASSUME_SOCK_CLOEXEC): Likewise.
1368 (__ASSUME_IN_NONBLOCK): Likewise.
1369 (__ASSUME_PIPE2): Likewise.
1370 (__ASSUME_EVENTFD2): Likewise.
1371 (__ASSUME_SIGNALFD4): Likewise.
1372 (__ASSUME_DUP3): Likewise.
1373 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1374 (__ASSUME_UTIMES): Likewise.
1375 (__ASSUME_O_CLOEXEC): Likewise.
1376 (__ASSUME_SOCK_CLOEXEC): Likewise.
1377 (__ASSUME_IN_NONBLOCK): Likewise.
1378 (__ASSUME_PIPE2): Likewise.
1379 (__ASSUME_EVENTFD2): Likewise.
1380 (__ASSUME_SIGNALFD4): Likewise.
1381 (__ASSUME_DUP3): Likewise.
1382 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
1384 (__ASSUME_UTIMES): Likewise.
1385 (__ASSUME_EVENTFD2): Likewise.
1386 (__ASSUME_SIGNALFD4): Likewise.
1387 * sysdeps/unix/sysv/linux/tile/kernel-features.h
1388 (__ASSUME_O_CLOEXEC): Likewise.
1389 (__ASSUME_SOCK_CLOEXEC): Likewise.
1390 (__ASSUME_IN_NONBLOCK): Likewise.
1391 (__ASSUME_PIPE2): Likewise.
1392 (__ASSUME_EVENTFD2): Likewise.
1393 (__ASSUME_SIGNALFD4): Likewise.
1394 (__ASSUME_DUP3): Likewise.
1395 (__ASSUME_UTIMES): Undefine.
1397 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
1398 feclearexcept. Remove symbol versioning code.
1399 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
1400 symbol versioning code.
1401 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
1402 symbol versioning code.
1403 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
1404 feupdateenv. Remove symbol versioning code.
1405 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
1406 fegetexceptflag. Remove symbol versioning code.
1407 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
1408 fesetexceptflag. Remove symbol versioning code.
1409 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
1410 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
1411 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
1412 (__posix_fadvise64_l32): Remove prototype.
1413 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
1416 2014-05-13 Roland McGrath <roland@hack.frob.com>
1418 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
1419 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
1420 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
1421 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
1423 2014-05-13 Sami Kerola <kerolasa@iki.fi>
1425 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
1426 current working directory
1428 2014-05-13 Roland McGrath <roland@hack.frob.com>
1430 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
1431 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
1432 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
1433 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
1434 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
1435 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
1436 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
1437 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
1438 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
1439 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
1440 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
1441 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
1442 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
1443 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
1444 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
1445 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
1446 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
1447 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
1448 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
1449 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
1450 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
1451 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
1452 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
1453 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
1454 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
1455 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
1456 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
1457 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
1458 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
1459 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
1460 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
1461 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
1462 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
1463 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
1464 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
1465 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
1466 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
1467 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
1468 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
1469 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
1470 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
1471 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
1473 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
1474 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
1476 * sysdeps/unix/sysv/linux/arm/Makefile
1477 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
1478 Add rt-aeabi_unwind_cpp_pr1.
1479 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
1480 Add nptl-aeabi_unwind_cpp_pr1.
1481 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
1482 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
1483 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
1484 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
1485 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
1486 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
1488 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
1489 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
1490 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
1491 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
1493 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
1494 Deconditionalize the code that was previously under [RESET_PID].
1495 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
1497 * sysdeps/generic/exit-thread.h: New file.
1498 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
1499 * include/unistd.h (__exit_thread): Remove declaration.
1500 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
1501 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
1502 * csu/libc-start.c: Include <exit-thread.h>.
1503 (LIBC_START_MAIN): Pass no argument to __exit_thread.
1504 * nptl/pthread_create.c: Include <exit-thread.h>.
1505 (start_thread): Call __exit_thread in place of __exit_thread_inline.
1506 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
1507 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
1508 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
1509 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
1510 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
1511 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
1512 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
1513 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
1514 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
1515 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
1516 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
1517 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
1518 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
1519 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
1520 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
1521 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
1523 2014-05-13 Andreas Schwab <schwab@suse.de>
1525 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
1527 2014-05-12 Joseph Myers <joseph@codesourcery.com>
1529 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
1530 (__ASSUME_UTIMES): Do not condition on kernel version.
1531 (__ASSUME_PSELECT): Define unconditionally.
1532 (__ASSUME_PPOLL): Likewise.
1533 (__ASSUME_ATFCTS): Likewise.
1534 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
1535 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
1536 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
1537 (__ASSUME_UTIMENSAT): Define unconditionally.
1538 (__ASSUME_PRIVATE_FUTEX): Likewise.
1539 (__ASSUME_FALLOCATE): Likewise.
1540 (__ASSUME_O_CLOEXEC): Likewise.
1541 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
1542 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
1543 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
1544 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
1545 (__ASSUME_IN_NONBLOCK): Likewise.
1546 (__ASSUME_PIPE2): Likewise.
1547 (__ASSUME_EVENTFD2): Likewise.
1548 (__ASSUME_SIGNALFD4): Likewise.
1549 (__ASSUME_DUP3): Likewise.
1550 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1551 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
1552 (__ASSUME_AT_RANDOM): Likewise.
1553 (__ASSUME_PREADV): Likewise.
1554 (__ASSUME_PWRITEV): Likewise.
1555 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
1556 (__ASSUME_F_GETOWN_EX): Define unconditionally.
1557 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
1558 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
1559 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
1560 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1561 (__ASSUME_O_CLOEXEC): Define unconditionally.
1562 (__ASSUME_PSELECT): Do not undefine conditionally.
1563 (__ASSUME_PPOLL): Likewise.
1564 (__ASSUME_ATFCTS): Likewise.
1565 (__ASSUME_SET_ROBUST_LIST): Likewise.
1566 (__ASSUME_UTIMENSAT): Likewise.
1567 (__ASSUME_FDATASYNC): Define unconditionally.
1568 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1569 (__ASSUME_SIGFRAME_V2): Likewise.
1570 )__ASSUME_EVENTFD2): Likewise.
1571 (__ASSUME_SIGNALFD4): Likewise.
1572 (__ASSUME_PSELECT): Do not undefine conditionally.
1573 (__ASSUME_PPOLL): Likewise.
1574 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1575 (__ASSUME_PSELECT): Define unconditionally.
1576 (__ASSUME_PPOLL): Likewise.
1577 (__ASSUME_O_CLOEXEC): Likewise.
1578 (__ASSUME_SOCK_CLOEXEC): Likewise.
1579 (__ASSUME_IN_NONBLOCK): Likewise.
1580 (__ASSUME_PIPE2): Likewise.
1581 (__ASSUME_EVENTFD2): Likewise.
1582 (__ASSUME_SIGNALFD4): Likewise.
1583 (__ASSUME_DUP3): Likewise.
1584 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1585 (__ASSUME_O_CLOEXEC): Likewise.
1586 (__ASSUME_SOCK_CLOEXEC): Likewise.
1587 (__ASSUME_IN_NONBLOCK): Likewise.
1588 (__ASSUME_PIPE2): Likewise.
1589 (__ASSUME_EVENTFD2): Likewise.
1590 (__ASSUME_SIGNALFD4): Likewise.
1591 (__ASSUME_DUP3): Likewise.
1592 * sysdeps/unix/sysv/linux/mips/kernel-features.h
1593 (__ASSUME_EVENTFD2): Likewise.
1594 (__ASSUME_SIGNALFD4): Likewise.
1595 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1597 2014-05-12 Andreas Schwab <schwab@suse.de>
1600 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
1601 (_nss_nis_gethostbyname4_r): Return error if item length is larger
1602 than maximum RPC packet size.
1603 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
1604 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
1605 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
1606 (_nss_nis_getservbyport_r): Likewise.
1608 2014-05-12 Will Newton <will.newton@linaro.org>
1610 * malloc/Makefile (tests): Add tst-mallopt.
1611 * malloc/tst-mallopt.c: New file.
1613 2014-05-09 Roland McGrath <roland@hack.frob.com>
1615 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
1616 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
1618 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1620 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
1621 (tst-tlsmod6.so): Likewise.
1623 2014-05-09 Roland McGrath <roland@hack.frob.com>
1625 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
1627 2014-05-09 Joseph Myers <joseph@codesourcery.com>
1630 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
1631 and <dl-procinfo.h>.
1632 (__fegetenv): Save SSE state in envp->__eip if supported.
1633 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
1634 envp->__eip if supported.
1635 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
1636 and <dl-procinfo.h>.
1637 (__fesetenv): Always set __eip, __cs_selector, __opcode,
1638 __data_offset and __data_selector in environment to 0. Set SSE
1640 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
1642 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
1644 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
1646 2014-05-09 Will Newton <will.newton@linaro.org>
1648 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
1649 and libc_relro_required for ARM.
1650 * sysdeps/arm/preconfigure: Regenerate.
1652 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
1653 Stefan Liebler <stli@linux.vnet.ibm.com>
1655 * config.make.in (enable-lock-elision): New Makefile variable.
1656 * configure.ac: Likewise.
1657 * configure: Regenerate.
1658 * sysdeps/s390/configure.ac:
1659 Add check for gcc transactions support.
1660 * sysdeps/s390/configure: Regenerate.
1661 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
1662 Build elision files if enabled.
1663 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
1664 Add lock elision support for s390.
1665 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
1666 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
1667 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
1668 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
1669 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
1670 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
1671 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
1673 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
1675 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
1677 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
1679 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
1680 (__lll_timedlock_elision, __lll_lock_elision)
1681 (__lll_unlock_elision, __lll_trylock_elision)
1682 (lll_timedlock_elision, lll_lock_elision)
1683 (lll_unlock_elision, lll_trylock_elision): Add.
1684 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
1685 (pthread_mutex_t): Add lock elision support for s390.
1687 2014-05-14 Wilco <wdijkstr@arm.com>
1689 * sysdeps/arm/fclrexcpt.c: Cleanup.
1690 * sysdeps/arm/fedisblxcpt.c: Cleanup.
1691 * sysdeps/arm/feenablxcpt.c: Cleanup.
1692 * sysdeps/arm/fegetenv.c: Cleanup.
1693 * sysdeps/arm/fegetexcept.c: Cleanup.
1694 * sysdeps/arm/fegetround.c: Cleanup.
1695 * sysdeps/arm/feholdexcpt.c: Cleanup.
1696 * sysdeps/arm/fesetenv.c: Cleanup.
1697 * sysdeps/arm/fesetround.c: Cleanup.
1698 * sysdeps/arm/feupdateenv.c: Cleanup.
1699 * sysdeps/arm/fgetexcptflg.c: Cleanup.
1700 * sysdeps/arm/fraiseexcpt.c: Cleanup.
1701 * sysdeps/arm/fsetexcptflg.c: Cleanup.
1702 * sysdeps/arm/ftestexcept.c: Cleanup.
1703 * sysdeps/arm/get-rounding-mode.h: Cleanup.
1704 * sysdeps/arm/setfpucw.c: Cleanup.
1706 2014-05-09 Will Newton <will.newton@linaro.org>
1708 * sysdeps/arm/armv7/strcmp.S: New file.
1709 * NEWS: Mention addition of ARMv7 optimized strcmp.
1711 2014-05-08 Roland McGrath <roland@hack.frob.com>
1713 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
1714 look for %.ac rather than %.in.
1716 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
1717 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
1718 * sysdeps/mach/hurd/configure: Regenerated.
1719 * sysdeps/unix/sysv/linux/configure: Regenerated.
1721 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
1723 2014-05-07 Steve Ellcey <sellcey@mips.com>
1726 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
1730 2014-05-07 Andreas Schwab <schwab@suse.de>
1732 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
1733 when skipping over non-matching result from nscd.
1735 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
1738 * nptl/sockperf.c (client): Check socket return value.
1741 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
1742 nscd security class.
1744 2014-05-06 Roland McGrath <roland@hack.frob.com>
1746 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
1747 * sysdeps/arm/unwind.h: ... here.
1749 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
1752 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
1755 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1757 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
1758 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
1759 multiarch strncpy for PPC64.
1760 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
1761 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
1762 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
1763 multiarch optimizations.
1764 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1765 (__libc_ifunc_impl_list): Likewise.
1766 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
1767 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
1768 multiarch stpncpy for PPC64.
1769 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
1770 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
1772 2014-05-06 Andreas Schwab <schwab@suse.de>
1775 * gmon/mcount.c (_MCOUNT_DECL): Use
1776 atomic_compare_and_exchange_bool_acq instead of
1777 catomic_compare_and_exchange_bool_acq.
1779 2014-05-05 Roland McGrath <roland@hack.frob.com>
1781 * elf/Makefile (others, install-bin): Remove pldd.
1782 (pldd-modules): Variable removed.
1783 ($(objpfx)pldd): Target removed.
1784 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
1785 (others, install-bin): Append pldd here.
1786 ($(objpfx)pldd): New target.
1788 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
1789 to 0, so the first #if test emitted later doesn't see it undefined.
1790 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
1791 * sysdeps/gnu/errlist.c: Regenerated.
1793 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1795 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
1796 [libc_hidden_builtin_def]: Define to empty value.
1797 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
1798 [libc_hidden_builtin_def]: Likewise.
1799 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
1800 [libc_hidden_builtin_def]: Likewise.
1801 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
1802 [libc_hidden_builtin_def]: Likewise.
1803 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
1804 __redirect_memcpy and define ifunc as default hidden symbol.
1805 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
1806 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
1808 2014-05-04 Adam Conrad <adconrad@0c3.net>
1810 * locale/iso-4217.def: Reintroduce XDR currency.
1812 2014-05-04 Allan McRae <allan@archlinux.org>
1814 * po/eo.po: Update Esperanto translation from translation project.
1816 2014-05-02 Carlos O'Donell <carlos@redhat.com>
1818 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
1819 and FEATURE_INDEX_MAX to 1.
1820 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
1822 2014-05-01 Steve Ellcey <sellcey@mips.com>
1824 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
1825 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
1826 * iconvdata/big5.c (ONE_DIRECTION): Define.
1827 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
1828 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
1829 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
1830 * iconvdata/cp932.c (ONE_DIRECTION): Define.
1831 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
1832 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
1833 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
1834 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
1835 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
1836 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
1837 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
1838 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
1839 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
1840 * iconvdata/gbk.c (ONE_DIRECTION): Define.
1841 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
1842 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
1843 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
1844 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
1845 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
1846 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
1847 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
1848 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
1849 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
1850 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
1851 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
1852 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
1853 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
1854 * iconvdata/iso646.c (ONE_DIRECTION): Define.
1855 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
1856 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
1857 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
1858 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
1859 * iconvdata/johab.c (ONE_DIRECTION): Define.
1860 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
1861 * iconvdata/sjis.c (ONE_DIRECTION): Define.
1862 * iconvdata/t.61.c (ONE_DIRECTION): Define.
1863 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
1864 * iconvdata/tscii.c (ONE_DIRECTION): Define.
1865 * iconvdata/uhc.c (ONE_DIRECTION): Define.
1866 * iconvdata/unicode.c (ONE_DIRECTION): Define.
1867 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
1868 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
1869 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
1871 2014-05-01 Roland McGrath <roland@hack.frob.com>
1873 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
1874 (_IO_JUMPS_OFFSET): Define to 0.
1876 * nptl/sysdeps/pthread/bits/libc-lock.h
1877 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
1878 (__libc_lock_define_initialized_recursive): Always define using
1879 initializer. Modern compilers treat uninitialized (implicit zero) and
1880 explicit zero initializers the same (i.e. put the datum in bss).
1882 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
1884 * nscd/nscd-client.h: Include <string.h>.
1886 2014-05-01 David S. Miller <davem@davemloft.net>
1889 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
1890 multiple zero bytes exist at the end of a string.
1891 Reported by Aurelien Jarno <aurelien@aurel32.net>
1893 * string/test-strcmp.c (check): Add explicit test for situations where
1894 there are multiple zero bytes after the first.
1896 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
1899 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
1900 when compiling wprintf.
1901 * stdio-common/tstdiomisc.c (t3): New function.
1904 2014-05-01 Steve Ellcey <sellcey@mips.com>
1906 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
1907 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
1908 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
1909 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
1911 2014-05-01 Steve Ellcey <sellcey@mips.com>
1913 * stdlib/longlong.h: Updated from GCC.
1915 2014-05-01 Will Newton <will.newton@linaro.org>
1916 Bernard Ogden <bernie.ogden@linaro.org>
1918 * NEWS: Update fixed bug list.
1921 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
1923 2014-04-30 David S. Miller <davem@davemloft.net>
1925 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
1926 (libc_feholdexcept_setround_sparc_ctx): New function.
1927 (libc_fesetenv_sparc_ctx): Likewise.
1928 (libc_feupdateenv_sparc_ctx): Likewise.
1929 (libc_feholdsetround_sparc_ctx): Likewise.
1930 (libc_feholdexcept_setround_ctx): Define.
1931 (libc_feholdexcept_setroundf_ctx): Likewise.
1932 (libc_feholdexcept_setroundl_ctx): Likewise.
1933 (libc_fesetenv_ctx): Likewise.
1934 (libc_fesetenvf_ctx): Likewise.
1935 (libc_fesetenvl_ctx): Likewise.
1936 (libc_feupdateenv_ctx): Likewise.
1937 (libc_feupdateenvf_ctx): Likewise.
1938 (libc_feupdateenvl_ctx): Likewise.
1939 (libc_feresetround_ctx): Likewise.
1940 (libc_feresetroundf_ctx): Likewise.
1941 (libc_feresetroundl_ctx): Likewise.
1942 (libc_feholdsetround_ctx): Likewise.
1943 (libc_feholdsetroundf_ctx): Likewise.
1944 (libc_feholdsetroundl_ctx): Likewise.
1946 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
1947 with __USE_GNU instead of XOPEN cpp guards.
1949 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
1952 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
1953 with XOPEN cpp guards.
1955 2014-04-30 Julian Brown <julian@codesourcery.com>
1958 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
1961 2014-04-30 Joseph Myers <joseph@codesourcery.com>
1964 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
1966 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
1967 * sysdeps/unix/sysv/linux/configure: Regenerated.
1968 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
1969 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
1970 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
1971 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
1972 * README: Update reference to required Linux kernel version.
1973 * manual/install.texi (Linux): Update reference to required Linux
1974 kernel headers version.
1975 * INSTALL: Regenerated.
1977 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
1979 [POSIX] (limits.h): Likewise.
1980 [POSIX] (math.h): Likewise.
1981 [POSIX] (sys/wait.h): Likewise.
1982 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
1984 [POSIX] (stddef.h): Do not allow header inclusion.
1986 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1988 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1990 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
1992 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
1993 Return immediately after lll_futex_wake.
1995 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1998 * nscd/nscd-client.h (datahead_init_common): Initialize entire
2000 (datahead_init_pos): Call datahead_init_common early.
2001 (datahead_init_neg): Likewise.
2003 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
2004 datahead_init_neg): New functions.
2005 * nscd/aicache.c (addhstaiX): Use them.
2006 * nscd/grpcache.c (cache_addgr): Likewise.
2007 * nscd/hstcache.c (cache_addhst): Likewise.
2008 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2009 * nscd/netgroupcache.c (do_notfound): Likewise.
2010 (addgetnetgrentX): Likewise.
2011 (addinnetgrX): Likewise.
2012 * nscd/pwdcache.c (cache_addpw): Likewise.
2013 * nscd/servicescache.c (cache_addserv): Likewise.
2015 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2016 Atsushi Onoe <atsushi@onoe.org>
2021 * resolv/res_query.c (__libc_res_nsearch): Return if at least
2022 one response is valid.
2023 * resolv/res_send.c (send_dg): Check for validity of other
2024 response if the current response is a referral.
2026 2014-04-29 Steve Ellcey <sellcey@mips.com>
2028 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
2030 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
2033 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
2034 Always divide by positive zero when computing -Inf result.
2035 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
2036 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
2038 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2040 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
2041 FPSCR if value do not change.
2042 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
2043 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
2044 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
2045 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
2046 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
2047 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
2050 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
2052 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
2053 * sysdeps/unix/sysv/linux/hppa: Move directory from
2054 ports/systeps/unix/sysv/linux/hppa.
2055 * README: Update listing for hppa-*-linux-gnu.
2057 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
2060 * manual/stdio.texi (Hook functions): Fix types of stream hook
2063 * socket/sys/socket.h: Fix typo in comment.
2065 2014-04-28 Wilco <wdijkstr@arm.com>
2067 * sysdeps/arm/fenv_private.h: New file.
2068 * sysdeps/arm/math_private.h: New file.
2069 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
2071 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
2073 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
2075 (La_x86_64_retval): Likewise.
2077 2014-04-24 Ian Bolton <ian.bolton@arm.com>
2079 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
2080 fpsr if value didn't change.
2081 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
2082 to fpcr if value didn't change.
2083 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
2084 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
2085 fpsr or fpcr if value didn't change.
2086 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
2087 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
2088 fpcr if value didn't change.
2089 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
2090 to fpsr if value didn't change.
2092 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
2094 * nptl/tst-sem3.c: Use test-skeleton.c
2095 (main): Rename to do_test. Use return instead of
2097 * nptl/tst-sem4.c: Use test-skeleton.c
2098 (main): Rename to do_test.
2100 2014-04-22 David S. Miller <davem@davemloft.net>
2102 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
2103 (struct sigaction): New struct member __glibc_reserved0, change
2104 type of sa_flags to int.
2106 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
2108 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
2109 (COUNT_LEADING_ZEROS_0): Define for AArch64.
2111 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2113 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
2114 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
2116 2014-04-22 Will Newton <will.newton@linaro.org>
2117 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
2119 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
2120 (__longjmp): Add longjmp and longjmp_target SystemTap
2122 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
2123 (__sigsetjmp): Add setjmp SystemTap probe.
2125 2014-04-17 Carlos O'Donell <carlos@redhat.com>
2127 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
2130 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2132 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
2134 * sysdeps/powerpc/fpu/fenv_private.h
2135 (libc_feholdexcept_setroundl_ctx): Define to
2136 libc_feholdexcept_setround_ppc_ctx.
2137 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
2138 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
2139 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
2140 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
2142 2014-04-17 Ian Bolton <ian.bolton@arm.com>
2144 * sysdeps/aarch64/math-tests.h: New file.
2146 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
2148 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
2150 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2151 Check and set bit_AVX2_Usable.
2152 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
2154 (bit_AVX2): Likewise.
2155 (index_AVX2_Usable): Likewise.
2156 (CPUID_AVX2): Likewise.
2157 (HAS_AVX2): Likewise.
2159 2014-04-17 Will Newton <will.newton@linaro.org>
2161 * manual/setjmp.texi (System V contexts): Add note that
2162 calling setcontext on a context created by a call to a
2163 signal handler is undefined. Update text to note that
2164 setcontext from a signal handler is possible but not
2168 * stdlib/tst-setcontext.c: Include signal.h.
2169 (main): Check that the signal stack before and
2170 after swapcontext is the same.
2172 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
2173 Re-implement to restore registers in user code and avoid
2174 rt_sigreturn system call.
2176 2014-04-17 Wilco <wdijkstr@arm.com>
2178 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
2179 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
2180 * math/test-fenv.c: Skip exception trap tests on targets which only
2181 support non-stop mode.
2183 2014-04-17 Ian Bolton <ian.bolton@arm.com>
2184 Wilco Dijkstra <wilco.dijkstra@arm.com>
2186 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
2187 (libc_feholdsetround_aarch64_ctx)
2188 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
2189 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
2190 (libc_feresetround_ctx, libc_feresetroundf_ctx)
2191 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
2192 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
2193 (libc_feresetround_noexl_ctx): Define.
2195 2014-04-16 Richard Henderson <rth@redhat.com>
2197 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
2199 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
2202 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
2203 const from the non-libc, non-ldso copy.
2205 * sysdeps/alpha/libm-test-ulps: Regenerate.
2207 2014-04-16 Ian Bolton <ian.bolton@arm.com>
2208 Wilco Dijkstra <wilco.dijkstra@arm.com>
2210 * sysdeps/aarch64/fpu/math_private.h: New file.
2212 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
2214 * sysdeps/aarch64/libm-test-ulps: Regenerate.
2216 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
2218 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
2219 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
2220 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
2221 Intel MPX bound registers before _dl_profile_fixup.
2222 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
2223 registers after _dl_profile_fixup. Save and restore bound
2224 registers bnd0/bnd1 when calling _dl_call_pltexit.
2225 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
2226 (LR_BND_OFFSET): Likewise.
2227 (LRV_BND0_OFFSET): Likewise.
2228 (LRV_BND1_OFFSET): Likewise.
2230 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
2232 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
2234 * sysdeps/mach/hurd/i386/tls.h: ... here.
2235 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
2236 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
2239 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
2241 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
2243 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
2245 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2247 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
2250 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
2251 * sysdeps/s390/configure: Regenerate.
2254 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
2255 Set round-to-nearest internally to reduce error accumulation.
2257 2014-04-16 Alan Modra <amodra@gmail.com>
2261 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
2262 * math/libm-test.inc (frexp_test_data): Add tests.
2263 * NEWS: Update fixed bug list.
2265 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2267 * benchtests/Makefile: Depend on libraries in build directory.
2268 (bench-math): Separate out math tests.
2269 (bench-pthread): Separate out pthread tests.
2270 (bench): Include math and pthread tests.
2272 2014-04-14 Carlos O'Donell <carlos@redhat.com>
2275 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
2276 _dl_debug_initialize.
2278 * configure.ac: Remove SELinux header check.
2279 * configure: Regenerate.
2280 * nscd/selinux.c (perms): Array of const char* to permission names.
2281 (nscd_request_avc_has_perm): Call security_deny_unknown to find
2282 default policy. Call string_to_security_class and string_to_av_perm to
2283 translate strings. Enforce default policy and call avs_has_perm with
2284 results of translated strings.
2286 2014-04-13 David S. Miller <davem@davemloft.net>
2288 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2290 2014-04-12 Allan McRae <allan@archlinux.org>
2293 * manual/string.texi (Collation Functions): Fix qsort argument
2295 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
2297 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
2299 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
2300 Make the test a no-op if there are no exceptions defined.
2302 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
2304 * elf/Makefile (tests): make tst-dlopen-aout conditional on
2305 enable-hardcoded-path-in-tests
2307 2014-04-11 Will Newton <will.newton@linaro.org>
2309 * benchtests/Makefile (extra-objs): Add json-lib.o.
2310 (bench-func): Tidy up JSON output.
2311 * benchtests/bench-skeleton.c: Include json-lib.h.
2312 (main): Use JSON library functions to do output of
2314 * benchtests/bench-timing-type.c (main): Output the
2315 timing type simply, leaving formatting to the user.
2316 * benchtests/json-lib.c: New file.
2317 * benchtests/json-lib.h: Likewise.
2319 2014-04-11 Torvald Riegel <triegel@redhat.com>
2322 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
2323 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
2324 memory barriers. Add comments.
2325 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
2326 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
2327 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
2328 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
2329 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
2330 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
2332 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
2334 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
2335 * sysdeps/s390/s390-64/configure.ac: ... this ...
2336 * sysdeps/s390/configure.ac: ... to here.
2337 * sysdeps/s390/s390-32/configure: Delete file.
2338 * sysdeps/s390/s390-64/configure: Delete file.
2339 * sysdeps/s390/configure: Regenerate.
2341 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
2343 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
2345 2014-04-11 Will Newton <will.newton@linaro.org>
2347 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
2348 to zero if it is not defined elsewhere. (mtrim): Test
2349 the value of MALLOC_DEBUG with #if rather than #ifdef.
2351 2014-04-10 Torvald Riegel <triegel@redhat.com>
2353 * benchtests/pthread_once-inputs: New file.
2354 * benchtests/pthread_once-source.c: New file.
2355 * benchtests/README: Update documentation.
2357 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
2358 H.J. Lu <hongjiu.lu@intel.com>
2360 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
2361 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
2362 * sysdeps/x86_64/configure: Regenerated.
2363 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
2365 (REGISTER_SAVE_RAX): Likewise.
2366 (REGISTER_SAVE_RCX): Likewise.
2367 (REGISTER_SAVE_RDX): Likewise.
2368 (REGISTER_SAVE_RSI): Likewise.
2369 (REGISTER_SAVE_RDI): Likewise.
2370 (REGISTER_SAVE_R8): Likewise.
2371 (REGISTER_SAVE_R9): Likewise.
2372 (REGISTER_SAVE_BND0): Likewise.
2373 (REGISTER_SAVE_BND1): Likewise.
2374 (REGISTER_SAVE_BND2): Likewise.
2375 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
2376 bound registers when calling _dl_fixup.
2378 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2380 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
2381 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
2383 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
2384 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
2385 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
2386 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
2387 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
2388 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
2389 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
2391 2014-04-09 Peter Brett <peter@peter-b.co.uk>
2394 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
2395 pathconf(_PC_NAME_MAX).
2397 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2399 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
2401 (__PTHREAD_SPINS): Move definition to ...
2402 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2403 (__PTHREAD_SPINS): ... here.
2404 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
2405 (__PTHREAD_SPIN): Likewise.
2406 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
2407 (__PTHREAD_SPIN): Likewise.
2408 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
2409 (__PTHREAD_SPIN): Likewise.
2410 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
2411 (__PTHREAD_SPIN): Likewise.
2412 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
2413 (__PTHREAD_SPIN): Likewise.
2414 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
2415 (__PTHREAD_SPIN): Likewise.
2416 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
2417 (__PTHREAD_SPIN): Likewise.
2418 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
2419 (__PTHREAD_SPIN): Likewise.
2420 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
2421 (__PTHREAD_SPIN): Likewise.
2422 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
2423 (__PTHREAD_SPIN): Likewise.
2424 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
2425 (__PTHREAD_SPIN): Likewise.
2426 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
2427 (__PTHREAD_SPIN): Likewise.
2429 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
2430 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
2431 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
2432 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
2434 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
2435 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
2436 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
2437 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
2439 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
2440 strlen symbol for non multi-arch builds.
2441 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
2442 missing hidden_def and weak_alias.
2444 2014-04-08 Carlos O'Donell <carlos@redhat.com>
2446 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
2448 2014-04-07 Will Newton <will.newton@linaro.org>
2450 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
2451 and contents. [!_LIBC] Remove #ifndef and contents.
2452 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
2453 * string/memccpy.c (__memccpy): Use ANSI prototype.
2454 * string/memfrob.c (memfrob): Likewise.
2455 * string/strcoll.c (STRCOLL): Likewise.
2456 * string/strlen.c (strlen): Likewise.
2457 * string/strtok.c (STRTOK): Likewise.
2458 * string/strcat.c: Remove unused #include of memcopy.h.
2459 (strcat): Use ANSI prototype.
2460 * string/strchr.c: Remove unused #include of memcopy.h.
2461 (strchr): Use ANSI prototype.
2462 * string/strcmp.c: Remove unused #include of memcopy.h.
2463 (strcmp): Use ANSI prototype.
2464 * string/strcpy.c: Remove unused #include of memcopy.h.
2465 (strcpy): Use ANSI prototype.
2467 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2469 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
2470 * config.make.in (config-extra-cppflags): Set it from
2471 libc_extra_cppflags.
2472 * configure.ac (libc_extra_cflags): Make it accumulate over
2473 configure fragments.
2474 (libc_extra_cppflags): New flag.
2475 * configure. Regenerate.
2476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
2477 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
2478 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
2479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
2482 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
2483 result for FE_DOWNWARD rounding mode.
2484 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
2486 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2488 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
2490 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
2491 in function argument name.
2493 2014-04-03 David Svoboda <svoboda@cert.org>
2496 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
2499 2014-04-03 Roland McGrath <roland@hack.frob.com>
2501 * elf/dl-unmap-segments.h: New file.
2502 * sysdeps/generic/ldsodefs.h
2503 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
2504 * elf/dl-close.c: Include <dl-unmap-segments.h>.
2505 * elf/dl-fptr.c: Likewise.
2506 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
2507 * sysdeps/aarch64/tlsdesc.c: Likewise.
2508 * sysdeps/arm/tlsdesc.c: Likewise.
2509 * sysdeps/i386/tlsdesc.c: Likewise.
2510 * sysdeps/tile/dl-runtime.c: Likewise.
2511 * sysdeps/x86_64/tlsdesc.c: Likewise.
2512 * elf/dl-load.h: New file.
2513 * elf/dl-load.c: Include it.
2514 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
2515 Macros moved to dl-load.h.
2516 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
2517 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
2518 Use _dl_unmap_segments in place of __munmap.
2519 Break out segment-mapping loop into ...
2520 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
2522 2014-04-03 Will Newton <will.newton@linaro.org>
2524 * elf/dl-lookup.c (do_lookup_x): Remove comment
2525 referring to nested function and move variable
2526 declarations down to before first use.
2528 2014-04-02 Joseph Myers <joseph@codesourcery.com>
2532 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
2534 * math/s_catanf.c (__catanf): Likewise.
2535 * math/s_catanh.c (__catanh): Likewise.
2536 * math/s_catanhf.c (__catanhf): Likewise.
2537 * math/s_catanhl.c (__catanhl): Likewise.
2538 * math/s_catanl.c (__catanl): Likewise.
2539 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
2540 by positive zero when computing -Inf result.
2541 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
2542 (catanh_test): Likewise.
2543 * sysdeps/i386/fpu/libm-test-ulps: Update.
2544 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2547 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
2548 instead of using underflowing value in computing result.
2549 * math/s_clog10.c (__clog10): Likewise.
2550 * math/s_clog10f.c (__clog10f): Likewise.
2551 * math/s_clog10l.c (__clog10l): Likewise.
2552 * math/s_clogf.c (__clogf): Likewise.
2553 * math/s_clogl.c (__clogl): Likewise.
2554 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
2555 (clog10_test): Likewise.
2556 * sysdeps/i386/fpu/libm-test-ulps: Update.
2557 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2559 2014-04-02 Alan Modra <amodra@gmail.com>
2562 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
2563 output when value is near a power of two. Use int64_t for lx and
2564 remove casts. Use decimal rather than hex exponent constants.
2565 Don't use long double multiplication when double will suffice.
2566 * math/libm-test.inc (nextafter_test_data): Add tests.
2567 * NEWS: Add 16739 and 16786 to bug list.
2569 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
2571 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
2573 2014-04-01 Will Newton <will.newton@linaro.org>
2575 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
2576 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
2578 2014-04-01 Florian Weimer <fweimer@redhat.com>
2581 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
2582 * nptl/tst-setuid2.c: New file.
2583 * nptl/Makefile (xtests): Add tst-setuid2.
2585 2014-04-01 Alan Modra <amodra@gmail.com>
2588 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
2590 2014-03-31 Joseph Myers <joseph@codesourcery.com>
2594 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
2595 set errno as appropriate.
2596 * math/w_scalbf.c (__scalbf): Likewise.
2597 * math/w_scalbl.c (__scalbl): Likewise.
2598 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
2599 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
2600 * math/libm-test.inc (scalb_test_data): Add errno expectations.
2604 * math/w_atan2.c: Include <errno.h>.
2605 (__atan2): Set errno for result underflowing to zero.
2606 * math/w_atan2f.c: Include <errno.h>.
2607 (__atan2f): Set errno for result underflowing to zero.
2608 * math/w_atan2l.c: Include <errno.h>.
2609 (__atan2l): Set errno for result underflowing to zero.
2610 * math/auto-libm-test-in: Don't allow missing errno for some atan2
2612 * math/auto-libm-test-out: Regenerated.
2614 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2616 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
2617 Encode instruction correctly in little endian.
2618 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
2620 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
2622 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
2624 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
2627 2014-03-31 Joseph Myers <joseph@codesourcery.com>
2630 * sysdeps/unix/sysv/linux/kernel-features.h
2631 [__sparc__ && !__arch64__ && !__sparc_v9__]
2632 (__ASSUME_SET_ROBUST_LIST): Do not define.
2633 [__sparc__ && !__arch64__ && !__sparc_v9__]
2634 (__ASSUME_FUTEX_LOCK_PI): Likewise.
2635 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
2637 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2638 (__ASSUME_FUTEX_LOCK_PI): Undefine.
2639 (__ASSUME_REQUEUE_PI): Likewise.
2640 (__ASSUME_SET_ROBUST_LIST): Likewise.
2641 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2642 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
2644 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2645 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
2647 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
2649 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
2651 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2652 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
2654 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
2655 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
2659 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2660 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
2661 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
2663 2014-03-31 Will Newton <will.newton@linaro.org>
2665 * benchtests/Makefile (bench): Add ffs and ffsll to list
2667 * benchtests/ffs-inputs: New file.
2668 * benchtests/ffsll-inputs: Likewise.
2670 2014-03-29 Joseph Myers <joseph@codesourcery.com>
2673 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
2674 too large before casting to int.
2675 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
2676 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
2677 * math/libm-test.inc (scalb_test_data): Add more tests.
2679 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2681 * benchtests/Makefile (DETAILED_OPT): New make option.
2682 (bench-func): Run benchmark program with -d if DETAILED_OPT is
2684 * benchtests/bench-skeleton.c: Include stdbool.h.
2685 (main): Store and print timings per input.
2686 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
2687 member to each argument value.
2688 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
2689 (_print_arg_data): Initialize per-input timing to 0.
2691 * benchtests/Makefile (timing-type): New binary.
2692 (bench-clean): Also remove bench-timing-type.
2693 (bench): New target for timing-type.
2694 (bench-func): Print output in JSON format.
2695 * benchtests/bench-skeleton.c (main): Print output in JSON
2697 * benchtests/bench-timing-type.c: New file.
2698 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
2699 (TIMING_PRINT_STATS): Remove.
2700 * benchtests/scripts/bench.py (_print_arg_data): Store variant
2703 * benchtests/bench-modf.c: Remove.
2704 * benchtests/modf-inputs: New inputs file.
2706 2014-03-28 Joseph Myers <joseph@codesourcery.com>
2709 * math/s_clog10.c (M_PI_LOG10E): New macro.
2710 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
2711 imaginary parts are 0.
2712 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
2713 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
2714 imaginary parts are 0.
2715 * math/s_clog10l.c (M_PI_LOG10El): New macro.
2716 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
2717 imaginary parts are 0.
2718 * math/libm-test.inc (clog10_test_data): Update expected results
2719 for when real and imaginary parts are 0.
2721 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
2723 * elf/dl-load.c: Finish conversion of __builtin_expect into
2726 2014-03-27 Joseph Myers <joseph@codesourcery.com>
2729 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
2730 1+x for argument with exponent below -67.
2731 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
2733 * math/auto-libm-test-in: Add more tests of exp.
2734 * math/auto-libm-test-out: Regenerated.
2736 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2739 * inet/getnetgrent_r.c (get_nonempty_val): New function.
2740 (nscd_getnetgrent): Use it.
2743 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
2746 2014-03-27 Andi Kleen <ak@linux.intel.com>
2748 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
2749 (lll_robust_lock, lll_cond_lock, lll_timedlock)
2750 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
2751 (lll_robust_unlock): Remove out of line section. Use cfi
2753 (LLL_STUB_UNWIND_INFO*): Remove.
2754 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
2755 (lll_robust_lock, lll_cond_lock, lll_timedlock)
2756 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
2757 (lll_robust_unlock): Remove out of line section. Use cfi
2759 (LLL_STUB_UNWIND_INFO*): Remove.
2761 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2764 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
2767 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
2769 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
2771 2014-03-26 Joseph Myers <joseph@codesourcery.com>
2774 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
2776 * math/test-fenv-preserve.c: New file.
2777 * math/Makefile (tests): Add test-fenv-preserve.
2779 2014-03-26 Will Newton <will.newton@linaro.org>
2781 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
2783 2014-03-25 Roland McGrath <roland@hack.frob.com>
2785 * scripts/versionlist.awk: Partition the version sets and emit all
2786 GLIBC_* (sorted) before all others (sorted).
2788 2014-03-25 Joseph Myers <joseph@codesourcery.com>
2790 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
2791 GLIBC_2.2.5 version.
2793 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2795 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
2798 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
2801 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2803 2014-03-25 Andreas Schwab <schwab@suse.de>
2805 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
2806 label to be used after in6ailist is initialized.
2808 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2810 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2811 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
2813 2014-03-25 Joseph Myers <joseph@codesourcery.com>
2817 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
2819 (fp_formats): Update initializers.
2820 (init_fp_formats): Initialize new field.
2821 (output_for_one_input_case): Allow underflow for results up to
2823 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
2824 * math/auto-libm-test-in: Don't mark some underflows from asin and
2826 * math/auto-libm-test-out: Regenerated.
2827 * sysdeps/i386/fpu/libm-test-ulps: Update.
2828 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2830 2014-03-25 Andreas Schwab <schwab@suse.de>
2832 * libio/Makefile (tst-ftell-partial-wide-ENV)
2833 (tst-ftell-active-handler-ENV): Define.
2835 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
2837 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
2839 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
2841 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
2843 2014-03-24 Joseph Myers <joseph@codesourcery.com>
2845 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
2846 * sysdeps/x86_64/fpu/multiarch/e_exp.c
2847 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
2849 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
2852 * elf/dl-load.c (open_verify): Add mode parameter.
2853 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
2854 (open_path): Change from boolean 'secure' to complete flag 'mode'
2855 (_dl_map_object): Adjust.
2856 * elf/Makefile (tests): Add tst-dlopen-aout.
2857 * elf/tst-dlopen-aout.c: New test.
2859 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
2862 * sysdeps/unix/sysv/linux/s390/bits/stat.h
2863 (struct stat): Rename member pad0 to __glibc_reserved0.
2866 * sysdeps/s390/s390-32/bits/wordsize.h
2867 (__WORDSIZE32_SIZE_ULONG): New define.
2868 * sysdeps/s390/s390-64/bits/wordsize.h
2869 (__WORDSIZE32_SIZE_ULONG): Likewise.
2870 * sysdeps/generic/stdint.h (SIZE_MAX):
2871 Define as UL if __WORDSIZE32_SIZE_ULONG.
2874 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
2875 (__glibc_reserved0): New variable.
2876 (sa_flags): Change type to int.
2878 * posix/Makefile (before-compile): Use += before-compile instead
2881 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
2882 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
2884 2014-03-20 Andreas Schwab <schwab@suse.de>
2887 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
2888 non-matching result from nscd.
2890 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2892 * scripts/bench.py: Moved to ...
2893 * benchtests/scripts/bench.py: ... here.
2894 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
2896 2014-03-24 Andreas Schwab <schwab@suse.de>
2899 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
2900 alloca_account and account alloca use for struct in6ailist.
2902 2014-03-24 Joseph Myers <joseph@codesourcery.com>
2905 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
2906 rounding mode to recompute results that overflow to infinity or
2908 * math/auto-libm-test-in: Don't mark tests as expected to fail for
2910 * math/auto-libm-test-out: Regenerated.
2911 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
2912 (ccosh_test): Likewise.
2913 (csin_test_data): Use plus_oflow.
2914 (csin_test): Use ALL_RM_TEST.
2915 (csinh_test_data): Use plus_oflow.
2916 (csinh_test): Use ALL_RM_TEST.
2917 * sysdeps/i386/fpu/libm-test-ulps: Update.
2918 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2920 2014-03-21 Joseph Myers <joseph@codesourcery.com>
2922 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
2923 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
2924 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
2927 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
2929 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
2930 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
2931 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
2932 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
2934 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
2935 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
2937 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
2938 * sysdeps/i386/fpu/libm-test-ulps: Update.
2939 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2941 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2943 * scripts/bench.pl: Remove file.
2944 * scripts/bench.py: New benchmark script.
2945 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
2946 * benchtests/README: Mention python dependency.
2947 * scripts/pylintrc: New file.
2948 * scripts/pylint: New file.
2950 * bits/mathdef.h: Use #ifdef instead of #if.
2951 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
2952 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2953 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
2954 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2955 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
2956 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2958 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2959 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2961 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
2962 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
2963 and strpbrk-ppc64 objects.
2964 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2965 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
2966 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
2967 multiarch strpbrk for POWER7.
2968 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
2969 multiarch strpbrk for PPC64.
2970 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
2972 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
2975 2014-03-20 Joseph Myers <joseph@codesourcery.com>
2977 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
2978 (atan_test): Likewise.
2979 (atanh_test_data): Use NO_TEST_INLINE for two tests.
2980 (atanh_test): Use ALL_RM_TEST.
2981 (atan2_test_data): Likewise.
2982 (cabs_test): Likewise.
2983 (cacosh_test): Likewise.
2984 (carg_test): Likewise.
2985 (casin_test): Likewise.
2986 (casinh_test): Likewise.
2987 (cbrt_test): Likewise.
2988 (csqrt_test): Likewise.
2989 (erf_test): Likewise.
2990 (erfc_test): Likewise.
2991 (pow10_test): Likewise.
2992 (exp2_test): Likewise.
2993 (hypot_test): Likewise.
2994 (j0_test): Likewise.
2995 (j1_test): Likewise.
2996 (lgamma_test): Likewise.
2997 (gamma_test): Likewise.
2998 (sincos_test): Likewise.
2999 (tanh_test): Likewise.
3000 (y0_test): Likewise.
3001 (y1_test): Likewise.
3002 * sysdeps/i386/fpu/libm-test-ulps: Update.
3003 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3005 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3007 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
3008 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
3009 and strcspn-ppc64 objects.
3010 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3011 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
3012 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
3013 multiarch strcspn for POWER7.
3014 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
3015 multiarch strcspn for PPC64.
3016 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
3018 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
3021 2014-03-20 Joseph Myers <joseph@codesourcery.com>
3023 * math/gen-libm-test.pl (generate_testfile): Expect only function
3024 name as argument to AUTO_TESTS_* and pass results for all rounding
3025 modes to parse_args.
3026 (parse_auto_input): Separate inputs of automatic tests from
3027 outputs before storing in %auto_tests.
3028 * math/libm-test.inc (acos_test_data): Update call to
3030 (acos_test): Use ALL_RM_TEST.
3031 (acos_tonearest_test_data): Remove.
3032 (acos_test_tonearest): Likewise.
3033 (acos_towardzero_test_data): Likewise.
3034 (acos_test_towardzero): Likewise.
3035 (acos_downward_test_data): Likewise.
3036 (acos_test_downward): Likewise.
3037 (acos_upward_test_data): Likewise.
3038 (acos_test_upward): Likewise.
3039 (acosh_test_data): Update call to AUTO_TESTS_f_f.
3040 (asin_test_data): Likewise.
3041 (asin_test): Use ALL_RM_TEST.
3042 (asin_tonearest_test_data): Remove.
3043 (asin_test_tonearest): Likewise.
3044 (asin_towardzero_test_data): Likewise.
3045 (asin_test_towardzero): Likewise.
3046 (asin_downward_test_data): Likewise.
3047 (asin_test_downward): Likewise.
3048 (asin_upward_test_data): Likewise.
3049 (asin_test_upward): Likewise.
3050 (asinh_test_data): Update call to AUTO_TESTS_f_f.
3051 (atan_test_data): Likewise.
3052 (atanh_test_data): Likewise.
3053 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
3054 (cabs_test_data): Update call to AUTO_TESTS_c_f.
3055 (carg_test_data): Likewise.
3056 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
3057 (ccos_test_data): Update call to AUTO_TESTS_c_c.
3058 (ccosh_test_data): Likewise.
3059 (cexp_test_data): Likewise.
3060 (clog_test_data): Likewise.
3061 (clog10_test_data): Likewise.
3062 (cos_test_data): Update call to AUTO_TESTS_f_f.
3063 (cos_test): Use ALL_RM_TEST.
3064 (cos_tonearest_test_data): Remove.
3065 (cos_test_tonearest): Likewise.
3066 (cos_towardzero_test_data): Likewise.
3067 (cos_test_towardzero): Likewise.
3068 (cos_downward_test_data): Likewise.
3069 (cos_test_downward): Likewise.
3070 (cos_upward_test_data): Likewise.
3071 (cos_test_upward): Likewise.
3072 (cosh_test_data): Update call to AUTO_TESTS_f_f.
3073 (cosh_test): Use ALL_RM_TEST.
3074 (cosh_tonearest_test_data): Remove.
3075 (cosh_test_tonearest): Likewise.
3076 (cosh_towardzero_test_data): Likewise.
3077 (cosh_test_towardzero): Likewise.
3078 (cosh_downward_test_data): Likewise.
3079 (cosh_test_downward): Likewise.
3080 (cosh_upward_test_data): Likewise.
3081 (cosh_test_upward): Likewise.
3082 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
3083 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
3084 (ctan_test_data): Likewise.
3085 (ctan_test): Use ALL_RM_TEST.
3086 (ctan_tonearest_test_data): Remove.
3087 (ctan_test_tonearest): Likewise.
3088 (ctan_towardzero_test_data): Likewise.
3089 (ctan_test_towardzero): Likewise.
3090 (ctan_downward_test_data): Likewise.
3091 (ctan_test_downward): Likewise.
3092 (ctan_upward_test_data): Likewise.
3093 (ctan_test_upward): Likewise.
3094 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
3095 (ctanh_test): Use ALL_RM_TEST.
3096 (ctanh_tonearest_test_data): Remove.
3097 (ctanh_test_tonearest): Likewise.
3098 (ctanh_towardzero_test_data): Likewise.
3099 (ctanh_test_towardzero): Likewise.
3100 (ctanh_downward_test_data): Likewise.
3101 (ctanh_test_downward): Likewise.
3102 (ctanh_upward_test_data): Likewise.
3103 (ctanh_test_upward): Likewise.
3104 (erf_test_data): Update call to AUTO_TESTS_f_f.
3105 (erfc_test_data): Likewise.
3106 (exp_test_data): Likewise.
3107 (exp_test): Use ALL_RM_TEST.
3108 (exp_tonearest_test_data): Remove.
3109 (exp_test_tonearest): Likewise.
3110 (exp_towardzero_test_data): Likewise.
3111 (exp_test_towardzero): Likewise.
3112 (exp_downward_test_data): Likewise.
3113 (exp_test_downward): Likewise.
3114 (exp_upward_test_data): Likewise.
3115 (exp_test_upward): Likewise.
3116 (exp10_test_data): Update call to AUTO_TESTS_f_f.
3117 (exp10_test): Use ALL_RM_TEST.
3118 (exp10_tonearest_test_data): Remove.
3119 (exp10_test_tonearest): Likewise.
3120 (exp10_towardzero_test_data): Likewise.
3121 (exp10_test_towardzero): Likewise.
3122 (exp10_downward_test_data): Likewise.
3123 (exp10_test_downward): Likewise.
3124 (exp10_upward_test_data): Likewise.
3125 (exp10_test_upward): Likewise.
3126 (exp2_test_data): Update call to AUTO_TESTS_f_f.
3127 (expm1_test_data): Likewise.
3128 (expm1_test): Use ALL_RM_TEST.
3129 (expm1_tonearest_test_data): Remove.
3130 (expm1_test_tonearest): Likewise.
3131 (expm1_towardzero_test_data): Likewise.
3132 (expm1_test_towardzero): Likewise.
3133 (expm1_downward_test_data): Likewise.
3134 (expm1_test_downward): Likewise.
3135 (expm1_upward_test_data): Likewise.
3136 (expm1_test_upward): Likewise.
3137 (fma_test_data): Update call to AUTO_TESTS_fff_f.
3138 (fma_test): Use ALL_RM_TEST.
3139 (fma_towardzero_test_data): Remove.
3140 (fma_test_towardzero): Likewise.
3141 (fma_downward_test_data): Likewise.
3142 (fma_test_downward): Likewise.
3143 (fma_upward_test_data): Likewise.
3144 (fma_test_upward): Likewise.
3145 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
3146 (j0_test_data): Update call to AUTO_TESTS_f_f.
3147 (j1_test_data): Likewise.
3148 (jn_test_data): Update call to AUTO_TESTS_if_f.
3149 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
3150 (log_test_data): Update call to AUTO_TESTS_f_f.
3151 (log10_test_data): Likewise.
3152 (log1p_test_data): Likewise.
3153 (log2_test_data): Likewise.
3154 (pow_test_data): Update call to AUTO_TESTS_ff_f.
3155 (pow_tonearest_test_data): Likewise.
3156 (sin_test_data): Update call to AUTO_TESTS_f_f.
3157 (sin_test): Use ALL_RM_TEST.
3158 (sin_tonearest_test_data): Remove.
3159 (sin_test_tonearest): Likewise.
3160 (sin_towardzero_test_data): Likewise.
3161 (sin_test_towardzero): Likewise.
3162 (sin_downward_test_data): Likewise.
3163 (sin_test_downward): Likewise.
3164 (sin_upward_test_data): Likewise.
3165 (sin_test_upward): Likewise.
3166 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
3167 (sinh_test_data): Update call to AUTO_TESTS_f_f.
3168 (sinh_test): Use ALL_RM_TEST.
3169 (sinh_tonearest_test_data): Remove.
3170 (sinh_test_tonearest): Likewise.
3171 (sinh_towardzero_test_data): Likewise.
3172 (sinh_test_towardzero): Likewise.
3173 (sinh_downward_test_data): Likewise.
3174 (sinh_test_downward): Likewise.
3175 (sinh_upward_test_data): Likewise.
3176 (sinh_test_upward): Likewise.
3177 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
3178 (sqrt_test): Use ALL_RM_TEST.
3179 (sqrt_tonearest_test_data): Remove.
3180 (sqrt_test_tonearest): Likewise.
3181 (sqrt_towardzero_test_data): Likewise.
3182 (sqrt_test_towardzero): Likewise.
3183 (sqrt_downward_test_data): Likewise.
3184 (sqrt_test_downward): Likewise.
3185 (sqrt_upward_test_data): Likewise.
3186 (sqrt_test_upward): Likewise.
3187 (tan_test_data): Update call to AUTO_TESTS_f_f.
3188 (tan_test): Use ALL_RM_TEST.
3189 (tan_tonearest_test_data): Remove.
3190 (tan_test_tonearest): Likewise.
3191 (tan_towardzero_test_data): Likewise.
3192 (tan_test_towardzero): Likewise.
3193 (tan_downward_test_data): Likewise.
3194 (tan_test_downward): Likewise.
3195 (tan_upward_test_data): Likewise.
3196 (tan_test_upward): Likewise.
3197 (tanh_test_data): Update call to AUTO_TESTS_f_f.
3198 (tgamma_test_data): Likewise.
3199 (y0_test_data): Likewise.
3200 (y1_test_data): Likewise.
3201 (yn_test_data): Update call to AUTO_TESTS_if_f.
3202 (main): Do not call removed functions.
3204 2014-03-19 Joseph Myers <joseph@codesourcery.com>
3206 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
3207 (ldexp_test_data): Remove.
3208 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
3210 (scalb_test): Use ALL_RM_TEST.
3212 2014-03-19 Andreas Schwab <schwab@suse.de>
3214 * nscd/nscd.service: Also invalidate netgroup cache on reload.
3216 2014-03-19 Joseph Myers <joseph@codesourcery.com>
3219 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3220 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
3221 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
3222 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3223 (__ASSUME_PREADV): Undefine.
3224 (__ASSUME_PWRITEV): Likewise.
3226 2014-03-18 Roland McGrath <roland@hack.frob.com>
3228 * bits/mman-linux.h: Add comment about non-Linux use.
3229 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
3230 bits/mman-linux.h resting place.
3232 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
3233 * bits/mman-linux.h: ... here.
3235 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3237 * conform/conformtest.pl: Add standard definition when calling C
3238 preprocessor on data files.
3239 (checknamespace): Remove unused variable.
3241 2014-03-18 Joseph Myers <joseph@codesourcery.com>
3243 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
3244 minus_oflow, plus_uflow and minus_uflow in expected results.
3245 * math/libm-test.inc (scalbn_test_data): Add more tests of
3246 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
3248 (scalbn_test): Use ALL_RM_TEST.
3249 (scalbln_test_data): Add more tests of negative arguments. Use
3250 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
3251 (scalbln_test): Use ALL_RM_TEST.
3253 2014-03-18 Roland McGrath <roland@hack.frob.com>
3255 * scripts/abilist.awk: Ignore symbols marked with .hidden.
3257 2014-03-18 Will Newton <will.newton@linaro.org>
3259 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
3262 2014-03-18 Joseph Myers <joseph@codesourcery.com>
3264 * Makerules [!subdir] (check-abi): Exit with error status if a
3267 2014-03-17 Joseph Myers <joseph@codesourcery.com>
3269 * math/libm-test.inc (nearbyint_test_data): Include all tests used
3270 for rint. Include results for all rounding modes.
3271 (nearbyint_test): Use ALL_RM_TEST.
3272 (rint_test_data): Include all tests used for nearbyint.
3274 2014-03-17 Will Newton <will.newton@linaro.org>
3276 * nptl/sysdeps/pthread/pthread.h: Revert previous
3279 * sysdeps/generic/ldsodefs.h: Revert previous
3282 * libio/genops.c: Revert previous change.
3283 * libio/libioP.h: Likewise.
3284 * stdio-common/vfprintf.c: Likewise.
3286 * sysdeps/generic/math_private.h: Revert previous
3289 * sysdeps/generic/math_private.h: Check whether
3290 HAVE_RM_CTX is defined with #ifdef rather
3293 * argp/argp-fmtstream.h: Check whether
3294 __STRICT_ANSI__ is defined with #ifdef rather
3296 * argp/argp.h: Likewise.
3298 * libio/genops.c: Check whether
3299 _IO_JUMPS_OFFSET is defined with #ifdef rather
3301 * libio/libioP.h: Likewise.
3302 * stdio-common/vfprintf.c: Likewise.
3304 * sysdeps/generic/ldsodefs.h: Check whether
3305 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
3308 * nptl/sysdeps/pthread/pthread.h: Check
3309 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
3312 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3314 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
3316 * libio/tst-ftell-active-handler.c (do_append_test): Add a
3320 * libio/fileops.c (_IO_file_open): Seek to end of file but
3321 don't cache the offset.
3322 (get_file_offset): Remove function.
3323 (do_ftell): Use cached offset when available.
3324 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
3325 don't cache the offset.
3326 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
3328 (do_one_test): Call it.
3329 (do_ftell_test): Fix up expected old offset for a+ mode.
3330 * libio/wfileops.c (do_ftell_wide): Used cached offset when
3333 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
3334 up test status with function return status.
3335 (do_write_test): Likewise.
3336 (do_append_test): Likewise.
3338 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
3339 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
3342 2014-03-17 Joseph Myers <joseph@codesourcery.com>
3344 * math/gen-libm-test.pl (parse_args): Handle results specified for
3345 each rounding mode separately.
3346 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
3347 tests and results from lrint_tonearest_test_data,
3348 lrint_towardzero_test_data, lrint_downward_test_data and
3349 lrint_upward_test_data.
3350 (lrint_test): Use ALL_RM_TEST.
3351 (lrint_tonearest_test_data): Remove.
3352 (lrint_test_tonearest): Likewise.
3353 (lrint_towardzero_test_data): Likewise.
3354 (lrint_test_towardzero): Likewise.
3355 (lrint_downward_test_data): Likewise.
3356 (lrint_test_downward): Likewise.
3357 (lrint_upward_test_data): Likewise.
3358 (lrint_test_upward): Likewise.
3359 (llrint_test_data): Merge in per-rounding-mode tests and results
3360 from llrint_tonearest_test_data, llrint_towardzero_test_data,
3361 llrint_downward_test_data and llrint_upward_test_data.
3362 (llrint_test): Use ALL_RM_TEST.
3363 (llrint_tonearest_test_data): Remove.
3364 (llrint_test_tonearest): Likewise.
3365 (llrint_towardzero_test_data): Likewise.
3366 (llrint_test_towardzero): Likewise.
3367 (llrint_downward_test_data): Likewise.
3368 (llrint_test_downward): Likewise.
3369 (llrint_upward_test_data): Likewise.
3370 (llrint_test_upward): Likewise.
3371 (rint_test_data): Merge in per-rounding-mode tests and results
3372 from rint_tonearest_test_data, rint_towardzero_test_data,
3373 rint_downward_test_data and rint_upward_test_data. Add
3374 per-rounding-mode results for tests not in those arrays.
3375 (rint_test): Use ALL_RM_TEST.
3376 (rint_tonearest_test_data): Remove.
3377 (rint_test_tonearest): Likewise.
3378 (rint_towardzero_test_data): Likewise.
3379 (rint_test_towardzero): Likewise.
3380 (rint_downward_test_data): Likewise.
3381 (rint_test_downward): Likewise.
3382 (rint_upward_test_data): Likewise.
3383 (rint_test_upward): Likewise.
3384 (main): Don't call removed functions.
3386 2014-03-14 Roland McGrath <roland@hack.frob.com>
3388 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
3389 "Compiled on ..." crapola. It is anti-useful.
3391 2014-03-14 Joseph Myers <joseph@codesourcery.com>
3393 * scripts/evaluate-test.sh: Handle fourth argument to determine
3394 whether test run should stop on failure.
3395 * Makeconfig (stop-on-test-failure): New variable.
3396 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
3397 $(stop-on-test-failure).
3398 * Makefile (tests): Give a summary of results from testing and
3399 exit with failure status if they include an ERROR or FAIL.
3401 * manual/install.texi (Configuring and compiling): Mention
3402 stop-on-test-failure=y.
3403 * INSTALL: Regenerated.
3405 2014-03-14 Roland McGrath <roland@hack.frob.com>
3407 * scripts/versionlist.awk: New file.
3408 * Makerules [$(build-shared) = yes]
3409 (postclean-generated): Add Versions.def, not Versions.def.v and
3411 ($(common-objpfx)Versions.def.v.i): Target removed.
3412 ($(common-objpfx)Versions.def): New target.
3413 ($(common-objpfx)Versions.all): Depend on that rather that
3414 $(common-objpfx)Versions.def.v.
3415 * Versions.def: File removed.
3417 * Makeconfig (+gccwarn): Add -Wundef.
3418 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
3419 a dl-sysdep.h breaking its contract.
3420 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
3421 * include/stackinfo.h: New file.
3422 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
3423 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
3424 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
3425 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
3426 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
3427 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
3428 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3429 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3430 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3431 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3432 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3433 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
3434 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3435 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3436 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3438 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3441 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
3443 * math/libm-test.inc (round_test_data): Add more tests.
3446 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
3448 * math/libm-test.inc (nearbyint_test_data): Add more tests.
3451 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
3453 * math/libm-test.inc (ceil_test_data): Add more tests.
3455 * math/libm-test.inc (trunc_test_data): Add more tests related to
3458 2014-03-14 Roland McGrath <roland@hack.frob.com>
3460 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
3461 with #if rather than #ifdef.
3462 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
3464 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
3466 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
3467 first. Disable AVX-512 GCC support if assembler doesn't support
3469 * sysdeps/x86_64/configure: Regenerated.
3471 2014-03-13 Carlos O'Donell <carlos@redhat.com>
3473 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
3474 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
3475 (__old_pthread_attr_setstack): Likewise.
3476 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
3477 [!_STACK_GROWS_DOWN]: Likewise.
3479 2014-03-13 Mike Frysinger <vapier@gentoo.org>
3481 * config.make.in (have-bash2): Delete.
3482 * configure.ac (libc_cv_have_bash2): Delete.
3483 * configure: Regenerate.
3484 * elf/Makefile (common-ldd-rewrite): Rename to ...
3485 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
3486 (sh-ldd-rewrite): Delete.
3487 (bash-ldd-rewrite): Delete.
3488 (have-bash2): Delete checks.
3489 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
3492 * config.make.in (have-ksh): Delete.
3494 * configure.ac (libc_cv_have_ksh): Delete.
3495 * configure: Regenerate.
3497 * elf/Makefile: Delete $(have-ksh) check.
3498 ($(objpfx)sotruss): Change KSH to BASH.
3499 * elf/sotruss.ksh: Rename to ...
3500 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
3501 function style to match POSIX. Drop ksh vim mode setting.
3503 * manual/time.texi (Specifying the Time Zone with TZ): Change
3504 Tuesday to Thursday.
3506 * debug/tst-longjmp_chk2.c: Update header comment.
3507 (stackoverflow_handler): Add comment. Call assert on pass value.
3509 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
3511 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
3512 (HAVE_AVX512_ASM_SUPPORT): Likewise.
3513 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
3514 (La_x86_64_vector): Add zmm.
3515 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
3516 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
3517 ($(objpfx)tst-audit10): New target.
3518 ($(objpfx)tst-audit10.out): Likewise.
3519 (tst-audit10-ENV): New.
3520 (AVX512-CFLAGS): Likewise.
3521 (CFLAGS-tst-audit10.c): Likewise.
3522 (CFLAGS-tst-auditmod10a.c): Likewise.
3523 (CFLAGS-tst-auditmod10b.c): Likewise.
3524 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
3525 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
3526 * sysdeps/x86_64/configure: Regenerated.
3527 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
3528 AVX-512 zmm register support.
3529 (_dl_x86_64_save_sse): Likewise.
3530 (_dl_x86_64_restore_sse): Likewise.
3531 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
3532 size vector registers.
3533 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
3534 (ZMM_SIZE): Likewise.
3535 * sysdeps/x86_64/tst-audit10.c: New file.
3536 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
3537 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
3539 2014-03-13 Roland McGrath <roland@hack.frob.com>
3541 * configure.ac (HAVE_EHDR_START): New check.
3542 * configure: Regenerated.
3543 * config.h.in (HAVE_EHDR_START): New #undef.
3544 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
3545 assuming the lowest-addressed segment maps the start of the file.
3547 2014-03-13 Joseph Myers <joseph@codesourcery.com>
3549 * INSTALL: Regenerated.
3551 2014-03-13 Will Newton <will.newton@linaro.org>
3553 * manual/setjmp.texi (System V contexts): Improve
3554 clarity and grammar of documentation.
3556 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
3559 * elf/Makefile (tests): Add tst-pie2.
3560 (tests-pie): Add tst-pie2.
3561 * elf/tst-pie2.c: New file.
3562 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
3564 * elf/rtld.c (map_doit): Load executable as lt_executable.
3565 (dl_main): Likewise.
3567 2014-03-12 Joseph Myers <joseph@codesourcery.com>
3570 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3571 (__ASSUME_PSELECT): Undefine.
3573 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3576 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
3577 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
3579 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
3580 selector for static builds.
3582 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3585 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
3588 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3590 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
3591 IFUNC selector for static builds.
3593 2014-03-11 Joseph Myers <joseph@codesourcery.com>
3595 * sysdeps/mips/math_private.h [__mips_hard_float]
3596 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
3597 libc_feresetround_mips_ctx.
3598 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
3599 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
3600 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
3603 * math/s_nextafter.c (__nextafter): Do not return value from
3604 overflowing computation.
3605 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
3606 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
3607 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
3609 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
3611 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
3612 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
3614 2014-03-11 Roland McGrath <roland@hack.frob.com>
3616 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
3617 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
3618 Move sfi_sp use from the load-multiple (that no longer sets sp) to
3619 the new mov targetting sp.
3621 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3624 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
3625 Define it for static builds as well.
3626 (NO_BZERO_IMPL): Likewise.
3628 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3630 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
3631 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
3632 multiarch strspn for PPC64.
3633 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
3634 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
3635 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3636 (__libc_ifunc_impl_list): Likewise.
3637 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
3638 multiarch optimizations
3639 * string/strspn.c (strspn): Using macro to redefine symbol name.
3641 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3642 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3644 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
3645 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
3646 multiarch strncat for PPC64.
3647 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
3648 * sysdeps/powerpc/powerpc64/multiarch/strncat-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 strncat
3652 multiarch optimizations
3654 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3657 * nscd/nscd.service: Make service type forking.
3659 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3661 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
3662 sign in non default rounding modes.
3663 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
3665 2014-03-08 Joseph Myers <joseph@codesourcery.com>
3667 * math/libm-test.inc (ALL_RM_TEST): New macro.
3668 (ceil_test): Use ALL_RM_TEST.
3669 (cimag_test): Likewise.
3670 (conj_test): Likewise.
3671 (copysign_test): Likewise.
3672 (cproj_test): Likewise.
3673 (creal_test): Likewise.
3674 (fabs_test): Likewise.
3675 (floor_test): Likewise.
3676 (fmax_test): Likewise.
3677 (fmin_test): Likewise.
3678 (fmod_test): Likewise.
3679 (fpclassify_test): Likewise.
3680 (frexp_test): Likewise.
3681 (ilogb_test): Likewise.
3682 (isfinite_test): Likewise.
3683 (finite_test): Likewise.
3684 (isgreater_test): Likewise.
3685 (isgreaterequal_test): Likewise.
3686 (isinf_test): Likewise.
3687 (isless_test): Likewise.
3688 (islessequal_test): Likewise.
3689 (islessgreater_test): Likewise.
3690 (isnan_test): Likewise.
3691 (isnormal_test): Likewise.
3692 (issignaling_test): Likewise.
3693 (isunordered_test): Likewise.
3694 (logb_test): Likewise.
3695 (logb_downward_test_data): Remove.
3696 (logb_test_downward): Likewise.
3697 (lround_test): Use ALL_RM_TEST.
3698 (llround_test): Likewise.
3699 (modf_test): Likewise.
3700 (nexttoward_test): Likewise.
3701 (remainder_test): Likewise.
3702 (drem_test): Likewise.
3703 (remainder_tonearest_test_data): Likewise.
3704 (remainder_test_tonearest): Likewise.
3705 (drem_test_tonearest): Likewise.
3706 (remainder_towardzero_test_data): Likewise.
3707 (remainder_test_towardzero): Likewise.
3708 (drem_test_towardzero): Likewise.
3709 (remainder_downward_test_data): Likewise.
3710 (remainder_test_downward): Likewise.
3711 (drem_test_downward): Likewise.
3712 (remainder_upward_test_data): Likewise.
3713 (remainder_test_upward): Likewise.
3714 (drem_test_upward): Likewise.
3715 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
3716 (round_test): Use ALL_RM_TEST.
3717 (signbit_test): Likewise.
3718 (trunc_test): Likewise.
3719 (significand_test): Likewise.
3720 (main): Don't call removed functions.
3722 2014-03-07 Joseph Myers <joseph@codesourcery.com>
3725 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
3727 (ILL_ILLOPN): Likewise.
3728 (ILL_ILLADR): Likewise.
3729 (ILL_ILLTRP): Likewise.
3730 (ILL_PRVOPC): Likewise.
3731 (ILL_PRVREG): Likewise.
3732 (ILL_COPROC): Likewise.
3733 (ILL_BADSTK): Likewise.
3734 (FPE_INTDIV): Likewise.
3735 (FPE_INTOVF): Likewise.
3736 (FPE_FLTDIV): Likewise.
3737 (FPE_FLTOVF): Likewise.
3738 (FPE_FLTUND): Likewise.
3739 (FPE_FLTRES): Likewise.
3740 (FPE_FLTINV): Likewise.
3741 (FPE_FLTSUB): Likewise.
3742 (SEGV_MAPERR): Likewise.
3743 (SEGV_ACCERR): Likewise.
3744 (BUS_ADRALN): Likewise.
3745 (BUS_ADRERR): Likewise.
3746 (BUS_OBJERR): Likewise.
3747 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3748 (TRAP_TRACE): Likewise.
3749 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3751 (CLD_KILLED): Likewise.
3752 (CLD_DUMPED): Likewise.
3753 (CLD_TRAPPED): Likewise.
3754 (CLD_STOPPED): Likewise.
3755 (CLD_CONTINUED): Likewise.
3756 (POLL_IN): Likewise.
3757 (POLL_OUT): Likewise.
3758 (POLL_MSG): Likewise.
3759 (POLL_ERR): Likewise.
3760 (POLL_PRI): Likewise.
3761 (POLL_HUP): Likewise.
3762 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
3764 (ILL_ILLOPN): Likewise.
3765 (ILL_ILLADR): Likewise.
3766 (ILL_ILLTRP): Likewise.
3767 (ILL_PRVOPC): Likewise.
3768 (ILL_PRVREG): Likewise.
3769 (ILL_COPROC): Likewise.
3770 (ILL_BADSTK): Likewise.
3771 (FPE_INTDIV): Likewise.
3772 (FPE_INTOVF): Likewise.
3773 (FPE_FLTDIV): Likewise.
3774 (FPE_FLTOVF): Likewise.
3775 (FPE_FLTUND): Likewise.
3776 (FPE_FLTRES): Likewise.
3777 (FPE_FLTINV): Likewise.
3778 (FPE_FLTSUB): Likewise.
3779 (SEGV_MAPERR): Likewise.
3780 (SEGV_ACCERR): Likewise.
3781 (BUS_ADRALN): Likewise.
3782 (BUS_ADRERR): Likewise.
3783 (BUS_OBJERR): Likewise.
3784 (BUS_MCEERR_AR): Likewise.
3785 (BUS_MCEERR_AO): Likewise.
3786 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3787 (TRAP_TRACE): Likewise.
3788 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3790 (CLD_KILLED): Likewise.
3791 (CLD_DUMPED): Likewise.
3792 (CLD_TRAPPED): Likewise.
3793 (CLD_STOPPED): Likewise.
3794 (CLD_CONTINUED): Likewise.
3795 (POLL_IN): Likewise.
3796 (POLL_OUT): Likewise.
3797 (POLL_MSG): Likewise.
3798 (POLL_ERR): Likewise.
3799 (POLL_PRI): Likewise.
3800 (POLL_HUP): Likewise.
3801 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
3802 (ILL_ILLOPN): Likewise.
3803 (ILL_ILLADR): Likewise.
3804 (ILL_ILLTRP): Likewise.
3805 (ILL_PRVOPC): Likewise.
3806 (ILL_PRVREG): Likewise.
3807 (ILL_COPROC): Likewise.
3808 (ILL_BADSTK): Likewise.
3809 (FPE_INTDIV): Likewise.
3810 (FPE_INTOVF): Likewise.
3811 (FPE_FLTDIV): Likewise.
3812 (FPE_FLTOVF): Likewise.
3813 (FPE_FLTUND): Likewise.
3814 (FPE_FLTRES): Likewise.
3815 (FPE_FLTINV): Likewise.
3816 (FPE_FLTSUB): Likewise.
3817 (SEGV_MAPERR): Likewise.
3818 (SEGV_ACCERR): Likewise.
3819 (BUS_ADRALN): Likewise.
3820 (BUS_ADRERR): Likewise.
3821 (BUS_OBJERR): Likewise.
3822 (BUS_MCEERR_AR): Likewise.
3823 (BUS_MCEERR_AO): Likewise.
3824 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3825 (TRAP_TRACE): Likewise.
3826 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3828 (CLD_KILLED): Likewise.
3829 (CLD_DUMPED): Likewise.
3830 (CLD_TRAPPED): Likewise.
3831 (CLD_STOPPED): Likewise.
3832 (CLD_CONTINUED): Likewise.
3833 (POLL_IN): Likewise.
3834 (POLL_OUT): Likewise.
3835 (POLL_MSG): Likewise.
3836 (POLL_ERR): Likewise.
3837 (POLL_PRI): Likewise.
3838 (POLL_HUP): Likewise.
3839 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
3841 (ILL_ILLOPN): Likewise.
3842 (ILL_ILLADR): Likewise.
3843 (ILL_ILLTRP): Likewise.
3844 (ILL_PRVOPC): Likewise.
3845 (ILL_PRVREG): Likewise.
3846 (ILL_COPROC): Likewise.
3847 (ILL_BADSTK): Likewise.
3848 (ILL_BADIADDR): Likewise.
3849 (ILL_BREAK): Likewise.
3850 (FPE_INTDIV): Likewise.
3851 (FPE_INTOVF): Likewise.
3852 (FPE_FLTDIV): Likewise.
3853 (FPE_FLTOVF): Likewise.
3854 (FPE_FLTUND): Likewise.
3855 (FPE_FLTRES): Likewise.
3856 (FPE_FLTINV): Likewise.
3857 (FPE_FLTSUB): Likewise.
3858 (FPE_DECOVF): Likewise.
3859 (FPE_DECDIV): Likewise.
3860 (FPE_DECERR): Likewise.
3861 (FPE_INVASC): Likewise.
3862 (FPE_INVDEC): Likewise.
3863 (SEGV_MAPERR): Likewise.
3864 (SEGV_ACCERR): Likewise.
3865 (SEGV_PSTKOVF): Likewise.
3866 (BUS_ADRALN): Likewise.
3867 (BUS_ADRERR): Likewise.
3868 (BUS_OBJERR): Likewise.
3869 (BUS_MCEERR_AR): Likewise.
3870 (BUS_MCEERR_AO): Likewise.
3871 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3872 (TRAP_TRACE): Likewise.
3873 (TRAP_BRANCH): Likewise.
3874 (TRAP_HWBKPT): Likewise.
3875 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3877 (CLD_KILLED): Likewise.
3878 (CLD_DUMPED): Likewise.
3879 (CLD_TRAPPED): Likewise.
3880 (CLD_STOPPED): Likewise.
3881 (CLD_CONTINUED): Likewise.
3882 (POLL_IN): Likewise.
3883 (POLL_OUT): Likewise.
3884 (POLL_MSG): Likewise.
3885 (POLL_ERR): Likewise.
3886 (POLL_PRI): Likewise.
3887 (POLL_HUP): Likewise.
3888 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
3889 (ILL_ILLOPN): Likewise.
3890 (ILL_ILLADR): Likewise.
3891 (ILL_ILLTRP): Likewise.
3892 (ILL_PRVOPC): Likewise.
3893 (ILL_PRVREG): Likewise.
3894 (ILL_COPROC): Likewise.
3895 (ILL_BADSTK): Likewise.
3896 (FPE_INTDIV): Likewise.
3897 (FPE_INTOVF): Likewise.
3898 (FPE_FLTDIV): Likewise.
3899 (FPE_FLTOVF): Likewise.
3900 (FPE_FLTUND): Likewise.
3901 (FPE_FLTRES): Likewise.
3902 (FPE_FLTINV): Likewise.
3903 (FPE_FLTSUB): Likewise.
3904 (SEGV_MAPERR): Likewise.
3905 (SEGV_ACCERR): Likewise.
3906 (BUS_ADRALN): Likewise.
3907 (BUS_ADRERR): Likewise.
3908 (BUS_OBJERR): Likewise.
3909 (BUS_MCEERR_AR): Likewise.
3910 (BUS_MCEERR_AO): Likewise.
3911 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3912 (TRAP_TRACE): Likewise.
3913 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3915 (CLD_KILLED): Likewise.
3916 (CLD_DUMPED): Likewise.
3917 (CLD_TRAPPED): Likewise.
3918 (CLD_STOPPED): Likewise.
3919 (CLD_CONTINUED): Likewise.
3920 (POLL_IN): Likewise.
3921 (POLL_OUT): Likewise.
3922 (POLL_MSG): Likewise.
3923 (POLL_ERR): Likewise.
3924 (POLL_PRI): Likewise.
3925 (POLL_HUP): Likewise.
3926 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
3927 (ILL_ILLOPN): Likewise.
3928 (ILL_ILLADR): Likewise.
3929 (ILL_ILLTRP): Likewise.
3930 (ILL_PRVOPC): Likewise.
3931 (ILL_PRVREG): Likewise.
3932 (ILL_COPROC): Likewise.
3933 (ILL_BADSTK): Likewise.
3934 (FPE_INTDIV): Likewise.
3935 (FPE_INTOVF): Likewise.
3936 (FPE_FLTDIV): Likewise.
3937 (FPE_FLTOVF): Likewise.
3938 (FPE_FLTUND): Likewise.
3939 (FPE_FLTRES): Likewise.
3940 (FPE_FLTINV): Likewise.
3941 (FPE_FLTSUB): Likewise.
3942 (SEGV_MAPERR): Likewise.
3943 (SEGV_ACCERR): Likewise.
3944 (BUS_ADRALN): Likewise.
3945 (BUS_ADRERR): Likewise.
3946 (BUS_OBJERR): Likewise.
3947 (BUS_MCEERR_AR): Likewise.
3948 (BUS_MCEERR_AO): Likewise.
3949 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3950 (TRAP_TRACE): Likewise.
3951 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3953 (CLD_KILLED): Likewise.
3954 (CLD_DUMPED): Likewise.
3955 (CLD_TRAPPED): Likewise.
3956 (CLD_STOPPED): Likewise.
3957 (CLD_CONTINUED): Likewise.
3958 (POLL_IN): Likewise.
3959 (POLL_OUT): Likewise.
3960 (POLL_MSG): Likewise.
3961 (POLL_ERR): Likewise.
3962 (POLL_PRI): Likewise.
3963 (POLL_HUP): Likewise.
3964 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
3965 (ILL_ILLOPN): Likewise.
3966 (ILL_ILLADR): Likewise.
3967 (ILL_ILLTRP): Likewise.
3968 (ILL_PRVOPC): Likewise.
3969 (ILL_PRVREG): Likewise.
3970 (ILL_COPROC): Likewise.
3971 (ILL_BADSTK): Likewise.
3972 (FPE_INTDIV): Likewise.
3973 (FPE_INTOVF): Likewise.
3974 (FPE_FLTDIV): Likewise.
3975 (FPE_FLTOVF): Likewise.
3976 (FPE_FLTUND): Likewise.
3977 (FPE_FLTRES): Likewise.
3978 (FPE_FLTINV): Likewise.
3979 (FPE_FLTSUB): Likewise.
3980 (SEGV_MAPERR): Likewise.
3981 (SEGV_ACCERR): Likewise.
3982 (BUS_ADRALN): Likewise.
3983 (BUS_ADRERR): Likewise.
3984 (BUS_OBJERR): Likewise.
3985 (BUS_MCEERR_AR): Likewise.
3986 (BUS_MCEERR_AO): Likewise.
3987 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3988 (TRAP_TRACE): Likewise.
3989 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3991 (CLD_KILLED): Likewise.
3992 (CLD_DUMPED): Likewise.
3993 (CLD_TRAPPED): Likewise.
3994 (CLD_STOPPED): Likewise.
3995 (CLD_CONTINUED): Likewise.
3996 (POLL_IN): Likewise.
3997 (POLL_OUT): Likewise.
3998 (POLL_MSG): Likewise.
3999 (POLL_ERR): Likewise.
4000 (POLL_PRI): Likewise.
4001 (POLL_HUP): Likewise.
4002 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
4003 (ILL_ILLOPN): Likewise.
4004 (ILL_ILLADR): Likewise.
4005 (ILL_ILLTRP): Likewise.
4006 (ILL_PRVOPC): Likewise.
4007 (ILL_PRVREG): Likewise.
4008 (ILL_COPROC): Likewise.
4009 (ILL_BADSTK): Likewise.
4010 (ILL_DBLFLT): Likewise.
4011 (ILL_HARDWALL): Likewise.
4012 (FPE_INTDIV): Likewise.
4013 (FPE_INTOVF): Likewise.
4014 (FPE_FLTDIV): Likewise.
4015 (FPE_FLTOVF): Likewise.
4016 (FPE_FLTUND): Likewise.
4017 (FPE_FLTRES): Likewise.
4018 (FPE_FLTINV): Likewise.
4019 (FPE_FLTSUB): Likewise.
4020 (SEGV_MAPERR): Likewise.
4021 (SEGV_ACCERR): Likewise.
4022 (BUS_ADRALN): Likewise.
4023 (BUS_ADRERR): Likewise.
4024 (BUS_OBJERR): Likewise.
4025 (BUS_MCEERR_AR): Likewise.
4026 (BUS_MCEERR_AO): Likewise.
4027 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4028 (TRAP_TRACE): Likewise.
4029 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4031 (CLD_KILLED): Likewise.
4032 (CLD_DUMPED): Likewise.
4033 (CLD_TRAPPED): Likewise.
4034 (CLD_STOPPED): Likewise.
4035 (CLD_CONTINUED): Likewise.
4036 (POLL_IN): Likewise.
4037 (POLL_OUT): Likewise.
4038 (POLL_MSG): Likewise.
4039 (POLL_ERR): Likewise.
4040 (POLL_PRI): Likewise.
4041 (POLL_HUP): Likewise.
4042 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
4043 (ILL_ILLOPN): Likewise.
4044 (ILL_ILLADR): Likewise.
4045 (ILL_ILLTRP): Likewise.
4046 (ILL_PRVOPC): Likewise.
4047 (ILL_PRVREG): Likewise.
4048 (ILL_COPROC): Likewise.
4049 (ILL_BADSTK): Likewise.
4050 (FPE_INTDIV): Likewise.
4051 (FPE_INTOVF): Likewise.
4052 (FPE_FLTDIV): Likewise.
4053 (FPE_FLTOVF): Likewise.
4054 (FPE_FLTUND): Likewise.
4055 (FPE_FLTRES): Likewise.
4056 (FPE_FLTINV): Likewise.
4057 (FPE_FLTSUB): Likewise.
4058 (SEGV_MAPERR): Likewise.
4059 (SEGV_ACCERR): Likewise.
4060 (BUS_ADRALN): Likewise.
4061 (BUS_ADRERR): Likewise.
4062 (BUS_OBJERR): Likewise.
4063 (BUS_MCEERR_AR): Likewise.
4064 (BUS_MCEERR_AO): Likewise.
4065 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4066 (TRAP_TRACE): Likewise.
4067 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4069 (CLD_KILLED): Likewise.
4070 (CLD_DUMPED): Likewise.
4071 (CLD_TRAPPED): Likewise.
4072 (CLD_STOPPED): Likewise.
4073 (CLD_CONTINUED): Likewise.
4074 (POLL_IN): Likewise.
4075 (POLL_OUT): Likewise.
4076 (POLL_MSG): Likewise.
4077 (POLL_ERR): Likewise.
4078 (POLL_PRI): Likewise.
4079 (POLL_HUP): Likewise.
4080 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
4081 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
4084 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
4085 before #include of <time.h>.
4086 [!__USE_XOPEN2K] (__need_timespec): Likewise.
4087 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
4088 (test-xfail-UNIX98/sched.h/conform): Likewise.
4090 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
4092 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
4093 error absence of trapping exception support.
4094 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
4096 2014-03-07 Joseph Myers <joseph@codesourcery.com>
4098 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
4099 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
4100 * timezone/Makefile (testdata): Move definition above include of
4102 (test-zones): New variable.
4103 (tests-special): Add zone files.
4104 (build-testdata): Use $(evaluate-test).
4106 * elf/Makefile (tests-special): Rename tests to end with .out.
4107 ($(objpfx)noload-mem): Likewise.
4108 ($(objpfx)tst-leaks1-mem): Likewise.
4109 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
4110 * iconv/Makefile (xtests-special): Change test-iconvconfig to
4111 $(objpfx)test-iconvconfig.out.
4112 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
4113 set -e inside subshell and redirect output to file.
4114 * iconvdata/Makefile (generated): Rename tests to end with .out.
4116 (tests-special): Rename tests to end with .out.
4117 ($(objpfx)mtrace-tst-loading): Likewise.
4118 * intl/Makefile (generated): Likewise.
4119 (tests-special): Likewise.
4120 ($(objpfx)mtrace-tst-gettext): Likewise.
4121 * misc/Makefile (generated): Likewise.
4122 (tests-special): Likewise.
4123 ($(objpfx)tst-error1-mem): Likewise.
4124 * nptl/Makefile (tests-special): Likewise.
4125 ($(objpfx)tst-stack3-mem): Likewise.
4126 (generated): Likewise.
4127 * posix/Makefile (generated): Likewise.
4128 (tests-special): Likewise.
4129 (xtests-special): Likewise.
4130 ($(objpfx)tst-fnmatch-mem): Likewise.
4131 ($(objpfx)bug-regex2-mem): Likewise.
4132 ($(objpfx)bug-regex14-mem): Likewise.
4133 ($(objpfx)bug-regex21-mem): Likewise.
4134 ($(objpfx)bug-regex31-mem): Likewise.
4135 ($(objpfx)tst-vfork3-mem): Likewise.
4136 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
4137 ($(objpfx)tst-pcre-mem): Likewise.
4138 ($(objpfx)tst-boost-mem): Likewise.
4139 ($(objpfx)bug-ga2-mem): Likewise.
4140 ($(objpfx)bug-glob2-mem): Likewise.
4141 * resolv/Makefile (generate): Likewise.
4142 (tests-special): Likewise.
4143 (xtests-special): Likewise.
4144 (generated): Likewise.
4145 ($(objpfx)mtrace-tst-leaks): Likewise.
4146 ($(objpfx)mtrace-tst-leaks2): Likewise.
4148 * scripts/merge-test-results.sh: New file.
4149 * Makefile (tests-special-notdir): New variable.
4150 (tests): Run merge-test-results.sh.
4152 * Rules (tests-special-notdir): New variable.
4153 (xtests-special-notdir): Likewise.
4154 (tests): Run merge-test-results.sh
4157 * Makeconfig (test-xfail-name): New variable.
4158 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
4159 compute variable name for expected failures.
4160 * conform/Makefile (conformtest-headers-data): New variable.
4161 (conformtest-standards): Likewise.
4162 (conformtest-headers-ISO): Likewise.
4163 (conformtest-headers-ISO99): Likewise.
4164 (conformtest-headers-ISO11): Likewise.
4165 (conformtest-headers-POSIX): Likewise.
4166 (conformtest-headers-XPG3): Likewise.
4167 (conformtest-headers-XPG4): Likewise.
4168 (conformtest-headers-UNIX98): Likewise.
4169 (conformtest-headers-XOPEN2K): Likewise.
4170 (conformtest-headers-POSIX2008): Likewise.
4171 (conformtest-headers-XOPEN2K8): Likewise.
4172 (conformtest-header-list-base): Likewise.
4173 (conformtest-header-list-tests): Likewise.
4174 (conformtest-header-base): Likewise.
4175 (conformtest-header-tests): Likewise.
4176 (tests-special): Add $(conformtest-header-list-tests). If
4177 [$(fast-check) && !$(cross-compiling)], add
4178 $(conformtest-header-tests) instead of
4179 $(objpfx)run-conformtest.out.
4180 (generated): Add $(conformtest-header-list-base). If
4181 [$(fast-check) && !$(cross-compiling)], add
4182 $(conformtest-header-base). Remove previous setting.
4183 ($(conformtest-header-list-tests)): New target.
4184 (test-xfail-run-conformtest): Remove variable.
4185 ($(objpfx)run-conformtest.out): Remove target.
4186 (test-xfail-ISO11/complex.h/conform): New variable.
4187 (test-xfail-ISO11/stdalign.h/conform): Likewise.
4188 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
4189 (test-xfail-XPG3/varargs.h/conform): Likewise.
4190 (test-xfail-XPG4/varargs.h/conform): Likewise.
4191 (test-xfail-UNIX98/varargs.h/conform): Likewise.
4192 (test-xfail-XPG4/ndbm.h/conform): Likewise.
4193 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
4194 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
4195 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
4196 (test-xfail-XPG3/fcntl.h/conform): Likewise.
4197 (test-xfail-XPG3/ftw.h/conform): Likewise.
4198 (test-xfail-XPG3/grp.h/conform): Likewise.
4199 (test-xfail-XPG3/langinfo.h/conform): Likewise.
4200 (test-xfail-XPG3/limits.h/conform): Likewise.
4201 (test-xfail-XPG3/pwd.h/conform): Likewise.
4202 (test-xfail-XPG3/search.h/conform): Likewise.
4203 (test-xfail-XPG3/signal.h/conform): Likewise.
4204 (test-xfail-XPG3/stdio.h/conform): Likewise.
4205 (test-xfail-XPG3/stdlib.h/conform): Likewise.
4206 (test-xfail-XPG3/string.h/conform): Likewise.
4207 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
4208 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
4209 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
4210 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
4211 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
4212 (test-xfail-XPG3/sys/types.h/conform): Likewise.
4213 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
4214 (test-xfail-XPG3/termios.h/conform): Likewise.
4215 (test-xfail-XPG3/time.h/conform): Likewise.
4216 (test-xfail-XPG3/unistd.h/conform): Likewise.
4217 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
4218 (test-xfail-XPG4/fcntl.h/conform): Likewise.
4219 (test-xfail-XPG4/langinfo.h/conform): Likewise.
4220 (test-xfail-XPG4/netdb.h/conform): Likewise.
4221 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
4222 (test-xfail-XPG4/signal.h/conform): Likewise.
4223 (test-xfail-XPG4/stdio.h/conform): Likewise.
4224 (test-xfail-XPG4/stdlib.h/conform): Likewise.
4225 (test-xfail-XPG4/stropts.h/conform): Likewise.
4226 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
4227 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
4228 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
4229 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
4230 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
4231 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
4232 (test-xfail-XPG4/sys/time.h/conform): Likewise.
4233 (test-xfail-XPG4/sys/types.h/conform): Likewise.
4234 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
4235 (test-xfail-XPG4/termios.h/conform): Likewise.
4236 (test-xfail-XPG4/ucontext.h/conform): Likewise.
4237 (test-xfail-XPG4/unistd.h/conform): Likewise.
4238 (test-xfail-XPG4/utmpx.h/conform): Likewise.
4239 (test-xfail-POSIX/sched.h/conform): Likewise.
4240 (test-xfail-POSIX/signal.h/conform): Likewise.
4241 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
4242 (test-xfail-POSIX/tar.h/conform): Likewise.
4243 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
4244 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
4245 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
4246 (test-xfail-UNIX98/netdb.h/conform): Likewise.
4247 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
4248 (test-xfail-UNIX98/sched.h/conform): Likewise.
4249 (test-xfail-UNIX98/signal.h/conform): Likewise.
4250 (test-xfail-UNIX98/stdio.h/conform): Likewise.
4251 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
4252 (test-xfail-UNIX98/stropts.h/conform): Likewise.
4253 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
4254 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
4255 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
4256 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
4257 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
4258 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
4259 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
4260 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
4261 (test-xfail-UNIX98/unistd.h/conform): Likewise.
4262 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
4263 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
4264 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
4265 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
4266 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
4267 (test-xfail-XOPEN2K/math.h/conform): Likewise.
4268 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
4269 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
4270 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
4271 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
4272 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
4273 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
4274 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
4275 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
4276 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
4277 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
4278 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
4279 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
4280 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
4281 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
4282 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
4283 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
4284 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
4285 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
4286 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
4287 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
4288 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
4289 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
4290 (test-xfail-POSIX2008/signal.h/conform): Likewise.
4291 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
4292 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
4293 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
4294 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
4295 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
4296 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
4297 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
4298 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
4299 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
4300 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
4301 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
4302 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
4303 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
4304 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
4305 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
4306 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
4307 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
4308 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
4309 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
4310 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
4311 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
4312 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
4313 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
4314 (conformtest-cc-flags): Likewise.
4315 ($(conformtest-header-tests): New target.
4316 * conform/check-header-lists.sh: New file.
4317 * conform/run-conformtest.sh: Remove.
4319 * conform/conformtest.pl: Allow ' and \ in values given for
4321 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
4323 [POSIX] (sys/types.h): Likewise.
4324 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
4326 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
4328 * conform/data/signal.h-data (SIGIO): Remove expectation.
4329 [XPG3] (SIGBUS): Do not expect.
4330 [POSIX || XPG3] (SIGPOLL): Likewise.
4331 [POSIX || XPG3] (SIGPROF): Likewise.
4332 [POSIX || XPG3] (SIGSYS): Likewise.
4333 [XPG3] (SIGTRAP): Likewise.
4334 [POSIX || XPG3] (SIGURG): Likewise.
4335 [POSIX || XPG3] (SIGVTALRM): Likewise.
4336 [POSIX || XPG3] (SIGXCPU): Likewise.
4337 [POSIX || XPG3] (SIGXFSZ): Likewise.
4338 [POSIX] (SA_SIGINFO): Expect.
4339 [XPG3] (siginfo_t): Do not expect type or contents.
4340 [POSIX] (si_pid): Do not expect element.
4341 [POSIX] (si_uid): Likewise.
4342 [POSIX] (si_addr): Likewise.
4343 [POSIX] (si_status): Likewise.
4344 [POSIX] (si_band): Likewise.
4345 [XPG4] (si_value): Likewise.
4346 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
4347 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
4348 [POSIX || XPG3] (ILL_ILLADR): Likewise.
4349 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
4350 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
4351 [POSIX || XPG3] (ILL_PRVREG): Likewise.
4352 [POSIX || XPG3] (ILL_COPROC): Likewise.
4353 [POSIX || XPG3] (ILL_BADSTK): Likewise.
4354 [POSIX || XPG3] (FPE_INTDIV): Likewise.
4355 [POSIX || XPG3] (FPE_INTOVF): Likewise.
4356 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
4357 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
4358 [POSIX || XPG3] (FPE_FLTUND): Likewise.
4359 [POSIX || XPG3] (FPE_FLTRES): Likewise.
4360 [POSIX || XPG3] (FPE_FLTINV): Likewise.
4361 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
4362 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
4363 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
4364 [POSIX || XPG3] (BUS_ADRALN): Likewise.
4365 [POSIX || XPG3] (BUS_ADRERR): Likewise.
4366 [POSIX || XPG3] (BUS_OBJERR): Likewise.
4367 [POSIX || XPG3] (CLD_EXITED): Likewise.
4368 [POSIX || XPG3] (CLD_KILLED): Likewise.
4369 [POSIX || XPG3] (CLD_DUMPED): Likewise.
4370 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
4371 [POSIX || XPG3] (CLD_STOPPED): Likewise.
4372 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
4373 [POSIX || XPG3] (POLL_IN): Likewise.
4374 [POSIX || XPG3] (POLL_OUT): Likewise.
4375 [POSIX || XPG3] (POLL_MSG): Likewise.
4376 [POSIX || XPG3] (POLL_ERR): Likewise.
4377 [POSIX || XPG3] (POLL_PRI): Likewise.
4378 [POSIX || XPG3] (POLL_HUP): Likewise.
4379 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
4380 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
4381 (SIG*): Do not allow.
4382 [XPG3] (si_*): Likewise.
4383 [XPG3] (SI_*): Likewise.
4384 [XPG3 || XPG4] (sigev_*): Likewise.
4385 [XPG3 || XPG4] (SIGEV_*): Likewise.
4386 [XPG3 || XPG4] (sival_*): Likewise.
4387 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
4388 [POSIX || XPG3] (BUS_*): Likewise.
4389 [POSIX || XPG3] (CLD_*): Likewise.
4390 [POSIX || XPG3] (FPE_*): Likewise.
4391 [POSIX || XPG3] (ILL_*): Likewise.
4392 [POSIX || XPG3] (POLL_*): Likewise.
4393 [POSIX || XPG3] (SEGV_*): Likewise.
4394 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
4395 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
4396 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
4397 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
4398 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
4399 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
4400 Specify type and value.
4401 (TVERSLEN): Likewise.
4402 (REGTYPE): Likewise.
4403 (AREGTYPE): Likewise.
4404 (LNKTYPE): Likewise.
4405 (SYMTYPE): Likewise.
4406 (CHRTYPE): Likewise.
4407 (BLKTYPE): Likewise.
4408 (DIRTYPE): Likewise.
4409 (FIFOTYPE): Likewise.
4410 (CONTTYPE): Likewise.
4415 (TUWRITE): Likewise.
4418 (TGWRITE): Likewise.
4421 (TOWRITE): Likewise.
4423 [POSIX] (TSVTX): Expect constant.
4425 2014-03-06 Joseph Myers <joseph@codesourcery.com>
4427 * Makefile (tests): Change dependencies to ....
4428 (tests-special): ... additions to this variable.
4429 (tests): Depend on $(tests-special).
4430 * Makerules (check-abi-list): New variable.
4431 (check-abi): Depend on $(check-abi-list).
4432 [$(subdir) = elf] (tests-special): Add
4433 $(objpfx)check-abi-libc.out.
4434 [$(build-shared) = yes && subdir] (tests-special): Add
4436 [$(build-shared) = yes && subdir] (tests): Do not depend on
4438 * Rules (tests): Depend on $(tests-special).
4439 (xtests): Depend on $(xtests-special).
4440 * catgets/Makefile (tests): Change dependencies to ....
4441 (tests-special): ... additions to this variable.
4442 * conform/Makefile (tests): Change dependencies to ....
4443 (tests-special): ... additions to this variable.
4444 * elf/Makefile (tests): Change dependencies to ....
4445 (tests-special): ... additions to this variable.
4446 * grp/Makefile (tests): Change dependencies to ....
4447 (tests-special): ... additions to this variable.
4448 * iconv/Makefile (xtests): Change dependencies to ....
4449 (xtests-special): ... additions to this variable.
4450 * iconvdata/Makefile (tests): Change dependencies to ....
4451 (tests-special): ... additions to this variable.
4452 * intl/Makefile (tests): Change dependencies to ....
4453 (tests-special): ... additions to this variable. Also add
4454 $(objpfx)tst-gettext.out.
4455 * io/Makefile (tests): Change dependencies to ....
4456 (tests-special): ... additions to this variable.
4457 * libio/Makefile (tests): Change dependencies to ....
4458 (tests-special): ... additions to this variable.
4459 * malloc/Makefile (tests): Change dependencies to ....
4460 (tests-special): ... additions to this variable.
4461 * misc/Makefile (tests): Change dependencies to ....
4462 (tests-special): ... additions to this variable.
4463 * nptl/Makefile (tests): Change dependencies to ....
4464 (tests-special): ... additions to this variable.
4465 * nptl_db/Makefile (tests): Change dependencies to ....
4466 (tests-special): ... additions to this variable.
4467 * posix/Makefile (tests): Change dependencies to ....
4468 (tests-special): ... additions to this variable.
4469 (xtests): Change dependencies to ....
4470 (xtests-special): ... additions to this variable.
4471 * resolv/Makefile (tests): Change dependencies to ....
4472 (tests-special): ... additions to this variable.
4473 (xtests): Change dependencies to ....
4474 (xtests-special): ... additions to this variable.
4475 * stdio-common/Makefile (tests): Change dependencies to ....
4476 (tests-special): ... additions to this variable.
4477 (do-tst-unbputc): Remove target.
4478 (do-tst-printf): Likewise.
4479 * stdlib/Makefile (tests): Change dependencies to ....
4480 (tests-special): ... additions to this variable.
4481 * string/Makefile (tests): Change dependencies to ....
4482 (tests-special): ... additions to this variable.
4483 * sysdeps/x86/Makefile (tests): Change dependencies to ....
4484 (tests-special): ... additions to this variable.
4486 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
4488 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
4490 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
4491 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
4493 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
4494 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
4495 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
4496 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
4497 * conform/data/libgen.h-data [XPG3]: Likewise.
4498 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
4499 * conform/data/ndbm.h-data [XPG3]: Likewise.
4500 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
4501 * conform/data/netdb.h-data [XPG3]: Likewise.
4502 * conform/data/netinet/in.h-data [XPG3]: Likewise.
4503 * conform/data/poll.h-data [XPG3]: Likewise.
4504 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
4505 * conform/data/strings.h-data [XPG3]: Likewise.
4506 * conform/data/stropts.h-data [XPG3]: Likewise.
4507 * conform/data/sys/mman.h-data [XPG3]: Likewise.
4508 * conform/data/sys/resource.h-data [XPG3]: Likewise.
4509 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
4511 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
4512 * conform/data/sys/time.h-data [XPG3]: Likewise.
4513 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
4514 * conform/data/sys/uio.h-data [XPG3]: Likewise.
4515 * conform/data/sys/un.h-data [XPG3]: Likewise.
4516 * conform/data/syslog.h-data [XPG3]: Likewise.
4517 * conform/data/ucontext.h-data [XPG3]: Likewise.
4518 * conform/data/utmpx.h-data [XPG3]: Likewise.
4519 * conform/data/varargs.h-data [UNIX98]: Enable file.
4521 * manual/Makefile (INSTALL_INFO): Remove variable setting.
4523 * math/libm-test.inc (struct test_f_f_data): Move expected results
4524 into structure for each rounding mode.
4525 (struct test_ff_f_data): Likewise.
4526 (struct test_ff_f_data_nexttoward): Likewise.
4527 (struct test_fi_f_data): Likewise.
4528 (struct test_fl_f_data): Likewise.
4529 (struct test_if_f_data): Likewise.
4530 (struct test_fff_f_data): Likewise.
4531 (struct test_c_f_data): Likewise.
4532 (struct test_f_f1_data): Likewise.
4533 (struct test_fF_f1_data): Likewise.
4534 (struct test_ffI_f1_data): Likewise.
4535 (struct test_c_c_data): Likewise.
4536 (struct test_cc_c_data): Likewise.
4537 (struct test_f_i_data): Likewise.
4538 (struct test_ff_i_data): Likewise.
4539 (struct test_f_l_data): Likewise.
4540 (struct test_f_L_data): Likewise.
4541 (struct test_fFF_11_data): Likewise.
4543 (RM_FE_DOWNWARD): Likewise.
4544 (RM_FE_TONEAREST): Likewise.
4545 (RM_FE_TOWARDZERO): Likewise.
4546 (RM_FE_UPWARD): Likewise.
4547 (RUN_TEST_LOOP_f_f): Update references to expected results.
4548 (RUN_TEST_LOOP_2_f): Likewise.
4549 (RUN_TEST_LOOP_fff_f): Likewise.
4550 (RUN_TEST_LOOP_c_f): Likewise.
4551 (RUN_TEST_LOOP_f_f1): Likewise.
4552 (RUN_TEST_LOOP_fF_f1): Likewise.
4553 (RUN_TEST_LOOP_fI_f1): Likewise.
4554 (RUN_TEST_LOOP_ffI_f1): Likewise.
4555 (RUN_TEST_LOOP_c_c): Likewise.
4556 (RUN_TEST_LOOP_cc_c): Likewise.
4557 (RUN_TEST_LOOP_f_i): Likewise.
4558 (RUN_TEST_LOOP_f_i_tg): Likewise.
4559 (RUN_TEST_LOOP_ff_i_tg): Likewise.
4560 (RUN_TEST_LOOP_f_b): Likewise.
4561 (RUN_TEST_LOOP_f_b_tg): Likewise.
4562 (RUN_TEST_LOOP_f_l): Likewise.
4563 (RUN_TEST_LOOP_f_L): Likewise.
4564 (RUN_TEST_LOOP_fFF_11): Likewise.
4565 * math/gen-libm-test.pl (parse_args): Output four copies of
4566 expected results for each test.
4568 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4569 (__ASSUME_UTIMES): Remove.
4570 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4571 (__ASSUME_UTIMES): Likewise.
4573 * math/gen-auto-libm-tests.c: Update comment on output format.
4574 (output_for_one_input_case): Generate before-rounding and
4575 after-rounding information as conditions on output flags not
4576 floating-point format.
4577 * math/auto-libm-test-out: Regenerated.
4578 * math/gen-libm-test.pl (cond_value): New function.
4579 (or_cond_value): Use cond_value.
4580 (generate_testfile): Handle conditional exceptions.
4582 2014-03-05 Joseph Myers <joseph@codesourcery.com>
4584 * math/libm-test.inc (max_valid_error): New variable.
4585 (init_max_error): Take new argument specifying whether function
4586 results are exactly determined. Set max_valid_error and bound
4587 other variables for errors based on this argument.
4588 (set_max_error): Do not record results above max_valid_error.
4589 (check_float_internal): Only accept errors of up to 0.5ulps if
4590 also at most max_valid_error.
4591 (START): Take new argument EXACT and pass it to init_max_error.
4592 (acos_test): Update call to START.
4593 (acos_test_tonearest): Likewise.
4594 (acos_test_towardzero): Likewise.
4595 (acos_test_downward): Likewise.
4596 (acos_test_upward): Likewise.
4597 (acosh_test): Likewise.
4598 (asin_test): Likewise.
4599 (asin_test_tonearest): Likewise.
4600 (asin_test_towardzero): Likewise.
4601 (asin_test_downward): Likewise.
4602 (asin_test_upward): Likewise.
4603 (asinh_test): Likewise.
4604 (atan_test): Likewise.
4605 (atanh_test): Likewise.
4606 (atan2_test): Likewise.
4607 (cabs_test): Likewise.
4608 (cacos_test): Likewise.
4609 (cacosh_test): Likewise.
4610 (carg_test): Likewise.
4611 (casin_test): Likewise.
4612 (casinh_test): Likewise.
4613 (catan_test): Likewise.
4614 (catanh_test): Likewise.
4615 (cbrt_test): Likewise.
4616 (ccos_test): Likewise.
4617 (ccosh_test): Likewise.
4618 (ceil_test): Likewise.
4619 (cexp_test): Likewise.
4620 (cimag_test): Likewise.
4621 (clog_test): Likewise.
4622 (clog10_test): Likewise.
4623 (conj_test): Likewise.
4624 (copysign_test): Likewise.
4625 (cos_test): Likewise.
4626 (cos_test_tonearest): Likewise.
4627 (cos_test_towardzero): Likewise.
4628 (cos_test_downward): Likewise.
4629 (cos_test_upward): Likewise.
4630 (cosh_test): Likewise.
4631 (cosh_test_tonearest): Likewise.
4632 (cosh_test_towardzero): Likewise.
4633 (cosh_test_downward): Likewise.
4634 (cosh_test_upward): Likewise.
4635 (cpow_test): Likewise.
4636 (cproj_test): Likewise.
4637 (creal_test): Likewise.
4638 (csin_test): Likewise.
4639 (csinh_test): Likewise.
4640 (csqrt_test): Likewise.
4641 (ctan_test): Likewise.
4642 (ctan_test_tonearest): Likewise.
4643 (ctan_test_towardzero): Likewise.
4644 (ctan_test_downward): Likewise.
4645 (ctan_test_upward): Likewise.
4646 (ctanh_test): Likewise.
4647 (ctanh_test_tonearest): Likewise.
4648 (ctanh_test_towardzero): Likewise.
4649 (ctanh_test_downward): Likewise.
4650 (ctanh_test_upward): Likewise.
4651 (erf_test): Likewise.
4652 (erfc_test): Likewise.
4653 (exp_test): Likewise.
4654 (exp_test_tonearest): Likewise.
4655 (exp_test_towardzero): Likewise.
4656 (exp_test_downward): Likewise.
4657 (exp_test_upward): Likewise.
4658 (exp10_test): Likewise.
4659 (exp10_test_tonearest): Likewise.
4660 (exp10_test_towardzero): Likewise.
4661 (exp10_test_downward): Likewise.
4662 (exp10_test_upward): Likewise.
4663 (pow10_test): Likewise.
4664 (exp2_test): Likewise.
4665 (expm1_test): Likewise.
4666 (expm1_test_tonearest): Likewise.
4667 (expm1_test_towardzero): Likewise.
4668 (expm1_test_downward): Likewise.
4669 (expm1_test_upward): Likewise.
4670 (fabs_test): Likewise.
4671 (fdim_test): Likewise.
4672 (floor_test): Likewise.
4673 (fma_test): Likewise.
4674 (fma_test_towardzero): Likewise.
4675 (fma_test_downward): Likewise.
4676 (fma_test_upward): Likewise.
4677 (fmax_test): Likewise.
4678 (fmin_test): Likewise.
4679 (fmod_test): Likewise.
4680 (fpclassify_test): Likewise.
4681 (frexp_test): Likewise.
4682 (hypot_test): Likewise.
4683 (ilogb_test): Likewise.
4684 (isfinite_test): Likewise.
4685 (finite_test): Likewise.
4686 (isgreater_test): Likewise.
4687 (isgreaterequal_test): Likewise.
4688 (isinf_test): Likewise.
4689 (isless_test): Likewise.
4690 (islessequal_test): Likewise.
4691 (islessgreater_test): Likewise.
4692 (isnan_test): Likewise.
4693 (isnormal_test): Likewise.
4694 (issignaling_test): Likewise.
4695 (isunordered_test): Likewise.
4696 (j0_test): Likewise.
4697 (j1_test): Likewise.
4698 (jn_test): Likewise.
4699 (ldexp_test): Likewise.
4700 (lgamma_test): Likewise.
4701 (gamma_test): Likewise.
4702 (lrint_test): Likewise.
4703 (lrint_test_tonearest): Likewise.
4704 (lrint_test_towardzero): Likewise.
4705 (lrint_test_downward): Likewise.
4706 (lrint_test_upward): Likewise.
4707 (llrint_test): Likewise.
4708 (llrint_test_tonearest): Likewise.
4709 (llrint_test_towardzero): Likewise.
4710 (llrint_test_downward): Likewise.
4711 (llrint_test_upward): Likewise.
4712 (log_test): Likewise.
4713 (log10_test): Likewise.
4714 (log1p_test): Likewise.
4715 (log2_test): Likewise.
4716 (logb_test): Likewise.
4717 (logb_test_downward): Likewise.
4718 (lround_test): Likewise.
4719 (llround_test): Likewise.
4720 (modf_test): Likewise.
4721 (nearbyint_test): Likewise.
4722 (nextafter_test): Likewise.
4723 (nexttoward_test): Likewise.
4724 (pow_test): Likewise.
4725 (pow_test_tonearest): Likewise.
4726 (pow_test_towardzero): Likewise.
4727 (pow_test_downward): Likewise.
4728 (pow_test_upward): Likewise.
4729 (remainder_test): Likewise.
4730 (drem_test): Likewise.
4731 (remainder_test_tonearest): Likewise.
4732 (drem_test_tonearest): Likewise.
4733 (remainder_test_towardzero): Likewise.
4734 (drem_test_towardzero): Likewise.
4735 (remainder_test_downward): Likewise.
4736 (drem_test_downward): Likewise.
4737 (remainder_test_upward): Likewise.
4738 (drem_test_upward): Likewise.
4739 (remquo_test): Likewise.
4740 (rint_test): Likewise.
4741 (rint_test_tonearest): Likewise.
4742 (rint_test_towardzero): Likewise.
4743 (rint_test_downward): Likewise.
4744 (rint_test_upward): Likewise.
4745 (round_test): Likewise.
4746 (scalb_test): Likewise.
4747 (scalbn_test): Likewise.
4748 (scalbln_test): Likewise.
4749 (signbit_test): Likewise.
4750 (sin_test): Likewise.
4751 (sin_test_tonearest): Likewise.
4752 (sin_test_towardzero): Likewise.
4753 (sin_test_downward): Likewise.
4754 (sin_test_upward): Likewise.
4755 (sincos_test): Likewise.
4756 (sinh_test): Likewise.
4757 (sinh_test_tonearest): Likewise.
4758 (sinh_test_towardzero): Likewise.
4759 (sinh_test_downward): Likewise.
4760 (sinh_test_upward): Likewise.
4761 (sqrt_test): Likewise.
4762 (sqrt_test_tonearest): Likewise.
4763 (sqrt_test_towardzero): Likewise.
4764 (sqrt_test_downward): Likewise.
4765 (sqrt_test_upward): Likewise.
4766 (tan_test): Likewise.
4767 (tan_test_tonearest): Likewise.
4768 (tan_test_towardzero): Likewise.
4769 (tan_test_downward): Likewise.
4770 (tan_test_upward): Likewise.
4771 (tanh_test): Likewise.
4772 (tgamma_test): Likewise.
4773 (trunc_test): Likewise.
4774 (y0_test): Likewise.
4775 (y1_test): Likewise.
4776 (yn_test): Likewise.
4777 (significand_test): Likewise.
4779 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
4780 individual tests in comment.
4781 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
4782 (prev_max_error): New variable.
4783 (prev_real_max_error): Likewise.
4784 (prev_imag_max_error): Likewise.
4785 (compare_ulp_data): Don't refer to test names in comment.
4786 (find_test_ulps): Remove function.
4787 (find_function_ulps): Likewise.
4788 (find_complex_function_ulps): Likewise.
4789 (init_max_error): Take function name as argument. Look up ulps
4791 (print_ulps): Remove function.
4792 (print_max_error): Use prev_max_error instead of calling
4794 (print_complex_max_error): Use prev_real_max_error and
4795 prev_imag_max_error instead of calling find_complex_function_ulps.
4796 (check_float_internal): Take max_ulp parameter instead of calling
4797 find_test_ulps. Don't call print_ulps.
4798 (check_float): Update call to check_float_internal.
4799 (check_complex): Update calls to check_float_internal.
4800 (START): Pass argument to init_max_error.
4801 * math/gen-libm-test.pl (%results): Don't include "kind"
4803 (parse_ulps): Don't handle ulps of individual tests.
4804 (print_ulps_file): Likewise.
4805 (output_ulps): Likewise.
4806 * math/README.libm-test: Update.
4807 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
4809 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
4810 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
4811 * sysdeps/arm/libm-test-ulps: Likewise.
4812 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
4813 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
4814 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
4815 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
4816 * sysdeps/microblaze/libm-test-ulps: Likewise.
4817 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
4818 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4819 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4820 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
4821 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4822 * sysdeps/sh/libm-test-ulps: Likewise.
4823 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4824 * sysdeps/tile/libm-test-ulps: Likewise.
4825 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4827 2014-03-04 Joseph Myers <joseph@codesourcery.com>
4829 * math/libm-test.inc (print_complex_max_error): Check separately
4830 whether real and imaginary errors are within allowed range and
4831 pass 0 to print_complex_function_ulps instead of value within
4834 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4836 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
4838 (get_handles_fopen): Likewise.
4839 (do_write_test): Likewise.
4841 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
4843 * libio/fileops.c (do_ftell): Use cached offset when
4845 * libio/iofwide.c (do_ftell_wide): Likewise.
4846 * libio/iofdopen.c (_IO_new_fdopen): Don't use
4848 * libio/wfileops.c (_IO_fwide): Don't cache offset.
4851 * libio/libioP.h (get_file_offset): New function.
4852 * libio/fileops.c (get_file_offset): Likewise.
4853 (do_ftell): Likewise.
4854 (_IO_new_file_seekoff): Split out ftell logic.
4855 * libio/wfileops.c (do_ftell_wide): Likewise.
4856 (_IO_wfile_seekoff): Split out ftell logic.
4857 * libio/tst-ftell-active-handler.c: New test case.
4858 * libio/Makefile (tests): Add it.
4860 2014-03-03 Roland McGrath <roland@hack.frob.com>
4862 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
4863 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
4865 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4868 * nscd/connections.c (nscd_init): Call do_exit.
4869 (start_threads): Call do_exit and notify_parent.
4870 (begin_drop_privileges): Call do_exit.
4871 (finish_drop_privileges): Likewise.
4872 * nscd/selinux.c (preserve_capabilities): Likewise.
4873 (install_real_capabilities): Likewise.
4874 (nscd_selinux_enabled): Likewise.
4875 (avc_create_thread): Likewise.
4876 (avc_alloc_lock): Likewise.
4877 (nscd_avc_init): Likewise.
4878 * nscd/nscd.c (parent_fd): New static variable.
4879 (main): Create a pipe between parent and child processes.
4880 Skip closing parent_fd.
4881 (monitor_child): New function.
4882 (do_exit): Likewise.
4883 (notify_parent): Likewise.
4884 * nscd/nscd.h (notify_parent): Likewise.
4885 (do_exit): Likewise.
4887 2014-03-03 Carlos O'Donell <carlos@redhat.com>
4889 * malloc/malloc.c (__libc_calloc): Revert last change.
4891 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4893 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4895 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4897 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
4898 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
4900 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4901 (__libc_ifunc_impl_list): Likewise.
4902 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
4903 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
4904 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
4905 * string/strrchr.c: Define STRRCHR.
4907 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
4909 * benchtest/bench-strtok.c (simple_strtok): Delete.
4910 (strtok_string): Use as benchmark.
4911 * string/strtok (STRTOK): New macro.
4913 2014-02-28 Carlos O'Donell <carlos@redhat.com>
4915 * manual/threads.texi: Add header and standard comments to all
4918 * elf/dl-lookup.c (check_match): New function.
4919 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
4920 (do_lookup_x): Remove nested function check_match. Use non-nested
4921 function check_match.
4923 2014-02-28 Roland McGrath <roland@hack.frob.com>
4925 * csu/Makefile (generated, before-compile): Use += rather than =.
4926 * catgets/Makefile (generated, generated-dirs): Likewise.
4927 * debug/Makefile (generated): Likewise.
4928 * dlfcn/Makefile (generated): Likewise.
4929 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
4930 * iconvdata/Makefile (before-compile, generated): Likewise.
4931 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
4932 * libio/Makefile (generated): Likewise.
4933 * malloc/Makefile (generated): Likewise.
4934 * manual/Makefile (generated, generated-dirs): Likewise.
4935 * misc/Makefile (generated): Likewise.
4936 * posix/Makefile (generated): Likewise.
4937 * resolv/Makefile (generated): Likewise.
4938 * sunrpc/Makefile (generated, generated-dirs): Likewise.
4939 * timezone/Makefile (generated, generated-dirs): Likewise.
4941 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
4943 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4945 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
4946 power8 implementation.
4947 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
4948 file: POWER8 llround ifunc implementation.
4949 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
4950 (__lllround): Add POWER8 implementation.
4951 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
4952 POWER8 llround implementation.
4954 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
4955 power8 implementation.
4956 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
4957 file: POWER8 llrint ifunc implementation.
4958 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
4959 Add POWER8 implementation.
4960 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
4961 POWER8 llrint implementation.
4963 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
4964 power8 implementation.
4965 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
4966 file: POWER8 finite ifunc implementation.
4967 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
4968 Add POWER8 implementation.
4969 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
4971 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
4972 POWER8 finite implementation.
4973 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
4975 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
4976 power8 implementation.
4977 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
4978 file: POWER8 isinf ifunc implementation.
4979 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
4980 POWER8 implementation.
4981 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
4983 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
4984 isinf implementation.
4985 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
4987 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
4988 (INIT_ARCH): Add hwcap2 initialization.
4989 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
4990 power8 implementation.
4991 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
4992 file: POWER8 isnan ifunc implementation.
4993 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
4994 POWER8 implementation.
4995 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
4997 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
4998 isnan implementation.
4999 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
5001 2014-02-27 Joey Ye <joey.ye@arm.com>
5003 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
5004 (_FP_NANFRAC_Q): Set to zero.
5006 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5009 * math/auto-libm-test-in: New test inputs.
5010 * math/auto-libm-test-out: Regenerate.
5011 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
5014 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
5016 2014-02-27 Joseph Myers <joseph@codesourcery.com>
5018 * scripts/evaluate-test.sh: Take new argument indicating whether
5019 failure is expected.
5020 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
5021 indicating whether failure is expected.
5022 * conform/Makefile (test-xfail-run-conformtest): New variable.
5023 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
5025 * posix/Makefile (test-xfail-annexc): New variable.
5026 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
5028 2014-02-26 Joseph Myers <joseph@codesourcery.com>
5030 * argp/Makefile: Include Makeconfig immediately after defining
5032 * assert/Makefile: Likewise.
5033 * benchtests/Makefile: Likewise.
5034 * catgets/Makefile: Likewise.
5035 * conform/Makefile: Likewise.
5036 * crypt/Makefile: Likewise.
5037 * csu/Makefile: Likewise.
5038 (all): Remove target.
5039 * ctype/Makefile: Include Makeconfig immediately after defining
5041 * debug/Makefile: Likewise.
5042 * dirent/Makefile: Likewise.
5043 * dlfcn/Makefile: Likewise.
5044 * gmon/Makefile: Likewise.
5045 * gnulib/Makefile: Likewise.
5046 * grp/Makefile: Likewise.
5047 * gshadow/Makefile: Likewise.
5048 * hesiod/Makefile: Likewise.
5049 * hurd/Makefile: Likewise.
5050 (all): Remove target.
5051 * iconvdata/Makefile: Include Makeconfig immediately after
5053 * inet/Makefile: Likewise.
5054 * intl/Makefile: Likewise.
5055 * io/Makefile: Likewise.
5056 * libio/Makefile: Likewise.
5057 (all): Remove target.
5058 * locale/Makefile: Include Makeconfig immediately after defining
5060 * login/Makefile: Likewise.
5061 * mach/Makefile: Likewise.
5062 (all): Remove target.
5063 * malloc/Makefile: Include Makeconfig immediately after defining
5065 (all): Remove target.
5066 * manual/Makefile: Include Makeconfig immediately after defining
5068 * math/Makefile: Likewise.
5069 * misc/Makefile: Likewise.
5070 * nis/Makefile: Likewise.
5071 * nss/Makefile: Likewise.
5072 * po/Makefile: Likewise.
5073 (all): Remove target.
5074 * posix/Makefile: Include Makeconfig immediately after defining
5076 * pwd/Makefile: Likewise.
5077 * resolv/Makefile: Likewise.
5078 * resource/Makefile: Likewise.
5079 * rt/Makefile: Likewise.
5080 * setjmp/Makefile: Likewise.
5081 * shadow/Makefile: Likewise.
5082 * signal/Makefile: Likewise.
5083 * socket/Makefile: Likewise.
5084 * soft-fp/Makefile: Likewise.
5085 * stdio-common/Makefile: Likewise.
5086 * stdlib/Makefile: Likewise.
5087 * streams/Makefile: Likewise.
5088 * string/Makefile: Likewise.
5089 * sunrpc/Makefile: Likewise.
5090 (all): Remove target.
5091 * sysvipc/Makefile: Include Makeconfig immediately after defining
5093 * termios/Makefile: Likewise.
5094 * time/Makefile: Likewise.
5095 * timezone/Makefile: Likewise.
5096 (all): Remove target.
5097 * wcsmbs/Makefile: Include Makeconfig immediately after defining
5099 * wctype/Makefile: Likewise.
5101 2014-02-26 Steve Ellcey <sellcey@mips.com>
5103 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
5104 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
5105 (libc_feholdexcept_setround_mips): Ditto.
5106 (libc_feholdsetround): New.
5107 (libc_feholdsetroundf): New.
5108 (libc_feholdsetroundl): New.
5109 (libc_feupdateenv_test_mips): New.
5110 (libc_feupdateenv_test): New.
5111 (libc_feupdateenv_testf): New.
5112 (libc_feupdateenv_testl): New.
5113 (libc_feresetround): New.
5114 (libc_feresetroundf): New.
5115 (libc_feresetroundl): New.
5116 (libc_fetestexcept_mips): New.
5117 (libc_fetestexcept): New.
5118 (libc_fetestexceptf): New.
5119 (libc_fetestexceptl): New.
5121 (libc_feholdexcept_setround_mips_ctx): New.
5122 (libc_feholdexcept_setround_ctx): New.
5123 (libc_feholdexcept_setroundf_ctx): New.
5124 (libc_feholdexcept_setroundl_ctx): New.
5125 (libc_fesetenv_mips_ctx): New.
5126 (libc_fesetenv_ctx): New.
5127 (libc_fesetenv_ctxf): New.
5128 (libc_fesetenv_ctxl): New.
5129 (libc_feupdateenv_mips_ctx): New.
5130 (libc_feupdateenv_ctx): New.
5131 (libc_feupdateenvf_ctx): New.
5132 (libc_feupdateenvl_ctx): New.
5133 (libc_feholdsetround_mips_ctx): New.
5134 (libc_feholdsetround_ctx): New.
5135 (libc_feholdsetroundf_ctx): New.
5136 (libc_feholdsetroundl_ctx): New.
5137 (libc_feresetround_mips_ctx): New.
5138 (libc_feresetround_ctx): New.
5139 (libc_feresetroundf_ctx): New.
5140 (libc_feresetroundl_ctx): New.
5142 2014-02-26 Carlos O'Donell <carlos@redhat.com>
5144 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
5146 * manual/ipc.texi: New file.
5147 * manual/Makefile (chapters): Add ipc.
5148 * manual/job.texi: Add "Inter-Process Communication" to next.
5149 * manual/process.texi: Add "Inter-Process Communication" to prev.
5151 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5153 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5155 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
5157 * malloc/malloc.c (__libc_calloc): Simplify implementation.
5159 * manual/arith.texi: Fix spaces after sentences.
5160 * manual/charset.texi: Likewise.
5161 * manual/errno.texi: Likewise.
5162 * manual/install.texi: Likewise.
5163 * manual/llio.texi: Likewise.
5164 * manual/locale.texi: Likewise.
5165 * manual/maint.texi: Likewise.
5166 * manual/math.texi: Likewise.
5167 * manual/memory.texi: Likewise.
5168 * manual/message.texi: Likewise.
5169 * manual/probes.texi: Likewise.
5170 * manual/resource.texi: Likewise.
5171 * manual/signal.texi: Likewise.
5172 * manual/socket.texi: Likewise.
5173 * manual/stdio.texi: Likewise.
5174 * manual/string.texi: Likewise.
5175 * manual/time.texi: Likewise.
5176 * manual/users.texi: Likewise.
5178 2014-02-25 Carlos O'Donell <carlos@redhat.com>
5181 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
5182 _DEFAULT_SOURCE is defined.
5184 2014-02-25 Ulrich Drepper <drepper@gmail.com>
5185 Carlos O'Donell <carlos@redhat.com>
5188 * elf/dl-tls.c (_dl_count_modids): New function.
5189 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
5190 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
5191 audit library and increment generation counter.
5192 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
5193 * elf/tst-audit9.c: New file.
5194 * elf/tst-auditmod9a.c: New file.
5195 * elf/tst-auditmod9b.c: New file.
5196 * elf/Makefile: Add rules to build and run tst-audit9.
5198 2014-02-25 Florian Weimer <fweimer@redhat.com>
5201 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
5203 2014-02-25 Will Newton <will.newton@linaro.org>
5205 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
5206 (__longjmp): Restore sp and lr before restoring callee
5207 saved registers. Add longjmp and longjmp_target
5208 SystemTap probe point.
5209 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
5210 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
5211 Define to zero to match jmpbuf layout.
5212 * sysdeps/arm/setjmp.S: Include stap-probe.h.
5213 (__sigsetjmp): Save sp and lr before saving callee
5214 saved registers. Add setjmp SystemTap probe point.
5216 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
5218 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5220 2014-02-24 Andreas Schwab <schwab@suse.de>
5223 * elf/pldd.c (wait_for_ptrace_stop): New function.
5224 (main): Call it after attaching.
5226 2014-02-22 Roland McGrath <roland@hack.frob.com>
5228 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
5229 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
5230 Versions files is now verboten.
5231 * hurd/Versions (libc: GLIBC_2.0):
5232 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
5233 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
5234 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
5235 * mach/Versions: Likewise.
5237 * csu/Versions: Remove unused %include.
5238 * resolv/Versions: Likewise.
5240 2014-02-21 Joseph Myers <joseph@codesourcery.com>
5242 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
5243 ($(objpfx)check-local-headers.out): Likewise.
5244 ($(objpfx)begin-end-check.out): Likewise.
5245 * Makerules (check-abi-%.out): Likewise.
5246 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
5247 ($(objpfx)test2.cat): Likewise.
5248 ($(objpfx)de/libc.cat): Likewise.
5249 ($(objpfx)test-gencat.out): Likewise.
5250 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
5251 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
5252 ($(objpfx)noload-mem): Likewise.
5253 ($(objpfx)tst-pathopt.out): Likewise.
5254 ($(objpfx)tst-rtld-load-self.out): Likewise.
5255 ($(objpfx)tst-array1-cmp.out): Likewise.
5256 ($(objpfx)tst-array1-static-cmp.out): Likewise.
5257 ($(objpfx)tst-array2-cmp.out): Likewise.
5258 ($(objpfx)tst-array3-cmp.out): Likewise.
5259 ($(objpfx)tst-array4-cmp.out): Likewise.
5260 ($(objpfx)tst-array5-cmp.out): Likewise.
5261 ($(objpfx)tst-array5-static-cmp.out): Likewise.
5262 ($(objpfx)check-textrel.out): Likewise.
5263 ($(objpfx)check-execstack.out): Likewise.
5264 ($(objpfx)check-localplt.out): Likewise.
5265 ($(objpfx)order2-cmp.out): Likewise.
5266 ($(objpfx)tst-leaks1-mem): Likewise.
5267 ($(objpfx)tst-leaks1-static-mem): Likewise.
5268 ($(objpfx)tst-initorder-cmp.out): Likewise.
5269 ($(objpfx)tst-initorder2-cmp.out): Likewise.
5270 ($(objpfx)tst-unused-dep.out): Likewise.
5271 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
5272 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
5273 * iconv/Makefile (test-iconvconfig): Likewise.
5274 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
5275 ($(objpfx)iconv-test.out): Likewise.
5276 ($(objpfx)tst-tables.out): Likewise.
5277 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
5278 ($(objpfx)tst-gettext.out): Likewise.
5279 ($(objpfx)tst-translit.out): Likewise.
5280 ($(objpfx)tst-gettext2.out): Likewise.
5281 ($(objpfx)tst-gettext4.out): Likewise.
5282 ($(objpfx)tst-gettext6.out): Likewise.
5283 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
5284 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
5285 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
5286 ($(objpfx)tst-fopenloc-mem.out): Likewise.
5287 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
5288 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
5289 * posix/Makefile ($(objpfx)globtest.out): Likewise.
5290 ($(objpfx)wordexp-tst.out): Likewise.
5291 ($(objpfx)annexc.out): Likewise.
5292 ($(objpfx)tst-fnmatch-mem): Likewise.
5293 ($(objpfx)bug-regex2-mem): Likewise.
5294 ($(objpfx)bug-regex14-mem): Likewise.
5295 ($(objpfx)bug-regex21-mem): Likewise.
5296 ($(objpfx)bug-regex31-mem): Likewise.
5297 ($(objpfx)tst-vfork3-mem): Likewise.
5298 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
5299 ($(objpfx)tst-pcre-mem): Likewise.
5300 ($(objpfx)tst-boost-mem): Likewise.
5301 ($(objpfx)tst-getconf.out): Likewise.
5302 ($(objpfx)bug-ga2-mem): Likewise.
5303 ($(objpfx)bug-glob2-mem): Likewise.
5304 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
5305 ($(objpfx)mtrace-tst-leaks2): Likewise.
5306 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
5307 ($(objpfx)tst-printf.out): Likewise.
5308 ($(objpfx)tst-setvbuf1.out): Likewise.
5309 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
5310 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
5311 ($(objpfx)tst-fmtmsg.out): Likewise.
5312 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
5313 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
5315 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
5316 * bits/sigaction.h [__USE_MISC]: Likewise.
5317 * bits/waitstatus.h: Update #endif comments.
5318 * ctype/ctype.h: Likewise.
5319 * dirent/dirent.h: Likewise.
5320 [__USE_MISC]: Remove redundant conditionals.
5321 * grp/grp.h: Update #endif comments.
5322 [__USE_GNU]: Remove redundant conditionals.
5323 [__USE_MISC]: Likewise.
5324 * inet/netinet/in.h [__USE_GNU]: Likewise.
5325 * io/sys/stat.h [__USE_MISC]: Likewise.
5326 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
5327 * libio/bits/stdio.h: Update #endif comments.
5328 [__USE_MISC]: Remove redundant conditionals.
5329 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
5330 * libio/stdio.h: Update #endif comments.
5331 [__USE_MISC]: Remove redundant conditionals.
5332 * math/bits/math-finite.h [__USE_MISC]: Likewise.
5333 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
5334 * math/math.h: Update #else and #endif comments.
5335 [__USE_MISC]: Remove redundant conditionals.
5336 * misc/sys/uio.h: Update #endif comments.
5337 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
5338 * posix/glob.h [__USE_MISC]: Likewise.
5339 * posix/sys/types.h: Update #endif comments.
5340 [__USE_MISC]: Remove redundant conditionals.
5341 * posix/sys/wait.h: Update #endif comments.
5342 [__USE_MISC]: Remove redundant conditionals.
5343 * posix/unistd.h: Update #endif comments.
5344 [__USE_MISC]: Remove redundant conditionals.
5345 * pwd/pwd.h [__USE_GNU]: Likewise.
5346 [__USE_MISC]: Likewise.
5347 * resolv/netdb.h [__USE_GNU]: Likewise.
5348 * signal/signal.h: Update #endif comments.
5349 [__USE_MISC]: Remove redundant conditionals.
5350 * stdlib/stdlib.h: Update #else and #endif comments.
5351 [__USE_MISC]: Remove redundant conditionals.
5352 [__USE_GNU]: Likewise.
5353 * string/bits/string2.h [__USE_MISC]: Likewise.
5354 * string/string.h: Update #endif comments.
5355 [__USE_MISC]: Remove redundant conditionals.
5356 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
5358 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
5359 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
5360 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
5362 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
5364 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
5366 [__USE_MISC]: Remove redundant conditionals.
5367 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
5368 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
5369 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
5370 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
5371 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
5373 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
5374 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
5376 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
5377 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
5379 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
5381 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
5382 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
5384 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
5386 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
5387 * sysdeps/x86/bits/string.h: Update #endif comments.
5388 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
5390 * time/sys/time.h: Update #endif comments.
5391 * time/time.h: Likewise.
5392 [__USE_MISC]: Remove redundant conditionals.
5394 2014-02-21 Yury Gribov <y.gribov@samsung.com>
5397 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
5399 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
5401 * Versions.def (librt): Add GLIBC_2.17.
5403 2014-02-21 Adam Conrad <adconrad@0c3.net>
5405 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
5406 synonym for _SYS_AUXV_H to allow direct inclusion.
5407 * sysdeps/sparc/bits/hwcap.h: Likewise.
5408 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
5409 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
5410 * sysdeps/sparc/sysdep.h: Likewise.
5412 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5414 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
5416 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5418 * benchtests/bench-strrchr.c: Print length instead of position.
5420 2014-02-20 Joseph Myers <joseph@codesourcery.com>
5423 * sysdeps/unix/sysv/linux/kernel-features.h
5424 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
5425 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
5426 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
5427 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
5429 [__i386__ || __powerpc__ || __sh__ || __sparc__]
5430 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5431 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
5432 (__ASSUME_SENDMMSG): Define instead of using previous
5433 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
5434 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5435 (__ASSUME_SENDMMSG_SYSCALL): Define.
5436 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5437 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
5439 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5440 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5442 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5443 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5445 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
5446 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
5447 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
5448 [__ASSUME_SENDMMSG]: Change conditionals to
5449 [__ASSUME_SENDMMSG_SOCKETCALL].
5450 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5451 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
5453 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5454 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
5456 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
5457 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
5458 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
5459 [!__ASSUME_SENDMMSG]: Change conditional to
5460 [!__ASSUME_SENDMMSG_SOCKETCALL].
5461 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5462 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5466 * sysdeps/unix/sysv/linux/kernel-features.h
5467 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
5468 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
5469 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
5470 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
5471 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5472 [__i386__ || __sparc__]
5473 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5474 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
5475 (__ASSUME_RECVMMSG): Define instead of using previous
5476 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
5477 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5478 (__ASSUME_RECVMMSG_SYSCALL): Define.
5479 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5480 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5482 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5483 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5485 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5486 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5488 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
5489 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
5490 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
5491 [__ASSUME_RECVMMSG]: Change condition to
5492 [__ASSUME_RECVMMSG_SOCKETCALL].
5493 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5494 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5496 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5497 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5498 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5500 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
5501 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
5502 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
5503 [!__ASSUME_RECVMMSG]: Change condition to
5504 [!__ASSUME_RECVMMSG_SOCKETCALL].
5505 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5506 (__ASSUME_RECVMMSG_SYSCALL): Define.
5509 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
5510 __powerpc__ || __s390__ || __sh__ || __sparc__]
5511 (__ASSUME_SOCKETCALL): Define.
5512 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
5513 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
5514 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
5515 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
5516 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5517 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
5518 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
5519 (__ASSUME_ACCEPT4): Define instead of using previous
5520 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
5521 __powerpc__ || __sparc__ || __s390__)] condition.
5522 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5523 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
5524 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
5525 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
5526 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
5527 [!__ASSUME_ACCEPT4]: Change condition to
5528 [!__ASSUME_ACCEPT4_SOCKETCALL].
5529 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5530 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
5531 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
5532 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5533 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
5534 __ASSUME_ACCEPT4_SYSCALL.
5535 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
5536 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
5537 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5538 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
5539 __ASSUME_ACCEPT4_SYSCALL.
5540 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
5541 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
5542 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
5543 [__ASSUME_ACCEPT4]: Change condition to
5544 [__ASSUME_ACCEPT4_SOCKETCALL].
5545 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5546 (__ASSUME_SOCKETCALL): Define.
5547 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
5548 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5549 (__ASSUME_SOCKETCALL): Define.
5550 (__ASSUME_ACCEPT4): Remove.
5551 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
5553 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5554 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
5556 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5557 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
5559 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
5561 (HWCAP_ARM_LPAE): Likewise.
5562 (HWCAP_ARM_EVTSTRM): Likewise.
5563 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
5564 Add vpfd32, lpae and evtstrm.
5565 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
5568 2014-02-19 Joseph Myers <joseph@codesourcery.com>
5570 * math/auto-libm-test-in: Add tests of clog10.
5571 * math/auto-libm-test-out: Regenerated.
5572 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
5573 * sysdeps/i386/fpu/libm-test-ulps: Update.
5574 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5576 2014-02-18 Andreas Schwab <schwab@suse.de>
5579 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
5580 Store non-zero if the second buffer was newly allocated.
5581 (send_dg): Likewise.
5582 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
5583 to send_vc and send_dg.
5584 (res_nsend): Pass NULL for ansp2_malloced.
5585 * resolv/res_query.c (__libc_res_nquery): Add parameter
5586 answerp2_malloced and pass it down to __libc_res_nsend.
5587 (res_nquery): Pass additional NULL to __libc_res_nquery.
5588 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
5589 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
5590 second answer buffer if answerp2_malloced was set.
5591 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
5592 (__libc_res_nquerydomain): Add parameter
5593 answerp2_malloced and pass it down to __libc_res_nquery.
5594 (res_nquerydomain): Pass additional NULL to
5595 __libc_res_nquerydomain.
5596 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
5597 additional NULL to __libc_res_nsend and __libc_res_nquery.
5598 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
5599 additional NULL to __libc_res_nsearch.
5600 (_nss_dns_gethostbyname4_r): Revert last change. Use new
5601 parameter of __libc_res_nsearch to check for separately allocated
5603 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
5605 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
5606 additional NULL to __libc_res_nquery.
5607 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
5609 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
5610 * include/resolv.h: Update prototypes of __libc_res_nquery,
5611 __libc_res_nsearch, __libc_res_nsend.
5613 2014-02-18 Joseph Myers <joseph@codesourcery.com>
5615 * math/auto-libm-test-in: Add tests of fma.
5616 * math/auto-libm-test-out: Regenerated.
5617 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
5618 (fma_towardzero_test_data): Likewise.
5619 (fma_downward_test_data): Likewise.
5620 (fma_upward_test_data): Likewise.
5621 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
5623 (rounding_modes): Add values for new field.
5624 (func_calc_method): Add value mpfr_fff_f.
5625 (func_calc_desc): Add mpfr_fff_f union field.
5626 (test_function): Add field exact_args.
5627 (FUNC): Add macro argument EXACT_ARGS.
5628 (FUNC_mpfr_f_f): Update call to FUNC.
5629 (FUNC_mpfr_f_f): Likewise.
5630 (FUNC_mpfr_ff_f): Likewise.
5631 (FUNC_mpfr_if_f): Likewise.
5632 (FUNC_mpc_c_f): Likewise.
5633 (FUNC_mpc_c_c): Likewise.
5634 (test_functions): Add fma. Update calls to FUNC.
5635 (handle_input_arg): Add argument exact_args.
5636 (add_test): Update call to handle_input_arg.
5637 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
5638 (output_for_one_input_case): Update call to calc_generic_results.
5639 Recalculate exact zero results in each rounding mode.
5641 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
5642 non-negative before setting low bit.
5643 * math/auto-libm-test-in: Mark one asin test possibly having
5645 * math/auto-libm-test-out: Regenerated.
5646 * sysdeps/i386/fpu/libm-test-ulps: Update.
5647 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5649 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
5651 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
5652 * sysdeps/unix/sysv/linux/microblaze: Move directory from
5653 ports/sysdeps/unix/sysv/linux/microblaze.
5654 * README: Add missing listing for microblaze*-*-linux-gnu.
5656 2014-02-16 Mike Frysinger <vapier@gentoo.org>
5658 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
5659 * sysdeps/unix/sysv/linux/ia64: Move directory from
5660 ports/sysdeps/unix/sysv/linux/ia64.
5661 * README: Update listing for ia64-*-linux-gnu.
5663 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
5664 Joseph Myers <joseph@codesourcery.com>
5666 * Makeconfig (test-name): New variable.
5667 (evaluate-test): Likewise.
5668 * Makerules (do-test-clean): Remove .test-result files.
5669 (common-mostlyclean): Likewise.
5670 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
5671 * scripts/evaluate-test.sh: New file.
5673 2014-02-14 Joseph Myers <joseph@codesourcery.com>
5675 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
5676 separate $(objpfx)tst-fopenloc-cmp.out and
5677 $(objpfx)tst-fopenloc-mem.out targets.
5678 (tests): Update dependencies.
5679 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
5680 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
5681 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
5682 (tst-rxspencer-no-utf8-ARGS): New variable.
5683 (tst-rxspencer-no-utf8-ENV): Likewise.
5684 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
5685 instead of $(objpfx)tst-rxspencer-mem.
5686 ($(objpfx)tst-rxspencer-mem): Change target to
5687 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
5688 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
5689 * posix/tst-rxspencer-no-utf8.c: New file.
5691 * elf/Makefile ($(objpfx)order.out): Remove rule.
5692 [$(run-built-tests) = yes] (tests): Depend on
5693 $(objpfx)order-cmp.out.
5694 ($(objpfx)order-cmp.out): New rule.
5695 [$(run-built-tests) = yes] (tests): Depend on
5696 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
5697 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
5698 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
5699 $(objpfx)tst-array5-static-cmp.out.
5700 ($(objpfx)tst-array1.out): Remove rule.
5701 ($(objpfx)tst-array1-cmp.out): New rule.
5702 ($(objpfx)tst-array1-static.out): Remove rule.
5703 ($(objpfx)tst-array1-static-cmp.out): New rule.
5704 ($(objpfx)tst-array2.out): Remove rule.
5705 ($(objpfx)tst-array2-cmp.out): New rule.
5706 ($(objpfx)tst-array3.out): Remove rule.
5707 ($(objpfx)tst-array3-cmp.out): New rule.
5708 ($(objpfx)tst-array4.out): Remove rule.
5709 ($(objpfx)tst-array4-cmp.out): New rule.
5710 ($(objpfx)tst-array5.out): Remove rule.
5711 ($(objpfx)tst-array5-cmp.out): New rule.
5712 ($(objpfx)tst-array5-static.out): Remove rule.
5713 ($(objpfx)tst-array5-static-cmp.out): New rule.
5714 [$(run-built-tests) = yes] (tests): Depend on
5715 $(objpfx)order2-cmp.out.
5716 ($(objpfx)order2.out): Remove rule.
5717 ($(objpfx)order2-cmp.out): New rule.
5718 ($(objpfx)tst-initorder.out): Remove rule.
5719 [$(run-built-tests) = yes] (tests): Depend on
5720 $(objpfx)tst-initorder-cmp.out.
5721 ($(objpfx)tst-initorder-cmp.out): New rule.
5722 ($(objpfx)tst-initorder2.out): Remove rule.
5723 [$(run-built-tests) = yes] (tests): Depend on
5724 $(objpfx)tst-initorder2-cmp.out.
5725 ($(objpfx)tst-initorder2-cmp.out): New rule.
5726 [$(run-built-tests) = yes] (tests): Depend on
5727 $(objpfx)tst-unused-dep-cmp.out.
5728 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
5729 ($(objpfx)tst-unused-dep-cmp.out): New rule.
5730 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
5731 on $(objpfx)tst-setvbuf1-cmp.out.
5732 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
5733 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
5734 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
5735 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
5736 ($(objpfx)tst-svc.out): Remove rule.
5737 ($(objpfx)tst-svc-cmp.out): New rule.
5739 2014-02-13 Joseph Myers <joseph@codesourcery.com>
5741 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
5742 * ctype/ctype.h [__USE_MISC]: Likewise.
5743 * dirent/dirent.h [__USE_MISC]: Likewise.
5744 * grp/grp.h [__USE_MISC]: Likewise.
5745 * io/fcntl.h [__USE_MISC]: Likewise.
5746 * io/sys/stat.h [__USE_MISC]: Likewise.
5747 * libio/stdio.h [__USE_MISC]: Likewise.
5748 * posix/unistd.h [__USE_MISC]: Likewise.
5749 * pwd/pwd.h [__USE_MISC]: Likewise.
5750 * stdlib.h [__USE_MISC]: Likewise.
5751 * string/bits/string2.h [__USE_MISC]: Likewise.
5752 * string/string.h [__USE_MISC]: Likewise.
5753 * time/time.h [__USE_MISC]: Likewise.
5755 2014-02-13 Andreas Schwab <schwab@suse.de>
5758 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
5759 second answer buffer if it was separately allocated.
5761 2014-02-12 Joseph Myers <joseph@codesourcery.com>
5763 * sysdeps/mips/math-tests.h: Include <features.h>.
5764 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
5765 (ROUNDING_TESTS_long_double): Do not define.
5766 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
5767 (EXCEPTION_TESTS_long_double): Likewise.
5768 * sysdeps/mips/mips64/libm-test-ulps: Update.
5770 * include/features.h (__USE_BSD): Remove macro definitions.
5771 (__USE_SVID): Likewise.
5772 (_BSD_SOURCE): Likewise.
5773 (_SVID_SOURCE): Likewise.
5774 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
5775 from definition of _DEFAULT_SOURCE.
5776 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
5778 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
5779 * bits/mman.h [__USE_BSD]: Likewise.
5780 * bits/termios.h [__USE_BSD]: Likewise.
5781 * bits/waitstatus.h [__USE_BSD]: Likewise.
5782 * ctype/ctype.h [__USE_SVID]: Likewise.
5783 * dirent/dirent.h [__USE_BSD]: Likewise.
5784 * grp/grp.h [__USE_SVID]: Likewise.
5785 [__USE_BSD]: Likewise.
5786 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
5787 * io/fcntl.h [__USE_BSD]: Likewise.
5788 * io/ftw.h [__USE_BSD]: Likewise.
5789 * io/sys/stat.h [__USE_BSD]: Likewise.
5790 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
5791 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
5792 * libio/stdio.h [__USE_SVID]: Likewise.
5793 [__USE_BSD]: Likewise.
5794 * math/math.h [__USE_SVID]: Likewise.
5795 [__USE_BSD]: Likewise.
5796 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
5797 * misc/bits/syslog.h [__USE_BSD]: Likewise.
5798 * misc/search.h [__USE_SVID]: Likewise.
5799 * misc/sys/mman.h [__USE_BSD]: Likewise.
5800 * misc/sys/syslog.h [__USE_BSD]: Likewise.
5801 * misc/sys/uio.h [__USE_BSD]: Likewise.
5802 * posix/bits/unistd.h [__USE_BSD]: Likewise.
5803 * posix/glob.h [__USE_BSD]: Likewise.
5804 * posix/regex.h [__USE_BSD]: Likewise.
5805 * posix/sys/types.h [__USE_BSD]: Likewise.
5806 [__USE_SVID]: Likewise.
5807 * posix/sys/utsname.h [__USE_SVID]: Likewise.
5808 * posix/sys/wait.h [__USE_BSD]: Likewise.
5809 [__USE_SVID]: Likewise.
5810 * posix/unistd.h [__USE_BSD]: Likewise.
5811 [__USE_SVID]: Likewise.
5812 * pwd/pwd.h [__USE_SVID]: Likewise.
5813 * resolv/netdb.h [__USE_BSD]: Likewise.
5814 * setjmp/setjmp.h [__USE_BSD]: Likewise.
5815 * signal/signal.h [__USE_BSD]: Likewise.
5816 [__USE_SVID]: Likewise.
5817 * socket/sys/socket.h [__USE_BSD]: Likewise.
5818 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
5819 * stdlib/stdlib.h [__USE_BSD]: Likewise.
5820 [__USE_SVID]: Likewise.
5821 * string/bits/string2.h [__USE_BSD]: Likewise.
5822 [__USE_SVID]: Likewise.
5823 * string/bits/string3.h [__USE_BSD]: Likewise.
5824 * string/endian.h [__USE_BSD]: Likewise.
5825 * string/string.h [__USE_SVID]: Likewise.
5826 [__USE_BSD]: Likewise.
5827 * string/strings.h [__USE_BSD]: Likewise.
5828 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
5829 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
5830 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
5831 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
5832 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
5833 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
5835 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
5837 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
5838 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
5840 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
5841 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
5843 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
5845 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
5846 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
5847 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
5849 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
5851 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
5852 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
5853 * termios/termios.h [__USE_BSD]: Likewise.
5854 * time/sys/time.h [__USE_BSD]: Likewise.
5855 * time/time.h [__USE_BSD]: Likewise.
5856 [__USE_SVID]: Likewise.
5858 * Makefile (subdir_targets): Remove subdir_lint.out.
5860 * stdio-common/Makefile (do-tst-unbputc): Remove target.
5861 (do-tst-printf): Likewise.
5862 (tests): Depend directly on $(objpfx)tst-unbputc.out and
5863 $(objpfx)tst-printf.out.
5865 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
5867 * Makerules (check-abi-%): Change target to
5868 $(objpfx)check-abi-%.out.
5869 (check-abi target): Update dependencies.
5870 (check-abi-pattern variable): Redirect output of diff to $@.
5871 (check-abi variable): Likewise.
5872 * elf/Makefile (check-abi): Update dependencies.
5874 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
5876 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
5877 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
5879 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
5880 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
5881 value has largest subnormal exponent.
5882 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
5883 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
5884 * sysdeps/aarch64/soft-fp/sfp-machine.h
5885 (_FP_TININESS_AFTER_ROUNDING): New macro.
5886 * sysdeps/alpha/soft-fp/sfp-machine.h
5887 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5888 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5890 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
5891 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5892 * sysdeps/mips/soft-fp/sfp-machine.h
5893 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5894 * sysdeps/powerpc/soft-fp/sfp-machine.h
5895 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5896 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5898 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
5899 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5900 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
5901 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5902 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5905 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
5908 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
5911 2014-02-12 Richard Henderson <rth@redhat.com>
5913 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
5914 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
5915 * sysdeps/unix/sysv/linux/alpha: Move directory from
5916 ports/sysdeps/unix/sysv/linux/alpha.
5917 * README: Update listing for alpha-*-linux-gnu.
5919 2014-02-11 Joseph Myers <joseph@codesourcery.com>
5921 * include/features.h: Update comment documenting feature test
5923 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
5925 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
5926 (_SVID_SOURCE): Likewise.
5927 (_DEFAULT_SOURCE): Update description of default features.
5928 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
5930 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
5931 (S_ISVTX): Likewise.
5932 * manual/math.texi (Mathematical Constants): Likewise.
5933 * manual/signal.texi (Interrupted Primitives): Likewise.
5934 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
5935 * math/test-matherr.c (_SVID_SOURCE): Do not define.
5936 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
5937 Don't refer to _SVID_SOURCE in warning text.
5939 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5941 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
5943 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
5944 * sysdeps/mips/dl-lookup.c: Remove.
5945 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
5947 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
5950 * math/auto-libm-test-in: Add testcase for expl.
5951 * math/auto-libm-test-out: Regenerate.
5952 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
5953 calculation of unsafe.
5954 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
5956 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
5958 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
5959 * sysdeps/unix/sysv/linux/aarch64: Move directory from
5960 ports/sysdeps/unix/sysv/linux/aarch64.
5961 * README: Update listing for aarch64*-*-linux-gnu.
5963 2014-02-11 Will Newton <will.newton@linaro.org>
5965 * manual/probes.texi (Mathematical Function Probes): Use
5966 "triggered" instead of "hit".
5968 * manual/probes.texi (Internal Probes): Add documentation
5969 of setjmp, longjmp and longjmp_target probes.
5971 * include/stap-probe.h: Add comment about probe argument
5974 * malloc/mtrace.c (attribute_hidden): Remove unused macro
5975 definition. (tr_where, tr_freehook, tr_mallochook,
5976 tr_reallochook, tr_memalignhook): Use ANSI protoype.
5978 2014-02-11 David S. Miller <davem@davemloft.net>
5980 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
5981 processing int_tests.
5983 2014-02-10 Joseph Myers <joseph@codesourcery.com>
5985 * sysdeps/mips: Move directory from ports/sysdeps/mips.
5986 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
5987 * sysdeps/unix/sysv/linux/mips: Move directory from
5988 ports/sysdeps/unix/sysv/linux/mips.
5989 * README: Update listing for mips-*-linux-gnu and
5992 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
5994 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
5995 * sysdeps/unix/sysv/linux/m68k: Move directory from
5996 ports/sysdeps/unix/sysv/linux/m68k.
5997 * README: Update listing for m68k-*-linux-gnu.
5999 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
6001 * sysdeps/tile: Move directory from ports/sysdeps/tile.
6002 * sysdeps/unix/sysv/linux/generic: Move directory from
6003 ports/sysdeps/unix/sysv/linux/generic.
6004 * sysdeps/unix/sysv/linux/tile: Move directory from
6005 ports/sysdeps/unix/sysv/linux/tile.
6006 * README: Update listing for tile*-*-linux-gnu.
6008 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
6010 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
6012 * benchtests/bench-memmem.c (simple_memmem): Likewise.
6013 * catgets/open_catalog.c (__open_catalog): Likewise.
6014 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
6015 * debug/confstr_chk.c: Likewise.
6016 * debug/fread_chk.c (__fread_chk): Likewise.
6017 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
6018 * debug/getgroups_chk.c: Likewise.
6019 * debug/mbsnrtowcs_chk.c: Likewise.
6020 * debug/mbsrtowcs_chk.c: Likewise.
6021 * debug/mbstowcs_chk.c: Likewise.
6022 * debug/memcpy_chk.c: Likewise.
6023 * debug/memmove_chk.c: Likewise.
6024 * debug/mempcpy_chk.c: Likewise.
6025 * debug/memset_chk.c: Likewise.
6026 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
6027 * debug/strcat_chk.c (__strcat_chk): Likewise.
6028 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
6029 * debug/strncat_chk.c (__strncat_chk): Likewise.
6030 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
6031 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
6032 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
6033 * debug/wcpncpy_chk.c: Likewise.
6034 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
6035 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
6036 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
6037 * debug/wcsncpy_chk.c: Likewise.
6038 * debug/wcsnrtombs_chk.c: Likewise.
6039 * debug/wcsrtombs_chk.c: Likewise.
6040 * debug/wcstombs_chk.c: Likewise.
6041 * debug/wmemcpy_chk.c: Likewise.
6042 * debug/wmemmove_chk.c: Likewise.
6043 * debug/wmempcpy_chk.c: Likewise.
6044 * debug/wmemset_chk.c: Likewise.
6045 * dirent/scandirat.c (SCANDIRAT): Likewise.
6046 * dlfcn/dladdr1.c (dladdr1): Likewise.
6047 * dlfcn/dladdr.c (dladdr): Likewise.
6048 * dlfcn/dlclose.c (dlclose_doit): Likewise.
6049 * dlfcn/dlerror.c (__dlerror): Likewise.
6050 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
6051 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
6052 * dlfcn/dlopen.c (dlopen_doit): Likewise.
6053 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
6054 * dlfcn/dlsym.c (dlsym_doit): Likewise.
6055 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
6056 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
6057 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
6059 * elf/dl-conflict.c: Likewise.
6060 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
6061 * elf/dl-dst.h: Likewise.
6062 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
6063 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
6064 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
6065 * elf/dl-init.c (call_init, _dl_init): Likewise.
6066 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
6067 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
6068 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
6070 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
6072 * elf/dl-minimal.c (__libc_memalign): Likewise.
6073 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
6074 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
6075 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
6076 * elf/dl-sym.c (do_sym): Likewise.
6077 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
6078 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
6079 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
6080 * elf/dl-writev.h (_dl_writev): Likewise.
6081 * elf/ldconfig.c (search_dir): Likewise.
6082 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
6083 (dl_main): Likewise.
6084 * elf/setup-vdso.h (setup_vdso): Likewise.
6085 * grp/compat-initgroups.c (compat_call): Likewise.
6086 * grp/fgetgrent.c (fgetgrent): Likewise.
6087 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
6088 * grp/putgrent.c (putgrent): Likewise.
6089 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
6091 * hurd/hurdinit.c: Likewise.
6092 * iconvdata/8bit-gap.c (struct): Likewise.
6093 * iconvdata/ansi_x3.110.c : Likewise.
6094 * iconvdata/big5.c : Likewise.
6095 * iconvdata/big5hkscs.c : Likewise.
6096 * iconvdata/cp1255.c: Likewise.
6097 * iconvdata/cp1258.c : Likewise.
6098 * iconvdata/cp932.c : Likewise.
6099 * iconvdata/euc-cn.c: Likewise.
6100 * iconvdata/euc-jisx0213.c : Likewise.
6101 * iconvdata/euc-jp.c: Likewise.
6102 * iconvdata/euc-jp-ms.c : Likewise.
6103 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
6104 * iconvdata/gb18030.c : Likewise.
6105 * iconvdata/gbbig5.c (const): Likewise.
6106 * iconvdata/gbgbk.c: Likewise.
6107 * iconvdata/gbk.c : Likewise.
6108 * iconvdata/ibm1364.c : Likewise.
6109 * iconvdata/ibm930.c : Likewise.
6110 * iconvdata/ibm932.c: Likewise.
6111 * iconvdata/ibm933.c : Likewise.
6112 * iconvdata/ibm935.c : Likewise.
6113 * iconvdata/ibm937.c : Likewise.
6114 * iconvdata/ibm939.c : Likewise.
6115 * iconvdata/ibm943.c: Likewise.
6116 * iconvdata/iso_11548-1.c: Likewise.
6117 * iconvdata/iso-2022-cn.c : Likewise.
6118 * iconvdata/iso-2022-cn-ext.c : Likewise.
6119 * iconvdata/iso-2022-jp-3.c: Likewise.
6120 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
6121 * iconvdata/iso-2022-kr.c : Likewise.
6122 * iconvdata/iso646.c (gconv_end): Likewise.
6123 * iconvdata/iso_6937-2.c : Likewise.
6124 * iconvdata/iso_6937.c : Likewise.
6125 * iconvdata/iso8859-1.c: Likewise.
6126 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
6127 * iconvdata/shift_jisx0213.c : Likewise.
6128 * iconvdata/sjis.c : Likewise.
6129 * iconvdata/t.61.c : Likewise.
6130 * iconvdata/tcvn5712-1.c : Likewise.
6131 * iconvdata/tscii.c: Likewise.
6132 * iconvdata/uhc.c : Likewise.
6133 * iconvdata/unicode.c (gconv_end): Likewise.
6134 * iconvdata/utf-16.c (gconv_end): Likewise.
6135 * iconvdata/utf-32.c (gconv_end): Likewise.
6136 * iconvdata/utf-7.c (base64): Likewise.
6137 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
6138 * iconv/gconv_close.c (__gconv_close): Likewise.
6139 * iconv/gconv_open.c (__gconv_open): Likewise.
6140 * iconv/gconv_simple.c (internal_ucs4_loop_single)
6141 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
6142 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
6143 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
6144 (ucs4le_internal_loop_single): Likewise.
6145 * iconv/iconv.c (iconv): Likewise.
6146 * iconv/iconv_close.c: Likewise.
6147 * iconv/loop.c (SINGLE): Likewise.
6148 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
6149 * include/atomic.h: Likewise.
6150 * inet/inet6_option.c (option_alloc): Likewise.
6151 * intl/bindtextdom.c (set_binding_values): Likewise.
6152 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
6153 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
6154 * intl/localealias.c (read_alias_file): Likewise.
6155 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
6156 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
6157 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
6158 * libio/fmemopen.c (fmemopen): Likewise.
6159 * libio/iofgets.c (_IO_fgets): Likewise.
6160 * libio/iofgets_u.c (fgets_unlocked): Likewise.
6161 * libio/iofgetws.c (fgetws): Likewise.
6162 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
6163 * libio/iogetdelim.c (_IO_getdelim): Likewise.
6164 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
6165 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
6166 * locale/findlocale.c (_nl_find_locale): Likewise.
6167 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
6168 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
6170 * locale/setlocale.c (setlocale): Likewise.
6171 * login/programs/pt_chown.c (main): Likewise.
6172 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
6173 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
6174 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
6175 (mmap, mmap64, mremap, munmap): Likewise.
6176 * math/e_exp2l.c: Likewise.
6177 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
6178 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
6179 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
6180 * math/s_catan.c (__catan): Likewise.
6181 * math/s_catanf.c (__catanf): Likewise.
6182 * math/s_catanh.c (__catanh): Likewise.
6183 * math/s_catanhf.c (__catanhf): Likewise.
6184 * math/s_catanhl.c (__catanhl): Likewise.
6185 * math/s_catanl.c (__catanl): Likewise.
6186 * math/s_ccosh.c (__ccosh): Likewise.
6187 * math/s_ccoshf.c (__ccoshf): Likewise.
6188 * math/s_ccoshl.c (__ccoshl): Likewise.
6189 * math/s_cexp.c (__cexp): Likewise.
6190 * math/s_cexpf.c (__cexpf): Likewise.
6191 * math/s_cexpl.c (__cexpl): Likewise.
6192 * math/s_clog10.c (__clog10): Likewise.
6193 * math/s_clog10f.c (__clog10f): Likewise.
6194 * math/s_clog10l.c (__clog10l): Likewise.
6195 * math/s_clog.c (__clog): Likewise.
6196 * math/s_clogf.c (__clogf): Likewise.
6197 * math/s_clogl.c (__clogl): Likewise.
6198 * math/s_csin.c (__csin): Likewise.
6199 * math/s_csinf.c (__csinf): Likewise.
6200 * math/s_csinh.c (__csinh): Likewise.
6201 * math/s_csinhf.c (__csinhf): Likewise.
6202 * math/s_csinhl.c (__csinhl): Likewise.
6203 * math/s_csinl.c (__csinl): Likewise.
6204 * math/s_csqrt.c (__csqrt): Likewise.
6205 * math/s_csqrtf.c (__csqrtf): Likewise.
6206 * math/s_csqrtl.c (__csqrtl): Likewise.
6207 * math/s_ctan.c (__ctan): Likewise.
6208 * math/s_ctanf.c (__ctanf): Likewise.
6209 * math/s_ctanh.c (__ctanh): Likewise.
6210 * math/s_ctanhf.c (__ctanhf): Likewise.
6211 * math/s_ctanhl.c (__ctanhl): Likewise.
6212 * math/s_ctanl.c (__ctanl): Likewise.
6213 * math/w_pow.c: Likewise.
6214 * math/w_powf.c: Likewise.
6215 * math/w_powl.c: Likewise.
6216 * math/w_scalb.c (sysv_scalb): Likewise.
6217 * math/w_scalbf.c (sysv_scalbf): Likewise.
6218 * math/w_scalbl.c (sysv_scalbl): Likewise.
6219 * misc/error.c (error_tail): Likewise.
6220 * misc/pselect.c (__pselect): Likewise.
6221 * nis/nis_callback.c (__nis_create_callback): Likewise.
6222 * nis/nis_call.c (__nisfind_server): Likewise.
6223 * nis/nis_creategroup.c (nis_creategroup): Likewise.
6224 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
6225 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
6226 * nis/nis_getservlist.c (nis_getservlist): Likewise.
6227 * nis/nis_lookup.c (nis_lookup): Likewise.
6228 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
6229 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
6230 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
6231 * nis/nis_xdr.c (xdr_endpoint): Likewise.
6232 * nis/nss_compat/compat-grp.c (getgrent_next_file)
6233 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
6234 * nis/nss_compat/compat-initgroups.c (add_group)
6235 (internal_getgrent_r): Likewise.
6236 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
6237 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
6238 * nis/nss_compat/compat-spwd.c (getspent_next_file)
6239 (internal_getspnam_r): Likewise.
6240 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
6241 (_nss_nis_getaliasbyname_r): Likewise.
6242 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
6243 (_nss_nis_getntohost_r): Likewise.
6244 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
6245 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
6246 (_nss_nis_getgrgid_r): Likewise.
6247 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
6248 (internal_nis_gethostent_r, internal_gethostbyname2_r)
6249 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
6250 (_nss_nis_gethostbyname4_r): Likewise.
6251 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
6252 (initgroups_netid): Likewise.
6253 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
6254 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
6255 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
6256 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
6257 (_nss_nis_getprotobynumber_r): Likewise.
6258 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
6259 (_nss_nis_getsecretkey): Likewise.
6260 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
6261 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
6262 (_nss_nis_getpwuid_r): Likewise.
6263 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
6264 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
6265 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
6266 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
6267 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
6268 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
6269 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
6271 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
6272 (_nss_nisplus_getntohost_r): Likewise.
6273 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
6274 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
6275 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
6276 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
6278 * nis/nss_nisplus/nisplus-initgroups.c
6279 (_nss_nisplus_initgroups_dyn): Likewise.
6280 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
6281 (_nss_nisplus_getnetbyaddr_r): Likewise.
6282 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
6283 (_nss_nisplus_getprotobynumber_r): Likewise.
6284 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
6285 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
6286 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
6288 * nis/nss_nisplus/nisplus-service.c
6289 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
6290 (_nss_nisplus_getservbyport_r): Likewise.
6291 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
6292 (_nss_nisplus_getspnam_r): Likewise.
6293 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
6295 * nscd/aicache.c (addhstaiX): Likewise.
6296 * nscd/cache.c (cache_search, prune_cache): Likewise.
6297 * nscd/connections.c (register_traced_file, send_ro_fd)
6298 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
6299 (main_loop_epoll): Likewise.
6300 * nscd/grpcache.c (addgrbyX): Likewise.
6301 * nscd/hstcache.c (addhstbyX): Likewise.
6302 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6303 * nscd/mem.c (gc, mempool_alloc): Likewise.
6304 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
6305 (addinnetgrX): Likewise.
6306 * nscd/nscd-client.h (__nscd_acquire_maplock)
6307 (__nscd_drop_map_ref): Likewise.
6308 * nscd/nscd_getai.c (__nscd_getai): Likewise.
6309 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
6310 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
6312 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
6313 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
6314 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
6315 (__nscd_get_map_ref): Likewise.
6316 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
6317 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
6319 * nscd/pwdcache.c (addpwbyX): Likewise.
6320 * nscd/selinux.c (preserve_capabilities): Likewise.
6321 * nscd/servicescache.c (addservbyX): Likewise.
6322 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
6323 * posix/fnmatch.c (fnmatch): Likewise.
6324 * posix/getopt.c (_getopt_internal_r): Likewise.
6325 * posix/glob.c (glob, glob_in_dir): Likewise.
6326 * posix/wordexp.c (exec_comm_child): Likewise.
6327 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
6328 (getanswer_r, gaih_getanswer_slice): Likewise.
6329 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
6330 * resolv/res_init.c: Likewise.
6331 * resolv/res_mkquery.c (res_nmkquery): Likewise.
6332 * resolv/res_query.c (__libc_res_nquery): Likewise.
6333 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
6335 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
6336 * stdio-common/perror.c (perror): Likewise.
6337 * stdio-common/printf_fp.c (___printf_fp): Likewise.
6338 * stdio-common/tmpnam.c (tmpnam): Likewise.
6339 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
6340 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
6341 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
6343 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
6344 * stdlib/putenv.c (putenv): Likewise.
6345 * stdlib/setenv.c (__add_to_environ): Likewise.
6346 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
6347 * stdlib/strtol_l.c (INTERNAL): Likewise.
6348 * string/memmem.c (memmem): Likewise.
6349 * string/strerror.c (strerror): Likewise.
6350 * string/strnlen.c (__strnlen): Likewise.
6351 * string/test-memmem.c (simple_memmem): Likewise.
6352 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
6353 * sunrpc/pm_getport.c (__get_socket): Likewise.
6354 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
6355 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
6356 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
6357 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
6359 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
6360 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
6361 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
6362 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
6363 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
6364 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
6366 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
6368 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
6369 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
6370 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6371 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
6372 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
6373 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
6374 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
6375 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
6376 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
6377 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
6378 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
6379 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
6381 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
6383 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
6385 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
6386 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
6387 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
6388 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
6389 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
6390 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
6391 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
6392 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
6393 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
6394 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
6395 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
6396 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6397 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
6398 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
6399 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6400 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
6402 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
6404 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
6406 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
6408 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6409 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6410 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
6412 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
6413 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
6414 * sysdeps/posix/opendir.c (__opendirat): Likewise.
6415 * sysdeps/posix/sleep.c: Likewise.
6416 * sysdeps/posix/tempname.c: Likewise.
6417 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
6418 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
6420 * sysdeps/powerpc/powerpc32/dl-machine.h
6421 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
6422 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
6423 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
6424 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
6425 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
6427 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
6428 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
6429 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
6430 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
6431 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
6432 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
6433 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
6434 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
6435 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6436 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
6437 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
6438 (elf_machine_lazy_rel): Likewise.
6439 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
6440 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
6441 (elf_machine_lazy_rel): Likewise.
6442 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
6443 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
6444 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
6445 * sysdeps/unix/grantpt.c (grantpt): Likewise.
6446 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
6447 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
6448 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
6449 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6451 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
6452 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
6453 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
6454 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
6455 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
6456 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
6457 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
6458 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
6459 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
6460 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
6461 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
6463 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
6464 (__posix_fallocate64_l64): Likewise.
6465 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
6466 (posix_fallocate): Likewise.
6467 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
6469 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6470 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
6471 (getifaddrs_internal): Likewise.
6472 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
6473 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
6474 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
6475 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
6476 * sysdeps/unix/sysv/linux/posix_fallocate64.c
6477 (__posix_fallocate64_l64): Likewise.
6478 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
6480 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
6481 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
6482 (__get_clockfreq): Likewise.
6483 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
6484 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
6485 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
6486 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6487 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6488 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
6489 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
6490 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
6492 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
6493 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
6494 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
6495 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
6496 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
6497 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
6498 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
6500 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
6501 (posix_fallocate): Likewise.
6502 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6503 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
6504 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
6505 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
6506 (elf_machine_rela, elf_machine_rela_relative)
6507 (elf_machine_lazy_rel): Likewise.
6508 * time/asctime.c (asctime_internal): Likewise.
6509 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
6510 * time/tzset.c (__tzset_parse_tz): Likewise.
6511 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
6512 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
6513 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
6514 * wcsmbs/wcsmbsload.h: Likewise.
6517 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
6519 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
6520 (arena_get2): Remove THREAD_STATS conditionals.
6521 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
6522 (__malloc_stats, int): Likewise.
6524 2014-02-08 Mike Frysinger <vapier@gentoo.org>
6526 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
6527 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
6529 * manual/setjmp.texi: Fix typos/grammar errors.
6531 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
6532 Only return early when n is <= 0. Delete unused return statement.
6534 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
6535 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
6536 * debug/tst-longjmp_chk3.c: New file.
6538 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
6539 (test_main): Replace code with set_fortify_handler call.
6540 * debug/test-strcpy_chk.c: Likewise.
6541 * debug/tst-chk1.c: Likewise.
6542 * debug/tst-longjmp_chk.c: Likewise.
6543 * test-skeleton.c: Include fcntl.h & paths.h
6544 (set_fortify_handler): Define.
6546 * debug/tst-longjmp_chk.c: Add header comment and include
6548 (do_test): Mark static.
6549 (TEST_FUNCTION): Define.
6551 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
6552 (IP_PMTUDISC_INTERFACE): Likewise.
6553 (IP_MULTICAST_IF): Likewise.
6554 (IP_MULTICAST_TTL): Likewise.
6555 (IP_MULTICAST_LOOP): Likewise.
6556 (IP_ADD_MEMBERSHIP): Likewise.
6557 (IP_DROP_MEMBERSHIP): Likewise.
6558 (IP_UNBLOCK_SOURCE): Likewise.
6559 (IP_BLOCK_SOURCE): Likewise.
6560 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
6561 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
6562 (IP_MSFILTER): Likewise.
6563 (MCAST_JOIN_GROUP): Likewise.
6564 (MCAST_BLOCK_SOURCE): Likewise.
6565 (MCAST_UNBLOCK_SOURCE): Likewise.
6566 (MCAST_LEAVE_GROUP): Likewise.
6567 (MCAST_JOIN_SOURCE_GROUP): Likewise.
6568 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
6569 (MCAST_MSFILTER): Likewise.
6570 (IP_MULTICAST_ALL): Likewise.
6571 (IP_UNICAST_IF): Likewise.
6573 * timezone/Makefile: Delete $(have-ksh) check.
6574 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
6575 * timezone/tzselect.ksh: Add +x mode bits.
6577 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
6578 (ANON_INODE_FS_MAGIC): Likewise.
6579 (BDEVFS_MAGIC): Likewise.
6580 (BINFMTFS_MAGIC): Likewise.
6581 (BTRFS_TEST_MAGIC): Likewise.
6582 (CRAMFS_MAGIC_WEND): Likewise.
6583 (DEBUGFS_MAGIC): Likewise.
6584 (ECRYPTFS_SUPER_MAGIC): Likewise.
6585 (EXT3_SUPER_MAGIC): Likewise.
6586 (EXT4_SUPER_MAGIC): Likewise.
6587 (FUTEXFS_SUPER_MAGIC): Likewise.
6588 (HOSTFS_SUPER_MAGIC): Likewise.
6589 (HUGETLBFS_MAGIC): Likewise.
6590 (MINIX3_SUPER_MAGIC): Likewise.
6591 (MTD_INODE_FS_MAGIC): Likewise.
6592 (NILFS_SUPER_MAGIC): Likewise.
6593 (OPENPROM_SUPER_MAGIC): Likewise.
6594 (PIPEFS_MAGIC): Likewise.
6595 (PSTOREFS_MAGIC): Likewise.
6596 (QNX6_SUPER_MAGIC): Likewise.
6597 (RAMFS_MAGIC): Likewise.
6598 (REISERFS_SUPER_MAGIC_STRING): Likewise.
6599 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
6600 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
6601 (SECURITYFS_MAGIC): Likewise.
6602 (SELINUX_MAGIC): Likewise.
6603 (SMACK_MAGIC): Likewise.
6604 (SOCKFS_MAGIC): Likewise.
6605 (SQUASHFS_MAGIC): Likewise.
6606 (STACK_END_MAGIC): Likewise.
6607 (TMPFS_MAGIC): Likewise.
6608 (USBDEVICE_SUPER_MAGIC): Likewise.
6609 (V9FS_MAGIC): Likewise.
6610 (XENFS_SUPER_MAGIC): Likewise.
6611 (CRAMFS_MAGIC): Fix typo in comment.
6612 (EXT2_SUPER_MAGIC): Update comment.
6613 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
6615 2014-02-08 Joseph Myers <joseph@codesourcery.com>
6617 * sysdeps/arm: Move directory from ports/sysdeps/arm.
6618 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
6619 * sysdeps/unix/sysv/linux/arm: Move directory from
6620 ports/sysdeps/unix/sysv/linux/arm.
6621 * README: Update listing for arm-*-linux-gnueabi.
6623 * README: Remove mention of am33.
6625 2014-02-07 Roland McGrath <roland@hack.frob.com>
6627 * bits/sigset.h (__sigemptyset): Use a statement expression rather
6628 than the comma operator, to avoid "rhs of comma has no effect"
6630 (__sigfillset, __sigandset, __sigorset): Likewise.
6631 * include/signal.h (__sigemptyset): Likewise.
6632 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
6634 2014-02-07 Allan McRae <allan@archlinux.org>
6636 * version.h (RELEASE): Set to "development".
6637 (VERSION): Set to "2.19.90"
6638 * NEWS: Add 2.20 section.
6640 2014-02-06 Carlos O'Donell <carlos@redhat.com>
6643 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
6645 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
6647 * manual/contrib.texi: Update entry for Carlos O'Donell,
6648 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
6650 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
6652 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
6654 * sysdeps/unix/sysv/linux/kernel-features.h
6655 [__LINUX_KERNEL_VERSION >= 0x020621]
6656 (__ASSUME_PROC_PID_TASK_COMM): Define.
6658 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6661 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
6662 conversion when destination buffer does not have enough space.
6663 * libio/tst-ftell-partial-wide.c: New test case.
6664 * libio/Makefile (tests): Add tst-ftell-partial-wide.
6666 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
6667 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
6668 Leonard and Allan McRae.
6670 2014-02-04 David S. Miller <davem@davemloft.net>
6672 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
6675 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
6679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
6681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
6683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
6685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
6687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
6689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
6691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
6693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
6695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
6697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
6699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
6701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
6704 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6706 * nptl/shlib-versions: Change powerpc*le start to 2.17.
6707 * shlib-versions: Likewise.
6709 2014-02-04 Roland McGrath <roland@hack.frob.com>
6710 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6712 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
6713 (abilist-pattern): New variable, set to %-le.abilist.
6715 * Makerules (abilist-pattern): New variable.
6716 (vpath): Use $(abilist-pattern) in place of %.abilist.
6717 (check-abi-% pattern rule): Likewise.
6718 (check-abi, update-abi): Likewise.
6720 2014-02-04 Eric Wong <normalperson@yhbt.net>
6722 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6724 2014-02-03 Carlos O'Donell <carlos@redhat.com>
6726 * manual/startup.texi: Add next, previous, and top entries for
6727 the `Program Arguments' and `Environment Variables' nodes.
6729 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
6731 * manual/macros.texi: Add comments before MTASC-safety macros.
6733 * manual/users.texi: Document MTASC-safety properties.
6735 * manual/threads.texi (pthread_key_create, pthread_key_delete)
6736 (pthread_getspecific, pthread_setspecific): Format with
6737 @deftypefun, and add @safety note.
6738 * manual/signal.texi: Move comments that analyze the above
6739 functions to their home place.
6741 2014-02-03 Allan McRae <allan@archlinux.org>
6743 * po/sl.po: Update Slovenian translation from translation project.
6745 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
6747 * manual/time.texi (timegm): Add missing blank after @c.
6748 Reported by Joseph Myers <joseph@codesourcery.com>.
6750 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
6752 * manual/check-safety.sh: New.
6753 * manual/Makefile ($(objpfx)stamp-summary): Run it.
6755 * manual/terminal.texi: Document MTASC-safety properties.
6757 * manual/filesys.texi: Document MTASC-safety properties.
6759 * manual/errno.texi: Document MTASC-safety properties.
6761 * manual/intro.texi: Document safety identifiers and
6764 * manual/string.texi (wcstok): Fix prototype.
6765 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
6767 * manual/time.texi: Document MTASC-safety properties.
6769 * manual/string.texi: Document MTASC-safety properties.
6771 * manual/threads.texi: Document MTASC-safety properties.
6773 * manual/stdio.texi: Document MTASC-safety properties.
6775 * manual/syslog.texi: Document MTASC-safety properties.
6777 * manual/sysinfo.texi: Document MTASC-safety properties.
6779 * manual/startup.texi: Document MTASC-safety properties.
6781 * manual/socket.texi: Document MTASC-safety properties.
6783 * manual/signal.texi: Document MTASC-safety properties.
6785 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
6787 * manual/setjmp.texi: Document MTASC-safety properties.
6789 * manual/search.texi: Document MTASC-safety properties.
6791 * manual/resource.texi: Document MTASC-safety properties.
6793 * manual/process.texi: Document MTASC-safety properties.
6795 * manual/platform.texi: Document MTASC-safety properties.
6797 * manual/pipe.texi: Document MTASC-safety properties.
6799 * manual/pattern.texi: Document MTASC-safety properties.
6801 * manual/message.texi: Document MTASC-safety properties.
6804 * manual/memory.texi: Document MTASC-safety properties.
6806 * manual/math.texi: Document MTASC-safety properties.
6808 * manual/locale.texi: Document MTASC-safety properties.
6810 * manual/llio.texi: Document MTASC-safety properties.
6812 * manual/libdl.texi: New.
6814 * manual/lang.texi: Document MTASC-safety properties.
6816 * manual/job.texi: Document MTASC-safety properties.
6818 * manual/getopt.texi: Document MTASC-safety properties.
6820 * manual/ctype.texi: Document MTASC-safety properties.
6822 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
6825 * csu/libc-tls.c (static_map): Remove variable.
6826 (__libc_setup_tls): Use main executable's link map for TLS data.
6827 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
6828 casing for LM_ID_BASE and GL(dl_nns).
6829 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
6830 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
6831 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
6832 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
6833 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
6835 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
6838 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
6840 * manual/debug.texi: Document MTASC-safety properties.
6842 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
6845 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
6846 of __x86_64__ when disabling x87 inline functions.
6848 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
6850 * manual/charset.texi: Document MTASC-safety properties.
6852 * manual/crypt.texi: Document MTASC-safety properties.
6854 * manual/conf.texi: Document MTASC-safety properties.
6856 * manual/arith.texi: Document MTASC-safety properties.
6858 * manual/argp.texi: Document MTASC-safety properties.
6860 * manual/macros.texi: Introduce macros to document multi
6861 thread, asynchronous signal and asynchronous cancellation
6863 * manual/intro.texi: Introduce the properties themselves.
6865 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6867 * sysdeps/sh/sh4/Makefile: New file.
6869 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
6871 * math/gen-libm-test.pl ($srcdir): New variable.
6872 ($auto_input): Use it.
6874 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6877 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
6878 access beyond array bounds when parsing netgroups file.
6880 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
6881 the old buffer before realloc.
6883 2014-01-27 Allan McRae <allan@archlinux.org>
6885 * po/fr.po: Update French translation from translation project.
6887 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6889 * sysdeps/sh/libm-test-ulps: Regenerate.
6891 2014-01-24 David S. Miller <davem@davemloft.net>
6893 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
6895 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6897 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
6898 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
6900 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6903 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
6904 string pointers after reallocation.
6906 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6908 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
6909 __SH4A__ instead of __SH_FPU_ANY__.
6911 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6913 * sysdeps/sh/fpu_control.h: New file.
6914 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
6915 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
6916 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
6917 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
6918 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
6919 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
6920 * sysdeps/sh/sys/ucontext.h: Remove.
6921 * sysdeps/sh/sys: Remove directory.
6923 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6925 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
6926 s390/sys/ucontext.h.
6927 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
6928 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
6930 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
6933 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
6935 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6938 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
6939 Adjust the vDSO correctly for internal calls.
6940 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
6942 2014-01-20 Allan McRae <allan@archlinux.org>
6944 * po/ca.po: Update Catalan translation from translation project.
6946 2014-01-16 Mike Frysinger <vapier@gentoo.org>
6948 * sysdeps/s390/sotruss-lib.c: New file.
6950 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6953 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
6954 (__GI___gettimeofday): Alias for a different internal symbol to avoid
6955 local calls issues by not having a PLT stub required for IFUNC calls.
6956 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
6958 2014-01-16 Joseph Myers <joseph@codesourcery.com>
6960 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
6961 * math/test-fpucw-static.c: Likewise.
6963 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6966 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
6968 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6970 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
6971 implementation for powerpc.
6973 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
6976 * sysdeps/posix/system.c (__libc_system): Do not enable
6977 asynchronous cancellation.
6979 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6982 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
6983 handling only for numbers special also in the IEEE case.
6985 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6987 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6989 2014-01-11 Allan McRae <allan@archlinux.org>
6991 * po/bg.po: Update Bulgarian translation from translation project.
6993 * po/de.po: Update German translation from translation project.
6995 2014-01-10 Roland McGrath <roland@hack.frob.com>
6997 * sysdeps/generic/gcc-compat.h: New file.
6999 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7001 * benchtests/asin-inputs: Correct slow inputs.
7002 * benchtests/acos-inputs: Likewise.
7004 2014-01-10 Allan McRae <allan@archlinux.org>
7006 * po:sv.po: Update Swedish translation from translation project.
7008 * po/vi.po: Update Vietnamese translation from translation project.
7010 * po/eo.po: Update Esperanto translation from translation project.
7012 * po/cs.po: Update Czech translation from translation project.
7014 * po/nl.po: Update Dutch translation from translation project.
7016 * po/pl.po: Update Polish translation from translation project.
7018 * po/ru.po: Update Russian translation from translation project.
7020 * po/uk.po: Update Ukrainian translation from translation project.
7022 2014-01-08 Brooks Moses <bmoses@google.com>
7024 * elf/dl-load.c: Fix comment typo.
7026 2014-01-08 Carlos O'Donell <carlos@redhat.com>
7028 * po/header.pot: Rename to...
7029 * po/pot.header: ... this.
7030 * po/Makefile: Use pot.header.
7032 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
7033 Maxim Kuvyrkov <maxim@kugelworks.com>
7036 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
7037 SRC and DEST against LEN.
7039 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7042 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
7044 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
7046 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7048 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7050 2014-01-08 Joseph Myers <joseph@codesourcery.com>
7053 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
7054 for large positive arguments.
7056 2014-01-07 Joseph Myers <joseph@codesourcery.com>
7058 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
7060 * math/auto-libm-test-in: Mark various tests with
7061 xfail-rounding:ldbl-128ibm.
7062 * math/auto-libm-test-out: Regenerated.
7065 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
7066 Increase overflow threshold.
7068 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
7071 * stdio-common/vfprintf.c: Check for integer overflow.
7073 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7075 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
7076 the first argument and return value of __tls_get_addr_internal.
7078 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7080 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
7081 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
7083 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7085 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
7086 * sysdeps/s390/rtld-global-offsets.sym: New file.
7087 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
7089 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
7090 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
7091 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
7093 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
7094 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
7096 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
7098 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
7100 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
7101 halfs of GPRs for high_gprs contexts.
7102 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
7103 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
7105 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
7107 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
7109 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
7110 for high GPRs (uc_high_gprs) and for future extensions
7112 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
7113 for future extensions (__reserved).
7114 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
7116 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
7117 SC_HIGHGPRS offset definition.
7118 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
7119 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
7121 * Versions.def: Add GLIBC_2.19 for libpthread.
7122 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
7123 siglongjmp for libpthread with GLIBC_2.19 symver.
7124 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
7125 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
7126 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
7127 * sysdeps/s390/__longjmp.c: New file.
7128 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
7129 * sysdeps/s390/longjmp.c: New file.
7130 * sysdeps/s390/setjmp.S: New file.
7131 * sysdeps/s390/sigjmp.S: New file.
7132 * sysdeps/s390/v1-longjmp.c: New file.
7133 * sysdeps/s390/v1-setjmp.h: New file.
7134 * sysdeps/s390/v1-sigjmp.c: New file.
7135 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
7136 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
7138 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
7139 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
7140 versioned symbols for ____longjmp_chk.
7141 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
7143 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
7145 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7147 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
7149 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7151 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
7152 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
7153 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
7154 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
7155 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
7156 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
7157 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
7158 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
7159 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
7160 * sysdeps/s390/rtld-__longjmp.c: New file.
7161 * sysdeps/s390/rtld-setjmp.S: New file.
7163 2014-01-06 Joseph Myers <joseph@codesourcery.com>
7166 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
7167 Return -__logl (x) for small positive arguments without evaluating
7170 2014-01-06 Mike Frysinger <vapier@gentoo.org>
7172 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
7174 (__ptrace_peeksiginfo_args): ... this.
7175 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7176 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7177 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7179 2014-01-06 Allan McRae <allan@archlinux.org>
7181 * inet/netinet/in.h: Fix typo in comment.
7183 2014-01-05 Andreas Jaeger <aj@suse.de>
7185 * sysdeps/i386/fpu/libm-test-ulps: Update.
7187 2014-01-05 Allan McRae <allan@archlinux.org>
7189 * po/libc.pot: Regenerated.
7191 * malloc/memusagestat.c: Fix gettext call formatting.
7193 2014-01-04 Sami Kerola <kerolasa@iki.fi>
7195 * nscd/nscd.c: Improve usage() output.
7197 2014-01-04 Mike Frysinger <vapier@gentoo.org>
7199 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
7200 * sysdeps/unix/sysv/linux/configure: Regenerated.
7201 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
7202 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
7204 2014-01-03 Joseph Myers <joseph@codesourcery.com>
7207 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
7208 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
7210 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7212 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
7213 extra tokens at end of #undef directive.
7214 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
7215 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
7216 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
7218 2014-01-03 Joseph Myers <joseph@codesourcery.com>
7220 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
7222 * math/auto-libm-test-in: Mark various tests with
7223 xfail-rounding:ldbl-128ibm.
7224 * math/auto-libm-test-out: Regenerated.
7226 2014-01-02 Joseph Myers <joseph@codesourcery.com>
7229 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
7230 numbers with subnormal high part when calculating exponent.
7233 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
7237 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
7239 (__ieee754_acoshl): Use __log1pl not __log1p.
7241 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
7243 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
7244 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
7245 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
7246 (grow_heap, heap_trim, _int_new_arena, get_free_list)
7247 (reused_arena, arena_get2): Convert to GNU style.
7248 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
7249 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
7250 (memalign_check, __malloc_set_state): Likewise.
7251 * malloc/mallocbug.c (main): Likewise.
7252 * malloc/malloc.c (__malloc_assert, malloc_init_state)
7253 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
7254 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
7255 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
7256 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
7257 (__posix_memalign, malloc_info): Likewise.
7258 * malloc/malloc.h: Likewise.
7259 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
7260 (mallochook, memalignhook, reallochook, mabort): Likewise.
7261 * malloc/mcheck.h: Likewise.
7262 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
7263 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
7264 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
7265 * malloc/morecore.c (__default_morecore): Likewise.
7266 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
7267 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
7268 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
7269 (print_and_abort): Likewise.
7270 * malloc/obstack.h: Likewise.
7271 * malloc/set-freeres.c (__libc_freeres): Likewise.
7272 * malloc/tst-mallocstate.c (main): Likewise.
7273 * malloc/tst-mtrace.c (main): Likewise.
7274 * malloc/tst-realloc.c (do_test): Likewise.
7276 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7279 * nscd/netgroupcache.c (do_notfound): New function.
7280 (addgetnetgrentX): Use it.
7283 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
7284 NSS_STATUS_NOTFOUND.
7286 2014-01-01 Joseph Myers <joseph@codesourcery.com>
7288 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
7289 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7291 2014-01-01 Allan McRae <allan@archlinux.org>
7293 * scripts/update-copyrights: Update configure input file suffix.
7295 * NEWS: Update copyright year.
7296 * catgets/gencat.c: Likewise.
7297 * csu/version.c: Likewise.
7298 * debug/catchsegv.sh: Likewise.
7299 * debug/pcprofiledump.c: Likewise.
7300 * debug/xtrace.sh: Likewise.
7301 * elf/ldconfig.c: Likewise.
7302 * elf/ldd.bash.in: Likewise.
7303 * elf/pldd.c: Likewise.
7304 * elf/sotruss.ksh: Likewise.
7305 * elf/sprof.c: Likewise.
7306 * iconv/iconv_prog.c: Likewise.
7307 * iconv/iconvconfig.c: Likewise.
7308 * locale/programs/locale.c: Likewise.
7309 * locale/programs/localedef.c: Likewise.
7310 * login/programs/pt_chown.c: Likewise.
7311 * malloc/memusage.sh: Likewise.
7312 * malloc/memusagestat.c: Likewise.
7313 * malloc/mtrace.pl: Likewise.
7314 * manual/libc.texinfo: Likewise.
7315 * nscd/nscd.c: Likewise.
7316 * nss/getent.c: Likewise.
7317 * nss/makedb.c: Likewise.
7318 * posix/getconf.c: Likewise.
7319 * scripts/test-installation.pl: Likewise.
7321 * All files with FSF copyright notices: Update copyright dates
7322 using scripts/update-copyrights.
7323 * intl/plural.c: Regenerated.
7324 * locale/programs/charmap-kw.h: Likewise.
7325 * locale/programs/locfile-kw.h: Likewise.
7327 2013-12-31 Mike Frysinger <vapier@gentoo.org>
7329 * sysdeps/unix/sysv/linux/configure: Regenerated.
7330 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
7331 the linux/fanotify.h header.
7332 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
7333 HAVE_LINUX_FANOTIFY_H is defined.
7335 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
7337 * benchtests/cos-inputs: New inputs.
7338 * benchtests/sin-inputs: Likewise.
7340 * benchtests/atan-inputs: New inputs. Fix name of multiple
7341 precision fallback inputs.
7343 * benchtests/atanh-inputs: New inputs.
7344 * benchtests/tanh-inputs: Likewise.
7346 * benchtests/acosh-inputs: New inputs.
7347 * benchtests/asinh-inputs: Likewise.
7349 * benchtests/cosh-inputs: New inputs.
7350 * benchtests/sinh-inputs: Likewise.
7352 * benchtests/acos-inputs: Add more inputs.
7353 * benchtests/asin-inputs: Likewise.
7355 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
7358 * manual/arith.texi: Fix spelling.
7359 * manual/charset.texi: Likewise.
7360 * manual/errno.texi: Likewise.
7361 * manual/filesys.texi: Likewise.
7362 * manual/lang.texi: Likewise.
7363 * manual/llio.texi: Likewise.
7364 * manual/locale.texi: Likewise.
7365 * manual/message.texi: Likewise.
7366 * manual/resource.texi: Likewise.
7367 * manual/search.texi: Likewise.
7368 * manual/setjmp.texi: Likewise.
7369 * manual/stdio.texi: Likewise.
7370 * manual/string.texi: Likewise.
7371 * manual/sysinfo.texi: Likewise.
7372 * manual/time.texi: Likewise.
7374 2013-12-27 Carlos O'Donell <carlos@redhat.com>
7376 * po/sl.po: New file.
7378 2013-12-27 Mike Frysinger <vapier@gentoo.org>
7380 * .gitignore: Add core/.gdbinit/.gdb_history.
7382 2013-12-27 Allan McRae <allan@archlinux.org>
7385 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
7386 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
7388 2013-12-24 Brooks Moses <bmoses@google.com>
7390 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
7391 all compilers that claim C++98 compliance, not just GCC.
7392 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
7395 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
7397 * NEWS: Restore accidentally deleted bug-fix entries.
7399 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
7400 Ondřej Bílka <neleai@seznam.cz>
7403 * malloc/malloc.c (_int_free): Perform sanity check only if we
7406 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
7409 * manual/stdio.texi (String Input Conversions): Clarify that character
7410 classes are not supported.
7412 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7414 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7416 2013-12-22 Joseph Myers <joseph@codesourcery.com>
7419 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
7420 Calculate results for small negative arguments directly rather
7421 than using reflection formula with special underflow handling.
7423 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
7424 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
7425 sysdeps/unix/bsd/bsd4.4/syscalls.list.
7426 (fchflags): Likewise.
7428 (setlogin): Likewise.
7429 (sigaltstack): Likewise.
7432 (sigsetmask): Likewise.
7434 (waitpid): Likewise.
7435 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
7436 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
7438 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
7439 * sysdeps/unix/bsd/Makefile: ... here.
7440 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
7441 * sysdeps/unix/bsd/Versions: ... here.
7442 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
7443 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
7444 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
7445 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
7446 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
7447 * sysdeps/unix/bsd/sigblock.c: ... here.
7448 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
7449 * sysdeps/unix/bsd/sigsetmask.c: ... here.
7450 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
7451 * sysdeps/unix/bsd/sigvec.c: ... here.
7452 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
7453 * sysdeps/unix/bsd/tcdrain.c: ... here.
7454 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
7455 * sysdeps/unix/bsd/tcgetattr.c: ... here.
7456 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
7457 * sysdeps/unix/bsd/tcsetattr.c: ... here.
7458 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
7459 * sysdeps/unix/bsd/wait.c: ... here.
7460 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
7461 * sysdeps/unix/bsd/wait3.c: ... here.
7462 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
7463 * sysdeps/unix/bsd/waitpid.c: ... here.
7465 2013-12-21 Joseph Myers <joseph@codesourcery.com>
7468 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
7469 round-to-nearest for [!USE_AS_EXPM1L].
7470 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
7471 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
7472 more tests of exp and exp10. Expect some exp10 tests to miss
7473 exceptions or fail in directed rounding modes.
7474 * math/auto-libm-test-out: Regenerated.
7475 * math/libm-test.inc (exp10_tonearest_test_data): New array.
7476 (exp10_test_tonearest): New function.
7477 (exp10_towardzero_test_data): New array.
7478 (exp10_test_towardzero): New function.
7479 (exp10_downward_test_data): New array.
7480 (exp10_test_downward): New function.
7481 (exp10_upward_test_data): New array.
7482 (exp10_test_upward): New function.
7483 (main): Call the new functions.
7484 * sysdeps/i386/fpu/libm-test-ulps: Update.
7485 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7487 2013-12-20 Joseph Myers <joseph@codesourcery.com>
7489 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
7490 asinh, atan, atan2, atanh, cbrt, cos and cosh.
7491 * math/auto-libm-test-out: Regenerated.
7492 * math/libm-test.inc (acosh_test_data): Add more tests.
7493 (atanh_test_data): Likewise.
7494 (ceil_test_data): Likewise.
7495 (copysign_test_data): Likewise.
7496 * sysdeps/i386/fpu/libm-test-ulps: Update.
7497 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7499 * timezone/checktab.awk: Update from tzcode 2013i.
7500 * timezone/private.h: Likewise.
7501 * timezone/scheck.c: Likewise.
7502 * timezone/tzfile.h: Likewise.
7503 * timezone/tzselect.ksh: Likewise.
7504 * timezone/zdump.c: Likewise.
7505 * timezone/zic.c: Likewise.
7507 * math/auto-libm-test-in: Add tests of cpow.
7508 * math/auto-libm-test-out: Regenerated.
7509 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
7510 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7512 (func_calc_desc): Add mpc_cc_c union field.
7513 (test_functions): Add cpow.
7514 (special_fill_2pi): New function.
7515 (special_real_inputs): Add 2pi.
7516 (calc_generic_results): Handle mpc_cc_c.
7517 * sysdeps/i386/fpu/libm-test-ulps: Update.
7518 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7520 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
7521 csqrt, ctan and ctanh.
7522 * math/auto-libm-test-out: Regenerated.
7523 * math/libm-test.inc (TEST_COND_x86_64): New macro.
7524 (TEST_COND_x86): Likewise.
7525 (ccos_test_data): Use AUTO_TESTS_c_c.
7526 (ccosh_test_data): Likewise.
7527 (cexp_test_data): Likewise.
7528 (clog_test_data): Likewise.
7529 (csqrt_test_data): Likewise.
7530 (ctan_test_data): Likewise.
7531 (ctan_tonearest_test_data): Likewise.
7532 (ctan_towardzero_test_data): Likewise.
7533 (ctan_downward_test_data): Likewise.
7534 (ctan_upward_test_data): Likewise.
7535 (ctanh_test_data): Likewise.
7536 (ctanh_tonearest_test_data): Likewise.
7537 (ctanh_towardzero_test_data): Likewise.
7538 (ctanh_downward_test_data): Likewise.
7539 (ctanh_upward_test_data): Likewise.
7540 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7542 (func_calc_desc): Add mpc_c_c union field.
7543 (FUNC_mpc_c_c): New macro.
7544 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
7545 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
7547 (special_fill_min_subnorm_p120): New function.
7548 (special_real_inputs): Add min_subnorm_p120.
7549 (calc_generic_results): Handle mpc_c_c.
7550 * sysdeps/i386/fpu/libm-test-ulps: Update.
7551 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7553 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7555 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
7556 (do_sin_slow): New functions.
7557 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
7558 (cslow2, csloww1, csloww2): Use the new functions.
7560 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
7561 Use M to change sign of result instead of X. Assume X is
7563 (csloww1): Likewise.
7567 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
7572 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
7574 (sloww1): Don't adjust sign of DX.
7575 (csloww1): Likewise.
7576 (sloww2): Use X directly and don't adjust sign of DX.
7577 (csloww2): Likewise.
7579 2013-12-19 Joseph Myers <joseph@codesourcery.com>
7581 * math/auto-libm-test-in: Add tests of cabs and carg.
7582 * math/auto-libm-test-out: Regenerated.
7583 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
7584 (carg_test_data): Likewise.
7585 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7587 (func_calc_desc): Add mpc_c_f union field.
7588 (test_functions): Add cabs and carg.
7589 (calc_generic_results): Handle mpc_c_f.
7591 * sysdeps/powerpc/powerpc32/libgcc-compat.S
7592 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
7593 as a macro and a compat symbol.
7594 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
7595 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
7596 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
7597 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
7598 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
7599 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
7601 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
7603 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
7605 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
7607 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
7609 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
7611 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
7612 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
7615 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7617 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7619 2013-12-19 Joseph Myers <joseph@codesourcery.com>
7621 * manual/texinfo.tex: Update to version 2013-11-26.10 with
7622 trailing whitespace removed.
7623 * scripts/config.guess: Update to version 2013-11-29.
7624 * scripts/config.sub: Update to version 2013-10-01.
7626 * math/auto-libm-test-in: Add tests of sincos.
7627 * math/auto-libm-test-out: Regenerated.
7628 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
7629 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7631 (func_calc_desc): Add mpfr_f_11 union field.
7632 (test_functions): Add sincos.
7633 (calc_generic_results): Handle mpfr_f_11.
7634 * sysdeps/i386/fpu/libm-test-ulps: Update.
7635 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7637 2013-12-19 Andreas Schwab <schwab@suse.de>
7639 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
7641 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
7642 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
7643 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
7645 2013-12-19 Joseph Myers <joseph@codesourcery.com>
7647 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
7648 * sysdeps/i386/fpu/libm-test-ulps: Update.
7649 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7652 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
7653 round-to-nearest mode when using frndint.
7654 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
7655 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
7656 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
7658 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
7660 * math/auto-libm-test-out: Regenerated.
7661 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
7662 (TEST_COND_x86): Likewise.
7663 (expm1_tonearest_test_data): New array.
7664 (expm1_test_tonearest): New function.
7665 (expm1_towardzero_test_data): New array.
7666 (expm1_test_towardzero): New function.
7667 (expm1_downward_test_data): New array.
7668 (expm1_test_downward): New function.
7669 (expm1_upward_test_data): New array.
7670 (expm1_test_upward): New function.
7671 (main): Run the new test functions.
7672 * sysdeps/i386/fpu/libm-test-ulps: Update.
7673 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7675 * include/features.h: Update comment documenting feature test
7676 macros. Mention _DEFAULT_SOURCE in comment.
7677 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
7678 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
7679 _BSD_SOURCE and _SVID_SOURCE.
7680 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
7681 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
7682 !_SVID_SOURCE]: Likewise.
7683 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7684 (__USE_POSIX_IMPLICITLY): Define.
7685 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7686 (_POSIX_SOURCE): Undefine and redefine.
7687 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7688 (_POSIX_C_SOURCE): Likewise.
7689 * manual/creature.texi (_DEFAULT_SOURCE): Document.
7690 (Feature Test Macros): Update documentation of default features.
7692 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7694 * benchtests/Makefile: Add bench-strtok.
7695 * benchtests/bench-strtok.c: New file: strtok benchtest.
7697 2013-12-19 Allan McRae <allan@archlinux.org>
7699 * manual/install.texi: Suppress menu for plain text output.
7700 * INSTALL: Regenerated.
7702 2013-12-18 Brooks Moses <bmoses@google.com>
7705 * misc/getauxval.c: Include errno.h.
7706 (__getauxval): Set errno to ENOENT if the requested type is not
7708 * misc/sys/auxv.h (getauxval): Document that it may set errno;
7709 don't declare with __attribute_const__.
7710 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
7711 * manual/startup.texi: Document that getauxval sets errno.
7713 2013-12-18 Joseph Myers <joseph@codesourcery.com>
7715 * math/auto-libm-test-in: Add tests of jn and yn.
7716 * math/auto-libm-test-out: Regenerated.
7717 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
7718 (yn_test_data): Likewise.
7719 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7721 (func_calc_desc): Add mpfr_if_f union field.
7722 (FUNC_mpfr_if_f): New macro.
7723 (test_functions): Add jn and yn.
7724 (calc_generic_results): Assert type of second input for
7725 mpfr_ff_f. Handle mpfr_if_f.
7726 (output_for_one_input_case): Disable all checking for arguments
7727 fitting floating-point types in case of an integer argument.
7728 * sysdeps/i386/fpu/libm-test-ulps: Update.
7729 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
7732 Don't expect fegetround reference in libm.so.
7734 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7736 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
7737 $(config-cflags-nofma).
7739 2013-12-18 Joseph Myers <joseph@codesourcery.com>
7741 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
7742 * math/auto-libm-test-out: Regenerated.
7745 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
7746 to determine exponent and adjust argument to have exponent of -1.
7747 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
7749 * math/auto-libm-test-out: Regenerated.
7750 * sysdeps/i386/fpu/libm-test-ulps: Update.
7751 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7753 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
7755 * manual/probes.texi: Remove cases when per-thread arenas are
7758 2013-12-18 Andreas Schwab <schwab@suse.de>
7760 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
7761 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
7762 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
7763 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
7764 * sysdeps/i386/i686/multiarch/Makefile: Update.
7765 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
7767 2013-12-17 Joseph Myers <joseph@codesourcery.com>
7769 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
7770 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
7772 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
7775 Support TZ transition times < 00:00:00.
7776 This is needed for version-3 tz-format files; it supports time
7777 stamps past 2037 for America/Godthab (the only entry in the tz
7778 database for which this change is relevant).
7779 * manual/time.texi (TZ Variable): Document transition times
7780 from -167:59:59 through -00:00:01.
7781 * time/tzset.c (tz_rule): Time of day is now signed.
7782 (__tzset_parse_tz): Parse negative time of day.
7784 Document TZ transition times >= 25:00:00.
7785 * manual/time.texi (TZ Variable): Document transition times from
7786 25:00:00 through 167:59:59. These are already supported, and this
7787 support will help with version-3 tz-format files.
7789 * manual/time.texi (TZ Variable): Modernize North America example
7790 to reflect current (i.e., 2007-and-later) daylight saving rules.
7792 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
7794 2013-12-17 Joseph Myers <joseph@codesourcery.com>
7796 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
7797 * sysdeps/unix/bsd/bits/stat.h: Likewise.
7798 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
7799 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
7800 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
7801 * sysdeps/unix/bsd/bsdstat.h: Likewise.
7802 * sysdeps/unix/bsd/clock.c: Likewise.
7803 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
7804 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
7805 * sysdeps/unix/bsd/init-posix.c: Likewise.
7806 * sysdeps/unix/bsd/poll.c: Likewise.
7807 * sysdeps/unix/bsd/ptsname.c: Likewise.
7808 * sysdeps/unix/bsd/seekdir.c: Likewise.
7809 * sysdeps/unix/bsd/setegid.c: Likewise.
7810 * sysdeps/unix/bsd/seteuid.c: Likewise.
7811 * sysdeps/unix/bsd/setgid.c: Likewise.
7812 * sysdeps/unix/bsd/setrgid.c: Likewise.
7813 * sysdeps/unix/bsd/setruid.c: Likewise.
7814 * sysdeps/unix/bsd/setsid.c: Likewise.
7815 * sysdeps/unix/bsd/setuid.c: Likewise.
7816 * sysdeps/unix/bsd/sigaction.c: Likewise.
7817 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
7818 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
7819 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
7820 * sysdeps/unix/bsd/telldir.c: Likewise.
7821 * sysdeps/unix/bsd/times.c: Likewise.
7822 * sysdeps/unix/bsd/usleep.c: Likewise.
7824 * misc/Makefile (install-lib): Remove libbsd-compat.a.
7825 ($(objpfx)libbsd-compat.a): Remove rule.
7827 * include/features.h (__FAVOR_BSD): Do not define.
7828 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
7829 features conflicting with POSIX.
7830 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
7831 (_BSD_SOURCE): Remove description of not being a subset of other
7832 feature test macros.
7833 * manual/job.texi (getpgrp): Do not document BSD version.
7834 (getpgid): Do not document by reference to BSD getpgrp.
7835 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
7836 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
7837 * signal/signal.h [__FAVOR_BSD]: Likewise.
7838 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
7839 instead of making contents conditional on [__FAVOR_BSD].
7840 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
7842 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7844 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7846 2013-12-17 Joseph Myers <joseph@codesourcery.com>
7849 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
7850 values below 2**-450, not 2**-500.
7851 * math/auto-libm-test-in: Don't allow spurious underflow from
7853 * math/auto-libm-test-out: Regenerated.
7857 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
7858 values of ha and hb and sort them after adjusting subnormal
7860 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
7862 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
7863 values of ea and eb and sort them after adjusting subnormal
7865 * math/auto-libm-test-in: Do not expect some hypot tests of
7866 subnormals to fail. Add more hypot tests.
7867 * math/auto-libm-test-out: Regenerated.
7869 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7872 * sysdeps/sh/s_fma.c: New file.
7873 * sysdeps/sh/s_fmaf.c: New file.
7874 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
7876 * sysdeps/sh/Implies: Add sh/soft-fp.
7878 2013-12-16 Roland McGrath <roland@hack.frob.com>
7880 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
7881 level of indirection to members `objname', `errstring', `malloced'.
7882 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
7883 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
7884 it as the __longjmp argument (just pass 1 instead).
7885 (_dl_catch_error): Initialize C with argument pointers and address of
7886 volatile local ERRCODE rather than copying values out of C at return.
7888 2013-12-16 Joseph Myers <joseph@codesourcery.com>
7890 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
7891 * math/auto-libm-test-out: Regenerated.
7892 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
7893 (hypot_test_data): Likewise.
7894 (pow_test_data): Likewise.
7895 (pow_tonearest_test_data): Likewise.
7896 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7898 (func_calc_desc): Add mpfr_ff_f union field.
7899 (FUNC_mpfr_ff_f): New macro.
7900 (test_functions): Add atan2, hypot and pow.
7901 (special_fill_min): New function.
7902 (special_fill_minus_min): Likewise.
7903 (special_fill_min_subnorm): Likewise.
7904 (special_fill_minus_min_subnorm): Likewise.
7905 (special_real_inputs): Add min, -min, min_subnorm and
7907 (calc_generic_results): Handle mpfr_ff_f.
7908 * sysdeps/i386/fpu/libm-test-ulps: Update.
7909 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7911 2013-12-16 Will Newton <will.newton@linaro.org>
7913 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
7914 (Aligned Memory Blocks): Add documentation for aligned_alloc
7915 and suggest it as an alternative to posix_memalign.
7916 (Hooks for Malloc): Document __memalign_hook is also called
7917 for aligned_alloc. (Summary of Malloc): Add summary for
7918 aligned alloc. Document __memalign_hook is also called
7921 2013-12-16 Will Newton <will.newton@linaro.org>
7923 * manual/memory.texi (Malloc Examples): Clarify default
7924 alignment documentation. Suggest posix_memalign rather
7925 than memalign or valloc.
7926 (Aligned Memory Blocks): Remove suggestion to use memalign
7927 or valloc. Remove obsolete comment about BSD.
7928 Document memalign errno values and mark the function obsolete.
7929 Document posix_memalign returned error codes. Mark valloc
7930 as obsolete. (Hooks for Malloc): __memalign_hook is also
7931 called for posix_memalign and valloc.
7932 (Summary of Malloc): Add posix_memalign to function summary.
7933 __memalign_hook is also called for posix_memalign and valloc.
7935 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7937 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
7941 (sloww): Use mynumber union. Expand ternary operator into
7943 (cslow): use mynumber union.
7945 2013-12-16 Allan McRae <allan@archlinux.org>
7947 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
7948 * configure: Regenerated.
7950 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
7953 * configure.ac: Added --enable-maintainer-mode. Check for
7954 autoconf when enabled.
7955 * configure: Regenerated.
7957 * nscd/nscd.service: New file.
7958 * nscd/nscd.tmpfiles: New file.
7960 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
7963 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
7964 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
7965 * sysdeps/x86_64/multiarch/strstr.c: ... here.
7966 (strstr): Add __strstr_sse2_unaligned ifunc.
7967 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
7968 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
7969 (strcasestr): Remove __strcasestr_sse42 ifunc.
7970 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
7971 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
7972 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
7974 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7976 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
7977 * sysdeps/sh/bits/fenv.h: ... here.
7978 * sysdeps/sh/sh4/fpu/bits: Remove directory.
7980 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7982 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
7984 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
7985 hypotf multiarch implementations.
7986 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
7987 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
7988 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
7989 multiarch hypot for PPC64.
7990 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
7991 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
7992 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
7993 multiarch hypotf for PPC64.
7995 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
7996 modff multiarch implementations.
7997 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
7998 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
7999 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
8000 multiarch modf for PPC64.
8001 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
8002 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
8003 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
8004 multiarch modff for PPC64.
8006 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
8007 and logl multiarch implementations.
8008 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
8009 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
8010 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
8011 multiarch logb for PPC64.
8012 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
8013 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
8014 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
8015 multiarch logb for PPC64.
8016 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
8017 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
8018 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
8019 multiarch logb for PPC64.
8021 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
8022 isinff multiarch implementation.
8023 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
8025 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
8026 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
8027 multiarch isinf for PPC64.
8028 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
8030 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
8031 multiarch isinff for PPC64.
8033 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
8034 finitef multiarch implementation.
8035 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
8037 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
8038 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
8039 multiarch finite for PPC64.
8040 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
8042 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
8043 multiarch finitef for PPC64.
8045 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
8046 lrint multiarch implementation.
8047 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
8049 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
8050 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
8051 multiarch llrint for PPC64.
8052 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
8053 multiarch lrint for PPC64.
8055 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
8056 copysignf multiarch implementation.
8057 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
8059 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
8061 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
8062 multiarch copysign for PPC64.
8063 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
8064 multiarch copysignf for PPC64.
8066 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
8067 multiarch implementation.
8068 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
8070 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
8072 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
8074 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
8076 multiarch llround for PPC64.
8077 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
8078 multiarch trunc for PPC64.
8079 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
8080 multiarch truncf for PPC64.
8082 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
8083 multiarch implementation.
8084 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
8086 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
8088 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
8090 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
8092 multiarch llround for PPC64.
8093 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
8094 multiarch round for PPC64.
8095 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
8096 multiarch roundf for PPC64.
8098 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
8099 multiarch implementation.
8100 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
8102 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
8104 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
8106 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
8108 multiarch llround for PPC64.
8109 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
8110 multiarch floor for PPC64.
8111 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
8112 multiarch floorf for PPC64.
8114 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
8115 multiarch implementation.
8116 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
8118 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
8120 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
8122 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
8124 multiarch llround for PPC64.
8125 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
8126 multiarch ceil for PPC64.
8127 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
8128 multiarch ceilf for PPC64.
8130 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
8131 multiarch implementation.
8132 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
8134 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
8136 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
8138 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
8139 multiarch llround for PPC64.
8140 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
8141 multiarch lround for PPC64.
8143 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
8144 multiarch implementation.
8145 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
8146 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
8147 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
8149 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
8150 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
8151 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
8152 multiarch isnan for PPC64.
8153 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
8154 multiarch isnanf for PPC64.
8156 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
8157 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
8158 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
8159 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
8160 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
8161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
8163 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
8164 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
8165 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8166 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8168 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
8169 multiarch implementations.
8170 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8171 (__libc_ifunc_impl_list): Likewise.
8172 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
8173 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
8174 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
8175 multiarch stpcpy for PPC64.
8177 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
8178 multiarch implementations.
8179 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8180 (__libc_ifunc_impl_list): Likewise.
8181 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
8182 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
8183 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
8184 multiarch strcpy for PPC64.
8186 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
8187 redefine function name.
8188 (_wordcopy_fwd_dest_aligned): Likewise.
8189 (_wordcopy_bwd_aligned): Likewise.
8190 (_wordcopy_bwd_dest_aligned): Likewise.
8191 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
8192 multiarch implementations.
8193 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8194 (__libc_ifunc_impl_list): Likewise.
8195 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
8196 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
8197 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
8198 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
8199 multiarch wcscpy for PPC64.
8201 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
8202 multiarch implementations.
8203 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8204 (__libc_ifunc_impl_list): Likewise.
8205 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
8206 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
8207 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
8208 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
8209 multiarch wcscpy for PPC64.
8211 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
8212 multiarch implementations.
8213 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8214 (__libc_ifunc_impl_list): Likewise.
8215 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
8216 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
8217 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
8218 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
8219 multiarch wcsrchr for PPC64.
8221 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
8222 multiarch implementations.
8223 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8224 (__libc_ifunc_impl_list): Likewise.
8225 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
8226 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
8227 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
8228 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
8229 multiarch wcschr for PPC64.
8231 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
8232 multiarch implementations.
8233 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8234 (__libc_ifunc_impl_list): Likewise.
8235 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
8236 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
8237 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
8238 multiarch strchrnul for PPC64.
8240 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
8242 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8243 (__libc_ifunc_impl_list): Likewise.
8244 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
8245 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
8246 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
8247 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
8250 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
8252 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8253 (__libc_ifunc_impl_list): Likewise.
8254 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
8255 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
8256 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
8257 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
8260 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
8261 multiarch implementations.
8262 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8263 (__libc_ifunc_impl_list): Likewise.
8264 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
8265 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
8266 strncasecmp for PPC64.
8267 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
8268 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
8269 multiarch strncasecmp_l for PPC64.
8271 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
8272 multiarch implementations.
8273 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8274 (__libc_ifunc_impl_list): Likewise.
8275 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
8276 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
8277 multiarch strcasecmp for PPC64.
8278 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
8280 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
8281 multiarch strcasecmp_l for PPC64.
8283 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
8285 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8286 (__libc_ifunc_impl_list): Likewise.
8287 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
8288 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
8289 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
8292 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
8294 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8295 (__libc_ifunc_impl_list): Likewise.
8296 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
8297 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
8298 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
8301 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
8303 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8304 (__libc_ifunc_impl_list): Likewise.
8305 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
8306 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
8307 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
8308 rawmemrchr for PPC64.
8310 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
8312 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8313 (__libc_ifunc_impl_list): Likewise.
8314 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
8315 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
8316 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
8319 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
8321 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8322 (__libc_ifunc_impl_list): Likewise.
8323 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
8324 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
8325 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
8328 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
8330 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8331 (__libc_ifunc_impl_list): Likewise.
8332 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
8333 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
8334 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
8337 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
8338 avoid cretion of __bzero symbol.
8339 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
8341 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
8343 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
8345 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
8346 multiarch implementations.
8347 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8348 (__libc_ifunc_impl_list): Likewise.
8349 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
8350 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
8351 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
8352 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
8354 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
8355 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
8356 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
8357 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
8358 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
8360 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
8362 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
8363 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
8365 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8366 (__libc_ifunc_impl_list): Likewise.
8367 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
8368 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
8369 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
8370 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
8373 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
8374 multiarch for POWER/PPC64.
8375 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
8376 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
8377 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
8378 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
8379 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
8380 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
8381 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
8382 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
8383 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
8386 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
8387 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
8388 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
8389 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
8390 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
8391 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
8392 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
8393 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
8394 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
8395 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
8396 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
8397 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
8398 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
8399 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
8400 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
8401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
8402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
8403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
8404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
8405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
8406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
8407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
8409 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8411 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
8413 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8415 * benchtests/Makefile (bench): Add exp2 and log2.
8416 (LDLIBS-bench-exp2): Add -lm.
8417 (LDLIBS-bench-log2): Likewise.
8418 * benchtests/exp2-inputs: New inputs file.
8419 * benchtests/log2-inputs: New inputs file.
8420 * benchtests/log-inputs: Add new inputs.
8421 * benchtests/tan-inputs: Likewise.
8423 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8425 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
8427 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
8428 (csloww2): ... from here.
8430 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
8431 instead of structures.
8432 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
8433 (POLYNOMIAL): Likewise.
8434 (TAYLOR_SLOW): Likewise.
8442 (bsloww1): Likewise.
8443 (bsloww2): Likewise.
8446 (csloww1): Likewise.
8447 (csloww2): Likewise.
8449 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
8451 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
8452 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
8453 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
8454 * malloc/hooks.c (realloc_check): Likewise.
8456 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
8457 * malloc/arena.c: Remove PER_THREAD conditional.
8458 [!PER_THREAD]: Remove code.
8459 (ptmalloc_unlock_all2): Likewise.
8460 (ptmalloc_init): Likewise.
8461 (_int_new_arena): Likewise.
8462 (arena_get2): Likewise.
8463 * malloc/hooks.c (__malloc_get_state): Likewise.
8464 (__malloc_set_state): Likewise.
8465 * malloc/malloc.c: Likewise.
8466 (struct malloc_state): Likewise.
8467 (struct malloc_par): Likewise.
8468 (__libc_realloc): Likewise.
8469 (__libc_mallopt): Likewise.
8471 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8473 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
8475 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
8477 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
8478 macro to a function. Check for zero perturb_byte.
8479 (_int_malloc, _int_free): Remove zero perturb_byte checks.
8481 * malloc/malloc.c: (force_reg): Remove.
8482 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
8483 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
8484 force_reg by atomic_forced_read.
8485 * malloc/arena.c (ptmalloc_init): Likewise.
8486 * malloc/hooks.c (top_check): Likewise.
8488 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8490 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8492 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
8494 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8496 2013-12-08 Joseph Myers <joseph@codesourcery.com>
8498 * math/auto-libm-test-in: Add tests of lgamma.
8499 * math/auto-libm-test-out: Regenerated.
8500 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
8501 (M_LOG_2_SQRT_PIl): Likewise.
8502 (lgamma_test_data): Use AUTO_TESTS_f_f1.
8503 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8505 (func_calc_desc): Add mpfr_f_f1 union field.
8514 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
8515 (test_functions): Add lgamma.
8516 (calc_generic_results): Handle mpfr_f_f1.
8517 * sysdeps/i386/fpu/libm-test-ulps: Update.
8518 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8520 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8522 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
8523 __mpn_add_n for PowerPC64/POWER7.
8524 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
8525 __mpn_sub_n for PowerPC64/POWER7.
8527 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
8528 __mpn_addmul_1 for PowerPC64.
8529 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
8530 __mpn_submul_1 for PowerPC64.
8531 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
8533 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
8536 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
8539 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
8541 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8543 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
8545 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
8546 add multiarch folders.
8547 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
8548 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
8549 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
8550 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
8551 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
8552 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
8553 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
8554 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
8555 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
8556 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
8557 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
8558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
8559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
8560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
8561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
8562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
8563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
8565 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
8566 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
8567 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
8569 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
8571 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
8572 multiarch __ieee754_hypot for PowerPC32.
8573 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
8575 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
8577 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
8578 multiarch __ieee754_hypotf for PowerPC32.
8580 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
8581 long_double_symbol only if __logbl is defined.
8582 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
8583 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
8584 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
8585 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
8586 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
8587 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
8588 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
8589 path for implementation.
8590 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
8591 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
8592 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
8593 logb, and logbl multiarch implementations for PowerPC32.
8594 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
8596 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
8598 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
8599 multiarch logb for PowerPC32.
8600 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
8602 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
8604 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
8605 multiarch logbf for PowerPC32.
8606 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
8607 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
8609 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
8610 multiarch logbl implementation for PowerPC32.
8612 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
8613 and modff multiarch implementations.
8614 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
8616 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
8618 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
8619 multiarch modf for PowerPC32.
8620 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
8622 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
8624 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
8625 multiarch modff for PowerPC32.
8627 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
8628 and lrintf multiarch implementations.
8629 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
8631 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
8633 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
8634 multiarch lrint for PowerPC32.
8635 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
8636 file: multiarch lrintf for PowerPC32.
8638 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
8639 and lroundf multiarch implementations.
8640 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
8642 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
8644 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
8646 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
8647 multiarch lround for PowerPC32.
8648 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
8649 file: multiarch lroundf for PowerPC32.
8651 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
8652 copysign and copysignf multiarch implementations.
8653 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
8655 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
8657 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
8658 file: multiarch copysign for PowerPC32.
8659 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
8660 file: multiarch copysignf for PowerPC32.
8662 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
8663 and truncf multiarch implementations.
8664 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
8666 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
8668 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
8669 multiarch trunc for PowerPC32.
8670 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
8672 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
8674 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
8675 multiarch truncf for PowerPC32.
8677 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
8678 and roundf multiarch implementations.
8679 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
8681 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
8683 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
8684 multiarch round for PowerPC32.
8685 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
8687 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
8689 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
8690 multiarch roundf for PowerPC32.
8692 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
8693 and floorf multiarch implementations.
8694 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
8696 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
8698 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
8699 multiarch floor for PowerPC32.
8700 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
8702 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
8704 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
8705 multiarch floorf for PowerPC32.
8707 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
8708 and ceilf multiarch implementations.
8709 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
8711 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
8713 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
8714 multiarch ceil for PowerPC32.
8715 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
8717 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
8719 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
8720 multiarch ceilf for PowerPC32.
8722 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
8724 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
8726 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
8727 and finitef multiarch implementations.
8728 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
8730 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
8732 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
8733 multiarch finite for PowerPC32.
8734 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
8736 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
8737 file: multiarch finitef for PowerPC32.
8739 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
8740 and isinff multiarch implementations.
8741 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
8743 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
8745 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
8746 multiarch isinf for PowerPC32.
8747 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
8749 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
8750 multiarch isinff for PowerPC32.
8752 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
8753 alias when __isnan is defined.
8754 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
8755 and isnanf multiarch implementations.
8756 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
8758 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
8760 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
8762 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
8764 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
8765 multiarch isnan for PowerPC32.
8766 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
8768 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
8770 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
8771 multiarch isnanf for PowerPC32.
8773 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
8774 and sqrtf multiarch implementations.
8775 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
8777 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
8779 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
8780 multiarch sqrt for PowerPC32.
8781 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
8783 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
8785 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
8786 multiarch sqrtf for PowerPC32.
8788 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
8789 and llroundf multiarch implementations.
8790 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
8792 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
8794 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
8796 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
8797 file: multiarch llround for PowerPC32.
8798 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
8799 file: multiarch llroundf for PowerPC32.
8801 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
8802 multiarch PowerPC32 fpu implementations.
8803 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
8805 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
8807 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
8808 multiarch llrint for PowerPC32.
8809 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
8811 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
8813 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
8816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
8818 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
8820 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
8822 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
8824 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
8825 multiarch wordcopy for PPC32.
8826 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
8828 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8829 (__libc_ifunc_impl_list): Likewise.
8830 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
8831 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
8832 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
8833 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
8834 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
8835 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
8837 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
8838 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
8840 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
8842 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
8844 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
8845 multiarch wcscpy for PPC32.
8846 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
8848 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8849 (__libc_ifunc_impl_list): Likewise.
8850 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
8851 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
8852 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
8853 sysdeps/powerpc/power6/wcscpy.c.
8855 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
8856 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
8858 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
8860 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
8862 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
8863 multiarch wcsrchr for PPC32.
8864 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
8866 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8867 (__libc_ifunc_impl_list): Likewise.
8868 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
8869 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
8870 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
8871 sysdeps/powerpc/power6/wcsrchr.c.
8873 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
8875 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
8877 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
8878 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
8879 multiarch wcschr for PPc32.
8880 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
8882 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8883 (__libc_ifunc_impl_list): Likewise.
8884 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
8885 * sysdeps/powerpc/power6/wcschr.c: ... to here.
8886 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
8887 sysdeps/powerpc/power6/wcschr.c.
8889 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
8890 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
8892 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
8893 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
8894 file: multiarch strchr for PPC32.
8895 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
8897 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8898 (__libc_ifunc_impl_list): Likewise.
8900 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
8902 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
8904 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
8906 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
8907 multiarch strchrnul for PPC32.
8908 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
8910 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8911 (__libc_ifunc_impl_list): Likewise.
8913 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
8915 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
8916 multiarch strncasecmp for PPC32.
8917 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
8919 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
8920 multiarch strncasecmp_l for PPC32.
8921 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
8922 strncasecmp multiarch objects.
8923 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8924 (__libc_ifunc_impl_list): Likewise.
8926 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
8928 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
8929 multiarch strncasecmp for PPC32.
8930 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
8932 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
8933 multiarch strcasecmp_l for PPC32.
8934 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
8936 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8937 (__libc_ifunc_impl_list): Likewise.
8939 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
8941 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
8943 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
8944 multiarch strncmp for PPC32.
8945 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
8947 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8948 (__libc_ifunc_impl_list): Likewise.
8950 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
8951 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
8953 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
8954 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
8955 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
8957 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8958 (__libc_ifunc_impl_list): Likewise.
8960 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
8962 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
8964 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
8965 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
8967 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8968 (__libc_ifunc_impl_list): Likewise.
8970 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
8972 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
8974 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
8975 multiarch rawmemchr for PPC32.
8976 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
8978 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8979 (__libc_ifunc_impl_list): Likewise.
8981 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
8983 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
8985 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
8986 file: memrchr multiarch for PPC32.
8987 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
8989 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8990 (__libc_ifunc_impl_list): Likewise.
8992 * string/memchr.c (__memchr): Using macro to redefine symbol name.
8993 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
8995 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
8996 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
8997 multiarch memchr for PPC32.
8998 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
9000 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9001 (__libc_ifunc_impl_list): Likewise.
9003 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
9004 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
9006 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
9008 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
9009 file: multiarch mempcpy for PPC32.
9010 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
9012 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9013 (__libc_ifunc_impl_list): Likewise.
9015 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
9016 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
9017 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
9018 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
9019 multiarch bzero for PPC32.
9020 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
9022 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
9024 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
9025 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
9026 file: multiarch memset for PPC32.
9027 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
9028 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
9029 memset multiarch objects.
9030 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9031 (__libc_ifunc_impl_list): Likewise.
9033 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
9035 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
9036 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
9038 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
9039 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
9041 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9042 (__libc_ifunc_impl_list): Likewise.
9044 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
9045 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
9046 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
9048 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
9050 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
9052 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
9053 multiarch memcpy for PPC32.
9054 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
9056 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9057 (__libc_ifunc_impl_list): Likewise.
9059 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
9060 support multiarch for POWER/PPC32.
9061 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
9063 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
9064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
9065 Implies file to make multiarch folder appers before the fpu and
9066 default folder for power4 configuration.
9068 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9070 * scripts/bench.pl: Append volatile keyword to type.
9072 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9074 * sysdeps/sh/sotruss-lib.c: New file.
9075 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
9077 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9079 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9081 2013-12-05 Joseph Myers <joseph@codesourcery.com>
9084 * math/w_tgamma.c: Include <errno.h>.
9085 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
9086 * math/w_tgammaf.c: Include <errno.h>.
9087 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
9088 * math/w_tgammal.c: Include <errno.h>.
9089 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
9090 * math/auto-libm-test-in: Do not allow missing errno on tgamma
9091 underflow. Add more tgamma tests.
9092 * math/auto-libm-test-out: Regenerated.
9093 * sysdeps/i386/fpu/libm-test-ulps: Update.
9094 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9096 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
9097 sin, sinh, tan, tanh, tgamma, y0 and y1.
9098 * math/auto-libm-test-out: Regenerated.
9099 * math/libm-test.inc (TEST_COND_x86_64): New macro.
9100 (TEST_COND_x86): Likewise.
9101 (M_E2l): Remove macro.
9103 (M_2_SQRT_PIl): Likewise.
9104 (M_SQRT_PIl): Likewise.
9105 (M_1_DIV_El): Likewise.
9106 (log_test_data): Use AUTO_TESTS_f_f.
9107 (log10_test_data): Likewise.
9108 (log1p_test_data): Likewise.
9109 (log2_test_data): Likewise.
9110 (sin_test_data): Likewise.
9111 (sin_tonearest_test_data): Likewise.
9112 (sin_towardzero_test_data): Likewise.
9113 (sin_downward_test_data): Likewise.
9114 (sin_upward_test_data): Likewise.
9115 (sinh_test_data): Likewise.
9116 (sinh_tonearest_test_data): Likewise.
9117 (sinh_towardzero_test_data): Likewise.
9118 (sinh_downward_test_data): Likewise.
9119 (sinh_upward_test_data): Likewise.
9120 (tan_test_data): Likewise.
9121 (tan_tonearest_test_data): Likewise.
9122 (tan_towardzero_test_data): Likewise.
9123 (tan_downward_test_data): Likewise.
9124 (tan_upward_test_data): Likewise.
9125 (tanh_test_data): Likewise.
9126 (tgamma_test_data): Likewise.
9127 (y0_test_data): Likewise.
9128 (y1_test_data): Likewise.
9129 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
9130 (special_real_inputs): Add pi/4.
9131 * sysdeps/i386/fpu/libm-test-ulps: Update.
9132 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9134 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9136 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
9137 "longjmp_target" static probes.
9138 (__longjmp): Rename to __longjmp_symbol.
9139 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
9140 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
9141 on which longjmp to generate.
9142 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9143 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
9145 (__sigsetjmp): Rename to __sigsetjmp_symbol.
9146 (__sigjmp_save): Rename to __sigjmp_save_symbol.
9147 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
9148 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
9149 and __sigjmp_save_symbol based on which sigsetjmp to generated.
9150 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
9151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
9152 __longjmp_symbol based on which __longjmp to generate.
9153 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
9155 (setjmp): Rename to setjmp_symbol.
9156 (__sigsetjmp): Rename to __sigsetjmp_symbol.
9157 (_setjmp): Rename to _setjmp_symbol.
9158 (__sigsetjmp): Rename to __sigsetjmp_symbol.
9159 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
9160 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
9161 which setjmp to generate.
9162 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
9163 "longjmp_target" static probes.
9165 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9167 * benchtests/README: Add note about output arguments.
9168 * benchtests/bench-sincos.c: Remove file.
9169 * benchtests/sincos-inputs: New file.
9170 * scripts/bench.pl: Identify output arguments and define
9171 static variables for them.
9173 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
9176 * Makefile (INSTALL): Add install-plain.texi as the primary
9178 * manual/install-plain.texi: New file.
9179 * manual/install.texi: Include node directive only for
9180 non-plaintext output.
9182 2013-12-04 Joseph Myers <joseph@codesourcery.com>
9184 * stdlib/longlong.h: Update from GCC.
9188 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
9189 * math/w_j0f.c (y0f): Likewise.
9190 * math/w_j0l.c (__y0l): Likewise.
9191 * math/w_j1.c (y1): Likewise.
9192 * math/w_j1f.c (y1f): Likewise.
9193 * math/w_j1l.c (__y1l): Likewise
9194 * math/w_jn.c (yn): Likewise.
9195 * math/w_jnf.c (ynf): Likewise.
9196 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
9197 Bessel function pole errors in _POSIX_ mode. Use NAN as return
9198 value for Bessel function domain errors outside _SVID_ mode.
9199 Adjust sign of return value for yn (negative integer, 0).
9200 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
9201 by zero in return for negative x and set sign appropriately for
9203 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
9204 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
9205 * math/libm-test.inc (y0_test_data): Add more tests and adjust
9206 expectations in error cases.
9207 (y1_test_data): Likewise.
9208 (yn_test_data): Likewise.
9209 * sysdeps/i386/fpu/libm-test-ulps: Update.
9210 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9212 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9214 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
9215 "64" to "64-v1". Add "64-v2".
9216 (abi-64-options): Rename to ...
9217 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
9218 (abi-64-condition): Rename to ...
9219 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
9220 (abi-64-ld-soname): Rename to ...
9221 (abi-64-v1-ld-soname): ... this.
9222 (abi-64-v2-options): Define.
9223 (abi-64-v2-condition): Likewise.
9224 (abi-64-v2-ld-soname): Likewise.
9225 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
9226 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
9227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
9228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
9229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
9231 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9232 Alan Modra <amodra@gmail.com>
9234 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
9235 New versions for use with the ELFv2 ABI.
9236 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
9237 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
9239 (struct La_ppc64v2_retval): Likewise.
9240 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
9241 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
9242 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
9243 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
9244 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
9245 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
9246 Do not save or restore CR.
9247 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
9248 (_dl_profile_resolve): Do no save or restore CR. Support extended
9249 return values for ELFv2 ABI. Fix location of FPR return registers.
9250 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
9251 updated values for _CALL_ELF == 2.
9252 (La_regs, La_retval, int_retval): Likewise.
9254 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9256 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
9257 (FRAME_MIN_SIZE_PARM): Likewise.
9258 (FRAME_BACKCHAIN): Likewise.
9259 (FRAME_CR_SAVE): Likewise.
9260 (FRAME_LR_SAVE): Likewise.
9261 (FRAME_TOC_SAVE): Likewise.
9262 (FRAME_PARM_SAVE): Likewise.
9263 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
9264 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
9265 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
9266 (call_mcount_parm_offset): New macro.
9267 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
9268 (PROF): Use symbolic stack frame offsets.
9269 (TAIL_CALL_SYSCALL_ERROR): Likewise.
9270 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
9271 Redefine in terms of FRAME_MIN_SIZE.
9272 (_dl_runtime_resolve): Use symbolic stack frame offsets.
9273 (_dl_profile_resolve): Likewise. Update comment.
9274 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
9275 symbols stack frame offsets.
9276 (__sigsetjmp): Likewise.
9277 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
9278 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
9279 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
9280 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
9282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
9283 (FRAME_BACKCHAIN): Remove.
9284 (FRAME_CR_SAVE): Likewise.
9285 (FRAME_LR_SAVE): Likewise.
9286 (FRAME_COMPILER_DW): Likewise.
9287 (FRAME_LINKER_DW): Likewise.
9288 (FRAME_TOC_SAVE): Likewise.
9289 (FRAME_PARM_SAVE): Likewise.
9290 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
9291 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
9292 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
9293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
9294 (CHECK_SP): Use symbolic stack frame offsets.
9295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
9296 zone" instead of caller's parameter save area for temp storage.
9297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
9298 Likewise. Also, use symbolic stack frame offsets.
9299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
9300 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
9301 our own stack frame instead of the caller's.
9302 (__socket): Use symbolic stack frame offsets.
9304 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9305 Alan Modra <amodra@gmail.com>
9307 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
9309 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
9310 (PPC64_LOCAL_ENTRY_OFFSET): Define.
9311 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
9313 (elf_machine_fixup_plt): Call it.
9314 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
9316 (elf_machine_rela): Update call to elf_machine_plt_conflict.
9317 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
9318 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
9319 r2 before calling target.
9321 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9322 Alan Modra <amodra@gmail.com>
9324 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
9325 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
9326 versions of macros to support ELFv2 ABI.
9327 (LOCALENTRY): New macro.
9328 (ENTRY, EALIGN): Use it.
9329 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
9330 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
9331 fall through into ENTRY entry point.
9332 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
9333 Only define if _CALL_ELF != 2.
9335 (elf_machine_matches_host): Verify ABI version matches.
9336 (RTLD_START): Use LOCALENTRY.
9337 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
9338 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
9339 (PLT_ENTRY_WORDS): New macro.
9340 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
9341 (elf_machine_runtime_setup): Support ELFv2 ABI.
9342 (elf_machine_fixup_plt): Likewise.
9343 (elf_machine_plt_conflict): Likewise.
9344 (resolve_ifunc): Likewise.
9345 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
9346 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
9348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
9349 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
9350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
9351 (makecontext): Support ELFv2 ABI.
9352 * elf/elf.h (EF_PPC64_ABI): Define.
9354 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9356 * sysdeps/powerpc/powerpc64/sysdep.h
9357 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
9358 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
9359 (ENTRY) [ASSEMBLER]: ... but instead here ...
9360 (EALIGN) [ASSEMBLER]: ... and here.
9361 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
9362 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
9363 (ENTRY_2) [!ASSEMBLER]: Use it.
9364 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
9365 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
9366 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
9367 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
9368 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
9369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
9370 Use PPC64_LOAD_FUNCPTR.
9372 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
9374 2013-12-04 Alan Modra <amodra@gmail.com>
9376 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
9377 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
9378 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
9379 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
9381 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
9382 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
9383 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
9384 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
9385 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
9386 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
9388 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
9391 (__makecontext): Fix incorrect CFI when backtracing out of
9392 context created via makecontext.
9393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
9394 (__setcontext): Fix incorrect CFI during switch to new context.
9395 (__novec_setcontext): Likewise.
9397 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
9400 * time/strptime_l.c (__strptime_internal): Allow modifiers
9402 * time/tst-strptime.c (day_tests): Add testcase.
9404 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9406 * scripts/bench.pl: Skip over blank lines.
9408 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
9411 * manual/time.texi (Calendar Time): Clarify what timezone functions
9414 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9416 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9418 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
9420 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
9422 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
9423 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
9424 * debug/memset_chk.c (__memset_chk): Likewise.
9425 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
9426 * debug/strncpy_chk.c: Likewise.
9428 2013-12-03 Joseph Myers <joseph@codesourcery.com>
9432 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
9433 (__ieee754_exp): For possibly underflowing results, check size of
9434 result and force underflow exception if required.
9435 * math/auto-libm-test-in: Add more tests of exp.
9436 * math/auto-libm-test-out: Regenerated.
9437 * sysdeps/i386/fpu/libm-test-ulps: Update.
9438 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9441 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
9442 * math/w_exp2f.c (__exp2f): Likewise.
9443 * math/w_exp2l.c (__exp2l): Likewise.
9444 * math/auto-libm-test-in: Do not allow missing errno on exp2
9446 * math/auto-libm-test-out: Regenerated.
9448 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
9451 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
9452 handle filename validation.
9453 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
9456 2013-12-03 Joseph Myers <joseph@codesourcery.com>
9459 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
9460 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
9461 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
9463 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
9464 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
9465 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
9466 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
9467 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
9468 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
9469 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
9470 * math/auto-libm-test-in: Don't allow missing errno from erfc.
9471 Add more erfc tests.
9472 * math/auto-libm-test-out: Regenerated.
9473 * sysdeps/i386/fpu/libm-test-ulps: Update.
9474 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9476 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
9477 exp2, expm1, j0 and j1.
9478 * math/auto-libm-test-out: Regenerated.
9479 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
9480 (erfc_test_data): Likewise.
9481 (exp_test_data): Likewise.
9482 (exp_tonearest_test_data): Likewise.
9483 (exp_towardzero_test_data): Likewise.
9484 (exp_downward_test_data): Likewise.
9485 (exp_upward_test_data): Likewise.
9486 (exp10_test_data): Likewise.
9487 (exp2_test_data): Likewise.
9488 (expm1_test_data): Likewise.
9489 (j0_test_data): Likewise.
9490 (j1_test_data): Likewise.
9491 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
9492 (input_flag_type): Add flag_xfail_rounding.
9493 (input_flags): Add xfail-rounding.
9494 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
9495 (output_for_one_input_case): Handle flag_xfail_rounding.
9496 * sysdeps/i386/fpu/libm-test-ulps: Update.
9497 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9499 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
9502 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
9505 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
9508 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
9509 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
9510 (STAP_PROBE0): New macro.
9511 (STAP_PROBE1): Likewise.
9512 (STAP_PROBE2): Likewise.
9513 (STAP_PROBE3): Likewise.
9514 (STAP_PROBE4): Likewise.
9516 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
9518 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
9520 2013-12-02 Steve Ellcey <sellcey@mips.com>
9522 * benchtests/Makefile (bench): Add sqrt.
9523 (LDLIBS-bench-sqrt): New.
9524 * benchtests/sqrt-input: New.
9526 2013-12-02 Pavel Simerda <psimerda@redhat.com>
9528 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
9529 (GAIH_EAI): Likewise.
9530 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
9531 (gaih_inet): Likewise.
9532 (getaddrinfo): Don't use GAIH_EAI.
9534 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
9535 (struct gaih): Remove definition.
9537 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9539 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
9540 Use HERRNOP directly.
9542 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9544 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9546 2013-11-30 Joseph Myers <joseph@codesourcery.com>
9548 * math/gen-auto-libm-tests.c (test_functions): Add more
9549 single-argument functions.
9550 (special_fill_pi_2): New function.
9551 (special_fill_minus_pi_2): Likewise.
9552 (special_fill_pi_6): Likewise.
9553 (special_fill_minus_pi_6): Likewise.
9554 (special_fill_pi_3): Likewise.
9555 (special_fill_2pi_3): Likewise.
9556 (special_fill_e): Likewise.
9557 (special_fill_1_e): Likewise.
9558 (special_fill_e_minus_1): Likewise.
9559 (special_real_inputs): Add more special inputs.
9560 (output_for_one_input_case): Do not require ERANGE on underflow to
9561 zero if round-to-nearest result does not underflow to zero, unless
9562 exact results required.
9563 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
9564 atan, atanh, cbrt, cos and cosh.
9565 * math/auto-libm-test-out: Regenerated.
9566 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
9567 (acos_tonearest_test_data): Likewise.
9568 (acos_towardzero_test_data): Likewise.
9569 (acos_downward_test_data): Likewise.
9570 (acos_upward_test_data): Likewise.
9571 (acosh_test_data): Likewise.
9572 (asin_test_data): Likewise.
9573 (asin_tonearest_test_data): Likewise.
9574 (asin_towardzero_test_data): Likewise.
9575 (asin_upward_test_data): Likewise.
9576 (asinh_test_data): Likewise.
9577 (atan_test_data): Likewise.
9578 (atanh_test_data): Likewise.
9579 (cbrt_test_data): Likewise.
9580 (cos_test_data): Likewise.
9581 (cos_tonearest_test_data): Likewise.
9582 (cos_towardzero_test_data): Likewise.
9583 (cos_downward_test_data): Likewise.
9584 (cos_upward_test_data): Likewise.
9585 (cosh_test_data): Likewise.
9586 (cosh_tonearest_test_data): Likewise.
9587 (cosh_towardzero_test_data): Likewise.
9588 (cosh_downward_test_data): Likewise.
9589 (cosh_upward_test_data): Likewise.
9590 * sysdeps/i386/fpu/libm-test-ulps: Update.
9591 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9593 2013-11-29 Joseph Myers <joseph@codesourcery.com>
9596 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
9597 * math/w_exp10f.c (__exp10f): Likewise.
9598 * math/w_exp10l.c (__exp10l): Likewise.
9599 * math/libm-test.inc (exp10_test_data): Add more tests and expect
9600 errno settings in existing tests.
9603 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
9604 precision control set to double precision.
9605 * sysdeps/i386/fpu/w_sqrt.c: New file.
9606 * math/auto-libm-test-in: Add more tests.
9607 * math/auto-libm-test-out: Update.
9609 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
9610 (sqrt_test_tonearest): New function.
9611 (sqrt_towardzero_test_data): New variable.
9612 (sqrt_test_towardzero): New function.
9613 (sqrt_downward_test_data): New variable.
9614 (sqrt_test_downward): New function.
9615 (sqrt_upward_test_data): New variable.
9616 (sqrt_test_upward): New function.
9617 (main): Call the new functions.
9619 * math/gen-auto-libm-tests.c: New file.
9620 * math/auto-libm-test-in: Likewise.
9621 * math/auto-libm-test-out: New generated file.
9622 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
9624 (%beautify): Add generated representations of zero.
9625 (top level): Set $auto_input and call parse_auto_input.
9626 (beautify): Remove trailing "f" from hex float constants.
9627 (parse_args): Handle XFAIL_TEST.
9628 (convert_condition): New function.
9629 (or_value): Likewise.
9630 (or_cond_value): Likewise.
9631 (generate_testfile): Handle AUTO_TESTS_* lines.
9632 (parse_auto_input): New function.
9633 * math/libm-test.inc (XFAIL_TEST): New macro.
9634 (ERRNO_UNCHANGED): Update value.
9635 (ERRNO_EDOM): Likewise.
9636 (ERRNO_ERANGE): Likewise.
9637 (IGNORE_RESULT): Likewise.
9638 (TEST_COND_flt_32): New macro.
9639 (TEST_COND_dbl_64): Likewise.
9640 (TEST_COND_ldbl_96_intel): Likewise.
9641 (TEST_COND_ldbl_96_m68k): Likewise.
9642 (TEST_COND_ldbl_128): Likewise.
9643 (TEST_COND_ldbl_128ibm): Likewise.
9644 (TEST_COND_long32): Likewise.
9645 (TEST_COND_long64): Likewise.
9646 (TEST_COND_before_rounding): Likewise.
9647 (TEST_COND_after_rounding): Likewise.
9648 (enable_test): Handle XFAIL_TEST flag.
9649 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
9650 with finite results.
9651 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
9654 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9655 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9658 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
9659 __tls_get_addr_internal instead of __tls_get_offset in order to
9660 avoid GOT pointer dependency. Make rtld export
9661 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
9662 __tls_get_addr since we are a __tls_get_offset platform.
9663 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
9664 GOT pointer being set up before.
9665 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
9667 2013-11-28 Joseph Myers <joseph@codesourcery.com>
9669 * manual/math.texi (Errors in Math Functions): Document accuracy
9673 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
9674 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
9675 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9676 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9677 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9678 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9679 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9680 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
9681 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
9682 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9683 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9684 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9685 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9686 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9687 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
9688 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
9690 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
9691 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
9692 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
9693 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
9694 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
9696 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
9698 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
9700 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
9701 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
9702 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
9703 atomic-feupdateenv and flt-rounds.
9704 * sysdeps/powerpc/nofpu/Versions (libc): Add
9705 __atomic_feholdexcept, __atomic_feclearexcept,
9706 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
9707 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
9708 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
9709 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
9710 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
9712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
9715 * manual/arith.texi (FP Exceptions): Document that exceptions may
9716 not be raised when matherr is used.
9717 (Math Error Reporting): Document overflow in directed rounding
9718 modes. Document that errno may not be set when finite values are
9719 returned on overflow. Document intent to set errno on underflow
9720 only for underflow to zero.
9723 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
9724 round-to-nearest then adjust result for other rounding modes.
9725 * include/fenv.h (fegetround): Use libm_hidden_proto.
9726 * math/fegetround.c (fegetround): Use libm_hidden_def.
9727 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
9728 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
9729 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
9730 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
9732 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
9733 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
9734 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
9735 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
9737 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9740 * nss/Versions (libnss_files): Add
9741 _nss_files_gethostbyname3_r.
9742 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
9744 (HOST_DB_LOOKUP): Remove macro.
9745 (_nss_files_gethostbyname_r): Implement function without the
9746 HOST_DB_LOOKUP macro.
9747 (_nss_files_gethostbyname2_r): Likewise.
9749 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
9751 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
9753 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
9755 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
9756 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
9759 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9761 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
9762 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
9763 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
9764 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
9765 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
9766 __fe_nomask_env_priv and attribute_hidden.
9767 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
9768 (libc_feupdateenv_test_ppc): Likewise.
9769 (libc_feresetround_ppc): Likewise.
9770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9771 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
9772 compat_symbol macro.
9773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9774 (__fe_nomask_env): Likewise.
9775 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
9777 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
9779 * string/Makefile: Remove ifunc tests.
9780 * string/test-string.h: Define TEST_IFUNC.
9781 * string/test-bcopy-ifunc.c: Remove.
9782 * string/test-bzero-ifunc.c: Likewise.
9783 * string/test-memccpy-ifunc.c: Likewise.
9784 * string/test-memchr-ifunc.c: Likewise.
9785 * string/test-memcmp-ifunc.c: Likewise.
9786 * string/test-memcpy-ifunc.c: Likewise.
9787 * string/test-memmem-ifunc.c: Likewise.
9788 * string/test-memmove-ifunc.c: Likewise.
9789 * string/test-mempcpy-ifunc.c: Likewise.
9790 * string/test-memrchr-ifunc.c: Likewise.
9791 * string/test-memset-ifunc.c: Likewise.
9792 * string/test-rawmemchr-ifunc.c: Likewise.
9793 * string/test-stpcpy-ifunc.c: Likewise.
9794 * string/test-stpncpy-ifunc.c: Likewise.
9795 * string/test-strcasecmp-ifunc.c: Likewise.
9796 * string/test-strcasestr-ifunc.c: Likewise.
9797 * string/test-strcat-ifunc.c: Likewise.
9798 * string/test-strchr-ifunc.c: Likewise.
9799 * string/test-strchrnul-ifunc.c: Likewise.
9800 * string/test-strcmp-ifunc.c: Likewise.
9801 * string/test-strcpy-ifunc.c: Likewise.
9802 * string/test-strcspn-ifunc.c: Likewise.
9803 * string/test-strlen-ifunc.c: Likewise.
9804 * string/test-strncasecmp-ifunc.c: Likewise.
9805 * string/test-strncat-ifunc.c: Likewise.
9806 * string/test-strncmp-ifunc.c: Likewise.
9807 * string/test-strncpy-ifunc.c: Likewise.
9808 * string/test-strnlen-ifunc.c: Likewise.
9809 * string/test-strpbrk-ifunc.c: Likewise.
9810 * string/test-strrchr-ifunc.c: Likewise.
9811 * string/test-strspn-ifunc.c: Likewise.
9812 * string/test-strstr-ifunc.c: Likewise.
9814 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
9816 * benchtests/Makefile: Remove ifunc tests.
9817 * benchtests/bench-string.h: Define TEST_IFUNC.
9818 * benchtests/bench-bcopy-ifunc.c: Remove.
9819 * benchtests/bench-bzero-ifunc.c: Likewise.
9820 * benchtests/bench-memccpy-ifunc.c: Likewise.
9821 * benchtests/bench-memchr-ifunc.c: Likewise.
9822 * benchtests/bench-memcmp-ifunc.c: Likewise.
9823 * benchtests/bench-memcpy-ifunc.c: Likewise.
9824 * benchtests/bench-memmem-ifunc.c: Likewise.
9825 * benchtests/bench-memmove-ifunc.c: Likewise.
9826 * benchtests/bench-mempcpy-ifunc.c: Likewise.
9827 * benchtests/bench-memrchr-ifunc.c: Likewise.
9828 * benchtests/bench-memset-ifunc.c: Likewise.
9829 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
9830 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
9831 * benchtests/bench-stpcpy-ifunc.c: Likewise.
9832 * benchtests/bench-stpncpy-ifunc.c: Likewise.
9833 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
9834 * benchtests/bench-strcasestr-ifunc.c: Likewise.
9835 * benchtests/bench-strcat-ifunc.c: Likewise.
9836 * benchtests/bench-strchr-ifunc.c: Likewise.
9837 * benchtests/bench-strchrnul-ifunc.c: Likewise.
9838 * benchtests/bench-strcmp-ifunc.c: Likewise.
9839 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
9840 * benchtests/bench-strcpy-ifunc.c: Likewise.
9841 * benchtests/bench-strcspn-ifunc.c: Likewise.
9842 * benchtests/bench-strlen-ifunc.c: Likewise.
9843 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
9844 * benchtests/bench-strncat-ifunc.c: Likewise.
9845 * benchtests/bench-strncmp-ifunc.c: Likewise.
9846 * benchtests/bench-strncpy-ifunc.c: Likewise.
9847 * benchtests/bench-strnlen-ifunc.c: Likewise.
9848 * benchtests/bench-strpbrk-ifunc.c: Likewise.
9849 * benchtests/bench-strrchr-ifunc.c: Likewise.
9850 * benchtests/bench-strsep-ifunc.c: Likewise.
9851 * benchtests/bench-strspn-ifunc.c: Likewise.
9852 * benchtests/bench-strstr-ifunc.c: Likewise.
9854 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
9856 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
9858 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
9860 * resolv/netdb.h: Use __glibc_reserved instead __unused.
9861 * rt/aio.h: Likewise.
9862 * sysdeps/gnu/bits/utmp.h: Likewise.
9863 * sysdeps/gnu/bits/utmpx.h: Likewise.
9864 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
9865 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
9866 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
9867 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
9868 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
9869 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
9870 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
9871 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
9872 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
9873 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
9874 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
9875 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
9876 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
9877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
9878 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
9879 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
9880 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
9881 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
9882 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
9883 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
9884 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
9885 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
9886 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
9887 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
9888 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
9889 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9890 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
9891 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
9892 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
9893 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
9894 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
9895 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
9896 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
9897 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
9898 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
9899 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
9900 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
9901 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
9902 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
9903 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
9904 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
9905 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
9907 2013-11-25 Carlos O'Donell <carlos@redhat.com>
9910 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
9911 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
9913 2013-11-25 Joseph Myers <joseph@codesourcery.com>
9915 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
9916 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
9919 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9921 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
9922 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
9923 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
9924 (__fesetround): Remove define.
9925 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
9926 rounding and exceptions handling.
9927 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
9928 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
9929 (__fe_nomask_env): Likewise.
9930 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
9931 __fegetround instead of fegetround.
9932 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
9933 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
9935 2013-11-21 Roland McGrath <roland@hack.frob.com>
9937 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
9940 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
9942 2013-11-21 Meador Inge <meadori@codesourcery.com>
9945 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
9946 (encrypt_r): Likewise.
9947 * malloc/obstack.h (obstack_free): Likewise.
9948 * posix/unistd.h (encrypt): Likewise.
9950 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
9952 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
9953 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
9954 DL_CALL_DT_FINI() that call the functions directly.
9955 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
9956 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
9957 * elf/dl-fini.c: Likewise.
9959 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
9961 * malloc/hooks.c (memalign_check): Add alignment rounding.
9962 * malloc/malloc.c (_mid_memalign): New function.
9963 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
9964 Implement by calling _mid_memalign.
9965 * manual/probes.texi (Memory Allocation Probes): Remove
9966 memory_valloc_retry and memory_pvalloc_retry.
9968 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
9970 * locale/programs/locarchive.c (open_archive): Add const
9971 qualifier to ARCHIVEFNAME and copy default fname to
9975 * libio/tst-widetext.input: Rename Oriya to Odia.
9976 * locale/iso-639.def: Likewise.
9978 * manual/probes.texi (Mathematical Function Probes): Add
9979 documentation for sin, cos, asin and acos probes.
9980 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
9981 (__sin32): Add slowasin probe.
9982 (__cos32): Add slowacos probe.
9983 (__mpsin): Add slowsin probe.
9984 (__mpcos): Add slowcos probe.
9986 2013-11-19 Joseph Myers <joseph@codesourcery.com>
9989 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
9990 thread-local __sim_exceptions_thread and global
9991 __sim_exceptions_global.
9992 (__sim_disabled_exceptions): Change to thread-local
9993 __sim_disabled_exceptions_thread and global
9994 __sim_disabled_exceptions_global.
9995 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
9996 and global __sim_round_mode_global.
9997 (__simulate_exceptions): Use thread-local floating-point state and
9998 set global state from it as needed.
9999 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
10000 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
10001 __sim_round_mode_thread.
10002 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
10003 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
10004 and global __sim_exceptions_global.
10005 (__sim_disabled_exceptions): Change to thread-local
10006 __sim_disabled_exceptions_thread and global
10007 __sim_disabled_exceptions_global.
10008 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
10009 and global __sim_round_mode_global.
10010 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
10011 (SIM_SET_GLOBAL): Likewise.
10012 * sysdeps/powerpc/soft-fp/sfp-machine.h
10013 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
10014 __sim_round_mode_thread.
10015 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
10016 __sim_disabled_exceptions_thread.
10017 (__sim_exceptions): Change to __sim_exceptions_thread.
10018 (__sim_disabled_exceptions): Change to
10019 __sim_disabled_exceptions_thread.
10020 (__sim_round_mode): Change to __sim_round_mode_thread.
10021 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
10022 thread-local floating-point state and set global state from it as
10024 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
10025 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
10026 (__sim_disabled_exceptions): Remove extern declaration.
10027 (feenableexcept): Use thread-local floating-point state and set
10028 global state from it as needed.
10029 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
10030 extern declaration.
10031 (__sim_disabled_exceptions): Likewise.
10032 (__sim_round_mode): Likewise.
10033 (__fegetenv): Use thread-local floating-point state.
10034 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
10035 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
10036 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
10037 floating-point state and set global state from it as needed.
10038 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
10039 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
10040 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
10042 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
10043 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
10045 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
10046 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
10047 Use __sim_round_mode_thread.
10048 * math/test-fenv-tls.c: New file.
10049 * math/Makefile (tests): Add test-fenv-tls.
10050 ($(objpfx)test-fenv-tls): Depend on
10051 $(common-objpfx)nptl/libpthread.so.
10053 2013-11-19 Andreas Schwab <schwab@suse.de>
10055 * locale/programs/locale.c (show_info): Decode wordarray elements.
10056 * locale/categories.def (LC_MONETARY): Add element for
10057 _NL_MONETARY_CRNCYSTR.
10058 * locale/C-monetary.c (conversion_rate): New variable.
10059 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
10062 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
10064 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
10065 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
10067 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
10069 * elf/Makefile (tst-auxv): New test.
10070 * elf/tst-auxv.c: New
10071 * elf/rtld.c (dl_main): Adjust AT_EXECFN
10073 2013-11-18 Joseph Myers <joseph@codesourcery.com>
10075 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
10076 (hidden_proto): Caller changed.
10077 (hidden_tls_proto): New macro.
10078 (libc_hidden_tls_proto): Likewise.
10079 (rtld_hidden_tls_proto): Likewise.
10080 (libm_hidden_tls_proto): Likewise.
10081 (libresolv_hidden_tls_proto): Likewise.
10082 (librt_hidden_tls_proto): Likewise.
10083 (libdl_hidden_tls_proto): Likewise.
10084 (libnss_files_hidden_tls_proto): Likewise.
10085 (libnsl_hidden_tls_proto): Likewise.
10086 (libnss_nisplus_hidden_tls_proto): Likewise.
10087 (libutil_hidden_tls_proto): Likewise.
10089 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
10092 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
10093 (decompose_rpath): Defer expansion to fillin_rpath.
10094 (_dl_init_paths): Pass linkmap to fillin_rpath.
10096 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10098 * benchtests/Makefile: Add strsep.
10099 * benchtests/bench-strsep.c: New file: strsep benchtest.
10100 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
10102 2013-11-18 Andreas Schwab <schwab@suse.de>
10104 * locale/programs/locale.c (show_info) [case byte]: Check for
10105 '\377' instead of '\177'.
10106 * locale/C-monetary.c (not_available): Always use "\377".
10107 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
10108 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
10109 detect unavailable sign_posn locale elements.
10110 * locale/localeconv.c (__localeconv): For grouping and
10111 mon_grouping handle "\177" and "\377" like no grouping.
10112 (INT_ELEM): New macro. Use it to set all numeric members.
10113 * locale/programs/ld-monetary.c (monetary_read)
10114 <tok_mon_grouping>: Normalize single -1 to the empty string.
10115 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
10118 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
10121 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
10122 when we match (nil).
10123 * stdio-common/tst-sscanf.c (struct test): Add testcase.
10125 2013-11-16 Joseph Myers <joseph@codesourcery.com>
10127 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
10128 (NO_TEST_INLINE): Update value.
10129 (ERRNO_UNCHANGED): Likewise.
10130 (ERRNO_EDOM): Likewise.
10131 (ERRNO_ERANGE): Likewise.
10132 (IGNORE_RESULT): Likewise.
10133 (check_float_internal): Check signs of NaN results if
10134 TEST_NAN_SIGN used.
10135 (check_complex): Pass TEST_NAN_SIGN flag through to second
10136 check_float_internal call.
10137 (copysign_test_data): Add tests with quiet NaNs as second
10138 argument. Use TEST_NAN_SIGN.
10139 (fabs_test_data): Add test of negative quiet NaN argument. Use
10141 (signbit_test_data): Add tests of quiet NaN argument.
10142 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
10144 * math/gen-libm-test.pl (show_exceptions): Take extra argument
10146 (parse_args): Handle function results specified as IGNORE.
10147 * math/libm-test.inc (IGNORE_RESULT): New macro.
10148 (check_float_internal): Do not check numerical result if flag
10150 (check_complex): Pass through IGNORE_RESULT to second
10151 check_float_internal call.
10152 (check_int): Do not check numerical result if flag IGNORE_RESULT
10154 (check_long): Likewise.
10155 (check_bool): Likewise.
10156 (check_longlong): Likewise.
10157 (lrint_test_data): Add tests of infinite and NaN arguments.
10158 (lrint_tonearest_test_data): Likewise.
10159 (lrint_towardzero_test_data): Likewise.
10160 (lrint_downward_test_data): Likewise.
10161 (lrint_upward_test_data): Likewise.
10162 (llrint_test_data): Likewise.
10163 (llrint_tonearest_test_data): Likewise.
10164 (llrint_towardzero_test_data): Likewise.
10165 (llrint_downward_test_data): Likewise.
10166 (llrint_upward_test_data): Likewise.
10167 (lround_test_data): Likewise.
10168 (llround_test_data): Likewise.
10170 * math/libm-test.inc (NO_TEST_INLINE): New macro.
10171 (ERRNO_UNCHANGED): Update value.
10172 (ERRNO_EDOM): Likewise.
10173 (ERRNO_ERANGE): Likewise.
10174 (NO_TEST_INLINE_FLOAT): New macro.
10175 (NO_TEST_INLINE_DOUBLE): Likewise.
10176 (enable_test): New function.
10177 (RUN_TEST_f_f): Check enable_test before running test.
10178 (RUN_TEST_2_f): Likewise.
10179 (RUN_TEST_fff_f): Likewise.
10180 (RUN_TEST_c_f): Likewise.
10181 (RUN_TEST_f_f1): Likewise.
10182 (RUN_TEST_fF_f1): Likewise.
10183 (RUN_TEST_fI_f1): Likewise.
10184 (RUN_TEST_ffI_f1): Likewise.
10185 (RUN_TEST_c_c): Likewise.
10186 (RUN_TEST_cc_c): Likewise.
10187 (RUN_TEST_f_i): Likewise.
10188 (RUN_TEST_f_i_tg): Likewise.
10189 (RUN_TEST_ff_i_tg): Likewise.
10190 (RUN_TEST_f_b): Likewise.
10191 (RUN_TEST_f_b_tg): Likewise.
10192 (RUN_TEST_f_l): Likewise.
10193 (RUN_TEST_f_L): Likewise.
10194 (RUN_TEST_fFF_11): Likewise.
10195 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
10197 (cosh_test_data): Likewise.
10198 (exp_test_data): Likewise.
10199 (expm1_test_data): Likewise.
10200 (hypot_test_data): Likewise.
10201 (pow_test_data): Likewise.
10202 (sinh_test_data): Likewise.
10203 (tanh_test_data): Likewise.
10204 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
10207 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
10208 tests with quiet NaN input and output.
10209 (acosh_test_data): Likewise.
10210 (asin_test_data): Likewise.
10211 (asinh_test_data): Likewise.
10212 (atan_test_data): Likewise.
10213 (atanh_test_data): Likewise.
10214 (atan2_test_data): Likewise.
10215 (cbrt_test_data): Likewise.
10216 (cos_test_data): Likewise.
10217 (cosh_test_data): Likewise.
10218 (erf_test_data): Likewise.
10219 (erfc_test_data): Likewise.
10220 (exp_test_data): Likewise.
10221 (exp10_test_data): Likewise.
10222 (exp2_test_data): Likewise.
10223 (expm1_test_data): Likewise.
10224 (hypot_test_data): Likewise.
10225 (j0_test_data): Likewise.
10226 (j1_test_data): Likewise.
10227 (jn_test_data): Likewise.
10228 (lgamma_test_data): Likewise.
10229 (log_test_data): Likewise.
10230 (log10_test_data): Likewise.
10231 (log1p_test_data): Likewise.
10232 (log2_test_data): Likewise.
10233 (pow_test_data): Likewise.
10234 (scalb_test_data): Likewise.
10235 (sin_test_data): Likewise.
10236 (sincos_test_data): Likewise.
10237 (sinh_test_data): Likewise.
10238 (tan_test_data): Likewise.
10239 (tanh_test_data): Likewise.
10240 (tgamma_test_data): Likewise.
10241 (y0_test_data): Likewise.
10242 (y1_test_data): Likewise.
10243 (yn_test_data): Likewise.
10246 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
10247 argument being NaN and avoid computations with second argument in
10249 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
10250 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
10251 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
10253 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
10255 * locale/iso-639.def: Add Chitwani Tharu (the).
10257 2013-11-14 Andreas Schwab <schwab@suse.de>
10259 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
10260 word instead of empty string.
10262 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10265 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
10266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10267 (__fe_nomask_env): Likewise.
10269 2013-11-13 Steve Ellcey <sellcey@mips.com>
10271 * benchtests/bench-timing.h: Include time.h.
10273 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
10276 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
10278 * sysdeps/unix/sysv/linux/configure: Regenerated.
10280 2013-11-13 Joseph Myers <joseph@codesourcery.com>
10283 * stdlib/strtod_l.c (round_and_return): Do not consider
10284 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
10285 exponent one less than half the least subnormal exponent.
10286 * stdlib/test-strtod-round-data: Add more tests.
10287 * stdlib/tst-strtod-round.c (tests): Regenerated.
10289 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10292 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
10293 (__fe_mask_env): Likewise.
10294 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
10295 libm_hidden_proto and add function prototype.
10296 (__fe_mask_env): Add function prototype.
10297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10298 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
10299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
10300 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
10301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10302 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
10304 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10306 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
10307 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
10309 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10311 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
10312 of htab_find_slot().
10314 2013-11-11 David S. Miller <davem@davemloft.net>
10317 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
10318 symbol in the non-vis3 case in static builds.
10319 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
10320 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
10321 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
10322 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
10324 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10327 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
10330 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10332 * benchtests/Makefile: Add bench-strtod.
10333 * benchtests/bench-strtod.c: New file: strtod benchtest
10335 2013-11-11 Andreas Schwab <schwab@suse.de>
10338 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
10339 terminating NUL in key length.
10341 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10343 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
10344 Add artificial ODP entry for vDSO symbol for PPC64.
10345 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
10346 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
10348 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
10351 * nss/getent.c (services_keys): Recognize services starting with digit.
10353 2013-11-06 David S. Miller <davem@davemloft.net>
10356 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
10357 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
10359 2013-11-06 Will Newton <will.newton@linaro.org>
10361 * manual/memory.texi (Malloc Examples): Remove register
10362 keyword from examples.
10364 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
10366 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
10368 2013-11-04 Joseph Myers <joseph@codesourcery.com>
10371 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
10372 depending on [__GCC_IEC_559 > 0].
10373 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
10374 depending on [__GCC_IEC_559_COMPLEX > 0].
10376 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
10378 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
10381 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
10383 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
10385 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
10388 * malloc/malloc (malloc_info): Do not handle first bin as
10391 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
10393 * locale/iso-639.def: Add Central Nahuatl (nhn).
10395 2013-11-01 Bruno Haible <bruno@clisp.org>
10398 * manual/math.texi (BSD Random): Specify range upper bound as
10401 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
10403 * locale/iso-639.def: Add Meadow Mari (mhr).
10405 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
10407 [BZ #14752], [BZ #15763]
10408 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
10410 * rt/tst_shm.c: Add test for escaping directory.
10412 2013-10-31 Andreas Schwab <schwab@suse.de>
10415 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
10416 followed by 'x' as part of digit sequence.
10417 * stdio-common/tst-sscanf.c (double_tests2): New tests.
10419 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
10422 * configure.ac: allow GNU Make 4.0 and greater.
10423 * configure: Regenerated.
10425 2013-10-30 Will Newton <will.newton@linaro.org>
10428 * malloc/hooks.c (memalign_check): Limit alignment to the
10429 maximum representable power of two.
10430 * malloc/malloc.c (__libc_memalign): Likewise.
10431 * malloc/tst-memalign.c (do_test): Add test for very
10432 large alignment values.
10433 * malloc/tst-posix_memalign.c (do_test): Likewise.
10435 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
10438 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
10439 (munmap_chunk): Likewise.
10440 (mremap_chunk): Likewise.
10442 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
10445 * stdlib/div.c (div): Remove obsolete code.
10446 * stdlib/ldiv.c (ldiv): Likewise.
10447 * stdlib/lldiv.c (lldiv): Likewise.
10449 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10452 * nss/nss_files/files-XXX.c (get_contents_ret): New
10454 (get_contents): New function.
10455 (internal_getent): Use it. Expand size of LINEBUFLEN.
10457 2013-10-30 Mike Frysinger <vapier@gentoo.org>
10459 * configure.in: Moved to ...
10460 * configure.ac: ... here. Change reference to configure.in
10462 * sysdeps/arm/preconfigure.ac: ... here.
10463 configure.in to configure.ac.
10464 * sysdeps/gnu/configure.in: Moved to ...
10465 * sysdeps/gnu/configure.ac: ... here.
10466 * sysdeps/i386/configure.in: Moved to ...
10467 * sysdeps/i386/configure.ac: ... here.
10468 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
10469 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
10470 * sysdeps/mach/configure.in: Moved to ...
10471 * sysdeps/mach/configure.ac: ... here.
10472 * sysdeps/mach/hurd/configure.in: Moved to ...
10473 * sysdeps/mach/hurd/configure.ac: ... here.
10474 * sysdeps/powerpc/configure.in: Moved to ...
10475 * sysdeps/powerpc/configure.ac: ... here.
10476 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
10477 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
10478 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
10479 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
10480 * sysdeps/s390/s390-32/configure.in: Moved to ...
10481 * sysdeps/s390/s390-32/configure.ac: ... here.
10482 * sysdeps/s390/s390-64/configure.in: Moved to ...
10483 * sysdeps/s390/s390-64/configure.ac: ... here.
10484 * sysdeps/sh/configure.in: Moved to ...
10485 * sysdeps/sh/configure.ac: ... here.
10486 * sysdeps/sparc/configure.in: Moved to ...
10487 * sysdeps/sparc/configure.ac: ... here.
10488 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
10489 * sysdeps/unix/sysv/linux/configure.ac: ... here.
10490 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
10491 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
10492 * sysdeps/x86_64/configure.in: Moved to ...
10493 * sysdeps/x86_64/configure.ac: ... here.
10494 * sysdeps/x86_64/preconfigure.in: Moved to ...
10495 * sysdeps/x86_64/preconfigure.ac: ... here.
10496 * aclocal.m4: Change reference to configure.in to configure.ac.
10497 * config.h.in: Likewise.
10498 * manual/install.texi: Likewise.
10499 * manual/maint.texi: Likewise.
10500 * Makefile: Likewise.
10501 * malloc/Makefile: Likewise.
10502 * nscd/Makefile: Likewise.
10503 * Makeconfig: Change reference to configure.in and
10504 preconfigure.in to configure.ac and preconfigure.ac
10506 * INSTALL: Regenerated.
10507 * configure: Likewise.
10508 * sysdeps/gnu/configure: Likewise.
10509 * sysdeps/i386/configure: Likewise.
10510 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
10511 * sysdeps/mach/configure: Likewise.
10512 * sysdeps/mach/hurd/configure: Likewise.
10513 * sysdeps/powerpc/configure: Likewise.
10514 * sysdeps/powerpc/powerpc32/configure: Likewise.
10515 * sysdeps/powerpc/powerpc64/configure: Likewise.
10516 * sysdeps/s390/s390-32/configure: Likewise.
10517 * sysdeps/s390/s390-64/configure: Likewise.
10518 * sysdeps/sh/configure: Likewise.
10519 * sysdeps/sparc/configure: Likewise.
10520 * sysdeps/unix/sysv/linux/configure: Likewise.
10521 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
10522 * sysdeps/x86_64/configure: Likewise.
10523 * sysdeps/x86_64/preconfigure: Likewise.
10525 2013-10-29 Andreas Schwab <schwab@suse.de>
10527 * stdio-common/Makefile (tst-swscanf-ENV): Define.
10529 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10531 * benchtests/pow-inputs: Add new inputs.
10533 * benchtests/exp-inputs: Add new inputs.
10535 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
10536 conditional check for return value.
10537 (__cos32): Likewise.
10539 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10541 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
10542 to provide a boost for large inputs with word alignment.
10543 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
10544 implementation based on optimized PPC64 strcpy.
10545 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
10546 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
10547 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
10548 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
10550 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
10553 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
10555 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
10558 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
10559 * time/tst-strptime.c (day_tests): Add testcase.
10561 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
10564 * manual/pattern.texi: Acknowledge that fnmatch can fail.
10566 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
10569 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
10570 MAP_FAILED on error.
10572 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10575 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
10576 heap for large requests.
10578 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
10581 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
10582 result if the result has no associated interface.
10583 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
10584 interface for all 127.X.Y.Z addresses.
10586 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
10588 * locale/iso-639.def: Add Ligurian (lij)
10590 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
10593 * sunrpc/rpc_main.c: Document rpcgen -5.
10595 2013-10-19 Michael Stahl <mstahl@redhat.com>
10597 * elf/rtld.c (do_preload): Print the reason why preloading failed.
10599 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
10602 * posix/glob.c: Match only directories when trailing slash is present.
10603 * posix/tst-gnuglob.c (my_opendir): Do not open files.
10604 (main): Add testcase.
10606 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
10609 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
10611 2013-10-18 Carlos O'Donell <carlos@redhat.com>
10613 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
10614 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
10615 AUTH_DES and cindex for FIPS 140-2.
10616 (DES Encryption): Add cindex FIPS 46-3.
10618 * locale/locarchive.h (struct locarhandle): Add fname.
10619 * locale/programs/localedef.c (main): Pass ARGV[remaining]
10620 if an optional argument was specified to --list-archive,
10622 * locale/programs/locarchive.c (show_archive_content): Take new
10623 argument fname and pass it via ah.fname to open_archive.
10624 * locale/programs/localedef.h: Update decl.
10625 (open_archive): If AH->fname is non-null, open that file
10626 rather than the default file name, and don't ignore ENOENT.
10627 (create_archive): Set AH.fname to NULL.
10628 (delete_locales_from_archive): Likewise.
10629 (add_locales_to_archive): Likewise.
10630 * locale/programs/locfile.c (write_all_categories): Likewise.
10632 2013-10-18 Joseph Myers <joseph@codesourcery.com>
10633 Aldy Hernandez <aldyh@redhat.com>
10635 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
10636 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
10637 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
10638 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
10639 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
10640 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
10641 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
10642 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
10643 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
10644 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
10645 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
10646 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
10647 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
10648 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
10649 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
10651 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
10653 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
10655 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
10657 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
10658 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
10660 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
10661 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
10662 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
10663 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
10665 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
10666 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
10667 * sysdeps/powerpc/preconfigure: Likewise.
10668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
10670 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
10671 Replace contents of file by #include of <fenv_libc.h>.
10672 * sysdeps/powerpc/soft-fp/sfp-machine.h
10673 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
10675 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
10676 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
10677 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
10678 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
10679 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
10680 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
10681 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
10682 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
10683 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
10684 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
10685 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
10686 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
10687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10688 Allow copysignl PLT reference to be missing.
10690 2013-10-18 Richard Sandiford <richard@codesourcery.com>
10691 Joseph Myers <joseph@codesourcery.com
10694 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
10696 (add_to_tablewc): Assert sequence of wide characters is nonempty.
10698 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10700 * elf/tst-tls-dlinfo.c: Don't include tls.h.
10701 * elf/tst-tls1.c: Likewise.
10702 * elf/tst-tls10.h: Likewise.
10703 * elf/tst-tls14.c: Likewise.
10704 * elf/tst-tls2.c: Likewise.
10705 * elf/tst-tls3.c: Likewise.
10706 * elf/tst-tls4.c: Likewise.
10707 * elf/tst-tls5.c: Likewise.
10708 * elf/tst-tls6.c: Likewise.
10709 * elf/tst-tls7.c: Likewise.
10710 * elf/tst-tls8.c: Likewise.
10711 * elf/tst-tls9.c: Likewise.
10712 * elf/tst-tlsmod1.c: Likewise.
10713 * elf/tst-tlsmod13.c: Likewise.
10714 * elf/tst-tlsmod13a.c: Likewise.
10715 * elf/tst-tlsmod14a.c: Likewise.
10716 * elf/tst-tlsmod16a.c: Likewise.
10717 * elf/tst-tlsmod16b.c: Likewise.
10718 * elf/tst-tlsmod2.c: Likewise.
10719 * elf/tst-tlsmod3.c: Likewise.
10720 * elf/tst-tlsmod4.c: Likewise.
10721 * elf/tst-tlsmod5.c: Likewise.
10722 * elf/tst-tlsmod6.c: Likewise.
10724 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
10727 * malloc/malloc.c: remove checks for statistics.
10729 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
10732 * inet/inet_net.c (inet_network): Detect additional invalid strings.
10733 * inet/tst-network.c: Add testcase.
10735 2013-10-17 Andreas Schwab <schwab@suse.de>
10738 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
10739 to determine canonical name.
10741 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
10743 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
10744 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
10745 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10746 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
10747 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10748 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10749 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10750 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
10751 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
10752 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10753 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
10754 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10755 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10756 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10757 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
10758 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
10759 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10760 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10761 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
10762 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10763 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10764 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10765 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10766 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
10767 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
10768 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10769 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10770 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
10771 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10772 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
10773 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10774 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10775 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
10776 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10777 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10778 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10779 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10780 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10781 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10782 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10783 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10784 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
10785 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
10786 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10787 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
10788 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10789 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10790 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10791 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
10792 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10793 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
10794 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10795 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10796 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
10797 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10798 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
10799 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10800 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10802 2013-10-17 Joseph Myers <joseph@codesourcery.com>
10805 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
10806 make result into a quiet NaN.
10808 2013-10-16 Joseph Myers <joseph@codesourcery.com>
10810 * soft-fp/adddf3.c: Fix horizontal whitespace.
10811 * soft-fp/addsf3.c: Likewise.
10812 * soft-fp/addtf3.c: Likewise.
10813 * soft-fp/divdf3.c: Likewise.
10814 * soft-fp/divsf3.c: Likewise.
10815 * soft-fp/divtf3.c: Likewise.
10816 * soft-fp/double.h: Likewise.
10817 * soft-fp/eqdf2.c: Likewise.
10818 * soft-fp/eqsf2.c: Likewise.
10819 * soft-fp/eqtf2.c: Likewise.
10820 * soft-fp/extenddftf2.c: Likewise.
10821 * soft-fp/extended.h: Likewise.
10822 * soft-fp/extendsfdf2.c: Likewise.
10823 * soft-fp/extendsftf2.c: Likewise.
10824 * soft-fp/extendxftf2.c: Likewise.
10825 * soft-fp/fixdfdi.c: Likewise.
10826 * soft-fp/fixdfsi.c: Likewise.
10827 * soft-fp/fixdfti.c: Likewise.
10828 * soft-fp/fixsfdi.c: Likewise.
10829 * soft-fp/fixsfsi.c: Likewise.
10830 * soft-fp/fixsfti.c: Likewise.
10831 * soft-fp/fixtfdi.c: Likewise.
10832 * soft-fp/fixtfsi.c: Likewise.
10833 * soft-fp/fixtfti.c: Likewise.
10834 * soft-fp/fixunsdfdi.c: Likewise.
10835 * soft-fp/fixunsdfsi.c: Likewise.
10836 * soft-fp/fixunsdfti.c: Likewise.
10837 * soft-fp/fixunssfdi.c: Likewise.
10838 * soft-fp/fixunssfsi.c: Likewise.
10839 * soft-fp/fixunssfti.c: Likewise.
10840 * soft-fp/fixunstfdi.c: Likewise.
10841 * soft-fp/fixunstfsi.c: Likewise.
10842 * soft-fp/fixunstfti.c: Likewise.
10843 * soft-fp/floatdidf.c: Likewise.
10844 * soft-fp/floatdisf.c: Likewise.
10845 * soft-fp/floatditf.c: Likewise.
10846 * soft-fp/floatsidf.c: Likewise.
10847 * soft-fp/floatsisf.c: Likewise.
10848 * soft-fp/floatsitf.c: Likewise.
10849 * soft-fp/floattidf.c: Likewise.
10850 * soft-fp/floattisf.c: Likewise.
10851 * soft-fp/floattitf.c: Likewise.
10852 * soft-fp/floatundidf.c: Likewise.
10853 * soft-fp/floatundisf.c: Likewise.
10854 * soft-fp/floatunditf.c: Likewise.
10855 * soft-fp/floatunsidf.c: Likewise.
10856 * soft-fp/floatunsisf.c: Likewise.
10857 * soft-fp/floatunsitf.c: Likewise.
10858 * soft-fp/floatuntidf.c: Likewise.
10859 * soft-fp/floatuntisf.c: Likewise.
10860 * soft-fp/floatuntitf.c: Likewise.
10861 * soft-fp/fmadf4.c: Likewise.
10862 * soft-fp/fmasf4.c: Likewise.
10863 * soft-fp/fmatf4.c: Likewise.
10864 * soft-fp/gedf2.c: Likewise.
10865 * soft-fp/gesf2.c: Likewise.
10866 * soft-fp/getf2.c: Likewise.
10867 * soft-fp/ledf2.c: Likewise.
10868 * soft-fp/lesf2.c: Likewise.
10869 * soft-fp/letf2.c: Likewise.
10870 * soft-fp/muldf3.c: Likewise.
10871 * soft-fp/mulsf3.c: Likewise.
10872 * soft-fp/multf3.c: Likewise.
10873 * soft-fp/negdf2.c: Likewise.
10874 * soft-fp/negsf2.c: Likewise.
10875 * soft-fp/negtf2.c: Likewise.
10876 * soft-fp/op-1.h: Likewise.
10877 * soft-fp/op-2.h: Likewise.
10878 * soft-fp/op-4.h: Likewise.
10879 * soft-fp/op-8.h: Likewise.
10880 * soft-fp/op-common.h: Likewise.
10881 * soft-fp/quad.h: Likewise.
10882 * soft-fp/single.h: Likewise.
10883 * soft-fp/soft-fp.h: Likewise.
10884 * soft-fp/sqrtdf2.c: Likewise.
10885 * soft-fp/sqrtsf2.c: Likewise.
10886 * soft-fp/sqrttf2.c: Likewise.
10887 * soft-fp/subdf3.c: Likewise.
10888 * soft-fp/subsf3.c: Likewise.
10889 * soft-fp/subtf3.c: Likewise.
10890 * soft-fp/truncdfsf2.c: Likewise.
10891 * soft-fp/trunctfdf2.c: Likewise.
10892 * soft-fp/trunctfsf2.c: Likewise.
10893 * soft-fp/trunctfxf2.c: Likewise.
10894 * soft-fp/unorddf2.c: Likewise.
10895 * soft-fp/unordsf2.c: Likewise.
10896 * soft-fp/unordtf2.c: Likewise.
10898 2013-10-15 Joseph Myers <joseph@codesourcery.com>
10900 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
10901 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
10903 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
10905 * elf/dl-libc.c: Clear initfini list after freeing.
10907 2013-10-14 Joseph Myers <joseph@codesourcery.com>
10909 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
10910 * soft-fp/addsf3.c: Likewise.
10911 * soft-fp/addtf3.c: Likewise.
10912 * soft-fp/divdf3.c: Likewise.
10913 * soft-fp/divsf3.c: Likewise.
10914 * soft-fp/divtf3.c: Likewise.
10915 * soft-fp/double.h: Likewise.
10916 * soft-fp/eqdf2.c: Likewise.
10917 * soft-fp/eqsf2.c: Likewise.
10918 * soft-fp/eqtf2.c: Likewise.
10919 * soft-fp/extenddftf2.c: Likewise.
10920 * soft-fp/extended.h: Likewise.
10921 * soft-fp/extendsfdf2.c: Likewise.
10922 * soft-fp/extendsftf2.c: Likewise.
10923 * soft-fp/extendxftf2.c: Likewise.
10924 * soft-fp/fixdfdi.c: Likewise.
10925 * soft-fp/fixdfsi.c: Likewise.
10926 * soft-fp/fixdfti.c: Likewise.
10927 * soft-fp/fixsfdi.c: Likewise.
10928 * soft-fp/fixsfsi.c: Likewise.
10929 * soft-fp/fixsfti.c: Likewise.
10930 * soft-fp/fixtfdi.c: Likewise.
10931 * soft-fp/fixtfsi.c: Likewise.
10932 * soft-fp/fixtfti.c: Likewise.
10933 * soft-fp/fixunsdfdi.c: Likewise.
10934 * soft-fp/fixunsdfsi.c: Likewise.
10935 * soft-fp/fixunsdfti.c: Likewise.
10936 * soft-fp/fixunssfdi.c: Likewise.
10937 * soft-fp/fixunssfsi.c: Likewise.
10938 * soft-fp/fixunssfti.c: Likewise.
10939 * soft-fp/fixunstfdi.c: Likewise.
10940 * soft-fp/fixunstfsi.c: Likewise.
10941 * soft-fp/fixunstfti.c: Likewise.
10942 * soft-fp/floatdidf.c: Likewise.
10943 * soft-fp/floatdisf.c: Likewise.
10944 * soft-fp/floatditf.c: Likewise.
10945 * soft-fp/floatsidf.c: Likewise.
10946 * soft-fp/floatsisf.c: Likewise.
10947 * soft-fp/floatsitf.c: Likewise.
10948 * soft-fp/floattidf.c: Likewise.
10949 * soft-fp/floattisf.c: Likewise.
10950 * soft-fp/floattitf.c: Likewise.
10951 * soft-fp/floatundidf.c: Likewise.
10952 * soft-fp/floatundisf.c: Likewise.
10953 * soft-fp/floatunsidf.c: Likewise.
10954 * soft-fp/floatunsisf.c: Likewise.
10955 * soft-fp/floatuntidf.c: Likewise.
10956 * soft-fp/floatuntisf.c: Likewise.
10957 * soft-fp/floatuntitf.c: Likewise.
10958 * soft-fp/fmadf4.c: Likewise.
10959 * soft-fp/fmasf4.c: Likewise.
10960 * soft-fp/fmatf4.c: Likewise.
10961 * soft-fp/gedf2.c: Likewise.
10962 * soft-fp/gesf2.c: Likewise.
10963 * soft-fp/getf2.c: Likewise.
10964 * soft-fp/ledf2.c: Likewise.
10965 * soft-fp/lesf2.c: Likewise.
10966 * soft-fp/letf2.c: Likewise.
10967 * soft-fp/muldf3.c: Likewise.
10968 * soft-fp/mulsf3.c: Likewise.
10969 * soft-fp/multf3.c: Likewise.
10970 * soft-fp/negdf2.c: Likewise.
10971 * soft-fp/negsf2.c: Likewise.
10972 * soft-fp/negtf2.c: Likewise.
10973 * soft-fp/op-1.h: Likewise.
10974 * soft-fp/op-2.h: Likewise.
10975 * soft-fp/op-4.h: Likewise.
10976 * soft-fp/op-8.h: Likewise.
10977 * soft-fp/op-common.h: Likewise.
10978 * soft-fp/quad.h: Likewise.
10979 * soft-fp/single.h: Likewise.
10980 * soft-fp/soft-fp.h: Likewise.
10981 * soft-fp/sqrtdf2.c: Likewise.
10982 * soft-fp/sqrtsf2.c: Likewise.
10983 * soft-fp/sqrttf2.c: Likewise.
10984 * soft-fp/subdf3.c: Likewise.
10985 * soft-fp/subsf3.c: Likewise.
10986 * soft-fp/subtf3.c: Likewise.
10987 * soft-fp/truncdfsf2.c: Likewise.
10988 * soft-fp/trunctfdf2.c: Likewise.
10989 * soft-fp/trunctfsf2.c: Likewise.
10990 * soft-fp/trunctfxf2.c: Likewise.
10991 * soft-fp/unorddf2.c: Likewise.
10992 * soft-fp/unordsf2.c: Likewise.
10993 * soft-fp/unordtf2.c: Likewise.
10995 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
10998 * misc/error.c (error_tail): Fix possible buffer overflow.
11000 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
11003 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
11006 2013-10-14 P. J. McDermott <pj@pehjota.net>
11009 * elf/ldd.bash.in (try_trace): New function. Delete previous code
11010 testing pipefail option.
11012 2013-10-12 Joseph Myers <joseph@codesourcery.com>
11014 * soft-fp/double.h: Indent preprocessor directives inside #if.
11015 * soft-fp/extended.h: Likewise.
11016 * soft-fp/op-2.h: Likewise.
11017 * soft-fp/op-4.h: Likewise.
11018 * soft-fp/op-common.h: Likewise.
11019 * soft-fp/quad.h: Likewise.
11020 * soft-fp/single.h: Likewise.
11021 * soft-fp/soft-fp.h: Likewise.
11023 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
11025 * iconv/iconv_prog.c: Fix typos.
11026 * stdio-common/psiginfo-data.h: Likewise.
11028 2013-10-12 Reuben Thomas <rrt@sc3d.org>
11031 * locale/setlocale.c: Fix typo.
11033 2013-10-12 Joseph Myers <joseph@codesourcery.com>
11036 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
11037 signaling NaN arguments.
11038 * soft-fp/unordsf2.c (__unordsf2): Likewise.
11039 * soft-fp/unordtf2.c (__unordtf2): Likewise.
11042 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
11043 unordered operands.
11044 * soft-fp/gesf2.c (__gesf2): Likewise.
11045 * soft-fp/getf2.c (__getf2): Likewise.
11046 * soft-fp/ledf2.c (__ledf2): Likewise.
11047 * soft-fp/lesf2.c (__lesf2): Likewise.
11048 * soft-fp/letf2.c (__letf2): Likewise.
11050 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
11051 * soft-fp/eqsf2.c (__eqsf2): Likewise.
11052 * soft-fp/eqtf2.c (__eqtf2): Likewise.
11053 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
11054 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
11055 * soft-fp/fixdfti.c (__fixdfti): Likewise.
11056 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
11057 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
11058 * soft-fp/fixsfti.c (__fixsfti): Likewise.
11059 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
11060 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
11061 * soft-fp/fixtfti.c (__fixtfti): Likewise.
11062 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
11063 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
11064 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
11065 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
11066 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
11067 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
11068 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
11069 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
11070 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
11071 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
11072 * soft-fp/floatdisf.c (__floatdisf): Likewise.
11073 * soft-fp/floatsisf.c (__floatsisf): Likewise.
11074 * soft-fp/floattidf.c (__floattidf): Likewise.
11075 * soft-fp/floattisf.c (__floattisf): Likewise.
11076 * soft-fp/floattitf.c (__floattitf): Likewise.
11077 * soft-fp/floatundidf.c (__floatundidf): Likewise.
11078 * soft-fp/floatundisf.c (__floatundisf): Likewise.
11079 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
11080 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
11081 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
11082 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
11083 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
11084 * soft-fp/gesf2.c (__gesf2): Likewise.
11085 * soft-fp/getf2.c (__getf2): Likewise.
11086 * soft-fp/ledf2.c (__ledf2): Likewise.
11087 * soft-fp/lesf2.c (__lesf2): Likewise.
11088 * soft-fp/letf2.c (__letf2): Likewise.
11090 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
11091 Undefine and redefine.
11092 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
11093 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
11094 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
11095 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
11096 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11097 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
11098 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11099 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
11100 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11101 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
11102 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11103 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
11104 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11105 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
11106 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11109 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
11110 without decrementing exponent if mantissa >= that for the
11111 denominator, not >.
11112 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
11113 denominator, not >. Decrement exponent in < case instead of
11114 incrementing in >= case.
11115 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
11116 without decrementing exponent if mantissa >= that for the
11117 denominator, not >.
11119 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
11120 computing saturated result for unsigned overflow.
11122 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11123 Jeff Law <law@redhat.com>
11125 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
11126 (atan2Mp): Add systemtap probe marker.
11127 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
11128 (__ieee754_log): Add systemtap probe marker.
11129 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
11130 (atanMp): Add systemtap probe marker.
11131 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
11132 (tanMp): Add systemtap probe marker.
11133 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
11134 (__slowexp): Add systemtap probe marker.
11135 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
11136 (__slowpow): Add systemtap probe marker.
11137 * manual/probes.texi: Document probes.
11139 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
11142 * libio/fileops.c (_IO_new_file_write): Return count of bytes
11144 (_IO_new_file_xsputn): Don't return EOF if nothing has been
11146 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
11147 written to buffer but not flushed.
11148 * libio/iofwrite_u.c: Likewise.
11149 * libio/iopadn.c: Return bytes returned even if EOF was
11151 * libio/iowpadn.c: Likewise.
11152 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
11153 if _IO_padn does not write the whole buffer.
11154 [!COMPILE_WPRINTF] (PAD): Likewise.
11156 2013-10-10 David S. Miller <davem@davemloft.net>
11158 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
11161 2013-10-10 Joseph Myers <joseph@codesourcery.com>
11163 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
11164 instead of FSF address.
11165 * soft-fp/fixdfti.c: Likewise.
11166 * soft-fp/fixsfti.c: Likewise.
11167 * soft-fp/fixtfti.c: Likewise.
11168 * soft-fp/fixunsdfti.c: Likewise.
11169 * soft-fp/fixunssfti.c: Likewise.
11170 * soft-fp/fixunstfti.c: Likewise.
11171 * soft-fp/floattidf.c: Likewise.
11172 * soft-fp/floattisf.c: Likewise.
11173 * soft-fp/floattitf.c: Likewise.
11174 * soft-fp/floatuntidf.c: Likewise.
11175 * soft-fp/floatuntisf.c: Likewise.
11176 * soft-fp/floatuntitf.c: Likewise.
11177 * soft-fp/trunctfxf2.c: Likewise.
11179 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
11180 * soft-fp/fixdfti.c: Likewise.
11181 * soft-fp/fixsfti.c: Likewise.
11182 * soft-fp/fixtfti.c: Likewise.
11183 * soft-fp/fixunsdfti.c: Likewise.
11184 * soft-fp/fixunssfti.c: Likewise.
11185 * soft-fp/fixunstfti.c: Likewise.
11186 * soft-fp/floattidf.c: Likewise.
11187 * soft-fp/floattisf.c: Likewise.
11188 * soft-fp/floattitf.c: Likewise.
11189 * soft-fp/floatuntidf.c: Likewise.
11190 * soft-fp/floatuntisf.c: Likewise.
11191 * soft-fp/floatuntitf.c: Likewise.
11192 * soft-fp/trunctfxf2.c: Likewise.
11194 2013-10-10 David S. Miller <davem@davemloft.net>
11196 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11198 2013-10-10 Joseph Myers <joseph@codsourcery.com>
11200 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
11201 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
11202 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
11203 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
11204 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
11205 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
11206 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
11208 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
11209 for NaNs before doing comparisons on argument.
11210 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
11213 2013-10-10 Will Newton <will.newton@linaro.org>
11215 * malloc/hooks.c (memalign_check): Ensure the value of bytes
11216 passed to _int_memalign does not overflow.
11218 2013-10-10 Torvald Riegel <triegel@redhat.com>
11220 * scripts/bench.pl: Add include-sources directive.
11221 * benchtests/README: Update documentation.
11223 2013-10-10 Joseph Myers <joseph@codesourcery.com>
11225 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
11226 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
11227 instead of FP_INIT_ROUNDMODE.
11228 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
11229 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
11232 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
11233 copy class of input value.
11234 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
11235 not handle exceptions.
11236 * soft-fp/negsf2.c (__negsf2): Likewise.
11237 * soft-fp/negtf2.c (__negtf2): Likewise.
11238 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
11240 2013-10-09 Joseph Myers <joseph@codesourcery.com>
11242 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
11243 semicolon. From Linux kernel.
11245 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
11247 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
11249 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
11252 * manual/socket.texi: Added statement about buffer
11253 for gethostbyname2_r.
11255 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
11257 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
11258 Use .p2align directive instead, throughout.
11259 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
11260 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
11261 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
11262 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11263 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11264 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
11265 * sysdeps/x86_64/strchr.S: Likewise.
11266 * sysdeps/x86_64/strrchr.S: Likewise.
11268 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11270 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
11272 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
11274 * sysdeps/generic/math_private.h (__mpsin1): Remove
11276 (__mpcos1): Likewise.
11277 (__mpsin): New argument __range_reduce.
11278 (__mpcos): Likewise.
11279 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11280 (slow): Use __mpsin and __mpcos.
11284 (sloww1): Likewise.
11285 (sloww2): Likewise.
11286 (bsloww): Likewise.
11287 (bsloww1): Likewise.
11288 (bsloww2): Likewise.
11289 (cslow2): Likewise.
11290 (csloww): Likewise.
11291 (csloww1): Likewise.
11292 (csloww2): Likewise.
11293 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
11294 range_reduce. Merge in __mpsin1.
11295 (__mpcos): Likewise.
11296 (__mpsin1): Remove.
11297 (__mpcos1): Likewise.
11299 2013-10-07 Joseph Myers <joseph@codesourcery.com>
11301 * locale/loadlocale.c (_nl_intern_locale_data): Use
11303 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
11304 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
11305 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
11306 obstack data is appropriately aligned.
11307 (obstack_int32_grow_fast): Likewise.
11308 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
11309 * locale/programs/locfile.c (add_locale_uint32): Likewise.
11310 (add_locale_uint32_array): Likewise.
11312 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
11314 * benchtests/Makefile: Remove ARGLIST and RET variables.
11315 ($(objpfx)bench-%.c): Pass only function name to the script.
11316 * benchtests/README: Update documentation.
11317 * benchtests/acos-inputs: Add new directives.
11318 * benchtests/acosh-inputs: Likewise.
11319 * benchtests/asin-inputs: Likewise.
11320 * benchtests/asinh-inputs: Likewise.
11321 * benchtests/atan-inputs: Likewise.
11322 * benchtests/atanh-inputs: Likewise.
11323 * benchtests/cos-inputs: Likewise.
11324 * benchtests/cosh-inputs: Likewise.
11325 * benchtests/exp-inputs: Likewise.
11326 * benchtests/log-inputs: Likewise.
11327 * benchtests/pow-inputs: Likewise.
11328 * benchtests/rint-inputs: Likewise.
11329 * benchtests/sin-inputs: Likewise.
11330 * benchtests/sinh-inputs: Likewise.
11331 * benchtests/tan-inputs: Likewise.
11332 * benchtests/tanh-inputs: Likewise.
11333 * scripts/bench.pl: Add support for new directives.
11335 2013-10-07 Alan Modra <amodra@gmail.com>
11337 * README: Fix careless merge.
11339 2013-10-05 Alan Modra <amodra@gmail.com>
11341 * NEWS: Mention powerpc64le support and bugs fixed.
11342 * README: Both big-endian and little-endian powerpc64 supported.
11344 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
11346 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
11347 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
11348 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
11349 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
11351 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
11353 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
11356 2013-10-04 Joseph Myers <joseph@codesourcery.com>
11358 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
11359 Move -mhard-float appending from
11360 ports/sysdeps/powerpc/powerpc32/Makefile.
11361 [$(with-fp) = yes] (ASFLAGS): Likewise.
11362 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
11363 * sysdeps/powerpc/nofpu: Move directory from
11364 ports/sysdeps/powerpc/nofpu.
11365 * sysdeps/powerpc/soft-fp: Move directory from
11366 ports/sysdeps/powerpc/soft-fp.
11367 * sysdeps/powerpc/powerpc32/405: Move directory from
11368 ports/sysdeps/powerpc/powerpc32/405.
11369 * sysdeps/powerpc/powerpc32/440: Move directory from
11370 ports/sysdeps/powerpc/powerpc32/440.
11371 * sysdeps/powerpc/powerpc32/464: Move directory from
11372 ports/sysdeps/powerpc/powerpc32/464.
11373 * sysdeps/powerpc/powerpc32/476: Move directory from
11374 ports/sysdeps/powerpc/powerpc32/476.
11375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
11376 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
11377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
11378 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
11379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
11380 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
11381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
11382 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
11383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
11384 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
11385 * README: Update for powerpc-*-linux-gnu software floating point
11388 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
11389 case to powerpc/powerpc32*.
11390 * sysdeps/unix/sysv/linux/configure: Regenerated.
11392 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
11393 (_FPU_MASK_OM): Define as 0x04.
11394 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
11395 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
11397 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
11399 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
11401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
11402 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
11404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
11405 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
11407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
11408 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
11409 and setcontext_e500.
11411 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
11413 * locale/iso-3166.def: Update iso-1366.def and related occurrences
11415 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11417 * manual/threads.texi (Default Thread Attributes): Fix typo.
11419 2013-10-04 Will Newton <will.newton@linaro.org>
11421 * malloc/Makefile: Add tst-memalign.
11422 * malloc/tst-memalign.c: New file.
11424 * malloc/tst-posix_memalign.c: Add comments.
11425 (do_test): Add comments and call free on all potentially
11426 allocated pointers. Add space after cast.
11428 * malloc/tst-pvalloc.c: Add comments.
11429 (do_test): Add comments and call free on all potentially
11430 allocated pointers. Remove duplicate check for NULL pointer.
11431 Add space after cast.
11433 * malloc/tst-valloc.c: Add comments.
11434 (do_test): Add comments and call free on all potentially
11435 allocated pointers. Remove duplicate check for NULL pointer.
11436 Add space after cast.
11438 2013-10-04 Alan Modra <amodra@gmail.com>
11440 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11441 Use stdint types in rather than __attribute__((mode())).
11442 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11444 2013-10-04 Alan Modra <amodra@gmail.com>
11446 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11447 Correct handling of unaligned relocs for little-endian.
11448 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11450 2013-10-04 Alan Modra <amodra@gmail.com>
11452 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
11453 * configure: Regenerate.
11454 * nptl/shlib-versions: Powerpc*le starts at 2.18.
11455 * shlib-versions: Likewise.
11457 2013-10-04 Alan Modra <amodra@gmail.com>
11459 * string/tester.c (test_memrchr): Increment reported test cycle.
11461 2013-10-04 Alan Modra <amodra@gmail.com>
11463 * string/test-memcpy.c (do_one_test): When reporting errors, print
11464 string address and don't overrun end of string.
11466 2013-10-04 Alan Modra <amodra@gmail.com>
11468 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
11469 insrdi. Make better use of reg selection to speed exit slightly.
11470 Schedule entry path a little better. Remove useless "are we done"
11471 checks on entry to main loop. Handle wrapping around zero address.
11472 Correct main loop count. Handle single left-over word from main
11473 loop inline rather than by using loop_small. Remove extra word
11474 case in loop_small caused by wrong loop count. Add little-endian
11476 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
11477 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
11479 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
11480 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
11481 support. Avoid rlwimi.
11482 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
11484 2013-10-04 Alan Modra <amodra@gmail.com>
11486 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
11487 insrdi. Formatting.
11488 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
11489 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
11490 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
11491 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
11492 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
11493 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
11495 2013-10-04 Alan Modra <amodra@gmail.com>
11497 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
11498 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11499 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
11500 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
11501 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
11502 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
11503 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11504 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
11505 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
11506 use of regs. Use power7 mtocrf. Tidy function tails.
11508 2013-10-04 Alan Modra <amodra@gmail.com>
11510 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
11511 Formatting. Consistently use rXXX register defines or rN defines.
11512 Use early exit labels that avoid restoring unused non-volatile regs.
11513 Make cr field use more consistent with rWORDn compares. Rename
11514 regs used as shift registers for unaligned loop, using rN defines
11515 for short lifetime/multiple use regs.
11516 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
11517 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
11518 addi 1,1,64 to pop stack frame. Simplify return value code.
11519 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11521 2013-10-04 Alan Modra <amodra@gmail.com>
11523 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
11524 support. Correct typos, formatting. Optimize tail. Use insrdi
11525 rather than rlwimi.
11526 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
11527 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
11528 little-endian support. Correct typos.
11529 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
11530 rather than rlwimi.
11531 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
11532 in loop and entry code to keep "and." results.
11533 (strchr): Add little-endian support. Comment. Move cntlzd
11535 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
11537 2013-10-04 Alan Modra <amodra@gmail.com>
11539 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
11540 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
11541 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
11542 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
11544 2013-10-04 Alan Modra <amodra@gmail.com>
11546 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
11547 (rTMP): Define as r11.
11548 (strcmp): Add little-endian support. Optimise tail.
11549 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
11550 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
11551 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
11552 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11553 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
11554 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11555 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11557 2013-10-04 Alan Modra <amodra@gmail.com>
11559 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
11560 little-endian support. Remove unnecessary "are we done" tests.
11561 Handle "s" wrapping around zero and extremely large "size".
11562 Correct main loop count. Handle single left-over word from main
11563 loop inline rather than by using small_loop. Correct comments.
11564 Delete "zero" tail, use "end_max" instead.
11565 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
11567 2013-10-04 Alan Modra <amodra@gmail.com>
11569 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
11570 support. Don't branch over align.
11571 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
11572 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
11573 support. Rearrange tmp reg use to suit. Comment.
11574 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
11576 2013-10-04 Alan Modra <amodra@gmail.com>
11578 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
11580 2013-10-04 Alan Modra <amodra@gmail.com>
11582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
11583 conditional form of branch and link when obtaining pc.
11584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
11586 2013-10-04 Alan Modra <amodra@gmail.com>
11588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
11590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
11591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
11593 2013-10-04 Alan Modra <amodra@gmail.com>
11595 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
11596 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
11597 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
11598 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
11599 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
11600 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
11601 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
11602 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
11603 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
11604 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
11606 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
11607 Alistair Popple <alistair@ozlabs.au.ibm.com>
11608 Alan Modra <amodra@gmail.com>
11611 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
11612 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
11613 _dl_hwcap access for little-endian.
11614 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
11615 destroy vmx regs when saving unaligned.
11616 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
11617 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
11618 destroy vmx regs when saving unaligned.
11620 2013-10-04 Alan Modra <amodra@gmail.com>
11622 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
11623 Don't use a union to pack hi/low value.
11625 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
11627 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
11629 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
11630 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
11631 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
11632 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
11633 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
11635 2013-10-04 Alan Modra <amodra@gmail.com>
11637 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
11638 constants to usual value for .cst8 section, and remove redundant
11640 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
11641 constant for 0x1p52. Load little-endian words of double from
11642 correct stack offsets.
11644 2013-10-04 Alan Modra <amodra@gmail.com>
11646 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
11647 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
11648 words of double from correct stack offsets.
11649 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
11650 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
11651 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
11652 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
11653 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
11654 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
11655 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
11656 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
11657 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
11658 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
11659 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
11660 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
11661 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
11662 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
11663 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
11664 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
11665 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
11667 2013-10-04 Alan Modra <amodra@gmail.com>
11669 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
11670 64-bit int/double union.
11671 (_FPU_SETCW): Likewise.
11672 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
11673 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
11675 2013-10-04 Alan Modra <amodra@gmail.com>
11677 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
11678 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
11680 2013-10-04 Alan Modra <amodra@gmail.com>
11682 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
11683 use vector int constants.
11684 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
11686 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
11688 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
11689 array with long long.
11690 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
11691 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
11692 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
11693 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
11694 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
11695 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
11696 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
11697 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
11698 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
11699 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
11700 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
11701 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
11702 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
11704 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
11706 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
11707 (__signbit): Likewise. Correct for little-endian.
11708 (__signbitl): Call __signbit.
11709 (lrint): Correct for little-endian.
11710 (lrintf): Call lrint.
11712 2013-10-04 Alan Modra <amodra@gmail.com>
11714 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
11715 union 32-bit int array member with 64-bit int array.
11716 (t515, tm256): Double rather than long double.
11717 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
11719 2013-10-04 Alan Modra <amodra@gmail.com>
11721 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
11723 (IEEE854_LONG_DOUBLE_BIAS): Delete.
11724 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
11725 version of math_ldbl.h.
11727 2013-10-04 Alan Modra <amodra@gmail.com>
11729 [BZ #15734], [BZ #15735]
11730 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
11731 all uses of ieee875 long double macros and unions. Simplify test
11732 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
11733 ldbl_extract_mantissa value for ix,iy exponents. Properly
11734 normalize after ldbl_extract_mantissa, and don't add hidden bit
11735 already handled. Don't treat low word of ieee854 mantissa like
11736 low word of IBM long double and mask off bit when testing for
11738 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
11739 all uses of ieee875 long double macros and unions. Simplify tests
11740 for 0.0L and inf. Correct double adjustment of k. Delete dead code
11741 adjusting ha,hb. Simplify code setting kld. Delete two600 and
11742 two1022, instead use their values. Recognise that tests for large
11743 "a" and small "b" are mutually exclusive. Rename vars. Comment.
11744 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
11745 Rewrite all uses of ieee875 long double macros and unions. Simplify
11746 test for 0.0L and nan. Correct negation.
11747 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
11748 ieee875 long double macros and unions. Correct output for large
11749 magnitude x. Correct absolute value calculation.
11750 (__erfcl): Likewise.
11751 * math/libm-test.inc: Add tests for errors discovered in IBM long
11752 double versions of fmodl, remainderl, erfl and erfcl.
11754 2013-10-04 Alan Modra <amodra@gmail.com>
11756 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
11757 all uses of ieee854 long double macros and unions. Simplify tests
11758 for long doubles that are fully specified by the high double.
11759 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
11761 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
11762 Remove dead code too.
11763 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
11764 (__ieee754_ynl): Likewise.
11765 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
11766 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
11767 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
11768 Remove dead code too.
11769 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
11770 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
11771 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
11772 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
11774 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
11776 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
11777 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
11778 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
11779 Comment on variable precision.
11780 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
11781 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
11783 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
11784 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
11785 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
11786 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
11787 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
11789 2013-10-04 Alan Modra <amodra@gmail.com>
11791 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
11792 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
11793 all uses of ieee854 long double macros and unions.
11794 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
11795 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
11796 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
11797 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
11798 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
11799 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
11801 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
11802 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
11803 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
11804 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
11805 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
11806 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
11807 Simplify sign and nan test too.
11808 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
11809 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
11810 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
11811 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
11813 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
11814 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
11816 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11817 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
11818 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
11819 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
11820 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
11821 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
11823 2013-10-04 Alan Modra <amodra@gmail.com>
11825 * stdio-common/printf_size.c (__printf_size): Don't use
11826 union ieee854_long_double in fpnum union.
11827 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
11828 signbit macro to retrieve sign from long double.
11829 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
11830 retrieve sign from long double.
11831 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
11832 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
11833 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
11834 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
11835 * math/test-misc.c (main): Don't use union ieee854_long_double.
11837 2013-10-04 Alan Modra <amodra@gmail.com>
11840 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
11841 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
11842 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
11843 calculation. Remove unnecessary test for denormal exponent.
11844 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
11845 Correct handling of denormals. Avoid undefined shift behaviour.
11846 Correct normalisation of low mantissa when low double is denormal.
11847 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
11848 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
11849 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
11850 Correct normalisation of low mantissa. Test for overflow of high
11851 mantissa and normalise.
11852 (ldbl_nearbyint): Use more readable constant for two52.
11853 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
11854 (__mpn_construct_long_double): Fix test for overflow of high
11855 mantissa and correct normalisation. Avoid undefined shift.
11857 2013-10-04 Alan Modra <amodra@gmail.com>
11859 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
11860 (union ibm_extended_long_double): Define as an array of ieee754_double.
11861 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
11862 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
11863 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
11864 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
11865 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11866 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
11867 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
11868 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
11869 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
11870 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
11871 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
11873 2013-10-03 Joseph Myers <joseph@codesourcery.com>
11875 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
11876 page size instead of calling getpagesize.
11878 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
11879 (LOCFILE_ALIGN_MASK): Likewise.
11880 (LOCFILE_ALIGN_UP): Likewise.
11881 (LOCFILE_ALIGNED_P): Likewise.
11882 * locale/programs/ld-collate.c (collate_output): Use the new
11883 macros instead of __alignof__ (int32_t).
11884 * locale/weight.h (findidx): Likewise.
11886 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
11889 * manual/string.texi: Fix strncat and wcsncat.
11891 2013-10-03 Brooks Moses <bmoses@google.com>
11894 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
11895 * Makerules: ...here, and adjust associated comments.
11897 2013-10-02 Will Newton <will.newton@linaro.org>
11899 * malloc/Makefile: Add tst-pvalloc.
11900 * malloc/tst-pvalloc.c: New file.
11902 2013-10-02 Will Newton <will.newton@linaro.org>
11904 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
11905 improve test coverage.
11907 2013-10-02 Will Newton <will.newton@linaro.org>
11909 * malloc/Makefile: Add tst-posix_memalign.
11910 * malloc/tst-posix_memalign.c: New file.
11912 2013-10-01 Eric Blake <eblake@redhat.com>
11914 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
11915 Use __THROWNL rather than __THROW on static functions.
11917 2013-09-30 Petr Machata <pmachata@redhat.com>
11919 * elf/elf.h (R_AARCH64_ABS16): New macro.
11920 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
11921 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
11922 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
11923 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
11924 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
11925 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
11926 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
11927 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
11928 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
11929 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
11930 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
11931 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
11932 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
11933 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
11934 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
11935 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
11936 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
11937 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
11938 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
11939 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
11940 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
11941 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
11942 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
11943 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
11944 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
11945 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
11946 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
11947 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
11948 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
11949 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
11950 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
11951 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
11952 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
11953 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
11954 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
11955 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
11956 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
11957 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
11958 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
11959 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
11960 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
11961 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
11962 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
11963 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
11964 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
11965 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
11966 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
11967 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
11968 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
11969 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
11970 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
11971 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
11972 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
11973 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
11974 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
11975 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
11976 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
11977 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
11978 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
11979 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
11980 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
11981 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
11982 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
11983 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
11984 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
11985 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
11986 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
11987 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
11988 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
11989 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
11990 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
11991 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
11992 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
11993 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
11994 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
11995 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
11996 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
11997 (R_AARCH64_TLSDESC_LDR): Likewise.
11998 (R_AARCH64_TLSDESC_ADD): Likewise.
11999 (R_AARCH64_TLSDESC_CALL): Likewise.
12001 2013-09-30 Andreas Schwab <schwab@suse.de>
12004 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
12005 the nss database lookup.
12006 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12007 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12009 2013-09-28 Mike Frysinger <vapier@gentoo.org>
12011 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
12013 2013-09-28 P. J. McDermott <pj@pehjota.net>
12015 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
12016 ${Bash-specific parameter/pattern/string} parameter expansion.
12017 * sysdeps/unix/make-syscalls.sh: Likewise.
12019 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12021 * sysdeps/sh/stackguard-macros.h: New file.
12023 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
12025 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
12026 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
12027 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
12028 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
12029 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12030 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
12032 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12034 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
12035 Fix thread ID register.
12037 2013-09-25 Joseph Myers <joseph@codesourcery.com>
12039 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
12040 [POSIX || UNIX98]: Require rather than permitting all symbols from
12042 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
12043 element of struct sched_param.
12044 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
12045 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
12046 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
12047 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
12050 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
12052 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
12053 argument calculation.
12055 2013-09-24 Joseph Myers <joseph@codesourcery.com>
12057 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
12059 [POSIX] (pthread_attr_t): Do not require type.
12060 [POSIX] (pthread_cond_t): Likewise.
12061 [POSIX] (pthread_condattr_t): Likewise.
12062 [POSIX] (pthread_key_t): Likewise.
12063 [POSIX] (pthread_mutex_t): Likewise.
12064 [POSIX] (pthread_mutexattr_t): Likewise.
12065 [POSIX] (pthread_once_t): Likewise.
12066 [POSIX] (pthread_t): Likewise.
12067 [POSIX-based standards] (pthread_atfork): Expect function.
12069 2013-09-24 Joseph Myers <joseph@codesourcery.com>
12070 Richard Sandiford <richard@codesourcery.com>
12072 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
12073 (swap_endianness_p): New extern variable.
12074 (set_big_endian): New inline function.
12075 (maybe_swap_uint32): Likewise.
12076 (maybe_swap_uint32_array): Likewise.
12077 (maybe_swap_uint32_obstack): Likewise.
12078 * locale/programs/locfile.c: Include <stdbool.h>.
12079 (swap_endianness_p): New variable.
12080 (add_locale_uint32): Call maybe_swap_uint32.
12081 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
12082 (write_locale_data): Call maybe_swap_uint32_array.
12083 * locale/programs/ld-collate.c (obstack_int32_grow): Call
12085 (obstack_int32_grow_fast): Likewise.
12086 (output_weightwc): Call maybe_swap_uint32_obstack.
12087 (collate_output): Likewise.
12088 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
12089 (OPT_LITTLE_ENDIAN): Likewise.
12090 (options): Add --little-endian and --big-endian options.
12091 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
12092 * locale/programs/locarchive.c: Include "locfile.h".
12096 (create_archive): Use the new macros to access fields of
12097 structures directly mapped from or written to locale archives.
12098 (oldlocrecentcmp): Likewise.
12099 (enlarge_archive): Likewise.
12100 (insert_name): Likewise.
12101 (add_alias): Likewise.
12102 (add_locale): Likewise.
12103 (delete_locales_from_archive): Likewise.
12104 (show_archive_content): Likewise.
12105 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
12108 2013-09-24 Roland McGrath <roland@hack.frob.com>
12110 * manual/freemanuals.texi: Updated from (newly) canonical copy at
12111 http://www.gnu.org/doc/freemanuals.texi.
12112 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
12114 2013-09-24 Will Newton <will.newton@linaro.org>
12116 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
12119 2013-09-23 Joseph Myers <joseph@codesourcery.com>
12121 * locale/hashval.h (compute_hashval): Interpret bytes of key as
12124 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
12126 * manual/threads.texi (POSIX Threads): Fix a typo.
12128 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
12131 * string/tst-strcoll-overflow.c: New test case.
12132 * string/Makefile (xtests): Add tst-strcoll-overflow.
12133 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
12134 cache if string sizes may cause integer overflow.
12137 * string/strcoll_l.c (coll_seq): New members rule, idx,
12138 save_idx and back_us.
12139 (get_next_seq_nocache): New function.
12140 (do_compare_nocache): New function.
12141 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
12144 2013-09-23 Carlos O'Donell <carlos@redhat.com>
12147 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
12148 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
12149 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
12152 * elf/Makefile (tests): Add tst-ptrguard1.
12153 (tests-static): Add tst-ptrguard1-static.
12154 (tst-ptrguard1-ARGS): Define.
12155 (tst-ptrguard1-static-ARGS): Define.
12156 * elf/tst-ptrguard1.c: New file.
12157 * elf/tst-ptrguard1-static.c: New file.
12158 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
12159 * sysdeps/i386/stackguard-macros.h: Likewise.
12160 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
12161 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
12162 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
12163 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
12164 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
12165 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
12167 2013-09-23 Hector Marco <hecmargi@upv.es>
12168 Ismael Ripoll <iripoll@disca.upv.es>
12169 Carlos O'Donell <carlos@redhat.com>
12172 * sysdeps/generic/stackguard-macros.h: Define
12173 __pointer_chk_guard_local and POINTER_CHK_GUARD.
12174 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
12175 Define __pointer_chk_guard_local.
12176 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
12177 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
12179 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
12182 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
12184 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
12186 * include/string.h (__ffs): Declare as hidden.
12187 * string/ffs.c (__ffs): Define as hidden.
12188 * sysdeps/i386/ffs.c (__ffs): Likewise.
12189 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
12190 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
12191 * sysdeps/s390/ffs.c (__ffs): Likewise.
12192 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
12194 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
12196 * NEWS: Mention malloc probes.
12198 * malloc/arena.c (new_heap): New memory_heap_new probe.
12199 (grow_heap): New memory_heap_more probe.
12200 (shrink_heap): New memory_heap_less probe.
12201 (heap_trim): New memory_heap_free probe.
12202 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
12203 (systrim): New memory_sbrk_less probe.
12204 * manual/probes.texi: Document them.
12206 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
12207 * manual/probes.texi: Document it.
12209 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
12210 (__libc_realloc): Add memory_realloc_retry probe.
12211 (__libc_memalign): Add memory_memalign_retry probe.
12212 (__libc_valloc): Add memory_valloc_retry probe.
12213 (__libc_pvalloc): Add memory_pvalloc_retry probe.
12214 (__libc_calloc): Add memory_calloc_retry probe.
12215 * manual/probes.texi: Document them.
12217 * malloc/arena.c (get_free_list): Add probe
12218 memory_arena_reuse_free_list.
12219 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
12220 and memory_arena_reuse.
12221 (arena_get2) [!PER_THREAD]: Likewise.
12222 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
12223 memory_arena_reuse_realloc.
12224 * manual/probes.texi: Document them.
12226 * malloc/malloc.c (__libc_free): Add
12227 memory_mallopt_free_dyn_thresholds probe.
12228 (__libc_mallopt): Add multiple memory_mallopt probes.
12229 * manual/probes.texi: Document them.
12231 * malloc/malloc.c: Include stap-probe.h.
12232 (__libc_mallopt): Add memory_mallopt probe.
12233 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
12234 * manual/probes.texi: New.
12235 * manual/Makefile (chapters): Add probes.
12236 * manual/threads.texi: Set next node.
12238 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
12240 [BZ #15963, #13985]
12241 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
12242 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
12243 Add `Chinese' to `nan' entry name.
12245 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12247 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
12248 (POLYNOMIAL): Likewise.
12249 (TAYLOR_SINCOS): Likewise.
12250 (TAYLOR_SLOW): Likewise.
12251 (__sin): Use TAYLOR_SINCOS.
12253 (slow): Use TAYLOR_SLOW.
12255 (bsloww): Likewise.
12256 (csloww): Likewise.
12258 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12260 * stdlib/strtod_l.c: Fix buffer overrun.
12262 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12264 * benchtests/Makefile (bench): Add sincos.
12265 * benchtests/bench-sincos.c: New file.
12267 * math/libm-test.inc (cos_test_data): New test inputs.
12268 (sin_test_data): Likewise.
12270 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
12276 (sloww1): Likewise.
12277 (sloww2): Likewise.
12278 (bsloww1): Likewise.
12279 (bsloww2): Likewise.
12280 (cslow2): Likewise.
12281 (csloww1): Likewise.
12282 (csloww2): Likewise.
12284 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
12289 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
12293 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
12295 * config.h.in (HAVE_MIPS_NAN2008): New macro.
12296 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
12297 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
12298 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
12299 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
12300 * elf/cache.c (print_entry): Handle the new cache flags.
12302 2013-09-18 Joseph Myers <joseph@codesourcery.com>
12303 Aldy Hernandez <aldyh@redhat.com>
12305 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
12306 Change condition to [_SOFT_FLOAT].
12307 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
12308 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
12309 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
12310 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
12311 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
12312 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
12313 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
12314 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
12315 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
12316 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
12317 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
12318 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
12319 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
12320 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
12321 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
12322 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
12325 2013-09-18 Joseph Myers <joseph@codesourcery.com>
12327 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
12328 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
12329 (__longjmp): Use LOAD_GP to load saved GPRs.
12330 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
12331 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
12332 (__sigsetjmp): Use SAVE_GP to save GPRs.
12334 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
12335 Do not append -msoft-float.
12336 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
12338 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12340 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
12342 2013-09-17 Joseph Myers <joseph@codesourcery.com>
12345 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
12346 (_FPU_GETCW): Use initial "__" on variable and field names but not
12347 on macro parameter name.
12348 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
12349 parentheses around reference to macro parameter.
12351 2013-09-13 Richard Sandiford <richard@codesourcery.com>
12353 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
12355 (ctype_startup): Use uint32_t in cast and sizeof for
12358 2013-09-11 Jia Liu <proljc@gmail.com>
12360 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
12362 [__FreeBSD__]: Likewise.
12364 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
12366 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
12367 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
12368 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
12369 (strchr): Remove __strchr_sse42 ifunc selection.
12370 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
12371 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
12373 2013-09-11 Will Newton <will.newton@linaro.org>
12375 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
12376 parameter to RES. Remove hardcoded 1000 value.
12377 * benchtests/bench-skeleton.c (main): Pass RES parameter
12378 to TIMING_INIT and multiply result by 1000.
12380 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12382 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12384 2013-09-11 Andreas Schwab <schwab@suse.de>
12386 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
12388 (O_TMPFILE) [__USE_GNU]: Define.
12389 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
12392 2013-09-11 Will Newton <will.newton@linaro.org>
12395 * malloc/malloc.c (__libc_memalign): Check the value of bytes
12398 2013-09-11 Will Newton <will.newton@linaro.org>
12401 * malloc/malloc.c (__libc_valloc): Check the value of bytes
12404 2013-09-11 Will Newton <will.newton@linaro.org>
12407 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
12410 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
12412 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
12413 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12414 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12415 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12416 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12418 2013-09-10 Allan McRae <allan@archlinux.org>
12421 * manual/arith.texi (Parsing of Floats): Clarify
12425 * manual/install.texi (Running make install): Mention
12427 * INSTALL: Regenerated.
12429 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
12431 * csu/init-first.c (_init): Remove the !SHARED condition around
12432 FPU control word initialization.
12433 * elf/dl-support.c (_dl_fpu_control): New variable.
12434 (_dl_aux_init) <AT_FPUCW>: Initialize it.
12435 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
12436 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
12437 * math/test-fpucw-static.c: New file.
12438 * math/test-fpucw-ieee.c: New file.
12439 * math/test-fpucw-ieee-static.c: New file.
12440 * math/Makefile (tests): Add `test-fpucw-ieee' and
12442 (tests-static): New variable.
12443 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
12445 [($(build-shared),yes)]
12446 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
12448 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
12451 2013-09-09 Allan McRae <allan@archlinux.org>
12454 * manual/string.texi (Collation Functions): Fix typo in
12456 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
12459 * stdlib/isomac.c (get_null_defines): Fix memory leak.
12462 * libio/memstream.c (open_memstream): Fix memory leak.
12463 * libio/wmemstream.c (open_wmemstream): Likewise.
12466 * nscd/netgroupcache.c: Fix nesting of ifdefs.
12468 2013-09-09 Will Newton <will.newton@linaro.org>
12470 * malloc/Makefile: Add tst-realloc to tests.
12471 * malloc/tst-realloc.c: New file.
12473 2013-09-09 Allan McRae <allan@archlinux.org>
12476 * COPYING: Update from GNU website to fix FSF address.
12477 * COPYING.LIB: Likewise.
12479 2013-09-06 David S. Miller <davem@davemloft.net>
12481 * po/zh_TW.po: Update Chinese (traditional) translation from
12482 translation project.
12484 2013-09-06 Richard Sandiford <richard@codesourcery.com>
12485 Joseph Myers <joseph@codesourcery.com>
12487 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
12489 (obstack_chunk_alloc): New macro.
12490 (obstack_chunk_free): Likewise.
12491 (record_offset): New function.
12492 (init_locale_data): Likewise.
12493 (align_locale_data): Likewise.
12494 (add_locale_empty): Likewise.
12495 (add_locale_raw_data): Likewise.
12496 (add_locale_raw_obstack): Likewise.
12497 (add_locale_string): Likewise.
12498 (add_locale_wstring): Likewise.
12499 (add_locale_uint32): Likewise.
12500 (add_locale_uint32_array): Likewise.
12501 (add_locale_char): Likewise.
12502 (start_locale_structure): Likewise.
12503 (end_locale_structure): Likewise.
12504 (start_locale_prelude): Likewise.
12505 (end_locale_prelude): Likewise.
12506 (write_locale_data): Take locale_file structure rather than an
12508 * locale/programs/locfile.h: Include "obstack.h".
12509 (struct locale_file): Change to store locale file contents instead
12511 (init_locale_data): New prototype.
12512 (align_locale_data): Likewise.
12513 (add_locale_empty): Likewise.
12514 (add_locale_raw_data): Likewise.
12515 (add_locale_raw_obstack): Likewise.
12516 (add_locale_string): Likewise.
12517 (add_locale_wstring): Likewise.
12518 (add_locale_uint32): Likewise.
12519 (add_locale_uint32_array): Likewise.
12520 (add_locale_char): Likewise.
12521 (start_locale_structure): Likewise.
12522 (end_locale_structure): Likewise.
12523 (start_locale_prelude): Likewise.
12524 (end_locale_prelude): Likewise.
12525 (write_locale_data): Update prototype.
12526 * locale/programs/3level.h (struct TABLE): Remove result field.
12527 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
12528 Use new locale_file interface.
12529 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
12530 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
12531 * locale/programs/ld-address.c (address_output): Use new
12532 locale_file interface.
12533 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
12535 (collate_finish): Don't call collseq_table_finalize.
12536 (collate_output): Use new locale_file interface.
12537 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
12539 (NO_FINALIZE): Change to NO_ADD_LOCALE.
12540 (TABLE): Move defines earlier in file.
12541 (ELEMENT): Likewise.
12542 (DEFAULT): Likewise.
12543 (wctrans_table_add): Move macro and inline function earlier in
12545 (struct wctype_table): Move type earlier in file.
12546 (add_locale_wctype_table): New static prototype.
12547 (struct locale_ctype_t): Use logical types instead of struct iovec
12548 pointers for members.
12549 (ctype_output): Use new locale_file interface.
12550 (wctype_table_finalize): Change to add_locale_wctype_table. Use
12551 new locale_file interface.
12552 (allocate_arrays): Update for use of new locale_file interface.
12553 * locale/programs/ld-identification.c (identification_output): Use
12554 new locale_file interface.
12555 * locale/programs/ld-measurement.c (measurement_output): Likewise.
12556 * locale/programs/ld-messages.c (messages_output): Likewise.
12557 * locale/programs/ld-monetary.c (monetary_output): Likewise.
12558 * locale/programs/ld-name.c (name_output): Likewise.
12559 * locale/programs/ld-numeric.c (numeric_output): Likewise.
12560 * locale/programs/ld-paper.c (paper_output): Likewise.
12561 * locale/programs/ld-telephone.c (telephone_output): Likewise.
12562 * locale/programs/ld-time.c (time_output): Likewise.
12564 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12566 * benchtests/Makefile: Add memrchr benchmark.
12567 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
12568 benchmark as memrchr.
12569 * benchtests/bench-memrchr-ifunc.c: New file.
12570 * benchtests/bench-memrchr.c: New file.
12572 2013-09-06 Will Newton <will.newton@linaro.org>
12574 * benchtests/Makefile (string-bench): Add memcpy.
12576 2013-09-05 Carlos O'Donell <carlos@redhat.com>
12577 Cong Wang <amwang@redhat.com>
12580 * sysdeps/unix/sysv/linux/bits/in.h
12581 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
12582 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
12583 before __USE_KERNEL_IPV6_DEFS uses.
12584 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
12586 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
12587 sockaddr_in6, or ipv6_mreq.
12589 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12591 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
12592 memory access for final bytes in some large inputs.
12593 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
12595 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12597 * string/test-memrchr.c: New file.
12598 * string/test-memrchr-ifunc.c: New file.
12599 * string/Makefile: Add new memrchr testcase.
12601 2013-09-05 Mike Frysinger <vapier@gentoo.org>
12603 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
12604 fanotify_init returns EPERM.
12606 2013-09-04 Joseph Myers <joseph@codesourcery.com>
12608 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
12610 (top level): Treat second token from macro or constant entries for
12611 allowed headers as allowed.
12612 * include/complex.h: Condition internal declarations on
12614 * include/fenv.h: Condition include of <stdbool.h> and internal
12615 declarations on [!_ISOMAC].
12617 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
12620 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
12622 2013-09-04 Joseph Myers <joseph@codesourcery.com>
12624 * configure.in (--enable-versioning): Remove configure option.
12625 (libc_cv_asm_symver_directive): Remove configure test.
12626 (libc_cv_ld_version_script_option): Likewise.
12627 (VERSIONING): Remove variable and AC_SUBST.
12628 (DO_VERSIONING): Remove AC_DEFINE.
12629 * configure: Regenerated.
12630 * config.h.in (DO_VERSIONING): Remove macro.
12631 * Makerules [$(versioning) = yes]: Change conditionals to
12632 [$(build-shared) = yes].
12633 * config.make.in (versioning): Remove variable.
12634 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
12635 [$(build-shared) = yes].
12636 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
12637 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
12638 * elf/Makefile [$(versioning) = yes]: Change conditionals to
12639 [$(build-shared) = yes].
12640 * extra-lib.mk [$(versioning) = yes]: Likewise.
12641 * hurd/Makefile [$(versioning) = yes]: Likewise.
12642 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
12644 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
12646 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
12647 [SHARED && !NO_HIDDEN].
12648 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
12650 [SHARED && DO_VERSIONING]: Likewise..
12651 * libio/Makefile [$(versioning) = yes]: Change conditionals to
12652 [$(build-shared) = yes].
12653 * manual/install.texi (--disable-versioning): Remove
12655 * INSTALL: Regenerated.
12656 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
12658 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
12659 [$(build-shared) = yes].
12660 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
12661 * sysdeps/i386/i686/multiarch/strstr-c.c
12662 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
12663 [SHARED && !NO_HIDDEN].
12664 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
12665 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
12666 * sysdeps/powerpc/powerpc32/dl-machine.c
12667 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
12668 * sysdeps/powerpc/powerpc32/sysdep.h
12669 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
12670 to [SHARED && PIC && !NO_HIDDEN].
12671 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
12672 conditional to [SHARED].
12674 2013-09-04 Will Newton <will.newton@linaro.org>
12676 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
12677 * benchtests/bench-string.h: Include bench-timing.h instead
12678 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
12679 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
12680 call to HP_TIMING_DIFF_INIT.
12681 * benchtests/bench-memccpy.c: Use bench-timing.h macros
12682 instead of hp-timing.h macros.
12683 * benchtests/bench-memchr.c: Likewise.
12684 * benchtests/bench-memcmp.c: Likewise.
12685 * benchtests/bench-memcpy.c: Likewise.
12686 * benchtests/bench-memmem.c: Likewise.
12687 * benchtests/bench-memmove.c: Likewise.
12688 * benchtests/bench-memset.c: Likewise.
12689 * benchtests/bench-rawmemchr.c: Likewise.
12690 * benchtests/bench-strcasecmp.c: Likewise.
12691 * benchtests/bench-strcasestr.c: Likewise.
12692 * benchtests/bench-strcat.c: Likewise.
12693 * benchtests/bench-strchr.c: Likewise.
12694 * benchtests/bench-strcmp.c: Likewise.
12695 * benchtests/bench-strcpy.c: Likewise.
12696 * benchtests/bench-strcpy_chk.c: Likewise.
12697 * benchtests/bench-strlen.c: Likewise.
12698 * benchtests/bench-strncasecmp.c: Likewise.
12699 * benchtests/bench-strncat.c: Likewise.
12700 * benchtests/bench-strncmp.c: Likewise.
12701 * benchtests/bench-strncpy.c: Likewise.
12702 * benchtests/bench-strnlen.c: Likewise.
12703 * benchtests/bench-strpbrk.c: Likewise.
12704 * benchtests/bench-strrchr.c: Likewise.
12705 * benchtests/bench-strspn.c: Likewise.
12706 * benchtests/bench-strstr.c: Likewise.
12708 2013-09-04 Will Newton <will.newton@linaro.org>
12710 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
12712 2013-09-03 Joseph Myers <joseph@codesourcery.com>
12715 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
12716 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
12717 * math/libm-test.inc (lgamma_test_data): Add more tests.
12718 * sysdeps/i386/fpu/libm-test-ulps: Update.
12719 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12721 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
12723 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
12724 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12726 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
12727 Add strcmp-sse2-unaligned
12728 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
12730 2013-09-02 Mike Frysinger <vapier@gentoo.org>
12732 * Versions.def (libc): Add GLIBC_2.19.
12734 2013-09-02 Mike Frysinger <vapier@gentoo.org>
12736 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
12737 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
12739 2013-09-02 Joseph Myers <joseph@codesourcery.com>
12742 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
12743 intermediate calculations in recurrence.
12744 (__ieee754_ynf): Likewise.
12745 * math/libm-test.inc (jn_test_data): Do not allow spurious
12746 underflow exception. Add more tests.
12747 (yn_test_data): Add more tests.
12748 * sysdeps/i386/fpu/libm-test-ulps: Update.
12749 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12751 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
12753 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
12755 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
12757 * csu/init-first.c: Fix then/than typos.
12758 * locale/programs/ld-collate.c: Likewise.
12759 * locale/programs/linereader.h: Likewise.
12760 * manual/charset.texi: Likewise.
12761 * manual/filesys.texi: Likewise.
12762 * manual/stdio.texi: Likewise.
12763 * manual/string.texi: Likewise.
12764 * stdlib/fmtmsg.c: Likewise.
12765 * sysdeps/i386/stpncpy.S: Likewise.
12766 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12767 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
12768 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12769 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
12771 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
12773 * elf/dl-open.c: Fix typos.
12774 * iconvdata/gbbig5.c: Likewise.
12775 * iconvdata/iso-2022-jp.c: Likewise.
12776 * iconv/gconv_int.h: Likewise.
12777 * iconv/loop.c: Likewise.
12778 * nis/rpcsvc/nis.h: Likewise.
12779 * resolv/ns_name.c: Likewise.
12780 * stdio-common/vfscanf.c: Likewise.
12781 * streams/stropts.h: Likewise.
12782 * sunrpc/rpc_thread.c: Likewise.
12783 * sysdeps/i386/strpbrk.S: Likewise.
12784 * sysdeps/ieee754/k_standard.c: Likewise.
12785 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12786 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12787 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
12788 * sysdeps/mach/hurd/profil.c: Likewise.
12789 * sysdeps/s390/dl-procinfo.h: Likewise.
12790 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
12791 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
12792 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
12793 * sysdeps/x86_64/dl-trampoline.S: Likewise.
12794 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
12796 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
12798 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
12799 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
12801 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
12803 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
12804 aix specific files.
12805 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
12806 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
12807 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
12808 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
12809 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
12810 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
12811 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
12812 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
12814 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
12815 Roland McGrath <roland@hack.frob.com>
12817 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
12818 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
12820 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
12822 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
12823 __executable_start symbol instead of _start.
12825 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
12827 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
12828 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
12830 * sysdeps/gnu/ldsodefs.h: ... this new file.
12832 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
12833 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
12834 instead of ELFOSABI_LINUX.
12836 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
12837 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
12838 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
12839 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
12841 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
12842 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
12843 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
12845 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
12846 (ibm_extended_long_double): Add ieee_nan member.
12847 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
12848 (do_test): New function.
12850 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
12852 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
12853 functions, renamed from truncdfsf_test, trunctfsf_test,
12855 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
12857 (do_test): Run all these.
12859 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
12861 * argp/argp-help.c: Fix typos.
12862 * argp/argp-parse.c: Likewise.
12863 * debug/backtracesyms.c: Likewise.
12864 * elf/elf.h: Likewise.
12865 * malloc/malloc.c: Likewise.
12866 * nis/nis_print.c: Likewise.
12867 * resolv/res_comp.c: Likewise.
12868 * stdlib/stdlib.h: Likewise.
12869 * sunrpc/clnt_tcp.c: Likewise.
12870 * sunrpc/clnt_udp.c: Likewise.
12871 * sunrpc/clnt_unix.c: Likewise.
12872 * sysdeps/unix/bsd/ptsname.c: Likewise.
12873 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
12874 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
12875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
12877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
12879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
12881 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
12883 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12885 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
12886 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12888 2013-08-27 Mike Frysinger <vapier@gentoo.org>
12891 * dlfcn/Makefile (tests): Add bug-dl-leaf.
12892 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
12893 ($(objpfx)bug-dl-leaf): New rule.
12894 ($(objpfx)bug-dl-leaf.so): Likewise.
12895 ($(objpfx)bug-dl-leaf.out): Likewise.
12896 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
12897 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
12898 * dlfcn/bug-dl-leaf.c: New test.
12899 * dlfcn/bug-dl-leaf-lib.c: Likewise.
12900 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
12901 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
12902 (dlclose): Likewise.
12903 (dlmopen): Likewise.
12905 2013-08-27 Roland McGrath <roland@hack.frob.com>
12907 * include/netdb.h [!_ISOMAC]:
12908 Don't include <tls.h>.
12909 (h_errno, __libc_h_errno): Move declaration and macros out of
12912 * include/resolv.h [_RESOLV_H_]:
12913 Don't include <tls.h>.
12914 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
12915 * resolv/res_libc.c: Don't include <tls.h>.
12916 (_res): Use __attribute__ ((nocommon)) in place of
12917 __attribute__ ((section (".bss"))).
12919 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
12920 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
12922 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
12924 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
12925 only under [SIOCGIFCONF && SIOCGIFNETMASK].
12927 * resolv/res_mkquery.c: Include <sys/time.h>.
12929 * inet/ifreq.c: Moved to ...
12930 * sysdeps/unix/ifreq.c: ... here.
12931 * inet/ifreq.c: New file, true stub version.
12933 * socket/sa_len.c: New file.
12934 * socket/Makefile (aux): Add it.
12935 * sysdeps/unix/sysv/linux/Makefile
12936 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
12937 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
12938 and #include <socket/sa_len.c>.
12939 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
12940 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
12942 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
12943 * bits/socket.h: ... here.
12945 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
12946 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
12947 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
12949 2013-08-27 Andreas Schwab <schwab@suse.de>
12952 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
12953 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
12954 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
12955 * string/test-strcasecmp.c (test_main): Run tests in several
12957 * string/test-strncasecmp.c (test_main): Likewise.
12959 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
12960 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
12961 to __strcasecmp_nonascii and __strncasecmp_nonascii.
12962 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
12963 (__strncasecmp_ssse3) [PIC]: Likewise.
12965 2013-08-26 Roland McGrath <roland@hack.frob.com>
12967 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
12969 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
12970 instead of explicitly declaring xdecrypt.
12971 * nis/nss_nis/nis-publickey.c: Likewise.
12973 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12976 * nscd/aicache.c: Include res_hconf.h.
12977 (addhstaiX): Initialize res_hconf.
12979 2013-08-26 Andreas Schwab <schwab@suse.de>
12981 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
12982 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
12984 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12986 * nscd/aicache.c (addhstaiX): Fix indentation.
12988 2013-08-25 Mike Frysinger <vapier@gentoo.org>
12990 * configure.ac: Quote $build_pt_chown test.
12991 * configure: Regenerated.
12993 2013-08-23 Joseph Myers <joseph@codesourcery.com>
12996 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
12997 * math/s_cexpf.c (__cexpf): Likewise.
12998 * math/s_cexpl.c (__cexpl): Likewise.
12999 * math/libm-test.inc (cexp_test_data): Correct expected return
13000 value for NaN + i0. Add another test.
13002 2013-08-22 David S. Miller <davem@davemloft.net>
13004 * po/ca.po: Update Catalan translation from translation project.
13005 * po/uk.po: Add Ukrainian translations from translation project.
13007 2013-08-21 Joseph Myers <joseph@codesourcery.com>
13010 * math/s_fdim.c (__fdim): Check for infinite arguments if result
13011 is infinite, not alongside NaN test.
13012 * math/s_fdimf.c (__fdimf): Likewise.
13013 * math/s_fdiml.c (__fdiml): Likewise.
13014 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
13015 errno is unchanged.
13017 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
13019 * argp/argp-help.c: Fix typos.
13020 * crypt/speeds.c: Likewise.
13021 * csu/check_fds.c: Likewise.
13022 * elf/dl-load.c: Likewise.
13023 * elf/dl-open.c: Likewise.
13024 * elf/reldep3.c: Likewise.
13025 * elf/reldep.c: Likewise.
13026 * elf/sprof.c: Likewise.
13027 * iconv/iconv_charmap.c: Likewise.
13028 * iconv/skeleton.c: Likewise.
13029 * iconv/strtab.c: Likewise.
13030 * io/lockf64.c: Likewise.
13031 * libio/libioP.h: Likewise.
13032 * resolv/gai_notify.c: Likewise.
13033 * resolv/ns_name.c: Likewise.
13034 * resolv/ns_samedomain.c: Likewise.
13035 * resolv/res_send.c: Likewise.
13036 * stdlib/random.c: Likewise.
13037 * sunrpc/rpc/xdr.h: Likewise.
13038 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
13039 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
13040 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
13041 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
13042 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
13043 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
13044 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
13045 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
13046 * sysdeps/mach/hurd/check_fds.c: Likewise.
13047 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
13048 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
13049 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13050 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
13051 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
13052 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
13053 * sysdeps/pthread/aio_notify.c: Likewise.
13054 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
13055 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
13056 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
13057 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
13058 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
13060 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13062 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
13063 version if bit_Slow_SSE4_2 is set.
13064 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13065 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
13067 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13070 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
13071 trampoline stack frame information.
13072 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
13073 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
13074 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
13075 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
13076 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
13077 * sysdeps/unix/sysv/linux/powerpc/init-first.c
13078 (_libc_vdso_platform_setup): Initialize the signal trampolines.
13079 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
13081 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
13082 interrupting a syscall and set with option SA_SIGINFO.
13084 2013-08-20 Joseph Myers <joseph@codesourcery.com>
13087 * math/s_cproj.c (__cproj): Only return an infinity if one part of
13088 argument is infinite.
13089 * math/s_cprojf.c (__cprojf): Likewise.
13090 * math/s_cprojl.c (__cprojl): Likewise.
13091 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
13092 * math/libm-test.inc (cproj_test_data): Add more tests.
13094 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
13096 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
13097 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
13098 size. Use __ffs to determine corresponding shift.
13100 2013-08-20 Joseph Myers <joseph@codesourcery.com>
13101 Roland McGrath <roland@hack.frob.com>
13103 * Makefile (INSTALL): Remove trailing blank lines from output of
13106 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13108 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
13109 Align 32 bit compat elf_greg to 8 bytes.
13111 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
13113 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
13115 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13117 * string/strcoll_l.c (coll_seq): New structure.
13118 (get_next_seq_cached): New function.
13119 (get_next_seq): New function.
13120 (do_compare): New function.
13121 (STRCOLL): Use GNU style definition. Simplify implementation
13122 by using get_next_seq, get_next_seq_cached and do_compare.
13124 2013-08-16 Florian Weimer <fweimer@redhat.com>
13128 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
13130 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
13132 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
13133 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
13134 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
13136 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
13137 GETDENTS_64BIT_ALIGNED.
13138 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
13139 * manual/filesys.texi (Reading/Closing Directory): Document
13140 ENAMETOOLONG return value of readdir_r. Recommend readdir more
13142 * manual/conf.texi (Limits for Files): Add portability note to
13143 NAME_MAX, PATH_MAX.
13144 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
13146 2013-08-13 Andreas Schwab <schwab@suse.de>
13149 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
13151 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
13152 LDBL_MAX_EXP >= 16384]: Add tests for it.
13154 2013-08-12 David S. Miller <davem@davemloft.net>
13156 * version.h (RELEASE): Set to "development".
13157 (VERSION): Set to "2.18.90".
13158 * NEWS: Add 2.19 section.
13160 2013-08-03 David S. Miller <davem@davemloft.net>
13162 * po/ko.po: Update Korean translation from translation project.
13164 2013-08-01 David S. Miller <davem@davemloft.net>
13166 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
13167 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
13170 2013-07-30 David S. Miller <davem@davemloft.net>
13172 * po/fr.po: Update French translation from translation project.
13174 2013-07-28 David S. Miller <davem@davemloft.net>
13176 * po/cs.po: Update Czech translation from translation project.
13178 * po/sv.po: Update Swedish translation from translation project.
13180 2013-07-27 David S. Miller <davem@davemloft.net>
13182 * po/eo.po: Update Esperanto translation from translation project.
13184 * po/vi.po: Update Vietnamese translation from translation project.
13186 * po/de.po: Update German translation from translation project.
13188 2013-07-26 David S. Miller <davem@davemloft.net>
13190 * po/bg.po: Update Bulgarian translation from translation project.
13192 * po/nl.po: Update Dutch translation from translation project.
13193 * po/pl.po: Update Polish translation from translation project.
13194 * po/ru.po: Update Russian translation from translation project.
13196 2013-07-24 David S. Miller <davem@davemloft.net>
13198 * po/libc.pot: Update.
13200 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13202 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
13203 variable page size.
13204 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
13205 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
13206 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
13208 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13210 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
13212 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13213 Andreas Schwab <schwab@suse.de>
13214 Roland McGrath <roland@hack.frob.com>
13215 Joseph Myers <joseph@codesourcery.com>
13216 Carlos O'Donell <carlos@redhat.com>
13219 * config.h.in: Define HAVE_PT_CHOWN.
13220 * config.make.in (build-pt-chown): New variable.
13221 * configure.in (--enable-pt_chown): New configure option.
13222 * configure: Regenerate.
13223 * login/Makefile: Include Makeconfig. Build pt_chown only if
13224 build-pt-chown is enabled.
13225 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
13226 pt_chown to fix pty ownership.
13227 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
13229 * manual/install.texi (Configuring and compiling): Mention
13230 --enable-pt_chown. Add @findex for grantpt.
13231 * INSTALL: Regenerate.
13233 2013-07-20 David S. Miller <davem@davemloft.net>
13235 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
13236 difference between 32-bit and 64-bit.
13238 2013-07-15 Carlos O'Donell <carlos@redhat.com>
13241 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
13242 Avoid system header dependency with -ffreestanding.
13243 ($(objpfx)bits/syscall%d): Likewise.
13245 2013-07-13 David S. Miller <davem@davemloft.net>
13247 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
13248 underflows from atanl/atan2l due to bug 15319.
13249 (casinh_test_data): Likewise.
13251 2013-07-07 David S. Miller <davem@davemloft.net>
13253 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
13255 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
13257 * sysdeps/i386/fpu/libm-test-ulps: Update.
13258 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13260 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13262 * configure.in (--enable-lock-elision): Fix message text.
13263 * INSTALL: Regenerate.
13264 * configure: Regenerate.
13266 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13268 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13270 2013-07-03 Andreas Jaeger <aj@suse.de>
13272 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
13274 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
13275 (ptrace_peeksiginfo_args): Add.
13276 (__ptrace_peeksiginfo_flags): Add.
13277 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13278 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13279 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13281 2013-07-03 Allan McRae <allan@archlinux.org>
13283 * sysdeps/i386/fpu/libm-test-ulps: Update.
13285 2013-07-02 David S. Miller <davem@davemloft.net>
13287 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13289 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
13291 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13293 2013-07-02 Joseph Myers <joseph@codesourcery.com>
13295 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
13296 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13298 2013-07-02 Andi Kleen <ak@linux.intel.com>
13300 * config.h.in (ENABLE_LOCK_ELISION): Add.
13301 * configure.in (--enable-lock-elision): Add option.
13302 * manual/install.texi: Document --enable lock elision.
13303 * configure: Regenerate
13304 * INSTALL: Regenerate.
13306 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
13308 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
13309 SSE4.2 strcasecmp for libc.a.
13310 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
13312 2013-07-02 Joseph Myers <joseph@codesourcery.com>
13315 * soft-fp/op-common.h (_FP_FMA): New macro.
13316 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
13317 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
13318 (_FP_MUL_MEAT_1_imm): ... here.
13319 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
13320 (_FP_MUL_MEAT_1_wide): ... here.
13321 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
13322 (_FP_MUL_MEAT_1_hard): ... here.
13323 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
13324 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
13325 (_FP_MUL_MEAT_2_wide): ... here.
13326 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
13327 (_FP_MUL_MEAT_2_wide_3mul): ... here.
13328 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
13329 (_FP_MUL_MEAT_2_gmp): ... here.
13330 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
13331 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
13332 (_FP_MUL_MEAT_4_wide): ... here.
13333 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
13334 (_FP_MUL_MEAT_4_gmp): ... here.
13335 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
13336 (_FP_WFRACBITS_DW_S): Likewise.
13337 (_FP_WFRACXBITS_DW_S): Likewise.
13338 (_FP_HIGHBIT_DW_S): Likewise.
13339 (FP_FMA_S): Likewise.
13340 (_FP_FRAC_HIGH_DW_S): Likewise.
13341 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
13342 (_FP_WFRACBITS_DW_D): Likewise.
13343 (_FP_WFRACXBITS_DW_D): Likewise.
13344 (_FP_HIGHBIT_DW_D): Likewise.
13345 (FP_FMA_D): Likewise.
13346 (_FP_FRAC_HIGH_DW_D): Likewise.
13347 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
13348 (_FP_WFRACBITS_DW_E): Likewise.
13349 (_FP_WFRACXBITS_DW_E): Likewise.
13350 (_FP_HIGHBIT_DW_E): Likewise.
13351 (FP_FMA_E): Likewise.
13352 (_FP_FRAC_HIGH_DW_E): Likewise.
13353 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
13354 (_FP_WFRACBITS_DW_Q): Likewise.
13355 (_FP_WFRACXBITS_DW_Q): Likewise.
13356 (_FP_HIGHBIT_DW_Q): Likewise.
13357 (FP_FMA_Q): Likewise.
13358 (_FP_FRAC_HIGH_DW_Q): Likewise.
13359 * soft-fp/fmasf4.c: New file.
13360 * soft-fp/fmadf4.c: Likewise.
13361 * soft-fp/fmatf4.c: Likewise.
13363 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13365 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
13366 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
13368 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
13370 (index_Slow_SSE4_2): Likewise.
13371 (index_Prefer_PMINUB_for_stringop): Likewise.
13372 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
13373 bit_Slow_SSE4_2 is set.
13374 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
13375 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13377 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13379 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
13380 rtld_global._dl_hwcap2.
13381 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
13383 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
13384 POWER8 feature descriptions defined in _dl_hwcap2.
13385 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
13386 string handling for POWER8 feature bits.
13387 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
13388 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
13389 _dl_powerpc_cap_flags.
13390 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
13391 * sysdeps/powerpc/rtld-global-offsets.sym
13392 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
13393 _dl_hwcap2 in the rtld_global_ro structure.
13395 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13397 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
13398 hardware capabilities in support of AT_HWCAP2.
13399 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
13400 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
13402 (_dl_show_auxv): Add support for calling _dl_procinfo to display
13403 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
13404 explicitly the unknown a_type display mechanism is used.
13405 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
13406 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
13408 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
13409 to macro prototype for AT_HWCAP2 support.
13410 * sysdeps/i386/dl-procinfo.h: Likewise.
13411 * sysdeps/s390/dl-procinfo.h: Likewise.
13412 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
13413 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
13414 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
13415 return -1 for unknown a_type display fallback.
13416 * sysdeps/sparc/dl-procinfo.h: Likewise.
13417 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
13418 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
13420 2013-06-28 Joseph Myers <joseph@codesourcery.com>
13422 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
13423 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
13425 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
13428 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
13429 mprotect making __stack_prot writable.
13431 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
13432 Joseph Myers <joseph@codesourcery.com>
13434 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
13435 as being properly aligned.
13437 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
13439 * dlfcn/modstatic5.c: New file.
13440 * dlfcn/tststatic5.c: New file.
13441 * dlfcn/Makefile (tests): Add tststatic5.
13442 (tests-static): Likewise.
13443 (modules-names): Add modstatic5.
13444 (tststatic5-ENV): New variable.
13445 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
13448 * elf/dl-support.c (_dl_main_map): New variable.
13449 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
13450 (_dl_nns, _dl_load_adds): Set to 1.
13451 (_dl_initial_searchlist): Refer to _dl_main_map.
13452 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
13453 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
13454 call to _dl_get_origin.
13455 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
13457 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
13458 * dlfcn/modstatic3.c: New file.
13459 * dlfcn/tststatic3.c: New file.
13460 * dlfcn/tststatic4.c: New file.
13461 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
13462 (tests-static): Likewise.
13463 (modules-names): Add modstatic3.
13464 (tststatic3-ENV, tststatic4-ENV): New variables.
13465 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
13466 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
13468 2013-06-26 Joseph Myers <joseph@codesourcery.com>
13470 * configure.in (CC): Require GCC version 4.4 or later.
13471 * configure: Regenerated.
13472 * manual/install.texi (Tools for Compilation): Update GCC version
13474 * INSTALL: Regenerated.
13476 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13479 * string/test-memcmp.c (check2): New.
13480 (main): Call check2.
13482 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
13484 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
13487 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
13489 (dl_open_worker) [!SHARED]: ... here.
13491 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13493 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
13495 2013-06-25 Richard Henderson <rth@redhat.com>
13497 * locale/programs/locarchive.c: Include <libc-internal.h>
13499 2013-06-25 Joseph Myers <joseph@codesourcery.com>
13501 * manual/texinfo.tex: Update to version 2013-06-21.17, with
13502 trailing whitespace removed.
13504 2013-06-24 Mike Frysinger <vapier@gentoo.org>
13507 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
13508 * locale/programs/locarchive.c: Include libc-mmap.h.
13509 (prepare_address_space): Take two new outputs (the mmap base and len).
13510 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
13512 (create_archive): Declare new mmap base and len values for
13513 prepare_address_space, and store the result in ah.
13514 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
13515 (enlarge_archive): If ah->mmap_base is not NULL, use that and
13516 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
13517 Declare new mmap base and len values for
13518 prepare_address_space, and store the result in new_ah.
13519 (open_archive): Declare new mmap base and len values for
13520 prepare_address_space, and store the result in ah.
13521 (close_archive): If ah->mmap_base is not NULL, use that and
13522 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
13523 * sysdeps/generic/libc-mmap.h: New file.
13525 2013-06-24 Mike Frysinger <vapier@gentoo.org>
13527 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
13528 (ALIGN_UP): Likewise.
13529 (PTR_ALIGN_DOWN): Likewise.
13530 (PTR_ALIGN_UP): Likewise.
13532 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13534 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
13535 entry mapped to PPC_PLATFORM_POWER8.
13536 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
13538 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
13539 (_dl_string_platform): Add case for exporting platform position for
13541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
13542 search path to sysdeps/powerpc/powerpc32/power8 directory.
13543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
13544 search path to sysdeps/powerpc/powerpc64/power8 directory.
13545 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
13546 power7 directories.
13547 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
13548 power7 directories.
13550 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
13552 * INSTALL: Regenerate.
13554 * nscd/connections.c (nscd_init): Fix comment.
13556 2013-06-22 Joseph Myers <joseph@codesourcery.com>
13558 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
13561 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
13562 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
13564 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
13566 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
13568 (DL_DST_REQ_STATIC): Remove macro.
13570 2013-06-21 Joseph Myers <joseph@codesourcery.com>
13573 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
13574 with a shift of 0 bits.
13576 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
13578 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
13581 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13584 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
13586 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13588 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
13589 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
13590 accepts -fno-tree-loop-distribute-patterns.
13591 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
13592 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
13594 * string/memset.c (memset): Likewise.
13595 * string/test-memmove.c (simple_memmove): Disable loop transformation
13597 * string/test-memset.c (simple_memset): Likewise.
13598 * benchtests/bench-memmove.c (simple_memmove): Likewise.
13599 * benchtests/bench-memset.c (simple_memset): Likewise.
13600 * configure: Regenerated.
13602 2013-06-20 Joseph Myers <joseph@codesourcery.com>
13604 * math/test-misc.c (main): Ignore fesetround failure when failures
13605 of subsequent rounding tests would be ignored.
13608 * math/fedisblxcpt.c (fedisableexcept): Return 0.
13609 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
13610 * math/fegetenv.c (__fegetenv): Return 0.
13611 * math/fegetexcept.c (fegetexcept): Return 0.
13612 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
13614 * math/feholdexcpt.c (feholdexcept): Return 0.
13615 * math/fesetenv.c (__fesetenv): Return 0.
13616 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
13617 argument FE_TONEAREST.
13618 * math/feupdateenv.c (__feupdateenv): Return 0.
13619 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
13621 2013-06-18 Roland McGrath <roland@hack.frob.com>
13623 * elf/rtld-Rules (rtld-compile-command.S): New variable.
13624 (rtld-compile-command.s, rtld-compile-command.c): New variables.
13625 ($(objpfx)rtld-%.os rules): Use them.
13627 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13629 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
13632 2013-06-17 Roland McGrath <roland@hack.frob.com>
13634 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
13635 length of target pattern, then descending length of dependency pattern.
13636 * configure.in (AWK): Require gawk 3.1.2 or newer.
13637 * manual/install.texi (Tools for Compilation): Say that we do.
13638 * configure: Regenerated.
13640 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
13641 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
13642 * scripts/sysd-rules.awk: ... this new script.
13643 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
13644 than a glob-style pattern.
13646 2013-06-17 Joseph Myers <joseph@codesourcery.com>
13648 * math/test-misc.c (main): Do not treat incorrectly rounded
13649 conversions as failure unless ROUNDING_TESTS passes.
13651 2013-06-15 Joseph Myers <joseph@codesourcery.com>
13654 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
13655 restore exception state around main square root computation, then
13656 check for inexactness explicitly.
13658 * math/libm-test.inc (fma_test_data): Add another test.
13660 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13662 * manual/threads.texi (Non-POSIX Extensions): New document
13663 node. Document pthread_getattr_default_np and
13664 pthread_setattr_default_np.
13666 * Versions.def (libpthread): Add GLIBC_2.18.
13667 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
13668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
13670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
13672 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13674 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13676 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
13678 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
13680 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
13682 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
13684 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
13687 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13689 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13690 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
13692 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
13693 H.J. Lu <hjl.tools@gmail.com>
13696 * sysdeps/x86_64/rtld-memset.c: Remove file.
13697 * sysdeps/x86_64/rtld-memset.S: New file.
13699 2013-06-14 Joseph Myers <joseph@codesourcery.com>
13701 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
13702 (test_in_one_mode): Take arguments for whether the rounding mode
13703 is supported for each floating-point type.
13704 (do_test): Pass new arguments to test_in_one_mode using
13707 2013-06-13 Roland McGrath <roland@hack.frob.com>
13709 * posix/tst-waitid.c (do_test): Distinguish different instances of
13710 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
13711 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
13712 before entering the kernel for waitpid.
13714 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13716 * NEWS: Fix note on clock function precision. Text by Roland
13719 2013-06-13 Roland McGrath <roland@hack.frob.com>
13721 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
13722 it into place only when and if the sanity check passes.
13724 2013-06-13 Joseph Myers <joseph@codesourcery.com>
13726 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
13727 output for whether conversion result is exact. Take argument
13728 indicating whether type is IBM long double.
13729 (round_for_all): Change need_exact field to ibm_ld.
13730 * stdlib/tst-strtod-round.c (struct exactness): New type.
13731 (struct test): Change bool ld_ok field to struct exactness exact.
13732 (TEST): Update all definitions for change to field.
13733 (tests): Regenerate array contents.
13734 (test_in_one_mode): Take pointer to new field instead of old ld_ok
13735 field value. Check for IBM long double here.
13736 (do_test): Update calls to test_in_one_mode.
13738 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13741 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
13742 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
13744 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13747 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
13748 generated by the compiler on loop optimizations.
13749 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
13750 general definitions.
13752 2013-06-12 Joseph Myers <joseph@codesourcery.com>
13754 * math/bug-nextafter.c: Include <math-tests.h>.
13755 (main): Only test for exceptions if EXCEPTION_TESTS is true for
13757 * math/bug-nexttoward.c: Include <math-tests.h>.
13758 (main): Only test for exceptions if EXCEPTION_TESTS is true for
13760 * math/test-misc.c: Include <math-tests.h>.
13761 (main): Only test for exceptions if EXCEPTION_TESTS is true for
13764 2013-06-12 Andreas Jaeger <aj@suse.de>
13766 * po/ia.po: Update Interlingua translation from translation
13769 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
13771 * include/fenv.h: Include stdbool.h.
13772 (struct rm_ctx): New structure.
13773 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
13775 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
13776 (SET_RESTORE_ROUNDF): Likewise.
13777 (SET_RESTORE_ROUNDL): Likewise.
13778 (SET_RESTORE_ROUND_NOEX): Likewise.
13779 (SET_RESTORE_ROUND_NOEXF): Likewise.
13780 (SET_RESTORE_ROUND_NOEXL): Likewise.
13781 (SET_RESTORE_ROUND_53BIT): Likewise.
13782 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
13783 (libc_feresetround_noexf_ctx): Likewise.
13784 (libc_feresetround_noexl_ctx): Likewise.
13785 (libc_feholdsetround_53bit_ctx): Likewise.
13786 (libc_feresetround_53bit_ctx): Likewise.
13787 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
13788 (libc_feholdexcept_setround_sse_ctx): New function.
13789 (libc_fesetenv_sse_ctx): Likewise.
13790 (libc_feupdateenv_sse_ctx): Likewise.
13791 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
13792 (libc_feholdexcept_setround_387_ctx): Likewise.
13793 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
13794 (libc_feholdsetround_387_prec_ctx): Likewise.
13795 (libc_feholdsetround_387_ctx): Likewise.
13796 (libc_feholdsetround_387_53bit_ctx): Likewise.
13797 (libc_feholdsetround_sse_ctx): Likewise.
13798 (libc_feresetround_sse_ctx): Likewise.
13799 (libc_feresetround_387_ctx): Likewise.
13800 (libc_feupdateenv_387_ctx): Likewise.
13801 (libc_feholdexcept_setroundf_ctx): Define macro.
13802 (libc_fesetenvf_ctx): Likewise.
13803 (libc_feupdateenvf_ctx): Likewise.
13804 (libc_feholdsetroundf_ctx): Likewise.
13805 (libc_feresetroundf_ctx): Likewise.
13806 (libc_feholdexcept_setround_ctx): Likewise.
13807 (libc_fesetenv_ctx): Likewise.
13808 (libc_feupdateenv_ctx): Likewise.
13809 (libc_feholdsetround_ctx): Likewise.
13810 (libc_feresetround_ctx): Likewise.
13811 (libc_feholdexcept_setroundl_ctx): Likewise.
13812 (libc_feupdateenvl_ctx): Likewise.
13813 (libc_feholdsetroundl_ctx): Likewise.
13814 (libc_feresetroundl_ctx): Likewise.
13815 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
13816 (libc_feresetround_53bit_ctx): Likewise.
13818 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13820 * locale/iso-639.def: Convert to UTF-8.
13822 2013-06-11 Joseph Myers <joseph@codesourcery.com>
13824 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
13825 (EXCEPTION_TESTS_double): Likewise.
13826 (EXCEPTION_TESTS_long_double): Likewise.
13827 (EXCEPTION_TESTS): Likewise.
13828 * math/libm-test.inc (test_exceptions): Only test exceptions if
13829 EXCEPTION_TESTS (FLOAT).
13831 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13833 * benchtests/Makefile (string-bench): Add strcpy_chk and
13835 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
13836 * benchtests/bench-stpcpy_chk.c: New file.
13837 * benchtests/bench-strcpy_chk-ifunc.c: New file.
13838 * benchtests/bench-strcpy_chk.c: New file.
13839 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
13841 (do_test): Likewise.
13843 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13845 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
13846 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
13847 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
13848 with tabs where appropriate.
13849 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
13851 [PPC_PLATFORM_PPC440]: Likewise.
13852 [PPC_PLATFORM_PPC464]: Likewise.
13853 [PPC_PLATFORM_PPC476]: Likewise.
13854 (_dl_string_platform): Add support for detecting ppc405, ppc440,
13855 ppc464, and ppc476 platform strings merging from ports/
13858 2013-06-11 Andreas Schwab <schwab@suse.de>
13861 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
13862 (from_ucs4_idx): Regenerate.
13863 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
13864 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
13865 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
13866 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
13867 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
13868 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
13869 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
13870 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
13871 from FROM_LOOP and TO_LOOP specific macros.
13872 (BODY): Handle combining characters.
13873 * iconvdata/BIG5HKSCS.irreversible: Update.
13874 * iconvdata/BIG5HKSCS.precomposed: New file.
13875 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
13877 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
13879 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13881 * include/sys/time.h: Fix indentation and add copyright header.
13883 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
13884 (do_test): Likewise.
13885 * string/test-memchr.c (do_one_test): Likewise.
13886 (do_test): Likewise.
13887 * string/test-memcmp.c (do_one_test): Likewise.
13888 (do_test): Likewise.
13889 * string/test-memcpy.c (do_one_test): Likewise.
13890 (do_test): Likewise.
13891 * string/test-memmem.c (do_one_test): Likewise.
13892 (do_test): Likewise.
13893 (do_random_tests): Likewise.
13894 * string/test-memmove.c (do_one_test): Likewise.
13895 (do_test): Likewise.
13896 * string/test-memset.c (do_one_test): Likewise.
13897 (do_test): Likewise.
13898 * string/test-rawmemchr.c (do_one_test): Likewise.
13899 (do_test): Likewise.
13900 * string/test-strcasecmp.c (do_one_test): Likewise.
13901 (do_test): Likewise.
13902 * string/test-strcasestr.c (do_one_test): Likewise.
13903 (do_test): Likewise.
13904 * string/test-strcat.c (do_one_test): Likewise.
13905 (do_test): Likewise.
13906 * string/test-strchr.c (do_one_test): Likewise.
13907 (do_test): Likewise.
13908 * string/test-strcmp.c (do_one_test): Likewise.
13909 (do_test): Likewise.
13910 * string/test-strcpy.c (do_one_test): Likewise.
13911 (do_test): Likewise.
13912 * string/test-string.h: Likewise.
13913 (test_init): Likewise.
13914 * string/test-strlen.c (do_one_test): Likewise.
13915 (do_test): Likewise.
13916 * string/test-strncasecmp.c (do_one_test): Likewise.
13917 (do_test): Likewise.
13918 * string/test-strncat.c (do_one_test): Likewise.
13919 (do_test): Likewise.
13920 * string/test-strncmp.c (do_one_test): Likewise.
13921 (do_test_limit): Likewise.
13922 (do_test): Likewise.
13923 * string/test-strncpy.c (do_one_test): Likewise.
13924 (do_test): Likewise.
13925 * string/test-strnlen.c (do_one_test): Likewise.
13926 (do_test): Likewise.
13927 * string/test-strpbrk.c (do_one_test): Likewise.
13928 (do_test): Likewise.
13929 * string/test-strrchr.c (do_one_test): Likewise.
13930 (do_test): Likewise.
13931 * string/test-strspn.c (do_one_test): Likewise.
13932 (do_test): Likewise.
13933 * string/test-strstr.c (do_one_test): Likewise.
13934 (do_test): Likewise.
13936 * benchtests/Makefile (string-bench): Add string benchmarks.
13937 * benchtests/bench-bcopy-ifunc.c: New file.
13938 * benchtests/bench-bcopy.c: New file.
13939 * benchtests/bench-bzero-ifunc.c: New file.
13940 * benchtests/bench-bzero.c: New file.
13941 * benchtests/bench-memccpy-ifunc.c: New file.
13942 * benchtests/bench-memccpy.c: New file.
13943 * benchtests/bench-memchr-ifunc.c: New file.
13944 * benchtests/bench-memchr.c: New file.
13945 * benchtests/bench-memcmp-ifunc.c: New file.
13946 * benchtests/bench-memcmp.c: New file.
13947 * benchtests/bench-memmem-ifunc.c: New file.
13948 * benchtests/bench-memmem.c: New file.
13949 * benchtests/bench-memmove-ifunc.c: New file.
13950 * benchtests/bench-memmove.c: New file.
13951 * benchtests/bench-mempcpy-ifunc.c: New file.
13952 * benchtests/bench-mempcpy.c: New file.
13953 * benchtests/bench-memset-ifunc.c: New file.
13954 * benchtests/bench-memset.c: New file.
13955 * benchtests/bench-rawmemchr-ifunc.c: New file.
13956 * benchtests/bench-rawmemchr.c: New file.
13957 * benchtests/bench-stpcpy-ifunc.c: New file.
13958 * benchtests/bench-stpcpy.c: New file.
13959 * benchtests/bench-stpncpy-ifunc.c: New file.
13960 * benchtests/bench-stpncpy.c: New file.
13961 * benchtests/bench-strcasecmp-ifunc.c: New file.
13962 * benchtests/bench-strcasecmp.c: New file.
13963 * benchtests/bench-strcasestr-ifunc.c: New file.
13964 * benchtests/bench-strcasestr.c: New file.
13965 * benchtests/bench-strcat-ifunc.c: New file.
13966 * benchtests/bench-strcat.c: New file.
13967 * benchtests/bench-strchr-ifunc.c: New file.
13968 * benchtests/bench-strchr.c: New file.
13969 * benchtests/bench-strchrnul-ifunc.c: New file.
13970 * benchtests/bench-strchrnul.c: New file.
13971 * benchtests/bench-strcmp-ifunc.c: New file.
13972 * benchtests/bench-strcmp.c: New file.
13973 * benchtests/bench-strcpy-ifunc.c: New file.
13974 * benchtests/bench-strcpy.c: New file.
13975 * benchtests/bench-strcspn-ifunc.c: New file.
13976 * benchtests/bench-strcspn.c: New file.
13977 * benchtests/bench-strlen-ifunc.c: New file.
13978 * benchtests/bench-strlen.c: New file.
13979 * benchtests/bench-strncasecmp-ifunc.c: New file.
13980 * benchtests/bench-strncasecmp.c: New file.
13981 * benchtests/bench-strncat-ifunc.c: New file.
13982 * benchtests/bench-strncat.c: New file.
13983 * benchtests/bench-strncmp-ifunc.c: New file.
13984 * benchtests/bench-strncmp.c: New file.
13985 * benchtests/bench-strncpy-ifunc.c: New file.
13986 * benchtests/bench-strncpy.c: New file.
13987 * benchtests/bench-strnlen-ifunc.c: New file.
13988 * benchtests/bench-strnlen.c: New file.
13989 * benchtests/bench-strpbrk-ifunc.c: New file.
13990 * benchtests/bench-strpbrk.c: New file.
13991 * benchtests/bench-strrchr-ifunc.c: New file.
13992 * benchtests/bench-strrchr.c: New file.
13993 * benchtests/bench-strspn-ifunc.c: New file.
13994 * benchtests/bench-strspn.c: New file.
13995 * benchtests/bench-strstr-ifunc.c: New file.
13996 * benchtests/bench-strstr.c: New file.
13998 * benchtests/Makefile: Disable parallel execution of targets.
13999 (string-bench): Add memcpy.
14000 (benchset): New variable to store a list of benchmark sets.
14001 (bench-func): Renamed from bench.
14002 (bench-set): New target.
14003 (bench): Depend on bench-func and bench-set.
14004 * benchtests/README: Add section on benchmark sets.
14005 * benchtests/bench-memcpy-ifunc.c: New file.
14006 * benchtests/bench-memcpy.c: New file.
14007 * benchtests/bench-string.h: New file.
14009 2013-06-11 Andreas Schwab <schwab@suse.de>
14012 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
14013 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
14014 values in the triple.
14015 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
14016 terminator in the group key.
14018 2013-06-11 Andreas Jaeger <aj@suse.de>
14020 * po/zh_TW.po: Update Chinese (traditional) translation from
14021 translation project.
14023 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14025 * include/time.h (__clock_gettime): Add libc_hidden_proto.
14026 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
14027 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
14028 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
14029 (clock_getcpuclockid): Likewise.
14030 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
14031 Add weak_alias and libc_hidden_def.
14032 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
14033 * rt/clock_gettime.c (clock_gettime): Rename to
14034 __clock_gettime. Add weak_alias and libc_hidden_def.
14035 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
14036 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
14037 __clock_nanosleep. Add weak_alias and libc_hidden_def.
14038 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
14039 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
14041 * rt/clock_settime.c (clock_settime): Rename to
14042 __clock_settime. Add weak_alias and libc_hidden_def.
14043 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
14045 2013-06-10 Joseph Myers <joseph@codesourcery.com>
14047 * mach/err_boot.sub: Remove trailing whitespace.
14048 * mach/err_ipc.sub: Likewise.
14049 * mach/err_mach.sub: Likewise.
14051 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
14052 (ROUNDING_TESTS_double): Likewise.
14053 (ROUNDING_TESTS_long_double): Likewise.
14054 (ROUNDING_TESTS): Likewise.
14055 * math/libm-test.inc: Include <math-tests.h>.
14056 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
14057 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
14058 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
14059 (IF_ROUND_INIT_FE_UPWARD): Likewise.
14061 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14063 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
14066 2013-06-08 Joseph Myers <joseph@codesourcery.com>
14068 * sysdeps/gnu/errlist.awk: Do not generate space at end of
14069 otherwise empty TRANS lines.
14070 * sysdeps/gnu/errlist.c: Regenerated.
14072 * catgets/gencat.c (error_print): Use (void) in function
14074 * crypt/crypt_util.c (__init_des): Likewise.
14075 * crypt/speeds.c (Stop): Likewise.
14077 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
14078 * inet/ruserpass.c (token): Likewise.
14079 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
14080 * intl/localealias.c (extend_alias_table): Likewise.
14081 * intl/plural-exp.c (init_germanic_plural): Likewise.
14082 * libio/fcloseall.c (__fcloseall): Likewise.
14083 * libio/genops.c (_IO_flush_all): Likewise.
14084 (_IO_flush_all_linebuffered): Likewise.
14085 (_IO_cleanup): Likewise.
14086 (_IO_iter_begin): Likewise.
14087 (_IO_iter_end): Likewise.
14088 (_IO_list_lock): Likewise.
14089 (_IO_list_unlock): Likewise.
14090 (_IO_list_resetlock): Likewise.
14091 * libio/getchar.c (getchar): Likewise.
14092 * libio/getchar_u.c (getchar_unlocked): Likewise.
14093 * libio/getwchar.c (getwchar): Likewise.
14094 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
14095 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
14096 * login/getpt.c (__getpt): Likewise.
14097 * login/tst-utmp.c (main): Likewise.
14098 * malloc/hooks.c (__malloc_check_init): Likewise.
14099 * malloc/malloc.c (__malloc_stats): Likewise.
14100 * malloc/mtrace.c (tr_break): Likewise.
14101 (mtrace): Likewise.
14102 (muntrace): Likewise.
14103 * misc/fstab.c (endfsent): Likewise.
14104 * misc/getclktck.c (__getclktck): Likewise.
14105 * misc/getdtsz.c (__getdtablesize): Likewise.
14106 * misc/gethostid.c (gethostid): Likewise.
14107 * misc/getpagesize.c (__getpagesize): Likewise.
14108 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
14109 (__get_nprocs): Likewise.
14110 (__get_phys_pages): Likewise.
14111 (__get_avphys_pages): Likewise.
14112 * misc/getttyent.c (getttyent): Likewise.
14113 (setttyent): Likewise.
14114 (endttyent): Likewise.
14115 * misc/getusershell.c (getusershell): Likewise.
14116 (endusershell): Likewise.
14117 (setusershell): Likewise.
14118 (initshells): Likewise.
14119 * misc/hsearch.c (__hdestroy): Likewise.
14120 * misc/sync.c (sync): Likewise.
14121 * misc/syslog.c (closelog_internal): Likewise.
14122 (closelog): Likewise.
14123 * misc/ttyslot.c (ttyslot): Likewise.
14124 * misc/vhangup.c (vhangup): Likewise.
14125 * posix/fork.c (__fork): Likewise.
14126 * posix/getegid.c (__getegid): Likewise.
14127 * posix/geteuid.c (__geteuid): Likewise.
14128 * posix/getgid.c (__getgid): Likewise.
14129 * posix/getpid.c (__getpid): Likewise.
14130 * posix/getppid.c (__getppid): Likewise.
14131 * posix/getuid.c (__getuid): Likewise.
14132 * posix/pause.c (pause): Likewise.
14133 * posix/setpgrp.c (setpgrp): Likewise.
14134 * posix/setsid.c (__setsid): Likewise.
14135 * posix/test-vfork.c (noop): Likewise.
14136 * resolv/gethnamaddr.c (_endhtent): Likewise.
14137 (_gethtent): Likewise.
14138 (ht_endhostent): Likewise.
14139 (gethostent): Likewise.
14140 (dns_service): Likewise.
14141 * stdlib/drand48.c (drand48): Likewise.
14142 * stdlib/lrand48.c (lrand48): Likewise.
14143 * stdlib/mrand48.c (mrand48): Likewise.
14144 * stdlib/rand.c (rand): Likewise.
14145 * stdlib/random.c (__random): Likewise.
14146 * stdlib/setenv.c (clearenv): Likewise.
14147 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
14148 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
14149 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
14150 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
14151 (__get_nprocs): Likewise.
14152 (__get_phys_pages): Likewise.
14153 (__get_avphys_pages): Likewise.
14154 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
14155 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
14156 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
14157 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
14158 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
14159 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
14160 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
14161 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
14162 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
14163 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
14164 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
14165 * sysdeps/mach/hurd/sync.c (sync): Likewise.
14166 * sysdeps/posix/clock.c (clock): Likewise.
14167 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
14168 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
14169 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
14170 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
14171 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
14172 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
14173 (__get_nprocs_conf): Likewise.
14174 (__get_phys_pages): Likewise.
14175 (__get_avphys_pages): Likewise.
14176 * time/clock.c (clock): Likewise.
14177 * time/tzset.c (__tzname_max): Likewise.
14179 2013-06-07 Joseph Myers <joseph@codesourcery.com>
14181 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
14182 (__bswap_32): Do not use "register".
14183 * crypt/crypt.c (_ufc_doit_r): Likewise.
14184 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
14185 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
14186 * gmon/gmon.c (__monstartup): Likewise.
14187 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
14188 * hurd/hurdmalloc.c (more_memory): Likewise.
14189 (malloc): Likewise.
14191 (realloc): Likewise.
14192 (malloc_fork_prepare): Likewise.
14193 (malloc_fork_parent): Likewise.
14194 (malloc_fork_child): Likewise.
14195 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
14196 (_svcauth_des): Likewise.
14197 * inet/inet_lnaof.c (inet_lnaof): Likewise.
14198 * inet/inet_net.c (inet_network): Likewise.
14199 * inet/inet_netof.c (inet_netof): Likewise.
14200 * inet/rcmd.c (__validuser2_sa): Likewise.
14201 * io/fts.c (fts_open): Likewise.
14202 (fts_load): Likewise.
14203 (fts_close): Likewise.
14204 (fts_read): Likewise.
14205 (fts_children): Likewise.
14206 (fts_build): Likewise.
14207 (fts_stat): Likewise.
14208 (fts_sort): Likewise.
14209 (fts_alloc): Likewise.
14210 (fts_lfree): Likewise.
14211 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
14212 (_IO_file_xsgetn): Likewise.
14213 (_IO_file_xsgetn_mmap): Likewise.
14214 * libio/iofopncook.c (_IO_cookie_read): Likewise.
14215 (_IO_cookie_write): Likewise.
14216 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
14217 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
14218 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
14219 * malloc/obstack.c (_obstack_begin): Likewise.
14220 (_obstack_begin_1): Likewise.
14221 (_obstack_newchunk): Likewise.
14222 (_obstack_allocated_p): Likewise.
14223 (obstack_free): Likewise.
14224 (_obstack_memory_used): Likewise.
14225 * misc/getttyent.c (getttynam): Likewise.
14226 (getttyent): Likewise.
14229 * misc/getusershell.c (initshells): Likewise.
14230 * misc/syslog.c (__vsyslog_chk): Likewise.
14231 * misc/ttyslot.c (ttyslot): Likewise.
14232 * nis/nis_hash.c (__nis_hash): Likewise.
14233 * posix/fnmatch_loop.c (FCT): Likewise.
14234 * posix/getconf.c (print_all): Likewise.
14236 * posix/getopt.c (exchange): Likewise.
14237 * posix/glob.c (globfree): Likewise.
14238 (prefix_array): Likewise.
14239 (__glob_pattern_type): Likewise.
14240 * resolv/arpa/nameser.h (NS_GET16): Likewise.
14241 (NS_GET32): Likewise.
14242 (NS_PUT16): Likewise.
14243 (NS_PUT32): Likewise.
14244 * resolv/gethnamaddr.c (getanswer): Likewise.
14245 (gethostbyname2): Likewise.
14246 (gethostbyaddr): Likewise.
14247 (_gethtent): Likewise.
14248 (_gethtbyname2): Likewise.
14249 (_gethtbyaddr): Likewise.
14250 * resolv/ns_print.c (dst_s_get_int16): Likewise.
14251 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
14252 * resolv/res_init.c (__res_vinit): Likewise.
14253 (net_mask): Likewise.
14254 * resolv/res_mkquery.c (outchar): Likewise.
14256 * stdio-common/printf_fp.c (outchar): Likewise.
14258 * stdio-common/printf_fphex.c (outchar): Likewise.
14260 * stdio-common/printf_size.c (outchar): Likewise.
14262 * stdio-common/test_rdwr.c (main): Likewise.
14263 * stdio-common/tfformat.c (matches): Likewise.
14264 * stdio-common/vfprintf.c (outchar): Likewise.
14265 (printf_unknown): Likewise.
14266 (buffered_vfprintf): Likewise.
14267 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
14268 * stdio-common/xbug.c (AppendToBuffer): Likewise.
14269 (ReadFile): Likewise.
14270 * stdlib/qsort.c (SWAP): Likewise.
14271 (_quicksort): Likewise.
14272 * stdlib/setenv.c (__add_to_environ): Likewise.
14273 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
14274 * stdlib/strtol_l.c (__strtol_l): Likewise.
14275 * stdlib/tst-strtod.c (main): Likewise.
14276 * stdlib/tst-strtol.c (main): Likewise.
14277 * stdlib/tst-strtoll.c (main): Likewise.
14278 * string/bits/string2.h (__strcmp_cc): Likewise.
14279 (__strcmp_cg): Likewise.
14280 (__strcspn_c1): Likewise.
14281 (__strcspn_c2): Likewise.
14282 (__strcspn_c3): Likewise.
14283 (__strspn_c1): Likewise.
14284 (__strspn_c2): Likewise.
14285 (__strspn_c3): Likewise.
14286 (__strsep_1c): Likewise.
14287 (__strsep_2c): Likewise.
14288 (__strsep_3c): Likewise.
14289 * string/memccpy.c (__memccpy): Likewise.
14290 * string/stpcpy.c (__stpcpy): Likewise.
14291 * string/strcmp.c (strcmp): Likewise.
14292 * string/strrchr.c (strrchr): Likewise.
14293 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
14295 * sysdeps/mach/hurd/getcwd.c
14296 (_hurd_canonicalize_directory_name_internal): Likewise.
14297 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
14298 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
14299 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
14300 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
14301 Likewise, in both definitions.
14302 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
14304 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
14305 64] (__bswap_64): Likewise.
14306 * time/test_time.c (main): Likewise.
14307 * time/tzfile.c (__tzfile_read): Likewise.
14308 (__tzfile_compute): Likewise.
14309 * time/tzset.c (__tzset_parse_tz): Likewise.
14310 (tzset_internal): Likewise.
14311 (compute_change): Likewise.
14312 * wcsmbs/wcscat.c (__wcscat): Likewise.
14313 * wcsmbs/wcschr.c (wcschr): Likewise.
14314 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
14315 * wcsmbs/wcscspn.c (wcscspn): Likewise.
14316 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
14317 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
14318 * wcsmbs/wcsspn.c (wcsspn): Likewise.
14319 * wcsmbs/wcsstr.c (wcsstr): Likewise.
14320 * wcsmbs/wmemchr.c (wmemchr): Likewise.
14321 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
14322 * wcsmbs/wmemset.c (wmemset): Likewise.
14324 2013-06-06 Joseph Myers <joseph@codesourcery.com>
14326 * scripts/config.guess: Update to version 2013-05-16.
14327 * scripts/config.sub: Update to version 2013-04-24.
14328 * scripts/install-sh: Update to version 2011-11-20.07.
14329 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
14330 * scripts/move-if-change: Update to version 2012-01-06 07:23.
14332 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
14334 * debug/fgetws_u_chk.c: Fix leading whitespaces.
14335 * elf/sln.c: Likewise.
14336 * hurd/hurd/ioctl.h: Likewise.
14337 * hurd/hurdmalloc.c: Likewise.
14338 * hurd/xattr.c: Likewise.
14339 * include/shlib-compat.h: Likewise.
14340 * inet/ruserpass.c: Likewise.
14341 * libio/iofgets_u.c: Likewise.
14342 * libio/iofgetws_u.c: Likewise.
14343 * locale/programs/ld-identification.c: Likewise.
14344 * locale/programs/ld-time.c: Likewise.
14345 * mach/msg-destroy.c: Likewise.
14346 * nss/nss_files/files-netgrp.c: Likewise.
14347 * resolv/res_data.c: Likewise.
14348 * soft-fp/op-1.h: Likewise.
14349 * soft-fp/op-2.h: Likewise.
14350 * soft-fp/op-4.h: Likewise.
14351 * soft-fp/op-common.h: Likewise.
14352 * stdio-common/printf_fphex.c: Likewise.
14353 * stdlib/strtod_l.c: Likewise.
14354 * sunrpc/rpc/clnt.h: Likewise.
14355 * sysdeps/generic/framestate.c: Likewise.
14356 * sysdeps/i386/bsd-_setjmp.S: Likewise.
14357 * sysdeps/i386/bsd-setjmp.S: Likewise.
14358 * sysdeps/i386/__longjmp.S: Likewise.
14359 * sysdeps/i386/setjmp.S: Likewise.
14360 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14361 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
14362 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14363 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14364 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14365 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
14366 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
14367 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
14368 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
14369 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
14370 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
14371 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
14372 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
14373 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
14374 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
14375 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
14376 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
14377 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
14378 * sysdeps/ieee754/support.c: Likewise.
14379 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14380 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
14381 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
14382 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
14383 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
14384 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
14385 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
14386 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
14387 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
14388 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
14389 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
14390 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
14391 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
14392 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
14393 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
14394 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
14395 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
14396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
14398 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
14400 * posix/transbug.c: Remove executable mode.
14402 2013-06-05 Joseph Myers <joseph@codesourcery.com>
14404 * crypt/speeds.c: Remove trailing whitespace.
14405 * dlfcn/default.c: Likewise.
14406 * elf/ifuncdep2.c: Likewise.
14407 * elf/ifuncmain1.c: Likewise.
14408 * elf/ifuncmain1vis.c: Likewise.
14409 * elf/testobj.h: Likewise.
14410 * elf/tst-stackguard1.c: Likewise.
14411 * gmon/sys/gmon.h: Likewise.
14412 * hurd/hurdmsg.c: Likewise.
14413 * hurd/new-fd.c: Likewise.
14414 * hurd/ports-get.c: Likewise.
14415 * iconvdata/ibm1008_420.c: Likewise.
14416 * inet/tst-getni1.c: Likewise.
14417 * inet/tst-getni2.c: Likewise.
14418 * libio/ioungetc.c: Likewise.
14419 * libio/wfiledoalloc.c: Likewise.
14420 * manual/libm-err-tab.pl: Likewise.
14421 * math/w_dremf.c: Likewise.
14422 * misc/ftruncate.c: Likewise.
14423 * posix/bug-glob2.c: Likewise.
14424 * posix/tst-pcre.c: Likewise.
14425 * posix/wait4.c: Likewise.
14426 * resolv/README: Likewise.
14427 * resolv/res_debug.h: Likewise.
14428 * resolv/tst-inet_ntop.c: Likewise.
14429 * setjmp/bug269-setjmp.c: Likewise.
14430 * soft-fp/extended.h: Likewise.
14431 * soft-fp/op-1.h: Likewise.
14432 * soft-fp/op-2.h: Likewise.
14433 * soft-fp/op-4.h: Likewise.
14434 * soft-fp/op-8.h: Likewise.
14435 * soft-fp/testit.c: Likewise.
14436 * stdio-common/bug16.c: Likewise.
14437 * stdlib/random.c: Likewise.
14438 * sunrpc/rpcsvc/rquota.x: Likewise.
14439 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
14440 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
14441 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14442 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14443 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14444 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14445 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
14446 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14447 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
14448 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
14449 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
14450 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
14451 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14452 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
14453 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14454 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
14455 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
14456 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
14457 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
14458 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14459 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
14460 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
14461 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
14462 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
14463 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
14464 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
14465 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14466 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
14467 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
14468 * sysdeps/ieee754/s_lib_version.c: Likewise.
14469 * sysdeps/mach/hurd/check_fds.c: Likewise.
14470 * sysdeps/mach/hurd/getsockname.c: Likewise.
14471 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
14472 * sysdeps/mach/hurd/recvfrom.c: Likewise.
14473 * sysdeps/powerpc/bits/link.h: Likewise.
14474 * sysdeps/powerpc/dl-procinfo.c: Likewise.
14475 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
14476 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
14477 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
14478 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
14479 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
14480 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
14481 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
14482 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
14483 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
14484 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
14485 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
14486 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
14487 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
14488 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
14489 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
14490 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
14491 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
14492 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
14493 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14494 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14495 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
14496 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14497 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
14498 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
14499 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
14500 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
14501 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14502 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14503 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
14504 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
14505 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
14506 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14507 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
14508 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
14509 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
14510 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
14511 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
14512 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
14513 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
14514 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
14515 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
14516 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
14517 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
14518 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
14519 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
14520 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
14521 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
14522 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
14523 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
14524 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
14525 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
14526 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14527 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14528 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
14529 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
14530 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
14531 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14532 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
14533 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
14534 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
14535 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
14536 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
14537 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14538 * sysdeps/powerpc/sysdep.h: Likewise.
14539 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
14540 * sysdeps/s390/s390-64/sub_n.S: Likewise.
14541 * sysdeps/sh/dl-trampoline.S: Likewise.
14542 * sysdeps/sh/memset.S: Likewise.
14543 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
14544 * sysdeps/sh/strlen.S: Likewise.
14545 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
14546 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
14547 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
14548 * sysdeps/sparc/sparc32/rem.S: Likewise.
14549 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
14550 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
14551 * sysdeps/sparc/sparc32/strchr.S: Likewise.
14552 * sysdeps/sparc/sparc32/udiv.S: Likewise.
14553 * sysdeps/sparc/sparc32/urem.S: Likewise.
14554 * sysdeps/sparc/sparc64/add_n.S: Likewise.
14555 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
14556 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
14557 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
14558 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
14559 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
14560 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
14561 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
14562 * sysdeps/unix/bsd/times.c: Likewise.
14563 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
14564 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
14565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
14566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
14567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
14568 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
14569 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
14570 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
14571 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
14572 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
14573 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
14574 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
14575 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
14576 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
14577 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
14578 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
14579 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
14580 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
14581 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
14582 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
14583 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
14584 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
14585 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
14586 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
14587 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
14588 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
14589 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
14590 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14591 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
14592 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
14593 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
14594 * sysdeps/x86_64/strcspn.S: Likewise.
14596 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14598 * locale/C-translit.h: Revert #include <stdint.h> because this is a
14599 generated file. Regenerate properly from gen-translit.pl.
14600 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
14601 locale/C-translit.h.
14603 2013-06-05 Andreas Schwab <schwab@suse.de>
14606 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
14607 week as 6 instead of -1.
14608 * time/tst-strptime.c (day_tests): Add test case.
14610 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14612 * sysdeps/generic/math_private.h
14613 (libc_feholdexcept_setround_53bit): Replace with
14614 libc_feholdsetround_53bit.
14615 (libc_feupdateenv_53bit): Replace with
14616 libc_feresetround_53bit.
14617 (SET_RESTORE_ROUND_53BIT): Adjust.
14619 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
14621 * string/test-strchrnul.c: Add copyright header.
14623 * posix/tst-getaddrinfo4.c: Increase test timeout.
14625 2013-06-03 Carlos O'Donell <carlos@redhat.com>
14628 * math/libm-test.inc (MAX_EXP): Remove
14630 (ulp): Use MIN_EXP - MANT_DIG.
14631 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
14633 2013-05-31 Carlos O'Donell <carlos@redhat.com>
14635 * po/be.po: Revert last change.
14636 * po/zh_CN.po: Likewise.
14637 * po/header.pot: Likewise.
14639 2013-05-31 Joseph Myers <joseph@codesourcery.com>
14641 * Makefile ($(common-objpfx)linkobj/libc.so): Define
14642 link-libc-deps to empty as target-specific variable.
14643 * Makerules (link-libc-args): New variable.
14644 (libc-for-link): Likewise.
14645 (link-libc-deps): Likewise.
14646 (lib%.so): Depend on $(link-libc-deps). Link with
14648 (build-module): Link with $(link-libc-args).
14649 (build-module-asneeded): Likewise.
14650 (build-module-helper-objlist): Filter out $(link-libc-deps) from
14652 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
14653 target-specific variable.
14654 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
14655 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
14656 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
14658 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
14660 ($(objpfx)libpcprofile.so): Likewise.
14661 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
14663 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
14664 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
14665 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
14667 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
14668 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
14669 * login/Makefile ($(objpfx)libutil.so): Likewise.
14670 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
14671 * math/Makefile ($(objpfx)libm.so): Likewise.
14672 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
14673 $(objpfx)libnsl.so): Define libc-for-link as target-specific
14674 variable instead of depending directly on libc.
14675 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
14676 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
14678 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
14680 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
14681 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
14682 ($(objpfx)libanl.so): Likewise.
14683 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
14685 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
14687 * sysdeps/i386/fpu/Makefile: Remove file.
14688 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
14689 ($(objpfx)libm.so): Remove dependency on ld.so.
14691 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
14694 * nis/yp_xdr.c (XDRMAXNAME): Define.
14695 (XDRMAXRECORD): Define.
14696 (xdr_domainname): Use XDRMAXNAME.
14697 (xdr_mapname): Likewise.
14698 (xdr_peername): Likewise.
14699 (xdr_keydat): Use XDRMAXRECORD.
14700 (xdr_valdat): Likewise.
14702 2013-05-30 Jeff Law <law@redhat.com>
14705 * manual/errno.texi (ESTALE): Update to account for more than
14706 just NFS file systems.
14707 * sysdeps/gnu/errlist.c: Regenerated.
14709 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14712 * elf/Makefile (tests): Add tst-null-argv.
14713 (modules-names): Add tst-null-argv-lib.
14714 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
14715 (tst-null-argv-ENV): Set environment for tst-null-argv.
14716 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
14717 (RTLD_PROGNAME): New macro.
14718 * elf/tst-null-argv.c: New test case.
14719 * elf/tst-null-argv-lib.c: Library for test case.
14720 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
14721 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
14722 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
14723 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
14724 * elf/dl-init.c (call_init): Likewise.
14725 (_dl_init): Likewise.
14726 * elf/dl-load.c (print_search_path): Likewise.
14727 (_dl_map_object): Likewise.
14728 * elf/dl-lookup.c (do_lookup_x): Likewise.
14729 (add_dependency): Likewise.
14730 (_dl_lookup_symbol_x): Likewise.
14731 (_dl_debug_bindings): Likewise.
14732 * elf/dl-open.c (_dl_show_scope): Likewise.
14733 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
14734 * elf/dl-version.c (match_symbol): Likewise.
14735 (_dl_check_map_versions): Likewise.
14736 * elf/rtld.c (dl_main): Likewise.
14737 (print_unresolved): Use RTLD_PROGNAME.
14738 (print_missing_version): Likewise.
14739 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
14740 (elf_machine_rela): Likewise.
14741 * sysdeps/powerpc/powerpc32/dl-machine.c
14742 (__process_machine_rela): Likewise.
14743 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14745 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
14747 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
14749 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14750 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
14752 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
14754 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14756 2013-05-28 Carlos O'Donell <carlos@redhat.com>
14758 * po/be.po: Add descriptive title.
14759 * po/zh_CN.po: Likewise.
14760 * po/header.pot: Likewise.
14762 2013-05-28 Mike Frysinger <vapier@gentoo.org>
14764 * locale/programs/locarchive.c (create_archive): Inlucde fname in
14766 (enlarge_archive): Likewise.
14768 2013-05-28 Ben North <ben@redfrontdoor.org>
14770 * manual/arith.texi (frexp): It is the magnitude of the return
14771 value which lies in [0.5, 1), not the return value itself.
14773 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14775 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14777 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
14779 * stdio-common/bug26.c (main): Correct fscanf template.
14781 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
14782 declare _dl_skip_args.
14784 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
14787 * manual/platform.texi: Add missing @end deftypefun.
14789 2013-05-24 Joseph Myers <joseph@codesourcery.com>
14792 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
14793 bit of mantissa of 2^16382.
14794 * math/libm-test.inc (hypot_test_data): Add more tests.
14796 * math/libm-test.inc: Add drem and pow10 to list of tested
14798 (pow10_test): New function.
14799 (drem_test): Likewise.
14800 (drem_test_tonearest): Likewise.
14801 (drem_test_towardzero): Likewise.
14802 (drem_test_downward): Likewise.
14803 (drem_test_upward): Likewise.
14804 (main): Call the new functions.
14806 * math/libm-test.inc (finite_test_data): Remove.
14807 (finite_test): Run tests from isfinite_test_data.
14808 (gamma_test_data): Remove.
14809 (gamma_test): Run tests from lgamma_test_data.
14810 * sysdeps/i386/fpu/libm-test-ulps: Update.
14811 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14813 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14815 * manual/platform.texi: Add PowerPC PPR function set documentation.
14816 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
14819 2013-05-24 Carlos O'Donell <carlos@redhat.com>
14821 * math/libm-test.inc (MAX_EXP): Define.
14823 (ulp): New function.
14824 (check_float_internal): Use ULPDIFF.
14825 (cpow_test): Disable failing test.
14826 (check_ulp): Test ulp() implemetnation.
14827 (main): Call check_ulp before starting tests.
14829 2013-05-24 Joseph Myers <joseph@codesourcery.com>
14831 * math/gen-libm-test.pl (generate_testfile): Do not handle
14832 START_DATA and END_DATA.
14833 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
14835 (acos_tonearest_test_data): Likewise.
14836 (acos_towardzero_test_data): Likewise.
14837 (acos_downward_test_data): Likewise.
14838 (acos_upward_test_data): Likewise.
14839 (acosh_test_data): Likewise.
14840 (asin_test_data): Likewise.
14841 (asin_tonearest_test_data): Likewise.
14842 (asin_towardzero_test_data): Likewise.
14843 (asin_downward_test_data): Likewise.
14844 (asin_upward_test_data): Likewise.
14845 (asinh_test_data): Likewise.
14846 (atan_test_data): Likewise.
14847 (atanh_test_data): Likewise.
14848 (atan2_test_data): Likewise.
14849 (cabs_test_data): Likewise.
14850 (cacos_test_data): Likewise.
14851 (cacosh_test_data): Likewise.
14852 (carg_test_data): Likewise.
14853 (casin_test_data): Likewise.
14854 (casinh_test_data): Likewise.
14855 (catan_test_data): Likewise.
14856 (catanh_test_data): Likewise.
14857 (cbrt_test_data): Likewise.
14858 (ccos_test_data): Likewise.
14859 (ccosh_test_data): Likewise.
14860 (ceil_test_data): Likewise.
14861 (cexp_test_data): Likewise.
14862 (cimag_test_data): Likewise.
14863 (clog_test_data): Likewise.
14864 (clog10_test_data): Likewise.
14865 (conj_test_data): Likewise.
14866 (copysign_test_data): Likewise.
14867 (cos_test_data): Likewise.
14868 (cos_tonearest_test_data): Likewise.
14869 (cos_towardzero_test_data): Likewise.
14870 (cos_downward_test_data): Likewise.
14871 (cos_upward_test_data): Likewise.
14872 (cosh_test_data): Likewise.
14873 (cosh_tonearest_test_data): Likewise.
14874 (cosh_towardzero_test_data): Likewise.
14875 (cosh_downward_test_data): Likewise.
14876 (cosh_upward_test_data): Likewise.
14877 (cpow_test_data): Likewise.
14878 (cproj_test_data): Likewise.
14879 (creal_test_data): Likewise.
14880 (csin_test_data): Likewise.
14881 (csinh_test_data): Likewise.
14882 (csqrt_test_data): Likewise.
14883 (ctan_test_data): Likewise.
14884 (ctan_tonearest_test_data): Likewise.
14885 (ctan_towardzero_test_data): Likewise.
14886 (ctan_downward_test_data): Likewise.
14887 (ctan_upward_test_data): Likewise.
14888 (ctanh_test_data): Likewise.
14889 (ctanh_tonearest_test_data): Likewise.
14890 (ctanh_towardzero_test_data): Likewise.
14891 (ctanh_downward_test_data): Likewise.
14892 (ctanh_upward_test_data): Likewise.
14893 (erf_test_data): Likewise.
14894 (erfc_test_data): Likewise.
14895 (exp_test_data): Likewise.
14896 (exp_tonearest_test_data): Likewise.
14897 (exp_towardzero_test_data): Likewise.
14898 (exp_downward_test_data): Likewise.
14899 (exp_upward_test_data): Likewise.
14900 (exp10_test_data): Likewise.
14901 (exp2_test_data): Likewise.
14902 (expm1_test_data): Likewise.
14903 (fabs_test_data): Likewise.
14904 (fdim_test_data): Likewise.
14905 (finite_test_data): Likewise.
14906 (floor_test_data): Likewise.
14907 (fma_test_data): Likewise.
14908 (fma_towardzero_test_data): Likewise.
14909 (fma_downward_test_data): Likewise.
14910 (fma_upward_test_data): Likewise.
14911 (fmax_test_data): Likewise.
14912 (fmin_test_data): Likewise.
14913 (fmod_test_data): Likewise.
14914 (fpclassify_test_data): Likewise.
14915 (frexp_test_data): Likewise.
14916 (gamma_test_data): Likewise.
14917 (hypot_test_data): Likewise.
14918 (ilogb_test_data): Likewise.
14919 (isfinite_test_data): Likewise.
14920 (isgreater_test_data): Likewise.
14921 (isgreaterequal_test_data): Likewise.
14922 (isinf_test_data): Likewise.
14923 (isless_test_data): Likewise.
14924 (islessequal_test_data): Likewise.
14925 (islessgreater_test_data): Likewise.
14926 (isnan_test_data): Likewise.
14927 (isnormal_test_data): Likewise.
14928 (issignaling_test_data): Likewise.
14929 (isunordered_test_data): Likewise.
14930 (j0_test_data): Likewise.
14931 (j1_test_data): Likewise.
14932 (jn_test_data): Likewise.
14933 (ldexp_test_data): Likewise.
14934 (lgamma_test_data): Likewise.
14935 (lrint_test_data): Likewise.
14936 (lrint_tonearest_test_data): Likewise.
14937 (lrint_towardzero_test_data): Likewise.
14938 (lrint_downward_test_data): Likewise.
14939 (lrint_upward_test_data): Likewise.
14940 (llrint_test_data): Likewise.
14941 (llrint_tonearest_test_data): Likewise.
14942 (llrint_towardzero_test_data): Likewise.
14943 (llrint_downward_test_data): Likewise.
14944 (llrint_upward_test_data): Likewise.
14945 (log_test_data): Likewise.
14946 (log10_test_data): Likewise.
14947 (log1p_test_data): Likewise.
14948 (log2_test_data): Likewise.
14949 (logb_test_data): Likewise.
14950 (logb_downward_test_data): Likewise.
14951 (lround_test_data): Likewise.
14952 (llround_test_data): Likewise.
14953 (modf_test_data): Likewise.
14954 (nearbyint_test_data): Likewise.
14955 (nextafter_test_data): Likewise.
14956 (nexttoward_test_data): Likewise.
14957 (pow_test_data): Likewise.
14958 (pow_tonearest_test_data): Likewise.
14959 (pow_towardzero_test_data): Likewise.
14960 (pow_downward_test_data): Likewise.
14961 (pow_upward_test_data): Likewise.
14962 (remainder_test_data): Likewise.
14963 (remainder_tonearest_test_data): Likewise.
14964 (remainder_towardzero_test_data): Likewise.
14965 (remainder_downward_test_data): Likewise.
14966 (remainder_upward_test_data): Likewise.
14967 (remquo_test_data): Likewise.
14968 (rint_test_data): Likewise.
14969 (rint_tonearest_test_data): Likewise.
14970 (rint_towardzero_test_data): Likewise.
14971 (rint_downward_test_data): Likewise.
14972 (rint_upward_test_data): Likewise.
14973 (round_test_data): Likewise.
14974 (scalb_test_data): Likewise.
14975 (scalbn_test_data): Likewise.
14976 (scalbln_test_data): Likewise.
14977 (signbit_test_data): Likewise.
14978 (sin_test_data): Likewise.
14979 (sin_tonearest_test_data): Likewise.
14980 (sin_towardzero_test_data): Likewise.
14981 (sin_downward_test_data): Likewise.
14982 (sin_upward_test_data): Likewise.
14983 (sincos_test_data): Likewise.
14984 (sinh_test_data): Likewise.
14985 (sinh_tonearest_test_data): Likewise.
14986 (sinh_towardzero_test_data): Likewise.
14987 (sinh_downward_test_data): Likewise.
14988 (sinh_upward_test_data): Likewise.
14989 (sqrt_test_data): Likewise.
14990 (tan_test_data): Likewise.
14991 (tan_tonearest_test_data): Likewise.
14992 (tan_towardzero_test_data): Likewise.
14993 (tan_downward_test_data): Likewise.
14994 (tan_upward_test_data): Likewise.
14995 (tanh_test_data): Likewise.
14996 (tgamma_test_data): Likewise.
14997 (trunc_test_data): Likewise.
14998 (y0_test_data): Likewise.
14999 (y1_test_data): Likewise.
15000 (yn_test_data): Likewise.
15001 (significand_test_data): Likewise.
15003 * math/gen-libm-test.pl (@functions): Remove variable.
15004 (generate_testfile): Don't handle START and END lines.
15005 * math/libm-test.inc (START): New macro.
15007 (END_COMPLEX): Likewise.
15008 (acos_test): Use END macro without arguments.
15009 (acos_test_tonearest): Likewise.
15010 (acos_test_towardzero): Likewise.
15011 (acos_test_downward): Likewise.
15012 (acos_test_upward): Likewise.
15013 (acosh_test): Likewise.
15014 (asin_test): Likewise.
15015 (asin_test_tonearest): Likewise.
15016 (asin_test_towardzero): Likewise.
15017 (asin_test_downward): Likewise.
15018 (asin_test_upward): Likewise.
15019 (asinh_test): Likewise.
15020 (atan_test): Likewise.
15021 (atanh_test): Likewise.
15022 (atan2_test): Likewise.
15023 (cabs_test): Likewise.
15024 (cacos_test): Use END_COMPLEX macro without arguments.
15025 (cacosh_test): Likewise.
15026 (carg_test): Use END macro without arguments.
15027 (casin_test): Use END_COMPLEX macro without arguments.
15028 (casinh_test): Likewise.
15029 (catan_test): Likewise.
15030 (catanh_test): Likewise.
15031 (cbrt_test): Use END macro without arguments.
15032 (ccos_test): Use END_COMPLEX macro without arguments.
15033 (ccosh_test): Likewise.
15034 (ceil_test): Use END macro without arguments.
15035 (cexp_test): Use END_COMPLEX macro without arguments.
15036 (cimag_test): Use END macro without arguments.
15037 (clog_test): Use END_COMPLEX macro without arguments.
15038 (clog10_test): Likewise.
15039 (conj_test): Likewise.
15040 (copysign_test): Use END macro without arguments.
15041 (cos_test): Likewise.
15042 (cos_test_tonearest): Likewise.
15043 (cos_test_towardzero): Likewise.
15044 (cos_test_downward): Likewise.
15045 (cos_test_upward): Likewise.
15046 (cosh_test): Likewise.
15047 (cosh_test_tonearest): Likewise.
15048 (cosh_test_towardzero): Likewise.
15049 (cosh_test_downward): Likewise.
15050 (cosh_test_upward): Likewise.
15051 (cpow_test): Use END_COMPLEX macro without arguments.
15052 (cproj_test): Likewise.
15053 (creal_test): Use END macro without arguments.
15054 (csin_test): Use END_COMPLEX macro without arguments.
15055 (csinh_test): Likewise.
15056 (csqrt_test): Likewise.
15057 (ctan_test): Likewise.
15058 (ctan_test_tonearest): Likewise.
15059 (ctan_test_towardzero): Likewise.
15060 (ctan_test_downward): Likewise.
15061 (ctan_test_upward): Likewise.
15062 (ctanh_test): Likewise.
15063 (ctanh_test_tonearest): Likewise.
15064 (ctanh_test_towardzero): Likewise.
15065 (ctanh_test_downward): Likewise.
15066 (ctanh_test_upward): Likewise.
15067 (erf_test): Use END macro without arguments.
15068 (erfc_test): Likewise.
15069 (exp_test): Likewise.
15070 (exp_test_tonearest): Likewise.
15071 (exp_test_towardzero): Likewise.
15072 (exp_test_downward): Likewise.
15073 (exp_test_upward): Likewise.
15074 (exp10_test): Likewise.
15075 (exp2_test): Likewise.
15076 (expm1_test): Likewise.
15077 (fabs_test): Likewise.
15078 (fdim_test): Likewise.
15079 (finite_test): Likewise.
15080 (floor_test): Likewise.
15081 (fma_test): Likewise.
15082 (fma_test_towardzero): Likewise.
15083 (fma_test_downward): Likewise.
15084 (fma_test_upward): Likewise.
15085 (fmax_test): Likewise.
15086 (fmin_test): Likewise.
15087 (fmod_test): Likewise.
15088 (fpclassify_test): Likewise.
15089 (frexp_test): Likewise.
15090 (gamma_test): Likewise.
15091 (hypot_test): Likewise.
15092 (ilogb_test): Likewise.
15093 (isfinite_test): Likewise.
15094 (isgreater_test): Likewise.
15095 (isgreaterequal_test): Likewise.
15096 (isinf_test): Likewise.
15097 (isless_test): Likewise.
15098 (islessequal_test): Likewise.
15099 (islessgreater_test): Likewise.
15100 (isnan_test): Likewise.
15101 (isnormal_test): Likewise.
15102 (issignaling_test): Likewise.
15103 (isunordered_test): Likewise.
15104 (j0_test): Likewise.
15105 (j1_test): Likewise.
15106 (jn_test): Likewise.
15107 (ldexp_test): Likewise.
15108 (lgamma_test): Likewise.
15109 (lrint_test): Likewise.
15110 (lrint_test_tonearest): Likewise.
15111 (lrint_test_towardzero): Likewise.
15112 (lrint_test_downward): Likewise.
15113 (lrint_test_upward): Likewise.
15114 (llrint_test): Likewise.
15115 (llrint_test_tonearest): Likewise.
15116 (llrint_test_towardzero): Likewise.
15117 (llrint_test_downward): Likewise.
15118 (llrint_test_upward): Likewise.
15119 (log_test): Likewise.
15120 (log10_test): Likewise.
15121 (log1p_test): Likewise.
15122 (log2_test): Likewise.
15123 (logb_test): Likewise.
15124 (logb_test_downward): Likewise.
15125 (lround_test): Likewise.
15126 (llround_test): Likewise.
15127 (modf_test): Likewise.
15128 (nearbyint_test): Likewise.
15129 (nextafter_test): Likewise.
15130 (nexttoward_test): Likewise.
15131 (pow_test): Likewise.
15132 (pow_test_tonearest): Likewise.
15133 (pow_test_towardzero): Likewise.
15134 (pow_test_downward): Likewise.
15135 (pow_test_upward): Likewise.
15136 (remainder_test): Likewise.
15137 (remainder_test_tonearest): Likewise.
15138 (remainder_test_towardzero): Likewise.
15139 (remainder_test_downward): Likewise.
15140 (remainder_test_upward): Likewise.
15141 (remquo_test): Likewise.
15142 (rint_test): Likewise.
15143 (rint_test_tonearest): Likewise.
15144 (rint_test_towardzero): Likewise.
15145 (rint_test_downward): Likewise.
15146 (rint_test_upward): Likewise.
15147 (round_test): Likewise.
15148 (scalb_test): Likewise.
15149 (scalbn_test): Likewise.
15150 (scalbln_test): Likewise.
15151 (signbit_test): Likewise.
15152 (sin_test): Likewise.
15153 (sin_test_tonearest): Likewise.
15154 (sin_test_towardzero): Likewise.
15155 (sin_test_downward): Likewise.
15156 (sin_test_upward): Likewise.
15157 (sincos_test): Likewise.
15158 (sinh_test): Likewise.
15159 (sinh_test_tonearest): Likewise.
15160 (sinh_test_towardzero): Likewise.
15161 (sinh_test_downward): Likewise.
15162 (sinh_test_upward): Likewise.
15163 (sqrt_test): Likewise.
15164 (tan_test): Likewise.
15165 (tan_test_tonearest): Likewise.
15166 (tan_test_towardzero): Likewise.
15167 (tan_test_downward): Likewise.
15168 (tan_test_upward): Likewise.
15169 (tanh_test): Likewise.
15170 (tgamma_test): Likewise.
15171 (trunc_test): Likewise.
15172 (y0_test): Likewise.
15173 (y1_test): Likewise.
15174 (yn_test): Likewise.
15175 (significand_test): Likewise.
15177 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
15180 * libio/genops.c (_IO_no_init): Initialize wide struct info.
15182 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
15185 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
15186 __ppc_mdoio and __ppc_mdoom.
15187 * manual/platform.texi: Document new functions __ppc_yield,
15188 __ppc_mdoio and __ppc_mdoom.
15190 2013-05-22 Carlos O'Donell <carlos@redhat.com>
15192 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
15193 (main): Mention "tls" pseudo-hwcap is legacy.
15194 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
15196 2013-05-22 Joseph Myers <joseph@codesourcery.com>
15198 * math/gen-libm-test.pl (parse_args): Output only string of
15199 arguments as text for test name, not full call or descriptions of
15200 tests for extra outputs.
15201 (generate_testfile): Do not pass function name to parse_args.
15202 Generate this_func variable from START.
15203 * math/libm-test.inc (struct test_f_f_data): Rename test_name
15205 (struct test_ff_f_data): Likewise.
15206 (test_ff_f_data_nexttoward): Likewise.
15207 (struct test_fi_f_data): Likewise.
15208 (struct test_fl_f_data): Likewise.
15209 (struct test_if_f_data): Likewise.
15210 (struct test_fff_f_data): Likewise.
15211 (struct test_c_f_data): Likewise.
15212 (struct test_f_f1_data): Likewise. Remove field extra_name.
15213 (struct test_fF_f1_data): Likewise.
15214 (struct test_ffI_f1_data): Likewise.
15215 (struct test_c_c_data): Rename test_name field to arg_str.
15216 (struct test_cc_c_data): Likewise.
15217 (struct test_f_i_data): Likewise.
15218 (struct test_ff_i_data): Likewise.
15219 (struct test_f_l_data): Likewise.
15220 (struct test_f_L_data): Likewise.
15221 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
15223 (COMMON_TEST_SETUP): New macro.
15224 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
15225 (COMMON_TEST_CLEANUP): Likewise.
15226 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
15227 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
15229 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
15230 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
15232 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
15233 (RUN_TEST_fff_f): Take argument string. Call new setup and
15235 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
15236 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
15238 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
15239 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
15241 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
15242 (RUN_TEST_fF_f1): Take argument string. Call new setup and
15244 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
15245 (RUN_TEST_fI_f1): Take argument string. Call new setup and
15247 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
15248 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
15250 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
15251 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
15253 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
15254 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
15256 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
15257 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
15259 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
15260 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
15262 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
15263 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
15265 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
15266 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
15268 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
15269 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
15271 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
15272 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
15274 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
15275 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
15277 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
15278 (RUN_TEST_fFF_11): Take argument string. Call new setup and
15280 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
15282 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
15284 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
15285 to _sifields.sigfault.
15286 (si_addr_lsb): Define new macro.
15287 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
15288 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
15289 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
15291 2013-05-03 Carlos O'Donell <carlos at redhat.com>
15294 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
15296 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
15298 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
15299 loading the domain.
15301 2013-05-22 Joseph Myers <joseph@codesourcery.com>
15303 * math/gen-libm-test.pl (parse_args): Do not include expected
15304 result in test name.
15305 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
15306 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15307 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15308 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
15309 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15310 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15312 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15314 * benchtests/Makefile: Sort function entries.
15316 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
15317 tanh, asinh, acosh, atanh.
15318 * benchtests/acos-inputs: New file.
15319 * benchtests/acosh-inputs: New file.
15320 * benchtests/asin-inputs: New file.
15321 * benchtests/asinh-inputs: New file.
15322 * benchtests/atanh-inputs: New file.
15323 * benchtests/cosh-inputs: New file.
15324 * benchtests/log-inputs: New file.
15325 * benchtests/sinh-inputs: New file.
15326 * benchtests/tanh-inputs: New file.
15328 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
15331 * posix/tst-getaddrinfo4.c: New test.
15332 * posix/Makefile (tests): Add it.
15334 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15337 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
15338 when no services were used.
15339 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
15340 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
15342 2013-05-21 Andreas Schwab <schwab@suse.de>
15345 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
15346 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
15348 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
15349 redundant variable declarations and reallocation of buffer when
15350 parsing as IPv6 address. Always set NSS status when called from
15351 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
15352 buffer too small. Correct computation of needed size.
15353 * nss/Makefile (tests): Add test-digits-dots.
15354 * nss/test-digits-dots.c: New test.
15356 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15358 * benchtests/Makefile: Remove instructions for adding
15360 * benchtests/README: New file to explain how to execute and
15361 enhance the benchmark tests.
15363 2013-05-21 Andreas Schwab <schwab@suse.de>
15366 * setjmp/Makefile (tests): Add tst-sigsetjmp.
15367 * setjmp/tst-sigsetjmp.c: New test.
15369 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
15371 * sysdeps/x86_64/memset.S (memset): New implementation.
15372 (__bzero): Likewise.
15373 (__memset_tail): New function.
15375 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
15377 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
15378 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
15379 __memcpy_sse2_unaligned ifunc selection.
15380 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
15381 Add memcpy-sse2-unaligned.S.
15382 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15383 Add: __memcpy_sse2_unaligned.
15385 2013-05-19 Joseph Myers <joseph@codesourcery.com>
15388 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
15389 math_force_eval before restoring floating-point envrionment.
15390 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
15391 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
15393 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
15395 (__nearbyintl): Use math_force_eval before restoring
15396 floating-point environment.
15397 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
15399 * math/gen-libm-test.pl (special_functions): Remove.
15400 (parse_args): Don't handle TEST_extra. Handle functions with no
15402 * math/libm-test.inc (struct test_sincos_data): Replace with
15403 struct test_fFF_11_data.
15404 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
15405 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
15406 (sincos_test_data): Change element type to struct
15407 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
15408 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
15409 RUN_TEST_LOOP_sincos.
15410 * math/README.libm-test: Don't mention special handling of
15411 individual functions.
15412 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
15413 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15414 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15415 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
15416 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15417 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15419 * math/gen-libm-test.pl (get_variable): Remove function.
15420 (parse_args): Don't show pointer parameters to call in test
15421 names. Use "extra output N" in test names for extra outputs
15422 rather than naming variables.
15424 2013-05-18 Joseph Myers <joseph@codesourcery.com>
15427 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
15428 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
15429 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
15431 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
15433 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
15436 * math/gen-libm-test.pl (@tests): Remove variable.
15437 ($count): Likewise.
15438 (new_test): Remove function.
15439 (show_exceptions): New function.
15440 (special_functions): Use show_exceptions instead of new_test.
15441 (parse_args): Likewise.
15442 (generate_testfile): Pass only function name in generated call to
15443 print_max_error or print_complex_max_error.
15444 (get_ulps): Do not handle complex tests specially.
15445 (output_test): Rename to ...
15446 (get_all_ulps_for_test): ... this. Return a string rather than
15447 printing to a file. Require ulps to be present.
15448 (output_ulps): Generate arrays rather than #defines.
15449 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
15450 (struct ulp_data): New type.
15451 (BUILD_COMPLEX_ULP): Remove macro.
15452 (compare_ulp_data): New function.
15453 (find_ulps): Likewise.
15454 (find_test_ulps): Likewise.
15455 (find_function_ulps): Likewise.
15456 (find_complex_function_ulps): Likewise.
15457 (print_max_error): Determine allowed ulps using
15458 find_function_ulps.
15459 (print_complex_max_error): Determine allowed ulps using
15460 find_complex_function_ulps.
15461 (check_float_internal): Determine max ulps using find_test_ulps.
15462 (check_float): Do not take max_ulp parameter. Update call to
15463 check_float_internal.
15464 (check_complex): Likewise.
15465 (check_int): Do not take max_ulp parameter.
15466 (check_long): Likewise.
15467 (check_bool): Likewise.
15468 (check_longlong): Likewise.
15469 (struct test_f_f_data): Remove max_ulp field.
15470 (struct test_ff_f_data): Likewise.
15471 (struct test_ff_f_data_nexttoward): Likewise.
15472 (struct test_fi_f_data): Likewise.
15473 (struct test_fl_f_data): Likewise.
15474 (struct test_if_f_data): Likewise.
15475 (struct test_fff_f_data): Likewise.
15476 (struct test_c_f_data): Likewise.
15477 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
15478 (struct test_fF_f1_data): Likewise.
15479 (struct test_ffI_f1_data): Likewise.
15480 (struct test_c_c_data): Remove max_ulp field.
15481 (struct test_cc_c_data): Likewise.
15482 (struct test_f_i_data): Likewise.
15483 (struct test_ff_i_data): Likewise.
15484 (struct test_f_l_data): Likewise.
15485 (struct test_f_L_data): Likewise.
15486 (struct test_sincos_data): Likewise.
15487 (RUN_TEST_f_f): Do not handle ulps.
15488 (RUN_TEST_LOOP_f_f): Likewise.
15489 (RUN_TEST_2_f): Likewise.
15490 (RUN_TEST_LOOP_2_f): Likewise.
15491 (RUN_TEST_fff_f): Likewise.
15492 (RUN_TEST_LOOP_fff_f): Likewise.
15493 (RUN_TEST_c_f): Likewise.
15494 (RUN_TEST_LOOP_c_f): Likewise.
15495 (RUN_TEST_f_f1): Likewise.
15496 (RUN_TEST_LOOP_f_f1): Likewise.
15497 (RUN_TEST_fF_f1): Likewise.
15498 (RUN_TEST_LOOP_fF_f1): Likewise.
15499 (RUN_TEST_fI_f1): Likewise.
15500 (RUN_TEST_LOOP_fI_f1): Likewise.
15501 (RUN_TEST_ffI_f1): Likewise.
15502 (RUN_TEST_LOOP_ffI_f1): Likewise.
15503 (RUN_TEST_c_c): Likewise.
15504 (RUN_TEST_LOOP_c_c): Likewise.
15505 (RUN_TEST_cc_c): Likewise.
15506 (RUN_TEST_LOOP_cc_c): Likewise.
15507 (RUN_TEST_f_i): Likewise.
15508 (RUN_TEST_LOOP_f_i): Likewise.
15509 (RUN_TEST_f_i_tg): Likewise.
15510 (RUN_TEST_LOOP_f_i_tg): Likewise.
15511 (RUN_TEST_ff_i_tg): Likewise.
15512 (RUN_TEST_LOOP_ff_i_tg): Likewise.
15513 (RUN_TEST_f_b): Likewise.
15514 (RUN_TEST_LOOP_f_b): Likewise.
15515 (RUN_TEST_f_b_tg): Likewise.
15516 (RUN_TEST_LOOP_f_b_tg): Likewise.
15517 (RUN_TEST_f_l): Likewise.
15518 (RUN_TEST_LOOP_f_l): Likewise.
15519 (RUN_TEST_f_L): Likewise.
15520 (RUN_TEST_LOOP_f_L): Likewise.
15521 (RUN_TEST_sincos): Likewise.
15522 (RUN_TEST_LOOP_sincos): Likewise.
15524 2013-05-17 Joseph Myers <joseph@codesourcery.com>
15528 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
15529 main case of finite arguments, set rounding mode to FE_TONEAREST
15530 and discard exceptions.
15531 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
15533 (remainder_tonearest_test_data): New variable.
15534 (remainder_test_tonearest): New function.
15535 (remainder_towardzero_test_data): New variable.
15536 (remainder_test_towardzero): New function.
15537 (remainder_downward_test_data): New variable.
15538 (remainder_test_downward): New function.
15539 (remainder_upward_test_data): New variable.
15540 (remainder_test_upward): New function.
15541 (main): Call the new test functions.
15543 * math/libm-test.inc (struct test_f_f1_data): Remove field
15545 (struct test_fF_f1_data): Likewise.
15546 (struct test_ffI_f1_data): Likewise.
15547 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
15548 based on value of EXTRA_EXPECTED.
15549 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
15550 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
15551 EXTRA_VAR based on value of EXTRA_EXPECTED.
15552 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
15553 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
15554 EXTRA_VAR based on value of EXTRA_EXPECTED.
15555 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
15556 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
15557 EXTRA_VAR based on value of EXTRA_EXPECTED.
15558 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
15559 * math/gen-libm-test.pl (parse_args): Don't output initializers
15560 for extra output values.
15562 * math/libm-test.inc (check_int): Expect result to be exactly
15563 equal to expected value and do not handle ulps.
15564 (check_long): Likewise.
15565 (check_longlong): Likewise.
15567 * math/libm-test.inc (ceil_test_data): Test for "inexact"
15569 (cimag_test_data): Likewise.
15570 (conj_test_data): Likewise.
15571 (copysign_test_data): Likewise.
15572 (cproj_test_data): Likewise.
15573 (creal_test_data): Likewise.
15574 (fabs_test_data): Likewise.
15575 (fdim_test_data): Likewise.
15576 (finite_test_data): Likewise.
15577 (floor_test_data): Likewise.
15578 (fmax_test_data): Likewise.
15579 (fmin_test_data): Likewise.
15580 (fmod_test_data): Likewise.
15581 (fpclassify_test_data): Likewise.
15582 (frexp_test_data): Likewise.
15583 (ilogb_test_data): Likewise.
15584 (isfinite_test_data): Likewise.
15585 (isgreater_test_data): Likewise.
15586 (isgreaterequal_test_data): Likewise.
15587 (isinf_test_data): Likewise.
15588 (isless_test_data): Likewise.
15589 (islessequal_test_data): Likewise.
15590 (islessgreater_test_data): Likewise.
15591 (isnan_test_data): Likewise.
15592 (isnormal_test_data): Likewise.
15593 (issignaling_test_data): Likewise.
15594 (isunordered_test_data): Likewise.
15595 (ldexp_test_data): Likewise.
15596 (lrint_test_data): Likewise.
15597 (lrint_test_data) [TEST_FLOAT]: Disable one test.
15598 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
15599 (lrint_tonearest_test_data): Test for "inexact" exceptions.
15600 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
15601 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
15602 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
15604 (lrint_towardzero_test_data): Test for "inexact" exceptions.
15605 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
15606 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
15607 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
15609 (lrint_downward_test_data): Test for "inexact" exceptions.
15610 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
15611 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
15612 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
15614 (lrint_upward_test_data): Test for "inexact" exceptions.
15615 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
15617 (llrint_test_data): Test for "inexact" exceptions.
15618 (llrint_test_data) [TEST_FLOAT]: Disable one test.
15619 (llrint_tonearest_test_data): Test for "inexact" exceptions.
15620 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
15621 (llrint_towardzero_test_data): Test for "inexact" exceptions.
15622 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
15623 (llrint_downward_test_data): Test for "inexact" exceptions.
15624 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
15625 (llrint_upward_test_data): Test for "inexact" exceptions.
15626 (logb_test_data): Likewise.
15627 (logb_downward_test_data): Likewise.
15628 (nextafter_test_data): Likewise.
15629 (nexttoward_test_data): Likewise.
15630 (remainder_test_data): Likewise.
15631 (remquo_test_data): Likewise.
15632 (scalbn_test_data): Likewise.
15633 (scalbln_test_data): Likewise.
15634 (signbit_test_data): Likewise.
15635 (sqrt_test_data): Likewise.
15636 (significand_test_data): Likewise.
15638 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15641 * benchtests/bench-modf.c (struct args): Mark arg0 as
15643 * scripts/bench.pl: Mark members of struct args as volatile.
15645 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15648 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
15649 negative infinity on POWER6 or lower.
15650 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
15652 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
15655 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
15656 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
15657 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
15658 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
15659 (_FP_SETQNAN): New macro.
15660 (_FP_SETQNAN_SEMIRAW): Likewise.
15661 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
15662 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
15663 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
15664 (FP_EXTEND): Use _FP_FRAC_SNANP.
15665 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
15666 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
15668 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
15670 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
15673 2013-05-16 Joseph Myers <joseph@codesourcery.com>
15675 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
15676 with DIVIDE_BY_ZERO_EXCEPTION.
15677 (gamma_test_data): Likewise.
15678 (lgamma_test_data): Likewise.
15679 (log_test_data): Likewise.
15680 (log10_test_data): Likewise.
15681 (log2_test_data): Likewise.
15682 (tgamma_test_data): Likewise.
15684 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
15685 (acos_test_tonearest): Likewise.
15686 (acos_test_towardzero): Likewise.
15687 (acos_test_downward): Likewise.
15688 (acos_test_upward): Likewise.
15689 (acosh_test): Likewise.
15690 (asin_test): Likewise.
15691 (asin_test_tonearest): Likewise.
15692 (asin_test_towardzero): Likewise.
15693 (asin_test_downward): Likewise.
15694 (asin_test_upward): Likewise.
15695 (asinh_test): Likewise.
15696 (atan_test): Likewise.
15697 (atanh_test): Likewise.
15698 (atan2_test): Likewise.
15699 (cabs_test): Likewise.
15700 (cacos_test): Likewise.
15701 (cacosh_test): Likewise.
15702 (casin_test): Likewise.
15703 (casinh_test): Likewise.
15704 (catan_test): Likewise.
15705 (catanh_test): Likewise.
15706 (cbrt_test): Likewise.
15707 (ccos_test): Likewise.
15708 (ccosh_test): Likewise.
15709 (cexp_test): Likewise.
15710 (clog_test): Likewise.
15711 (clog10_test): Likewise.
15712 (cos_test): Likewise.
15713 (cos_test_tonearest): Likewise.
15714 (cos_test_towardzero): Likewise.
15715 (cos_test_downward): Likewise.
15716 (cos_test_upward): Likewise.
15717 (cosh_test): Likewise.
15718 (cosh_test_tonearest): Likewise.
15719 (cosh_test_towardzero): Likewise.
15720 (cosh_test_downward): Likewise.
15721 (cosh_test_upward): Likewise.
15722 (cpow_test): Likewise.
15723 (csin_test): Likewise.
15724 (csinh_test): Likewise.
15725 (csqrt_test): Likewise.
15726 (ctan_test): Likewise.
15727 (ctan_test_tonearest): Likewise.
15728 (ctan_test_towardzero): Likewise.
15729 (ctan_test_downward): Likewise.
15730 (ctan_test_upward): Likewise.
15731 (ctanh_test): Likewise.
15732 (ctanh_test_tonearest): Likewise.
15733 (ctanh_test_towardzero): Likewise.
15734 (ctanh_test_downward): Likewise.
15735 (ctanh_test_upward): Likewise.
15736 (erf_test): Likewise.
15737 (erfc_test): Likewise.
15738 (exp_test): Likewise.
15739 (exp_test_tonearest): Likewise.
15740 (exp_test_towardzero): Likewise.
15741 (exp_test_downward): Likewise.
15742 (exp_test_upward): Likewise.
15743 (exp10_test): Likewise.
15744 (exp2_test): Likewise.
15745 (expm1_test): Likewise.
15746 (fmod_test): Likewise.
15747 (gamma_test): Likewise.
15748 (hypot_test): Likewise.
15749 (j0_test): Likewise.
15750 (j1_test): Likewise.
15751 (jn_test): Likewise.
15752 (lgamma_test): Likewise.
15753 (log_test): Likewise.
15754 (log10_test): Likewise.
15755 (log1p_test): Likewise.
15756 (log2_test): Likewise.
15757 (logb_test_downward): Likewise.
15758 (pow_test): Likewise.
15759 (pow_test_tonearest): Likewise.
15760 (pow_test_towardzero): Likewise.
15761 (pow_test_downward): Likewise.
15762 (pow_test_upward): Likewise.
15763 (remainder_test): Likewise.
15764 (remquo_test): Likewise.
15765 (sin_test): Likewise.
15766 (sin_test_tonearest): Likewise.
15767 (sin_test_towardzero): Likewise.
15768 (sin_test_downward): Likewise.
15769 (sin_test_upward): Likewise.
15770 (sincos_test): Likewise.
15771 (sinh_test): Likewise.
15772 (sinh_test_tonearest): Likewise.
15773 (sinh_test_towardzero): Likewise.
15774 (sinh_test_downward): Likewise.
15775 (sinh_test_upward): Likewise.
15776 (sqrt_test): Likewise.
15777 (tan_test): Likewise.
15778 (tan_test_tonearest): Likewise.
15779 (tan_test_towardzero): Likewise.
15780 (tan_test_downward): Likewise.
15781 (tan_test_upward): Likewise.
15782 (tanh_test): Likewise.
15783 (tgamma_test): Likewise.
15784 (y0_test): Likewise.
15785 (y1_test): Likewise.
15786 (yn_test): Likewise.
15788 * math/gen-libm-test.pl (adjust_arg): Remove function.
15789 (special_function): Remove argument $in_func. Only handle
15790 generating output for tables of tests, not inside functions.
15791 (parse_args): Likewise.
15792 (generate_testfile): Remove variable $in_func. Update call to
15794 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
15795 (MINUS_ZERO_INIT): Rename macro to minus_zero.
15796 (PLUS_INFTY_INIT): Rename macro to plus_infty.
15797 (MINUS_INFTY_INIT): Rename macro to minus_infty.
15798 (QNAN_VALUE_INIT): Rename macro to qnan_value.
15799 (MAX_VALUE_INIT): Rename macro to max_value.
15800 (MIN_VALUE_INIT): Rename macro to min_value.
15801 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
15802 (plus_zero): Remove variable.
15803 (minus_zero): Likewise.
15804 (plus_infty): Likewise.
15805 (minus_infty): Likewise.
15806 (qnan_value): Likewise.
15807 (max_value): Likewise.
15808 (min_value): Likewise.
15809 (min_subnorm_value): Likewise.
15811 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15813 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
15814 uint64_t or uint32_t usage.
15815 * crypt/sha256-block.c: Likewise.
15816 * crypt/sha256-crypt.c: Likewise.
15817 * crypt/sha256.c: Likewise.
15818 * crypt/sha512-block.c: Likewise.
15819 * crypt/sha512-crypt.c: Likewise.
15820 * crypt/sha512.c: Likewise.
15821 * debug/backtrace-tst.c: Likewise.
15822 * debug/pcprofiledump.c: Likewise.
15823 * elf/cache.c: Likewise.
15824 * elf/dl-cache.c: Likewise.
15825 * elf/dl-misc.c: Likewise.
15826 * elf/dl-profile.c: Likewise.
15827 * elf/dl-support.c: Likewise.
15828 * elf/ldconfig.c: Likewise.
15829 * elf/sprof.c: Likewise.
15830 * iconv/dummy-repertoire.c: Likewise.
15831 * iconv/iconv_charmap.c: Likewise.
15832 * iconv/skeleton.c: Likewise.
15833 * iconvdata/8bit-generic.c: Likewise.
15834 * iconvdata/cp737.h: Likewise.
15835 * iconvdata/cp775.h: Likewise.
15836 * iconvdata/ibm1008.h: Likewise.
15837 * iconvdata/ibm1025.h: Likewise.
15838 * iconvdata/ibm1046.h: Likewise.
15839 * iconvdata/ibm1097.h: Likewise.
15840 * iconvdata/ibm1112.h: Likewise.
15841 * iconvdata/ibm1122.h: Likewise.
15842 * iconvdata/ibm1123.h: Likewise.
15843 * iconvdata/ibm1124.h: Likewise.
15844 * iconvdata/ibm1129.h: Likewise.
15845 * iconvdata/ibm1130.h: Likewise.
15846 * iconvdata/ibm1132.h: Likewise.
15847 * iconvdata/ibm1133.h: Likewise.
15848 * iconvdata/ibm1137.h: Likewise.
15849 * iconvdata/ibm1140.h: Likewise.
15850 * iconvdata/ibm1141.h: Likewise.
15851 * iconvdata/ibm1142.h: Likewise.
15852 * iconvdata/ibm1143.h: Likewise.
15853 * iconvdata/ibm1144.h: Likewise.
15854 * iconvdata/ibm1145.h: Likewise.
15855 * iconvdata/ibm1146.h: Likewise.
15856 * iconvdata/ibm1147.h: Likewise.
15857 * iconvdata/ibm1148.h: Likewise.
15858 * iconvdata/ibm1149.h: Likewise.
15859 * iconvdata/ibm1153.h: Likewise.
15860 * iconvdata/ibm1154.h: Likewise.
15861 * iconvdata/ibm1155.h: Likewise.
15862 * iconvdata/ibm1156.h: Likewise.
15863 * iconvdata/ibm1157.h: Likewise.
15864 * iconvdata/ibm1158.h: Likewise.
15865 * iconvdata/ibm1160.h: Likewise.
15866 * iconvdata/ibm1161.h: Likewise.
15867 * iconvdata/ibm1162.h: Likewise.
15868 * iconvdata/ibm1163.h: Likewise.
15869 * iconvdata/ibm1164.h: Likewise.
15870 * iconvdata/ibm1166.h: Likewise.
15871 * iconvdata/ibm1167.h: Likewise.
15872 * iconvdata/ibm12712.h: Likewise.
15873 * iconvdata/ibm1390.h: Likewise.
15874 * iconvdata/ibm1399.h: Likewise.
15875 * iconvdata/ibm16804.h: Likewise.
15876 * iconvdata/ibm4517.h: Likewise.
15877 * iconvdata/ibm4899.h: Likewise.
15878 * iconvdata/ibm4909.h: Likewise.
15879 * iconvdata/ibm4971.h: Likewise.
15880 * iconvdata/ibm5347.h: Likewise.
15881 * iconvdata/ibm803.h: Likewise.
15882 * iconvdata/ibm856.h: Likewise.
15883 * iconvdata/ibm901.h: Likewise.
15884 * iconvdata/ibm902.h: Likewise.
15885 * iconvdata/ibm9030.h: Likewise.
15886 * iconvdata/ibm9066.h: Likewise.
15887 * iconvdata/ibm921.h: Likewise.
15888 * iconvdata/ibm922.h: Likewise.
15889 * iconvdata/ibm9448.h: Likewise.
15890 * iconvdata/isiri-3342.h: Likewise.
15891 * iconvdata/jis0201.h: Likewise.
15892 * include/link.h: Likewise.
15893 * include/netdb.h: Likewise.
15894 * inet/check_native.c: Likewise.
15895 * inet/check_pf.c: Likewise.
15896 * inet/getipv4sourcefilter.c: Likewise.
15897 * inet/getnameinfo.c: Likewise.
15898 * inet/getsourcefilter.c: Likewise.
15899 * inet/htonl.c: Likewise.
15900 * inet/setipv4sourcefilter.c: Likewise.
15901 * inet/setsourcefilter.c: Likewise.
15902 * inet/test-inet6_opt.c: Likewise.
15903 * inet/tst-network.c: Likewise.
15904 * locale/C-collate.c: Likewise.
15905 * locale/C-ctype.c: Likewise.
15906 * locale/C-time.c: Likewise.
15907 * locale/C-translit.h: Likewise.
15908 * locale/loadarchive.c: Likewise.
15909 * locale/programs/3level.h: Likewise.
15910 * locale/programs/charmap.c: Likewise.
15911 * locale/programs/charmap.h: Likewise.
15912 * locale/programs/ld-address.c: Likewise.
15913 * locale/programs/ld-collate.c: Likewise.
15914 * locale/programs/ld-ctype.c: Likewise.
15915 * locale/programs/ld-identification.c: Likewise.
15916 * locale/programs/ld-measurement.c: Likewise.
15917 * locale/programs/ld-messages.c: Likewise.
15918 * locale/programs/ld-monetary.c: Likewise.
15919 * locale/programs/ld-name.c: Likewise.
15920 * locale/programs/ld-numeric.c: Likewise.
15921 * locale/programs/ld-paper.c: Likewise.
15922 * locale/programs/ld-telephone.c: Likewise.
15923 * locale/programs/ld-time.c: Likewise.
15924 * locale/programs/linereader.c: Likewise.
15925 * locale/programs/locale.c: Likewise.
15926 * locale/programs/locarchive.c: Likewise.
15927 * locale/programs/locfile.h: Likewise.
15928 * locale/programs/repertoire.c: Likewise.
15929 * locale/programs/simple-hash.c: Likewise.
15930 * locale/programs/simple-hash.h: Likewise.
15931 * malloc/memusage.c: Likewise.
15932 * malloc/memusagestat.c: Likewise.
15933 * nis/nis_defaults.c: Likewise.
15934 * nis/nis_hash.c: Likewise.
15935 * nis/nis_print.c: Likewise.
15936 * nis/nis_xdr.c: Likewise.
15937 * nscd/connections.c: Likewise.
15938 * nscd/hstcache.c: Likewise.
15939 * nscd/nscd_gethst_r.c: Likewise.
15940 * nscd/nscd_getserv_r.c: Likewise.
15941 * nscd/nscd_helper.c: Likewise.
15942 * nscd/servicescache.c: Likewise.
15943 * nss/makedb.c: Likewise.
15944 * nss/nss_db/db-XXX.c: Likewise.
15945 * nss/nss_db/db-initgroups.c: Likewise.
15946 * nss/nss_db/db-netgrp.c: Likewise.
15947 * nss/nss_files/files-network.c: Likewise.
15948 * nss/nss_files/files-parse.c: Likewise.
15949 * posix/bug-regex5.c: Likewise.
15950 * posix/fnmatch_loop.c: Likewise.
15951 * posix/regcomp.c: Likewise.
15952 * posix/regexec.c: Likewise.
15953 * posix/tst-rfc3484-2.c: Likewise.
15954 * posix/tst-rfc3484-3.c: Likewise.
15955 * posix/tst-rfc3484.c: Likewise.
15956 * resolv/nss_dns/dns-canon.c: Likewise.
15957 * resolv/nss_dns/dns-network.c: Likewise.
15958 * resolv/res_init.c: Likewise.
15959 * resolv/res_mkquery.c: Likewise.
15960 * resolv/tst-aton.c: Likewise.
15961 * stdlib/cxa_atexit.c: Likewise.
15962 * stdlib/cxa_finalize.c: Likewise.
15963 * stdlib/gen-fpioconst.c: Likewise.
15964 * stdlib/strtol_l.c: Likewise.
15965 * string/tst-endian.c: Likewise.
15966 * sunrpc/auth_des.c: Likewise.
15967 * sunrpc/clnt_udp.c: Likewise.
15968 * sunrpc/rtime.c: Likewise.
15969 * sunrpc/svcauth_des.c: Likewise.
15970 * sunrpc/xdr.c: Likewise.
15971 * sunrpc/xdr_intXX_t.c: Likewise.
15972 * sunrpc/xdr_rec.c: Likewise.
15973 * sysdeps/generic/ldconfig.h: Likewise.
15974 * sysdeps/generic/ldsodefs.h: Likewise.
15975 * sysdeps/generic/memusage.h: Likewise.
15976 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
15977 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
15978 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
15979 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
15980 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15981 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15982 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
15983 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
15984 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
15985 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15986 * sysdeps/posix/getaddrinfo.c: Likewise.
15987 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
15988 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15989 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
15990 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
15991 * sysdeps/powerpc/test-gettimebase.c: Likewise.
15992 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
15993 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
15994 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
15995 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
15996 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
15997 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
15998 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
15999 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
16000 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
16001 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
16002 * sysdeps/x86_64/dl-tls.h: Likewise.
16003 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
16004 * time/alt_digit.c: Likewise.
16005 * time/era.c: Likewise.
16006 * wcsmbs/tst-c16c32-1.c: Likewise.
16008 2013-05-16 Joseph Myers <joseph@codesourcery.com>
16010 * math/libm-test.inc (struct test_sincos_data): New type.
16011 (RUN_TEST_LOOP_sincos): New macro.
16012 (sincos_test_data): New variable.
16013 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
16015 2013-05-16 Richard Henderson <rth@redhat.com>
16017 * math/atest-exp2.c (LIMB64): New macro.
16018 (CONSTSZ): New macro.
16019 (mp_exp1, mp_exp_m1, mp_log2): New variables.
16021 (print_mpn_fp): ... to function scope.
16022 (read_mpn_hex): Remove.
16023 (get_log2): Remove.
16024 (exp2_mpn): Use mp_log2.
16025 (main): Use mp_exp1.
16027 2013-05-16 Joseph Myers <joseph@codesourcery.com>
16029 * math/libm-test.inc: Remove comment about not testing "inexact"
16031 (INEXACT_EXCEPTION): New macro.
16032 (NO_INEXACT_EXCEPTION): Likewise.
16033 (INVALID_EXCEPTION_OK): Update value.
16034 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
16035 (OVERFLOW_EXCEPTION_OK): Likewise.
16036 (UNDERFLOW_EXCEPTION_OK): Likewise.
16037 (IGNORE_ZERO_INF_SIGN): Likewise.
16038 (ERRNO_UNCHANGED): Likewise.
16039 (ERRNO_EDOM): Likewise.
16040 (ERRNO_ERANGE): Likewise.
16041 (test_exceptions): Handle testing "inexact" exceptions.
16042 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
16043 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
16044 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
16045 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
16047 (rint_towardzero_test_data): Likewise.
16048 (rint_downward_test_data): Likewise.
16049 (rint_upward_test_data): Likewise.
16051 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
16052 with OVERFLOW_EXCEPTION.
16053 (exp10_test_data): Likewise.
16054 (exp2_test_data): Likewise.
16055 (expm1_test_data): Likewise.
16056 (lgamma_test_data): Likewise.
16057 (pow_test_data): Likewise.
16058 (tgamma_test_data): Likewise.
16059 (yn_test_data): Remove duplicate test of overflow.
16061 * math/libm-test.inc (struct test_cc_c_data): New type.
16062 (RUN_TEST_LOOP_cc_c): New macro.
16063 (cpow_test_data): New variable.
16064 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
16066 * math/libm-test.inc (struct test_f_L_data): New type.
16067 (RUN_TEST_LOOP_f_L): New macro.
16068 (llrint_test_data): New variable.
16069 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
16070 (llrint_tonearest_test_data): New variable.
16071 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
16072 (llrint_towardzero_test_data): New variable.
16073 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
16074 (llrint_downward_test_data): New variable.
16075 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
16076 (llrint_upward_test_data): New variable.
16077 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
16078 (llround_test_data): New variable.
16079 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
16081 2013-05-13 Peter Collingbourne <pcc@google.com>
16083 * math/atest-exp2.c (get_log2): Remove const attribute.
16085 2013-05-15 Joseph Myers <joseph@codesourcery.com>
16087 * math/libm-test.inc (struct test_f_l_data): New type.
16088 (RUN_TEST_LOOP_f_l): New macro.
16089 (lrint_test_data): New variable.
16090 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
16091 (lrint_tonearest_test_data): New variable.
16092 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
16093 (lrint_towardzero_test_data): New variable.
16094 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
16095 (lrint_downward_test_data): New variable.
16096 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
16097 (lrint_upward_test_data): New variable.
16098 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
16099 (lround_test_data): New variable.
16100 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
16102 2013-05-15 Peter Collingbourne <pcc@google.com>
16104 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
16105 (EXTRACT_WORDS64) Use where appropriate.
16106 (INSERT_WORDS64) Likewise.
16108 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
16109 constraints with x constraints.
16110 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
16112 * malloc/obstack.c (_obstack_compat): Add initializer.
16114 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
16116 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
16117 si_trapno and add si_addr_lsb to _sifields.sigfault.
16118 (si_trapno): Remove macro.
16119 (si_addr_lsb): Define new macro.
16120 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
16122 2013-05-15 Joseph Myers <joseph@codesourcery.com>
16124 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
16125 instead of TEST_f_l.
16126 (llrint_test_tonearest): Likewise.
16127 (llrint_test_towardzero): Likewise.
16128 (llrint_test_downward): Likewise.
16129 (llrint_test_upward): Likewise.
16130 (llround_test): Likewise.
16132 * math/libm-test.inc (struct test_f_i_data): Add comment.
16133 (RUN_TEST_LOOP_f_b): New macro.
16134 (RUN_TEST_LOOP_f_b_tg): Likewise.
16135 (finite_test_data): New variable.
16136 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
16137 (isfinite_test_data): New variable.
16138 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16139 (isinf_test_data): New variable.
16140 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16141 (isnan_test_data): New variable.
16142 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16143 (isnormal_test_data): New variable.
16144 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16145 (issignaling_test_data): New variable.
16146 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16147 (signbit_test_data): New variable.
16148 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16150 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
16151 with INVALID_EXCEPTION.
16152 (acosh_test_data): Likewise.
16153 (asin_test_data): Likewise.
16154 (atanh_test_data): Likewise.
16155 (fmod_test_data): Likewise.
16156 (log_test_data): Likewise.
16157 (log10_test_data): Likewise.
16158 (log2_test_data): Likewise.
16159 (pow_test_data): Likewise.
16160 (sqrt_test_data): Likewise.
16161 (y0_test_data): Likewise.
16162 (y1_test_data): Likewise.
16163 (yn_test_data): Likewise.
16165 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
16168 * math/libm-test.inc (struct test_ff_i_data): New type.
16169 (RUN_TEST_LOOP_ff_i_tg): New macro.
16170 (isgreater_test_data): New variable.
16171 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16172 (isgreaterequal_test_data): New variable.
16173 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16174 (isless_test_data): New variable.
16175 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16176 (islessequal_test_data): New variable.
16177 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16178 (islessgreater_test_data): New variable.
16179 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16180 (isunordered_test_data): New variable.
16181 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16183 2013-05-14 David S. Miller <davem@davemloft.net>
16185 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16187 2013-05-14 Joseph Myers <joseph@codesourcery.com>
16189 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
16191 * math/libm-test.inc (struct test_fF_f1_data): Change type of
16193 (struct test_f_i_data): Change type of max_ulp to int.
16195 * math/libm-test.inc (test_ffI_f1_data): New type.
16196 (RUN_TEST_LOOP_ffI_f1): New macro.
16197 (remquo_test_data): New variable.
16198 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
16200 * setjmp/tst-setjmp-fp.c: New file.
16201 * setjmp/Makefile (tests): Add tst-setjmp-fp.
16202 (link-libm): New variable.
16203 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
16205 * math/libm-test.inc (struct test_f_i_data): New type.
16206 (RUN_TEST_LOOP_f_i): New macro.
16207 (RUN_TEST_LOOP_f_i_tg): Likewise.
16208 (fpclassify_test_data): New variable.
16209 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
16210 (ilogb_test_data): New variable.
16211 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
16213 * math/libm-test.inc (scalbln_test): Correct function name in END
16216 * math/libm-test.inc (struct test_f_f1_data): Add comment.
16217 (RUN_TEST_LOOP_fI_f1): New macro.
16218 (frexp_test_data): New variable.
16219 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
16221 * math/libm-test.inc (struct test_fF_f1_data): New type.
16222 (RUN_TEST_LOOP_fF_f1): New macro.
16223 (modf_test_data): New variable.
16224 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
16226 * math/libm-test.inc (struct test_f_f1_data): New type.
16227 (RUN_TEST_LOOP_f_f1): New macro.
16228 (gamma_test_data): New variable.
16229 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
16230 (lgamma_test_data): New variable.
16231 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
16233 2013-05-13 Carlos O'Donell <carlos@redhat.com>
16235 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
16236 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
16237 (main): Comment "tls" pseudo-hwcap.
16239 2013-05-13 Joseph Myers <joseph@codesourcery.com>
16241 * math/libm-test.inc (struct test_fl_f_data): New type.
16242 (RUN_TEST_LOOP_fl_f): New variable.
16243 (scalbln_test_data): New variable.
16244 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
16246 * math/libm-test.inc (struct test_fi_f_data): New type.
16247 (RUN_TEST_LOOP_fi_f): New macro.
16248 (ldexp_test_data): New variable.
16249 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
16250 (scalbn_test_data): New variable.
16251 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
16253 * math/libm-test.inc (struct test_c_f_data): New type.
16254 (RUN_TEST_LOOP_c_f): New macro.
16255 (cabs_test_data): New variable.
16256 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
16257 (carg_test_data): New variable.
16258 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
16259 (cimag_test_data): New variable.
16260 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
16261 (creal_test_data): New variable.
16262 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
16264 * math/libm-test.inc (struct test_if_f_data): New type.
16265 (RUN_TEST_LOOP_if_f): New macro.
16266 (jn_test_data): New variable.
16267 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
16268 (yn_test_data): New variable.
16269 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
16271 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
16273 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16275 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
16276 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
16278 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
16280 * benchtests/Makefile (CPPFLAGS-nonlib): Add
16281 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
16282 (bench-deps): Add bench-timing.h.
16283 * benchtests-bench-skeleton.c: Include bench-timing.h.
16284 (main): Use TIMING_* macros instead of clock_gettime.
16285 * benchtests/bench-timing.h: New file.
16288 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
16289 Renamed from _LIB_VERSION.
16290 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
16292 2013-05-12 Joseph Myers <joseph@codesourcery.com>
16294 * math/libm-test.inc (struct test_fff_f_data): New type.
16295 (RUN_TEST_LOOP_fff_f): New macro.
16296 (fma_test_data): New variable.
16297 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
16298 (fma_towardzero_test_data): New variable.
16299 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
16300 (fma_downward_test_data): New variable.
16301 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
16302 (fma_upward_test_data): New variable.
16303 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
16305 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
16306 (struct test_c_c_data): New type.
16307 (RUN_TEST_LOOP_c_c): New macro.
16308 (cacos_test_data): New variable.
16309 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
16310 (cacosh_test_data): New variable.
16311 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
16312 (casin_test_data): New variable.
16313 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
16314 (casinh_test_data): New variable.
16315 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
16316 (catan_test_data): New variable.
16317 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
16318 (catanh_test_data): New variable.
16319 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
16320 (ccos_test_data): New variable.
16321 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
16322 (ccosh_test_data): New variable.
16323 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
16324 (cexp_test_data): New variable.
16325 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
16326 (clog_test_data): New variable.
16327 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
16328 (clog10_test_data): New variable.
16329 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
16330 (conj_test_data): New variable.
16331 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
16332 (cproj_test_data): New variable.
16333 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
16334 (csin_test_data): New variable.
16335 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
16336 (csinh_test_data): New variable.
16337 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
16338 (csqrt_test_data): New variable.
16339 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
16340 (ctan_test_data): New variable.
16341 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
16342 (ctan_tonearest_test_data): New variable.
16343 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
16344 (ctan_towardzero_test_data): New variable.
16345 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
16346 (ctan_downward_test_data): New variable.
16347 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
16348 (ctan_upward_test_data): New variable.
16349 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
16350 (ctanh_test_data): New variable.
16351 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
16352 (ctanh_tonearest_test_data): New variable.
16353 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
16354 (ctanh_towardzero_test_data): New variable.
16355 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
16356 (ctanh_downward_test_data): New variable.
16357 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
16358 (ctanh_upward_test_data): New variable.
16359 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
16360 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
16363 * math/libm-test.inc (struct test_ff_f_data): New type.
16364 (struct test_ff_f_data_nexttoward): Likewise.
16365 (RUN_TEST_LOOP_2_f): New macro.
16366 (RUN_TEST_LOOP_ff_f): Likewise.
16367 (atan2_test_data): New variable.
16368 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
16369 (copysign_test_data): New variable.
16370 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
16371 (fdim_test_data): New variable.
16372 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
16373 (fmax_test_data): New variable.
16374 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
16375 (fmin_test_data): New variable.
16376 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
16377 (fmod_test_data): New variable.
16378 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
16379 (hypot_test_data): New variable.
16380 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
16381 (nextafter_test_data): New variable.
16382 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
16383 (nexttoward_test_data): New variable.
16384 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
16385 (pow_test_data): New variable.
16386 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
16387 (pow_tonearest_test_data): New variable.
16388 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
16389 (pow_towardzero_test_data): New variable.
16390 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
16391 (pow_downward_test_data): New variable.
16392 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
16393 (pow_upward_test_data): New variable.
16394 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
16395 (remainder_test_data): New variable.
16396 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
16397 (scalb_test_data): New variable.
16398 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
16399 * sysdeps/i386/fpu/libm-test-ulps: Update.
16401 2013-05-11 Joseph Myers <joseph@codesourcery.com>
16403 * math/libm-test.inc (fma_test): Use max_value instead of local
16405 (nextafter_test): Likewise.
16407 * math/libm-test.inc (acos_towardzero_test_data): New variable.
16408 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16409 (acos_downward_test_data): New variable.
16410 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16411 (acos_upward_test_data): New variable.
16412 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16413 (acosh_test_data): New variable.
16414 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
16415 (asin_test_data): New variable.
16416 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
16417 (asin_tonearest_test_data): New variable.
16418 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16419 (asin_towardzero_test_data): New variable.
16420 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16421 (asin_downward_test_data): New variable.
16422 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16423 (asin_upward_test_data): New variable.
16424 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16425 (asinh_test_data): New variable.
16426 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
16427 (atan_test_data): New variable.
16428 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
16429 (atanh_test_data): New variable.
16430 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
16431 (cbrt_test_data): New variable.
16432 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
16433 (ceil_test_data): New variable.
16434 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
16435 (cos_test_data): New variable.
16436 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
16437 (cos_tonearest_test_data): New variable.
16438 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16439 (cos_towardzero_test_data): New variable.
16440 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16441 (cos_downward_test_data): New variable.
16442 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16443 (cos_upward_test_data): New variable.
16444 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16445 (cosh_test_data): New variable.
16446 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
16447 (cosh_tonearest_test_data): New variable.
16448 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16449 (cosh_towardzero_test_data): New variable.
16450 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16451 (cosh_downward_test_data): New variable.
16452 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16453 (cosh_upward_test_data): New variable.
16454 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16455 (erf_test_data): New variable.
16456 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
16457 (erfc_test_data): New variable.
16458 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
16459 (exp_test_data): New variable.
16460 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
16461 (exp_tonearest_test_data): New variable.
16462 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16463 (exp_towardzero_test_data): New variable.
16464 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16465 (exp_downward_test_data): New variable.
16466 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16467 (exp_upward_test_data): New variable.
16468 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16469 (exp10_test_data): New variable.
16470 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
16471 (exp2_test_data): New variable.
16472 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
16473 (expm1_test_data): New variable.
16474 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
16475 (fabs_test_data): New variable.
16476 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
16477 (floor_test_data): New variable.
16478 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
16479 (j0_test_data): New variable.
16480 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
16481 (j1_test_data): New variable.
16482 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
16483 (log_test_data): New variable.
16484 (log_test): Run tests with RUN_TEST_LOOP_f_f.
16485 (log10_test_data): New variable.
16486 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
16487 (log1p_test_data): New variable.
16488 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
16489 (log2_test_data): New variable.
16490 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
16491 (logb_test_data): New variable.
16492 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
16493 (logb_downward_test_data): New variable.
16494 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16495 (nearbyint_test_data): New variable.
16496 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
16497 (rint_test_data): New variable.
16498 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
16499 (rint_tonearest_test_data): New variable.
16500 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16501 (rint_towardzero_test_data): New variable.
16502 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16503 (rint_downward_test_data): New variable.
16504 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16505 (rint_upward_test_data): New variable.
16506 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16507 (round_test_data): New variable.
16508 (round_test): Run tests with RUN_TEST_LOOP_f_f.
16509 (sin_test_data): New variable.
16510 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
16511 (sin_tonearest_test_data): New variable.
16512 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16513 (sin_towardzero_test_data): New variable.
16514 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16515 (sin_downward_test_data): New variable.
16516 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16517 (sin_upward_test_data): New variable.
16518 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16519 (sinh_test_data): New variable.
16520 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
16521 (sinh_tonearest_test_data): New variable.
16522 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16523 (sinh_towardzero_test_data): New variable.
16524 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16525 (sinh_downward_test_data): New variable.
16526 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16527 (sinh_upward_test_data): New variable.
16528 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16529 (sqrt_test_data): New variable.
16530 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
16531 (tan_test_data): New variable.
16532 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
16533 (tan_tonearest_test_data): New variable.
16534 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16535 (tan_towardzero_test_data): New variable.
16536 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16537 (tan_downward_test_data): New variable.
16538 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16539 (tan_upward_test_data): New variable.
16540 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16541 (tanh_test_data): New variable.
16542 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
16543 (tgamma_test_data): New variable.
16544 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
16545 (trunc_test_data): New variable.
16546 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
16547 (y0_test_data): New variable.
16548 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
16549 (y1_test_data): New variable.
16550 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
16551 (significand_test_data): New variable.
16552 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
16554 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
16557 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
16559 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
16561 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
16563 2013-05-10 Andreas Jaeger <aj@suse.de>
16566 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
16567 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
16569 2013-05-10 Joseph Myers <joseph@codesourcery.com>
16571 * math/gen-libm-test.pl (adjust_arg): New function.
16572 (special_functions): Handle generating output in both functions
16574 (parse_args): Likewise.
16575 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
16576 $in_func argument to parse_args.
16577 * math/libm-test.inc (struct test_f_f_data): New type.
16578 (IF_ROUND_INIT_): New macro.
16579 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
16580 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
16581 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
16582 (IF_ROUND_INIT_FE_UPWARD): Likewise.
16583 (ROUND_RESTORE_): Likewise.
16584 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
16585 (ROUND_RESTORE_FE_TONEAREST): Likewise.
16586 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
16587 (ROUND_RESTORE_FE_UPWARD): Likewise.
16588 (RUN_TEST_LOOP_f_f): New macro.
16589 (acos_test_data): New variable.
16590 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
16591 (acos_tonearest_test_data): New variable.
16592 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16594 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16596 * benchtests/bench-skeleton.c (startup): Fix coding style.
16598 2013-05-10 Joseph Myers <joseph@codesourcery.com>
16601 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
16602 negative infinity argument.
16603 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
16604 negative infinity argument.
16605 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
16606 negative infinity argument.
16607 * math/libm-test.inc (tgamma_test): Expect errno to be set for
16610 2013-05-10 Florian Weimer <fweimer@redhat.com>
16612 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
16613 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
16614 * iconv/iconv_prog.c (main): Likewise.
16615 * locale/programs/charmap-dir.c (charmap_readdir)
16616 (fopen_uncompressed): Likewise.
16617 * locale/programs/locfile.c (siblings_uncached)
16618 (write_locale_data): Use lstat64 instead of lstat.
16619 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
16622 2013-05-10 Andreas Jaeger <aj@suse.de>
16625 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
16627 Include <locale.h>.
16629 2013-05-09 Carlos O'Donell <carlos@redhat.com>
16631 * elf/dl-close.c (_dl_close_worker): Add comments.
16633 2013-05-09 Joseph Myers <joseph@codesourcery.com>
16636 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
16638 (__ieee754_rem_pio2l): Update comments.
16641 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
16643 (__ieee754_rem_pio2l): Update comments.
16645 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
16646 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
16648 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
16651 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
16652 (M_PI_34_LOG10El): Likewise.
16653 (M_PI2_LOG10El): Likewise.
16654 (M_PI4_LOG10El): Likewise.
16655 (M_PI_LOG10El): Likewise.
16657 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16659 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16661 2013-05-08 Joseph Myers <joseph@codesourcery.com>
16663 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
16664 (MINUS_ZERO_INIT): Likewise.
16665 (PLUS_INFTY_INIT): Likewise.
16666 (MINUS_INFTY_INIT): Likewise.
16667 (QNAN_VALUE_INIT): Likewise.
16668 (MAX_VALUE_INIT): Likewise.
16669 (MIN_VALUE_INIT): Likewise.
16670 (MIN_SUBNORM_VALUE_INIT): Likewise.
16671 (plus_zero): Initialize with PLUS_ZERO_INIT.
16672 (minus_zero): Initialize with MINUS_ZERO_INIT.
16673 (plus_infty): Initialize with PLUS_INFTY_INIT.
16674 (minus_infty): Initialize with MINUS_INFTY_INIT.
16675 (qnan_value): Initialize with QNAN_VALUE_INIT.
16676 (max_value): Initialize with MAX_VALUE_INIT.
16677 (min_value): Initialize with MIN_VALUE_INIT.
16678 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
16680 * math/libm-test.inc (RUN_TEST_if_f): New macro.
16681 (jn_test): Use TEST_if_f instead of TEST_ff_f.
16682 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
16683 (yn_test): Use TEST_if_f instead of TEST_ff_f.
16685 * math/libm-test.inc (RUN_TEST_f_f): New macro.
16686 (RUN_TEST_2_f): Likewise.
16687 (RUN_TEST_ff_f): Likewise.
16688 (RUN_TEST_fi_f): Likewise.
16689 (RUN_TEST_fl_f): Likewise.
16690 (RUN_TEST_fff_f): Likewise.
16691 (RUN_TEST_c_f): Likewise.
16692 (RUN_TEST_f_f1): Likewise.
16693 (RUN_TEST_fF_f1): Likewise.
16694 (RUN_TEST_fI_f1): Likewise.
16695 (RUN_TEST_ffI_f1): Likewise.
16696 (RUN_TEST_c_c): Likewise.
16697 (RUN_TEST_cc_c): Likewise.
16698 (RUN_TEST_f_i): Likewise.
16699 (RUN_TEST_f_i_tg): Likewise.
16700 (RUN_TEST_ff_i_tg): Likewise.
16701 (RUN_TEST_f_b): Likewise.
16702 (RUN_TEST_f_b_tg): Likewise.
16703 (RUN_TEST_f_l): Likewise.
16704 (RUN_TEST_f_L): Likewise.
16705 (RUN_TEST_sincos): Likewise.
16706 * math/gen-libm-test.pl (new_test): Take new argument to indicate
16707 whether to show exceptions. Do not include ");\n" in return
16709 (special_functions): Output call to RUN_TEST_sincos instead of
16710 check_float calls. Update calls to new_test.
16711 (parse_args): Output call to single RUN_TEST_* macro instead of
16712 check_* calls and other assignments. Update calls to new_test.
16718 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
16719 input to result for tgamma overflow.
16720 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
16721 (gamma_coeff): New variable.
16722 (NCOEFF): New macro.
16723 (gamma_positive): New function.
16724 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
16725 underflow here. Use gamma_positive instead of exp (lgamma) for
16727 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
16728 (gamma_coeff): New variable.
16729 (NCOEFF): New macro.
16730 (gammaf_positive): New function.
16731 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
16732 underflow here. Use gamma_positive instead of exp (lgamma) for
16734 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
16735 (gamma_coeff): New variable.
16736 (NCOEFF): New macro.
16737 (gammal_positive): New function.
16738 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
16739 underflow here. Use gamma_positive instead of exp (lgamma) for
16741 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
16742 (gamma_coeff): New variable.
16743 (NCOEFF): New macro.
16744 (gammal_positive): New function.
16745 (__ieee754_gammal_r): Handle positive infinity, overflow and
16746 underflow here. Handle NaN the same as positive infinity. Remove
16747 check x < 0xffffffff for negative integers. Use gamma_positive
16748 instead of exp (lgamma) for other arguments.
16749 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
16750 (gamma_coeff): New variable.
16751 (NCOEFF): New macro.
16752 (gammal_positive): New function.
16753 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
16754 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
16755 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
16756 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
16757 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
16758 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
16759 * sysdeps/generic/math_private.h (__gamma_productf): New
16761 (__gamma_product): Likewise.
16762 (__gamma_productl): Likewise.
16763 * math/Makefile (libm-calls): Add gamma_product.
16764 * math/libm-test.inc (tgamma_test): Add more tests.
16765 * sysdeps/i386/fpu/libm-test-ulps: Update.
16766 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16768 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
16770 * benchtests/bench-skeleton.c (main): Preheat CPU.
16772 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
16774 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
16776 2013-05-07 Roland McGrath <roland@hack.frob.com>
16778 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
16779 and _dl_skip_args_internal.
16781 2013-05-07 Carlos O'Donell <carlos@redhat.com>
16783 * manual/message.texi (Message Translation): Talk about users.
16784 Message to key mapping impacts design.
16786 2013-05-06 Roland McGrath <roland@hack.frob.com>
16788 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
16790 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
16792 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
16793 * sysdeps/wordsize-64/glob64.c: ... here.
16795 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
16796 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
16799 * debug/getlogin_r_chk.c: Moved to ...
16800 * login/getlogin_r_chk.c: ... here.
16801 * debug/Makefile (routines): Move getlogin_r_chk to ...
16802 * login/Makefile (routines): ... here.
16803 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
16804 * login/Versions (libc: GLIBC_2.4): ... here.
16806 * io/poll.c (__poll): Renamed from poll.
16807 Add libc_hidden_def.
16808 (poll): Define as weak alias.
16810 * debug/ptsname_r_chk.c: Moved to ...
16811 * login/ptsname_r_chk.c: ... here.
16812 * debug/Makefile (routines): Move ptsname_r_chk to ...
16813 * login/Makefile (routines): ... here.
16814 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
16815 * login/Versions (libc: GLIBC_2.4): ... here.
16817 * posix/getlogin.c: Moved to ...
16818 * login/getlogin.c: ... here.
16819 * posix/getlogin_r.c: Moved to ...
16820 * login/getlogin_r.c: ... here.
16821 * posix/getlogin_r.c: Moved to ...
16822 * login/getlogin_r.c: ... here.
16823 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
16824 * login/Makefile (routines): ... here.
16825 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
16826 * login/Versions (libc: GLIBC_2.0): ... here.
16828 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
16829 (setrlimit): Define as weak alias.
16831 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
16832 Call __ names for open, ftruncate, and close.
16833 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
16834 (truncate): Define as weak alias.
16836 2013-05-06 Joseph Myers <joseph@codesourcery.com>
16838 * math/gen-libm-test.pl (parse_args): Initialize x before each
16839 test of frexp, modf and remquo.
16841 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
16842 test signgam value.
16844 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16848 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
16850 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16852 2013-05-06 Roland McGrath <roland@hack.frob.com>
16854 * elf/dl-writev.h: New file.
16855 * elf/dl-misc.c: Include it.
16856 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
16857 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
16859 2013-05-04 Joseph Myers <joseph@codesourcery.com>
16861 * math/libm-test.inc (noXFails): Remove variable.
16862 (noXPasses): Likewise.
16863 (BUILD_COMPLEX_INT): Remove macro.
16864 (print_screen): Remove xfail argument.
16865 (print_screen_max_error): Likewise.
16866 (update_stats): Likewise.
16867 (print_max_error): Likewise. Update calls to other affected
16869 (print_complex_max_error): Likewise.
16870 (test_single_exception): Update calls to print_screen.
16871 (test_single_errno): Likewise.
16872 (check_float_internal): Remove xfail argument. Update calls to
16873 other affected functions.
16874 (check_float): Likewise.
16875 (check_complex): Likewise.
16876 (check_int): Likewise.
16877 (check_long): Likewise.
16878 (check_bool): Likewise.
16879 (check_longlong): Likewise.
16880 (main): Don't print noXFails and noXPasses.
16881 * math/gen-libm-test.pl (top level): Don't mention expected
16882 failure handling in comment.
16883 (new_test): Don't handle expected failures.
16884 (parse_args): Don't mention expected failure handling in comment.
16885 (generate_testfile): Don't handle expected failures.
16886 (parse_ulps): Likewise.
16887 (print_ulps_file): Likewise.
16888 (get_failure): Remove function.
16889 (output_test): Don't handle expected failures.
16890 * make/README.libm-test: Don't mention expected failure handling.
16892 * math/libm-test.inc (plus_zero): Make const. Add initializer.
16893 (minus_zero): Likewise.
16894 (plus_infty): Likewise.
16895 (minus_infty): Likewise.
16896 (qnan_value): Likewise.
16897 (max_value): Likewise.
16898 (min_value): Likewise.
16899 (min_subnorm_value): Likewise.
16900 (initialize): Do not initialize those variables dynamically.
16902 2013-05-03 Roland McGrath <roland@hack.frob.com>
16904 * io/open.c (__open_2): Moved to ...
16905 * io/open_2.c: ... this new file.
16906 * io/open64.c (__open64_2): Moved to ...
16907 * io/open64_2.c: ... this new file.
16908 * io/openat.c (__openat_2): Moved to ...
16909 * io/openat_2.c: ... this new file.
16910 * io/openat64.c (__openat64_2): Moved to ...
16911 * io/openat64_2.c: ... this new file.
16912 * io/Makefile (routines): Add them.
16913 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
16914 * sysdeps/unix/sysv/linux/open_2.c: File removed.
16915 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
16916 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
16917 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
16918 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
16919 (__openat64): Add hidden_ver.
16920 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
16921 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
16923 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
16924 Separately conditionalize setting of GLRO(dl_sysinfo) so
16925 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
16926 as well, but the actual setting is only under [NEED_DL_SYSINFO].
16928 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16930 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
16931 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
16933 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
16934 * sysdeps/unix/sysv/linux/powerpc/init-first.c
16935 (_libc_vdso_platform_setup): Add __vdso_time initialization.
16936 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
16937 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
16939 2013-05-03 Joseph Myers <joseph@codesourcery.com>
16941 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
16942 test signgam value.
16944 * math/libm-test.inc (hypot_test): Do not use
16945 IGNORE_ZERO_INF_SIGN.
16947 2013-05-03 Andreas Jaeger <aj@suse.de>
16949 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
16951 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
16952 (PF_MAX): Adjust for VSOCK change.
16954 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16956 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16958 2013-05-02 Carlos O'Donell <carlos@redhat.com>
16961 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
16962 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
16963 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
16965 2013-05-02 David S. Miller <davem@davemloft.net>
16967 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16969 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
16971 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
16973 2013-05-01 Roland McGrath <roland@hack.frob.com>
16975 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
16977 2013-05-01 Richard Smith <richard@metafoo.co.uk>
16980 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
16981 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
16982 Use __attribute__ ((__gnu_inline__)).
16983 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
16984 Don't use __attribute__ ((__gnu_inline__)).
16986 2013-05-01 Joseph Myers <joseph@codesourcery.com>
16989 * math/s_catan.c (__catan): Handle small real or imaginary part of
16990 input specially to avoid spurious underflow.
16991 * math/s_catanf.c (__catanf): Likewise.
16992 * math/s_catanh.c (__catanh): Likewise.
16993 * math/s_catanhf.c (__catanhf): Likewise.
16994 * math/s_catanhl.c (__catanhl): Likewise.
16995 * math/s_catanl.c (__catanl): Likewise.
16996 * math/libm-test.inc (catan_test): Add more tests.
16997 (catanh_test): Likewise.
16998 * sysdeps/i386/fpu/libm-test-ulps: Update.
16999 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17001 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17003 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17005 2013-04-30 Joseph Myers <joseph@codesourcery.com>
17008 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
17009 accurately for denominator in atan2.
17010 * math/s_catanf.c (__catanf): Likewise.
17011 * math/s_catanh.c (__catanh): Likewise.
17012 * math/s_catanhf.c (__catanhf): Likewise.
17013 * math/s_catanhl.c (__catanhl): Likewise.
17014 * math/s_catanl.c (__catanl): Likewise.
17015 * math/libm-test.inc (catan_test): Add more tests.
17016 (catanh_test): Likewise.
17017 * sysdeps/i386/fpu/libm-test-ulps: Update.
17018 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17020 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17022 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
17024 * benchtests/Makefile (bench): Remove slow benchmarks.
17025 * benchtests/atan-inputs: Add slow benchmark inputs.
17026 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
17027 (BENCH_FUNC): Accept variant offset.
17029 * benchtests/bench-skeleton.c (main): Run benchmark for each
17031 * benchtests/cos-inputs: Add slow benchmark inputs.
17032 * benchtests/exp-inputs: Likewise.
17033 * benchtests/pow-inputs: Likewise.
17034 * benchtests/sin-inputs: Likewise.
17035 * benchtests/slowatan-inputs: Remove.
17036 * benchtests/slowatan.c: Remove.
17037 * benchtests/slowcos-inputs: Remove.
17038 * benchtests/slowcos.c: Remove.
17039 * benchtests/slowexp-inputs: Remove.
17040 * benchtests/slowexp.c: Remove.
17041 * benchtests/slowpow-inputs: Remove.
17042 * benchtests/slowpow.c: Remove.
17043 * benchtests/slowsin-inputs: Remove.
17044 * benchtests/slowsin.c: Remove.
17045 * benchtests/slowtan-inputs: Remove.
17046 * benchtests/slowtan.c: Remove.
17047 * benchtests/tan-inputs: Add slow benchmark inputs.
17048 * scripts/bench.pl: Parse comments and directives.
17050 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
17052 ($(objpfx)bench-%.c): Remove *-ITER.
17053 * benchtests/bench-modf.c: Remove definition of ITER.
17054 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
17055 (main): Loop for DURATION seconds instead of fixed number of
17057 * scripts/bench.pl: Don't expect iterations in parameters.
17059 2013-04-29 Roland McGrath <roland@hack.frob.com>
17061 * io/fchdir.c (__fchdir): Renamed from fchdir.
17062 (fchdir): Define as weak alias.
17064 2013-04-29 Joseph Myers <joseph@codesourcery.com>
17066 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
17067 (ERRNO_EDOM): Likewise.
17068 (ERRNO_ERANGE): Likewise.
17069 (noErrnoTests): New variable.
17070 (init_max_error): Set errno to 0.
17071 (test_single_errno): New function.
17072 (test_errno): Likewise.
17073 (check_float_internal): Call test_errno. Set errno to 0.
17074 (check_complex): Refer to errno tests in comment.
17075 (check_int): Call test_errno. Set errno to 0.
17076 (check_long): Likewise.
17077 (check_bool): Likewise.
17078 (check_longlong): Likewise.
17079 (cos_test): Use ERRNO_* flags for errno tests instead of
17081 (expm1_test): Likewise.
17082 (fmod_test): Likewise.
17083 (ilogb_test): Likewise.
17084 (lgamma_test): Likewise.
17085 (pow_test): Likewise.
17086 (remainder_test): Likewise.
17087 (sin_test): Likewise.
17088 (tan_test): Likewise.
17089 (yn_test): Likewise.
17090 (initialize): Set errno to 0.
17091 (main): Print number of errno tests.
17092 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
17094 2013-04-29 Andreas Jaeger <aj@suse.de>
17097 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
17101 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
17102 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
17106 * stdlib/random.c (__initstate): Return NULL if
17110 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
17111 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
17114 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17116 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17118 2013-04-29 Joseph Myers <joseph@codesourcery.com>
17120 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
17121 of individual tests.
17122 (casin_test): Likewise.
17123 (casinh_test): Likewise.
17125 2013-04-27 Joseph Myers <joseph@codesourcery.com>
17128 * math/s_catan.c (__catan): Handle arguments with large real or
17129 imaginary part separately without squaring.
17130 * math/s_catanf.c (__catanf): Likewise.
17131 * math/s_catanh.c (__catanh): Likewise.
17132 * math/s_catanhf.c (__catanhf): Likewise.
17133 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
17135 (__catanhl): Handle arguments with large real or imaginary part
17136 separately without squaring.
17137 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
17139 (__catanl): Handle arguments with large real or imaginary part
17140 separately without squaring.
17141 * math/libm-test.inc (catan_test): Add more tests.
17142 (catanh_test): Likewise.
17143 * sysdeps/i386/fpu/libm-test-ulps: Update.
17144 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17146 2013-04-27 Andreas Jaeger <aj@suse.de>
17149 * stdlib/stdlib.h: Update guards for qecvt.
17150 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
17153 2013-04-27 Allan McRae <allan@archlinux.org>
17155 * sysdeps/i386/fpu/libm-test-ulps: Update.
17157 2013-04-26 Joseph Myers <joseph@codesourcery.com>
17160 * math/s_catan.c: Include <float.h>.
17161 (__catan): Ensure underflow exception occurs for underflowed
17163 * math/s_catanf.c: Include <float.h>.
17164 (__catanf): Ensure underflow exception occurs for underflowed
17166 * math/s_catanh.c: Include <float.h>.
17167 (__catanh): Ensure underflow exception occurs for underflowed
17169 * math/s_catanhf.c: Include <float.h>.
17170 (__catanhf): Ensure underflow exception occurs for underflowed
17172 * math/s_catanhl.c: Include <float.h>.
17173 (__catanhl): Ensure underflow exception occurs for underflowed
17175 * math/s_catanl.c: Include <float.h>.
17176 (__catanl): Ensure underflow exception occurs for underflowed
17178 * math/libm-test.inc (catan_test): Add more tests.
17179 (catanh_test): Likewise.
17182 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
17183 underflowed result.
17184 * math/s_ccoshf.c (__ccoshf): Likewise.
17185 * math/s_ccoshl.c (__ccoshl): Likewise.
17186 * math/s_csin.c (__csin): Likewise.
17187 * math/s_csinf.c (__csinf): Likewise.
17188 * math/s_csinh.c (__csinh): Likewise.
17189 * math/s_csinhf.c (__csinhf): Likewise.
17190 * math/s_csinhl.c (__csinhl): Likewise.
17191 * math/s_csinl.c (__csinl): Likewise.
17192 * math/libm-test.inc (ccos_test): Add more tests.
17193 (ccosh_test): Likewise.
17194 (csin_test): Likewise.
17195 (csinh_test): Likewise.
17197 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17199 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
17200 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
17201 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
17202 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
17203 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
17204 powerpc/power5+/fpu folders.
17205 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
17208 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
17210 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17212 2013-04-25 Joseph Myers <joseph@codesourcery.com>
17214 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
17215 additions to variable.
17216 [$(config-machine) = x86_64] (modules-names): Likewise.
17217 ($(objpfx)tst-audit3): Remove dependency.
17218 ($(objpfx)tst-audit3.out): Likewise.
17219 ($(objpfx)tst-audit4): Likewise.
17220 ($(objpfx)tst-audit4.out): Likewise.
17221 ($(objpfx)tst-audit5): Likewise.
17222 ($(objpfx)tst-audit5.out): Likewise.
17223 ($(objpfx)tst-audit6): Likewise.
17224 ($(objpfx)tst-audit6.out): Likewise.
17225 ($(objpfx)tst-audit7): Likewise.
17226 ($(objpfx)tst-audit7.out): Likewise.
17227 (tst-audit3-ENV): Remove variable.
17228 (tst-audit4-ENV): Likewise.
17229 (tst-audit5-ENV): Likewise.
17230 (tst-audit6-ENV): Likewise.
17231 (tst-audit7-ENV): Likewise.
17232 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
17233 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
17234 addition to variable.
17235 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
17236 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
17237 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
17238 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
17239 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
17240 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
17241 tst-audit3, tst-audit4 and tst-audit5.
17242 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
17243 tst-audit6 and tst-audit7.
17244 [$(subdir) = elf] (modules-names): Add audit modules for those
17246 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
17247 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
17248 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
17249 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
17250 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
17251 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
17252 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
17253 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
17254 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
17255 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
17256 [$(subdir) = elf] (tst-audit3-ENV): New variable.
17257 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
17258 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
17259 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
17260 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
17261 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
17263 [$(subdir) = elf && $(config-cflags-avx) = yes]
17264 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
17265 [$(subdir) = elf && $(config-cflags-avx) = yes]
17266 (CFLAGS-tst-auditmod4a.c): Likewise.
17267 [$(subdir) = elf && $(config-cflags-avx) = yes]
17268 (CFLAGS-tst-auditmod4b.c): Likewise.
17269 [$(subdir) = elf && $(config-cflags-avx) = yes]
17270 (CFLAGS-tst-auditmod6b.c): Likewise.
17271 [$(subdir) = elf && $(config-cflags-avx) = yes]
17272 (CFLAGS-tst-auditmod6c.c): Likewise.
17273 [$(subdir) = elf && $(config-cflags-avx) = yes]
17274 (CFLAGS-tst-auditmod7b.c): Likewise.
17275 * elf/tst-audit3.c: Move to ...
17276 * sysdeps/x86_64/tst-audit3.c: ... here.
17277 * elf/tst-audit4.c: Move to ...
17278 * sysdeps/x86_64/tst-audit4.c: ... here.
17279 * elf/tst-audit5.c: Move to ...
17280 * sysdeps/x86_64/tst-audit5.c: ... here.
17281 * elf/tst-audit6.c: Move to ...
17282 * sysdeps/x86_64/tst-audit6.c: ... here.
17283 * elf/tst-audit7.c: Move to ...
17284 * sysdeps/x86_64/tst-audit7.c: ... here.
17285 * elf/tst-auditmod3a.c: Move to ...
17286 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
17287 * elf/tst-auditmod3b.c: Move to ...
17288 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
17289 * elf/tst-auditmod4a.c: Move to ...
17290 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
17291 * elf/tst-auditmod4b.c: Move to ...
17292 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
17293 * elf/tst-auditmod5a.c: Move to ...
17294 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
17295 * elf/tst-auditmod5b.c: Move to ...
17296 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
17297 * elf/tst-auditmod6a.c: Move to ...
17298 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
17299 * elf/tst-auditmod6b.c: Move to ...
17300 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
17301 * elf/tst-auditmod6c.c: Move to ...
17302 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
17303 * elf/tst-auditmod7a.c: Move to ...
17304 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
17305 * elf/tst-auditmod7b.c: Move to ...
17306 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
17308 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
17311 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
17312 define unconditionally.
17313 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
17314 define unconditionally.
17315 (INT8_C, INT16_C, etc.): Likewise.
17317 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
17319 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
17320 __ehdr_start with hidden visibility.
17322 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
17324 2013-04-24 Carlos O'Donell <carlos@redhat.com>
17326 * math/libm-test.inc (cos_test): Use accurate hex constants.
17327 (sincost_test): Likewise.
17329 2013-04-24 Joseph Myers <joseph@codesourcery.com>
17331 * math/libm-test.inc (catan_test): Add more tests.
17332 (catanh_test): Likewise.
17334 * math/s_catanf.c (__catanf): Use suffixed floating-point
17336 * math/s_catanhf.c (__catanhf): Likewise.
17337 * math/s_catanhl.c (__catanhl): Likewise.
17338 * math/s_catanl.c (__catanl): Likewise.
17341 * math/s_catan.c (__catan): Calculate imaginary part of result
17342 with log1p not log unless computing log of number close to 0.
17343 * math/s_catanf.c (__catanf): Likewise.
17344 * math/s_catanl.c (__catanl): Likewise.
17345 * math/s_catanh.c (__catanh): Calculate real part of result with
17346 log1p not log unless computing log of number close to 0.
17347 * math/s_catanhf.c (__catanhf): Likewise.
17348 * math/s_catanhl.c (__catanhl): Likewise.
17349 * math/libm-test.inc (catan_test): Add more tests.
17350 (catanh_test): Likewise.
17351 * sysdeps/i386/fpu/libm-test-ulps: Update.
17352 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17354 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
17356 * benchtests/Makefile: Mention files in which fast and slow
17357 paths of math functions are implemented.
17359 2013-04-23 Roland McGrath <roland@hack.frob.com>
17361 * sysdeps/posix/timespec_get.c: New file.
17363 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17365 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
17367 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
17369 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
17370 powerpc/power5/fpu folders.
17371 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
17372 * benchtests/Makefile: Add modf testcase.
17373 * benchtests/bench-modf.c: New file: Benchmark test for mo
17375 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
17378 * time/Makefile (tests): Add tst-strptime-whitespace.
17379 * time/strptime_l.c (get_number): Use ISSPACE.
17380 (__strptime_internal): Likewise.
17381 * time/tst-strptime-whitespace.c: New test case.
17383 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
17385 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
17387 (_nss_files_init): Set it here.
17389 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
17391 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
17392 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
17395 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
17397 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
17399 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
17401 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
17404 2013-04-21 David S. Miller <davem@davemloft.net>
17406 * po/ru.po: Update Russion translation from translation project.
17408 2013-04-17 Adam Conrad <adconrad@0c3.net>
17410 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
17413 2013-04-17 Carlos O'Donell <carlos@redhat.com>
17415 * configure.in: Remove i386 configure warning. Remove i386 case.
17416 * configure: Regenerate.
17417 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
17418 Add example to error message.
17419 * sysdeps/i386/configure: Regenerate.
17421 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
17423 * benchtests/Makefile (bench): Add cos, tan, slowcos and
17425 * benchtests/cos-inputs: New file.
17426 * benchtests/slowcos-inputs: New file.
17427 * benchtests/slowcos.c: New file.
17428 * benchtests/slowtan-inputs: New file.
17429 * benchtests/slowtan.c: New file.
17430 * benchtests/tan-inputs: New file.
17432 2013-04-16 Roland McGrath <roland@hack.frob.com>
17434 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
17437 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17439 * benchtests/Makefile: Include cppflags-iterator.mk to add
17440 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
17442 * Makefile.in (bench-clean): New target.
17443 * benchtests/Makefile (bench-clean): Likewise.
17445 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
17447 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
17449 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
17451 * stdio-common/tstdiomisc.c: Fix coding-style violation.
17453 2013-04-15 Andreas Schwab <schwab@suse.de>
17455 * nscd/grpcache.c (cache_addgr): Properly check for short write.
17456 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17457 * nscd/pwdcache.c (cache_addpw): Likewise.
17458 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
17461 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17463 * benchtests/Makefile (bench): Write all output to
17464 bench-out.tmp together.
17466 2013-04-15 Andreas Schwab <schwab@suse.de>
17468 * nscd/nscd.c (main): Don't fork again after closing files.
17470 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17472 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
17474 * benchtests/Rules (bench-deps): Collect dependencies into a
17475 single variable. Add Makefile to dependencies.
17476 ($(objpfx)bench-%.c): Depend on bench-deps.
17478 2013-04-12 Roland McGrath <roland@hack.frob.com>
17479 Xavier Roche <roche+kml2@exalead.com>
17482 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
17483 just that it's a file descriptor.
17484 * manual/llio.texi (Synchronizing AIO Operations): Update description
17485 for EBADF error from aio_fsync.
17487 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
17489 * Rules (bench): Move target definition...
17490 * benchtests/Makefile: ... here.
17492 2013-04-11 Carlos O'Donell <carlos@redhat.com>
17494 * math/libm-test.inc (cos_test): Fix PI/2 test.
17495 (sincos_test): Likewise.
17496 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
17497 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
17499 2013-04-11 Andreas Schwab <schwab@suse.de>
17502 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
17503 accept exponent character only when digits were seen.
17504 * stdio-common/Makefile (tests): Add bug26.
17505 * stdio-common/bug26.c: New file.
17508 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
17511 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17513 * Makeconfig (rtld-prefix): Define built linker prefix.
17514 * Rules (run-bench): Use it.
17515 * math/Makefile (run-regen-ulps): Likewise.
17517 * Rules (bench): Remove eval.
17519 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17520 Roland McGrath <roland@hack.frob.com>
17521 Ondrej Bilka <neleai@seznam.cz>
17524 * time/getdate.c: Include ctype.h and alloca.h.
17525 (__getdate_r): Trim leading and trailing spaces of input.
17526 * time/tst-getdate.c (tests): Add tests with leading and
17529 2013-04-08 Roland McGrath <roland@hack.frob.com>
17532 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
17533 when computing value.
17535 2013-04-06 Carlos O'Donell <carlos@redhat.com>
17537 * math/README.libm-test (How can I generate "libm-test-ulps"?):
17538 Use testrun.sh to run libm tests.
17541 * elf/dl-open.c (dl_open_worker): memset all of seen array.
17543 2013-04-06 Marko Myllynen <myllynen@redhat.com>
17546 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
17548 2013-04-06 Carlos O'Donell <carlos@redhat.com>
17550 * Makefile.in (regen-ulps): New target.
17551 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
17552 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
17553 [ifneq (no,$(PERL)] (regen-ulps): New target.
17554 [ifeq (no,$(PERL)] (regen-ulps): New target.
17555 * math/libm-test.inc (ulps_file_name): Define.
17556 (output_dir): New variable.
17557 (options): Add "output-dir" option.
17558 (parse_opt): Handle 'o' case.
17559 (main): If output_dir is non-NULL use it as a prefix
17561 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
17563 2013-04-06 Carlos O'Donell <carlos@redhat.com>
17565 [BZ #10060, #10062]
17566 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
17567 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
17568 fail configure if __sync_val_compare_and_swap is not inlined.
17569 * sysdeps/i386/configure: Regenerate.
17570 * configure.in: Build for i686 when configured for i386.
17571 * configure: Regenerate.
17572 * README: Remove i386 reference.
17574 2013-04-06 Carlos O'Donell <carlos@redhat.com>
17576 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
17577 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17579 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
17581 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
17582 (lmsnanval): New variables.
17583 (F): Add conversion tests.
17584 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
17585 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
17587 * stdio-common/tstdiomisc.c (F): Properly collect individual
17590 [BZ #14686, #15336]
17591 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
17592 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
17593 Instead, use input NaN values or generate a qNaN by arithmetic
17594 operation. Also fix bugs to comply with the standard.
17595 * math/libm-test.inc (remainder_test): Add more tests.
17597 [BZ #15335, #15342]
17598 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
17599 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
17600 input NaN values or generate a qNaN by arithmetic operation.
17602 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
17605 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
17608 2013-04-03 Joseph Myers <joseph@codesourcery.com>
17611 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
17612 underflowed result.
17613 * math/s_cexpf.c (__cexpf): Likewise.
17614 * math/s_cexpl.c (__cexpl): Likewise.
17615 * math/libm-test.inc (cexp_test): Add more tests.
17617 2013-04-03 Andreas Schwab <schwab@suse.de>
17620 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
17621 order arrays from heap if bigger than alloca cutoff.
17623 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
17625 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
17626 (SNAN_TESTS_double): Refer to GCC PR56831.
17627 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
17630 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
17632 * Rules (bench): Move bench.out after the run is complete.
17634 * Rules (bench): Echo currently running benchmark.
17636 * benchtests/Makefile (bench): Add atan and slowatan.
17637 * benchtests/atan-inputs: New file.
17638 * benchtests/slowatan-inputs: New file.
17639 * benchtests/slowatan.c: New file.
17641 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
17642 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
17646 * sysdeps/unix/sysv/linux/kernel-features.h
17647 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
17648 __ASSUME_XFS_RESTRICTED_CHOWN.
17649 * sysdeps/unix/sysv/linux/pathconf.c
17650 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
17651 Save and restore errno.
17653 2013-04-02 Joseph Myers <joseph@codesourcery.com>
17656 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
17657 arguments using __kernel_casinh.
17658 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
17659 arguments using __kernel_casinhf.
17660 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
17661 arguments using __kernel_casinhl.
17662 * math/libm-test.inc (cacosh_test): Add more tests.
17663 * sysdeps/i386/fpu/libm-test-ulps: Update.
17664 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17666 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17668 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
17669 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
17671 * bench/Makefile (bench): Add sin and slowsin.
17672 * benchtests/sin-inputs: New file.
17673 * benchtests/slowsin-inputs: New file.
17674 * benchtests/slowsin.c: New file.
17676 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
17677 (bench): Add slowexp and slowpow.
17678 (exp-ITER): Increase iterations.
17679 (pow-ITER): Likewise.
17680 * benchtests/exp-inputs: Change input.
17681 * benchtests/pow-inputs: Likewise.
17682 * benchtests/slowexp-inputs: New file.
17683 * benchtests/slowexp.c: New file.
17684 * benchtests/slowpow-inputs: New file.
17685 * benchtests/slowpow.c: New file.
17687 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17689 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
17691 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
17692 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
17693 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
17694 * benchtests/Makefile: Add rint benchtest.
17695 * benchtests/rint-inputs: Input for rint benchtest.
17697 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
17699 * Versions.def (libm): Add GLIBC_2.18.
17700 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
17701 hidden libm prototypes.
17702 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
17703 * math/Makefile (libm-calls): Add s_issignaling.
17704 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
17705 __issignalingf, __issignalingl. Adjust all libm.abilist files.
17706 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
17708 * math/math.h [__USE_GNU] (issignaling): New macro.
17709 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
17710 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
17711 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
17712 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
17713 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
17714 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
17715 * manual/arith.texi (issignaling): New section.
17716 * manual/libm-err-tab.pl (@all_functions): Update comment.
17717 * math/gen-libm-test.pl (parse_args): Apply special handling for
17719 * math/libm-test.inc (print_float, issignaling_test): New
17721 (check_float_internal): Add issignaling checks.
17722 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
17723 default definition.
17724 * sysdeps/powerpc/math-tests.h: New file.
17725 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
17727 * math/test-snan.c (TEST_FUNC): Likewise.
17729 2013-03-30 David S. Miller <davem@davemloft.net>
17731 * po/de.po: Update from translation team.
17733 2013-03-30 Joseph Myers <joseph@codesourcery.com>
17736 * math/k_casinh.c (__kernel_casinh): Handle arguments with
17737 imaginary part less than 1.0 and real part less than 0.5
17739 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17740 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17741 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
17742 (cacos_test): Add more tests.
17743 (casin_test): Likewise.
17744 (casinh_test): Likewise.
17745 * sysdeps/i386/fpu/libm-test-ulps: Update.
17746 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17748 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17750 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
17751 ONE with its value.
17753 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
17754 (__pow_mp): Replace ONE and MONE with their values.
17755 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17756 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
17757 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
17758 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
17759 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17760 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
17762 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
17764 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
17765 (__pow_mp): Replace ZERO and MZERO with their values.
17766 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
17767 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17768 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
17769 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
17770 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17771 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
17774 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
17776 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
17778 2013-03-28 Roland McGrath <roland@hack.frob.com>
17780 * include/stdlib.h [!SHARED] (__call_tls_dtors):
17781 Declare with __attribute__ ((weak)).
17782 * stdlib/exit.c (__libc_atexit) [!SHARED]:
17783 Call __call_tls_dtors only if it's not NULL.
17785 2013-03-28 Roland McGrath <roland@hack.frob.com>
17787 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
17788 didn't do it already, then set _dl_phdr and _dl_phnum based on the
17789 magic __ehdr_start linker symbol if it's defined.
17790 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
17791 them up here if it was already done.
17793 * elf/dl-support.c (_dl_phdr): Make pointer to const.
17794 (_dl_aux_init): Use const in cast when setting it.
17795 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
17796 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
17797 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
17799 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
17801 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
17802 * csu/libc-tls.c: Nor here.
17803 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
17805 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
17806 (__libc_message): Never call vsyslog.
17808 2013-03-28 Alan Modra <amodra@gmail.com>
17810 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
17812 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
17815 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17818 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
17820 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17822 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17825 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
17826 Don't add gid passed as argument.
17828 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
17830 2013-03-27 Joseph Myers <joseph@codesourcery.com>
17833 * math/k_casinh.c (__kernel_casinh): Handle arguments with
17834 imaginary part between 1.0 and 1.5 and real part less than 0.5
17836 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17837 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17838 * math/libm-test.inc (cacos_test): Add more tests.
17839 (casin_test): Likewise.
17840 (casinh_test): Likewise.
17841 * sysdeps/i386/fpu/libm-test-ulps: Update.
17842 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17844 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17846 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
17849 (denorm): Likewise.
17850 (__dbl_mp): Likewise.
17851 (add_magnitudes): Likewise.
17852 (sub_magnitudes): Likewise.
17860 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
17862 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
17863 (__dubcos): Likewise.
17864 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
17865 (__ieee754_acos): Likewise.
17866 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
17867 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
17868 (__exp1): Likewise.
17869 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17870 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
17872 (my_log2): Likewise.
17873 (checkint): Likewise.
17874 * sysdeps/ieee754/dbl-64/e_remainder.c
17875 (__ieee754_remainder): Likewise.
17876 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17877 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
17878 (bsloww): Likewise.
17879 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
17881 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
17882 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
17883 MANTISSA_STORE_T to store computations on mantissa. Use
17884 macros for rounding and division.
17885 (denorm): Likewise.
17886 (__dbl_mp): Likewise.
17887 (add_magnitudes): Likewise.
17888 (sub_magnitudes): Likewise.
17891 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
17892 powers of two in terms of TWOPOW macro.
17893 (mp_no): Make type of mantissa as MANTISSA_T.
17894 [!RADIXI]: Define RADIXI.
17895 [!TWO52]: Define TWO52.
17896 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
17898 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17900 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
17901 llroundl symbol when building for PPC32.
17903 2013-03-24 Mark H Weaver <mhw@netris.org>
17905 * manual/arith.texi (Normalization Functions): Fix prototypes for
17906 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
17908 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17911 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
17912 high value to check if expl overflow.
17913 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
17914 to check for underflow and overflow.
17915 * math/libm-test.inc: Add exp test.
17917 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
17920 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
17923 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17925 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
17928 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
17930 * math/gen-libm-test.pl (parse_args, special_functions): Properly
17931 wrap blocks consisting of several statements.
17933 * sysdeps/generic/math-tests.h: New file.
17934 * sysdeps/i386/fpu/math-tests.h: Likewise.
17935 * math/test-snan.c: Include it.
17936 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
17938 2013-03-21 Joseph Myers <joseph@codesourcery.com>
17941 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
17942 (__ieee754_j0l): Do not improve calculations using cos of twice
17943 input for inputs above LDBL_MAX / 2.0L.
17944 (__ieee754_y0l): Likewise.
17945 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
17946 (__ieee754_j1l): Do not improve calculations using cos of twice
17947 input for inputs above LDBL_MAX / 2.0L.
17948 (__ieee754_y1l): Likewise.
17949 * math/libm-test.inc (j0_test): Add another test.
17950 (j1_test): Likewise.
17951 (y0_test): Likewise.
17952 (y1_test): Likewise.
17953 * sysdeps/i386/fpu/libm-test-ulps: Update.
17955 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17957 * Rules ($(objpfx)bench-%.c): Include code from a C source
17960 2013-03-21 Joseph Myers <joseph@codesourcery.com>
17963 * math/k_casinh.c (__kernel_casinh): Handle arguments with
17964 imaginary part 1.0 and real part less than 0.5 specially.
17965 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17966 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17967 * math/libm-test.inc (cacos_test): Add more tests.
17968 (casin_test): Likewise.
17969 (casinh_test): Likewise.
17970 * sysdeps/i386/fpu/libm-test-ulps: Update.
17971 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17973 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17975 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
17976 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
17978 2013-03-20 Joseph Myers <joseph@codesourcery.com>
17980 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
17981 * config.make.in (config-cflags-sse4): Remove variable.
17982 (config-cflags-avx): Likewise.
17983 (config-cflags-sse2avx): Likewise.
17984 (config-cflags-novzeroupper): Likewise.
17985 (config-asflags-i686): Likewise.
17986 (have-mfma4): Likewise.
17987 (have-as-vis3): Likewise.
17989 * configure.in (MIG): Do not AC_SUBST.
17990 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
17991 (libc_cv_cc_sse4): Do not AC_SUBST.
17992 (libc_cv_cc_avx): Likewise.
17993 (libc_cv_cc_sse2avx): Likewise.
17994 (libc_cv_cc_novzeroupper): Likewise.
17995 (libc_cv_cc_fma4): Likewise.
17996 (libc_cv_as_i686): Likewise.
17997 (libc_cv_sparc_as_vis3): Likewise.
17998 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
18000 (config-asflags-i686): Likewise.
18001 (config-cflags-avx): Likewise.
18002 (config-cflags-sse2avx): Likewise.
18003 (have-mfma4): Likewise.
18004 (config-cflags-novzeroupper): Likewise.
18005 * sysdeps/mach/configure.in (MIG): Likewise.
18006 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
18007 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
18009 (config-cflags-avx): Likewise.
18010 (config-cflags-sse2avx): Likewise.
18011 (have-mfma4): Likewise.
18012 (config-cflags-novzeroupper): Likewise.
18013 * configure: Regenerated.
18014 * sysdeps/i386/configure: Likewise.
18015 * sysdeps/mach/configure: Likewise.
18016 * sysdeps/sparc/configure: Likewise.
18017 * sysdeps/x86_64/configure: Likewise.
18019 2013-03-20 Roland McGrath <roland@hack.frob.com>
18022 * locale/programs/localedef.c (options): Put N_ translation marker
18023 on argument names, not just descriptions.
18025 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18027 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
18029 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
18032 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
18034 2013-03-19 Roland McGrath <roland@hack.frob.com>
18036 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
18037 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
18038 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
18039 [!BEFORE_ABORT] (before_abort): New function.
18040 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
18041 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
18042 (writev_for_fatal): New function.
18043 (WRITEV_FOR_FATAL): New macro; call that.
18044 (backtrace_and_maps): New function.
18045 (BEFORE_ABORT): New macro; call that.
18046 (struct str_list): Type removed.
18047 (__libc_message, __libc_fatal): Functions removed.
18048 Include <sysdeps/posix/libc_fatal.c> instead.
18050 2013-03-19 Joseph Myers <joseph@codesourcery.com>
18052 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
18054 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
18057 2013-03-19 Andreas Schwab <schwab@suse.de>
18059 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
18060 * sysdeps/gnu/configure: Regenerate.
18062 * configure.in: Substitute libc_cv_rtlddir.
18063 * configure: Regenerate.
18064 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
18065 * Makeconfig (rtlddir, inst_rtlddir): New variables.
18066 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
18067 * elf/Makefile (install-others, CFLAGS-interp.c)
18068 (ldso_install, common-ldd-rewrite): Likewise.
18069 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
18070 $(inst_slibdir)/$(rtld-installed-name).
18071 * scripts/rellns-sh: Add -p option.
18072 * Makerules (make-shlib-link): Use rellns-sh to get relative name
18075 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
18077 * manual/nptl.texi: Renamed to ...
18078 * manual/threads.texi: ... this.
18079 * manual/Makefile (chapters): Update.
18081 2013-03-18 Roland McGrath <roland@hack.frob.com>
18084 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
18085 on argument names, not just descriptions.
18086 * malloc/memusagestat.c (options): Likewise.
18087 * nss/getent.c (options): Likewise.
18089 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
18092 * iconv/iconv_prog.c (options): Put N_ translation marker
18093 on argument names, not just descriptions.
18094 * iconv/iconvconfig.c (options): Likewise.
18096 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
18098 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
18099 implementation which is faster on all x86_64 architectures.
18100 Tested on AMD, Intel Nehalem, SNB, IVB.
18101 * sysdeps/x86_64/strnlen.S: Likewise.
18103 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
18104 Remove all multiarch strlen and strnlen versions.
18105 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
18106 Remove strlen and strnlen related parts.
18108 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
18109 Inline strlen part.
18110 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
18112 * sysdeps/x86_64/multiarch/strlen.S: Remove.
18113 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
18114 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
18115 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
18116 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
18117 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
18119 2013-03-17 Carlos O'Donell <carlos@redhat.com>
18121 * manual/memory.texi (Malloc Tunable Parameters):
18122 Sort parameters alphabetically. Add comments for missing entries.
18124 2013-03-17 David S. Miller <davem@davemloft.net>
18126 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18128 2013-03-16 Joseph Myers <joseph@codesourcery.com>
18131 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
18132 for arguments at most half maximum finite value.
18133 * math/libm-test.inc (j0_test): Add more tests.
18134 (j1_test): Likewise.
18135 (y0_test): Likewise.
18136 (y1_test): Likewise.
18137 * sysdeps/i386/fpu/libm-test-ulps: Update.
18138 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18141 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
18142 1 / x and functions P and Q for arguments above 0x1p256L.
18143 (__ieee754_y0l): Likewise.
18144 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
18145 (__ieee754_y1l): Likewise.
18146 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
18147 (j1_test): Likewise.
18148 (y0_test): Likewise.
18149 (y1_test): Likewise.
18151 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
18153 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
18156 2013-03-15 Roland McGrath <roland@hack.frob.com>
18158 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
18159 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
18160 zero since it's initialized to EXEC_PAGESIZE.
18162 * sysdeps/unix/sysv/linux/ldsodefs.h
18163 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
18164 * sysdeps/generic/ldsodefs.h: ... here.
18166 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
18168 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
18170 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
18172 * math/test-snan.c: Renamed from
18173 sysdeps/powerpc/fpu/test-powerpc-snan.c.
18174 * math/Makefile (tests): Add test-snan.
18175 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
18178 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
18179 SUFFIX. Initialize qNaN_var with __builtin_nan family of
18181 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
18182 __builtin_nan family of functions.
18183 * math/libm-test.inc (initialize): Initialize qnan_value with
18184 __builtin_nan family of functions.
18185 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
18187 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
18189 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
18190 storage class. Initialize qNaN_var and sNaN_var with
18191 __builtin_nan and __builtin_nans families of functions,
18194 * math/libm-test.inc (acosh_test): Also test with qNaN input.
18195 (sqrt_test): Remove duplicate test with qNaN input.
18196 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
18197 (round_test, signbit_test, significand_test): Note missing +/-Inf
18198 as well as qNaN tests.
18200 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
18201 qNaN_var. Fix a few strings, too.
18202 * math/libm-test.inc (nan_value): Rename to qnan_value.
18203 * math/gen-libm-test.pl (%beautify): Adjust to that.
18204 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
18205 * math/test-misc.c (main): Likewise.
18206 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
18207 to __qnan_bytes, and __qnan_union, respectively.
18208 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
18210 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
18211 and lqnanval, respectively.
18212 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
18213 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
18214 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
18215 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
18217 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
18218 * math/test-misc.c (main) [__x86_64__]: Enable test for long
18221 * math/test-misc.c (main): Fix copy'n'pastos.
18222 * misc/tst-efgcvt.c (special): Likewise.
18224 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
18225 Remove declarations.
18227 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18229 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
18230 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
18231 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
18232 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
18234 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18236 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
18237 macro to return vdso values correctly in IFUNC implementations.
18238 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
18239 Optimization by using IFUNC.
18241 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18242 Richard Henderson <rth@redhat.com>
18243 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18245 * Makefile.in (bench): New target.
18246 * NEWS: Mention the benchmark framework.
18247 * Rules (bench): Likewise.
18248 (binaries-bench): Generate binaries for functions to
18250 * benchtests/Makefile: New makefile for benchmark tests.
18251 * benchtests/bench-skeleton.c: New skeleton file for benchmark
18253 * benchtests/exp-inputs: New input file for EXP function.
18254 * benchtests/pow-inputs: New input file for POW function.
18255 * scripts/bench.pl: New script to generate source files for
18256 benchmark programs.
18258 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18260 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
18261 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
18262 computations on mantissa. Use macros for rounding and
18264 (denorm): Likewise.
18265 (__dbl_mp): Likewise.
18266 (add_magnitudes): Likewise.
18267 (sub_magnitudes): Likewise.
18270 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
18271 powers of two in terms of TWOPOW macro.
18272 (mp_no): Make type of mantissa as MANTISSA_T.
18273 [!RADIXI]: Define RADIXI.
18274 [!TWO52]: Define TWO52.
18275 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
18277 * manual/nptl.texi (cindex): Modify threads to pthreads.
18279 2013-03-15 Joseph Myers <joseph@codesourcery.com>
18281 * sysdeps/x86_64/preconfigure: Regenerated.
18283 2013-03-14 Joseph Myers <joseph@codesourcery.com>
18286 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
18288 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
18289 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
18291 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
18292 * math/libm-test.inc (j0_test): Do not allow one spurious
18293 underflow exception.
18294 (y1_test): Likewise.
18296 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18298 * manual/Makefile (chapters): Add nptl.
18299 * manual/debug.texi (Debugging Support): Add link to Threads
18301 * manual/nptl.texi: New file.
18303 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
18305 2013-03-14 Petr Baudis <pasky@ucw.cz>
18307 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
18308 for non-NULL pointer before the memory validity test. Pointed
18309 out by Holger Brunck <holger.brunck@keymile.com>.
18311 2013-03-13 Andreas Schwab <schwab@suse.de>
18313 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
18316 2013-03-13 Joseph Myers <joseph@codesourcery.com>
18318 * timezone/zic.c: Update from tzcode 2013b.
18320 2013-03-12 Carlos O'Donell <carlos@redhat.com>
18322 * manual/install.texi (Configuring and compiling):
18323 Mention i686 and i586.
18324 * INSTALL: Regenerate.
18326 2013-03-12 Roland McGrath <roland@hack.frob.com>
18328 * sysdeps/init_array/elf-init.c: New file.
18330 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
18331 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
18333 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
18334 __gmon_start__ as global, but as static with a .preinit_array pointer.
18335 * sysdeps/init_array/gmon-start.c: New file. Use that.
18336 * sysdeps/init_array/crti.S: New file, empty except for comments.
18337 * sysdeps/init_array/crtn.S: Likewise.
18339 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
18341 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
18343 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18344 Remove Prefer_SSE_for_memop.
18345 * sysdeps/x86_64/multiarch/init-arch.h: Remove
18346 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
18347 HAS_PREFER_SSE_FOR_MEMOP.
18348 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
18350 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18351 Remove bzero, memset ifunc support.
18352 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
18353 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
18354 * sysdeps/x86_64/multiarch/memset.S: Likewise.
18355 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18357 2013-03-11 Andreas Schwab <schwab@suse.de>
18360 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
18362 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
18363 (GLIBC_2.16): Remove pthread_atfork.
18365 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
18367 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
18368 (ptestcases.h): Likewise.
18370 2013-03-08 Roland McGrath <roland@hack.frob.com>
18372 * Makeconfig ($(common-objpfx)config.status): Depend on
18373 sysdeps/*/preconfigure{,.in} too.
18375 2013-03-08 Joseph Myers <joseph@codesourcery.com>
18377 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
18378 (__free_hook): Use void * instead of __malloc_ptr_t.
18379 (__malloc_hook): Likewise.
18380 (__realloc_hook): Likewise.
18381 (__memalign_hook): Likewise.
18382 (__after_morecore_hook): Likewise.
18383 * malloc/arena.c (save_malloc_hook): Likewise.
18384 (save_free_hook): Likewise.
18385 * malloc/hooks.c (malloc_hook_ini): Likewise.
18386 (realloc_hook_ini): Likewise.
18387 (memalign_hook_ini): Likewise.
18388 * malloc/malloc.c (malloc_hook_ini): Likewise.
18389 (realloc_hook_ini): Likewise.
18390 (memalign_hook_ini): Likewise.
18391 (__free_hook): Likewise.
18392 (__malloc_hook): Likewise.
18393 (__realloc_hook): Likewise.
18394 (__memalign_hook): Likewise.
18395 (__libc_malloc): Likewise.
18396 (__libc_free): Likewise.
18397 (__libc_realloc): Likewise.
18398 (__libc_memalign): Likewise.
18399 (__libc_valloc): Likewise.
18400 (__libc_pvalloc): Likewise.
18401 (__libc_calloc): Likewise.
18402 (__posix_memalign): Likewise.
18403 * malloc/morecore.c (__sbrk): Likewise.
18404 (__default_morecore): Likewise.
18406 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
18408 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
18409 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
18410 __malloc_ptrdiff_t.
18412 * malloc/malloc.h (__malloc_size_t): Remove macro.
18413 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
18415 (old_memalign_hook): Likewise.
18416 (old_realloc_hook): Likewise.
18417 (struct hdr): Likewise.
18419 (mallochook): Likewise.
18420 (memalignhook): Likewise.
18421 (reallochook): Likewise.
18422 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
18423 (tr_old_realloc_hook): Likewise.
18424 (tr_old_memalign_hook): Likewise.
18425 (tr_mallochook): Likewise.
18426 (tr_reallochook): Likewise.
18427 (tr_memalignhook): Likewise.
18429 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18431 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
18432 default_ldbl_pack and using as default implementation.
18433 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
18435 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
18436 redundant definition.
18437 (ldbl_insert_mantissa): Likewise.
18438 (ldbl_canonicalize): Likewise.
18439 (ldbl_nearbyint): Likewise.
18440 (ldbl_pack): Rename to ldbl_pack_ppc.
18441 (ldbl_unpack): Rename to ldbl_unpack_ppc.
18442 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
18443 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
18445 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
18447 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
18448 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
18449 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
18450 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
18451 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
18452 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
18453 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
18454 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
18456 2013-03-07 Andreas Jaeger <aj@suse.de>
18458 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18461 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
18463 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
18464 Include mpa.h and declare __MPEXP.
18465 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
18466 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
18467 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
18468 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
18469 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
18470 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
18471 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
18473 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
18474 (__slowpow): Use long double EXPL and LOGL functions to
18476 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
18477 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
18478 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
18479 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
18480 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
18481 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
18483 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
18484 intermediate variable to calculate exponent.
18486 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
18490 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
18491 [!NO__SQR]: Define __sqr.
18492 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
18493 and NO__SQR. Remove all code except __mul and __sqr. Include
18494 sysdeps/ieee754/dbl-64/mpa.c.
18495 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18498 * posix/Makefile (tests): Add tst-pathconf.
18499 * posix/tst-pathconf.c: New test case.
18500 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
18502 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
18504 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
18506 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
18508 2013-03-06 Andreas Jaeger <aj@suse.de>
18510 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
18511 definition via __MAP_ANONYMOUS.
18513 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
18514 it's not part of Linux headers.
18516 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
18517 (MAP_HUGE_MASK): Define.
18519 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
18521 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18522 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
18524 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18525 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
18527 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18528 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
18530 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18532 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
18533 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
18534 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
18535 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
18536 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
18537 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
18539 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
18542 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18543 Handle f2fs and efivarfs.
18545 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
18548 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
18549 (EFIVARFS_MAGIC): Add.
18550 (F2FS_LINK_MAX): Add.
18552 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
18554 * stdio-common/vfprintf.c: Replace __builtin_expect with
18557 2013-03-06 Joseph Myers <joseph@codesourcery.com>
18560 * sysdeps/generic/bp-sym.h: Remove file.
18561 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
18562 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
18563 <bp-sym.h> and <bp-asm.h>.
18564 (__longjmp): Don't use BP_SYM.
18565 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
18567 (memcpy): Don't use BP_SYM.
18568 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
18569 <bp-sym.h> and <bp-asm.h>.
18570 (memcpy): Don't use BP_SYM.
18571 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
18573 (memcpy): Don't use BP_SYM.
18574 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
18576 (memset): Don't use BP_SYM.
18577 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18578 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18579 (__bzero): Don't use BP_SYM.
18580 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18581 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18582 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
18583 <bp-sym.h> and <bp-asm.h>.
18584 (memcmp): Don't use BP_SYM. Remove comment about bounded
18586 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
18587 <bp-sym.h> and <bp-asm.h>.
18588 (memcpy): Don't use BP_SYM.
18589 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
18590 <bp-sym.h> and <bp-asm.h>.
18591 (memset): Don't use BP_SYM.
18592 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18593 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18594 (__bzero): Don't use BP_SYM.
18595 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18596 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18597 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
18598 <bp-sym.h> and <bp-asm.h>.
18599 (strncmp): Don't use BP_SYM. Remove comment about bounded
18601 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
18602 <bp-sym.h> and <bp-asm.h>.
18603 (memcpy): Don't use BP_SYM.
18604 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
18605 <bp-sym.h> and <bp-asm.h>.
18606 (memset): Don't use BP_SYM.
18607 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18608 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18609 (__bzero): Don't use BP_SYM.
18610 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18611 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18612 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
18613 <bp-sym.h> and <bp-asm.h>.
18614 (__memchr): Don't use BP_SYM.
18615 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
18616 <bp-sym.h> and <bp-asm.h>.
18617 (memcmp): Don't use BP_SYM. Remove comment about bounded
18619 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
18620 <bp-sym.h> and <bp-asm.h>.
18621 (memcpy): Don't use BP_SYM.
18622 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
18623 <bp-sym.h> and <bp-asm.h>.
18624 (__mempcpy): Don't use BP_SYM.
18625 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
18626 <bp-sym.h> and <bp-asm.h>.
18627 (__memrchr): Don't use BP_SYM.
18628 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
18629 <bp-sym.h> and <bp-asm.h>.
18630 (memset): Don't use BP_SYM.
18631 (__bzero): Likewise.
18632 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
18633 <bp-sym.h> and <bp-asm.h>.
18634 (__rawmemchr): Don't use BP_SYM.
18635 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
18636 <bp-sym.h> and <bp-asm.h>.
18637 (__STRCMP): Don't use BP_SYM.
18638 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
18639 <bp-sym.h> and <bp-asm.h>.
18640 (strchr): Don't use BP_SYM.
18641 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
18642 <bp-sym.h> and <bp-asm.h>.
18643 (__strchrnul): Don't use BP_SYM.
18644 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
18645 <bp-sym.h> and <bp-asm.h>.
18646 (strlen): Don't use BP_SYM.
18647 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
18648 <bp-sym.h> and <bp-asm.h>.
18649 (strncmp): Don't use BP_SYM. Remove comment about bounded
18651 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
18652 <bp-sym.h> and <bp-asm.h>.
18653 (__strnlen): Don't use BP_SYM.
18654 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
18655 <bp-sym.h> and <bp-asm.h>.
18656 (__GI__setjmp): Don't use BP_SYM.
18657 (_setjmp): Likewise.
18658 (__sigsetjmp): Likewise.
18659 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
18660 (L(start_addresses)): Don't use BP_SYM.
18661 (_start): Likewise.
18662 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
18664 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
18665 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
18666 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18667 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18668 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
18670 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
18671 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
18672 about bounded pointers.
18673 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18674 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18675 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
18677 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
18678 about bounded pointers. Remove GKM FIXME comments.
18679 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18680 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
18682 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
18683 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
18684 Remove GKM FIXME comments.
18685 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18686 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18687 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
18689 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
18690 about bounded pointers. Remove GKM FIXME comment.
18691 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
18693 (strncmp): Don't use BP_SYM. Remove comment about bounded
18695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
18696 <bp-sym.h> and <bp-asm.h>.
18697 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
18698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
18699 <bp-sym.h> and <bp-asm.h>.
18700 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
18703 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
18705 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
18708 2013-03-05 David S. Miller <davem@davemloft.net>
18710 * po/es.po: Update from translation team.
18712 2013-03-05 Andreas Jaeger <aj@suse.de>
18714 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
18715 <bits/mman-linux.h>.
18716 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18718 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
18719 <bits/mman-linux.h> to end of file.
18720 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18722 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
18723 <bits/mman-linux.h> to end of file.
18724 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18726 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
18727 <bits/mman-linux.h> to end of file.
18729 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
18730 (MCL_CURRENT, MCL_FUTURE): Define here.
18732 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18735 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
18737 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
18739 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18741 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
18742 fourth parameter needed for rt_sigprocmask syscall.
18743 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
18744 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
18745 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
18746 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
18747 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
18748 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
18750 2013-03-04 Joseph Myers <joseph@codesourcery.com>
18753 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
18754 comment about bounded pointers.
18755 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
18756 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
18758 2013-03-04 Andreas Jaeger <aj@suse.de>
18760 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
18761 common definitions.
18763 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
18764 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
18765 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
18766 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
18767 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
18768 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
18770 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18773 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
18774 __ieee754_sqrl instead of __sqrl.
18776 2013-03-01 Joseph Myers <joseph@codesourcery.com>
18778 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
18779 * sysdeps/powerpc/fpu_control.h: ... here.
18780 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
18781 * sysdeps/powerpc/bits/fenvinline.h: ... here.
18782 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
18783 * sysdeps/powerpc/bits/mathinline.h: ... here.
18785 2013-03-01 Roland McGrath <roland@hack.frob.com>
18787 * elf/dl-hwcaps.c (_dl_important_hwcaps):
18788 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
18789 to just [NEED_DL_SYSINFO_DSO].
18790 * elf/dl-support.c: Likewise.
18791 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
18792 * elf/rtld.c (dl_main): Likewise.
18793 * elf/setup-vdso.h (setup_vdso): Likewise.
18794 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
18795 * sysdeps/unix/sysv/linux/dl-sysdep.c
18796 (_dl_discover_osversion): Likewise.
18798 2013-03-01 Carlos O'Donell <carlos@redhat.com>
18800 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
18801 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
18803 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
18805 * NEWS: Mention libm performance improvements and non-x86 PI
18808 * csu/libc-start.c (__pthread_initialize_minimal): Change
18809 function arguments.
18810 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
18812 2013-02-28 Joseph Myers <joseph@codesourcery.com>
18815 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
18816 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
18817 <bp-sym.h> and <bp-asm.h>.
18818 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18819 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
18821 (memcpy): Don't use BP_SYM.
18822 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
18824 (__mpn_add_n): Don't use BP_SYM.
18825 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
18826 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
18828 (__mpn_addmul_1): Don't use BP_SYM.
18829 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18830 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
18832 (_setjmp): Don't use BP_SYM.
18833 (__novmx_setjmp): Likewise.
18834 (__GI__setjmp): Likewise.
18835 (__vmx_setjmp): Likewise.
18836 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
18838 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
18839 (__bzero): Don't use BP_SYM.
18840 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18841 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18842 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
18843 <bp-sym.h> and <bp-asm.h>.
18844 (memcpy): Don't use BP_SYM.
18845 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
18846 <bp-sym.h> and <bp-asm.h>.
18847 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18848 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
18849 <bp-sym.h> and <bp-asm.h>.
18850 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18851 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
18853 (__mpn_lshift): Don't use BP_SYM.
18854 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18855 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
18857 (memset): Don't use BP_SYM.
18858 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18859 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18860 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
18862 (__mpn_mul_1): Don't use BP_SYM.
18863 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18864 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
18865 <bp-sym.h> and <bp-asm.h>.
18866 (memcmp): Don't use BP_SYM.
18867 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
18868 <bp-sym.h> and <bp-asm.h>.
18869 (memcpy): Don't use BP_SYM.
18870 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
18871 <bp-sym.h> and <bp-asm.h>.
18872 (memset): Don't use BP_SYM.
18873 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
18874 <bp-sym.h> and <bp-asm.h>.
18875 (strncmp): Don't use BP_SYM.
18876 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
18877 <bp-sym.h> and <bp-asm.h>.
18878 (memcpy): Don't use BP_SYM.
18879 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
18880 <bp-sym.h> and <bp-asm.h>.
18881 (memset): Don't use BP_SYM.
18882 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
18883 <bp-sym.h> and <bp-asm.h>.
18884 (__memchr): Don't use BP_SYM.
18885 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
18886 <bp-sym.h> and <bp-asm.h>.
18887 (memcmp): Don't use BP_SYM.
18888 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
18889 <bp-sym.h> and <bp-asm.h>.
18890 (memcpy): Don't use BP_SYM.
18891 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
18892 <bp-sym.h> and <bp-asm.h>.
18893 (__mempcpy): Don't use BP_SYM.
18894 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
18895 <bp-sym.h> and <bp-asm.h>.
18896 (__memrchr): Don't use BP_SYM.
18897 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
18898 <bp-sym.h> and <bp-asm.h>.
18899 (memset): Don't use BP_SYM.
18900 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
18901 <bp-sym.h> and <bp-asm.h>.
18902 (__rawmemchr): Don't use BP_SYM.
18903 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
18904 <bp-sym.h> and <bp-asm.h>.
18905 (__STRCMP): Don't use BP_SYM.
18906 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
18907 <bp-sym.h> and <bp-asm.h>.
18908 (strchr): Don't use BP_SYM.
18909 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
18910 <bp-sym.h> and <bp-asm.h>.
18911 (__strchrnul): Don't use BP_SYM.
18912 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
18913 <bp-sym.h> and <bp-asm.h>.
18914 (strlen): Don't use BP_SYM.
18915 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
18916 <bp-sym.h> and <bp-asm.h>.
18917 (strncmp): Don't use BP_SYM.
18918 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
18919 <bp-sym.h> and <bp-asm.h>.
18920 (__strnlen): Don't use BP_SYM.
18921 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
18923 (__mpn_rshift): Don't use BP_SYM.
18924 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18925 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
18926 <bp-sym.h> and <bp-asm.h>.
18927 (__sigsetjmp): Don't use BP_SYM.
18928 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
18929 (L(start_addresses)): Don't use BP_SYM.
18930 (_start): Likewise.
18931 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
18933 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
18934 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18935 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18936 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
18938 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
18939 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18940 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18941 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
18943 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
18945 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18946 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
18948 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
18950 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18951 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18952 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
18954 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
18956 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
18958 (strncmp): Don't use BP_SYM,
18959 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
18961 (__mpn_sub_n): Don't use BP_SYM.
18962 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18963 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
18965 (__mpn_submul_1): Don't use BP_SYM.
18966 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
18968 <bp-sym.h> and <bp-asm.h>.
18969 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
18970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
18971 <bp-sym.h> and <bp-asm.h>.
18972 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
18975 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18977 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
18978 Use ZK to minimize writes to Z.
18979 (sub_magnitudes): Simplify code a bit.
18980 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
18981 Use ZK to minimize writes to Z.
18982 (sub_magnitudes): Simplify code a bit.
18984 2013-02-27 Roland McGrath <roland@hack.frob.com>
18986 * csu/gmon-start.c: Add special exception to license text.
18988 2013-02-27 Richard Henderson <rth@redhat.com>
18990 * scripts/config.guess: Update from config.git.
18991 * scripts/config.sub: Likewise.
18993 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
18995 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
18997 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
18999 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
19001 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
19003 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
19005 2013-02-26 Roland McGrath <roland@hack.frob.com>
19007 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
19008 [$(build-shared = yes].
19010 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19012 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
19013 (__mul): Reduce iterations for calculating mantissa.
19015 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
19017 (__mpranred): Likewise.
19020 * malloc/memusagestat.c (main): Draw graphs for heap and stack
19021 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
19023 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
19025 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
19026 Define __attribute__.
19028 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19030 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
19032 * posix/regex_internal.h (__attribute): Remove.
19033 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
19034 (re_string_context_at): Likewise.
19035 (bitset_not): Use __attribute__ and mark function as possibly
19037 (bitset_merge): Likewise.
19038 (bitset_mask): Likewise.
19039 (re_string_char_size_at): Likewise.
19040 (re_string_wchar_at): Likewise.
19041 (re_string_elem_size_at): Likewise.
19043 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19045 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
19049 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
19053 (denorm): Likewise.
19054 (__dbl_mp): Likewise.
19055 (add_magnitudes): Likewise.
19056 (sub_magnitudes): Likewise.
19060 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
19063 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
19066 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
19069 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
19070 up changes with default code.
19071 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
19074 2013-02-24 Allan McRae <allan@archlinux.org>
19076 * manual/socket.texi (The Internet Namespace): Order menu items
19077 to match that in the file.
19079 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
19080 node listing of the info page menu.
19082 2013-02-21 Joseph Myers <joseph@codesourcery.com>
19085 * sysdeps/i386/bp-asm.h: Remove file.
19086 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
19087 (PARMS): Do not use macros from bp-asm.h.
19091 (__mpn_add_n): Do not use BP_SYM
19092 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
19094 (PARMS): Do not use macros from bp-asm.h.
19097 (__mpn_addmul_1): Do not use BP_SYM
19098 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
19100 (PARMS): Do not use macros from bp-asm.h.
19101 (SIGMSK): Likewise.
19102 (_setjmp): Likewise. Do not use BP_SYM.
19103 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
19105 (PARMS): Do not use macros from bp-asm.h.
19106 (SIGMSK): Likewise.
19107 (setjmp): Likewise. Do not use BP_SYM.
19108 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
19110 (PARMS): Do not use macros from bp-asm.h.
19111 (__frexp): Do not use BP_SYM.
19113 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
19115 (PARMS): Do not use macros from bp-asm.h.
19116 (__frexpf): Do not use BP_SYM.
19117 (frexpf): Likewise.
19118 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
19120 (PARMS): Do not use macros from bp-asm.h.
19121 (__frexpl): Do not use BP_SYM.
19122 (frexpl): Likewise.
19123 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
19125 (PARMS): Do not use macros from bp-asm.h.
19126 (__remquo): Do not use BP_SYM.
19127 (remquo): Likewise.
19128 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
19130 (PARMS): Do not use macros from bp-asm.h.
19131 (__remquof): Do not use BP_SYM.
19132 (remquof): Likewise.
19133 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
19135 (PARMS): Do not use macros from bp-asm.h.
19136 (__remquol): Do not use BP_SYM.
19137 (remquol): Likewise.
19138 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
19140 (PARMS): Do not use macros from bp-asm.h.
19143 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
19144 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
19146 (PARMS): Do not use macros from bp-asm.h.
19147 (strlen): Do not use BP_SYM.
19148 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
19150 (PARMS): Do not use macros from bp-asm.h.
19154 (__mpn_add_n): Do not use BP_SYM.
19155 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
19157 (PARMS): Do not use macros from bp-asm.h.
19160 (__mpn_addmul_1): Do not use BP_SYM.
19161 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
19164 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
19166 (PARMS): Do not use macros from bp-asm.h.
19169 (__mpn_lshift): Do not use BP_SYM.
19170 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
19172 (PARMS): Do not use macros from bp-asm.h.
19176 (memcpy): Likewise. Do not use BP_SYM.
19177 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
19178 libc_hidden_def and weak_alias.
19179 (mempcpy): Do not use BP_SYM in weak_alias.
19180 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
19182 (PARMS): Do not use macros from bp-asm.h.
19185 [!BZERO_P] (CHR): Likewise.
19186 (memset): Likewise. Do not use BP_SYM.
19187 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
19189 (PARMS): Do not use macros from bp-asm.h.
19192 (__mpn_mul_1): Do not use BP_SYM.
19193 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
19195 (PARMS): Do not use macros from bp-asm.h.
19198 (__mpn_rshift): Do not use BP_SYM.
19199 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
19201 (PARMS): Do not use macros from bp-asm.h.
19204 (strchr): Likewise. Do not use BP_SYM.
19205 (index): Do not use BP_SYM in weak_alias.
19206 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
19208 (PARMS): Do not use macros from bp-asm.h.
19211 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
19212 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
19214 (PARMS): Do not use macros from bp-asm.h.
19215 (strlen): Do not use BP_SYM.
19216 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
19218 (PARMS): Do not use macros from bp-asm.h.
19222 (__mpn_sub_n): Do not use BP_SYM.
19223 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
19225 (PARMS): Do not use macros from bp-asm.h.
19228 (__mpn_submul_1): Do not use BP_SYM.
19229 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
19231 (PARMS): Do not use macros from bp-asm.h.
19235 (__mpn_add_n): Do not use BP_SYM.
19236 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
19239 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
19241 (PARMS): Do not use macros from bp-asm.h.
19244 (memcmp): Do not use BP_SYM.
19245 (bcmp): Do not use BP_SYM in weak_alias.
19246 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
19248 (PARMS): Do not use macros from bp-asm.h.
19252 (memcpy): Likewise. Do not use BP_SYM.
19253 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
19255 (PARMS): Do not use macros from bp-asm.h.
19259 (memmove): Likewise. Do not use BP_SYM.
19260 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
19262 (PARMS): Do not use macros from bp-asm.h.
19266 (__mempcpy): Likewise. Do not use BP_SYM.
19267 (mempcpy): Do not use BP_SYM in weak_alias.
19268 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
19270 (PARMS): Do not use macros from bp-asm.h.
19273 [!BZERO_P] (CHR): Likewise.
19274 (memset): Likewise. Do not use BP_SYM.
19275 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
19277 (PARMS): Do not use macros from bp-asm.h.
19279 (strcmp): Do not use BP_SYM.
19280 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
19282 (PARMS): Do not use macros from bp-asm.h.
19285 [USE_AS_STRTOK_R] (SAVE): Likewise.
19286 (FUNCTION): Likewise. Do not use BP_SYM.
19287 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
19289 (strtok_r): Likewise.
19290 (__GI___strtok_r): Likewise.
19291 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
19292 (PARMS): Do not use macros from bp-asm.h.
19295 (__mpn_lshift): Do not use BP_SYM.
19296 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
19297 (PARMS): Do not use macros from bp-asm.h.
19300 (__memchr): Do not use BP_SYM.
19301 (memchr): Do not use BP_SYM in weak_alias.
19302 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
19303 (PARMS): Do not use macros from bp-asm.h.
19306 (memcmp): Do not use BP_SYM.
19307 (bcmp): Do not use BP_SYM in weak_alias.
19308 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
19309 (PARMS): Do not use macros from bp-asm.h.
19312 (__mpn_mul_1): Do not use BP_SYM.
19313 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
19315 (PARMS): Do not use macros from bp-asm.h.
19318 (__rawmemchr): Do not use BP_SYM.
19319 (rawmemchr): Do not use BP_SYM in weak_alias.
19320 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
19321 (PARMS): Do not use macros from bp-asm.h.
19324 (__mpn_rshift): Do not use BP_SYM.
19325 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
19326 (PARMS): Do not use macros from bp-asm.h.
19327 (SIGMSK): Likewise.
19328 (__sigsetjmp): Likewise. Do not use BP_SYM.
19329 * sysdeps/i386/start.S: Do not include "bp-sym.h".
19330 (_start): Do not use BP_SYM.
19331 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
19332 (PARMS): Do not use macros from bp-asm.h.
19335 (__stpcpy): Likewise. Do not use BP_SYM.
19336 (stpcpy): Do not use BP_SYM in weak_alias.
19337 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
19339 (PARMS): Do not use macros from bp-asm.h.
19343 (__stpncpy): Likewise. Do not use BP_SYM.
19344 (stpncpy): Do not use BP_SYM in weak_alias.
19345 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
19346 (PARMS): Do not use macros from bp-asm.h.
19349 (strchr): Likewise. Do not use BP_SYM.
19350 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
19352 (PARMS): Do not use macros from bp-asm.h.
19355 (__strchrnul): Likewise. Do not use BP_SYM.
19356 (strchrnul): Do not use BP_SYM in weak_alias.
19357 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
19359 (PARMS): Do not use macros from bp-asm.h.
19361 (strcspn): Do not use BP_SYM.
19362 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
19364 (PARMS): Do not use macros from bp-asm.h.
19367 (strpbrk): Likewise. Do not use BP_SYM.
19368 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
19370 (PARMS): Do not use macros from bp-asm.h.
19373 (strrchr): Likewise. Do not use BP_SYM.
19374 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
19375 (PARMS): Do not use macros from bp-asm.h.
19377 (strspn): Do not use BP_SYM.
19378 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
19379 (PARMS): Do not use macros from bp-asm.h.
19383 (FUNCTION): Likewise. Do not use BP_SYM.
19384 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
19386 (strtok_r): Likewise.
19387 (__GI___strtok_r): Likewise.
19388 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
19389 (PARMS): Do not use macros from bp-asm.h.
19393 (__mpn_sub_n): Do not use BP_SYM.
19394 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
19396 (PARMS): Do not use macros from bp-asm.h.
19399 (__mpn_submul_1): Do not use BP_SYM.
19400 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
19402 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
19404 (PARMS): Do not use macros from bp-asm.h.
19409 (__clone): Do not use BP_SYM.
19410 (clone): Do not use BP_SYM in weak_alias.
19411 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
19413 (PARMS): Do not use macros from bp-asm.h.
19415 (__mmap64): Do not use BP_SYM.
19416 (mmap64): Do not use BP_SYM in weak_alias.
19417 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
19418 <bp-sym.h> and <bp-asm.h>.
19419 (PARMS): Do not use macros from bp-asm.h.
19420 (__posix_fadvise64_l64): Do not use BP_SYM.
19421 * sysdeps/unix/sysv/linux/i386/semtimedop.S
19422 (PARMS): Do not use macros from bp-asm.h.
19424 (semtimedop): Do not use BP_SYM.
19425 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
19428 2013-02-21 Allan McRae <allan@archlinux.org>
19430 * manual/message.texi (Charset conversion in gettext):
19431 Move @end statement to beginning of line.
19433 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19435 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
19437 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
19440 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
19441 (denorm): Likewise.
19442 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
19443 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
19445 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19447 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
19448 tail-call to the resolved function if pltexit isn't needed.
19450 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19452 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
19453 or Y being zero as being unlikely.
19454 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
19457 2013-02-20 Carlos O'Donell <carlos@redhat.com>
19459 * manual/nss.texi (System Databases and Name Service Switch):
19460 Remove frobnicate @pxref.
19462 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
19464 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
19465 __attribute__ ((unused)) to __attribute__ ((__unused__)).
19467 2013-02-20 Petr Machata <pmachata@redhat.com>
19469 * elf/elf.h (R_ARM_TARGET1): New macro.
19470 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
19471 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
19472 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
19473 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
19474 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
19475 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
19476 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
19477 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
19478 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
19479 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
19480 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
19481 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
19482 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
19483 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
19484 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
19485 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
19486 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
19487 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
19488 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
19489 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
19490 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
19491 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
19492 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
19493 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
19494 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
19495 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
19496 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
19497 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
19498 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
19499 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
19500 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
19501 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
19502 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
19503 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
19504 (R_ARM_THM_GOT_BREL12): Likewise.
19505 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
19506 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
19507 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
19508 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
19509 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
19510 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
19511 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
19512 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
19513 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
19515 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
19517 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
19518 __attribute_used__ to __attribute__ ((unused)).
19520 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
19522 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
19524 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
19525 comment formatting.
19526 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
19528 2013-02-19 Joseph Myers <joseph@codesourcery.com>
19531 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
19533 (ENTER): Remove both macro definitions.
19535 (CHECK_BOUNDS_LOW): Likewise.
19536 (CHECK_BOUNDS_HIGH): Likewise.
19537 (CHECK_BOUNDS_BOTH): Likewise.
19538 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
19539 (RETURN_BOUNDED_POINTER): Likewise.
19540 (RETURN_NULL_BOUNDED_POINTER): Likewise.
19541 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
19542 (POP_ERRNO_LOCATION_RETURN): Likewise.
19543 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
19544 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19545 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
19547 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19548 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
19549 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
19550 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
19551 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
19552 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
19553 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
19554 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
19555 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
19556 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
19557 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
19558 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
19559 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19560 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
19562 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19563 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
19565 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19566 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
19567 * sysdeps/i386/i586/memset.S (memset): Likewise.
19568 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
19569 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19570 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
19572 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19573 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
19574 Change uses of L(2) to L(out).
19575 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
19576 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
19577 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
19578 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19579 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
19581 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19582 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
19584 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19585 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
19586 (RETURN): Do not use macro LEAVE.
19587 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
19588 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
19589 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
19590 * sysdeps/i386/i686/memset.S (memset): Likewise.
19591 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
19592 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
19593 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
19594 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
19596 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19597 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
19598 L(1_2) and L(1_3) into L(1).
19599 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
19600 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
19601 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19602 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
19603 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
19604 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
19605 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
19606 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19607 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
19609 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
19610 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19611 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
19612 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
19613 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
19614 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19615 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
19616 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
19617 * sysdeps/i386/strcspn.S (strcspn): Likewise.
19618 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
19619 * sysdeps/i386/strrchr.S (strrchr): Likewise.
19620 * sysdeps/i386/strspn.S (strspn): Likewise.
19621 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
19623 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19624 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
19625 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
19626 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
19627 L(1_3) into L(1_1).
19628 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
19629 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19630 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
19632 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19634 2013-02-19 Jakub Jelinek <jakub@redhat.com>
19636 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
19639 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19641 * math/atest-exp.c (exp_mpn): Remove ROUND.
19642 * math/atest-exp2.c (exp_mpn): Likewise.
19643 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
19645 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
19646 * stdlib/tst-tls-atexit-lib.c: Likewise.
19647 * stdlib/tst-tls-atexit.c: Likewise.
19649 2013-02-18 Mike Frysinger <vapier@gentoo.org>
19651 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
19652 and __attribute_alloc_size__.
19654 2013-02-18 Mike Frysinger <vapier@gentoo.org>
19656 * include/programs/xmalloc.h: Change __attribute_alloc_size to
19657 __attribute_alloc_size__.
19658 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
19659 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
19661 2013-02-18 Mike Frysinger <vapier@gentoo.org>
19663 * include/programs/xmalloc.h: New file.
19664 * catgets/gencat.c: Include it.
19665 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
19666 * elf/pldd.c: Likewise.
19667 * iconv/iconv_charmap.c: Likewise.
19668 * iconv/iconvconfig.c: Likewise.
19669 * iconv/strtab.c: Likewise.
19670 * locale/programs/locale.c: Likewise.
19671 * locale/programs/localedef.h: Likewise.
19672 * locale/programs/simple-hash.c: Likewise.
19673 * nscd/nscd.h: Likewise.
19674 * nss/makedb.c: Likewise.
19675 * sysdeps/generic/ldconfig.h: Likewise.
19677 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19679 * Versions.def: Add GLIBC_2.18.
19680 * include/link.h (struct link_map): New member l_tls_dtor_count.
19681 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
19682 (__call_tls_dtors): Likewise.
19683 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
19684 __cxa_thread_atexit_impl.
19685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19689 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19691 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19693 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
19694 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
19696 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
19698 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
19699 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
19701 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
19702 (tests): Add test case tst-tls-atexit.
19703 (modules-names): Add shared library for tst-tls-atexit.
19704 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
19705 (GLIBC_PRIVATE): Add __call_tls_dtors.
19706 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
19708 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
19709 * stdlib/tst-tls-atexit.c: New test case.
19710 * stdlib/tst-tls-atexit-lib.c: New test case.
19712 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
19714 * elf/Versions (ld): Add _dl_find_dso_for_object.
19715 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
19716 * elf/dl-open.c (_dl_find_dso_for_object): New function.
19717 (dl_open_worker): Use _dl_find_dso_for_object.
19718 * elf/dl-sym.c (do_sym): Likewise.
19719 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
19721 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19723 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
19724 Syntactic changes only.
19725 (_dl_runtime_profile): Do a tail-call to the resolved function.
19727 2013-02-17 Joseph Myers <joseph@codesourcery.com>
19730 * sysdeps/x86_64/bp-asm.h: Remove file.
19731 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
19732 <bp-sym.h> and <bp-asm.h>.
19733 (__clone): Do not use BP_SYM.
19734 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
19735 <bp-sym.h> and <bp-asm.h>.
19736 * sysdeps/unix/x86_64/sysdep.S: Likewise.
19737 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
19739 (_setjmp): Do not use BP_SYM.
19740 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
19742 (setjmp): Do not use BP_SYM.
19743 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
19745 (mempcpy): Do not use BP_SYM in weak_alias.
19746 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
19748 (strchr): Do not use BP_SYM.
19749 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
19751 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
19752 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
19753 (_start): Do not use BP_SYM.
19754 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
19756 (strcat): Do not use BP_SYM.
19757 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
19759 (STRCMP): Do not use BP_SYM.
19760 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
19762 (STRCPY): Do not use BP_SYM.
19763 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
19765 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
19767 (FUNCTION): Do not use BP_SYM.
19768 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
19770 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
19772 2013-02-17 Andreas Jaeger <aj@suse.de>
19774 * time/Versions: Sort entries.
19775 * string/Versions: Likewise.
19776 * resolv/Versions: Likewise.
19777 * posix/Versions: Likewise.
19778 * iconv/Versions: Likewise.
19779 * elf/Versions: Likewise.
19780 * wcsmbs/Versions: Likewise.
19782 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19784 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
19785 loop termination condition.
19787 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
19788 variable to calculate EZ.
19791 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
19792 the lower precision input.
19794 2013-02-15 Joseph Myers <joseph@codesourcery.com>
19797 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
19798 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
19799 (run-via-rtld-prefix): Do not handle %-bp tests.
19800 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
19801 (all-object-suffixes): Remove .ob.
19802 (bppfx): Remove variable.
19803 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
19804 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
19805 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
19806 [$(build-bounded) = yes] (libtype.ob): Likewise.
19807 * Makerules (elide-routines.ob): Remove variable.
19808 (do-tests-clean): Do not handle *-bp.out.
19809 (common-mostlyclean): Do not handle *-bp and *-bp.out.
19810 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
19811 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
19812 (tests): Do not include $(tests-bp.out).
19813 (xtests): Do not include $(xtests-bp.out).
19814 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
19815 [$(build-bounded) = yes] ($(addprefix
19816 $(objpfx),$(binaries-bounded))): Remove rule.
19817 ($(objpfx)%-bp.out): Remove rule.
19818 * config.make.in (build-bounded): Remove variable.
19819 * crypt/Makefile [$(build-bounded) = yes]
19820 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
19821 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
19822 append to variable.
19823 [$(build-bounded) = yes] (install-lib): Likewise.
19824 [$(build-bounded) = yes] (generated): Likewise.
19825 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
19827 * intl/Makefile [$(build-bounded) = yes]
19828 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
19829 * math/Makefile [$(build-bounded) = yes]
19830 ($(tests:%=$(objpfx)%-bp): Likewise.
19831 * misc/Makefile [$(build-bounded) = yes]
19832 ($(objpfx)tst-tsearch-bp): Likewise.
19833 * nptl/Makeconfig (bounded-thread-library): Remove variable.
19834 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
19836 * string/Makefile (o-objects.ob): Remove variable.
19837 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
19838 (CFLAGS-.ob): Remove variable.
19839 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
19840 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
19841 both definitions of variable.
19842 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
19843 (ASFLAGS-.ob): Remove variable.
19845 2013-02-14 Joseph Myers <joseph@codesourcery.com>
19848 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
19849 Remove __BOUNDED_POINTERS__ from condition.
19850 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
19851 * string/bits/string2.h [!__NO_STRING_INLINES &&
19852 !__BOUNDED_POINTERS__]: Likewise.
19853 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
19855 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
19856 Remove conditional code.
19857 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
19858 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
19859 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
19863 * csu/libc-start.c: Do not include <bp-sym.h>.
19864 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
19865 * elf/dl-open.c: Do not include <bp-sym.h>.
19866 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
19867 * math/fegetenv.c: Do not include <bp-sym.h>.
19868 (fegetenv): Do not use BP_SYM in versioned symbols.
19869 * nptl/sysdeps/pthread/bits/libc-lockP.h
19870 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
19872 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19873 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
19874 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19875 (__pthread_mutex_destroy): Likewise.
19876 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19877 (__pthread_mutex_lock): Likewise.
19878 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19879 (__pthread_mutex_trylock): Likewise.
19880 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19881 (__pthread_mutex_unlock): Likewise.
19882 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19883 (__pthread_mutexattr_init): Likewise.
19884 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19885 (__pthread_mutexattr_destroy): Likewise.
19886 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19887 (__pthread_mutexattr_settype): Likewise.
19888 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19889 (__pthread_rwlock_init): Likewise.
19890 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19891 (__pthread_rwlock_destroy): Likewise.
19892 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19893 (__pthread_rwlock_rdlock): Likewise.
19894 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19895 (__pthread_rwlock_tryrdlock): Likewise.
19896 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19897 (__pthread_rwlock_wrlock): Likewise.
19898 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19899 (__pthread_rwlock_trywrlock): Likewise.
19900 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19901 (__pthread_rwlock_unlock): Likewise.
19902 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19903 (__pthread_key_create): Likewise.
19904 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19905 (__pthread_setspecific): Likewise.
19906 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19907 (__pthread_getspecific): Likewise.
19908 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
19910 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19911 (_pthread_cleanup_push_defer): Likewise.
19912 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19913 (_pthread_cleanup_pop_restore): Likewise.
19914 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19915 (pthread_setcancelstate): Likewise.
19916 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
19918 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
19919 (memchr): Do not use BP_SYM in weak_alias.
19920 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
19921 (fegetenv): Do not use BP_SYM in versioned symbols.
19922 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
19923 (fesetenv): Do not use BP_SYM in versioned symbols.
19924 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
19925 (feupdateenv): Do not use BP_SYM in versioned symbols.
19926 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
19927 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
19928 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
19929 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
19930 (open64): Do not use BP_SYM in weak_alias.
19931 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
19932 (fegetenv): Do not use BP_SYM in versioned symbols.
19933 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
19934 (fesetenv): Do not use BP_SYM in versioned symbols.
19935 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
19936 (feupdateenv): Do not use BP_SYM in versioned symbols.
19937 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
19938 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
19939 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
19940 (feraiseexcept): Do not use BP_SYM in versioned symbols.
19941 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
19942 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
19943 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
19945 (__libc_start_main): Do not use BP_SYM.
19947 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19949 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
19950 redundant return line.
19952 (denorm): Likewise.
19953 (dbl_mp): Likewise.
19954 (sub_magnitudes): Likewise.
19960 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
19962 (denorm): Likewise.
19963 (dbl_mp): Likewise.
19964 (sub_magnitudes): Likewise.
19971 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
19973 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
19974 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
19977 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
19978 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
19979 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
19980 of __mul for squares.
19981 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
19983 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
19985 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
19986 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
19988 2013-02-13 Joseph Myers <joseph@codesourcery.com>
19991 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
19993 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
19994 prototype or function definition. Rename ubp_* variables and
19995 parameters. Remove argv definitions conditional on
19996 [__BOUNDED_POINTERS__].
19997 * debug/backtrace.c (__backtrace): Do not use __unbounded.
19998 * elf/dl-runtime.c (_dl_fixup): Likewise.
19999 * include/set-hooks.h (RUN_HOOK): Likewise.
20000 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
20002 * string/strcpy.c (strcpy): Do not use __unbounded.
20003 * sysdeps/generic/frame.h (struct layout): Likewise.
20004 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
20005 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
20006 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
20007 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
20008 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
20009 (__backtrace): Likewise.
20010 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
20012 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
20013 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
20014 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
20016 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
20017 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
20018 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
20019 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
20020 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
20021 Do not use __unbounded.
20022 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
20023 Rename __unboundedrlimits parameter to rlimits in prototype.
20024 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
20025 Do not use __unbounded.
20026 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
20027 not use __ptrvalue.
20028 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
20029 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
20030 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
20031 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
20032 __ptrvalue or __unbounded.
20033 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
20034 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
20036 (__new_msgctl): Do not use __ptrvalue.
20037 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
20039 (__libc_msgrcv): Do not use __ptrvalue.
20040 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
20041 startup_info): Do not use __unbounded.
20042 (__libc_start_main): Likewise. Rename ubp_* variables and
20043 parameters. Remove argv definitions conditional on
20044 [__BOUNDED_POINTERS__].
20045 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
20047 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
20049 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
20051 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
20053 (__new_shmctl): Do not use __ptrvalue.
20054 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
20055 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
20057 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
20058 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
20059 (__libc_sigaction): Likewise.
20060 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
20061 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
20063 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
20065 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
20067 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
20069 * string/mempcpy.c: Implement by calling memcpy.
20071 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
20073 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
20075 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
20078 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
20079 values in the mantissa.
20081 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
20082 minimize writes to Z.
20083 (sub_magnitudes): Simplify code a bit.
20085 2013-02-12 Roland McGrath <roland@hack.frob.com>
20087 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
20088 from the message. The linker prefixes all warnings with that already.
20090 2013-02-12 Andreas Schwab <schwab@suse.de>
20093 * posix/regexec.c (extend_buffers): Add parameter min_len.
20094 (check_matching): Pass minimum needed length.
20095 (clean_state_log_if_needed): Likewise.
20096 (get_subexp): Likewise.
20097 * posix/Makefile (tests): Add bug-regex34.
20098 (bug-regex34-ENV): Define.
20099 * posix/bug-regex34.c: New file.
20102 * posix/regcomp.c (parse_bracket_exp): When looking up collating
20103 elements compare against the byte sequence of it, not its name.
20104 * posix/Makefile (tests): Add bug-regex35.
20105 (bug-regex35-ENV): Define.
20106 * posix/bug-regex35.c: New file.
20108 2013-02-11 Tom de Vries <tom@codesourcery.com>
20110 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
20112 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
20113 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
20114 (CHECK_EOL): Add undef.
20116 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
20118 * bits/stdlib-bsearch.h: New file.
20119 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
20120 * stdlib/stdlib.h: Likewise.
20122 2013-02-11 Roland McGrath <roland@hack.frob.com>
20124 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
20125 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
20127 * manual/search.texi (Array Search Function): Add missing const in
20129 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
20130 declaration to use rlim_t.
20131 (Basic Scheduling Functions): Remove erroneous const from
20132 sched_getparam prototype. Remove erroneous * from
20133 sched_get_priority_max and sched_get_priority_min prototypes.
20134 (Resource Usage): Fix summary @comment on vtimes to refer to
20135 sys/vtimes.h rather than vtimes.h.
20136 Add missing *s in vtimes prototype.
20137 (Limits on Resources): Fix ulimit prototype to return long int.
20138 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
20139 prototypes to use long int rather than double.
20140 (BSD Random): Fix initstate and setstate to use char *, not void *.
20141 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
20142 prototype to make second argument 'struct aiocb64 *const[]'.
20143 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
20144 (Status of AIO Operations): Remove erroneous const in aio_return and
20145 aio_return64 prototypes.
20146 (Synchronizing I/O): Fix sync prototype to return void.
20147 * manual/startup.texi (Suboptions): Remove an erroneous const in
20148 getsubopt prototype.
20149 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
20150 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
20151 use size_t rather than int.
20152 (Scanning All Users): Likewise for getpwent_r.
20153 (Setting Groups): Add missing const to setgroups prototype.
20154 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
20155 * manual/socket.texi (Host Names): Fix gethostbyaddr and
20156 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
20157 'const void *' rather than 'const char *'.
20158 (Host Address Functions): Likewise for inet_ntop.
20159 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
20160 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
20161 ssize_t for return value.
20162 (Sending Data): Likewise for send, sendto, sendmsg.
20163 (Socket Option Functions): Add a missing const in setsockopt prototype.
20164 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
20165 use wchar_t for the argument.
20166 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
20167 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
20169 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
20170 double/float/long double for second argument.
20171 Fix return types of significand, significandf, significandl.
20172 * manual/filesys.texi (Setting Permissions): Use mode_t for second
20173 argument in fchmod prototype.
20174 (File Owner): Use uid_t and gid_t in fchown prototype.
20175 (File Times): Add const to utimes, futimes, and lutimes prototypes.
20176 (Making Special Files): Use mode_t and dev_t in mknod prototype.
20177 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
20178 use 'const struct dirent **' as argument types to CMP function pointer
20180 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
20181 (File Times): Fix summary magic @comment for struct utimbuf and utime
20182 to refer to utime.h, not time.h.
20183 * manual/string.texi (Argz Functions): Add missing const in
20184 argz_extract and argz_next prototypes.
20185 (Finding Tokens in a String): Likewise for basename.
20186 (String/Array Comparison): Fix typo in wcscasecmp prototype.
20187 (Copying and Concatenation): Fix typo in wmemmove prototype.
20188 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
20189 (Signal Stack): Remove erroneous const in sigstack prototype.
20190 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
20192 (Simple Calendar Time): Likewise for stime.
20193 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
20195 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
20196 say sys/sysctl.h instead.
20197 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
20198 and vsyslog prototypes.
20200 2013-02-11 Tom de Vries <tom@codesourcery.com>
20202 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
20205 2013-02-11 Roland McGrath <roland@hack.frob.com>
20207 * misc/sys/mman.h: Fix typo in mremap comment.
20209 2013-02-08 Roland McGrath <roland@hack.frob.com>
20211 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
20212 the '\0' terminator.
20214 2013-02-08 Joseph Myers <joseph@codesourcery.com>
20217 * debug/segfault.c: Don't include <bp-checks.h>.
20218 * sysdeps/generic/bp-checks.h: Remove file.
20219 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
20220 (__GETDENTS): Don't use CHECK_N.
20221 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
20222 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
20223 (__getgroups): Don't use CHECK_N.
20224 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
20225 (setgroups): Don't use CHECK_N.
20226 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
20227 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
20228 (__libc_msgrcv): Don't use CHECK_N.
20229 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
20230 (__libc_msgsnd): Don't use CHECK_N.
20231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
20233 (__libc_pread): Don't use CHECK_N.
20234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
20235 include <bp-checks.h>.
20236 (__libc_pread64): Don't use CHECK_N.
20237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
20238 include <bp-checks.h>.
20239 (__libc_pwrite): Don't use CHECK_N.
20240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
20241 include <bp-checks.h>.
20242 (__libc_pwrite64): Don't use CHECK_N.
20243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
20245 (__libc_pread): Don't use CHECK_N.
20246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
20247 include <bp-checks.h>.
20248 (__libc_pread64): Don't use CHECK_N.
20249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
20250 include <bp-checks.h>.
20251 (__libc_pwrite): Don't use CHECK_N.
20252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
20253 include <bp-checks.h>.
20254 (__libc_pwrite64): Don't use CHECK_N.
20255 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
20256 (do_pread): Don't use CHECK_N.
20257 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
20258 (do_pread64): Don't use CHECK_N.
20259 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
20260 (do_pwrite): Don't use CHECK_N.
20261 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
20262 (do_pwrite64): Don't use CHECK_N.
20263 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
20264 (__libc_readv): Don't use CHECK_N.
20265 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
20266 (semop): Don't use CHECK_N.
20267 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
20269 (semtimedop): Don't use CHECK_N.
20270 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
20271 (__libc_pread): Don't use CHECK_N.
20272 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
20274 (__libc_pread64): Don't use CHECK_N.
20275 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
20277 (__libc_pwrite): Don't use CHECK_N.
20278 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
20280 (__libc_pwrite64): Don't use CHECK_N.
20281 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
20283 (__libc_msgrcv): Don't use CHECK_N.
20284 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
20285 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
20286 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
20287 (__libc_writev): Don't use CHECK_N.
20289 2013-02-08 Roland McGrath <roland@hack.frob.com>
20291 * string/strcpy.c: Removed unused variable.
20293 * Makeconfig (+sysdep-includes): Define with := rather than =.
20294 Use an existing include/ subdir of each sysdeps dir before it.
20296 2013-02-08 Carlos O'Donell <carlos@redhat.com>
20298 * nscd/connection.c (register_traced_file): Comment function.
20299 [HAVE_INOTIFY] (union __inev): Define.
20300 [HAVE_INOTIFY] (inotify_check_files): New function.
20301 [HAVE_INOTIFY] (clear_db_cache): Likewise.
20302 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
20304 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
20306 2013-02-08 Carlos O'Donell <carlos@redhat.com>
20308 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
20309 loaded if not already and that a failure is permanent.
20311 2013-02-08 Carlos O'Donell <carlos@redhat.com>
20314 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
20315 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
20317 2013-02-08 Joseph Myers <joseph@codesourcery.com>
20320 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
20321 (CHECK_1_NULL_OK): Likewise.
20322 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
20323 (__fxstat): Do not use CHECK_1.
20324 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
20326 (___fxstat64): Do not use CHECK_1.
20327 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
20329 (__fxstatat): Do not use CHECK_1.
20330 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
20332 (__fxstatat64): Do not use CHECK_1.
20333 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
20335 (__fxstat): Do not use CHECK_1.
20336 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
20338 (__fxstatat): Do not use CHECK_1.
20339 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
20341 (__getresgid): Do not use CHECK_1.
20342 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
20344 (__getresuid): Do not use CHECK_1.
20345 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
20347 (__lxstat): Do not use CHECK_1.
20348 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
20350 (__old_msgctl): Do not use CHECK_1.
20351 (__new_msgctl): Likewise.
20352 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
20354 (__new_setrlimit): Do not use CHECK_1.
20355 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
20357 (__old_shmctl): Do not use CHECK_1.
20358 (__new_shmctl): Likewise.
20359 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
20361 (__xstat): Do not use CHECK_1.
20362 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
20363 (__lxstat): Do not use CHECK_1.
20364 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
20366 (___lxstat64): Do not use CHECK_1.
20367 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
20368 (__old_msgctl): Do not use CHECK_1.
20369 (__new_msgctl): Likewise.
20370 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
20372 (__gettimeofday): Do not use CHECK_1.
20373 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
20374 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
20375 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
20377 (__gettimeofday): Do not use CHECK_1.
20378 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
20379 (__old_shmctl): Do not use CHECK_1_NULL_OK.
20380 (__new_shmctl): Do not use CHECK_1.
20381 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
20383 (do_sigtimedwait): Do not use CHECK_1.
20384 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
20386 (do_sigwaitinfo): Do not use CHECK_1.
20387 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
20389 (msgctl): Do not use CHECK_1.
20390 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
20392 (shmctl): Do not use CHECK_1.
20393 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
20394 (ustat): Do not use CHECK_1.
20395 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
20397 (__fxstat): Do not use CHECK_1.
20398 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
20400 (__fxstatat): Do not use CHECK_1.
20401 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
20403 (__lxstat): Do not use CHECK_1.
20404 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
20406 (__xstat): Do not use CHECK_1.
20407 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
20408 (__xstat): Do not use CHECK_1.
20409 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
20410 (___xstat64): Do not use CHECK_1.
20413 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
20415 (CHECK_BOUNDS_HIGH): Likewise.
20416 * string/strcpy.c: Do not include <bp-checks.h>.
20417 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
20419 2013-02-07 Roland McGrath <roland@hack.frob.com>
20421 * nscd/nscd-client.h (__nscd_drop_map_ref):
20422 Add __attribute__ ((unused)).
20423 * nis/nss-nisplus.h (niserr2nss): Likewise.
20425 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
20426 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
20428 * csu/libc-tls.c (init_static_tls, init_slotinfo):
20429 Remove inline keyword.
20430 * include/rounding-mode.h (round_away): Likewise.
20431 * libio/wfileops.c (adjust_wide_data): Likewise.
20432 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
20433 (__m128i_strloadu_tolower): Likewise.
20434 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
20435 (__m128i_strloadu_tolower): Likewise.
20436 * time/mktime.c (ydhms_diff): Likewise.
20437 * locale/elem-hash.h (elem_hash): Likewise.
20438 * locale/setlocale.c (setdata): Likewise.
20439 * posix/regex_internal.h (re_string_char_size_at): Likewise.
20440 (re_string_wchar_at): Likewise.
20441 (bitset_not, bitset_merge, bitset_mask): Likewise.
20442 [!(__GNUC__ > 3)] (inline): Remove macro.
20443 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
20444 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
20445 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
20446 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
20447 * string/memcmp.c (memcmp_bytes): Likewise.
20448 * locale/programs/locarchive.c (compute_hashval): Likewise.
20449 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
20450 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
20451 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
20452 * nss/getent.c (print_rpc, print_protocols): Likewise.
20453 (print_passwd, print_group, print_aliases): Likewise.
20454 * nis/nss-nisplus.h (niserr2nss): Likewise.
20455 * nscd/connections.c (restart_p): Likewise.
20456 Change return type to bool.
20458 2013-02-05 Roland McGrath <roland@hack.frob.com>
20460 * Makeconfig (all-Depend-files): Add existing
20461 $(sorted-subdirs:=/Depend) files.
20462 (all-subdirs): Remove nss.
20463 * sysdeps/unix/inet/Subdirs: Add it here instead.
20464 * hesiod/Depend: New file.
20466 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
20467 instead of calling alloca.
20469 * io/lseek.c (__lseek): Rename to __libc_lseek.
20470 Define __lseek as an alias.
20472 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
20474 2013-02-04 Carlos O'Donell <carlos@redhat.com>
20476 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
20477 else clause and remove check for non-standard endianness.
20479 2013-02-04 David S. Miller <davem@davemloft.net>
20481 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20483 2013-02-04 Joseph Myers <joseph@codesourcery.com>
20486 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
20487 (__ubp_memchr): Remove prototype.
20488 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
20489 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
20490 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
20491 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
20492 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
20494 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
20495 (__ubp_memchr): Likewise.
20496 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
20497 (__ubp_memchr): Likewise.
20498 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
20499 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
20500 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
20501 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
20503 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
20504 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
20505 (__getcwd): Do not use CHECK_STRING.
20506 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
20508 (__real_chown): Do not use CHECK_STRING.
20509 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
20511 (fchownat): Do not use CHECK_STRING.
20512 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
20514 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
20516 (__lchown): Do not use CHECK_STRING.
20517 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
20518 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
20519 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
20520 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
20521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
20522 include <bp-checks.h>.
20523 (truncate64): Do not use CHECK_STRING.
20524 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
20526 (__real_chown): Do not use CHECK_STRING.
20527 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
20529 (__lchown): Do not use CHECK_STRING.
20530 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
20532 (__chown): Do not use CHECK_STRING.
20533 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
20535 (truncate64): Do not use CHECK_STRING.
20536 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
20538 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
20539 (__xmknod): Do not use CHECK_STRING.
20540 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
20542 (__xmknodat): Do not use CHECK_STRING.
20543 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
20544 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
20546 2013-02-04 Andreas Schwab <schwab@suse.de>
20549 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
20550 * include/netdb.h: Likewise for h_errno.
20551 * elf/tst-stackguard1.c: Include <tls.h>.
20553 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
20555 * elf/link.h (struct link_map): Extend the l_addr comment.
20556 * include/link.h (struct link_map): Likewise.
20558 2013-02-01 Joseph Myers <joseph@codesourcery.com>
20561 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
20562 (BOUNDED_1): Remove macro.
20563 * debug/backtrace.c: Don't include <bp-checks.h>.
20564 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
20565 (__backtrace): Likewise.
20566 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
20568 (__backtrace): Don't use BOUNDED_1.
20569 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
20571 (__backtrace): Don't use BOUNDED_1.
20572 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
20573 (__backtrace): Don't use BOUNDED_1.
20574 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
20575 (shmat): Don't use BOUNDED_N.
20577 2013-01-31 Joseph Myers <joseph@codesourcery.com>
20580 * sysdeps/generic/bp-start.h: Remove file.
20581 * csu/libc-start.c: Don't include <bp-start.h>.
20582 (LIBC_START_MAIN): Set up __environ directly instead of using
20583 INIT_ARGV_and_ENVIRON.
20584 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
20588 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
20590 (CHECK_FCNTL): Likewise.
20591 (CHECK_N_PAGES): Likewise.
20594 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
20596 (CHECK_SIGSET_NULL_OK): Likewise.
20597 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
20599 (sigpending): Don't use CHECK_SIGSET.
20600 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
20602 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
20603 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
20605 (do_sigsuspend): Don't use CHECK_SIGSET.
20606 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
20608 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
20609 (do_sigwait): Don't use CHECK_SIGSET.
20610 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
20612 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
20613 include <bp-checks.h>.
20614 (sigpending): Don't use CHECK_SIGSET.
20615 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
20616 include <bp-checks.h>.
20617 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
20618 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
20620 (sigpending): Don't use CHECK_SIGSET.
20621 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
20623 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
20626 * sysdeps/generic/bp-semctl.h: Remove file.
20627 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
20628 <bp-checks.h> and <bp-semctl.h>.
20629 (__old_semctl): Don't use CHECK_SEMCTL.
20630 (__new_semctl): Likewise.
20631 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
20633 (__old_semctl): Don't use CHECK_SEMCTL.
20634 (__new_semctl): Likewise.
20635 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
20636 <bp-checks.h> and <bp-semctl.h>.
20637 (__old_semctl): Don't use CHECK_SEMCTL.
20638 (__new_semctl): Likewise.
20639 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
20640 <bp-checks.h> and <bp-semctl.h>.
20641 (semctl): Don't use CHECK_SEMCTL.
20644 * Makerules (elide-bp-thunks): Remove variable.
20645 (elide-routines.oS): Don't use $(elide-bp-thunks).
20646 (elide-routines.os): Likewise.
20647 (elide-routines.o): Likewise.
20648 (elide-routines.op): Likewise.
20649 (elide-routines.og): Likewise.
20650 (objects): Don't use $(bp-thunks).
20651 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
20653 (common-generated): Do not add s-proto-bp.d.
20654 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
20657 Do not generate makefile rules for bounded-pointer thunks.
20658 * sysdeps/generic/bp-thunks.h: Remove file.
20659 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
20660 * sysdeps/unix/s-proto-bp.S: Likewise.
20663 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
20664 parts of result separately when argument is not close to line from
20665 -i to i and one part of argument is small.
20666 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20667 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20668 * math/libm-test.inc (cacos_test): Add more tests.
20669 (casin_test): Likewise.
20670 (casinh_test): Likewise.
20671 * sysdeps/i386/fpu/libm-test-ulps: Update.
20672 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20674 2013-01-31 David S. Miller <davem@davemloft.net>
20676 * po/de.po: Update from translation team.
20678 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
20680 * time/tzfile.c: Include stdint.h for SIZE_MAX.
20682 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
20684 * configure.in (_AC_PROG_CC_C89): New definition.
20685 * configure: Regenerate.
20687 * configure.in (AC_PROG_CPP): New definition.
20688 * configure: Regenerate.
20690 2013-01-23 Joseph Myers <joseph@codesourcery.com>
20692 * debug/tst-backtrace.h: New file.
20693 * debug/tst-backtrace2.c: Include tst-backtrace.h.
20694 (ret): Remove variable.
20696 (FAIL): Remove macro.
20697 (NO_INLINE): Likewise.
20698 (fn1): Use match function instead of strstr.
20699 * debug/tst-backtrace3.c: Include tst-backtrace.h.
20700 (ret): Remove variable.
20702 (FAIL): Remove macro.
20703 (NO_INLINE): Likewise.
20704 (fn): Use match function instead of strstr.
20705 * debug/tst-backtrace4.c: Include tst-backtrace.h.
20706 (ret): Remove variable.
20708 (FAIL): Remove macro.
20709 (NO_INLINE): Likewise.
20710 (handle_signal): Use match function instead of strstr.
20711 * debug/tst-backtrace5.c: Include tst-backtrace.h.
20712 (ret): Remove variable.
20714 (FAIL): Remove macro.
20715 (NO_INLINE): Likewise.
20716 (handle_signal): Use match function instead of strstr.
20718 2013-01-23 Roland McGrath <roland@hack.frob.com>
20720 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
20722 2013-01-23 David S. Miller <davem@davemloft.net>
20724 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
20725 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
20726 argument of CAS if possible.
20727 * sysdeps/sparc/sparc64/bits/atomic.h
20728 (__arch_compare_and_exchange_val_32_acq): Likewise.
20729 (__arch_compare_and_exchange_val_64_acq): Likewise.
20731 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
20733 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
20734 * sysdeps/posix/ulimit.c: ... this.
20735 Include <limits.h>.
20736 * sysdeps/unix/bsd/ulimit.c: Remove file.
20738 2013-01-23 Adam Conrad <adconrad@0c3.net>
20740 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
20741 (LDFLAGS-tst-array5): Likewise.
20743 2013-01-23 Joseph Myers <joseph@codesourcery.com>
20746 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
20747 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
20748 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
20749 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
20751 2013-01-21 David S. Miller <davem@davemloft.net>
20753 * sysdeps/sparc/backtrace.c: New file.
20754 * sysdeps/sparc/sparc32/backtrace.h: New file.
20755 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
20756 * sysdeps/sparc/sparc64/backtrace.h: New file.
20757 * sysdeps/sparc/sparc64/backtrace.c: Delete.
20758 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
20761 2013-01-21 Andreas Schwab <schwab@suse.de>
20764 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
20767 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
20769 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
20771 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20773 2013-01-18 Joseph Myers <joseph@codesourcery.com>
20774 Mark Mitchell <mark@codesourcery.com>
20775 Tom de Vries <tom@codesourcery.com>
20776 Paul Pluzhnikov <ppluzhnikov@google.com>
20778 * debug/tst-backtrace2.c: New file.
20779 * debug/tst-backtrace3.c: Likewise.
20780 * debug/tst-backtrace4.c: Likewise.
20781 * debug/tst-backtrace5.c: Likewise.
20782 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
20783 (CFLAGS-tst-backtrace3.c): Likewise.
20784 (CFLAGS-tst-backtrace4.c): Likewise.
20785 (CFLAGS-tst-backtrace5.c): Likewise.
20786 (LDFLAGS-tst-backtrace2): Likewise.
20787 (LDFLAGS-tst-backtrace3): Likewise.
20788 (LDFLAGS-tst-backtrace4): Likewise.
20789 (LDFLAGS-tst-backtrace5): Likewise.
20790 (tests): Add new tests tst-backtrace2, tst-backtrace3,
20791 tst-backtrace4 and tst-backtrace5.
20793 2013-01-18 Anton Blanchard <anton@samba.org>
20794 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20796 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
20797 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
20798 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
20799 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
20800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20801 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
20802 "+r" and remove output regs list as redundant. Add explicit inline
20803 asm to specify register of return val to work around compiler codegen
20804 bug. Remove (int) cast on return value. Add return type parameter to
20805 use in macro so that this macro does not truncate return value for
20807 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
20808 pass to INTERNAL_VSYSCALL_NCS.
20809 (INLINE_VSYSCALL): Add 'long int' as return type to
20810 INTERNAL_VSYSCALL_NCS macro invocation.
20811 (INTERNAL_VSYSCALL): Add 'long int' as return type to
20812 INTERNAL_VSYSCALL_NCS macro invocation.
20813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20815 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
20818 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
20819 Fix application of SIMD FP exception mask.
20821 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
20822 mp_no from a power of two.
20823 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
20824 __mpexp_twomm1. Use __pow_mp.
20826 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
20829 2013-01-17 David S. Miller <davem@davemloft.net>
20831 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20833 2013-01-17 Joseph Myers <joseph@codesourcery.com>
20836 * include/complex.h: Condition contents on [!_COMPLEX_H].
20837 (__kernel_casinhf): New prototype.
20838 (__kernel_casinh): Likewise.
20839 (__kernel_casinhl): Likewise.
20840 * math/Makefile (libm_calls): Add k_casinh.
20841 * math/k_casinh.c: New file.
20842 * math/k_casinhf.c: Likewise.
20843 * math/k_casinhl.c: Likewise.
20844 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
20845 finite nonzero arguments.
20846 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
20847 finite nonzero arguments.
20848 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
20849 finite nonzero arguments.
20850 * math/s_casinh.c: Do not include <float.h>.
20851 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
20852 * math/s_casinhf.c: Do not include <float.h>.
20853 (__casinhf): Move code for finite nonzero arguments to
20855 * math/s_casinhl.c: Do not include <float.h>.
20856 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
20858 (__casinhl): Move code for finite nonzero arguments to
20860 * math/libm-test.inc (cacos_test): Add more tests.
20861 * sysdeps/i386/fpu/libm-test-ulps: Update.
20862 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20864 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
20866 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
20867 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
20868 [!HAVE_MREMAP]: Remove [defined linux] case.
20869 * malloc/arena.c: Do not include <malloc-sysdep.h>.
20871 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
20873 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
20875 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
20877 * elf/elf.h (R_386_SIZE32): New relocation.
20878 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
20880 (elf_machine_rela): Likewise.
20881 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
20882 R_X86_64_SIZE64 and R_X86_64_SIZE32.
20884 2013-01-17 Joseph Myers <joseph@codesourcery.com>
20886 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
20887 (FP_FAST_FMA): Do not define.
20888 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
20889 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
20890 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
20891 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
20892 !_SOFT_FLOAT]: Likewise.
20893 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
20894 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
20896 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
20897 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
20898 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
20899 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
20900 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
20901 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
20904 2013-01-16 Andreas Schwab <schwab@suse.de>
20907 * include/stdlib.h (__mktemp): Add declaration.
20908 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
20909 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
20911 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20913 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
20915 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
20916 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
20917 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
20919 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
20920 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
20922 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
20924 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
20925 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
20926 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
20928 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
20929 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
20931 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
20933 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
20935 2013-01-15 David S. Miller <davem@davemloft.net>
20937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20938 trunc{,f} to libm-sysdep_routes.
20939 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
20942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
20943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
20945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
20947 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
20948 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
20949 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
20950 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
20951 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
20952 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
20953 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
20954 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
20956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20957 nearbyint{,f} to libm-sysdep_routes.
20958 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
20961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
20963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
20965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
20967 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
20968 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
20969 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
20971 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
20972 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
20974 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
20975 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
20976 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
20978 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
20979 libc_feholdexcept and libc_fesetenv.
20981 2013-01-15 Mike Frysinger <vapier@gentoo.org>
20983 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
20985 2013-01-14 David S. Miller <davem@davemloft.net>
20987 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
20988 (SPARC_ASM_VIS2_IFUNC): Likewise.
20989 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
20990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
20991 use of 'siam' instruction.
20992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
20994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
20996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
20998 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
20999 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
21000 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
21001 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
21002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
21004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
21006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
21008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
21010 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
21011 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
21012 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
21013 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
21014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
21016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
21017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
21018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
21020 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
21021 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
21022 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
21023 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
21024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
21025 routines to libm-sysdep_routines.
21026 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
21028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
21029 fdim/fdimf to libm-sysdep_routines.
21030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
21032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
21033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
21035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
21036 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
21037 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
21038 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
21039 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
21040 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
21041 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
21043 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
21045 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
21046 to optimize copies.
21048 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
21049 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
21050 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21052 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
21053 local variable MPTWO.
21054 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
21057 2013-01-13 Mike Frysinger <vapier@gentoo.org>
21059 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
21062 2013-01-13 Mike Frysinger <vapier@gentoo.org>
21064 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
21066 2013-01-13 Mike Frysinger <vapier@gentoo.org>
21068 * manual/pattern.texi (glob_t): Document gl_flags.
21069 (glob64_t): Likewise.
21071 2013-01-11 David S. Miller <davem@davemloft.net>
21073 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
21074 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
21075 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
21076 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
21077 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
21078 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
21079 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
21080 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
21081 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
21082 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
21083 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
21084 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
21085 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
21087 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
21088 sparc V9 rather than using V8 code.
21089 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
21090 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
21092 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
21094 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
21097 2013-01-11 Roland McGrath <roland@hack.frob.com>
21099 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
21100 not in the main loop.
21101 * configure: Regenerated.
21103 2013-01-11 Joseph Myers <joseph@codesourcery.com>
21105 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
21106 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
21108 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
21109 [!__GLIBC_HAVE_LONG_LONG] case.
21110 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
21111 condition to just #else.
21112 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
21113 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
21114 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
21115 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
21117 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
21118 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
21119 #elif condition to just #else.
21120 * sysdeps/unix/sysv/linux/sys/sysmacros.h
21121 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
21122 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
21123 #elif condition to just #else.
21125 2013-01-11 Steve Ellcey <sellcey@mips.com>
21127 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
21128 (EF_MIPS_ARCH_64): Fix value.
21129 (EF_MIPS_ARCH_32R2): New.
21130 (EF_MIPS_ARCH_64R2): New.
21132 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
21134 * Makeconfig (+link-pie-before-libc): New.
21135 (+link-pie-after-libc): Likewise.
21136 (+link-pie-tests): Likewise.
21137 (+link-pie): Rewritten.
21138 (link-before-libc): Remove $(config-LDFLAGS).
21139 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
21140 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
21141 (config-LDFLAGS): Renamed to ...
21142 (rtld-LDFLAGS): This.
21143 (rtld-tests-LDFLAGS): New macro.
21144 (link-libc-rpath-link): Likewise.
21145 (link-libc-tests-rpath-link): Likewise.
21146 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
21147 (link-libc): Prepand $(link-libc-rpath-link).
21148 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
21149 (test-program-prefix): New macro.
21150 (test-via-rtld-prefix): Likewise.
21151 (test-program-cmd): Likewise.
21152 (host-test-program-cmd): Likewise.
21153 * Makefile ($(common-objpfx)testrun.sh): Replace
21154 $(run-program-prefix) with $(test-program-prefix).
21155 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
21157 ($(common-objpfx)shlib.lds): Likewise.
21158 (build-module-helper): Likewise.
21159 ($(common-objpfx)format.lds): Likewise.
21160 * Rules (binaries-pie-tests): New.
21161 (binaries-pie-notests): Likewise.
21162 (binaries-pie): Rewritten.
21163 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
21164 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
21165 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
21166 (make-test-out): Replace $(host-built-program-cmd) with
21167 $(host-test-program-cmd).
21168 * config.make.in (build-hardcoded-path-in-tests): New variable.
21169 * configure.in (--enable-hardcoded-path-in-tests): New configure
21171 (hardcoded_path_in_tests): New AC_SUBST.
21172 * configure: Regenerated.
21173 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
21174 $(built-program-cmd) with $(test-program-cmd).
21175 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
21176 (test_program_cmd): This.
21177 * elf/Makefile ($(objpfx)order.out): Run test with
21178 $(test-program-prefix).
21179 ($(objpfx)order2.out): Likewise.
21180 ($(objpfx)tst-initorder.out): Likewise.
21181 ($(objpfx)tst-initorder2.out): Likewise.
21182 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
21183 $(test-program-cmd).
21184 ($(objpfx)tst-array1-static.out): Likewise.
21185 ($(objpfx)tst-array2.out): Likewise.
21186 ($(objpfx)tst-array3.out): Likewise.
21187 ($(objpfx)tst-array4.out): Likewise.
21188 ($(objpfx)tst-array5.out): Likewise.
21189 ($(objpfx)tst-array5-static.out): Likewise.
21190 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
21191 $(test-program-cmd).
21192 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
21193 $(run-program-prefix) with $(test-program-prefix).
21194 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
21195 (test_program_prefix): This.
21196 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
21197 $(run-program-prefix) with $(test-program-prefix).
21198 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
21199 (test_program_prefix): This.
21200 * iconvdata/tst-tables.sh: Likewise.
21201 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
21202 $(run-program-prefix) with $(test-program-prefix).
21203 ($(objpfx)tst-translit.out): Likewise.
21204 ($(objpfx)tst-gettext2.out): Likewise.
21205 ($(objpfx)tst-gettext4.out): Likewise.
21206 ($(objpfx)tst-gettext6.out): Likewise.
21207 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
21208 (test_program_prefix): This.
21209 * intl/tst-gettext2.sh: Likewise.
21210 * intl/tst-gettext4.sh Likewise.
21211 * intl/tst-gettext6.sh: Likewise.
21212 * intl/tst-translit.sh: Likewise.
21213 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
21214 with $(test-program-cmd).
21215 * libio/Makefile ($(objpfx)test-freopen.out): Replace
21216 $(run-program-prefix) with $(test-program-prefix).
21217 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
21218 (test_program_prefix): This.
21219 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
21220 $(run-program-prefix) with $(test-program-prefix).
21221 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
21222 (test_program_prefix): This.
21223 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
21224 * posix/Makefile ($(objpfx)globtest.out): Replace
21225 $(run-via-rtld-prefix) and $(test-wrapper) with
21226 $(test-program-prefix) and $(test-via-rtld-prefix).
21227 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
21228 $(test-program-prefix).
21229 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
21230 $(host-test-program-cmd).
21231 (tst-spawn-ARGS): Likewise.
21232 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
21233 $(test-program-prefix).
21234 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
21235 (test_via_rtld_prefix): This.
21236 (test_wrapper): Renamed to ...
21237 (test_program_prefix): This.
21238 (run_program_prefix): Replaced by test_program_prefix.
21239 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
21240 (test_program_prefix): This.
21241 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
21242 with $(host-test-program-cmd).
21243 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
21244 $(run-program-prefix) with $(test-program-prefix).
21245 ($(objpfx)tst-printf.out): Likewise.
21246 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
21247 $(test-program-cmd).
21248 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
21249 (test_program_prefix): This.
21250 * stdio-common/tst-unbputc.sh: Likewise.
21251 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
21252 $(run-program-prefix) with $(test-program-prefix).
21253 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
21254 (test_program_prefix): This.
21255 * string/Makefile ($(objpfx)tst-svc.out): Replace
21256 $(built-program-cmd) with $(test-program-cmd).
21258 2013-01-11 Andreas Jaeger <aj@suse.de>
21261 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
21262 value. Sync with Linux 3.7.
21264 2013-01-10 David S. Miller <davem@davemloft.net>
21266 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
21267 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
21268 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
21270 2013-01-10 Roland McGrath <roland@hack.frob.com>
21272 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
21274 * configure: Regenerated.
21276 2013-01-10 David S. Miller <davem@davemloft.net>
21278 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
21279 sparc V9 rather than using V8 code.
21280 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
21281 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
21283 2013-01-10 Roland McGrath <roland@hack.frob.com>
21285 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
21286 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
21287 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
21288 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
21289 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
21290 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
21291 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
21292 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
21293 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
21294 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
21295 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
21296 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
21297 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
21298 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
21299 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
21300 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
21301 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
21302 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
21303 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
21304 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
21305 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
21306 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
21307 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
21308 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
21309 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
21310 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
21311 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
21313 2013-01-10 David S. Miller <davem@davemloft.net>
21315 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21317 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
21319 * posix/Makefile (tests-static): New variable.
21320 (tests): Add $(tests-static).
21321 (tst-exec-static-ARGS): New variable.
21322 (tst-spawn-static-ARGS): Likewise.
21323 * posix/tst-exec-static.c: New file.
21324 * posix/tst-spawn-static.c: Likewise.
21325 * posix/tst-exec.c: Support run directly.
21326 * posix/tst-spawn.c: Likewise.
21328 2013-01-10 Joseph Myers <joseph@codesourcery.com>
21330 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
21332 * math/bits/mathcalls.h (llrint): Likewise.
21333 (llround): Likewise.
21334 * stdlib/stdlib.h (struct drand48_data): Likewise.
21335 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
21336 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
21337 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
21339 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
21341 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
21342 (elf_greg_t): Likewise.
21343 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
21344 (__jmp_buf): Likewise.
21345 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
21347 (llrint): Likewise, for all definitions.
21348 (llrintl): Likewise.
21350 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
21351 Remove [__GNUC__] condition.
21352 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
21353 condition to just [__USE_ISOC99].
21354 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
21356 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
21359 * sysdeps/unix/sysv/linux/x86/bits/environments.h
21360 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
21362 (_POSIX_V6_ILP32_OFF32): Likewise.
21363 (_XBS5_ILP32_OFF32): Likewise.
21364 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
21365 (__ILP32_OFFBIG_LDFLAGS): Likewise.
21367 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21369 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
21371 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
21372 doubles __mpexp_twomm1. Adjust usage.
21373 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
21376 2013-01-10 Andreas Schwab <schwab@suse.de>
21379 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
21380 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
21382 2013-01-09 David S. Miller <davem@davemloft.net>
21385 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
21386 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
21387 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
21388 (TCP_FASTOPEN): Define.
21389 (tcp_repair_opt): New structure.
21390 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
21392 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
21393 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
21394 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
21395 (tcp_cookie_transactions): New structure.
21397 2013-01-09 Anton Blanchard <anton@samba.org>
21399 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
21400 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
21401 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
21402 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
21404 2013-01-09 Joseph Myers <joseph@codesourcery.com>
21406 * include/features.h (__USE_ANSI): Remove.
21408 2013-01-09 Roland McGrath <roland@hack.frob.com>
21410 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
21412 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
21414 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
21416 * sysdeps/s390/fpu/libm-test-ulps: Update.
21418 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21420 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
21424 (denorm): Likewise.
21425 (__mp_dbl): Likewise.
21426 (__dbl_mp): Likewise.
21427 (add_magnitudes): Likewise.
21428 (sub_magnitudes): Likewise.
21434 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
21438 (denorm): Likewise.
21439 (__mp_dbl): Likewise.
21440 (__dbl_mp): Likewise.
21441 (add_magnitudes): Likewise.
21442 (sub_magnitudes): Likewise.
21448 * sysdeps/powerpc/powerpc64/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.
21463 2013-01-08 Joseph Myers <joseph@codesourcery.com>
21465 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
21466 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
21467 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
21468 2 && __USE_EXTERN_INLINES]: Likewise.
21470 2013-01-08 Andreas Jaeger <aj@suse.de>
21473 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
21475 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
21476 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
21478 2013-01-07 Anton Blanchard <anton@samba.org>
21480 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
21481 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
21482 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
21483 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
21484 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
21485 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21486 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
21487 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
21488 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
21489 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
21490 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21491 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21492 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
21493 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21494 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
21495 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21496 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21497 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21498 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
21499 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
21500 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
21501 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
21502 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
21503 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
21504 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
21505 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
21506 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
21507 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
21508 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
21509 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
21510 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
21511 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21512 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
21513 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
21514 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
21515 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
21516 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21517 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
21518 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
21519 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
21520 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
21521 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21522 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
21524 2013-01-07 Joseph Myers <joseph@codesourcery.com>
21526 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
21527 (__MALLOC_PMT): Likewise.
21528 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
21529 [__GNUC__], only on [_LIBC].
21530 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
21531 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
21532 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
21533 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
21534 forward declaration.
21535 (realloc_hook_ini): Likewise.
21536 (memalign_hook_ini): Likewise.
21537 (__libc_memalign): Do not use __MALLOC_PMT in variable
21539 (__libc_valloc): Likewise.
21540 (__libc_pvalloc): Likewise.
21541 (__libc_calloc): Likewise.
21542 (__posix_memalign): Likewise.
21545 * math/s_casinh.c: Include <float.h>.
21546 (__casinh): Do not do computation with squaring and square root
21547 for large arguments.
21548 * math/s_casinhf.c: Include <float.h>.
21549 (__casinhf): Do not do computation with squaring and square root
21550 for large arguments.
21551 * math/s_casinhl.c: Include <float.h>.
21552 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
21553 (__casinhl): Do not do computation with squaring and square root
21554 for large arguments.
21555 * math/libm-test.inc (casin_test): Add more tests.
21556 (casinh_test): Likewise.
21557 * sysdeps/i386/fpu/libm-test-ulps: Update.
21558 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21560 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
21562 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
21563 (__x86_64_raw_data_cache_size): Likewise.
21564 (__x86_64_data_cache_size_half): Likewise.
21565 (__x86_64_raw_data_cache_size_half): Likewise.
21566 (__x86_64_shared_cache_size): Likewise.
21567 (__x86_64_raw_shared_cache_size): Likewise.
21568 (__x86_64_shared_cache_size_half): Likewise.
21569 (__x86_64_raw_shared_cache_size_half): Likewise.
21570 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
21572 (__x86_data_cache_size): This.
21573 (__x86_64_raw_data_cache_size): Renamed to ...
21574 (__x86_raw_data_cache_size): This.
21575 (__x86_64_data_cache_size_half): Renamed to ...
21576 (__x86_data_cache_size_half): This.
21577 (__x86_64_raw_data_cache_size_half): Renamed to ...
21578 (__x86_raw_data_cache_size_half): This.
21579 (__x86_64_shared_cache_size): Renamed to ...
21580 (__x86_shared_cache_size): This.
21581 (__x86_64_raw_shared_cache_size): Renamed to ...
21582 (__x86_raw_shared_cache_size): This.
21583 (__x86_64_shared_cache_size_half): Renamed to ...
21584 (__x86_shared_cache_size_half): This.
21585 (__x86_64_raw_shared_cache_size_half): Renamed to ...
21586 (__x86_raw_shared_cache_size_half): This.
21587 * sysdeps/x86_64/memcpy.S: Updated.
21588 * sysdeps/x86_64/memset.S: Likewise.
21589 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
21590 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21591 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21593 2013-01-04 David S. Miller <davem@davemloft.net>
21595 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21597 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
21599 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
21600 1 to avoid redefinition warning.
21601 (__USE_GNU): Don't define.
21602 (init_signaling_nan): Protoize.
21604 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21606 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21608 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
21609 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
21610 (__cpymn): Likewise.
21611 (norm): Remove commented code.
21612 (denorm): Likewise.
21613 (__mp_dbl): Likewise.
21615 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
21616 (__cpymn): Likewise.
21617 (norm): Remove commented code.
21618 (denorm): Likewise.
21619 (__mp_dbl): Likewise.
21622 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
21623 mp_no value for 1.0 and 2.0.
21624 (norm): Use RADIXI instead of radixi.d.
21625 (denorm): Likewise.
21626 (__mul): Use 0.0 instead of zero.d.
21627 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
21628 mp_no value for 1.0 and 2.0.
21629 (norm): Use RADIXI instead of radixi.d.
21630 (denorm): Likewise.
21631 (__mul): Use 0.0 instead of zero.d.
21633 2013-01-04 Joseph Myers <joseph@codesourcery.com>
21636 * math/s_casinh.c (__casinh): Reduce finite argument to first
21637 quadrant then set signs of results at the end.
21638 * math/s_casinhf.c (__casinhf): Likewise.
21639 * math/s_casinhl.c (__casinhl): Likewise.
21640 * math/libm-test.inc (casin_test): Add more tests.
21641 (casinh_test): Likewise.
21642 * sysdeps/i386/fpu/libm-test-ulps: Update.
21643 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21645 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21647 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
21649 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
21651 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
21653 (denorm): Likewise.
21654 (__mp_dbl): Likewise.
21657 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
21658 and adjust the header comment.
21660 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
21661 variable name from declaration.
21663 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
21665 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21666 Initialize COMMON_CPUID_INDEX_7 element.
21667 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
21668 (CPUID_RTM): Likewise.
21669 (HAS_RTM): Likewise.
21670 (COMMON_CPUID_INDEX_7): New enum.
21672 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
21675 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
21676 size is zero, record memory as freed.
21678 2013-01-03 Andreas Jaeger <aj@suse.de>
21680 * po/ia.po: Add new Interlingua translation.
21682 2012-01-03 Allan McRae <allan@archlinux.org>
21684 * locale/programs/localedef.c: Fix description of '--posix' flag.
21686 2013-01-02 Joseph Myers <joseph@codesourcery.com>
21688 * NEWS: Update dates in second copyright notice.
21689 * README: Update copyright dates in example.
21690 * manual/libc.texinfo: Update copyright dates.
21691 * scripts/test-installation.pl: Update copyright date in --version
21694 * hurd/ctty-input.c: Fix copyright notice formatting.
21695 * hurd/ctty-output.c: Likewise.
21696 * hurd/dtable.c: Likewise.
21697 * hurd/hurd-raise.c: Likewise.
21698 * hurd/hurdprio.c: Likewise.
21699 * hurd/msgportdemux.c: Likewise.
21700 * misc/sys/file.h: Likewise.
21701 * misc/sys/ioctl.h: Likewise.
21702 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
21703 * sysdeps/mach/hurd/chdir.c: Likewise.
21704 * sysdeps/mach/hurd/fchdir.c: Likewise.
21705 * sysdeps/mach/hurd/rename.c: Likewise.
21706 * sysdeps/mach/hurd/rmdir.c: Likewise.
21707 * sysdeps/mach/hurd/seekdir.c: Likewise.
21708 * sysdeps/mach/hurd/setsid.c: Likewise.
21709 * sysdeps/posix/wait3.c: Likewise.
21711 * All files with FSF copyright notices: Update copyright dates
21712 using scripts/update-copyrights.
21713 * intl/plural.c: Regenerated.
21714 * locale/programs/charmap-kw.h: Likewise.
21715 * locale/programs/locfile-kw.h: Likewise.
21717 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
21719 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
21722 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
21723 calculation loop and add branch prediction.
21725 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
21726 check access beyond bounds of m1np.
21728 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
21730 (__inv): Remove local variable MPTWO to use the global
21732 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
21733 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
21735 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
21736 MP3HALFS static const.
21738 2013-01-01 David S. Miller <davem@davemloft.net>
21740 * po/ca.po: Update from translation team.
21742 2013-01-01 Joseph Myers <joseph@codesourcery.com>
21744 * scripts/update-copyrights: New file.
21745 * Makeconfig: Reformat copyright notice.
21746 * ctype/ctype.h: Likewise.
21747 * debug/swprintf_chk.c: Likewise.
21748 * elf/dl-cache.c: Likewise.
21749 * elf/dl-debug.c: Likewise.
21750 * elf/dl-object.c: Likewise.
21751 * grp/initgroups.c: Likewise.
21752 * hurd/Makefile: Likewise.
21753 * hurd/hurd/signal.h: Likewise.
21754 * hurd/hurdfault.c: Likewise.
21755 * hurd/hurdioctl.c: Likewise.
21756 * hurd/hurdlookup.c: Likewise.
21757 * hurd/intr-msg.c: Likewise.
21758 * iconv/gconv_open.c: Likewise.
21759 * libio/swprintf.c: Likewise.
21760 * locale/lc-ctype.c: Likewise.
21761 * locale/nl_langinfo.c: Likewise.
21762 * mach/Machrules: Likewise.
21763 * mach/Makefile: Likewise.
21764 * malloc/obstack.h: Likewise.
21765 * manual/Makefile: Likewise.
21766 * manual/tsort.awk: Likewise.
21767 * misc/bits/stab.def: Likewise.
21768 * nis/nis_print_group_entry.c: Likewise.
21769 * nis/nis_table.c: Likewise.
21770 * nis/nss_compat/compat-pwd.c: Likewise.
21771 * nis/nss_compat/compat-spwd.c: Likewise.
21772 * po/Makefile: Likewise.
21773 * posix/fnmatch.c: Likewise.
21774 * posix/regex.h: Likewise.
21775 * resolv/Makefile: Likewise.
21776 * resolv/nss_dns/dns-network.c: Likewise.
21777 * resolv/res_hconf.c: Likewise.
21778 * scripts/gen-sorted.awk: Likewise.
21779 * soft-fp/soft-fp.h: Likewise.
21780 * stdio-common/printf.h: Likewise.
21781 * stdlib/monetary.h: Likewise.
21782 * stdlib/random.c: Likewise.
21783 * stdlib/random_r.c: Likewise.
21784 * sysdeps/generic/Makefile: Likewise.
21785 * sysdeps/gnu/Makefile: Likewise.
21786 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21787 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21788 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21789 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21790 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21791 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21792 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21793 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21794 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21795 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21796 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21797 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21798 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
21799 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
21800 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
21801 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
21802 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21803 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21804 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21805 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21806 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
21807 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
21808 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21809 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
21810 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
21811 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
21812 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
21813 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
21814 * sysdeps/mach/hurd/errnos.awk: Likewise.
21815 * sysdeps/mach/hurd/fork.c: Likewise.
21816 * sysdeps/mach/hurd/getcwd.c: Likewise.
21817 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
21818 * sysdeps/mach/hurd/mmap.c: Likewise.
21819 * sysdeps/mach/hurd/utimes.c: Likewise.
21820 * sysdeps/mach/hurd/xmknod.c: Likewise.
21821 * sysdeps/posix/profil.c: Likewise.
21822 * sysdeps/posix/readdir_r.c: Likewise.
21823 * sysdeps/powerpc/bits/mathdef.h: Likewise.
21824 * sysdeps/powerpc/bits/setjmp.h: Likewise.
21825 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
21826 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
21827 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
21828 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
21829 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
21830 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21831 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21832 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
21833 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
21834 * sysdeps/pthread/lio_listio.c: Likewise.
21835 * sysdeps/sparc/dl-procinfo.h: Likewise.
21836 * sysdeps/unix/i386/sysdep.S: Likewise.
21837 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
21838 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
21839 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
21840 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
21841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21842 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
21843 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
21844 * sysdeps/unix/sysv/linux/speed.c: Likewise.
21845 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
21846 * sysdeps/wordsize-32/divdi3.c: Likewise.
21847 * time/sys/time.h: Likewise.
21848 * wcsmbs/Makefile: Likewise.
21850 2013-01-01 David S. Miller <davem@davemloft.net>
21852 * po/fr.po: Update from translation team.
21854 * catgets/gencat.c: Update copyright year.
21855 * csu/version.c: Likewise.
21856 * debug/catchsegv.sh: Likewise.
21857 * debug/pcprofiledump.c: Likewise.
21858 * debug/xtrace.sh: Likewise.
21859 * elf/ldconfig.c: Likewise.
21860 * elf/ldd.bash.in: Likewise.
21861 * elf/pldd.c: Likewise.
21862 * elf/sotruss.ksh: Likewise.
21863 * elf/sprof.c: Likewise.
21864 * iconv/iconv_prog.c: Likewise.
21865 * iconv/iconvconfig.c: Likewise.
21866 * locale/programs/locale.c: Likewise.
21867 * locale/programs/localedef.c: Likewise.
21868 * login/programs/pt_chown.c: Likewise.
21869 * malloc/memusage.sh: Likewise.
21870 * malloc/memusagestat.c: Likewise.
21871 * malloc/mtrace.pl: Likewise.
21872 * nscd/nscd.c: Likewise.
21873 * nss/getent.c: Likewise.
21874 * nss/makedb.c: Likewise.
21875 * posix/getconf.c: Likewise.
21877 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
21879 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
21882 2012-12-30 Mike Frysinger <vapier@gentoo.org>
21884 * math/bits/mathcalls.h (modf): Use __nonnull.
21886 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21888 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
21889 (split): Use macro CN instead of the bare value.
21890 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
21892 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
21893 instead of the bare value.
21894 (power1): Likewise.
21896 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21898 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
21900 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21902 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
21904 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
21905 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21906 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
21907 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
21909 2012-12-28 Andreas Jaeger <aj@suse.de>
21911 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
21912 values are from Linux 3.7.
21914 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
21915 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
21917 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21919 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
21922 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
21924 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
21925 variables with preprocessor constants.
21926 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21927 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
21928 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
21930 2012-12-27 Bruno Haible <bruno@clisp.org>
21933 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
21936 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21938 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
21939 and use variable directly.
21940 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
21942 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
21944 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
21945 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
21947 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21948 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
21949 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
21950 include directive. Remove local variable MPONE.
21951 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
21952 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
21953 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21955 2012-12-25 David S. Miller <davem@davemloft.net>
21957 * version.h (RELEASE): Set to "development".
21958 (VERSION): Set to "2.17.90".
21959 * NEWS: Add 2.18 section.
21961 2012-12-21 David S. Miller <davem@davemloft.net>
21963 * po/hr.po: Update from translation team.
21965 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21967 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
21969 2012-12-19 Steve Ellcey <sellcey@mips.com>
21971 * NEWS: Mention new memcpy for MIPS.
21973 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21975 * manual/contrib.texi (Contributors): Spelling correction.
21977 2012-12-15 David S. Miller <davem@davemloft.net>
21979 * po/ru.po: Update from translation team.
21981 2012-12-13 David S. Miller <davem@davemloft.net>
21983 * NEWS: Mention IFUNC testsuite enhancements.
21985 * po/pl.po: Update from translation team.
21986 * po/bg.po: Likewise.
21988 * manual/contrib.texi (Contributors): Update entries for Hongjiu
21989 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
21991 2012-12-11 David S. Miller <davem@davemloft.net>
21993 * po/sv.po: Update from translation team.
21995 * po/vi.po: Update from translation team.
21997 * po/cs.po: Update from translation team.
21999 * po/de.po: Update from translation team.
22000 * po/eo.po: Likewise.
22001 * po/nl.po: Likewise.
22003 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22006 * manual/argp.texi (Argp Helper Functions): Move node to follow
22007 Argp Parsing State.
22010 * manual/conf.texi (Limits on File System Capacity): Mention if
22011 terminating null is included in the max size.
22013 2012-12-10 Andreas Jaeger <aj@suse.de>
22015 * po/cs.po: Update from translation team.
22017 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
22019 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
22020 void pointer and cast to uintptr_t.
22021 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
22023 * sysdeps/s390/s390-64/memcpy.S: Likewise.
22024 * sysdeps/s390/s390-64/memset.S: Likewise.
22026 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
22029 * menual/message.texi (Message Translation): Fix typos.
22030 (Helper programs for gettext): Likewise.
22032 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
22035 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
22038 2012-12-07 David S. Miller <davem@davemloft.net>
22040 * po/libc.pot: Update.
22042 2012-12-07 Richard Henderson <rth@redhat.com>
22045 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
22046 normal/normal case to before the switch.
22047 (_FP_DIV): Likewise.
22049 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
22050 Mike Frysinger <vapier@gentoo.org>
22052 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
22053 check for __NR_fadvise64_64.
22055 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
22057 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
22058 0, not just to plain "0" as a statement.
22059 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
22062 2012-12-06 Joseph Myers <joseph@codesourcery.com>
22064 * NEWS: Use sourceware.org in Bugzilla URL.
22066 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
22068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
22069 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
22071 * stdio-common/tst-put-error.c (do_test): Add newline to the
22072 padded test to ensure flush.
22074 2012-12-05 Jeff Law <law@redhat.com>
22076 * sunrpc/etc.rpc (fedfs_admin): Add entry.
22078 2012-12-05 Joseph Myers <joseph@codesourcery.com>
22080 * README: Don't refer to ports add-on as distributed separately.
22081 Mention AArch64 in list of systems supported in the ports add-on.
22083 * LICENSES: Add more non-FSF copyright and license notices.
22085 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
22088 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
22090 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
22091 10000 as width of padded output.
22093 2012-12-04 Joseph Myers <joseph@codesourcery.com>
22095 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
22097 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
22098 variable LX with __attribute__ ((unused)).
22099 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
22101 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
22102 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22103 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
22104 with __attribute__ ((unused)).
22106 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
22108 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
22110 2012-12-04 Joseph Myers <joseph@codesourcery.com>
22112 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
22113 (CFLAGS-nldbl-acos.c): New variable.
22114 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
22115 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
22116 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
22117 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
22118 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
22119 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
22120 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
22121 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
22122 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
22123 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
22124 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
22125 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
22126 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
22127 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
22128 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
22129 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
22130 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
22131 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
22132 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
22133 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
22134 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
22135 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
22136 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
22137 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
22138 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
22139 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
22140 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
22141 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
22142 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
22143 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
22144 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
22145 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
22146 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
22147 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
22148 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
22149 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
22150 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
22151 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
22152 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
22153 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
22154 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
22155 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
22156 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
22157 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
22158 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
22159 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
22160 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
22161 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
22162 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
22163 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
22164 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
22165 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
22166 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
22167 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
22168 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
22169 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
22170 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
22171 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
22172 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
22173 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
22174 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
22175 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
22176 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
22177 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
22178 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
22179 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
22180 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
22181 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
22182 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
22183 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
22184 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
22185 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
22186 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
22187 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
22188 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
22189 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
22190 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
22191 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
22192 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
22193 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
22194 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
22195 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
22196 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
22197 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
22198 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
22199 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
22200 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
22201 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
22202 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
22203 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
22204 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
22205 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
22206 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
22207 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
22208 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
22209 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
22210 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
22212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22213 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
22216 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
22217 whole low double instead of just low 47 bits when splitting values
22220 2012-12-03 Allan McRae <allan@archlinux.org>
22222 * manual/stdio.texi (Predefined Printf Handlers): Remove
22223 @hsep and @vsep usage.
22225 2012-12-03 Mike Frysinger <vapier@gentoo.org>
22227 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
22228 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
22230 2012-12-03 Jeff Law <law@redhat.com>
22232 * time/sys/time.h (settimeofday): Do not mark TV argument
22235 2012-12-01 Mike Frysinger <vapier@gentoo.org>
22237 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
22238 when currently writing and seek to current position when not.
22239 * libio/Makefile (tests): Remove bug-fclose1.
22240 * libio/bug-fclose1.c: Delete.
22242 2012-12-01 Joseph Myers <joseph@codesourcery.com>
22244 * manual/arith.texi (feenableexcept): Fix typo.
22245 (fedisableexcept): Likewise.
22247 2012-11-30 Roland McGrath <roland@hack.frob.com>
22249 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
22250 second, differently-typed declaration, rather than a cast.
22252 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22254 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
22255 * include/rpc/svc.h: ... here.
22257 2012-11-30 Aurelien Jarno <aurel32@debian.org>
22260 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
22261 depending n and resplen2 to catch cases where answer
22264 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
22266 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
22267 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
22269 2012-11-29 Mike Frysinger <vapier@gentoo.org>
22271 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
22273 2012-11-29 Roland McGrath <roland@hack.frob.com>
22275 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
22277 2012-11-28 Jeff Law <law@redhat.com>
22280 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
22281 dataset_temporary. Track alloca usage into alloca_used.
22282 If dataset is large allocate and release it via malloc/free.
22284 2012-06-04 Florian Weimer <fweimer@redhat.com>
22287 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
22289 2012-11-28 David S. Miller <davem@davemloft.net>
22291 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22293 2012-11-28 Joseph Myers <joseph@codesourcery.com>
22296 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
22297 of pi/2 rounded to nearest to 64 bits.
22298 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
22299 nearest to 64 bits.
22300 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
22303 2012-11-28 Jeff Law <law@redhat.com>
22304 Martin Osvald <mosvald@redhat.com>
22307 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
22308 * sunrpc/svc.c: Include time.h.
22309 (__svc_accept_failed): New function.
22310 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
22311 any reason other than EINTR, call __svc_accept_failed.
22312 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
22313 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
22315 2012-11-28 Andreas Schwab <schwab@suse.de>
22317 * scripts/abilist.awk: Also handle indirect functions in .opd
22320 2012-11-28 Joseph Myers <joseph@codesourcery.com>
22323 * sysdeps/x86/fpu/powl_helper.c: New file.
22324 * sysdeps/x86/fpu/Makefile: Likewise.
22325 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
22327 (__ieee754_powl): Use __powl_helper for finite arguments except
22328 integer exponents below 8.
22329 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
22331 (__ieee754_powl): Use __powl_helper for finite arguments except
22332 integer exponents below 8.
22333 * math/libm-test.inc (pow_test): Add more tests and enable some
22334 previously disabled tests.
22335 * sysdeps/i386/fpu/libm-test-ulps: Update.
22336 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22338 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22339 Carlos O'Donell <carlos_odonell@mentor.com>
22341 * nss/makedb.c (is_prime): Assert that input is odd and greater
22342 than 4. Note that fact in a comment too.
22343 (next_prime): Add 4 to input.
22345 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22348 * libio/Makefile (tests): Add test case tst-fwrite-error.
22349 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
22350 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
22351 * libio/tst-fwrite-error.c: New test case.
22353 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
22355 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
22356 before casting to void *.
22357 * include/libc-internal.h (__pointer_type): New macro.
22358 (__integer_if_pointer_type_sub): Likewise.
22359 (__integer_if_pointer_type): Likewise.
22360 (cast_to_integer): Likewise.
22361 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
22362 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
22363 before casting to atomic64_t.
22364 (atomic_exchange_acq): Likewise.
22365 (__arch_exchange_and_add_body): Likewise.
22366 (__arch_add_body): Likewise.
22367 (atomic_add_negative): Likewise.
22368 (atomic_add_zero): Likewise.
22370 2012-11-26 Joseph Myers <joseph@codesourcery.com>
22372 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
22373 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
22374 (add_fdes): Likewise.
22375 (linear_search_fdes): Likewise.
22376 (binary_search_unencoded_fdes): Likewise.
22378 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
22380 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
22382 2012-11-24 Adam Conrad <adconrad@0c3.net>
22384 * configure.in: Autodetect C++ header directories.
22385 * configure: Regenerated.
22387 2012-11-23 Mike Frysinger <vapier@gentoo.org>
22389 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
22391 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
22393 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22395 2012-11-22 Joseph Myers <joseph@codesourcery.com>
22397 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
22398 LDBL_MANT_DIG == 106]: Disable some tests.
22399 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
22401 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
22405 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
22406 input for small inputs. Return +/- pi/2 for large inputs.
22407 * math/libm-test.inc (atan_test): Add more tests.
22409 * sysdeps/generic/unwind-dw2-fde-glibc.c
22410 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
22411 __attribute__ ((unused)).
22414 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
22415 x * y if x and y are nonzero and z is zero.
22418 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
22419 nonzero exponents with absolute value below 0x1p-117 to +/-
22423 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
22424 up arguments below 2**-450, not just those below 2**-500.
22425 * math/libm-test.inc (hypot_test): Add another test.
22428 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
22429 Return a+b for ratio over 2**120, not 2**60.
22430 * math/libm-test.inc (hypot_test): Add another test.
22432 * math/libm-test.inc (clog_test): Use
22433 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
22434 (clog10_test): Likewise.
22437 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
22439 2012-11-22 Andreas Schwab <schwab@suse.de>
22441 * sysdeps/i386/fpu/libm-test-ulps: Update.
22443 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
22445 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
22446 printf output with newline.
22448 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
22451 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
22452 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
22453 -z nodlopen, -z initfirst and -z execstack support.
22454 * configure: Regenerated.
22456 * elf/elf.h (DF_1_NODIRECT): New macro.
22457 (DF_1_IGNMULDEF): Likewise.
22458 (DF_1_NOKSYMS): Likewise.
22459 (DF_1_NOHDR): Likewise.
22460 (DF_1_EDITED): Likewise.
22461 (DF_1_NORELOC): Likewise.
22462 (DF_1_SYMINTPOSE): Likewise.
22463 (DF_1_GLOBAUDIT): Likewise.
22464 (DF_1_SINGLETON): Likewise.
22465 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
22466 DT_1_SUPPORTED_MASK bits.
22467 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
22469 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
22471 * sysdeps/unix/make-syscalls.sh: Document prefixes.
22473 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
22475 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
22478 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
22479 (sendmmsg): Move declarations...
22480 * socket/sys/socket.h: ... here.
22481 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
22482 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
22484 * socket/recvmmsg.c: ... this new file.
22485 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
22486 (sendmmsg): Rename to __sendmmsg, create weak alias and make
22487 definition of __sendmmsg hidden.
22488 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
22489 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
22490 Move ENOSYS stub into and include it from...
22491 * socket/sendmmsg.c: ... this new file.
22492 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
22493 (sysdep_routines): Move recvmmsg and sendmmsg...
22494 * socket/Makefile (routines): ... here.
22495 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
22496 (GLIBC_PRIVATE): Add __sendmmsg.
22497 * include/sys/socket.h (__sendmmsg): Add declarations.
22498 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
22501 2012-11-20 Joseph Myers <joseph@codesourcery.com>
22503 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
22504 variable I1 with __attribute__ ((unused)).
22505 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
22507 2012-11-19 Joseph Myers <joseph@codesourcery.com>
22509 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
22510 DUMMY variables with __attribute__ ((unused)).
22512 * bits/byteswap.h: Include <bits/types.h>.
22513 (__bswap_64): Use __uint64_t instead of unsigned long long int.
22515 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
22517 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
22518 string_t. Do not manually set errno.
22519 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
22520 length with __strnlen. Make sure to both set errno and return it on
22523 2012-11-19 David S. Miller <davem@davemloft.net>
22525 With help from Joseph Myers.
22526 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
22527 very large arguments properly.
22528 * math/libm-test.inc (atan_test): New tests.
22529 (atan2_test): New tests.
22530 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22531 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22533 2012-11-19 Joseph Myers <joseph@codesourcery.com>
22536 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
22539 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
22540 [POSIX] (EADDRNOTAVAIL): Likewise.
22541 [POSIX] (EAFNOSUPPORT): Likewise.
22542 [POSIX] (EALREADY): Likewise.
22543 [POSIX] (ECONNABORTED): Likewise.
22544 [POSIX] (ECONNREFUSED): Likewise.
22545 [POSIX] (ECONNRESET): Likewise.
22546 [POSIX] (EDESTADDRREQ): Likewise.
22547 [POSIX] (EDQUOT): Likewise.
22548 [POSIX] (EHOSTUNREACH): Likewise.
22549 [POSIX] (EIDRM): Likewise.
22550 [POSIX] (EISCONN): Likewise.
22551 [POSIX] (ELOOP): Likewise.
22552 [POSIX] (EMULTIHOP): Likewise.
22553 [POSIX] (ENETDOWN): Likewise.
22554 [POSIX] (ENETUNREACH): Likewise.
22555 [POSIX] (ENOBUFS): Likewise.
22556 [POSIX] (ENODATA): Likewise.
22557 [POSIX] (ENOLINK): Likewise.
22558 [POSIX] (ENOMSG): Likewise.
22559 [POSIX] (ENOPROTOOPT): Likewise.
22560 [POSIX] (ENOSR): Likewise.
22561 [POSIX] (ENOSTR): Likewise.
22562 [POSIX] (ENOTCONN): Likewise.
22563 [POSIX] (ENOTSOCK): Likewise.
22564 [POSIX] (EOPNOTSUPP): Likewise.
22565 [POSIX] (EOVERFLOW): Likewise.
22566 [POSIX] (EPROTO): Likewise.
22567 [POSIX] (EPROTONOSUPPORT): Likewise.
22568 [POSIX] (EPROTOTYPE): Likewise.
22569 [POSIX] (ESTALE): Likewise.
22570 [POSIX] (ETIME): Likewise.
22571 [POSIX] (ETXTBSY): Likewise.
22572 [POSIX] (EWOULDBLOCK): Likewise.
22573 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
22574 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
22575 [POSIX] (SEEK_CUR): Likewise.
22576 [POSIX] (SEEK_END): Likewise.
22577 [POSIX || UNIX98] (mode_t): Do not require.
22578 [POSIX] (off_t): Likewise.
22579 [POSIX] (pid_t): Likewise.
22580 [POSIX] (sys/stat.h): Do not allow header.
22581 [POSIX] (unistd.h): Likewise.
22582 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
22583 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
22584 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
22585 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
22587 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
22588 sigevent): Specify elements.
22589 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
22591 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
22592 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
22594 * conform/data/cpio.h-data [POSIX]: Disable whole file.
22595 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
22596 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
22597 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
22598 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
22599 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
22600 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
22601 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
22602 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
22603 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
22604 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
22605 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
22606 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
22607 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
22609 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
22611 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
22613 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
22615 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
22616 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
22617 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
22618 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
22619 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
22620 Specify lower bound on value.
22621 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
22622 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
22623 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
22624 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
22625 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
22626 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
22627 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
22628 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
22630 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
22632 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
22633 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
22634 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
22635 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
22636 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
22637 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
22638 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
22639 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
22640 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
22641 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
22642 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
22643 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
22644 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
22645 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
22646 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
22647 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
22649 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
22651 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
22652 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
22653 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
22654 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
22655 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
22656 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
22658 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
22659 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
22660 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
22661 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
22662 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
22663 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
22664 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
22666 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
22667 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
22668 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
22669 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
22670 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
22671 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
22672 specify as optional.
22673 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
22674 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
22675 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
22676 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
22677 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
22678 [XPG3] (NL_LANGMAX): Likewise.
22679 [POSIX || XPG3] (NL_MSGMAX): Likewise.
22680 [POSIX || XPG3] (NL_NMAX): Likewise.
22681 [POSIX || XPG3] (NL_SETMAX): Likewise.
22682 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
22683 [XPG3] (NZERO): Likewise.
22684 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
22685 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
22686 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
22687 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
22688 (REG_ERANGE): Expect.
22689 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
22691 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
22692 Use (void) in prototype.
22693 [POSIX] (*_t): Allow.
22694 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
22695 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
22696 (WRDE_BADVAL): Expect.
22698 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
22700 [XPG3 || XPG4] (O_RSYNC): Likewise.
22701 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
22703 [XPG3 || XPG4] (pthread_sigmask): Likewise.
22704 [XPG3 || XPG4] (sigqueue): Likewise.
22705 [XPG3 || XPG4] (sigtimedwait): Likewise.
22706 [XPG3 || XPG4] (sigwaitinfo): Likewise.
22707 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
22708 [XPG3 || XPG4] (vsnprintf): Likewise.
22709 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
22711 [XPG3 || XPG4] (blksize_t): Likewise.
22712 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
22714 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
22715 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
22716 [XPG3 || XPG4] (struct itimerspec): Likewise.
22717 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
22718 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
22719 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
22720 [XPG3 || XPG4] (clockid_t): Likewise.
22721 [XPG3 || XPG4] (timer_t): Likewise.
22722 [XPG3 || XPG4] (clock_getres): Likewise.
22723 [XPG3 || XPG4] (clock_gettime): Likewise.
22724 [XPG3 || XPG4] (clock_settime): Likewise.
22725 [XPG3 || XPG4] (nanosleep): Likewise.
22726 [XPG3 || XPG4] (timer_create): Likewise.
22727 [XPG3 || XPG4] (timer_delete): Likewise.
22728 [XPG3 || XPG4] (timer_gettime): Likewise.
22729 [XPG3 || XPG4] (timer_getoverrun): Likewise.
22730 [XPG3 || XPG4] (timer_settime): Likewise.
22731 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
22732 [XPG3 || XPG4] (getlogin_r): Likewise.
22733 [XPG3 || XPG4] (pread): Likewise.
22734 [XPG3 || XPG4] (pthread_atfork): Likewise.
22735 [XPG3 || XPG4] (pwrite): Likewise.
22738 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
22741 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
22743 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
22744 finalizing MALLSTREAM.
22746 * sysdeps/mach/hurd/syncfs.c: New file.
22748 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22751 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
22752 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
22753 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
22754 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
22755 (_nss_dns_gethostbyname4_r): Likewise.
22756 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
22757 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
22759 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
22762 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
22764 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
22766 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
22767 * elf/cache.c (print_entry): Print ",AArch64" for
22770 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
22771 * elf/cache.c (print_entry): Print ",hard-float" for
22774 2012-11-18 David S. Miller <davem@davemloft.net>
22776 With help from Joseph Myers.
22777 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
22779 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
22781 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
22782 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
22784 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
22785 * math/libm-test.inc (y0_test): New tests.
22786 (y1_test): New tests.
22787 * sysdeps/i386/fpu/libm-test-ulps: Update.
22788 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22789 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22791 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
22793 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
22795 * configure: Regenerated.
22797 2012-11-17 David S. Miller <davem@davemloft.net>
22800 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
22801 nonzero exponents with absolute value below 0x1p-128 to +/-
22804 2012-11-17 Joseph Myers <joseph@codesourcery.com>
22806 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
22808 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
22810 * posix/getconf-speclist.c: New file.
22811 * posix/posix-envs.def: Likewise.
22812 * posix/confstr.c (START_ENV_GROUP): New macro.
22813 (END_ENV_GROUP): Likewise.
22814 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
22815 (KNOWN_PRESENT_ENV_STRING): Likewise.
22816 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
22817 (UNKNOWN_ENVIRONMENT): Likewise.
22818 (confstr): Include posix-envs.def instead of handling
22819 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
22820 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
22821 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
22822 (END_ENV_GROUP): Likewise.
22823 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
22824 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
22825 (UNKNOWN_ENVIRONMENT): Likewise.
22826 (__sysconf): Include posix-envs.def instead of handling associated
22827 cases directly here.
22828 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
22829 preprocessing getconf-speclist.c rather than running getconf or
22830 generating empty file.
22832 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
22834 * scripts/check-local-headers.sh: Ignore 'mach' headers.
22836 2012-11-16 Andrej Lajovic <natrij@gmail.com>
22839 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
22841 2012-11-16 David S. Miller <davem@davemloft.net>
22843 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
22844 smaller than LDBL_EPSILON/2.0L, just return xm1.
22846 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
22848 * elf/tst-array1.c (init): Set constructor priority to 1000.
22849 (fini): Set destructor priority to 1000.
22850 * elf/tst-array2dep.c: Likewise.
22852 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22855 * libio/fileops.c (_IO_new_file_write): Correctly return error.
22856 (_IO_new_file_xsputn): Also return EOF if none of the input
22857 data was written when overflow failed.
22858 * libio/iopadn.c (_IO_padn): Likewise.
22859 * libio/iowpadn.c (_IO_wpadn): Likewise.
22860 * stdio-common/tst-put-error.c: Add copyright notice.
22861 (do_test): Add case for printing padded string.
22862 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
22863 _IO_padn returned error.
22864 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
22865 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
22868 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22870 * libio/libioP.h: Add comment note that the references to C++
22871 bits are now obsolete.
22873 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22875 * math/libm-test.inc (check_complex): Use asprintf.
22877 2012-11-14 Joseph Myers <joseph@codesourcery.com>
22879 * debug/pcprofiledump.c (print_version): Update copyright year.
22880 * malloc/memusagestat.c (print_version): Likewise.
22882 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
22885 * elf/Makefile (tests): Add tst-audit8.
22886 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
22887 ($(objpfx)tst-audit8.out): New target.
22888 (tst-audit8-ENV): New variable.
22889 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
22890 audit if l_reloc_result is NULL.
22891 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
22892 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
22893 * elf/tst-audit8.c: New file.
22895 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22897 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
22898 * misc/Makefile (CFLAGS-select.c): Define.
22899 * posix/Makefile (CFLAGS-pause.c): Define.
22901 2012-11-13 David S. Miller <davem@davemloft.net>
22903 * crypt/Makefile: Move test targets after toplevel Rules
22904 inclusion. Grab any necessary sysdep routines when linking.
22905 * crypt/md5.c (md5_process_block): Remove define, we will always
22906 name it __md5_process_block.
22907 (md5_finish_ctx): Update md5_process_block call.
22908 (md5_stream): Likewise.
22909 (md5_process_bytes): Likewise.
22910 (md5_process_block): Rename to __md5_process_block and move to ...
22911 * crypt/md5-block.c: ... here.
22912 * crypt/sha256.c (sha256_process_block): Move to ...
22913 * crypt/sha256-block.c: ... here.
22914 * crypt/sha512.c (sha512_process_block): Move to ...
22915 * crypt/sha512-block.c: ... here.
22916 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
22918 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
22919 * sysdeps/sparc/sparc64/multiarch/Makefile
22920 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
22922 (localedef-aux): Add md5 crypto assembler when in locale subdir.
22923 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
22925 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
22926 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
22927 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
22928 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
22929 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
22930 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
22931 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
22932 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
22933 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
22935 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
22936 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
22938 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
22940 2012-11-13 Joseph Myers <joseph@codesourcery.com>
22942 * timezone/tzselect.ksh: Update from tzcode git revision
22943 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
22944 * timezone/zdump.c: Likewise.
22945 * timezone/zic.c: Likewise.
22946 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
22947 in TZVERSION setting, not $(PKGVERSION).
22948 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
22949 REPORT_BUGS_TO settings.
22952 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
22955 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22957 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
22958 detection to immediately after _FP_ROUND().
22959 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
22962 2012-11-11 David S. Miller <davem@davemloft.net>
22964 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
22966 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
22967 __close rather than their public counterparts.
22969 2012-11-10 Joseph Myers <joseph@codesourcery.com>
22971 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
22973 [UNIX98] (sem_timedwait): Do not expect.
22974 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
22975 [XPG4 || UNIX98] (sockatmark): Do not expect.
22976 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
22977 (clock_getcpuclockid): Do not expect.
22978 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
22979 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
22981 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
22982 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
22983 [UNIX98] (vwscanf): Likewise.
22984 [UNIX98] (vswscanf): Likewise.
22986 2012-11-09 Joseph Myers <joseph@codesourcery.com>
22988 * timezone/version.h: Remove file.
22989 * timezone/README: Do not refer to version.h.
22990 * timezone/Makefile ($(objpfx)zic.o): New dependency on
22991 $(objpfx)version.h.
22992 ($(objpfx)zdump.o): Likewise.
22993 ($(objpfx)version.h): New target.
22995 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
22997 * timezone/README: Don't mention modification to tzselect.ksh.
22998 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
22999 work on unmodified tzselect.ksh. Substitute version numbers in
23002 * Makefile (format-me): Remove.
23003 (INSTALL): Adjust indentation. Use commands directly instead of
23004 using $(format-me).
23006 * aclocal.m4 (ACX_PKGVERSION): New macro.
23007 (ACX_BUGURL): Likewise.
23008 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
23009 (PKGVERSION): New AC_DEFINE_UNQUOTED.
23010 (REPORT_BUGS_TO): Likewise.
23011 * configure: Regenerated.
23012 * config.h.in (PKGVERSION): New macro.
23013 (REPORT_BUGS_TO): Likewise.
23014 * config.make.in (PKGVERSION): New variable.
23015 (PKGVERSION_TEXI): Likewise.
23016 (REPORT_BUGS_TO): Likewise.
23017 (REPORT_BUGS_TEXI): Likewise.
23018 * Makefile (format-me): Use -I$(common-objpfx)manual.
23019 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
23020 ($(common-objpfx)manual/%): New target.
23021 (manual/%): Remove target.
23022 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
23023 (print_version): Use PKGVERSION.
23024 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
23025 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
23026 and REPORT_BUGS_TO.
23027 ($(objpfx)xtrace): Likewise.
23028 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
23029 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
23030 (print_version): Use PKGVERSION.
23031 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
23032 (do_version): Use PKGVERSION.
23033 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
23035 (common-ldd-rewrite): Likewise.
23036 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
23037 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
23038 (print_version): Use PKGVERSION.
23039 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
23040 * elf/pldd.c (argp_program_bug_address): Remove variable.
23041 (more_help): New function.
23042 (argp): Use more_help.
23043 (print_version): Use PKGVERSION.
23044 * elf/sln.c (main): Use PKGVERSION.
23045 (usage): Use REPORT_BUGS_TO.
23046 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
23047 (top level): Use PKGVERSION.
23048 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
23049 (print_version): Use PKGVERSION.
23050 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
23051 (print_version): Use PKGVERSION.
23052 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
23053 (print_version): Use PKGVERSION.
23054 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
23055 (print_version): Use PKGVERSION.
23056 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
23057 (print_version): Use PKGVERSION.
23058 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
23059 (print_version): Use PKGVERSION.
23060 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
23062 ($(objpfx)memusage): Likewise.
23063 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
23064 (do_version): Use PKGVERSION.
23065 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
23066 (print_version): Use PKGVERSION.
23067 * malloc/mtrace.pl ($PACKAGE): Remove variable.
23068 ($PKGVERSION): New variable.
23069 ($REPORT_BUGS_TO): Likewise.
23070 (usage): Use $REPORT_BUGS_TO.
23071 (top level): Use $PKGVERSION.
23072 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
23073 ($(objpfx)pkgvers.texi): New rule.
23074 ($(objpfx)stamp-pkgvers): Likewise.
23075 * manual/install.texi: Include pkgvers.texi.
23076 (--with-pkgversion): Document new configure option.
23077 (--with-bugurl): Likewise.
23078 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
23079 than necessarily for this particular distribution. Use
23080 REPORT_BUGS_TO for where to report bugs.
23081 * INSTALL: Regenerated.
23082 * manual/libc.texinfo: Include pkgvers.texi.
23083 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
23084 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
23085 (print_version): Use PKGVERSION.
23086 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
23087 (print_version): Use PKGVERSION.
23088 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
23089 (print_version): Use PKGVERSION.
23090 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
23091 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
23093 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
23094 (print_version): Use PKGVERSION.
23095 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
23096 (print_version): Use PKGVERSION.
23097 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
23100 * timezone/checktab.awk: Update from tzcode 2012i.
23101 * timezone/ialloc.c: Likewise.
23102 * timezone/private.h: Likewise.
23103 * timezone/scheck.c: Likewise.
23104 * timezone/tzfile.h: Likewise.
23105 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
23106 (TZVERSION): Hardcode tzcode version number.
23107 * timezone/zdump.c: Update from tzcode 2012i.
23108 * timezone/zic.c: Likewise.
23109 * timezone/version.h: New file.
23110 * timezone/README: Describe version.h. Update upstream location.
23113 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
23114 (mktemp): Enable declaration.
23115 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
23116 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
23117 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
23118 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
23120 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
23122 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
23124 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
23126 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
23128 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
23132 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
23133 offset in buffer as u_int32_t not u_long. Consistently use memcpy
23134 for copies of such integer values.
23135 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
23136 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
23138 2012-11-09 Andreas Jaeger <aj@suse.de>
23140 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
23141 definitions and declarations that are provided by
23142 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
23144 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23146 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
23147 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
23148 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
23151 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23153 * elf/elf.h: Update comment before AArch64 relocations.
23155 2012-11-07 David S. Miller <davem@davemloft.net>
23157 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
23158 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
23159 (__start_context): Declare.
23160 (__makecontext_ret): Delete.
23161 (__makecontext): Hook up __start_context instead of
23163 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
23164 (sysdep_routines): Add __start_context when in stdlib.
23166 2012-11-07 Joseph Myers <joseph@codesourcery.com>
23168 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
23169 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
23170 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
23172 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
23173 (READELF): New variable. Use it instead of hardcoded "readelf".
23175 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
23177 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
23178 * sysdeps/x86/Makefile: Here.
23179 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
23180 * sysdeps/x86/tst-xmmymm.sh: This.
23182 2012-11-07 Joseph Myers <joseph@codesourcery.com>
23184 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
23186 [UNIX98] (pthread_barrier_t): Do not expect.
23187 [UNIX98] (pthread_barrierattr_t): Likewise.
23188 [UNIX98] (pthread_spinlock_t): Likewise.
23189 [UNIX98] (pthread_barrier_destroy): Likewise.
23190 [UNIX98] (pthread_barrier_init): Likewise.
23191 [UNIX98] (pthread_barrier_wait): Likewise.
23192 [UNIX98] (pthread_barrierattr_destroy): Likewise.
23193 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
23194 [UNIX98] (pthread_barrierattr_init): Likewise.
23195 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
23196 [UNIX98] (pthread_getcpuclockid): Likewise.
23197 [UNIX98] (pthread_mutex_timedlock): Likewise.
23198 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
23199 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
23200 [UNIX98] (pthread_sigmask): Likewise.
23201 [UNIX98] (pthread_spin_destroy): Likewise.
23202 [UNIX98] (pthread_spin_init): Likewise.
23203 [UNIX98] (pthread_spin_lock): Likewise.
23204 [UNIX98] (pthread_spin_trylock): Likewise.
23205 [UNIX98] (pthread_spin_unlock): Likewise.
23206 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
23208 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
23209 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
23210 [XPG3 || XPG4] (pthread_cond_t): Likewise.
23211 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
23212 [XPG3 || XPG4] (pthread_key_t): Likewise.
23213 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
23214 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
23215 [XPG3 || XPG4] (pthread_once_t): Likewise.
23216 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
23217 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
23218 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
23219 [XPG3 || XPG4] (pthread_t): Likewise.
23221 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
23223 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
23225 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
23226 Change function return type to int.
23228 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
23229 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
23230 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
23231 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
23232 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
23233 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
23234 [!POSIX] (posix_madvise): Likewise.
23235 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
23237 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
23238 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
23239 (mode_t): Likewise.
23240 (posix_mem_offset): Likewise.
23241 (posix_typed_mem_get_info): Likewise.
23242 (posix_typed_mem_open): Likewise.
23244 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
23245 Change condition to [XOPEN2K8].
23247 * conform/conformtest.pl: Preprocess allow-header data with -x c
23248 instead of from stdin.
23249 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
23250 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
23251 [C99-based standards] (cerfc): Likewise.
23252 [C99-based standards] (cexp2): Likewise.
23253 [C99-based standards] (cexpm1): Likewise.
23254 [C99-based standards] (clog10): Likewise.
23255 [C99-based standards] (clog1p): Likewise.
23256 [C99-based standards] (clog2): Likewise.
23257 [C99-based standards] (clgamma): Likewise.
23258 [C99-based standards] (ctgamma): Likewise.
23259 [C99-based standards] (cerff): Likewise.
23260 [C99-based standards] (cerfcf): Likewise.
23261 [C99-based standards] (cexp2f): Likewise.
23262 [C99-based standards] (cexpm1f): Likewise.
23263 [C99-based standards] (clog10f): Likewise.
23264 [C99-based standards] (clog1pf): Likewise.
23265 [C99-based standards] (clog2f): Likewise.
23266 [C99-based standards] (clgammaf): Likewise.
23267 [C99-based standards] (ctgammaf): Likewise.
23268 [C99-based standards] (cerfl): Likewise.
23269 [C99-based standards] (cerfcl): Likewise.
23270 [C99-based standards] (cexp2l): Likewise.
23271 [C99-based standards] (cexpm1l): Likewise.
23272 [C99-based standards] (clog10l): Likewise.
23273 [C99-based standards] (clog1pl): Likewise.
23274 [C99-based standards] (clog2l): Likewise.
23275 [C99-based standards] (clgammal): Likewise.
23276 [C99-based standards] (ctgammal): Likewise.
23277 * conform/data/inttypes.h-data [C99-based standards]: Include
23278 stdint.h-data. Remove all expectations for stdint.h contents.
23279 [C99-based standards] (PRI*): Do not allow.
23280 [C99-based standards] (SCN*): Likewise.
23281 [C99-based standards] (*_t): Likewise.
23282 [C99-based-standards] (PRId8): Expect macro.
23283 [C99-based-standards] (PRIi8): Likewise.
23284 [C99-based-standards] (PRIo8): Likewise.
23285 [C99-based-standards] (PRIu8): Likewise.
23286 [C99-based-standards] (PRIx8): Likewise.
23287 [C99-based-standards] (PRIX8): Likewise.
23288 [C99-based-standards] (SCNd8): Likewise.
23289 [C99-based-standards] (SCNi8): Likewise.
23290 [C99-based-standards] (SCNo8): Likewise.
23291 [C99-based-standards] (SCNu8): Likewise.
23292 [C99-based-standards] (SCNx8): Likewise.
23293 [C99-based-standards] (PRIdLEAST8): Likewise.
23294 [C99-based-standards] (PRIiLEAST8): Likewise.
23295 [C99-based-standards] (PRIoLEAST8): Likewise.
23296 [C99-based-standards] (PRIuLEAST8): Likewise.
23297 [C99-based-standards] (PRIxLEAST8): Likewise.
23298 [C99-based-standards] (PRIXLEAST8): Likewise.
23299 [C99-based-standards] (SCNdLEAST8): Likewise.
23300 [C99-based-standards] (SCNiLEAST8): Likewise.
23301 [C99-based-standards] (SCNoLEAST8): Likewise.
23302 [C99-based-standards] (SCNuLEAST8): Likewise.
23303 [C99-based-standards] (SCNxLEAST8): Likewise.
23304 [C99-based-standards] (PRIdFAST8): Likewise.
23305 [C99-based-standards] (PRIiFAST8): Likewise.
23306 [C99-based-standards] (PRIoFAST8): Likewise.
23307 [C99-based-standards] (PRIuFAST8): Likewise.
23308 [C99-based-standards] (PRIxFAST8): Likewise.
23309 [C99-based-standards] (PRIXFAST8): Likewise.
23310 [C99-based-standards] (SCNdFAST8): Likewise.
23311 [C99-based-standards] (SCNiFAST8): Likewise.
23312 [C99-based-standards] (SCNoFAST8): Likewise.
23313 [C99-based-standards] (SCNuFAST8): Likewise.
23314 [C99-based-standards] (SCNxFAST8): Likewise.
23315 [C99-based-standards] (PRId16): Likewise.
23316 [C99-based-standards] (PRIi16): Likewise.
23317 [C99-based-standards] (PRIo16): Likewise.
23318 [C99-based-standards] (PRIu16): Likewise.
23319 [C99-based-standards] (PRIx16): Likewise.
23320 [C99-based-standards] (PRIX16): Likewise.
23321 [C99-based-standards] (SCNd16): Likewise.
23322 [C99-based-standards] (SCNi16): Likewise.
23323 [C99-based-standards] (SCNo16): Likewise.
23324 [C99-based-standards] (SCNu16): Likewise.
23325 [C99-based-standards] (SCNx16): Likewise.
23326 [C99-based-standards] (PRIdLEAST16): Likewise.
23327 [C99-based-standards] (PRIiLEAST16): Likewise.
23328 [C99-based-standards] (PRIoLEAST16): Likewise.
23329 [C99-based-standards] (PRIuLEAST16): Likewise.
23330 [C99-based-standards] (PRIxLEAST16): Likewise.
23331 [C99-based-standards] (PRIXLEAST16): Likewise.
23332 [C99-based-standards] (SCNdLEAST16): Likewise.
23333 [C99-based-standards] (SCNiLEAST16): Likewise.
23334 [C99-based-standards] (SCNoLEAST16): Likewise.
23335 [C99-based-standards] (SCNuLEAST16): Likewise.
23336 [C99-based-standards] (SCNxLEAST16): Likewise.
23337 [C99-based-standards] (PRIdFAST16): Likewise.
23338 [C99-based-standards] (PRIiFAST16): Likewise.
23339 [C99-based-standards] (PRIoFAST16): Likewise.
23340 [C99-based-standards] (PRIuFAST16): Likewise.
23341 [C99-based-standards] (PRIxFAST16): Likewise.
23342 [C99-based-standards] (PRIXFAST16): Likewise.
23343 [C99-based-standards] (SCNdFAST16): Likewise.
23344 [C99-based-standards] (SCNiFAST16): Likewise.
23345 [C99-based-standards] (SCNoFAST16): Likewise.
23346 [C99-based-standards] (SCNuFAST16): Likewise.
23347 [C99-based-standards] (SCNxFAST16): Likewise.
23348 [C99-based-standards] (PRId32): Likewise.
23349 [C99-based-standards] (PRIi32): Likewise.
23350 [C99-based-standards] (PRIo32): Likewise.
23351 [C99-based-standards] (PRIu32): Likewise.
23352 [C99-based-standards] (PRIx32): Likewise.
23353 [C99-based-standards] (PRIX32): Likewise.
23354 [C99-based-standards] (SCNd32): Likewise.
23355 [C99-based-standards] (SCNi32): Likewise.
23356 [C99-based-standards] (SCNo32): Likewise.
23357 [C99-based-standards] (SCNu32): Likewise.
23358 [C99-based-standards] (SCNx32): Likewise.
23359 [C99-based-standards] (PRIdLEAST32): Likewise.
23360 [C99-based-standards] (PRIiLEAST32): Likewise.
23361 [C99-based-standards] (PRIoLEAST32): Likewise.
23362 [C99-based-standards] (PRIuLEAST32): Likewise.
23363 [C99-based-standards] (PRIxLEAST32): Likewise.
23364 [C99-based-standards] (PRIXLEAST32): Likewise.
23365 [C99-based-standards] (SCNdLEAST32): Likewise.
23366 [C99-based-standards] (SCNiLEAST32): Likewise.
23367 [C99-based-standards] (SCNoLEAST32): Likewise.
23368 [C99-based-standards] (SCNuLEAST32): Likewise.
23369 [C99-based-standards] (SCNxLEAST32): Likewise.
23370 [C99-based-standards] (PRIdFAST32): Likewise.
23371 [C99-based-standards] (PRIiFAST32): Likewise.
23372 [C99-based-standards] (PRIoFAST32): Likewise.
23373 [C99-based-standards] (PRIuFAST32): Likewise.
23374 [C99-based-standards] (PRIxFAST32): Likewise.
23375 [C99-based-standards] (PRIXFAST32): Likewise.
23376 [C99-based-standards] (SCNdFAST32): Likewise.
23377 [C99-based-standards] (SCNiFAST32): Likewise.
23378 [C99-based-standards] (SCNoFAST32): Likewise.
23379 [C99-based-standards] (SCNuFAST32): Likewise.
23380 [C99-based-standards] (SCNxFAST32): Likewise.
23381 [C99-based-standards] (PRId64): Likewise.
23382 [C99-based-standards] (PRIi64): Likewise.
23383 [C99-based-standards] (PRIo64): Likewise.
23384 [C99-based-standards] (PRIu64): Likewise.
23385 [C99-based-standards] (PRIx64): Likewise.
23386 [C99-based-standards] (PRIX64): Likewise.
23387 [C99-based-standards] (SCNd64): Likewise.
23388 [C99-based-standards] (SCNi64): Likewise.
23389 [C99-based-standards] (SCNo64): Likewise.
23390 [C99-based-standards] (SCNu64): Likewise.
23391 [C99-based-standards] (SCNx64): Likewise.
23392 [C99-based-standards] (PRIdLEAST64): Likewise.
23393 [C99-based-standards] (PRIiLEAST64): Likewise.
23394 [C99-based-standards] (PRIoLEAST64): Likewise.
23395 [C99-based-standards] (PRIuLEAST64): Likewise.
23396 [C99-based-standards] (PRIxLEAST64): Likewise.
23397 [C99-based-standards] (PRIXLEAST64): Likewise.
23398 [C99-based-standards] (SCNdLEAST64): Likewise.
23399 [C99-based-standards] (SCNiLEAST64): Likewise.
23400 [C99-based-standards] (SCNoLEAST64): Likewise.
23401 [C99-based-standards] (SCNuLEAST64): Likewise.
23402 [C99-based-standards] (SCNxLEAST64): Likewise.
23403 [C99-based-standards] (PRIdFAST64): Likewise.
23404 [C99-based-standards] (PRIiFAST64): Likewise.
23405 [C99-based-standards] (PRIoFAST64): Likewise.
23406 [C99-based-standards] (PRIuFAST64): Likewise.
23407 [C99-based-standards] (PRIxFAST64): Likewise.
23408 [C99-based-standards] (PRIXFAST64): Likewise.
23409 [C99-based-standards] (SCNdFAST64): Likewise.
23410 [C99-based-standards] (SCNiFAST64): Likewise.
23411 [C99-based-standards] (SCNoFAST64): Likewise.
23412 [C99-based-standards] (SCNuFAST64): Likewise.
23413 [C99-based-standards] (SCNxFAST64): Likewise.
23414 [C99-based-standards] (PRIdMAX): Likewise.
23415 [C99-based-standards] (PRIiMAX): Likewise.
23416 [C99-based-standards] (PRIoMAX): Likewise.
23417 [C99-based-standards] (PRIuMAX): Likewise.
23418 [C99-based-standards] (PRIxMAX): Likewise.
23419 [C99-based-standards] (PRIXMAX): Likewise.
23420 [C99-based-standards] (SCNdMAX): Likewise.
23421 [C99-based-standards] (SCNiMAX): Likewise.
23422 [C99-based-standards] (SCNoMAX): Likewise.
23423 [C99-based-standards] (SCNuMAX): Likewise.
23424 [C99-based-standards] (SCNxMAX): Likewise.
23425 [C99-based-standards] (PRIdPTR): Likewise.
23426 [C99-based-standards] (PRIiPTR): Likewise.
23427 [C99-based-standards] (PRIoPTR): Likewise.
23428 [C99-based-standards] (PRIuPTR): Likewise.
23429 [C99-based-standards] (PRIxPTR): Likewise.
23430 [C99-based-standards] (PRIXPTR): Likewise.
23431 [C99-based-standards] (SCNdPTR): Likewise.
23432 [C99-based-standards] (SCNiPTR): Likewise.
23433 [C99-based-standards] (SCNoPTR): Likewise.
23434 [C99-based-standards] (SCNuPTR): Likewise.
23435 [C99-based-standards] (SCNxPTR): Likewise.
23436 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
23438 * conform/data/stdint.h-data: Update comments to clarify
23440 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
23442 [C99-based standards] (INT8_MAX): Likewise.
23443 [C99-based standards] (INT16_MIN): Likewise.
23444 [C99-based standards] (INT16_MAX): Likewise.
23445 [C99-based standards] (INT32_MIN): Likewise.
23446 [C99-based standards] (INT32_MAX): Likewise.
23447 [C99-based standards] (INT64_MIN): Likewise.
23448 [C99-based standards] (INT64_MAX): Likewise.
23449 [C99-based standards] (UINT8_MAX): Likewise.
23450 [C99-based standards] (UINT16_MAX): Likewise.
23451 [C99-based standards] (UINT32_MAX): Likewise.
23452 [C99-based standards] (UINT64_MAX): Likewise.
23453 [C99-based standards] (INT_LEAST8_MIN): Likewise.
23454 [C99-based standards] (INT_LEAST8_MAX): Likewise.
23455 [C99-based standards] (INT_LEAST16_MIN): Likewise.
23456 [C99-based standards] (INT_LEAST16_MAX): Likewise.
23457 [C99-based standards] (INT_LEAST32_MIN): Likewise.
23458 [C99-based standards] (INT_LEAST32_MAX): Likewise.
23459 [C99-based standards] (INT_LEAST64_MIN): Likewise.
23460 [C99-based standards] (INT_LEAST64_MAX): Likewise.
23461 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
23462 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
23463 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
23464 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
23465 [C99-based standards] (INT_FAST8_MIN): Likewise.
23466 [C99-based standards] (INT_FAST8_MAX): Likewise.
23467 [C99-based standards] (INT_FAST16_MIN): Likewise.
23468 [C99-based standards] (INT_FAST16_MAX): Likewise.
23469 [C99-based standards] (INT_FAST32_MIN): Likewise.
23470 [C99-based standards] (INT_FAST32_MAX): Likewise.
23471 [C99-based standards] (INT_FAST64_MIN): Likewise.
23472 [C99-based standards] (INT_FAST64_MAX): Likewise.
23473 [C99-based standards] (UINT_FAST8_MAX): Likewise.
23474 [C99-based standards] (UINT_FAST16_MAX): Likewise.
23475 [C99-based standards] (UINT_FAST32_MAX): Likewise.
23476 [C99-based standards] (UINT_FAST64_MAX): Likewise.
23477 [C99-based standards] (INTPTR_MIN): Likewise.
23478 [C99-based standards] (INTPTR_MAX): Likewise.
23479 [C99-based standards] (UINTPTR_MAX): Likewise.
23480 [C99-based standards] (INTMAX_MIN): Likewise.
23481 [C99-based standards] (INTMAX_MAX): Likewise.
23482 [C99-based standards] (UINTMAX_MAX): Likewise.
23483 [C99-based standards] (PTRDIFF_MIN): Likewise.
23484 [C99-based standards] (PTRDIFF_MAX): Likewise.
23485 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
23486 [C99-based standards] (SIZE_MAX): Likewise.
23487 [C99-based standards] (WCHAR_MAX): Likewise.
23488 [C99-based standards] (WINT_MAX): Likewise.
23489 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
23490 constraint on value.
23491 [C99-based standards] (WCHAR_MIN): Likewise.
23492 [C99-based standards] (WINT_MIN): Likewise.
23493 [C99-based standards] (*_t): Allow.
23494 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
23495 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
23496 Include math.h-data and complex.h-data. Remove all expectations
23497 of math.h and complex.h contents.
23498 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
23500 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
23501 (struct tm): Expect tag.
23502 [C99-based-standards] (wcstof): Expect function.
23503 [C99-based-standards] (wcstold): Likewise.
23504 [C99-based-standards] (wcstoll): Likewise.
23505 [C99-based-standards] (wcstoull): Likewise.
23506 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
23507 macro-int-constant. Specify type.
23508 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
23509 constraint on value.
23510 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
23512 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
23514 [ISO C standards]: Do not allow headers.
23515 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
23516 wcs[abcdefghijklmnopqrstuvwxyz]*.
23517 [ISO C standards] (*_t): Do not allow.
23518 * conform/data/wctype.h-data [C99-based standards] (iswblank):
23520 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
23521 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
23523 [ISO C standards]: Do not allow headers.
23524 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
23525 is[abcdefghijklmnopqrstuvwxyz]*.
23526 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
23527 to[abcdefghijklmnopqrstuvwxyz]*.
23528 [ISO C standards] (*_t): Do not allow.
23529 * conform/data/stdalign.h-data: New file.
23530 * conform/data/stdbool.h-data: Likewise.
23531 * conform/data/stdnoreturn.h-data: Likewise.
23533 2012-11-07 Roland McGrath <roland@hack.frob.com>
23536 * manual/filesys.texi (Directory Entries): Typo fix.
23537 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
23539 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23541 * elf/elf.h (EM_AARCH64): New macro.
23542 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
23543 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
23544 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
23545 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
23546 (R_AARCH64_TLSDESC): Likewise.
23547 (NT_ARM_TLS): Likewise.
23548 (NT_ARM_HW_BREAK): Likewise.
23549 (NT_ARM_HW_WATCH): Likewise.
23551 2012-11-07 Joseph Myers <joseph@codesourcery.com>
23554 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
23555 (__ieee754_powl): Saturate nonzero exponents with absolute value
23556 below 0x1p-79 to +/- 0x1p-79.
23557 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
23558 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
23559 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
23560 nonzero exponents with absolute value below 0x1p-32 to +/-
23562 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
23563 (__ieee754_powl): Saturate nonzero exponents with absolute value
23564 below 0x1p-79 to +/- 0x1p-79.
23565 * math/libm-test.inc (pow_test): Add more tests.
23567 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23569 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
23570 _dl_s390_cap_flags with kernel. Increase string length.
23571 (_dl_s390_platforms): Add z196 and zEC12.
23573 2012-11-07 Joseph Myers <joseph@codesourcery.com>
23575 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
23576 Change XOPEN21K to XOPEN2K.
23578 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
23580 * string/memmove.c: Use memcpy when possible.
23582 2012-11-06 Andreas Jaeger <aj@suse.de>
23584 * po/eo.po: Update from translation team.
23586 2012-11-06 Joseph Myers <joseph@codesourcery.com>
23589 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
23590 exponent and small x and y exponents, scale x or y up. Increase
23591 by 2 the exponent used in scaling up.
23592 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23593 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23594 * math/libm-test.inc (fma_test): Add more tests.
23595 (fma_test_towardzero): Likewise.
23596 (fma_test_downward): Likewise.
23597 (fma_test_upward): Likewise.
23599 2012-11-05 Joseph Myers <joseph@codesourcery.com>
23602 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
23606 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
23607 namespace for names of struct fields.
23608 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
23610 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
23611 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
23613 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
23616 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
23618 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
23620 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
23624 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
23627 2012-11-04 Joseph Myers <joseph@codesourcery.com>
23630 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
23631 definitely overflow as x * y not x * y + z.
23632 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23633 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23634 * math/libm-test.inc (fma_test): Add more tests.
23635 (fma_test_towardzero): Likewise.
23636 (fma_test_downward): Likewise.
23637 (fma_test_upward): Likewise.
23639 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
23643 * include/stub-tag.h: Remove file.
23644 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
23646 * manual/maint.texi (Porting): Don't reference it.
23647 * Makerules ($(objpfx)stubs): Likewise.
23648 * dirent/closedir.c: Don't include <stub-tag.h>.
23649 * dirent/dirfd.c: Likewise.
23650 * dirent/fdopendir.c: Likewise.
23651 * dirent/getdents.c: Likewise.
23652 * dirent/getdents64.c: Likewise.
23653 * dirent/opendir.c: Likewise.
23654 * dirent/readdir.c: Likewise.
23655 * dirent/readdir64.c: Likewise.
23656 * dirent/readdir64_r.c: Likewise.
23657 * dirent/readdir_r.c: Likewise.
23658 * dirent/rewinddir.c: Likewise.
23659 * dirent/seekdir.c: Likewise.
23660 * dirent/telldir.c: Likewise.
23661 * gmon/profil.c: Likewise.
23662 * grp/setgroups.c: Likewise.
23663 * inet/if_index.c: Likewise.
23664 * io/access.c: Likewise.
23665 * io/chdir.c: Likewise.
23666 * io/chmod.c: Likewise.
23667 * io/chown.c: Likewise.
23668 * io/close.c: Likewise.
23669 * io/dup.c: Likewise.
23670 * io/dup2.c: Likewise.
23671 * io/dup3.c: Likewise.
23672 * io/euidaccess.c: Likewise.
23673 * io/faccessat.c: Likewise.
23674 * io/fchdir.c: Likewise.
23675 * io/fchmod.c: Likewise.
23676 * io/fchmodat.c: Likewise.
23677 * io/fchown.c: Likewise.
23678 * io/fchownat.c: Likewise.
23679 * io/fcntl.c: Likewise.
23680 * io/flock.c: Likewise.
23681 * io/fstatfs.c: Likewise.
23682 * io/fstatfs64.c: Likewise.
23683 * io/fstatvfs.c: Likewise.
23684 * io/fstatvfs64.c: Likewise.
23685 * io/futimens.c: Likewise.
23686 * io/fxstat.c: Likewise.
23687 * io/fxstat64.c: Likewise.
23688 * io/fxstatat.c: Likewise.
23689 * io/fxstatat64.c: Likewise.
23690 * io/getcwd.c: Likewise.
23691 * io/isatty.c: Likewise.
23692 * io/lchmod.c: Likewise.
23693 * io/lchown.c: Likewise.
23694 * io/link.c: Likewise.
23695 * io/linkat.c: Likewise.
23696 * io/lseek.c: Likewise.
23697 * io/lseek64.c: Likewise.
23698 * io/lxstat64.c: Likewise.
23699 * io/mkdir.c: Likewise.
23700 * io/mkdirat.c: Likewise.
23701 * io/mkfifo.c: Likewise.
23702 * io/mkfifoat.c: Likewise.
23703 * io/open.c: Likewise.
23704 * io/open64.c: Likewise.
23705 * io/openat.c: Likewise.
23706 * io/openat64.c: Likewise.
23707 * io/pipe.c: Likewise.
23708 * io/pipe2.c: Likewise.
23709 * io/poll.c: Likewise.
23710 * io/posix_fadvise.c: Likewise.
23711 * io/posix_fadvise64.c: Likewise.
23712 * io/posix_fallocate.c: Likewise.
23713 * io/posix_fallocate64.c: Likewise.
23714 * io/read.c: Likewise.
23715 * io/readlink.c: Likewise.
23716 * io/readlinkat.c: Likewise.
23717 * io/rmdir.c: Likewise.
23718 * io/sendfile.c: Likewise.
23719 * io/sendfile64.c: Likewise.
23720 * io/statfs.c: Likewise.
23721 * io/statfs64.c: Likewise.
23722 * io/statvfs.c: Likewise.
23723 * io/statvfs64.c: Likewise.
23724 * io/symlink.c: Likewise.
23725 * io/symlinkat.c: Likewise.
23726 * io/ttyname.c: Likewise.
23727 * io/ttyname_r.c: Likewise.
23728 * io/umask.c: Likewise.
23729 * io/unlink.c: Likewise.
23730 * io/unlinkat.c: Likewise.
23731 * io/utime.c: Likewise.
23732 * io/utimensat.c: Likewise.
23733 * io/write.c: Likewise.
23734 * io/xmknod.c: Likewise.
23735 * io/xmknodat.c: Likewise.
23736 * io/xstat.c: Likewise.
23737 * io/xstat64.c: Likewise.
23738 * login/getpt.c: Likewise.
23739 * login/grantpt.c: Likewise.
23740 * login/unlockpt.c: Likewise.
23741 * math/e_acoshl.c: Likewise.
23742 * math/e_acosl.c: Likewise.
23743 * math/e_asinl.c: Likewise.
23744 * math/e_atan2l.c: Likewise.
23745 * math/e_atanhl.c: Likewise.
23746 * math/e_coshl.c: Likewise.
23747 * math/e_expl.c: Likewise.
23748 * math/e_fmodl.c: Likewise.
23749 * math/e_gammal_r.c: Likewise.
23750 * math/e_hypotl.c: Likewise.
23751 * math/e_j0l.c: Likewise.
23752 * math/e_j1l.c: Likewise.
23753 * math/e_jnl.c: Likewise.
23754 * math/e_lgammal_r.c: Likewise.
23755 * math/e_log10l.c: Likewise.
23756 * math/e_log2l.c: Likewise.
23757 * math/e_logl.c: Likewise.
23758 * math/e_powl.c: Likewise.
23759 * math/e_rem_pio2l.c: Likewise.
23760 * math/e_sinhl.c: Likewise.
23761 * math/e_sqrtl.c: Likewise.
23762 * math/fclrexcpt.c: Likewise.
23763 * math/fedisblxcpt.c: Likewise.
23764 * math/feenablxcpt.c: Likewise.
23765 * math/fegetenv.c: Likewise.
23766 * math/fegetexcept.c: Likewise.
23767 * math/fegetround.c: Likewise.
23768 * math/feholdexcpt.c: Likewise.
23769 * math/fesetenv.c: Likewise.
23770 * math/fesetround.c: Likewise.
23771 * math/feupdateenv.c: Likewise.
23772 * math/fgetexcptflg.c: Likewise.
23773 * math/fraiseexcpt.c: Likewise.
23774 * math/fsetexcptflg.c: Likewise.
23775 * math/ftestexcept.c: Likewise.
23776 * math/k_cosl.c: Likewise.
23777 * math/k_rem_pio2l.c: Likewise.
23778 * math/k_sinl.c: Likewise.
23779 * math/k_tanl.c: Likewise.
23780 * math/s_asinhl.c: Likewise.
23781 * math/s_atanl.c: Likewise.
23782 * math/s_cbrtl.c: Likewise.
23783 * math/s_erfl.c: Likewise.
23784 * math/s_expm1l.c: Likewise.
23785 * math/s_log1pl.c: Likewise.
23786 * math/s_tanhl.c: Likewise.
23787 * misc/acct.c: Likewise.
23788 * misc/brk.c: Likewise.
23789 * misc/chflags.c: Likewise.
23790 * misc/chroot.c: Likewise.
23791 * misc/fchflags.c: Likewise.
23792 * misc/fgetxattr.c: Likewise.
23793 * misc/flistxattr.c: Likewise.
23794 * misc/fremovexattr.c: Likewise.
23795 * misc/fsetxattr.c: Likewise.
23796 * misc/fsync.c: Likewise.
23797 * misc/ftruncate.c: Likewise.
23798 * misc/futimes.c: Likewise.
23799 * misc/futimesat.c: Likewise.
23800 * misc/getdomain.c: Likewise.
23801 * misc/getdtsz.c: Likewise.
23802 * misc/gethostid.c: Likewise.
23803 * misc/gethostname.c: Likewise.
23804 * misc/getloadavg.c: Likewise.
23805 * misc/getpagesize.c: Likewise.
23806 * misc/getsysstats.c: Likewise.
23807 * misc/getxattr.c: Likewise.
23808 * misc/gtty.c: Likewise.
23809 * misc/ioctl.c: Likewise.
23810 * misc/lgetxattr.c: Likewise.
23811 * misc/listxattr.c: Likewise.
23812 * misc/llistxattr.c: Likewise.
23813 * misc/lremovexattr.c: Likewise.
23814 * misc/lsetxattr.c: Likewise.
23815 * misc/lutimes.c: Likewise.
23816 * misc/madvise.c: Likewise.
23817 * misc/mincore.c: Likewise.
23818 * misc/mlock.c: Likewise.
23819 * misc/mlockall.c: Likewise.
23820 * misc/mmap.c: Likewise.
23821 * misc/mprotect.c: Likewise.
23822 * misc/msync.c: Likewise.
23823 * misc/munlock.c: Likewise.
23824 * misc/munlockall.c: Likewise.
23825 * misc/munmap.c: Likewise.
23826 * misc/preadv.c: Likewise.
23827 * misc/preadv64.c: Likewise.
23828 * misc/ptrace.c: Likewise.
23829 * misc/pwritev.c: Likewise.
23830 * misc/pwritev64.c: Likewise.
23831 * misc/readv.c: Likewise.
23832 * misc/reboot.c: Likewise.
23833 * misc/remap_file_pages.c: Likewise.
23834 * misc/removexattr.c: Likewise.
23835 * misc/revoke.c: Likewise.
23836 * misc/select.c: Likewise.
23837 * misc/setdomain.c: Likewise.
23838 * misc/setegid.c: Likewise.
23839 * misc/seteuid.c: Likewise.
23840 * misc/sethostid.c: Likewise.
23841 * misc/sethostname.c: Likewise.
23842 * misc/setregid.c: Likewise.
23843 * misc/setreuid.c: Likewise.
23844 * misc/setxattr.c: Likewise.
23845 * misc/sstk.c: Likewise.
23846 * misc/stty.c: Likewise.
23847 * misc/swapoff.c: Likewise.
23848 * misc/swapon.c: Likewise.
23849 * misc/sync.c: Likewise.
23850 * misc/syncfs.c: Likewise.
23851 * misc/syscall.c: Likewise.
23852 * misc/truncate.c: Likewise.
23853 * misc/ualarm.c: Likewise.
23854 * misc/usleep.c: Likewise.
23855 * misc/ustat.c: Likewise.
23856 * misc/utimes.c: Likewise.
23857 * misc/vhangup.c: Likewise.
23858 * misc/writev.c: Likewise.
23859 * posix/_exit.c: Likewise.
23860 * posix/alarm.c: Likewise.
23861 * posix/execve.c: Likewise.
23862 * posix/fexecve.c: Likewise.
23863 * posix/fork.c: Likewise.
23864 * posix/fpathconf.c: Likewise.
23865 * posix/getaddrinfo.c: Likewise.
23866 * posix/getegid.c: Likewise.
23867 * posix/geteuid.c: Likewise.
23868 * posix/getgid.c: Likewise.
23869 * posix/getgroups.c: Likewise.
23870 * posix/getlogin.c: Likewise.
23871 * posix/getlogin_r.c: Likewise.
23872 * posix/getpgid.c: Likewise.
23873 * posix/getpid.c: Likewise.
23874 * posix/getppid.c: Likewise.
23875 * posix/getresgid.c: Likewise.
23876 * posix/getresuid.c: Likewise.
23877 * posix/getsid.c: Likewise.
23878 * posix/getuid.c: Likewise.
23879 * posix/glob64.c: Likewise.
23880 * posix/nanosleep.c: Likewise.
23881 * posix/pathconf.c: Likewise.
23882 * posix/pause.c: Likewise.
23883 * posix/posix_madvise.c: Likewise.
23884 * posix/pread.c: Likewise.
23885 * posix/pread64.c: Likewise.
23886 * posix/pwrite.c: Likewise.
23887 * posix/pwrite64.c: Likewise.
23888 * posix/sched_getaffinity.c: Likewise.
23889 * posix/sched_getp.c: Likewise.
23890 * posix/sched_gets.c: Likewise.
23891 * posix/sched_primax.c: Likewise.
23892 * posix/sched_primin.c: Likewise.
23893 * posix/sched_rr_gi.c: Likewise.
23894 * posix/sched_setaffinity.c: Likewise.
23895 * posix/sched_setp.c: Likewise.
23896 * posix/sched_sets.c: Likewise.
23897 * posix/sched_yield.c: Likewise.
23898 * posix/setgid.c: Likewise.
23899 * posix/setlogin.c: Likewise.
23900 * posix/setpgid.c: Likewise.
23901 * posix/setresgid.c: Likewise.
23902 * posix/setresuid.c: Likewise.
23903 * posix/setsid.c: Likewise.
23904 * posix/setuid.c: Likewise.
23905 * posix/sleep.c: Likewise.
23906 * posix/spawni.c: Likewise.
23907 * posix/sysconf.c: Likewise.
23908 * posix/times.c: Likewise.
23909 * posix/wait.c: Likewise.
23910 * posix/wait3.c: Likewise.
23911 * posix/wait4.c: Likewise.
23912 * posix/waitpid.c: Likewise.
23913 * resolv/gai_sigqueue.c: Likewise.
23914 * resource/getpriority.c: Likewise.
23915 * resource/getrlimit.c: Likewise.
23916 * resource/getrusage.c: Likewise.
23917 * resource/nice.c: Likewise.
23918 * resource/setpriority.c: Likewise.
23919 * resource/setrlimit.c: Likewise.
23920 * resource/ulimit.c: Likewise.
23921 * rt/aio_cancel.c: Likewise.
23922 * rt/aio_fsync.c: Likewise.
23923 * rt/aio_read.c: Likewise.
23924 * rt/aio_sigqueue.c: Likewise.
23925 * rt/aio_suspend.c: Likewise.
23926 * rt/aio_write.c: Likewise.
23927 * rt/clock_getres.c: Likewise.
23928 * rt/clock_gettime.c: Likewise.
23929 * rt/clock_nanosleep.c: Likewise.
23930 * rt/clock_settime.c: Likewise.
23931 * rt/lio_listio.c: Likewise.
23932 * rt/mq_close.c: Likewise.
23933 * rt/mq_getattr.c: Likewise.
23934 * rt/mq_notify.c: Likewise.
23935 * rt/mq_open.c: Likewise.
23936 * rt/mq_receive.c: Likewise.
23937 * rt/mq_send.c: Likewise.
23938 * rt/mq_setattr.c: Likewise.
23939 * rt/mq_timedreceive.c: Likewise.
23940 * rt/mq_timedsend.c: Likewise.
23941 * rt/mq_unlink.c: Likewise.
23942 * rt/shm_open.c: Likewise.
23943 * rt/shm_unlink.c: Likewise.
23944 * rt/timer_create.c: Likewise.
23945 * rt/timer_delete.c: Likewise.
23946 * rt/timer_getoverr.c: Likewise.
23947 * rt/timer_gettime.c: Likewise.
23948 * rt/timer_settime.c: Likewise.
23949 * setjmp/__longjmp.c: Likewise.
23950 * setjmp/setjmp.c: Likewise.
23951 * signal/kill.c: Likewise.
23952 * signal/killpg.c: Likewise.
23953 * signal/raise.c: Likewise.
23954 * signal/sigaction.c: Likewise.
23955 * signal/sigaltstack.c: Likewise.
23956 * signal/sigblock.c: Likewise.
23957 * signal/sigignore.c: Likewise.
23958 * signal/sigintr.c: Likewise.
23959 * signal/signal.c: Likewise.
23960 * signal/sigpause.c: Likewise.
23961 * signal/sigpending.c: Likewise.
23962 * signal/sigqueue.c: Likewise.
23963 * signal/sigreturn.c: Likewise.
23964 * signal/sigset.c: Likewise.
23965 * signal/sigsetmask.c: Likewise.
23966 * signal/sigstack.c: Likewise.
23967 * signal/sigsuspend.c: Likewise.
23968 * signal/sigtimedwait.c: Likewise.
23969 * signal/sigvec.c: Likewise.
23970 * signal/sigwait.c: Likewise.
23971 * signal/sigwaitinfo.c: Likewise.
23972 * signal/sysv_signal.c: Likewise.
23973 * socket/accept.c: Likewise.
23974 * socket/accept4.c: Likewise.
23975 * socket/bind.c: Likewise.
23976 * socket/connect.c: Likewise.
23977 * socket/getpeername.c: Likewise.
23978 * socket/getsockname.c: Likewise.
23979 * socket/getsockopt.c: Likewise.
23980 * socket/isfdtype.c: Likewise.
23981 * socket/listen.c: Likewise.
23982 * socket/recv.c: Likewise.
23983 * socket/recvfrom.c: Likewise.
23984 * socket/recvmsg.c: Likewise.
23985 * socket/send.c: Likewise.
23986 * socket/sendmsg.c: Likewise.
23987 * socket/sendto.c: Likewise.
23988 * socket/setsockopt.c: Likewise.
23989 * socket/shutdown.c: Likewise.
23990 * socket/sockatmark.c: Likewise.
23991 * socket/socket.c: Likewise.
23992 * socket/socketpair.c: Likewise.
23993 * stdio-common/ctermid.c: Likewise.
23994 * stdio-common/cuserid.c: Likewise.
23995 * stdio-common/remove.c: Likewise.
23996 * stdio-common/rename.c: Likewise.
23997 * stdio-common/renameat.c: Likewise.
23998 * stdio-common/tempname.c: Likewise.
23999 * stdlib/getcontext.c: Likewise.
24000 * stdlib/makecontext.c: Likewise.
24001 * stdlib/setcontext.c: Likewise.
24002 * stdlib/swapcontext.c: Likewise.
24003 * stdlib/system.c: Likewise.
24004 * streams/fattach.c: Likewise.
24005 * streams/fdetach.c: Likewise.
24006 * streams/getmsg.c: Likewise.
24007 * streams/getpmsg.c: Likewise.
24008 * streams/putmsg.c: Likewise.
24009 * streams/putpmsg.c: Likewise.
24010 * sysdeps/unix/bsd/getpt.c: Likewise.
24011 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
24012 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
24013 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
24014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
24016 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
24017 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
24018 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
24019 * sysvipc/msgctl.c: Likewise.
24020 * sysvipc/msgget.c: Likewise.
24021 * sysvipc/msgrcv.c: Likewise.
24022 * sysvipc/msgsnd.c: Likewise.
24023 * sysvipc/semctl.c: Likewise.
24024 * sysvipc/semget.c: Likewise.
24025 * sysvipc/semop.c: Likewise.
24026 * sysvipc/semtimedop.c: Likewise.
24027 * sysvipc/shmat.c: Likewise.
24028 * sysvipc/shmctl.c: Likewise.
24029 * sysvipc/shmdt.c: Likewise.
24030 * sysvipc/shmget.c: Likewise.
24031 * termios/tcdrain.c: Likewise.
24032 * termios/tcflow.c: Likewise.
24033 * termios/tcflush.c: Likewise.
24034 * termios/tcgetattr.c: Likewise.
24035 * termios/tcgetpgrp.c: Likewise.
24036 * termios/tcsendbrk.c: Likewise.
24037 * termios/tcsetattr.c: Likewise.
24038 * termios/tcsetpgrp.c: Likewise.
24039 * time/adjtime.c: Likewise.
24040 * time/clock.c: Likewise.
24041 * time/getitimer.c: Likewise.
24042 * time/gettimeofday.c: Likewise.
24043 * time/setitimer.c: Likewise.
24044 * time/settimeofday.c: Likewise.
24045 * time/stime.c: Likewise.
24046 * time/time.c: Likewise.
24048 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
24050 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
24053 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
24055 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
24057 2012-11-03 Joseph Myers <joseph@codesourcery.com>
24060 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
24061 FE_TONEAREST before applying Dekker multiplication and Knuth
24062 addition. Clear inexact exceptions and check for exact zero
24063 results afterwards.
24064 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24065 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
24066 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24067 * math/libm-test.inc (fma_test): Add more tests.
24068 (fma_test_towardzero): Likewise.
24069 (fma_test_downward): Likewise.
24070 (fma_test_upward): Likewise.
24071 * sysdeps/generic/math_private.h (default_libc_fesetround): New
24073 (libc_fesetround): New macro.
24074 (libc_fesetroundf): Likewise.
24075 (libc_fesetroundl): Likewise.
24076 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
24078 (libc_fesetround_387): Likewise.
24079 (libc_fesetroundf): New macro.
24080 (libc_fesetround): Likewise.
24081 (libc_fesetroundl): Likewise.
24082 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
24084 (libc_fesetroundf): New macro.
24085 (libc_fesetround): Likewise.
24086 (libc_fesetroundl): Likewise.
24087 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
24088 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
24089 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
24091 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
24092 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
24094 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
24095 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
24097 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
24101 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
24102 integer constant usable in #if and use that to give value to enum
24104 (FE_DIVBYZERO): Likewise.
24105 (FE_UNDERFLOW): Likewise.
24106 (FE_OVERFLOW): Likewise.
24107 (FE_INVALID): Likewise.
24108 (FE_INVALID_SNAN): Likewise.
24109 (FE_INVALID_ISI): Likewise.
24110 (FE_INVALID_IDI): Likewise.
24111 (FE_INVALID_ZDZ): Likewise.
24112 (FE_INVALID_IMZ): Likewise.
24113 (FE_INVALID_COMPARE): Likewise.
24114 (FE_INVALID_SOFTWARE): Likewise.
24115 (FE_INVALID_SQRT): Likewise.
24116 (FE_INVALID_INTEGER_CONVERSION): Likewise.
24117 (FE_TONEAREST): Likewise.
24118 (FE_TOWARDZERO): Likewise.
24119 (FE_UPWARD): Likewise.
24120 (FE_DOWNWARD): Likewise.
24121 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
24122 (FE_DIVBYZERO): Likewise.
24123 (FE_OVERFLOW): Likewise.
24124 (FE_UNDERFLOW): Likewise.
24125 (FE_INEXACT): Likewise.
24126 (FE_TONEAREST): Likewise.
24127 (FE_DOWNWARD): Likewise.
24128 (FE_UPWARD): Likewise.
24129 (FE_TOWARDZERO): Likewise.
24130 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
24131 (FE_UNDERFLOW): Likewise.
24132 (FE_OVERFLOW): Likewise.
24133 (FE_DIVBYZERO): Likewise.
24134 (FE_INVALID): Likewise.
24135 (FE_TONEAREST): Likewise.
24136 (FE_TOWARDZERO): Likewise.
24137 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
24138 (FE_OVERFLOW): Likewise.
24139 (FE_UNDERFLOW): Likewise.
24140 (FE_DIVBYZERO): Likewise.
24141 (FE_INEXACT): Likewise.
24142 (FE_TONEAREST): Likewise.
24143 (FE_TOWARDZERO): Likewise.
24144 (FE_UPWARD): Likewise.
24145 (FE_DOWNWARD): Likewise.
24146 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
24147 (FE_DIVBYZERO): Likewise.
24148 (FE_OVERFLOW): Likewise.
24149 (FE_UNDERFLOW): Likewise.
24150 (FE_INEXACT): Likewise.
24151 (FE_TONEAREST): Likewise.
24152 (FE_DOWNWARD): Likewise.
24153 (FE_UPWARD): Likewise.
24154 (FE_TOWARDZERO): Likewise.
24156 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
24158 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
24160 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
24162 * scripts/cross-test-ssh.sh (command): Use newlines to separate
24163 commands. Quote $PWD.
24164 (blacklist_exports): Don't use remove_newlines. Replace "declare
24166 (remove_newlines): Remove.
24168 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
24170 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
24171 * stdlib/stdlib.h (atof): Moved to ...
24172 * include/bits/stdlib-float.h: Here. New file.
24173 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
24174 * stdlib/bits/stdlib-float.h: New file.
24175 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
24177 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
24180 2012-11-02 Joseph Myers <joseph@codesourcery.com>
24182 * conform/conformtest.pl (@headers): Add fenv.h.
24183 * conform/data/fenv.h-data: New file.
24184 * include/fenv.h [_ISOMAC]: Disable all contents of file except
24185 include of <math/fenv.h>.
24187 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
24188 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
24189 && !UNIX98]. Enables tests for XOPEN2K8.
24190 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
24191 POSIX2008]: Likewise.
24193 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
24194 (struct rusage): Do not expect type or its members.
24197 * math/math.h (FP_NAN): Define macro to integer constant usable in
24198 #if and use that to give value to enum constant.
24199 (FP_INFINITE): Likewise.
24200 (FP_ZERO): Likewise.
24201 (FP_SUBNORMAL): Likewise.
24202 (FP_NORMAL): Likewise.
24204 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
24206 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
24207 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
24210 2012-11-02 Roland McGrath <roland@hack.frob.com>
24212 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
24213 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
24214 autoconf-time if not.
24215 * configure.in: Remove AC_PREREQ.
24217 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24219 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
24220 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
24221 of the internal implementation.
24223 2012-11-02 Joseph Myers <joseph@codesourcery.com>
24225 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
24226 except include of <misc/sys/syslog.h>.
24228 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
24230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
24231 function returns with a NULL context exit with zero.
24233 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24235 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
24237 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
24239 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
24240 (run_program_cmd): This.
24241 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
24242 (tst_langinfo): New variable. Use it.
24244 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
24246 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
24247 floating point opcodes.
24249 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
24251 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
24254 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
24256 * sysdeps/mach/hurd/powerpc: Remove directory.
24257 * sysdeps/mach/powerpc: Likewise.
24259 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
24261 * scripts/check-local-headers.sh: Ignore c++ headers.
24263 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
24265 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
24266 __libc_cleanup_region_start argument.
24268 2012-11-01 Joseph Myers <joseph@codesourcery.com>
24272 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
24273 x * y using scaling, not as x * y + z.
24274 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24275 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24276 * math/libm-test.inc (fma_test): Add more tests.
24277 (fma_test_towardzero): Likewise.
24278 (fma_test_downward): Likewise.
24279 (fma_test_upward): Likewise.
24281 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
24283 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
24285 2012-10-31 Joseph Myers <joseph@codesourcery.com>
24287 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
24290 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
24292 * rt/tst-shm.c (worker): Correct checking for mmap failure.
24294 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
24296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24301 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24304 Fix the order of the list for glibc 2.17.
24305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24308 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
24310 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24312 2012-10-31 Joseph Myers <joseph@codesourcery.com>
24315 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
24316 for low part of x being zero before using __atanl (y).
24317 * math/libm-test.inc (atan2_test): Add another test.
24319 * manual/install.texi (Configuring and compiling): Document
24320 general use of test-wrapper and test-wrapper-env.
24321 * INSTALL: Regenerated.
24323 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
24324 (__fma): Do not extract and scale down low bits on after-rounding
24325 systems when result rounded to normal precision would have normal
24327 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
24328 (__fmal): Do not extract and scale down low bits on after-rounding
24329 systems when result rounded to normal precision would have normal
24331 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
24332 (__fmal): Do not extract and scale down low bits on after-rounding
24333 systems when result rounded to normal precision would have normal
24335 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
24337 (fma_test): Add more tests.
24338 (fma_test_towardzero): Likewise.
24339 (fma_test_downward): Likewise.
24340 (fma_test_upward): Likewise.
24342 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
24344 * sysdeps/i386/tininess.h: Renamed to ...
24345 * sysdeps/x86/tininess.h: This.
24346 * sysdeps/x86_64/tininess.h: Removed.
24348 2012-10-30 Joseph Myers <joseph@codesourcery.com>
24350 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
24351 input. Use $(build-program-cmd).
24352 ($(objpfx)tst-array1-static.out): Likewise.
24353 ($(objpfx)tst-array2.out): Likewise.
24354 ($(objpfx)tst-array3.out): Likewise.
24355 ($(objpfx)tst-array4.out): Likewise.
24356 ($(objpfx)tst-array5.out): Likewise.
24357 ($(objpfx)tst-array5-static.out): Likewise.
24359 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
24361 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
24364 * nss/nsswitch.h (nss_interface_function): Provide new
24365 macro for use with NSS functions.
24366 * grp/initgroups.c: Use new macro.
24367 * nss/getXXbyYY.c: Likewise.
24368 * nss/getXXbyYY_r.c: Likewise.
24369 * nss/getXXent.c: Likewise.
24370 * nss/getXXent_r.c: Likewise.
24371 * sysdeps/posix/getaddrinfo.c: Likewise.
24373 2012-10-30 Andreas Jaeger <aj@suse.de>
24375 * po/ru.po: Update Russion translation from translation project.
24377 2012-10-30 Joseph Myers <joseph@codesourcery.com>
24381 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
24382 result and shift together with sticky bit instead of replicating
24383 round-to-nearest rounding.
24384 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24385 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24386 * math/libm-test.inc (fma_test): Add more tests. Do not permit
24387 missing underflow exceptions.
24388 (fma_test_towardzero): Add more tests.
24389 (fma_test_downward): Likewise.
24390 (fma_test_upward): Likewise.
24393 * sysdeps/generic/tininess.h: New file.
24394 * sysdeps/i386/tininess.h: Likewise.
24395 * sysdeps/sh/tininess.h: Likewise.
24396 * sysdeps/x86_64/tininess.h: Likewise.
24397 * stdlib/tst-strtod-underflow.c: Likewise.
24398 * stdlib/tst-tininess.c: Likewise.
24399 * stdlib/strtod_l.c: Include <tininess.h>.
24400 (round_and_return): Do not set errno for exact underflow cases.
24401 Force an underflow exception when setting errno for underflow.
24402 Determine underflow based on rounding to normal precision if
24403 TININESS_AFTER_ROUNDING.
24404 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
24405 ERANGE for exact underflow cases.
24406 * stdlib/Makefile (tests): Add tst-tininess and
24407 tst-strtod-underflow.
24408 ($(objpfx)tst-tininess): Use $(link-libm).
24409 ($(objpfx)tst-strtod-underflow): Likewise.
24411 2012-10-30 Andreas Jaeger <aj@suse.de>
24414 * elf/Makefile (tests): Remove conditional for have-initfini-array
24415 since this is now always required and the variable does not exist
24417 (tests-static): Likewise.
24418 (modules-names): Likewise.
24420 * po/eo.po: Add Esperanto translation from translation project.
24422 * elf/tst-array1.c (fini_array): Make writeable so that it can be
24423 merged with constructor/destructor.
24424 (init_array): Likewise.
24425 * elf/tst-array2dep.c (fini_array): Likewise.
24426 (init_array): Likewise.
24428 2012-10-29 Mike Frysinger <vapier@gentoo.org>
24430 * manual/message.texi: Delete @cartouche tags.
24432 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
24434 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
24436 * sysdeps/mach/hurd/fsync.c: Likewise.
24438 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
24439 [_POSIX_REALTIME_SIGNALS]: Change condition to
24440 [_POSIX_REALTIME_SIGNALS > 0].
24442 2012-10-27 Andreas Jaeger <aj@suse.de>
24444 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
24445 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
24446 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
24447 [__WORDSIZE != 64]: Likewise.
24449 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
24451 * iconvdata/tst-table.sh: Remove ${SHELL}.
24452 * iconvdata/tst-tables.sh: Likewise.
24454 2012-10-25 David S. Miller <davem@davemloft.net>
24456 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24457 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
24460 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
24462 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24463 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
24464 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
24467 2012-10-25 Roland McGrath <roland@hack.frob.com>
24469 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24470 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
24473 2012-10-25 Joseph Myers <joseph@codesourcery.com>
24474 Jim Blandy <jimb@codesourcery.com>
24476 * scripts/cross-test-ssh.sh: New file.
24477 * manual/install.texi (Configuring and compiling): Document use of
24479 * INSTALL: Regenerated.
24481 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
24483 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
24486 2012-10-25 Joseph Myers <joseph@codesourcery.com>
24488 * Makeconfig (run-program-prefix): Fix comment.
24490 2012-10-24 Joseph Myers <joseph@codesourcery.com>
24491 Jim Blandy <jimb@codesourcery.com>
24493 * Makeconfig (test-wrapper): New variable,
24494 (test-wrapper-env): Likewise.
24495 [$(cross-compiling) = yes && $(test-wrapper) != ""]
24496 (run-built-tests): Define to yes.
24497 (run-program-prefix): Use $(test-wrapper).
24498 (built-program-cmd): Likewise.
24499 * Rules (make-test-out): Use $(test-wrapper-env) and
24500 $(host-built-program-cmd).
24501 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
24502 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
24504 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
24505 $(test-wrapper-env) to tst-rtld-load-self.sh.
24506 ($(objpfx)order2.out): Use $(test-wrapper).
24507 ($(objpfx)tst-initorder.out): Likewise.
24508 ($(objpfx)tst-initorder2.out): Likewise.
24509 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
24510 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
24511 (test_wrapper_env): New variable. Use it to run ld.so.
24512 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
24513 Use it to run ld.so.
24514 (test_wrapper_env): Likewise.
24515 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
24516 $(test-wrapper) to run-iconv-test.sh.
24517 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
24518 (ICONV): Use $test_wrapper.
24519 * posix/Makefile ($(objpfx)globtest.out): Pass
24520 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
24521 globtest.sh, not $(run-program-prefix).
24522 * posix/globtest.sh (run_via_rtld_prefix): New variable.
24523 (test_wrapper): Likewise.
24524 (test_wrapper_env): Likewise. Use it to run globtest with HOME
24525 set together with run_via_rtld_prefix.
24526 (run_program_prefix): Define in terms of test_wrapper and
24527 run_via_rtld_prefix.
24529 2012-10-24 Roland McGrath <roland@hack.frob.com>
24531 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
24532 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
24536 * include/time.h: Remove librt_hidden_proto (clock_gettime).
24537 Declare __clock_getres, __clock_gettime, __clock_settime,
24538 __clock_nanosleep, and __clock_getcpuclockid.
24539 * rt/clock_gettime.c: Define __clock_gettime as an alias.
24540 Remove librt_hidden_def (clock_gettime).
24541 * sysdeps/unix/clock_gettime.c: Likewise.
24542 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
24543 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
24544 * rt/clock_getres.c: Define __clock_getres as an alias.
24545 * sysdeps/posix/clock_getres.c: Likewise.
24546 * rt/clock_settime.c: Define __clock_settime as an alias.
24547 * sysdeps/unix/clock_settime.c: Likewise.
24548 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
24549 * sysdeps/unix/clock_nanosleep.c: Likewise.
24550 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
24551 * rt/clock-compat.c: New file.
24552 * rt/Makefile (librt-routines): Add clock-compat and move
24553 $(clock-routines) to ...
24554 (routines): ... here, new variable.
24555 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
24556 Don't add get_clockfreq here.
24557 * rt/Versions (libc: GLIBC_2.17): New version set.
24558 Add clock_* symbols here.
24559 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
24560 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
24561 (GLIBC_2.17): Add clock_* symbols.
24562 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
24563 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
24564 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
24565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24569 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
24570 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
24571 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
24572 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
24573 * NEWS: Mention the move.
24575 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
24576 Use __open, __read, __close rather than their public counterparts.
24577 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24578 (__get_clockfreq_via_cpuinfo): Likewise.
24579 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
24580 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
24582 * config.h.in (HAVE_IFUNC): New #undef.
24583 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
24585 * configure: Regenerated.
24587 2012-10-24 Mike Frysinger <vapier@gentoo.org>
24589 * configure.in: Move READELF check to start of file.
24590 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
24591 libc_cv_asm_gnu_indirect_function in the process.
24592 * configure: Regenerated.
24594 2012-10-24 Mike Frysinger <vapier@gentoo.org>
24596 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
24597 send the output to /dev/null.
24598 (libc_cv_cc_with_libunwind): Likewise.
24599 (libc_cv_as_noexecstack): Likewise.
24600 * configure: Regenerate.
24602 2012-10-24 Joseph Myers <joseph@codesourcery.com>
24604 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
24606 * posix/globtest.sh (TMPDIR): Do not set.
24607 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
24608 (testout): Likewise.
24610 2012-10-24 Andreas Jaeger <aj@suse.de>
24612 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
24613 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
24614 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
24615 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
24616 posix_fadvise64, posix_fallocate64.
24618 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
24619 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
24620 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
24622 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
24624 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
24626 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
24627 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
24628 <bits/fcntl-linux.h>.
24629 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
24631 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
24632 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
24633 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
24634 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
24635 [__WORDSIZE != 64]: Likewise.
24637 2012-10-23 Joseph Myers <joseph@codesourcery.com>
24639 * Makeconfig (run-built-tests): New variable.
24640 * Rules [$(cross-compiling) = yes]: Change condition to
24641 [$(run-built-tests) = no].
24642 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
24643 to [$(run-built-tests) = yes].
24644 * elf/Makefile [$(cross-compiling) = no]: Likewise
24645 * grp/Makefile [$(cross-compiling) = no]: Likewise.
24646 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
24647 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
24648 * intl/Makefile [$(cross-compiling) = no]: Likewise.
24649 * io/Makefile [$(cross-compiling) = no]: Likewise.
24650 * libio/Makefile [$(cross-compiling) = no]: Likewise.
24651 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
24652 * misc/Makefile [$(cross-compiling) = no]: Likewise.
24653 * posix/Makefile [$(cross-compiling) = no]: Likewise.
24654 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
24655 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
24656 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
24657 * string/Makefile [$(cross-compiling) = no]: Likewise.
24659 * posix/Makefile ($(objpfx)globtest.out): Pass
24660 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
24661 $(rtld-installed-name).
24662 * posix/globtest.sh (elf_objpfx): Remove variable.
24663 (rtld_installed_name): Likewise.
24664 (library_path): Likewise.
24665 (run_program_prefix): New variable. Use for running globtest
24668 2012-10-23 Jim Blandy <jimb@codesourcery.com>
24669 Joseph Myers <joseph@codesourcery.com>
24671 * Makeconfig (host-built-program-cmd): New variable.
24672 * elf/Makefile (tst-stackguard1-ARGS): Use
24673 $(host-built-program-cmd).
24674 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
24675 (tst-spawn-ARGS): Likewise.
24676 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
24678 2012-10-23 Joseph Myers <joseph@codesourcery.com>
24679 Jim Blandy <jimb@codesourcery.com>
24681 * Makeconfig (run-via-rtld-prefix): New variable.
24682 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
24683 (built-program-cmd): Likewise.
24685 2012-10-22 Andreas Jaeger <aj@suse.de>
24687 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
24688 __O_RSYNC if it exists, otherwise to O_SYNC.
24690 2012-10-22 Jim Blandy <jimb@codesourcery.com>
24691 Joseph Myers <joseph@codesourcery.com>
24693 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
24695 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
24697 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
24700 2012-10-22 Andreas Jaeger <aj@suse.de>
24702 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
24704 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
24706 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24707 bits/fcntl-linux.h.
24709 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
24710 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
24712 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
24714 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
24717 2012-10-21 Jim Blandy <jimb@codesourcery.com>
24718 Joseph Myers <joseph@codesourcery.com>
24720 * config.make.in (NM): New variable.
24722 2012-10-21 Andreas Jaeger <aj@suse.de>
24724 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
24725 definitions and declarations that are provided by
24726 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
24728 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
24731 * elf/Makefile (tests-static): Add tst-leaks1-static.
24732 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
24733 ($(objpfx)tst-leaks1-static): New rule.
24734 ($(objpfx)tst-leaks1-static-mem): Likewise.
24735 (tst-leaks1-static-ENV): New macro.
24736 * elf/dl-open.c (dl_open_worker): Check the main application
24737 only if SHARED is defined.
24738 * elf/tst-leaks1-static.c: New file.
24740 2012-10-20 Andreas Jaeger <aj@suse.de>
24742 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
24743 generic values for Linux.
24744 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
24745 and declarations that are provided by <bits/fcntl-linux.h> and
24746 include <bits/fcntl-linux.h>.
24747 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24748 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24750 2012-10-20 Roland McGrath <roland@hack.frob.com>
24752 * io/fcntl.h: Move include of <bits/types.h> to the top and
24753 include it unconditionally.
24755 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
24757 * wcsmbs/Makefile (tests-ifunc): New variable.
24758 (tests): Add $(tests-ifunc).
24759 * wcsmbs/test-wcschr-ifunc.c: New file.
24760 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
24761 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
24762 * wcsmbs/test-wcslen-ifunc.c: Likewise.
24763 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
24764 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
24766 * string/Makefile (tests-ifunc): New variable.
24767 (tests): Add $(tests-ifunc).
24768 * string/test-memccpy.c (TEST_NAME): New macro.
24769 * string/test-memchr.c (TEST_NAME): Likewise.
24770 * string/test-memcmp.c (TEST_NAME): Likewise.
24771 * string/test-memcpy.c (TEST_NAME): Likewise.
24772 * string/test-memmem.c (TEST_NAME): Likewise.
24773 * string/test-memmove.c (TEST_NAME): Likewise.
24774 * string/test-memset.c (TEST_NAME): Likewise.
24775 * string/test-rawmemchr.c (TEST_NAME): Likewise.
24776 * string/test-stpcpy.c (TEST_NAME): Likewise.
24777 * string/test-stpncpy.c (TEST_NAME): Likewise.
24778 * string/test-strcasecmp.c (TEST_NAME): Likewise.
24779 * string/test-strcasestr.c (TEST_NAME): Likewise.
24780 * string/test-strcat.c (TEST_NAME): Likewise.
24781 * string/test-strchr.c (TEST_NAME): Likewise.
24782 * string/test-strcmp.c(TEST_NAME): Likewise.
24783 * string/test-strcpy.c (TEST_NAME): Likewise.
24784 * string/test-strcspn.c (TEST_NAME): Likewise.
24785 * string/test-strlen.c (TEST_NAME): Likewise.
24786 * string/test-strncasecmp.c (TEST_NAME): Likewise.
24787 * string/test-strncmp.c (TEST_NAME): Likewise.
24788 * string/test-strncpy.c (TEST_NAME): Likewise.
24789 * string/test-strnlen.c (TEST_NAME): Likewise.
24790 * string/test-strpbrk.c (TEST_NAME): Likewise.
24791 * string/test-strrchr.c (TEST_NAME): Likewise.
24792 * string/test-strspn.c (TEST_NAME): Likewise.
24793 * string/test-strstr.c (TEST_NAME): Likewise.
24794 * string/test-bcopy-ifunc.c: New file.
24795 * string/test-bzero-ifunc.c: Likewise.
24796 * string/test-memccpy-ifunc.c: Likewise.
24797 * string/test-memchr-ifunc.c: Likewise.
24798 * string/test-memcmp-ifunc.c: Likewise.
24799 * string/test-memcpy-ifunc.c: Likewise.
24800 * string/test-memmem-ifunc.c: Likewise.
24801 * string/test-memmove-ifunc.c: Likewise.
24802 * string/test-mempcpy-ifunc.c: Likewise.
24803 * string/test-memset-ifunc.c: Likewise.
24804 * string/test-rawmemchr-ifunc.c: Likewise.
24805 * string/test-stpcpy-ifunc.c: Likewise.
24806 * string/test-stpncpy-ifunc.c: Likewise.
24807 * string/test-strcasecmp-ifunc.c: Likewise.
24808 * string/test-strcasestr-ifunc.c: Likewise.
24809 * string/test-strcat-ifunc.c: Likewise.
24810 * string/test-strchr-ifunc.c: Likewise.
24811 * string/test-strchrnul-ifunc.c: Likewise.
24812 * string/test-strcmp-ifunc.c: Likewise.
24813 * string/test-strcpy-ifunc.c: Likewise.
24814 * string/test-strcspn-ifunc.c: Likewise.
24815 * string/test-strlen-ifunc.c: Likewise.
24816 * string/test-strncasecmp-ifunc.c: Likewise.
24817 * string/test-strncat-ifunc.c: Likewise.
24818 * string/test-strncmp-ifunc.c: Likewise.
24819 * string/test-strncpy-ifunc.c: Likewise.
24820 * string/test-strnlen-ifunc.c: Likewise.
24821 * string/test-strpbrk-ifunc.c: Likewise.
24822 * string/test-strrchr-ifunc.c: Likewise.
24823 * string/test-strspn-ifunc.c: Likewise.
24824 * string/test-strstr-ifunc.c: Likewise.
24826 * debug/Makefile (tests-ifunc): New variable.
24827 (tests): Add $(tests-ifunc).
24828 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
24829 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
24830 * debug/test-stpcpy_chk-ifunc.c: New file.
24831 * debug/test-strcpy_chk-ifunc.c: Likewise.
24833 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
24836 * elf/dl-load.c (open_verify): Retry read if the entire ELF
24837 header is not read in.
24839 2012-10-19 Joseph Myers <joseph@codesourcery.com>
24841 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
24842 script to $(SHELL) as $<. Pass $(common-objpfx) to script
24843 directly. Pass built executable to script as
24844 $(built-program-cmd).
24845 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
24846 $testprogram without using LD_LIBRARY_PATH and $ldso.
24848 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
24849 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
24850 $(rtld-installed-name).
24851 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
24852 (rtld_installed_name): Likewise.
24853 (library_path): Likewise.
24854 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
24855 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
24856 $(run-program-prefix) to tst-tables.sh.
24857 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
24858 it to run tst-table-from and tst-table-to.
24859 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
24860 Pass it to tst-table.sh.
24861 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
24862 $(run-program-prefix) to tst-gettext.sh.
24863 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
24865 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
24867 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
24868 to run tst-gettext.
24869 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
24870 to run tst-gettext2.
24871 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
24872 to run tst-translit.
24873 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
24874 $(run-program-prefix) to tst-mtrace.sh.
24875 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
24877 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
24878 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
24879 $(rtld-installed-name).
24880 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
24881 (rtld_installed_name): Likewise.
24882 (run_program_prefix): New variable. Use it to run wordexp-test.
24884 * Makeconfig (ARCH): Remove all definitions.
24885 (machine): Likewise.
24886 [ARCH]: Remove conditional code.
24887 [!objdir]: Give error.
24888 [!objdir] (objpfx): Remove.
24889 [!objdir] (common-objpfx): Likewise.
24890 [!objdir] (common-objdir): Likewise.
24891 * configure.in (config_makefile): Remove. Hardcode Makefile in
24892 AC_CONFIG_FILES call.
24893 * configure: Regenerated.
24896 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
24898 (testout): Likewise.
24900 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
24901 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
24902 $(rtld-installed-name).
24903 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
24904 (rtld_installed_name): Likwise.
24905 (runit): Remove function.
24906 (run_getconf): New variable, Use it for running getconf binary.
24908 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
24911 * string/test-memmem.c (check_result): New function.
24912 (do_one_test): Use it.
24913 (check1): New function.
24914 (test_main): Use it.
24916 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
24918 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
24920 2012-10-18 Joseph Myers <joseph@codesourcery.com>
24922 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
24923 (_G_LSEEK64): Likewise.
24924 (_G_MMAP64): Likewise.
24925 (_G_FSTAT64): Likewise.
24926 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
24927 (_G_LSEEK64): Likewise.
24928 (_G_MMAP64): Likewise.
24929 (_G_FSTAT64): Likewise.
24930 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
24931 unconditional. Call __mmap64 directly.
24932 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
24933 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
24934 __lseek64 directly.
24935 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
24936 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
24938 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
24939 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
24940 __lseek64 directly.
24941 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
24942 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
24943 __lseek64 directly.
24944 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
24945 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
24946 __lseek64 directly.
24947 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
24948 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
24949 __fxstat64 directly.
24950 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
24951 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
24953 (freopen64) [!_G_OPEN64]: Remove conditional code.
24954 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
24956 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
24957 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
24959 (ftello64) [!_G_LSEEK64]: Remove conditional code.
24960 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
24962 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
24963 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
24965 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
24966 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
24968 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
24969 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
24971 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
24972 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
24974 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
24976 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24979 * manual/memory.texi (Malloc Tunable Parameters): Add note
24980 about free list pointers overwriting some perturb bytes.
24981 Wording suggested by Roland McGrath.
24983 2012-10-17 Joseph Myers <joseph@codesourcery.com>
24985 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
24986 (lgamma_test): Likewise.
24987 (tgamma_test): Likewise.
24989 2012-10-16 Florian Weimer <fweimer@redhat.com>
24992 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
24993 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
24995 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
24997 * NEWS: Mention BZ #14716.
24998 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
24999 when removing AVAILABLE1_USES_J macro.
25001 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
25003 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
25004 (__bswap_64): __uint64_t for unsigned 64-bit int.
25006 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
25008 * include/string.h (memmem): Declare libc hidden alias.
25009 * string/memmem.c (memmem): Define libc hidden alias.
25010 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
25011 __read, __close instead of open, read, close.
25013 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
25015 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
25016 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
25018 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
25019 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
25020 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
25022 (__rawmemchr_sse2): Likewise.
25023 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
25024 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
25025 (__strchr_sse2): Likewise.
25026 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
25027 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
25028 (__strcasecmp_sse2): Likewise.
25029 (__strncasecmp_sse2): Likewise.
25030 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
25031 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
25032 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
25033 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
25034 (__strrchr_sse2): Likewise.
25035 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
25037 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
25038 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
25039 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
25040 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
25041 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
25042 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
25043 * sysdeps/x86_64/multiarch/memset.S: Likewise.
25044 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25045 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
25046 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
25047 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
25048 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
25049 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
25050 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
25051 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
25052 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
25053 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
25054 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
25055 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
25056 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
25057 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
25058 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
25059 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
25060 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
25061 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
25062 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
25063 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
25064 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
25065 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
25066 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
25068 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
25070 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
25071 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
25072 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
25073 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
25075 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
25077 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
25078 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
25079 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
25080 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
25082 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
25083 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
25084 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
25085 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
25086 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
25087 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
25088 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
25089 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
25090 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
25091 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
25092 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
25093 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
25094 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
25095 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
25096 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
25097 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25098 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
25099 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
25100 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
25101 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
25102 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25103 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
25104 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
25105 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
25106 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25107 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
25108 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
25109 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
25110 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
25111 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
25112 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
25113 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
25114 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
25115 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
25116 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
25117 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
25118 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
25119 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
25120 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
25121 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
25122 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
25124 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
25125 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
25126 * include/ifunc-impl-list.h: New file.
25127 * misc/ifunc-impl-list.c: Likewise.
25128 * misc/Makefile (routines): Add ifunc-impl-list.
25129 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
25130 * string/test-string.h: Include <ifunc-impl-list.h>.
25131 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
25132 TEST_NAME]: New variables.
25133 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
25135 (test_init): Call __libc_ifunc_impl_list to initialize
25136 func_list if TEST_IFUNC and TEST_NAME are defined.
25138 * string/Makefile (strop-tests): Add bcopy and bzero.
25139 * string/test-bcopy.c: New file.
25140 * string/test-bzero.c: Likewise.
25141 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
25143 * string/test-memset.c: Support bzero test if TEST_BZERO is
25145 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
25147 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
25149 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
25152 2012-10-10 Joseph Myers <joseph@codesourcery.com>
25154 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
25155 * configure: Regenerated.
25157 * Makeconfig (+link-static-before-libc): Don't include
25158 $(link-static-libc).
25160 * libio/libio.h (_IO_pos_t): Remove.
25162 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
25164 * NEWS: Add note about FIPS mode. Wording suggested by Roland
25167 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
25169 * crypt/crypt-entry.c: Include fips-private.h.
25170 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
25171 * crypt/md5c-test.c (main): Tolerate disabled MD5.
25172 * sysdeps/unix/sysv/linux/fips-private.h: New file.
25173 * sysdeps/generic/fips-private.h: New file, dummy fallback.
25175 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
25177 * crypt/crypt-private.h: Include stdbool.h.
25178 (_ufc_setup_salt_r): Return bool.
25179 * crypt/crypt-entry.c: Include errno.h.
25180 (__crypt_r): Return NULL with EINVAL for bad salt.
25181 * crypt/crypt_util.c (bad_for_salt): New.
25182 (_ufc_setup_salt_r): Check that salt is long enough and within
25183 the specified alphabet.
25184 * crypt/badsalttest.c: New file.
25185 * crypt/Makefile (tests): Add it.
25186 ($(objpfx)badsalttest): New.
25188 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
25190 * NEWS: Add entry for BZ #14602.
25192 2012-10-09 Joseph Myers <joseph@codesourcery.com>
25194 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
25196 * math/libm-test.inc: Update comment listing what functions and
25198 (isgreater_test): New function.
25199 (isgreaterequal_test): Likewise.
25200 (isless_test): Likewise.
25201 (islessequal_test): Likewise.
25202 (islessgreater_test): Likewise.
25203 (isunordered_test): Likewise.
25204 (main): Call the new functions.
25206 2012-10-09 Roland McGrath <roland@hack.frob.com>
25208 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
25209 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
25210 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
25211 * sysdeps/i386/configure: Regenerated.
25212 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
25213 * sysdeps/mach/configure: Regenerated.
25214 * sysdeps/mach/hurd/configure: Regenerated.
25215 * sysdeps/powerpc/configure: Regenerated.
25216 * sysdeps/powerpc/powerpc32/configure: Regenerated.
25217 * sysdeps/powerpc/powerpc64/configure: Regenerated.
25218 * sysdeps/s390/s390-32/configure: Regenerated.
25219 * sysdeps/s390/s390-64/configure: Regenerated.
25220 * sysdeps/sh/configure: Regenerated.
25221 * sysdeps/sparc/configure: Regenerated.
25222 * sysdeps/unix/sysv/linux/configure: Regenerated.
25223 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
25224 * sysdeps/x86_64/configure: Regenerated.
25226 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
25227 defined. Don't check if MAP is NULL.
25229 2012-10-09 Joseph Myers <joseph@codesourcery.com>
25231 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
25232 (_G_stat64): Likewise.
25233 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
25234 (_G_stat64): Likewise.
25235 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
25236 instead of struct _G_stat64.
25237 * libio/fileops.c (mmap_remap_check): Likewise.
25238 (decide_maybe_mmap): Likewise.
25239 (_IO_new_file_seekoff): Likewise.
25240 (_IO_file_stat): Likewise.
25241 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
25243 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
25244 instead of struct _G_stat64.
25245 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
25247 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
25250 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
25252 (CHECK_EOL): New macro.
25253 (two_way_short_needle): Check beginning of haystack for EOL. Use
25255 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
25256 Replace with CHECK_EOL.
25257 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
25258 Replace with CHECK_EOL.
25260 2012-10-08 Joseph Myers <joseph@codesourcery.com>
25262 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
25264 * math/libm-test.inc: Update comment listing what functions and
25266 (finite_test): New function.
25267 (isinf_test): Likewise.
25268 (isnan_test): Likewise.
25269 (fpclassify_test): Test subnormal input.
25270 (isfinite_test): Likewise.
25271 (isnormal_test): Likewise.
25272 (main): Call the new functions.
25274 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
25277 * Makerules (%.dynsym): Force C locale when running
25278 $(OBJDUMP) --dynamic-syms.
25280 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
25282 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
25285 2012-10-06 David S. Miller <davem@davemloft.net>
25287 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
25288 upper 32-bits of the length value in %o2 since we use branch-on-register
25289 tests which consider the entire 64-bit register.
25291 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
25293 * string/test-strstr.c (check2): Add a test for page boundary.
25295 2012-10-05 David S. Miller <davem@davemloft.net>
25297 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
25298 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
25300 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
25302 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
25303 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
25304 and bzero when HWCAP_SPARC_CRYPTO is present.
25306 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
25309 * string/test-strstr.c (check2): New function.
25310 (test_main): Call check2.
25312 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
25314 * string/bug-strcasestr1.c (do_test): Moved to ...
25315 * string/test-strcasestr.c (check1): Here. New function.
25316 (do_one_test): Break out result checking code into ...
25317 (check_result): This. New function.
25318 (do_one_test): Call check_result.
25319 (test_main): Call check1.
25320 * string/bug-strchr1.c (do_test): Moved to ...
25321 * string/test-strchr.c (check1): Here. New function.
25322 (do_one_test): Break out result checking code into ...
25323 (check_result): This. New function.
25324 (do_one_test): Call check_result.
25325 (test_main): Call check1.
25326 * string/bug-strstr1.c (main): Moved to ...
25327 * string/test-strstr.c (check1): Here. New function.
25328 (do_one_test): Break out result checking code into ...
25329 (check_result): This. New function.
25330 (do_one_test): Call check_result.
25331 (test_main): Call check1.
25332 * string/bug-strcasestr1.c: Removed.
25333 * string/bug-strchr1.c: Likewise.
25334 * string/bug-strstr1.c: Likewise.
25336 * elf/Makefile (dl-routines): Add hwcaps.
25337 * elf/dl-support.c (_dl_important_hwcaps): Removed.
25338 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
25339 (_dl_important_hwcaps): Moved to ...
25340 * elf/dl-hwcaps.c: Here. New file.
25341 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
25344 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
25345 if IS_IN_rtld isn't defined.
25347 * elf/dl-support.c (_dl_sysinfo_map): New.
25348 Include "get-dynamic-info.h" and "setup-vdso.h".
25349 (_dl_non_dynamic_init): Call setup_vdso.
25350 * elf/dynamic-link.h: Don't include <assert.h>.
25351 (elf_get_dynamic_info): Moved to ...
25352 * elf/get-dynamic-info.h: Here. New file.
25353 * elf/dynamic-link.h: Include "get-dynamic-info.h".
25354 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
25355 * elf/setup-vdso.h: Here. New file.
25356 * elf/rtld.c: Include "setup-vdso.h".
25357 (dl_main): Call setup_vdso.
25359 2012-10-05 Joseph Myers <joseph@codesourcery.com>
25361 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
25362 creal in comment listing functions tested. List finite, isinf,
25363 isnan, isless, islessequal, isgreater, isgreaterequal,
25364 islessgreater, isunordered, lgamma_r and pow10 as functions and
25365 macros not tested. Mention which functions not tested are aliases
25366 for other functions. Fix typo. Note that signs of NaNs are not
25369 * scripts/config.guess: Update from config.git.
25370 * scripts/config.sub: Likewise.
25372 2012-10-04 Roland McGrath <roland@hack.frob.com>
25374 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
25375 * misc/madvise.c (madvise): Renamed to __madvise.
25376 Make madvise a weak alias.
25377 * include/sys/mman.h: Declare __madvise.
25378 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
25379 * sysdeps/unix/syscalls.list
25380 (madvise): Make __madvise the strong name, and madvise a weak alias.
25381 * sysdeps/unix/sysv/linux/syscalls.list
25382 (madvise, mmap): Remove redundant entries.
25383 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
25384 * malloc/malloc.c (mtrim): Likewise.
25385 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
25387 2012-10-03 Roland McGrath <roland@hack.frob.com>
25389 * sysdeps/mach/hurd/dl-cache.c: File removed.
25390 * config.h.in (USE_LDCONFIG): New #undef.
25391 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
25392 * configure: Regenerated.
25393 * elf/Makefile (dl-routines): Add dl-cache only under
25394 [$(use-ldconfig) = yes].
25395 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
25396 cache on [USE_LDCONFIG].
25397 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
25399 * elf/rtld.c (dl_main): Likewise.
25401 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
25403 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
25404 _SC_LEVEL4_CACHE_LINESIZE.
25406 2012-10-03 Roland McGrath <roland@hack.frob.com>
25408 * sysdeps/unix/bsd/confstr.h: File removed.
25410 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
25412 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
25415 2012-10-02 Roland McGrath <roland@hack.frob.com>
25417 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
25418 Make 'mapoff' field ElfW(Off) rather than off_t.
25420 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
25422 * nscd/Makefile: Remove nscd-cflags and all its users.
25423 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
25424 (CFLAGS-nonlib): Add compiler flags for nscd modules.
25427 * malloc.c (malloc_printerr): Clarify error message.
25429 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
25432 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25433 Set bit_FMA_Usable if FMA is supported.
25434 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
25436 (bit_FMA4_Usable): Updated.
25437 (index_FMA_Usable): New macro.
25438 (CPUID_FMA): Likewise
25439 (HAS_FMA): Defined with bit_FMA_Usable.
25441 2012-10-01 Roland McGrath <roland@hack.frob.com>
25443 * bits/types.h (__swblk_t): Type removed.
25444 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
25445 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
25446 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25447 (__SWBLK_T_TYPE): Likewise.
25448 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25449 (__SWBLK_T_TYPE): Likewise.
25450 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25451 (__SWBLK_T_TYPE): Likewise.
25452 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25453 (__SWBLK_T_TYPE): Likewise.
25455 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
25456 Honza Horak <hhorak@redhat.com>
25458 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
25459 (xdr_mapname): Use YPMAXMAP as maxsize.
25460 (xdr_peername): Use YPMAXPEER as maxsize.
25461 (xdr_keydat): Use YPAXRECORD as maxsize.
25462 (xdr_valdat): Use YPMAXRECORD as maxsize.
25464 2012-10-01 Roland McGrath <roland@hack.frob.com>
25466 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
25468 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
25469 * csu/init-first.c: ... here.
25470 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
25471 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
25472 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
25473 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
25474 * sysdeps/i386/init-first.c: File removed.
25475 * sysdeps/sh/init-first.c: File removed.
25477 2012-10-01 Joseph Myers <joseph@codesourcery.com>
25480 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
25481 if x * y might underflow to zero and z is zero.
25482 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25483 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25484 * math/libm-test.inc (min_subnorm_value): New variable.
25485 (fma_test): Add more tests.
25486 (fma_test_towardzero): Likewise.
25487 (fma_test_downward): Likewise
25488 (fma_test_upward): Likewise.
25489 (initialize): Set min_subnorm_value.
25491 2012-09-29 Joseph Myers <joseph@codesourcery.com>
25494 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
25496 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
25497 mode for addition resulting in exact zero.
25498 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
25499 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
25501 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25502 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25503 * math/libm-test.inc (fma_test): Add more tests.
25504 (fma_test_towardzero): New function.
25505 (fma_test_downward): Likewise.
25506 (fma_test_upward): Likewise.
25507 (main): Call the new functions.
25509 2012-09-28 David S. Miller <davem@davemloft.net>
25511 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
25513 2012-09-28 Roland McGrath <roland@hack.frob.com>
25515 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
25516 instead of SIGALRM.
25518 * sysdeps/gnu/_G_config.h: Moved to ...
25519 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
25520 * sysdeps/mach/hurd/_G_config.h: Moved to ...
25521 * sysdeps/generic/_G_config.h: ... here.
25523 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
25525 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
25527 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
25528 Conditionalize target on [libnss_test1.so-version].
25530 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
25532 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
25533 (elfobjdir): Move out of conditionals.
25535 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
25536 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
25537 (__nss_lookup_function): Conditionalize label remove_from_tree on
25538 [!DO_STATIC_NSS || SHARED], matching its only use.
25540 2012-09-28 David S. Miller <davem@davemloft.net>
25542 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
25543 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
25545 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
25547 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
25548 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
25549 when HWCAP_SPARC_CRYPTO is present.
25551 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
25553 * io/tst-mknodat.c: Create a FIFO instead of a socket.
25555 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
25558 * stdio-common/vfprintf.c (process_string_arg): Revert
25561 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
25563 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
25565 * stdio-common/tst-sprintf.c: Include <locale.h>
25566 (main): Test sprintf's handling of incomplete multibyte
25569 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
25571 * elf/dl-runtime.c (VERSYMIDX): Removed.
25572 * elf/dl-version.c (VERSYMIDX): Likewise.
25573 * elf/do-rel.h (VERSYMIDX): Likewise.
25574 (VALIDX): Likewise.
25575 * elf/dynamic-link.h (VERSYMIDX): Likewise.
25576 * elf/rtld.c (VALIDX): Likewise.
25577 (ADDRIDX): Likewise.
25578 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
25579 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
25580 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
25581 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
25582 (VALIDX): Likewise.
25583 (ADDRIDX): Likewise.
25585 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
25587 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
25589 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
25592 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
25594 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
25595 addresses are in the same scope as 192.0.2/24.
25596 * posix/gai.conf: Document new scope table defaults.
25598 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25601 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
25602 for ftell. Compute offsets from write pointers instead.
25603 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
25605 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25608 * libio/Makefile (tests): New test case tst-fseek.
25609 * libio/tst-fseek.c: New test case to verify that fseek/ftell
25610 combination works in wide mode.
25611 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
25612 state when the external buffer state changes.
25614 2012-09-27 David S. Miller <davem@davemloft.net>
25617 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
25618 pass reloc->r_addend in as the 'high' argument to
25619 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
25621 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25623 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
25625 * rt/tst-aio2.c: Include <pthread.h>.
25626 * rt/tst-aio3.c: Likewise.
25628 2012-09-27 Steve Ellcey <sellcey@mips.com>
25630 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
25632 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
25634 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
25635 contents on [SHARED].
25637 2012-09-26 Marek Polacek <polacek@redhat.com>
25641 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
25642 for C++ and GCC <4.3 as well as for non GCC compilers.
25644 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
25646 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25648 2012-09-25 Roland McGrath <roland@hack.frob.com>
25650 * Makefile.in (all, install): Declare with .PHONY.
25651 Reported by Michael Hope <michael.hope@linaro.org>.
25653 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25655 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
25656 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
25658 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
25660 (sydep_routines): Add the new and the internal functions.
25661 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
25662 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
25663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
25664 (GLIBC_2.17): Add the new function.
25665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
25666 (GLIBC_2.17): Likewise.
25667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
25668 (GLIBC_2.17): Likewise.
25669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
25670 (GLIBC_2.17): Likewise.
25671 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
25673 2012-09-25 Alan Modra <amodra@gmail.com>
25675 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
25676 Add release barrier before setting once_control to say
25677 initialisation is done. Add hints on lwarx. Use macro in
25679 (clear_once_control): Add release barrier.
25681 2012-09-25 Joseph Myers <joseph@codesourcery.com>
25684 * math/s_clog.c (__clog): Handle more values close to |z| = 1
25686 * math/s_clog10.c (__clog10): Likewise.
25687 * math/s_clog10f.c (__clog10f): Likewise.
25688 * math/s_clog10l.c (__clog10l): Likewise.
25689 * math/s_clogf.c (__clogf): Likewise.
25690 * math/s_clogl.c (__clogl): Likewise.
25691 * math/Makefile (libm-calls): Add x2y2m1.
25692 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
25693 (__x2y2m1): Likewise.
25694 (__x2y2m1l): Likewise.
25695 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
25696 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
25697 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
25698 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
25699 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
25700 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
25701 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
25702 * sysdeps/i386/fpu/libm-test-ulps: Update.
25703 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25706 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
25707 int as type of variable DEPTH.
25708 (glob): Use size_t instead of int as type of variables NEWCOUNT
25711 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25713 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
25714 Add s_sincosf-sse2.
25715 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
25716 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
25717 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
25718 macros for using routine as __sincosf_ia32.
25719 Use macro for function declaration and weak_alias.
25720 * sysdeps/i386/fpu/libm-test-ulps: Update.
25722 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
25723 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25725 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
25726 subnormal argument.
25727 * math/s_cexpf.c (__cexpf): Likewise.
25728 * math/s_csinf.c (__csinf): Likewise.
25729 * math/s_csinhf.c (__csinhf): Likewise.
25730 * math/s_ctanf.c (__ctanf): Likewise.
25731 * math/s_ctanhf.c (__ctanhf): Likewise.
25732 * math/s_ccosh.c (__ccoshf): Likewise.
25733 * math/s_cexp.c (__cexpl): Likewise.
25734 * math/s_csin.c (__csin): Likewise.
25735 * math/s_csinh.c (__csinh): Likewise.
25736 * math/s_ctan.c (__ctan): Likewise.
25737 * math/s_ctanh.c (ctanh): Likewise.
25738 * math/s_ccoshl.c (__ccoshl): Likewise.
25739 * math/s_cexpl.c (__cexpl): Likewise.
25740 * math/s_csinl.c (__csinl): Likewise.
25741 * math/s_csinhl.c (__csinhl): Likewise.
25742 * math/s_ctanl.c (__ctanl): Likewise.
25743 * math/s_ctanhl.c (__ctanhl): Likewise.
25745 2012-09-25 Joseph Myers <joseph@codesourcery.com>
25747 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
25748 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
25749 (_IO_off_t): Define to __off_t, not _G_off_t.
25750 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
25751 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
25752 (_IO_wint_t): Define to wint_t, not _G_wint_t.
25753 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
25754 type of __dummy and __dummy2 fields.
25755 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
25756 (_G_ssize_t): Likewise.
25757 (_G_off_t): Likewise.
25758 (_G_pid_t): Likewise.
25759 (_G_uid_t): Likewise.
25760 (_G_wchar_t): Likewise.
25761 (_G_wint_t): Likewise.
25762 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
25763 (_G_ssize_t): Likewise.
25764 (_G_off_t): Likewise.
25765 (_G_pid_t): Likewise.
25766 (_G_uid_t): Likewise.
25767 (_G_wchar_t): Likewise.
25768 (_G_wint_t): Likewise.
25769 * sysdeps/mach/hurd/_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.
25777 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25779 * malloc/arena.c: Include malloc-sysdep.h.
25780 (shrink_heap): Use check_may_shrink_heap to decide if madvise
25781 is sufficient to shrink the heap or an unmap is needed.
25782 * sysdeps/generic/malloc-sysdep.h: New file. Define
25783 new function check_may_shrink_heap.
25784 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
25785 new function check_may_shrink_heap.
25787 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25789 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
25792 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
25794 * catgets/test-gencat.sh: Add "set -e".
25795 * elf/tst-pathopt.sh: Likewise.
25796 * grp/tst_fgetgrent.sh: Likewise.
25797 * iconvdata/run-iconv-test.sh: Likewise.
25798 * intl/tst-gettext.sh: Likewise.
25799 * intl/tst-gettext2.sh: Likewise.
25800 * intl/tst-gettext4.sh: Likewise.
25801 * intl/tst-gettext6.sh: Likewise.
25802 * intl/tst-translit.sh: Likewise.
25803 * io/ftwtest-sh: Likewise.
25804 * libio/test-freopen.sh: Likewise.
25805 * malloc/tst-mtrace.sh: Likewise.
25806 * posix/globtest.sh: Likewise.
25807 * posix/tst-getconf.sh: Likewise.
25808 * posix/wordexp-tst.sh: Likewise.
25809 * stdio-common/tst-printf.sh: Likewise.
25810 * stdio-common/tst-unbputc.sh: Likewise.
25811 * stdlib/tst-fmtmsg.sh: Likewise.
25812 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
25813 * catgets/Makefile: Do not specify -e option when running
25814 testsuite shell scripts.
25815 * elf/Makefile: Likewise.
25816 * grp/Makefile: Likewise.
25817 * iconvdata/Makefile: Likewise.
25818 * intl/Makefile: Likewise.
25819 * io/Makefile: Likewise.
25820 * libio/Makefile: Likewise.
25821 * malloc/Makefile: Likewise.
25822 * posix/Makefile: Likewise.
25823 * stdio-common/Makefile: Likewise.
25824 * stdlib/Makefile: Likewise.
25825 * sysdeps/x86_64/Makefile: Likewise.
25827 * io/ftwtest-sh: Add copyright header.
25828 * posix/globtest.sh: Likewise.
25829 * posix/tst-getconf.sh: Likewise.
25830 * posix/wordexp-tst.sh: Likewise.
25831 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
25833 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
25836 * Makeconfig (+link): Defined as $(+link-static) if
25837 $(build-shared) isn't yes.
25838 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
25840 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
25842 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
25845 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
25846 new chunk size with MALLOC_ALIGN_MASK.
25848 2012-09-24 Joseph Myers <joseph@codesourcery.com>
25851 * stdio-common/printf_fphex.c: Include <stdbool.h> and
25853 (__printf_fphex): Determine rounding using get_rounding_mode and
25855 * stdio-common/tst-printf-round.c (struct hex_test): New
25857 (hex_tests): New variable.
25858 (test_hex_in_one_mode): New function.
25859 (do_test): Also run tests for hex float output.
25861 2012-09-21 Joseph Myers <joseph@codesourcery.com>
25863 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
25864 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
25865 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
25866 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
25867 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
25868 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
25869 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
25870 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
25872 2012-09-20 Joseph Myers <joseph@codesourcery.com>
25874 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
25875 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
25876 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
25877 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
25879 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
25882 * elf/rtld.c (dl_main): Limit the check for self loading to normal
25884 * elf/tst-rtld-load-self.sh: New test.
25885 * elf/Makefile: Run it.
25887 2012-09-18 Joseph Myers <joseph@codesourcery.com>
25889 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
25890 (tst-writev-ENV): Remove.
25891 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
25893 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
25895 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
25897 2012-09-17 Joseph Myers <joseph@codesourcery.com>
25899 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
25901 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
25903 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
25904 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
25905 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
25908 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
25911 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
25912 * config.make.in (have-cpp-asm-debuginfo): Removed.
25913 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
25914 * configure: Regenerated.
25916 2012-09-14 Joseph Myers <joseph@codesourcery.com>
25919 * stdio-common/printf_fp.c: Include <stdbool.h> and
25921 (___printf_fp): Determine rounding using get_rounding_mode and
25923 * stdio-common/tst-printf-round.c: New file.
25924 * stdio-common/Makefile (tests): Add tst-printf-round.
25925 (link-libm): New variable.
25926 ($(objpfx)tst-printf-round): Depend in $(link-libm).
25928 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
25931 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
25932 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
25934 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
25937 2012-09-13 Joseph Myers <joseph@codesourcery.com>
25939 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
25940 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25941 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25942 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25944 2012-09-12 Joseph Myers <joseph@codesourcery.com>
25947 * include/rounding-mode.h: New file.
25948 * sysdeps/generic/get-rounding-mode.h: Likewise.
25949 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
25950 * stdlib/strtod_l.c: Include <rounding-mode.h>.
25951 (MAX_VALUE): New macro.
25952 (MIN_VALUE): Likewise.
25953 (overflow_value): New function.
25954 (underflow_value): Likewise.
25955 (round_and_return): Use overflow_value and underflow_value to
25956 determine return values in overflow and underflow cases. Use
25957 round_away to determine rounding depending on rounding mode.
25958 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
25959 determine return values in overflow and underflow cases.
25960 * stdlib/tst-strtod-round.c: Include <fenv.h>.
25961 (struct test_results): New structure.
25962 (struct test): Use struct test_results to store expected results
25963 for all rounding modes.
25964 (TEST): Include expected results for all rounding modes.
25965 (test_in_one_mode): New function.
25966 (do_test): Use test_in_one_mode to compute and check results.
25967 Check results for all rounding modes.
25968 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
25971 2012-12-09 Allan McRae <allan@archlinux.org>
25973 * sysdeps/i386/fpu/libm-test-ulps: Update
25975 2012-09-11 Joseph Myers <joseph@codesourcery.com>
25977 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
25978 (_G_int32_t): Likewise.
25979 (_G_uint16_t): Likewise.
25980 (_G_uint32_t): Likewise.
25981 (_G_HAVE_BOOL): Likewise.
25982 (_G_HAVE_ATEXIT): Likewise.
25983 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25984 (_G_HAVE_IO_FILE_OPEN): Likewise.
25985 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
25986 (_G_int32_t): Likewise.
25987 (_G_uint16_t): Likewise.
25988 (_G_uint32_t): Likewise.
25989 (_G_HAVE_BOOL): Likewise.
25990 (_G_HAVE_ATEXIT): Likewise.
25991 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25992 (_G_HAVE_IO_FILE_OPEN): Likewise.
25993 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
25994 (_G_int32_t): Likewise.
25995 (_G_uint16_t): Likewise.
25996 (_G_uint32_t): Likewise.
25997 (_G_HAVE_BOOL): Likewise.
25998 (_G_HAVE_ATEXIT): Likewise.
25999 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
26000 (_G_HAVE_IO_FILE_OPEN): Likewise.
26002 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
26004 * csu/libc-tls.c: Update copyright years.
26006 2012-09-10 Joseph Myers <joseph@codesourcery.com>
26008 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
26009 [!_G_USING_THUNKS]: Remove conditional code.
26010 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
26011 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
26013 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
26014 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
26015 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
26016 (_G_VTABLE_LABEL_PREFIX): Likewise.
26017 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
26018 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
26019 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
26020 (_G_VTABLE_LABEL_PREFIX): Likewise.
26021 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
26022 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
26023 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
26024 (_G_VTABLE_LABEL_PREFIX): Likewise.
26025 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
26027 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
26029 * libio/Makefile: Include ../Makeconfig before tests.
26030 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
26031 only if $(build-shared) is yes.
26033 * iconv/gconv_db.c: Update copyright years.
26035 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26037 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
26038 unwind info if defined PIC. Fix special cases description.
26039 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
26041 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
26043 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
26045 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
26047 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
26049 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
26052 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
26053 (LDLIBS-tst-chk4): This.
26054 (LDFLAGS-tst-chk5): Renamed to ...
26055 (LDLIBS-tst-chk5): This.
26056 (LDFLAGS-tst-chk6): Renamed to ...
26057 (LDLIBS-tst-chk6): This.
26058 (LDFLAGS-tst-lfschk4): Renamed to ...
26059 (LDLIBS-tst-lfschk4): This.
26060 (LDFLAGS-tst-lfschk5): Renamed to ...
26061 (LDLIBS-tst-lfschk5): This.
26062 (LDFLAGS-tst-lfschk6): Renamed to ...
26063 (LDLIBS-tst-lfschk6): This.
26065 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
26066 on $(common-objpfx)soversions.mk.
26068 2012-09-07 Joseph Myers <joseph@codesourcery.com>
26071 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
26074 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
26076 * malloc/arena.c (arena_get_retry): New function that gets
26077 another arena for the caller to try its request on.
26078 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
26079 current arena cannot fulfill the request.
26080 (__libc_memalign): Likewise.
26081 (__libc_memalign): Likewise.
26082 (__libc_pvalloc): Likewise.
26083 (__libc_calloc): Likewise.
26085 2012-09-05 John Tobey <john.tobey@gmail.com>
26088 * manual/arith.texi (Operations on Complex): Fix description
26089 of carg branch cut.
26091 2012-09-06 Joseph Myers <joseph@codesourcery.com>
26094 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
26098 * manual/memory.texi (Memory): Make order of menu items match
26101 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
26103 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
26104 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
26105 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
26107 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
26109 * csu/libc-tls.c (static_dtv): Renamed to ...
26110 (_dl_static_dtv): This. Make it global.
26111 (_dl_initial_dtv): Removed.
26112 (__libc_setup_tls): Updated.
26113 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
26114 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
26117 2012-09-06 Petr Machata <pmachata@redhat.com>
26119 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
26120 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
26121 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
26122 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
26124 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
26127 * csu/libc-tls.c (_dl_initial_dtv): New variable.
26128 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
26131 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
26134 * Makeconfig (link-static-before-libc): Replace $(+prector)
26136 (link-static-after-libc): Replace $(+postctor) with
26138 (link-bounded): Replace $(+prector)/$(+postctor) with
26139 $(+prectorT)/$(+postctorT).
26140 (+prectorT): New macro.
26141 (+postctorT): Likewise.
26143 2012-09-06 Joseph Myers <joseph@codesourcery.com>
26145 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
26146 (round_str): Handle values above the maximum for IBM long double
26148 * stdlib/tst-strtod-round.c (tests): Regenerated.
26150 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26152 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
26154 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
26155 zarch_nohighgprs around the zarch optimized routines.
26156 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
26157 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
26158 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
26161 2012-09-05 David S. Miller <davem@davemloft.net>
26163 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26165 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
26166 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
26167 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
26168 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
26171 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
26173 * malloc/arena.c: Fold copyright years.
26174 * malloc/mcheck.c, malloc/memusage.c: Likewise.
26176 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
26178 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
26180 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
26182 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
26184 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
26186 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
26187 change internal state upon failure.
26189 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
26191 * malloc/mcheck.c (mcheck_check_all): Fix typo.
26192 * malloc/memusage.c (mmap): Likewise.
26193 (mmap64, mremap): Likewise. Adjust name in comment.
26195 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
26197 * libio/fileops.c: Fix typos in comments.
26198 * libio/oldfileops.c: Likewise.
26199 * libio/wfileops.c: Likewise.
26201 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
26204 * malloc/Makefile (tests): Add tst-malloc-usable test case.
26205 (tst-malloc-usable-ENV): Set environment for test case.
26206 * malloc/hooks.c (malloc_check_get_size): New function to get
26208 * malloc/malloc.c (musable): Use malloc_check_get_size.
26209 * malloc/tst-malloc-usable.c: New test case.
26211 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
26213 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
26215 2012-09-05 Allan McRae <allan@archlinux.org>
26218 * configure.in (CXX_SYSINCLUDES): Use compiler output to
26219 determine header location.
26220 * configure: Regenerated.
26222 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
26224 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
26226 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
26227 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
26229 (test): Regenerate.
26231 2012-09-04 David S. Miller <davem@davemloft.net>
26233 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
26234 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
26235 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
26237 2012-09-04 Florian Weimer <fweimer@redhat.com>
26239 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
26242 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
26244 2012-09-04 Joseph Myers <joseph@codesourcery.com>
26247 * libio/iogetdelim.c: Include <limits.h>.
26248 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
26249 + len + 1 would overflow.
26251 2012-09-03 Andreas Jaeger <aj@suse.de>
26253 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26254 * sysdeps/i386/fpu/libm-test-ulps: Update.
26256 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26258 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
26259 Add s_sinf-sse2, s_conf-sse2.
26261 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
26262 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
26263 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
26264 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
26266 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
26267 for using routine as __sinf_ia32.
26268 Use macro for function declaration and weak_alias.
26269 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
26270 for using routine as __cosf_ia32.
26271 Use macro for function declaration and weak_alias.
26273 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
26274 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
26276 * sysdeps/x86_64/fpu/s_sinf.S: New file.
26277 * sysdeps/x86_64/fpu/s_cosf.S: New file.
26278 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26280 * math/libm-test.inc (cos_test): Add more test cases.
26281 (sin_test): Likewise.
26282 (sincos_test): Likewise.
26284 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26286 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
26287 (IFUNC_RESOLVE): Make pointers to the specialized implementations
26289 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
26291 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
26294 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
26295 first element of the GOT.
26296 (elf_machine_load_address): Return the difference between
26297 the runtime address of _DYNAMIC and elf_machine_dynamic ().
26299 2012-09-01 Allan McRae <allan@archlinux.org>
26302 * configure.in (AWK): Require gawk version 3.0 or later.
26303 * configure: Regenerated.
26305 2012-09-01 Joseph Myers <joseph@codesourcery.com>
26307 * sysdeps/unix/sysv/linux/kernel-features.h
26308 (__ASSUME_POSIX_CPU_TIMERS): Remove.
26309 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
26310 [__NR_clock_getres]: Make code unconditional.
26311 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
26312 (clock_getcpuclockid): Remove code left unreachable by removal of
26314 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
26315 code unconditional.
26316 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
26317 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
26318 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
26319 Make code unconditional.
26320 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
26321 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
26322 * sysdeps/unix/sysv/linux/clock_settime.c
26323 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
26325 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
26326 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
26328 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
26331 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
26332 scripts/test-installation.pl.
26334 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
26335 and $ld_so_version if it is set.
26337 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26340 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
26341 failure if reading from procfs failed.
26342 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
26344 2012-08-27 Joseph Myers <joseph@codesourcery.com>
26346 * sysdeps/unix/sysv/linux/kernel-features.h
26347 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
26348 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
26349 Remove conditional code.
26350 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26351 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
26352 Remove conditional code.
26353 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26354 * sysdeps/unix/sysv/linux/i386/fxstat.c
26355 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
26356 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26357 * sysdeps/unix/sysv/linux/i386/fxstatat.c
26358 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
26359 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26360 * sysdeps/unix/sysv/linux/i386/lxstat.c
26361 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
26362 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26363 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
26364 Remove conditional code.
26365 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26366 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
26367 Remove conditional code.
26368 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26369 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
26370 <kernel-features.h>.
26371 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
26373 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
26374 Remove conditional code.
26375 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26376 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
26377 Remove conditional.
26379 2012-08-27 Mike Frysinger <vapier@gentoo.org>
26382 * NEWS: Add fixed bug number.
26384 2012-08-27 Joseph Myers <joseph@codesourcery.com>
26387 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
26388 underflowing exponent in case of negative sign.
26389 * stdlib/tst-strtod-round-data: Add more tests.
26390 * stdlib/tst-strtod-round.c (tests): Regenerated.
26393 * stdlib/strtod_l.c (NDIG): Remove.
26394 (HEXNDIG): Likewise.
26395 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
26396 smallest representable value.
26397 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
26398 lie within an exact representation of 1/2 ulp of the result.
26399 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
26401 (TENS_P9_IDX): Define unconditionally.
26402 (TENS_P9_SIZE): Likewise.
26403 (TENS_P10_IDX): Likewise.
26404 (TENS_P10_SIZE): Likewise.
26405 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
26406 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
26407 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
26408 entries for 10^2^13 and 10^2^14.
26409 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
26410 (TENS_P13_IDX): Define.
26411 (TENS_P13_SIZE): Likewise.
26412 (TENS_P14_IDX): Likewise.
26413 (TENS_P14_SIZE): Likewise.
26414 (_fpioconst_pow10): Change array size to
26415 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
26417 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
26418 1024]: Add entries for 10^2^13 and 10^2^14.
26419 [LAST_POW10 > _LAST_POW10]: Remove #error.
26420 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
26421 (_fpioconst_pow10): Change array size to
26422 FPIOCONST_POW10_ARRAY_SIZE.
26423 * stdlib/gen-fpioconst.c: New file.
26424 * stdlib/gen-tst-strtod-round.c: Likewise.
26425 * stdlib/tst-strtod-round-data: Likewise.
26426 * stdlib/tst-strtod-round.c: Likewise.
26427 * stdlib/Makefile (tests): Add tst-strtod-round.
26430 * stdlib/strtod_l.c: Include <stdint.h>.
26431 (NDEBUG): Do not define.
26432 (round_and_return): Change EXPONENT parameter to type intmax_t.
26433 Rearrange calculations to avoid internal overflow possibilities.
26434 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
26435 Rearrange calculations to avoid internal overflow possibilities.
26436 Assert that number fits inside MPNSIZE limbs.
26437 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
26438 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
26439 calculations and add assertions to avoid internal overflow
26440 possibilities. Add casts to avoid signed/unsigned operations.
26441 * stdlib/tst-strtod-overflow.c: New file.
26442 * stdlib/Makefile (tests): Add tst-strtod-overflow.
26444 2012-08-25 Marek Polacek <polacek@redhat.com>
26446 * time/time.h: Fix some typos in comments.
26448 2012-08-23 Roland McGrath <roland@hack.frob.com>
26450 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
26451 * posix/tst-rfc3484-2.c: Likewise.
26452 * posix/tst-rfc3484-3.c: Likewise.
26454 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
26456 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
26457 (EF_ARM_ABI_FLOAT_HARD): Likewise.
26459 2012-08-23 Joseph Myers <joseph@codesourcery.com>
26461 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
26462 #include of fxstatat64.c.
26464 2012-08-22 Roland McGrath <roland@hack.frob.com>
26466 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
26467 * shadow/getspent_r.c: Likewise.
26468 * shadow/getspnam.c: Likewise.
26469 * shadow/getspnam_r.c: Likewise.
26470 * gshadow/getsgent.c: Likewise.
26471 * gshadow/getsgent_r.c: Likewise.
26472 * gshadow/getsgnam.c: Likewise.
26473 * gshadow/getsgnam_r.c: Likewise.
26474 * inet/getnetbyad.c: Likewise.
26475 * inet/getnetbyad_r.c: Likewise.
26476 * inet/getnetbynm.c: Likewise.
26477 * inet/getnetbynm_r.c: Likewise.
26478 * inet/getnetent.c: Likewise.
26479 * inet/getnetent_r.c: Likewise.
26480 * inet/getproto.c: Likewise.
26481 * inet/getproto_r.c: Likewise.
26482 * inet/getprtent.c: Likewise.
26483 * inet/getprtent_r.c: Likewise.
26484 * inet/getprtname.c: Likewise.
26485 * inet/getprtname_r.c: Likewise.
26486 * inet/getrpcbyname.c: Likewise.
26487 * inet/getrpcbyname_r.c: Likewise.
26488 * inet/getrpcbynumber.c: Likewise.
26489 * inet/getrpcbynumber_r.c: Likewise.
26490 * inet/getrpcent.c: Likewise.
26491 * inet/getrpcent_r.c: Likewise.
26492 * inet/getaliasent.c: Likewise.
26493 * inet/getaliasent_r.c: Likewise.
26494 * inet/getaliasname.c: Likewise.
26495 * inet/getaliasname_r.c: Likewise.
26496 * nscd/getgrgid_r.c: Likewise.
26497 * nscd/getgrnam_r.c: Likewise.
26498 * nscd/gethstbyad_r.c: Likewise.
26499 * nscd/gethstbynm3_r.c: Likewise.
26500 * nscd/getpwnam_r.c: Likewise.
26501 * nscd/getpwuid_r.c: Likewise.
26502 * nscd/getsrvbynm_r.c: Likewise.
26503 * nscd/getsrvbypt_r.c: Likewise.
26504 * nscd/gai.c: Likewise.
26506 * configure.in (build_nscd): New substituted variable, set
26507 by --disable-build-nscd and defaults to $use_nscd.
26508 * configure: Regenerated.
26509 * config.make.in (build-nscd): New substituted variable.
26510 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
26511 Change conditional to require [$(build-nscd) = yes] as well.
26512 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
26515 * configure.in (use_nscd): New substituted variable, set by
26516 --disable-nscd. If enabled, define USE_NSCD.
26517 * configure: Regenerated.
26518 * config.h.in: Add USE_NSCD.
26519 * config.make.in (use-nscd): New substituted variable.
26520 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
26521 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
26522 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
26523 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
26524 (CFLAGS-getgrnam_r.c): Likewise.
26525 (CFLAGS-initgroups.c): Likewise.
26526 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
26527 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
26529 * inet/getnetgrent_r.c
26530 (nscd_setnetgrent): New function, broken out of ...
26531 (setnetgrent): ... here. Call it.
26532 (innetgr): Conditionalize nscd bits on [USE_NSCD].
26533 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
26534 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
26535 * nscd/Makefile (routines, aux): Move definitions after include of
26536 Makeconfig. Conditionalize on [$(use-nscd) != no].
26537 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
26538 Conditionalize on [USE_NSCD].
26539 (is_nscd, nscd_init_cb): Likewise.
26540 (nss_load_library): Conditionalize init callback on [USE_NSCD].
26541 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
26542 * nss/nss_db/db-init.c: Likewise.
26543 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
26545 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
26546 (make_request): Use it.
26547 (cache_valid_p): New function.
26548 (__check_pf): Use it.
26549 * NEWS: Add item for --disable-nscd.
26551 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
26553 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
26554 to support sed >= 4.2.1-20-ga9bf076.
26555 * configure: Regenerated.
26557 2012-08-22 Roland McGrath <roland@hack.frob.com>
26559 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
26560 Conditionalize whole body on [IREL].
26562 2012-08-22 Jeff Law <law@redhat.com>
26565 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
26566 if the family is PF_UNSPEC.
26568 2012-08-22 Mike Frysinger <vapier@gentoo.org>
26570 * Makerules (lib-version): Rename from V.
26571 (install-lib-nosubdir): Change V to lib-version.
26573 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
26576 * powerpc32/power6/wcschr.c: New file.
26577 * powerpc32/power6/wcscpy.c: New file.
26578 * powerpc32/power6/wcsrchr.c: New file.
26579 * powerpc64/power6/wcschr.c: New file.
26580 * powerpc64/power6/wcscpy.c: New file.
26581 * powerpc64/power6/wcsrchr.c: New file.
26583 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
26585 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
26586 (two_way_short_needle): Use it.
26587 * string/strstr.c (AVAILABLE1_USES_J): Define.
26588 * string/strcasestr.c: Likewise.
26590 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
26592 * string/strcasestr.c (TOLOWER): Make side-effect safe.
26595 * NEWS: Add an entry.
26596 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
26597 define their defaults.
26598 (two_way_short_needle): Detect end-of-string on-the-fly.
26599 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
26600 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
26601 * string/bug-strcasestr1.c: New test.
26602 * string/Makefile: Run it.
26604 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
26607 * string/str-two-way.h (two_way_short_needle): Optimize matching of
26608 the first character.
26610 2012-08-21 Roland McGrath <roland@hack.frob.com>
26612 * csu/elf-init.c (__libc_csu_irel): Function removed.
26613 * csu/libc-start.c (apply_irel): New function.
26614 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
26616 2012-08-21 Joseph Myers <joseph@codesourcery.com>
26618 * sysdeps/unix/sysv/linux/kernel-features.h
26619 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
26620 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
26621 <kernel-features.h>.
26622 [__NR_fadvise64_64]: Make code unconditional.
26623 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
26624 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
26625 !__NR_fadvise64_64)]: Likewise.
26626 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
26627 !__NR_fadvise64_64))]: Likewise.
26628 [__NR_fadvise64]: Make code unconditional.
26629 [!__NR_fadvise64]: Remove conditional code.
26630 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
26631 <kernel-features.h>.
26632 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26634 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
26637 not include <kernel-features.h>.
26638 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26640 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26642 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
26643 include <kernel-features.h>.
26644 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26646 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26649 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
26651 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
26652 slight instruction rearrangements per scrollpipe analysis.
26653 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
26655 2012-08-20 Roland McGrath <roland@hack.frob.com>
26657 * manual/syslog.texi (syslog; vsyslog, closelog):
26658 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
26659 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
26661 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
26662 DSOCAPS to match condition on defining it.
26664 2012-08-20 Joseph Myers <joseph@codesourcery.com>
26666 * sysdeps/unix/sysv/linux/kernel-features.h
26667 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
26668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
26669 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26670 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
26672 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26673 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
26675 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26676 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26678 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
26679 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
26681 * sysdeps/unix/sysv/linux/kernel-features.h
26682 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
26683 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
26685 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26686 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
26687 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
26688 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26689 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
26690 Make code unconditional.
26691 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26692 (__mmap64) [!__NR_mmap2]: Likewise.
26693 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
26694 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
26695 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26696 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
26697 [__NR_mmap2]: Make code unconditional.
26698 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26699 (__mmap64) [!__NR_mmap2]: Likewise.
26701 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26703 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
26705 2012-08-18 Andreas Jaeger <aj@suse.de>
26707 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
26709 2012-08-18 Mike Frysinger <vapier@gentoo.org>
26711 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
26712 * include/unistd.h (__have_sock_cloexec): Likewise.
26713 (__have_pipe2): Likewise.
26714 (__have_dup3): Likewise.
26716 2012-08-18 Mike Frysinger <vapier@gentoo.org>
26719 * include/unistd.h (__have_pipe2): Change define into an extern int.
26720 (__have_dup3): Likewise.
26721 * socket/have_sock_cloexec.c: Include fcntl.h.
26722 (__have_pipe2): New variable.
26723 (__have_dup3): Likewise.
26725 2012-08-17 Mike Frysinger <vapier@gentoo.org>
26727 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
26729 2012-08-17 Marek Polacek <polacek@redhat.com>
26731 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
26732 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
26734 2012-08-17 Roland McGrath <roland@hack.frob.com>
26736 * configure.in: Add AC_SUBST for sysheaders.
26737 * configure: Regenerated.
26738 * config.make.in (sysheaders): New substituted variable.
26740 * sysdeps/unix/mkfifo.c: Moved ...
26741 * sysdeps/posix/mkfifo.c: ... here.
26742 * sysdeps/unix/mkfifoat.c: Moved ...
26743 * sysdeps/posix/mkfifoat.c: ... here.
26745 * sysdeps/unix/utime.c: Moved ...
26746 * sysdeps/posix/utime.c: ... here.
26748 * sysdeps/unix/time.c: Moved ...
26749 * sysdeps/posix/time.c: ... here.
26750 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
26751 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
26753 * sysdeps/unix/nice.c: Moved ...
26754 * sysdeps/posix/nice.c: ... here.
26756 * sysdeps/unix/alarm.c: Moved ...
26757 * sysdeps/posix/alarm.c: ... here.
26759 * intl/Makefile ($(codeset_mo)): Depend on the input file.
26761 2012-08-17 Jeff Law <law@redhat.com>
26763 * intl/Makefile (codeset_mo): New variable.
26764 ($(codeset_mo)): New target.
26765 (tst-codeset.out): Depend on that. Remove explicit rule.
26766 (tst-gettext3.out, tst-gettext5.out): Likewise.
26767 (LOCPATH-ENV, tst-codeset-ENV): New variables.
26768 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
26769 * intl/tst-codeset.sh: Remove.
26770 * intl/tst-gettext3.sh: Likewise.
26771 * intl/tst-gettext5.sh: Likewise.
26773 2012-08-17 Roland McGrath <roland@hack.frob.com>
26775 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
26776 * sysdeps/unix/syscalls.list: ... here.
26778 * sysdeps/posix/getaddrinfo.c
26779 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
26780 (gaiconf_init, gaiconf_reload): Use them.
26781 [!_STATBUF_ST_NSEC]
26782 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
26783 Define using time_t rather than struct timespec.
26785 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
26786 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
26788 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
26790 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
26791 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
26794 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
26795 __libc_cleanup_push argument.
26797 * bits/param.h: New file.
26798 * misc/sys/param.h: New file.
26799 * include/sys/param.h: New file.
26800 * misc/Makefile (headers): Add bits/param.h.
26801 * sysdeps/generic/sys/param.h: File removed.
26802 * sysdeps/unix/sysv/linux/bits/param.h: New file.
26803 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
26804 * sysdeps/mach/hurd/bits/param.h: New file.
26805 * sysdeps/mach/hurd/sys/param.h: File removed.
26807 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
26810 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
26812 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
26813 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
26816 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
26817 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
26818 rather than -D_IO_MTSAFE_IO conditionally.
26819 * stdio-common/Makefile (CPPFLAGS): Likewise.
26820 * wcsmbs/Makefile (CPPFLAGS): Likewise.
26821 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
26822 Use $(libio-mtsafe).
26823 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
26824 of -D_IO_MTSAFE_IO.
26825 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
26826 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
26827 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
26828 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
26829 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
26830 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
26831 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
26832 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
26833 (CFLAGS-fread_u_chk.c): Likewise.
26834 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
26835 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
26836 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
26837 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
26838 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
26839 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
26840 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
26841 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
26842 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
26844 * libio/Makefile: Test [$(libc-reentrant) = yes]
26845 instead of [$(filter %REENTRANT, $(defines)) nonempty].
26848 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
26849 * sysdeps/pthread/configure: File removed.
26850 * sysdeps/pthread/Makeconfig: New file.
26851 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
26852 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
26854 2012-08-16 Gary Benson <gbenson@redhat.com>
26856 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
26857 unmapping the first object in a namespace.
26859 2012-08-16 Roland McGrath <roland@hack.frob.com>
26861 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
26862 (__internal_setnetgrent): ... this. Add internal_function to
26863 definition. Add libc_hidden_def.
26864 (setnetgrent): Update caller.
26865 (internal_endnetgrent): Renamed to ...
26866 (__internal_endnetgrent): ... this. Add internal_function to
26867 definition. Add libc_hidden_def.
26868 (endnetgrent): Update caller.
26869 (internal_getnetgrent_r): Renamed to ...
26870 (__internal_getnetgrent_r): ... this. Add internal_function to
26871 definition. Add libc_hidden_def.
26872 (__getnetgrent_r): Update caller.
26873 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
26875 2012-08-16 Joseph Myers <joseph@codesourcery.com>
26877 * stdlib/longlong.h: Update from GCC.
26879 2012-08-16 Roland McGrath <roland@hack.frob.com>
26881 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
26882 on _QL, which is set by umul_ppmm but never used.
26883 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
26884 variables, which are set by GMP macros but never used.
26885 * stdio-common/_itowa.c (_itowa): Likewise.
26886 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
26887 * stdlib/mod_1.c (mpn_mod_1): Likewise.
26889 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
26891 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
26892 struct La_sh_regs is not constant.
26893 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
26894 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
26895 and struct La_sparc64_regs are not constant.
26897 2012-08-16 Joseph Myers <joseph@codesourcery.com>
26899 * sysdeps/unix/sysv/linux/kernel-features.h
26900 (__ASSUME_POSIX_TIMERS): Remove.
26901 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
26902 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26903 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
26904 Make code unconditional.
26905 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26906 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
26907 Make code unconditional.
26908 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26909 * sysdeps/unix/sysv/linux/clock_nanosleep.c
26910 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
26911 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26912 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
26913 Make code unconditional.
26914 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26915 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
26916 (__libc_missing_posix_timers): Remove.
26918 2012-08-15 Roland McGrath <roland@hack.frob.com>
26920 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
26921 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
26923 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
26925 * elf/dl-sym.c: Include <stdlib.h>.
26927 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
26928 constants, which avoids warnings in 32-bit builds.
26930 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
26931 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
26933 * misc/lseek.c: File moved to ...
26934 * io/lseek.c: ... here.
26936 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
26938 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
26939 shifting LEN more than 31 bits at once.
26941 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26944 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
26945 segmentation fault for a case of two empty input strings.
26946 * string/test-strncasecmp.c (check1): Renamed to...
26947 (bz12205): ...this.
26948 (bz14195): Add new testcase for two empty input strings and N > 0.
26949 (test_main): Call new testcase, adapt for renamed function.
26951 2012-08-15 Andreas Jaeger <aj@suse.de>
26954 * crypt/md5test2.c: New test, based on test supplied by Serge
26955 Belyshev <belyshev@depni.sinp.msu.ru>.
26956 * crypt/Makefile (xtests): Add md5test-giant..
26957 * crypt/Makefile ($(objpfx)md5test-giant): Add.
26959 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
26962 * crypt/md5.c (md5_process_block): Don't assume the buffer
26963 length is less than 2**32.
26964 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
26965 length is less than 2**64.
26967 2012-08-15 Roland McGrath <roland@hack.frob.com>
26969 * string/str-two-way.h: Include <sys/param.h>.
26970 (MAX): Macro removed.
26972 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
26973 Move #define and #undef of memmove to just before and after
26974 including <string.h>.
26976 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
26977 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
26978 and after including <string.h>. Move declarations of
26979 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
26980 to before #include "string/memmove.c".
26982 * include/dirent.h: Declare __getdirentries.
26984 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
26985 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
26987 2012-08-14 Mike Frysinger <vapier@gentoo.org>
26989 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
26990 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
26991 * sysdeps/i386/configure: Regenerated.
26992 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
26993 STABS_CURRENT_FILE, and STABS_FUN.
26994 (END): Remove call to STABS_FUN_END.
26995 (STABS_CURRENT_FILE1): Delete.
26996 (STABS_CURRENT_FILE): Likewise.
26997 (STABS_FUN): Likewise.
26998 (STABS_FUN_END): Likewise.
26999 (STABS_FUN2): Likewise.
27000 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
27001 * sysdeps/x86_64/configure: Regenerated.
27003 2012-08-14 Roland McGrath <roland@hack.frob.com>
27005 * elf/dl-open.c: Include <atomic.h>.
27006 * elf/dl-lookup.c: Likewise.
27008 2012-08-14 Joseph Myers <joseph@codesourcery.com>
27010 * sysdeps/unix/sysv/linux/kernel-features.h
27011 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
27012 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
27014 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
27016 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
27017 condition on __ASSUME_CLONE_THREAD_FLAGS.
27019 2012-08-14 Andreas Jaeger <aj@suse.de>
27021 * sysdeps/i386/fpu/libm-test-ulps: Update.
27023 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
27025 * include/atomic.h (atomic_exchange_and_add): Split into ...
27026 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
27029 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
27031 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27033 2012-08-13 Jeff Law <law@redhat.com>
27035 * manual/stdio.texi (snprintf): Clarify handling of the trailing
27036 null byte in the output string.
27038 2012-08-10 Joseph Myers <joseph@codesourcery.com>
27040 * sysdeps/unix/sysv/linux/kernel-features.h
27041 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
27042 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
27043 (__ASSUME_ARG_MAX_STACK_BASED): Define.
27044 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
27045 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
27046 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
27047 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
27049 2012-08-09 Jeff Law <law@redhat.com>
27052 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
27053 When avoid_arena is set, don't retry in the that arena. Pick the
27054 next one, whatever it might be.
27055 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
27056 (arena_lock): Pass in new parameter to arena_get2.
27057 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
27059 (__libc_malloc): Unify retrying after main arena failure with
27060 __libc_memalign version.
27061 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
27063 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
27066 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
27067 to __redirect_strstr.
27068 (__strstr_sse42): Use typeof __redirect_strstr.
27069 (__strstr_ia32): Likewise.
27070 (__libc_strstr): New prototype.
27071 (strstr): Renamed to ...
27072 (__libc_strstr): This.
27073 (strstr): New strong alias of __libc_strstr.
27074 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
27075 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
27078 (__libc_time): New prototype.
27079 (time_ifunc): Replace time with __libc_time.
27080 (time): New strong alias and hidden definition of __libc_time.
27081 (__GI_time): Remove strong alias.
27082 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
27083 Include <stddef.h>.
27084 (memmove): Redefined to __redirect_memmove.
27085 (__memmove_sse2): Use typeof __redirect_memmove.
27086 (__memmove_ssse3): Likewise.
27087 (__memmove_ssse3_back): Likewise.
27088 (__libc_memmove): New prototype.
27089 (memmove): Renamed to ...
27090 (__libc_memmove): This.
27091 (memmove): New strong alias of __libc_memmove.
27093 2012-08-08 Mark Salter <msalter@redhat.com>
27096 (R_MN10300_TLS_GD): Define.
27097 (R_MN10300_TLS_LD): Likewise.
27098 (R_MN10300_TLS_LDO): Likewise.
27099 (R_MN10300_TLS_GOTIE): Likewise.
27100 (R_MN10300_TLS_IE): Likewise.
27101 (R_MN10300_TLS_LE): Likewise.
27102 (R_MN10300_TLS_DTPMOD): Likewise.
27103 (R_MN10300_TLS_DTPOFF): Likewise.
27104 (R_MN10300_TLS_TPOFF): Likewise.
27105 (R_MN10300_SYM_DIFF): Likewise.
27106 (R_MN10300_ALIGN): Likewise.
27107 (R_MN10300_NUM): Update.
27109 2012-08-08 Joseph Myers <joseph@codesourcery.com>
27111 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
27114 2012-08-08 Roland McGrath <roland@hack.frob.com>
27116 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
27118 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
27119 sysdeps/unix -> sysdeps/posix move.
27120 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
27122 2012-08-07 Allan McRae <allan@archlinux.org>
27125 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
27126 (SUNOS_CPP): Likewise.
27127 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
27129 (open_input): Call CPP using execvp.
27131 2012-08-07 Joseph Myers <joseph@codesourcery.com>
27133 * sysdeps/unix/sysv/linux/kernel-features.h
27134 (__ASSUME_PROT_GROWSUPDOWN): Remove.
27135 (__ASSUME_NO_CLONE_DETACHED): Likewise.
27136 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
27137 (__ASSUME_WAITID_SYSCALL): Likewise.
27138 * sysdeps/unix/sysv/linux/dl-execstack.c
27139 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
27140 code unconditional.
27141 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
27143 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
27144 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
27145 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
27147 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
27149 [__ASSUME_WAITID_SYSCALL]: Likewise.
27150 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
27152 2012-08-07 Roland McGrath <roland@hack.frob.com>
27154 * sysdeps/unix/closedir.c: Renamed to ...
27155 * sysdeps/posix/closedir.c: ... here.
27156 * sysdeps/unix/dirfd.c: Renamed to ...
27157 * sysdeps/posix/dirfd.c: ... here.
27158 * sysdeps/unix/dirstream.h: Renamed to ...
27159 * sysdeps/posix/dirstream.h: ... here.
27160 * sysdeps/unix/fdopendir.c: Renamed to ...
27161 * sysdeps/posix/fdopendir.c: ... here.
27162 * sysdeps/unix/opendir.c: Renamed to ...
27163 * sysdeps/posix/opendir.c: ... here.
27164 * sysdeps/unix/readdir.c: Renamed to ...
27165 * sysdeps/posix/readdir.c: ... here.
27166 * sysdeps/unix/readdir_r.c: Renamed to ...
27167 * sysdeps/posix/readdir_r.c: ... here.
27168 * sysdeps/unix/rewinddir.c: Renamed to ...
27169 * sysdeps/posix/rewinddir.c: ... here.
27170 * sysdeps/unix/seekdir.c: Renamed to ...
27171 * sysdeps/posix/seekdir.c: ... here.
27172 * sysdeps/unix/telldir.c: Renamed to ...
27173 * sysdeps/posix/telldir.c: ... here.
27174 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
27175 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
27176 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
27177 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
27179 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
27180 * bits/fcntl.h: ... here.
27182 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
27184 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
27185 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
27186 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
27187 (struct flock): Move l_start, l_len to the beginning.
27188 Use __pid_t for l_pid.
27189 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
27190 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
27191 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
27192 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
27193 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
27194 [__USE_LARGEFILE64] (struct flock64): New type.
27195 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
27197 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
27198 * bits/dirent.h: ... here.
27200 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
27201 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
27203 2012-08-07 Joseph Myers <joseph@codesourcery.com>
27205 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27206 Change from 2.6.0 to 2.6.16.
27207 * sysdeps/unix/sysv/linux/configure: Regenerated.
27208 * sysdeps/unix/sysv/linux/kernel-features.h
27209 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
27210 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
27212 (__ASSUME_UTIMES): Likewise.
27213 (__ASSUME_CLONE_STOPPED): Remove.
27214 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
27215 architectures, not kernel version.
27216 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
27217 (__ASSUME_NO_CLONE_DETACHED): Likewise.
27218 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
27219 (__ASSUME_WAITID_SYSCALL): Likewise.
27220 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
27221 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
27222 * README: State 2.6.16 as minimum Linux kernel version. Do not
27223 refer to older versions.
27225 2012-08-06 Roland McGrath <roland@hack.frob.com>
27227 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
27228 Define alphasort64 as an alias.
27229 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
27230 Define versionsort64 as an alias.
27231 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
27232 Define scandir64 as an alias.
27233 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
27234 Define scandirat64 as an alias.
27235 * dirent/alphasort64.c (alphasort64):
27236 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
27237 * dirent/versionsort64.c: Likewise.
27238 * dirent/scandir64.c: Likewise.
27239 * dirent/scandirat64.c: Likewise.
27240 * sysdeps/wordsize-64/alphasort.c: File removed.
27241 * sysdeps/wordsize-64/alphasort64.c: File removed.
27242 * sysdeps/wordsize-64/scandir.c: File removed.
27243 * sysdeps/wordsize-64/scandir64.c: File removed.
27244 * sysdeps/wordsize-64/scandirat.c: File removed.
27245 * sysdeps/wordsize-64/scandirat64.c: File removed.
27246 * sysdeps/wordsize-64/versionsort.c: File removed.
27247 * sysdeps/wordsize-64/versionsort64.c: File removed.
27248 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
27249 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
27250 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
27251 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
27252 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
27253 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
27254 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
27255 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
27257 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
27258 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
27259 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
27260 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27261 [defined __arch64__ || defined __sparcv9]
27262 (__INO_T_MATCHES_INO64_T): New macro.
27263 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
27264 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
27265 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
27266 * sysdeps/unix/sysv/linux/bits/dirent.h
27267 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
27268 (_DIRENT_MATCHES_DIRENT64): New macro.
27270 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
27271 Define lockf64 as an alias.
27272 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
27273 Define fseeko64 as an alias.
27274 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
27275 Define ftello64 as an alias.
27276 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
27277 Define _IO_fgetpos64 and fgetpos64 as aliases.
27278 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
27279 Define _IO_fsetpos64 and fsetpos64 as aliases.
27280 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
27281 Conditionalize body on this.
27282 * libio/fseeko64.c: Likewise.
27283 * libio/ftello64.c: Likewise.
27284 * libio/iofgetpos64.c: Likewise.
27285 * libio/iofsetpos64.c: Likewise.
27286 * sysdeps/wordsize-64/lockf.c: File removed.
27287 * sysdeps/wordsize-64/lockf64.c: File removed.
27288 * sysdeps/wordsize-64/fseeko.c: File removed.
27289 * sysdeps/wordsize-64/fseeko64.c: File removed.
27290 * sysdeps/wordsize-64/ftello.c: File removed.
27291 * sysdeps/wordsize-64/ftello64.c: File removed.
27292 * sysdeps/wordsize-64/iofgetpos.c: File removed.
27293 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
27294 * sysdeps/wordsize-64/iofsetpos.c: File removed.
27295 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
27296 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
27297 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
27298 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
27299 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
27300 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
27301 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
27302 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
27303 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
27304 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
27305 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
27307 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
27308 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
27309 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
27310 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27311 [defined __arch64__ || defined __sparcv9]
27312 (__OFF_T_MATCHES_OFF64_T): New macro.
27313 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
27314 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
27315 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27316 (__OFF_T_MATCHES_OFF64_T): New macro.
27318 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
27320 * stdlib/secure-getenv.c (__secure_getenv): Replace
27321 GLIBC_2_16 with GLIBC_2_17.
27323 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
27325 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
27326 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
27328 2012-08-03 David S. Miller <davem@davemloft.net>
27330 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27332 2012-08-03 Joseph Myers <joseph@codesourcery.com>
27334 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
27336 (__ASSUME_CORRECT_SI_PID): Likewise.
27337 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
27338 (__ASSUME_TMPFS_NAME): Likewise.
27339 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
27340 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
27341 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
27342 (HAVE_AUX_SECURE): Make definition unconditional.
27343 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
27344 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
27346 2012-08-03 Roland McGrath <roland@hack.frob.com>
27348 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
27349 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
27350 * sysdeps/mach/hurd/eloop-threshold.h: New file.
27351 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
27352 __eloop_threshold instead of SYMLOOP_MAX.
27354 * sysdeps/generic/eloop-threshold.h: New file.
27355 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
27357 * elf/chroot_canon.c (chroot_canon): Likewise.
27359 2012-08-03 Joseph Myers <joseph@codesourcery.com>
27362 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27363 Change to 2.6.0 everywhere.
27364 * sysdeps/unix/sysv/linux/configure: Regenerated.
27365 * sysdeps/unix/sysv/linux/kernel-features.h
27366 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
27367 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
27369 (__ASSUME_POSIX_TIMERS): Define unconditionally.
27370 (__ASSUME_FUTEX_REQUEUE): Remove.
27371 (__ASSUME_STATFS64): Define unconditionally.
27372 (__ASSUME_AT_SECURE): Likewise.
27373 (__ASSUME_CORRECT_SI_PID): Likewise.
27374 (__ASSUME_TGKILL): Define without depending on kernel version for
27376 (__ASSUME_UTIMES): Likewise.
27377 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
27379 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
27380 (__ASSUME_TMPFS_NAME): Likewise.
27381 * README: Update reference to Linux kernel versions.
27383 2012-08-02 Marek Polacek <polacek@redhat.com>
27386 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
27387 libc_cv_asm_type_prefix with %.
27388 * configure: Regenerated.
27389 * include/libc-symbols.h: Remove comment about
27390 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
27391 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
27392 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
27393 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
27394 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
27395 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
27396 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
27397 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
27398 * elf/tst-unique2mod1.c: Likewise.
27399 * elf/tst-unique1mod2.c: Likewise.
27400 * elf/tst-unique1mod1.c: Likewise.
27401 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
27402 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
27403 Replace ASM_TYPE_DIRECTIVE with .type.
27404 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27405 * sysdeps/i386/sysdep.h: Likewise.
27406 * sysdeps/x86_64/sysdep.h: Likewise.
27407 * sysdeps/sh/sysdep.h: Likewise.
27408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
27409 Do not define ASM_TYPE_DIRECTIVE.
27410 * sysdeps/powerpc/sysdep.h: Likewise.
27411 * sysdeps/powerpc/powerpc32/sysdep.h:
27412 Replace ASM_TYPE_DIRECTIVE with .type.
27413 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
27414 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
27415 * sysdeps/i386/fpu/e_powf.S: Likewise.
27416 * sysdeps/i386/fpu/e_expl.S: Likewise.
27417 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27418 * sysdeps/i386/fpu/e_acosh.S: Likewise.
27419 * sysdeps/i386/fpu/e_pow.S: Likewise.
27420 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
27421 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27422 * sysdeps/i386/fpu/s_expm1.S: Likewise.
27423 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
27424 * sysdeps/i386/fpu/e_log2.S: Likewise.
27425 * sysdeps/i386/fpu/e_log2l.S: Likewise.
27426 * sysdeps/i386/fpu/e_scalb.S: Likewise.
27427 * sysdeps/i386/fpu/e_powl.S: Likewise.
27428 * sysdeps/i386/fpu/e_log10f.S: Likewise.
27429 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
27430 * sysdeps/i386/fpu/e_logl.S: Likewise.
27431 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
27432 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
27433 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
27434 * sysdeps/i386/fpu/e_log2f.S: Likewise.
27435 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27436 * sysdeps/i386/fpu/e_log.S: Likewise.
27437 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27438 * sysdeps/i386/fpu/e_logf.S: Likewise.
27439 * sysdeps/i386/fpu/e_log10l.S: Likewise.
27440 * sysdeps/i386/fpu/e_atanh.S: Likewise.
27441 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
27442 * sysdeps/i386/fpu/e_log10.S: Likewise.
27443 * sysdeps/i386/fpu/s_frexp.S: Likewise.
27444 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27445 * sysdeps/i386/fpu/s_asinh.S: Likewise.
27446 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
27447 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27448 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
27449 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
27450 * sysdeps/i386/i686/strtok.S: Likewise.
27451 * sysdeps/i386/i386-mcount.S: Likewise.
27452 * sysdeps/i386/strtok.S: Likewise.
27453 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
27454 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27455 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27456 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27457 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
27458 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27459 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
27460 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
27461 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27462 * sysdeps/x86_64/_mcount.S: Likewise.
27463 * sysdeps/x86_64/strtok.S: Likewise.
27464 * sysdeps/sh/_mcount.S: Likewise.
27466 2012-08-01 Roland McGrath <roland@hack.frob.com>
27468 * libio/iofopen.c: Include <fcntl.h>.
27469 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
27470 (_IO_fopen64, fopen64): Define as aliases.
27471 * libio/iofopen64.c: Include <fcntl.h>.
27472 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
27473 Conditionalize body on this.
27474 * sysdeps/wordsize-64/iofopen.c: File removed.
27475 * sysdeps/wordsize-64/iofopen64.c: File removed.
27477 2012-08-01 Marek Polacek <polacek@redhat.com>
27479 * libc/Makeconfig: Use elf in place of binfmt-subdir.
27480 Use dlfcn directly instead of a variable.
27481 (binfmt-subdir): Do not define.
27484 2012-08-01 Joseph Myers <joseph@codesourcery.com>
27486 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
27487 Remove all definitions.
27488 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
27489 <kernel-features.h>.
27490 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
27491 (miss_F_GETOWN_EX): Remove all definitions.
27492 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
27494 [!__ASSUME_FCNTL64]: Remove conditional code.
27495 [__ASSUME_FCNTL64]: Make code unconditional.
27496 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
27497 <kernel-features.h>.
27498 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
27499 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
27500 (lockf64) [__NR_fcntl64]: Make code unconditional.
27501 (lockf64) [__ASSUME_FCNTL64]: Likewise.
27503 * sysdeps/unix/sysv/linux/kernel-features.h
27504 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
27505 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
27506 Make code unconditional.
27507 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
27508 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
27509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
27510 [__NR_vfork]: Make code unconditional.
27511 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
27512 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
27513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
27514 [__NR_vfork]: Make code unconditional.
27515 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
27516 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
27518 2012-08-01 Roland McGrath <roland@hack.frob.com>
27520 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
27521 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
27523 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27524 Define mkstemp64 as an alias.
27525 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27526 Define mkstemps64 as an alias.
27527 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27528 Define mkostemp64 as an alias.
27529 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27530 Define mkostemps64 as an alias.
27531 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
27532 Conditionalize body on this.
27533 * misc/mkostemp64.c: Likewise.
27534 * misc/mkostemps64.c: Likewise.
27535 * misc/mkstemps64.c: Likewise.
27536 * sysdeps/wordsize-64/mkstemp64.c: File removed.
27537 * sysdeps/wordsize-64/mkostemp64.c: File removed.
27538 * sysdeps/wordsize-64/mkostemp.c: File removed.
27539 * sysdeps/wordsize-64/mkstemp.c: File removed.
27540 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
27541 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
27542 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
27543 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
27546 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
27547 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
27548 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
27549 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
27551 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
27552 compat_symbol macros from <shlib-compat.h> rather than the underlying
27553 default_symbol_version and symbol_version macros, so that DEFAULT
27554 lines in shlib-versions are respected.
27555 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
27557 2012-08-01 Florian Weimer <fweimer@redhat.com>
27559 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
27560 Declare with warn_unused_result.
27561 (setgid, setregid, setegid, setresgid): Likewise.
27562 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
27564 * WUR-REPORT: Remove set*id functions.
27566 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
27568 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
27570 2012-07-31 Roland McGrath <roland@hack.frob.com>
27573 * include/sys/socket.h (__libc_accept, __libc_accept4):
27574 Add attribute_hidden.
27575 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
27577 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
27579 * inet/getnetgrent_r.c (setup): Likewise.
27581 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
27583 2012-07-31 David S. Miller <davem@davemloft.net>
27585 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27587 2012-07-31 Joseph Myers <joseph@codesourcery.com>
27590 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
27591 value between 1.0 and 2.0 and smaller part has absolute value less
27593 * math/s_clog10.c (__clog10): Likewise.
27594 * math/s_clog10f.c (__clog10f): Likewise.
27595 * math/s_clog10l.c (__clog10l): Likewise.
27596 * math/s_clogf.c (__clogf): Likewise.
27597 * math/s_clogl.c (__clogl): Likewise.
27598 * math/libm-test.inc (clog_test): Add more tests.
27599 (clog10_test): Likewise.
27600 * sysdeps/i386/fpu/libm-test-ulps: Update.
27601 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27603 2012-07-31 Florian Weimer <fweimer@redhat.com>
27605 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
27606 Exit with zero in case no suitable GID is found, and write a
27607 message to standard error.
27609 2012-07-30 Roland McGrath <roland@hack.frob.com>
27611 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
27613 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
27614 (MAXPATHLEN): Removed.
27615 (NOGROUP, NODEV): New macros.
27616 (setbit, clrbit, isset, isclr): New macros.
27617 (howmany, roundup, powerof2): New macros.
27618 (DEV_BSIZE): New macro.
27620 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
27621 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
27623 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
27624 definition on [!__NO_LONG_DOUBLE_MATH].
27626 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
27627 PTR_MANGLE and PTR_DEMANGLE.
27629 * socket/accept4.c (accept4): Rename to __libc_accept4.
27630 Define accept4 as a weak alias.
27632 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
27633 on [_DIRENT_HAVE_D_TYPE].
27634 * io/ftw.c (ftw_dir): Likewise.
27636 * io/xmknod.c (__xmknod): Don't check PATH for being null.
27638 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
27640 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
27641 Use the BSD numbers rather than the arbitrary ones we had.
27642 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
27643 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
27644 (SIGXCPU, SIGXFSZ): New macros.
27647 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
27648 initializer on [_LIBC_REENTRANT].
27650 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
27651 definitions inside [_POSIX_MAPPED_FILES].
27653 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
27655 * dirent/opendir.c: Include <fcntl.h>.
27657 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
27658 (__libc_getspecific): Likewise.
27659 (__libc_key_create): Likewise.
27661 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
27662 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
27663 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
27664 (tmpfile64): Define as alias.
27665 * sysdeps/wordsize-64/tmpfile.c: File removed.
27666 * sysdeps/wordsize-64/tmpfile64.c: File removed.
27667 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
27668 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
27670 * stdio-common/vfscanf.c: Include <stdbool.h>.
27671 * nss/makedb.c: Likewise.
27672 * stdio-common/_i18n_number.h: Likewise.
27673 * argp/argp-help.c: Likewise.
27674 * posix/wordexp.c: Likewise.
27675 * sysdeps/posix/spawni.c: Likewise.
27676 * nss/nss_files/files-initgroups.c: Likewise.
27677 * stdio-common/reg-modifier.c: Include <stdlib.h>.
27678 * nss/nss_files/files-initgroups.c: Likewise.
27679 * nss/nss_db/db-netgrp.c: Likewise.
27680 * nss/nss_db/db-initgroups.c: Likewise.
27681 * io/fchmodat.c: Include <sys/stat.h>.
27683 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
27684 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
27686 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
27689 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
27690 Add multiple inclusion protection.
27692 2012-07-27 David S. Miller <davem@davemloft.net>
27694 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27696 2012-07-27 Gary Benson <gbenson@redhat.com>
27699 * elf/rtld.c: Include <stap-probe.h>.
27700 (dl_main): Added static probes "init_start" and "init_complete".
27701 * elf/dl-load.c: Include <stap-probe.h>.
27702 (lose): Take new parameter "nsid".
27703 Added static probe "map_failed".
27704 (_dl_map_object_from_fd): Pass namespace id to lose.
27705 Added static probe "map_start".
27706 (open_verify): Pass namespace id to lose.
27707 * elf/dl-open.c: Include <stap-probe.h>.
27708 (dl_open_worker) Added static probes "map_complete", "reloc_start"
27709 and "reloc_complete".
27710 * elf/dl-close.c: Include <stap-probe.h>.
27711 (_dl_close_worker): Added static probes "unmap_start" and
27713 * elf/rtld-debugger-interface.txt: New file documenting the above.
27715 2012-07-26 Roland McGrath <roland@hack.frob.com>
27717 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
27718 rather than a string variable.
27719 * sunrpc/rpc_main.c (h_output): Likewise.
27720 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
27722 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
27724 * inet/check_native.c: New file.
27726 2012-07-26 Joseph Myers <joseph@codesourcery.com>
27729 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
27730 if larger part has absolute value 1.0.
27731 * math/s_clog10.c (__clog10): Likewise.
27732 * math/s_clog10f.c (__clog10f): Likewise.
27733 * math/s_clog10l.c (__clog10l): Likewise.
27734 * math/s_clogf.c (__clogf): Likewise.
27735 * math/s_clogl.c (__clogl): Likewise.
27736 * math/libm-test.inc (clog_test): Add more tests.
27737 (clog10_test): Likewise.
27738 * sysdeps/i386/fpu/libm-test-ulps: Update.
27739 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27741 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
27742 (pltexit): Likewise.
27743 (La_regs): Likewise.
27744 (La_retval): Likewise.
27745 (int_retval): Likewise.
27746 Update #error for removed macros to refer only to definitions in
27748 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
27750 (pltexit): Likewise.
27751 (La_regs): Likewise.
27752 (La_retval): Likewise.
27753 (int_retval): Likewise.
27754 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
27756 (pltexit): Likewise.
27757 (La_regs): Likewise.
27758 (La_retval): Likewise.
27759 (int_retval): Likewise.
27760 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
27762 (pltexit): Likewise.
27763 (La_regs): Likewise.
27764 (La_retval): Likewise.
27765 (int_retval): Likewise.
27766 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
27768 (pltexit): Likewise.
27769 (La_regs): Likewise.
27770 (La_retval): Likewise.
27771 (int_retval): Likewise.
27772 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
27774 (pltexit): Likewise.
27775 (La_regs): Likewise.
27776 (La_retval): Likewise.
27777 (int_retval): Likewise.
27778 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
27780 (pltexit): Likewise.
27781 (La_regs): Likewise.
27782 (La_retval): Likewise.
27783 (int_retval): Likewise.
27784 * sysdeps/generic/tst-audit.h: Update comment to refer only to
27785 macro definitions in tst-audit.h.
27786 * sysdeps/i386/tst-audit.h: New file.
27787 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
27788 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
27789 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
27790 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
27791 * sysdeps/sh/tst-audit.h: Likewise.
27792 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
27793 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
27794 * sysdeps/x86_64/tst-audit.h: Likewise.
27796 2012-07-26 Andreas Jaeger <aj@suse.de>
27798 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
27801 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
27802 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
27803 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
27805 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
27806 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
27807 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
27809 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
27812 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
27814 (si_call_addr, si_syscall, si_arch): Define new macro.
27815 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
27817 (si_call_addr, si_syscall, si_arch): Define new marcro.
27818 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
27820 (si_call_addr, si_syscall, si_arch): Define new macro.
27821 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
27823 (si_call_addr, si_syscall, si_arch): Define new macro.
27825 2012-07-25 Joseph Myers <joseph@codesourcery.com>
27828 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27829 Change to 2.4.21 where previously 2.4.1.
27830 * sysdeps/unix/sysv/linux/configure: Regenerated.
27831 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
27832 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
27833 Linux kernel version.
27834 (__ASSUME_STD_AUXV): Remove.
27835 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
27837 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
27838 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
27839 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
27840 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
27841 (__ASSUME_NETLINK_SUPPORT): Likewise.
27842 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
27843 (__no_netlink_support): Remove conditional definition.
27844 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
27846 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
27847 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
27848 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
27849 (if_nameindex_ioctl): Remove.
27850 (if_nameindex_netlink): Do not handle __no_netlink_support.
27851 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
27853 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
27854 Remove conditional code.
27855 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
27857 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
27859 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
27860 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
27861 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
27863 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
27864 [!__ASSUME_STD_AUXV]: Remove conditional code.
27865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
27866 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
27867 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
27868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
27869 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
27870 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
27872 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
27873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27874 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
27875 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
27877 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
27878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
27879 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
27881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27882 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
27884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
27885 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27886 code unconditional.
27887 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27889 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27891 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27894 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27896 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
27899 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27900 code unconditional.
27901 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27903 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27905 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
27908 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27909 code unconditional.
27910 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27912 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27914 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27917 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
27919 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
27920 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
27921 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
27922 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
27923 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
27924 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
27925 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
27926 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
27927 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
27928 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
27929 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
27930 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
27931 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
27932 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
27933 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
27934 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
27935 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
27936 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
27937 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
27938 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
27939 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
27940 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
27941 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
27943 2012-07-25 Florian Weimer <fweimer@redhat.com>
27945 * Versions.def: Add GLIBC_2.17.
27946 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
27947 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
27948 Introduce __libc_secure_getenv.
27949 * stdlib/Versions (2.17): Add secure_getenv
27950 (GLIBC_PRIVATE): Add __libc_secure_getenv.
27951 * stdlib/secure-getenv.c: Rename __secure_getenv to
27952 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
27953 symbol __secure_getenv for GLIBC_2.0.
27954 * stdlib/tst-secure-getenv.c: New.
27955 * stdlib/Makefile (tests): Add testcase.
27956 * manual/startup.texi (Environment Access): Document
27958 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
27959 __libc_secure_getenv.
27960 * inet/ruserpass.c (ruserpass): Likewise.
27961 * malloc/mtrace.c (mtrace): Likewise.
27962 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
27963 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
27964 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
27965 * sysdeps/posix/tempname.c: Likewise. Evaluate
27966 HAVE_SECURE_GETENV.
27967 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
27968 __secure_getenv to __libc_secure_getenv.
27969 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
27970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27974 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
27975 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
27976 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27977 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
27978 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
27979 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27980 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
27982 2012-07-25 Joseph Myers <joseph@codesourcery.com>
27984 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
27985 (struct La_i86_retval): Likewise.
27986 (struct La_x86_64_regs): Likewise.
27987 (struct La_x86_64_retval): Likewise.
27988 (struct La_x32_regs): Likewise.
27989 (struct La_x32_retval): Likewise.
27990 (struct La_ppc32_regs): Likewise.
27991 (struct La_ppc32_retval): Likewise.
27992 (struct La_ppc64_regs): Likewise.
27993 (struct La_ppc64_retval): Likewise.
27994 (struct La_sh_regs): Likewise.
27995 (struct La_sh_retval): Likewise.
27996 (struct La_s390_32_regs): Likewise.
27997 (struct La_s390_32_retval): Likewise.
27998 (struct La_s390_64_regs): Likewise.
27999 (struct La_s390_64_retval): Likewise.
28000 (struct La_sparc32_regs): Likewise.
28001 (struct La_sparc32_retval): Likewise.
28002 (struct La_sparc64_regs): Likewise.
28003 (struct La_sparc64_retval): Likewise.
28004 (struct audit_ifaces): Remove architecture-specific pltenter and
28006 * sysdeps/i386/ldsodefs.h: New file.
28007 * sysdeps/powerpc/ldsodefs.h: Likewise.
28008 * sysdeps/s390/ldsodefs.h: Likewise.
28009 * sysdeps/sh/ldsodefs.h: Likewise.
28010 * sysdeps/sparc/ldsodefs.h: Likewise.
28011 * sysdeps/x86_64/ldsodefs.h: Likewise.
28013 2012-07-25 Marek Polacek <polacek@redhat.com>
28016 * math/libm-test.inc (yn_test): Add another test.
28017 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
28018 to ERANGE when the result is +-Inf.
28019 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
28020 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
28021 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
28022 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
28024 2012-07-24 Joseph Myers <joseph@codesourcery.com>
28026 * conform/data/time.h-data (NULL): Use macro-constant. Require
28028 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
28030 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
28032 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
28034 * configure.in <sysdeps resolving>: Correct printing
28036 * configure: Regenerate.
28038 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
28040 * math/w_ilogb.c: Include <limits.h>.
28041 * math/w_ilogbl.c: Likewise.
28043 2012-07-20 Joseph Myers <joseph@codesourcery.com>
28045 * manual/lang.texi (__va_copy): Document primarily as ISO C99
28046 va_copy. Document allowing for unavailable va_copy only as
28047 pre-C99 compatibility.
28048 * manual/string.texi (Copying and Concatenation): Use va_copy
28049 instead of __va_copy in concat example.
28051 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
28053 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
28054 (__sendto): Use create_address_port. Initialize APORT and deallocate
28057 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
28058 with O_NOLINK passed to __file_name_lookup.
28060 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
28061 with O_NOLINK passed to __file_name_lookup.
28063 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
28064 negative N or less than NGIDS.
28066 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
28067 type to string_t. Set ERANGE as errno and return it if NAME is not big
28068 enough. Use memcpy instead of strncpy.
28070 2012-07-20 Joseph Myers <joseph@codesourcery.com>
28072 * elf/Makefile (check-data): Remove.
28073 (localplt.data): New vpath directive.
28074 ($(objpfx)check-localplt.out): Use localplt.data from vpath
28075 instead of $(check-data).
28076 * scripts/data/localplt-generic.data: Move to ...
28077 * sysdeps/generic/localplt.data: ... here.
28078 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
28079 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
28080 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
28081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
28083 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
28084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
28086 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
28087 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
28089 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
28090 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
28092 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
28093 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
28095 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
28096 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
28099 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28101 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
28102 PPC32 and PPC64 files.
28103 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
28104 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
28106 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28108 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
28109 __makecontext_ret to ...
28110 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
28111 ... here and call exit if uc_link is NULL. New file.
28112 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
28113 __makecontext_ret.S.
28114 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
28115 __makecontext_ret to ...
28116 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
28117 ... here and call exit if uc_link is NULL. New file.
28118 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
28119 __makecontext_ret.S.
28121 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28123 * elf/elf.h (R_390_IRELATIVE): New definition.
28124 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
28125 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
28126 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
28127 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
28128 (elf_machine_lazy_rel): Likewise.
28129 * sysdeps/s390/dl-irel.h: New file.
28130 * sysdeps/s390/s390-64/memcpy.S: New asm code.
28131 * sysdeps/s390/s390-64/memset.S: New asm code.
28132 * sysdeps/s390/s390-64/memcmp.S: New asm code.
28133 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
28134 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
28135 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
28136 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
28137 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
28138 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
28139 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
28140 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
28141 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
28142 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
28143 * sysdeps/s390/s390-32/memcpy.S: New asm code.
28144 * sysdeps/s390/s390-32/memset.S: New asm code.
28145 * sysdeps/s390/s390-32/memcmp.S: New asm code.
28147 2012-07-17 Marek Polacek <polacek@redhat.com>
28150 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
28151 * sysdeps/s390/s390-64/configure.in: Likewise.
28152 * sysdeps/sparc/configure.in: Likewise.
28153 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
28154 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
28155 * sysdeps/i386/configure.in: Likewise.
28156 * sysdeps/x86_64/configure.in: Likewise.
28157 * sysdeps/sh/configure.in: Likewise.
28158 * sysdeps/s390/s390-32/configure: Regenerated.
28159 * sysdeps/s390/s390-64/configure: Likewise.
28160 * sysdeps/x86_64/configure: Likewise.
28161 * sysdeps/sh/configure: Likewise.
28162 * sysdeps/powerpc/powerpc64/configure: Likewise.
28163 * sysdeps/powerpc/powerpc32/configure: Likewise.
28164 * sysdeps/sparc/configure: Likwise.
28165 * sysdeps/i386/configure: Likewise.
28167 * elf/dl-open.c: Comment fixes.
28169 2012-07-17 Joseph Myers <joseph@codesourcery.com>
28171 * Makefile [CXX] (check-data): Remove.
28172 [CXX] (c++-types.data): New vpath directive.
28173 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
28174 vpath. Do not allow for C++ type data being missing.
28175 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
28176 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
28177 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
28178 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
28179 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
28180 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
28181 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
28182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
28184 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
28185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
28187 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
28188 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
28190 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
28191 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
28193 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
28194 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
28196 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
28197 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
28199 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
28200 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
28202 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
28203 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
28205 * elf/tls-macros.h (TLS_LE): Move architecture-specific
28206 definitions to architecture-specific files.
28207 (TLS_IE): Likewise.
28208 (TLS_LD): Likewise.
28209 (TLS_GD): Likewise.
28210 * sysdeps/i386/tls-macros.h: New file.
28211 * sysdeps/powerpc/tls-macros.h: Likewise.
28212 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
28213 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
28214 * sysdeps/sh/tls-macros.h: Likewise.
28215 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
28216 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
28217 * sysdeps/x86_64/tls-macros.h: Likewise.
28219 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
28221 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
28222 zero value for regular exit case.
28224 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
28225 (__start_context): Preserve zero value for regular exit case.
28227 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
28228 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28230 * manual/setjmp.texi (setcontext): Clarify normal process
28231 termination when uc_link is the null pointer.
28232 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
28235 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
28237 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
28238 preprocessor. Test for each exception mask separately.
28240 2012-07-16 Andreas Jaeger <aj@suse.de>
28242 * po/ru.po: Update from translation team.
28244 2012-07-15 Joseph Myers <joseph@codesourcery.com>
28246 * conform/data/string.h-data (NULL): Use macro-constant. Require
28248 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
28249 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
28250 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
28251 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
28252 [ISO || ISO99 || ISO11] (*_t): Do not allow.
28254 2012-07-13 Andreas Jaeger <aj@suse.de>
28256 * po/fr.po: Update from translation team.
28258 2012-07-12 Marek Polacek <polacek@redhat.com>
28261 * math/libm-test.inc (yn_test): Add test for BZ #14173.
28262 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
28265 2012-07-12 Joseph Myers <joseph@codesourcery.com>
28268 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28269 Change to 2.4.1 where previously 2.4.0.
28270 * sysdeps/unix/sysv/linux/configure: Regenerated.
28271 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
28272 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
28274 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
28275 (__ASSUME_AT_CLKTCK): Remove.
28276 (__ASSUME_AT_PAGESIZE): Likewise.
28277 (__ASSUME_AT_XID): Likewise.
28278 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
28279 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
28280 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
28282 (HAVE_AUX_PAGESIZE): Likewise.
28283 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
28284 [__ASSUME_AT_CLKTCK]: Make code unconditional.
28285 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
28287 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
28290 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
28291 the temporary buffer used to invoke __gethostbyname2_r,
28292 __gethostbyaddr_r and gethostbyname4_r to make room for struct
28293 host_data / struct gaih_addrtuple.
28294 * resolv/nss_dns/dns-host.c (global scope): Move definition of
28295 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
28296 header file nss/nsswitch.h.
28297 * nss/nsswitch.h (global scope): Add definition of implementation
28298 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
28299 resolv/nss_dns/dns-host.c).
28301 2012-07-11 Andreas Jaeger <aj@suse.de>
28303 * po/fr.po: Update from translation team.
28305 * po/sv.po: Update from translation team
28306 * po/fr.po: Another update from translation team.
28308 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28310 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
28311 for subnormals or multiply small sinh result by itself.
28312 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
28313 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28315 2012-07-11 David S. Miller <davem@davemloft.net>
28317 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28319 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
28322 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
28323 (INTERNAL_MARK): Shift it here.
28325 2012-07-10 Marek Polacek <polacek@redhat.com>
28328 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
28329 libc_cv_asm_global_directive with .globl.
28330 * configure: Regenerated.
28331 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
28333 * sysdeps/i386/configure: Regenerated.
28334 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
28336 * sysdeps/x86_64/configure: Regenerated.
28337 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
28338 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
28339 * elf/tst-unique2mod2.c: Likewise.
28340 * elf/tst-unique2mod1.c: Likewise.
28341 * elf/tst-unique1mod2.c: Likewise.
28342 * elf/tst-unique1mod1.c: Likewise.
28343 * sysdeps/s390/s390-32/sysdep.h: Likewise.
28344 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
28345 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28346 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
28347 * sysdeps/mach/sysdep.h: Likewise.
28348 * sysdeps/i386/sysdep.h: Likewise.
28349 * sysdeps/i386/i386-mcount.S: Likewise.
28350 * sysdeps/x86_64/_mcount.S: Likewise.
28351 * sysdeps/x86_64/sysdep.h: Likewise.
28352 * sysdeps/sh/_mcount.S: Likewise.
28353 * sysdeps/sh/sysdep.h: Likewise.
28354 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
28355 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
28356 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
28357 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
28358 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
28359 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
28360 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
28361 * locale/localeinfo.h: Likewise.
28362 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
28363 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
28365 2012-07-09 Roland McGrath <roland@hack.frob.com>
28368 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
28370 * manual/message.texi (The Uniforum approach): Likewise.
28371 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
28372 (glibc iconv Implementation): Likewise.
28374 2012-07-09 Joseph Myers <joseph@codesourcery.com>
28377 * math/s_clog.c (__clog): Avoid scaling a value down where that
28378 could result in underflow.
28379 * math/s_clog10.c (__clog10): Likewise.
28380 * math/s_clog10f.c (__clog10f): Likewise.
28381 * math/s_clog10l.c (__clog10l): Likewise.
28382 * math/s_clogf.c (__clogf): Likewise.
28383 * math/s_clogl.c (__clogl): Likewise.
28384 * math/libm-test.inc (clog_test): Add more tests.
28385 (clog10_test): Likewise.
28386 * sysdeps/i386/fpu/libm-test-ulps: Update.
28387 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28389 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
28392 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
28393 by 7 not 8 to examine high bit of fractional part.
28396 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
28397 for call to __mcount_internal.
28398 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
28399 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
28400 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
28402 2012-07-06 Joseph Myers <joseph@codesourcery.com>
28405 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
28406 approximation for values within 0x1p-13f of an odd multiple of
28408 * math/libm-test.inc (tan_test): Do not allow spurious underflow
28409 exception. Add more tests.
28410 * sysdeps/i386/fpu/libm-test-ulps: Update.
28413 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
28414 inputs and return -1 for them. Do not check for +Inf in case not
28415 reachable for +Inf.
28416 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
28417 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
28418 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
28419 and return -1 for them. Do not check for +Inf in case not
28420 reachable for +Inf.
28421 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
28423 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
28424 and return -1 for them. Do not check for +Inf in case not
28425 reachable for +Inf.
28426 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
28427 spurious underflow.
28428 * sysdeps/i386/fpu/libm-test-ulps: Update.
28429 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28431 2012-07-06 Mike Frysinger <vapier@gentoo.org>
28433 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
28435 2012-07-05 Joseph Myers <joseph@codesourcery.com>
28439 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
28440 could result in spurious underflow. Scale down values above
28441 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
28442 * math/s_csqrtf.c (__csqrtf): Likewise.
28443 * math/s_csqrtl.c (__csqrtl): Likewise.
28444 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
28445 spurious underflow.
28446 * sysdeps/i386/fpu/libm-test-ulps: Update.
28447 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28449 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
28451 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
28453 * catgets/xopen-msg.awk: New file.
28454 * catgets/xopen-msg.sed: Removed.
28456 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
28458 * intl/po2test.awk: New file.
28459 * intl/po2test.sed: Removed.
28461 2012-07-04 Joseph Myers <joseph@codesourcery.com>
28464 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
28465 or multiply small sinh result by itself.
28466 * math/s_ctanf.c (__ctanf): Likewise.
28467 * math/s_ctanh.c (__ctanh): Likewise.
28468 * math/s_ctanhf.c (__ctanhf): Likewise.
28469 * math/s_ctanhl.c (__ctanhl): Likewise.
28470 * math/s_ctanl.c (__ctanl): Likewise.
28471 * math/libm-test.inc (ctan_test_tonearest): New function.
28472 (ctan_test_towardzero): Likewise.
28473 (ctan_test_downward): Likewise.
28474 (ctan_test_upward): Likewise.
28475 (ctanh_test_tonearest): Likewise.
28476 (ctanh_test_towardzero): Likewise.
28477 (ctanh_test_downward): Likewise.
28478 (ctanh_test_upward): Likewise.
28479 (main): Call these new functions.
28480 * sysdeps/i386/fpu/libm-test-ulps: Update.
28481 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28483 2012-07-03 Mike Frysinger <vapier@gentoo.org>
28485 * .gitignore: Delete /ports entry.
28487 2012-07-03 Andreas Jaeger <aj@suse.de>
28489 * po/bg.po: Update from translation team.
28490 * po/cs.po: Likewise.
28491 * po/de.po: Likewise.
28492 * po/hr.po: Likewise.
28493 * po/nl.pl: Likewise.
28494 * po/pl.po: Likewise.
28495 * po/vi.po: Likewise.
28497 2012-07-03 Joseph Myers <joseph@codesourcery.com>
28499 * Makeconfig [!+link] (+link-before-libc): New variable.
28500 [!+link] (+link-after-libc): Likewise.
28501 [!+link] (+link-tests): Likewise.
28502 [!+link] (+link): Define in terms of $(+link-before-libc) and
28503 $(+link-after-libc).
28504 [!+link-static] (+link-static-before-libc): New variable.
28505 [!+link-static] (+link-static-after-libc): Likewise.
28506 [!+link-static] (+link-static-tests): Likewise.
28507 [!+link-static] (+link-static): Define in terms of
28508 $(+link-static-before-libc) and $(+link-static-after-libc).
28509 [build-shared] (link-libc-before-gnulib): New variable.
28510 [build-shared] (link-libc-tests): Likewise.
28511 [build-shared] (link-libc): Define in terms of
28512 $(link-libc-before-gnulib).
28513 [!build-shared] (link-libc-tests): New variable.
28514 (link-libc-static-tests): New variable.
28515 [!gnulib] (gnulib-arch): New variable.
28516 [!gnulib] (gnulib-tests): Likewise.
28517 [!gnulib] (static-gnulib-arch): Likewise.
28518 [!gnulib] (static-gnulib-tests): Likewise.
28519 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
28520 Define with "=" instead of ":=".
28521 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
28522 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
28523 * Rules (binaries-all-notests): New variable.
28524 (binaries-all-tests): Likewise.
28525 (binaries-static-notests): Likewise.
28526 (binaries-static-tests): Likewise.
28527 (binaries-all): Define using $(binaries-all-notests) and
28528 $(binaries-all-tests).
28529 (binaries-static): Define using $(binaries-static-notests) and
28530 $(binaries-static-tests).
28531 (binaries-shared-tests): New variable.
28532 (binaries-shared-notests): Likewise.
28533 (binaries-shared): Remove variable.
28534 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
28535 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
28536 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
28537 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
28538 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
28539 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
28540 * elf/Makefile (sln-modules): New variable.
28541 (extra-objs): Add $(sln-modules:=.o).
28542 (ldconfig-modules): Add static-stubs.
28543 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
28544 * elf/static-stubs.c: New file.
28547 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
28548 by 7 not 8 to examine high bit of fractional part. Use volatile
28549 variables when splitting into final array of floats if
28550 __FLT_EVAL_METHOD__ != 0.
28551 * math/libm-test.inc (cos_test): Add another test.
28552 (sin_test): Likewise.
28553 * sysdeps/i386/fpu/libm-test-ulps: Update.
28556 * math/libm-test.inc (cosh_test): Add more tests.
28558 * version.h (RELEASE): Set to "development".
28559 (VERSION): Set to "2.16.90".
28561 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
28563 * NEWS: Update copyright. Remove last-updated date.
28564 Mention math library bug fixes and timezone data changes.
28565 * README: Mention GNU/Hurd, x32, and HPPA support status.
28567 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
28569 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
28571 2012-06-27 Andreas Jaeger <aj@suse.de>
28573 * manual/contrib.texi (Contributors): Add Samuel Thibault.
28575 2012-06-25 Andreas Jaeger <aj@suse.de>
28577 * sysdeps/s390/fpu/libm-test-ulps: Update.
28579 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
28580 Thomas Schwinge <thomas@codesourcery.com>
28582 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
28583 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
28584 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
28587 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
28589 * sysdeps/mach/start.c: Remove file.
28590 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
28591 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
28592 * sysdeps/sh/init-first.c: Likewise.
28594 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
28595 registers for frame unwinding purposes, add CFI directives.
28596 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
28597 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
28598 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
28601 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
28602 __fortify_fail returning.
28603 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
28605 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
28606 sysdeps/sh/____longjmp_chk.S.
28607 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
28608 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
28609 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
28610 (gen-as-const-headers): Append sigaltstack-offsets.sym.
28612 * sysdeps/sh/abort-instr.h: New file.
28613 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
28614 process in case exit returns.
28616 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
28617 initialize the GOT register before use.
28619 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
28620 calculation of ARGC > 4.
28622 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
28623 meaningful names to some local labels.
28625 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28626 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28628 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
28629 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
28630 (__arch_compare_and_exchange_val_16_acq): Likewise.
28631 (__arch_compare_and_exchange_val_32_acq): Likewise.
28632 (atomic_exchange_and_add): Fix gUSA sequence.
28633 (atomic_add): Likewise.
28634 (atomic_add_negative): Likewise.
28635 (atomic_add_zero): Likewise.
28636 (atomic_bit_test_set): Likewise.
28638 2012-06-22 Andreas Schwab <schwab@redhat.com>
28641 * include/link.h (struct link_map): Add l_free_initfini.
28642 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
28644 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
28645 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
28646 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
28649 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
28651 * configure.in: Use AC_LANG_SOURCE.
28652 * configure: Regenerate.
28654 2012-06-22 Roland McGrath <roland@hack.frob.com>
28656 * configure.in (libc_cv_localstatedir): New substituted variable.
28657 * configure: Regenerated.
28658 * config.make.in (localstatedir): New variable, substituted from
28659 libc_cv_localstatedir.
28660 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
28661 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
28662 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
28663 * sysdeps/gnu/configure: Regenerated.
28665 2012-06-21 Jeff Law <law@redhat.com>
28668 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
28669 free. Simplify list management for _LIBC case.
28671 2012-06-21 Joseph Myers <joseph@codesourcery.com>
28674 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
28675 Clear sign bit of 64-bit integer value before comparing against
28678 * sysdeps/mach/configure: Regenerated.
28680 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
28683 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
28685 2012-06-21 Jeff Law <law@redhat.com>
28688 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
28689 uint16_t for elements in the "seen" array to avoid char overflows.
28690 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28691 * elf/dl-open.c (dl_open_worker): Likewise.
28693 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
28695 * scripts/list-sources.sh: Scan PORTS for translations.
28696 * po/libc.pot: Regenerated.
28698 2012-06-21 Andreas Jaeger <aj@suse.de>
28701 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
28703 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
28704 * bits/byteswap-16.h (__bswap_16): Likewise.
28705 * bits/byteswap.h (__bswap_constant_16): Likewise.
28707 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
28710 * sysdeps/i386/fpu_control.h: Removed.
28711 * sysdeps/x86_64/fpu_control.h: Moved to ...
28712 * sysdeps/x86/fpu_control.h: Here.
28714 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
28715 (_FPU_SETCW): Likewise.
28717 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
28720 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
28721 * sysdeps/x86/fpu/bits/mathinline.h: This.
28722 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
28726 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
28727 functions if __x86_64__ is defined.
28729 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
28731 * string/endian.h: Add !__ASSEMBLER__ condition for including
28732 conversion interfaces.
28734 2012-06-15 Joseph Myers <joseph@codesourcery.com>
28737 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
28738 of ABS(x) in calculating zero to negative powers other than odd
28740 * math/libm-test.inc (pow_test): Add more tests.
28742 2012-06-15 Andreas Jaeger <aj@suse.de>
28744 * manual/contrib.texi (Contributors): Update entry of Liubov
28745 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
28748 2012-06-15 Cyril Hrubis <metan@ucw.cz>
28750 * string/string.h: Add __wur to GNU version of strerror_r.
28752 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
28755 * string/Makefile (tests): Add tst-strtok_r.
28756 * string/tst-strtok_r.c: New file.
28757 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
28758 RAX_LP/RDX_LP on SAVE_PTR.
28760 2012-06-14 Roland McGrath <roland@hack.frob.com>
28762 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
28764 2012-06-14 Joseph Myers <joseph@codesourcery.com>
28766 * libm_test.inc (csqrt_test): Allow more spurious underflow
28768 (j0_test): Likewise.
28769 (j1_test): Likewise.
28770 (y0_test): Likewise.
28771 (y1_test): Likewise.
28773 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
28775 * po/Makefile (libc.pot): Use UTF-8 charset.
28777 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
28780 Suppress sign-conversion warning from FD_SET.
28781 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
28782 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
28783 not unsigned long int.
28784 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
28786 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
28790 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
28791 __extern_always_inline instead of __extern_inline.
28792 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
28793 (__signbit): Likewise.
28794 (__signbitl): Support C++ namespace.
28795 (lrintf): New inline function.
28797 (llrintf): Likewise.
28798 (llrint): Likewise.
28808 (floorf): Likewise.
28809 (nearbyint): Likewise.
28810 (nearbyintf): Likewise.
28812 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
28814 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
28815 non-default versions.
28817 2012-06-11 Roland McGrath <roland@hack.frob.com>
28820 * manual/argp.texi (Argp): Reword argp_parse description slightly.
28822 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
28824 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
28825 (FE_UPWARD, FE_DOWNWARD): Don't define.
28826 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
28827 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
28829 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
28831 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
28832 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
28834 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28836 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
28837 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
28838 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
28839 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
28841 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
28844 * sysdeps/i386/fpu/bits/fenv.h: Removed.
28845 * sysdeps/i386/fpu/Implies: New file.
28846 * sysdeps/x86_64/fpu/Implies: Likewise.
28847 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
28848 * sysdeps/x86/fpu/bits/fenv.h: This.
28850 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
28853 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
28856 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
28857 character 0xffff that matches the last element of the
28860 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28862 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
28865 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28867 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
28868 values higher than 25.6283.
28870 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28872 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
28873 subnormal exponent extraction and add some __builtin_expect.
28874 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
28875 Fix for subnormal mantissa calculation.
28877 2012-06-04 Mike Frysinger <vapier@gentoo.org>
28879 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
28880 cpu2 is -1 and errno is not ENOSYS.
28882 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
28885 * sysdeps/i386/i486/bits/string.h: Renamed to ...
28886 * sysdeps/x86/bits/string.h: This.
28887 * sysdeps/x86_64/bits/string.h: Removed.
28889 * sysdeps/i386/i486/bits/string.h: Define inline functions only
28890 if not compiling for x86-64, but compiling for >= i486.
28892 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
28893 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
28895 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
28896 New macro from Linux kernel 3.4.0.
28897 (FP_XSTATE_MAGIC2): Likewise.
28898 (FP_XSTATE_MAGIC2_SIZE): Likewise.
28899 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
28900 (struct _fpx_sw_bytes): New struct.
28901 (struct _xsave_hdr): Likewise.
28902 (struct _ymmh_state): Likewise.
28903 (struct _xstate): Likewise.
28905 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
28906 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
28907 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
28908 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
28909 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
28910 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
28912 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
28913 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
28914 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
28915 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
28916 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
28917 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
28919 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28922 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
28923 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
28924 (sysdep_headers): Include sys/platform/ppc.h.
28925 * sysdeps/powerpc/test-gettimebase.c: Test for
28926 __ppc_get_timebase() to catch future ISA opcode/insn changes.
28927 * manual/Makefile (appendices): Include platform.texi.
28928 * manual/contrib.texi (Contributors): Update @node pointers.
28929 * manual/maint.texi (Maintenance): Likewise.
28930 (Platform): New node.
28931 * manual/platform.texi: New file. Document the new features.
28933 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
28934 Jakub Jelinek <jakub@redhat.com>
28937 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
28938 where __builtin_expect is unavailable.
28940 2012-06-03 David S. Miller <davem@davemloft.net>
28942 * stdlib/longlong.h: Updated from GCC.
28944 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
28947 * sysdeps/powerpc/powerpc32/mcount.c: New file.
28948 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
28950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
28951 (GLIBC_2.16): Likewise.
28953 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
28955 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
28957 2012-06-01 Joseph Myers <joseph@codesourcery.com>
28959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
28960 (default-abi): New variable.
28961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
28962 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
28964 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
28966 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
28968 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
28971 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
28972 definition. Document in comment.
28974 2012-06-01 David S. Miller <davem@davemloft.net>
28976 * stdlib/longlong.h: Updated from GCC.
28978 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
28981 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
28982 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
28983 sys/debugreg.h sys/io.h here.
28984 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
28985 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
28987 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
28988 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
28989 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
28990 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
28991 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
28992 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
28994 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
28995 Define only if __x86_64__ is defined.
28997 2012-06-01 Joseph Myers <joseph@codesourcery.com>
29000 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
29001 Use int64_t for variable i.
29002 * math/libm-test.inc (fmod_test): Add more tests.
29004 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
29005 z computation is not scheduled after fetestexcept.
29006 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
29007 Use math_force_eval instead of asm to ensure calculation scheduled
29008 before exception test.
29009 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
29010 Ensure a1 + u.d computation is not scheduled after fetestexcept.
29012 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
29014 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
29015 computation is not scheduled after fetestexcept.
29017 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
29020 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
29021 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
29023 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29025 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
29026 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
29028 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
29031 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
29033 (__WCHAR_MIN): Support __WORDSIZE == 64.
29034 (__WCHAR_MAX): Likewise.
29036 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
29037 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
29040 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
29041 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
29044 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
29045 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
29047 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
29048 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
29050 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
29051 Defined to 1 if __x86_64__ isn't defined.
29052 (_STAT_VER_LINUX_OLD): New.
29053 (st_atime): Remove duplicate.
29054 (st_mtime): Likewise.
29055 (st_ctime): Likewise.
29057 2012-05-31 David S. Miller <davem@davemloft.net>
29059 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
29062 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
29064 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
29068 * elf/dl-reloc.c: Include <_itoa.h>.
29069 (_dl_reloc_bad_type): Remove use of INTUSE.
29070 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
29071 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
29072 * stdio-common/psiginfo.c (psiginfo): Likewise.
29073 * stdio-common/psignal.c (psignal): Likewise.
29074 * string/strsignal.c (strsignal): Likewise.
29075 * include/signal.h (_sys_siglist): Declare hidden proto.
29076 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
29077 INTVARDEF with libc_hidden_data_def.
29078 * stdio-common/itoa-udigits.c: Likewise.
29079 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
29080 (_itoa_lower_digits_internal): Remove declaration.
29081 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
29082 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
29083 (_sys_sigabbrev_internal): Remove aliases.
29084 (_sys_siglist): Define hidden alias.
29086 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
29088 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29091 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
29094 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
29095 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
29097 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
29098 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
29099 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
29100 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
29101 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
29102 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
29104 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
29105 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
29106 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
29108 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
29116 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
29117 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
29118 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
29120 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
29121 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
29122 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
29123 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
29124 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
29125 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
29127 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
29128 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
29130 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
29131 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
29133 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
29134 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
29135 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
29137 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
29138 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
29140 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
29142 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
29143 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
29144 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
29146 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
29148 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
29150 2012-05-31 Joseph Myers <joseph@codesourcery.com>
29152 * math/math.h (M_El): Use two more decimal places.
29153 (M_LOG2El): Likewise.
29154 (M_LOG10El): Likewise.
29155 (M_LN2l): Likewise.
29156 (M_LN10l): Likewise.
29158 (M_PI_2l): Likewise.
29159 (M_PI_4l): Likewise.
29160 (M_1_PIl): Likewise.
29161 (M_2_PIl): Likewise.
29162 (M_2_SQRTPIl): Likewise.
29163 (M_SQRT2l): Likewise.
29164 (M_SQRT1_2l): Likewise.
29166 2012-05-31 David S. Miller <davem@davemloft.net>
29168 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
29169 values between float registers.
29170 * sysdeps/sparc/sparc64/memset.S: Likewise.
29171 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
29173 2012-05-31 Mike Frysinger <vapier@gentoo.org>
29175 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
29176 -D_FORTIFY_SOURCE=1.
29177 (CPPFLAGS-tst-longjmp_chk.c): Define.
29178 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
29179 (CPPFLAGS-tst-longjmp_chk2.c): Define.
29180 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
29181 CFLAGS-tst-wchar-h.c.
29183 2012-05-31 Marek Polacek <polacek@redhat.com>
29186 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
29187 __endmntent_internal): Remove declaration.
29188 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
29189 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
29190 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
29192 2012-05-30 David S. Miller <davem@davemloft.net>
29194 * sysdeps/sparc/sparc32/soft-fp/q_util.c
29195 (___Q_simulate_exceptions): Use real FP ops rather than writing
29197 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
29200 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
29203 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
29204 * sysdeps/x86/bits/xtitypes.h: This.
29206 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
29207 * sysdeps/x86/bits/wordsize.h: This.
29209 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
29210 * sysdeps/x86/bits/huge_vall.h: This.
29212 * sysdeps/i386/bits/select.h: Removed.
29213 * sysdeps/x86_64/bits/select.h: Renamed to ...
29214 * sysdeps/x86/bits/select.h: This.
29216 * sysdeps/i386/bits/setjmp.h: Removed.
29217 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
29218 * sysdeps/x86/bits/setjmp.h: This.
29220 * sysdeps/i386/bits/mathdef.h: Removed.
29221 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
29222 * sysdeps/x86/bits/mathdef.h: This.
29224 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
29227 * include/sys/socket.h (__connect_internal)
29228 (__libc_sa_len_internal): Remove declaration.
29229 (__connect, __libc_sa_len): Declare hidden_proto.
29230 (SA_LEN): Remove use of INTUSE.
29231 * socket/connect.c: Add libc_hidden_def.
29232 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
29233 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
29234 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
29236 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
29237 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
29238 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
29239 of adding _internal alias.
29241 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
29244 * sysdeps/i386/bits/link.h: Removed.
29245 * sysdeps/i386/bits/linkmap.h: Likewise.
29246 * sysdeps/x86_64/bits/link.h: Renamed to ...
29247 * sysdeps/x86/bits/link.h: This.
29248 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
29249 * sysdeps/x86/bits/linkmap.h: This.
29251 * sysdeps/i386/bits/endian.h: Removed.
29252 * sysdeps/x86_64/bits/endian.h: Renamed to ...
29253 * sysdeps/x86/bits/endian.h: This.
29255 * sysdeps/i386/bits/byteswap.h: Removed.
29256 * sysdeps/i386/bits/byteswap-16.h: Likewise.
29257 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
29258 * sysdeps/x86/bits/byteswap.h: This.
29259 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
29260 * sysdeps/x86/bits/byteswap-16.h: This.
29261 * sysdeps/i386/Implies: Add x86.
29262 * sysdeps/x86_64/Implies: Likewise.
29264 2012-05-30 David S. Miller <davem@davemloft.net>
29266 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
29267 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
29268 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
29269 (FP_TRAPPING_EXCEPTIONS): Define.
29270 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
29271 (FP_TRAPPING_EXCEPTIONS): Define.
29272 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
29273 subnormals only when inexact has been signalled or underflow
29274 exceptions are enabled.
29275 (_FP_PACK_CANONICAL): Likewise.
29277 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
29280 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
29281 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
29283 2012-05-30 Richard Henderson <rth@twiddle.net>
29285 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
29286 with #ifndef NOT_IN_libc.
29288 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
29289 marked to avoid plt entry.
29291 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
29294 * Makeconfig (default-abi): New macro.
29295 (abi-includes): Likewise.
29296 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
29297 $(abi-$(default-abi)-lib-soname) for soname if defined.
29298 ($(common-objpfx)gnu/lib-names.stmp): Generate from
29300 * Makefile (installed-stubs): Likewise.
29301 * include/stubs-biarch.h: Removed.
29302 * scripts/lib-names.awk: Only handle one library at a time.
29303 * scripts/soversions.awk: Remove WORDSIZE support.
29304 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
29306 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
29308 (syscall-list-default-condition): Likewise.
29309 (syscall-list-default-condition): Likewise.
29310 (syscall-list-includes): Likewise.
29311 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
29312 syscall-list-* with abi-*. Handle undefined abi-variants.
29313 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
29314 * sysdeps/unix/sysv/linux/i386/Implies: New file.
29315 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
29316 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
29317 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
29318 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
29320 (syscall-list-32-options): Likewise.
29321 (syscall-list-32-condition): Likewise.
29322 (syscall-list-64-options): Likewise.
29323 (syscall-list-64-condition): Likewise.
29324 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
29326 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
29329 (abi-64-ld-soname): New macro.
29330 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
29331 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
29334 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
29335 * sysdeps/x86_64/x32/shlib-versions: Likewise.
29337 2012-05-30 Joseph Myers <joseph@codesourcery.com>
29339 * sysdeps/unix/sysv/linux/kernel-features.h
29340 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
29341 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
29342 include <kernel-features.h>.
29343 [!__NR_ftruncate64]: Remove conditional code.
29344 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29345 [__NR_ftruncate64]: Make code unconditional.
29346 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29347 * sysdeps/unix/sysv/linux/truncate64.c: Do not
29348 include <kernel-features.h>.
29349 [!__NR_ftruncate64]: Remove conditional code.
29350 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29351 [__NR_ftruncate64]: Make code unconditional.
29352 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
29354 include <kernel-features.h>.
29355 [!__NR_ftruncate64]: Remove conditional code.
29356 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29357 [__NR_ftruncate64]: Make code unconditional.
29358 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
29360 include <kernel-features.h>.
29361 [!__NR_ftruncate64]: Remove conditional code.
29362 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29363 [__NR_ftruncate64]: Make code unconditional.
29364 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29366 * configure.in (libc_cv_fpie): Weaken to a compile test using
29367 LIBC_TRY_CC_OPTION.
29368 * configure: Regenerated.
29370 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29372 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
29373 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
29374 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
29375 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
29377 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
29378 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
29379 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
29380 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
29381 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
29382 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
29385 2012-05-27 David S. Miller <davem@davemloft.net>
29387 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
29389 (__Q_simulate_exceptions): Return void. Change to simulate
29390 exceptions by writing into the %fsr.
29391 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
29392 (__Qp_handle_exceptions): Likewise.
29394 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
29395 __Qp_handle_exceptions.
29396 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
29397 __Qp_handle_exceptions.
29398 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
29399 as unused and give dummy FP_RND_NEAREST initializer.
29400 (FP_INHIBIT_RESULTS): Define.
29401 (___Q_simulate_exceptions): Update declaration.
29402 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
29404 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
29405 as unused and give dummy FP_RND_NEAREST initializer.
29406 (__Qp_handle_exceptions): Update declaration.
29407 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
29410 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
29412 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
29413 the temporary FPU control word.
29414 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
29415 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
29416 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
29417 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
29418 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
29419 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
29420 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
29421 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
29422 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
29423 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
29424 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
29426 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29428 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
29431 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
29433 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
29434 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
29435 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
29436 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
29438 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
29439 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
29442 2012-05-27 Ulrich Drepper <drepper@gmail.com>
29444 * po/h.po: Update from translation team.
29446 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
29448 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
29450 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
29451 handling of denormals.
29452 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
29453 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
29454 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
29455 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
29456 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29457 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
29458 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
29461 2012-05-26 Marek Polacek <polacek@redhat.com>
29464 * math/libm-test.inc (fma_test): Don't always expect underflow
29467 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29470 * elf/tst-execstack.c: Include stackinfo.h.
29471 (do_test): Adjust test case to ensure that pthread_getattr_np
29472 behaviour remains the same after marking stack executable.
29474 2012-05-25 Joseph Myers <joseph@codesourcery.com>
29476 * sysdeps/unix/sysv/linux/kernel-features.h
29477 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
29478 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
29480 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
29481 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
29482 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
29484 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
29485 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
29487 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
29489 * configure.in: Define the default includes to being none.
29490 * configure: Regenerated.
29492 2012-05-25 Roland McGrath <roland@hack.frob.com>
29494 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
29495 * sysdeps/x86_64/setjmp.S: Likewise.
29496 * sysdeps/i386/bsd-setjmp.S: Likewise.
29497 * sysdeps/i386/bsd-_setjmp.S: Likewise.
29498 * sysdeps/i386/setjmp.S: Likewise.
29499 * sysdeps/i386/__longjmp.S: Likewise.
29500 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
29501 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
29503 * include/stap-probe.h: New file.
29504 * configure.in: Handle --enable-systemtap.
29505 * configure: Regenerated.
29506 * config.h.in (USE_STAP_PROBE): New #undef.
29507 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
29508 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
29509 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
29511 2012-05-25 Joseph Myers <joseph@codesourcery.com>
29514 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
29515 to 2.4.0 where earlier.
29516 * sysdeps/unix/sysv/linux/configure: Regenerated.
29517 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
29518 <kernel-features.h>.
29519 [__ASSUME_32BITUIDS]: Make code unconditional.
29520 [!__ASSUME_32BITUIDS]: Remove conditional code.
29521 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
29522 <kernel-features.h>.
29523 [__ASSUME_32BITUIDS]: Make code unconditional.
29524 [!__ASSUME_32BITUIDS]: Remove conditional code.
29525 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
29526 [__ASSUME_32BITUIDS]: Make code unconditional.
29527 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
29528 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
29529 <kernel-features.h>.
29530 [__ASSUME_32BITUIDS]: Make code unconditional.
29531 [!__ASSUME_32BITUIDS]: Remove conditional code.
29532 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
29533 <kernel-features.h>.
29534 [__ASSUME_32BITUIDS]: Make code unconditional.
29535 [!__ASSUME_32BITUIDS]: Remove conditional code.
29536 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
29537 <kernel-features.h>.
29538 [__ASSUME_32BITUIDS]: Make code unconditional.
29539 [!__ASSUME_32BITUIDS]: Remove conditional code.
29540 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
29541 <kernel-features.h>.
29542 [__ASSUME_32BITUIDS]: Make code unconditional.
29543 [!__ASSUME_32BITUIDS]: Remove conditional code.
29544 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
29545 <kernel-features.h>.
29546 [__ASSUME_32BITUIDS]: Make code unconditional.
29547 [!__ASSUME_32BITUIDS]: Remove conditional code.
29548 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
29549 <kernel-features.h>.
29550 [__ASSUME_32BITUIDS]: Make code unconditional.
29551 [!__ASSUME_32BITUIDS]: Remove conditional code.
29552 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
29553 <kernel-features.h>.
29554 [__ASSUME_32BITUIDS]: Make code unconditional.
29555 [!__ASSUME_32BITUIDS]: Remove conditional code.
29556 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
29557 <kernel-features.h>.
29558 [__ASSUME_32BITUIDS]: Make code unconditional.
29559 [!__ASSUME_32BITUIDS]: Remove conditional code.
29560 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
29561 <kernel-features.h>.
29562 [__ASSUME_32BITUIDS]: Make code unconditional.
29563 [!__ASSUME_32BITUIDS]: Remove conditional code.
29564 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
29565 <kernel-features.h>.
29566 [__ASSUME_32BITUIDS]: Make code unconditional.
29567 [!__ASSUME_32BITUIDS]: Remove conditional code.
29568 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
29569 <kernel-features.h>.
29570 [__NR_setresgid] (__setresgid): Do not declare.
29571 [__ASSUME_32BITUIDS]: Make code unconditional.
29572 [!__ASSUME_32BITUIDS]: Remove conditional code.
29573 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
29574 <kernel-features.h>.
29575 [__NR_setresuid] (__setresuid): Do not declare.
29576 [__ASSUME_32BITUIDS]: Make code unconditional.
29577 [!__ASSUME_32BITUIDS]: Remove conditional code.
29578 * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.c: Do not include
29583 <kernel-features.h>.
29584 [__ASSUME_32BITUIDS]: Make code unconditional.
29585 [!__ASSUME_32BITUIDS]: Remove conditional code.
29586 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
29587 <kernel-features.h>.
29588 [__ASSUME_32BITUIDS]: Make code unconditional.
29589 [!__ASSUME_32BITUIDS]: Remove conditional code.
29590 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
29591 <kernel-features.h>.
29592 [__ASSUME_32BITUIDS]: Make code unconditional.
29593 [!__ASSUME_32BITUIDS]: Remove conditional code.
29594 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
29595 <kernel-features.h>.
29596 [__ASSUME_32BITUIDS]: Make code unconditional.
29597 [!__ASSUME_32BITUIDS]: Remove conditional code.
29598 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
29599 <kernel-features.h>.
29600 [__ASSUME_32BITUIDS]: Make code unconditional.
29601 [!__ASSUME_32BITUIDS]: Remove conditional code.
29602 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
29603 <kernel-features.h>.
29604 [__ASSUME_32BITUIDS]: Make code unconditional.
29605 [!__ASSUME_32BITUIDS]: Remove conditional code.
29606 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
29607 <kernel-features.h>.
29608 [__ASSUME_32BITUIDS]: Make code unconditional.
29609 [!__ASSUME_32BITUIDS]: Remove conditional code.
29610 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
29611 <kernel-features.h>.
29612 [__ASSUME_32BITUIDS]: Make code unconditional.
29613 [!__ASSUME_32BITUIDS]: Remove conditional code.
29614 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
29615 <kernel-features.h>.
29616 [__ASSUME_32BITUIDS]: Make code unconditional.
29617 [!__ASSUME_32BITUIDS]: Remove conditional code.
29618 * sysdeps/unix/sysv/linux/kernel-features.h
29619 (__ASSUME_SETRESUID_SYSCALL): Remove.
29620 (__ASSUME_SETRESGID_SYSCALL): Likewise.
29621 (__ASSUME_32BITUIDS): Likewise.
29622 (__ASSUME_LDT_WORKS): Likewise.
29623 (__ASSUME_O_DIRECTORY): Likewise.
29624 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
29625 architecture but not kernel version.
29626 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
29627 (__ASSUME_MMAP2_SYSCALL): Likewise.
29628 (__ASSUME_STAT64_SYSCALL): Likewise.
29629 (__ASSUME_IPC64): Likewise.
29630 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
29631 <kernel-features.h>.
29632 [__ASSUME_32BITUIDS]: Make code unconditional.
29633 [!__ASSUME_32BITUIDS]: Remove conditional code.
29634 * sysdeps/unix/sysv/linux/opendir.c: Do not include
29635 <kernel-features.h>.
29636 [__ASSUME_O_DIRECTORY]: Make code unconditional.
29637 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
29638 132096]: Remove conditional code.
29639 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
29640 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
29641 <kernel-features.h>.
29642 [__ASSUME_32BITUIDS]: Make code unconditional.
29643 [!__ASSUME_32BITUIDS]: Remove conditional code.
29644 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
29645 <kernel-features.h>.
29646 [__ASSUME_32BITUIDS]: Make code unconditional.
29647 [!__ASSUME_32BITUIDS]: Remove conditional code.
29648 * sysdeps/unix/sysv/linux/setegid.c: Do not include
29649 <kernel-features.h>.
29650 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
29652 (__setresgid): Do not declare.
29653 [__ASSUME_32BITUIDS]: Make code unconditional.
29654 [!__ASSUME_32BITUIDS]: Remove conditional code.
29655 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
29656 <kernel-features.h>.
29657 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
29659 (__setresuid): Do not declare.
29660 [__ASSUME_32BITUIDS]: Make code unconditional.
29661 [!__ASSUME_32BITUIDS]: Remove conditional code.
29662 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
29663 <kernel-features.h>.
29664 [__ASSUME_32BITUIDS]: Make code unconditional.
29665 [!__ASSUME_32BITUIDS]: Remove conditional code.
29666 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
29667 <kernel-features.h>.
29668 [__ASSUME_32BITUIDS]: Make code unconditional.
29669 [!__ASSUME_32BITUIDS]: Remove conditional code.
29671 2012-05-25 Richard Henderson <rth@twiddle.net>
29673 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
29674 dl_hwcap to ifunc resolver.
29675 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
29677 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
29678 dl_hwcap to ifunc resolver.
29679 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
29681 2012-05-24 Joseph Myers <joseph@codesourcery.com>
29684 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
29685 for |x| <= 2**-26, not 2**-57.
29686 * math/libm-test.inc (acos_test): Do not allow spurious underflow
29689 2012-05-24 Jeff Law <law@redhat.com>
29691 * stdio-common/Makefile (tests): Add bug25.
29692 * stdio-common/bug25.c: New test.
29694 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
29697 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
29698 multiple of MALLOC_ALIGNMENT in size.
29699 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
29701 2012-05-24 Joseph Myers <joseph@codesourcery.com>
29703 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
29705 (FILENAME_MAX): Use macro-int-constant.
29706 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
29707 (_IOFBF): Use macro-int-constant.
29708 (_IOLBF): Likewise.
29709 (_IONBF): Likewise.
29710 (SEEK_CUR): Likewise.
29711 (SEEK_END): Likewise.
29712 (SEEK_SET): Likewise.
29713 (TMP_MAX): Likewise.
29714 (EOF): Use macro-int-constant. Require < 0.
29715 (NULL): Use macro-constant. Require == 0.
29716 (stdin): Require type to be FILE *.
29717 (stdout): Likewise.
29718 (stderr): Likewise.
29719 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
29720 macro-int-constant.
29721 (EXIT_SUCCESS): Likewise.
29722 (NULL): Use macro-constant. Require == 0.
29723 (RAND_MAX): Use macro-int-constant.
29724 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
29725 [C99-based standards] (strtof): Require function.
29726 [C99-based standards] (strtold): Likewise.
29727 [C99-based standards] (strtoll): Likewise.
29728 [C99-based standards] (strtoull): Likewise.
29729 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
29730 [ISO || ISO99 || ISO11] (limits.h): Likewise.
29731 [ISO || ISO99 || ISO11] (math.h): Likewise.
29732 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
29733 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
29734 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29736 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
29739 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
29740 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
29741 * intl/dgettext.c (DCGETTEXT): Likewise.
29742 * intl/gettext.c (DCGETTEXT): Likewise.
29743 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
29744 * posix/regex_internal.h (gettext): Likewise.
29745 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
29746 Remove declaration.
29747 * include/argz.h (__argz_count_internal)
29748 (__argz_stringify_internal): Remove declaration.
29749 (__argz_count, __argz_stringify): Declare hidden proto.
29750 * intl/dcgettext.c: Remove use of INTDEF.
29751 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
29752 * string/argz-stringify.c: Likewise.
29753 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
29754 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
29755 Declare hidden proto.
29756 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
29757 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
29758 Declare hidden proto.
29759 * include/stdio.h (__asprintf_internal): Don't declare.
29760 (__asprintf): Don't define as macro. Declare hidden proto.
29761 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
29762 (__fsetlocking): Declare hidden proto.
29763 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
29764 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
29766 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
29767 (_IO_setlinebuf): Remove use of INTUSE.
29768 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
29769 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
29770 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
29771 Remove declaration.
29772 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
29773 (_IO_do_flush): Remove use of INTUSE.
29774 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
29775 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
29776 (_IO_adjust_column, _IO_least_wmarker)
29777 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
29778 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
29779 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
29780 (_IO_default_doallocate, _IO_wdefault_doallocate)
29781 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
29782 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
29783 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
29784 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
29785 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
29786 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
29787 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
29788 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
29789 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
29790 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
29791 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
29792 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
29793 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
29795 (_IO_flush_all_internal, _IO_adjust_column_internal)
29796 (_IO_default_uflow_internal, _IO_default_finish_internal)
29797 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
29798 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
29799 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
29800 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
29801 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
29802 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
29803 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
29804 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
29805 (_IO_file_close_internal, _IO_file_close_it_internal)
29806 (_IO_file_underflow_internal, _IO_file_overflow_internal)
29807 (_IO_file_init_internal, _IO_file_attach_internal)
29808 (_IO_file_fopen_internal, _IO_file_read_internal)
29809 (_IO_file_sync_internal, _IO_file_seek_internal)
29810 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
29811 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
29812 (_IO_str_underflow_internal, _IO_str_overflow_internal)
29813 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
29814 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
29815 (_IO_list_all_internal, _IO_link_in_internal)
29816 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
29817 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
29818 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
29819 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
29820 (_IO_do_write_internal, _IO_padn_internal)
29821 (_IO_getline_info_internal, _IO_getline_internal)
29822 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
29823 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
29824 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
29825 (_IO_vfscanf_internal, _IO_vfprintf_internal)
29826 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
29827 (_IO_init_internal, _IO_un_link_internal): Don't declare.
29828 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
29829 with libc_hidden_ver, remove use of INTUSE.
29830 * libio/genops.c: Likewise.
29831 * libio/freopen.c: Likewise.
29832 * libio/freopen64.c: Likewise.
29833 * libio/iofclose.c: Likewise.
29834 * libio/iofdopen.c: Likewise.
29835 * libio/iofflush.c: Likewise.
29836 * libio/iofflush_u.c: Likewise.
29837 * libio/iofgets.c: Likewise.
29838 * libio/iofgets_u.c: Likewise.
29839 * libio/iofopen.c: Likewise.
29840 * libio/iofopncook.c: Likewise.
29841 * libio/iofread.c: Likewise.
29842 * libio/iofread_u.c: Likewise.
29843 * libio/ioftell.c: Likewise.
29844 * libio/iofwrite.c: Likewise.
29845 * libio/iogetline.c: Likewise.
29846 * libio/iogets.c: Likewise.
29847 * libio/iogetwline.c: Likewise.
29848 * libio/iopadn.c: Likewise.
29849 * libio/iopopen.c: Likewise.
29850 * libio/ioseekoff.c: Likewise.
29851 * libio/ioseekpos.c: Likewise.
29852 * libio/iosetbuffer.c: Likewise.
29853 * libio/iosetvbuf.c: Likewise.
29854 * libio/ioungetc.c: Likewise.
29855 * libio/ioungetwc.c: Likewise.
29856 * libio/iovdprintf.c: Likewise.
29857 * libio/iovsprintf.c: Likewise.
29858 * libio/iovsscanf.c: Likewise.
29859 * libio/memstream.c: Likewise.
29860 * libio/obprintf.c: Likewise.
29861 * libio/oldfileops.c: Likewise.
29862 * libio/oldiofclose.c: Likewise.
29863 * libio/oldiofdopen.c: Likewise.
29864 * libio/oldiofopen.c: Likewise.
29865 * libio/oldiopopen.c: Likewise.
29866 * libio/oldstdfiles.c: Likewise.
29867 * libio/putc.c: Likewise.
29868 * libio/setbuf.c: Likewise.
29869 * libio/setlinebuf.c: Likewise.
29870 * libio/stdfiles.c: Likewise.
29871 * libio/strops.c: Likewise.
29872 * libio/vasprintf.c: Likewise.
29873 * libio/vscanf.c: Likewise.
29874 * libio/vsnprintf.c: Likewise.
29875 * libio/vswprintf.c: Likewise.
29876 * libio/wfiledoalloc.c: Likewise.
29877 * libio/wfileops.c: Likewise.
29878 * libio/wgenops.c: Likewise.
29879 * libio/wmemstream.c: Likewise.
29880 * libio/wstrops.c: Likewise.
29881 * libio/__fpurge.c: Likewise.
29882 * libio/__fsetlocking.c: Likewise.
29883 * assert/assert.c: Likewise.
29884 * debug/fgets_chk.c: Likewise.
29885 * debug/fgets_u_chk.c: Likewise.
29886 * debug/fread_chk.c: Likewise.
29887 * debug/fread_u_chk.c: Likewise.
29888 * debug/gets_chk.c: Likewise.
29889 * debug/obprintf_chk.c: Likewise.
29890 * debug/vasprintf_chk.c: Likewise.
29891 * debug/vdprintf_chk.c: Likewise.
29892 * debug/vsnprintf_chk.c: Likewise.
29893 * debug/vsprintf_chk.c: Likewise.
29894 * malloc/mtrace.c: Likewise.
29895 * misc/error.c: Likewise.
29896 * misc/syslog.c: Likewise.
29897 * stdio-common/asprintf.c: Likewise.
29898 * stdio-common/fxprintf.c: Likewise.
29899 * stdio-common/getw.c: Likewise.
29900 * stdio-common/isoc99_fscanf.c: Likewise.
29901 * stdio-common/isoc99_scanf.c: Likewise.
29902 * stdio-common/isoc99_vfscanf.c: Likewise.
29903 * stdio-common/isoc99_vscanf.c: Likewise.
29904 * stdio-common/isoc99_vsscanf.c: Likewise.
29905 * stdio-common/printf-prs.c: Likewise.
29906 * stdio-common/printf_fp.c: Likewise.
29907 * stdio-common/printf_fphex.c: Likewise.
29908 * stdio-common/printf_size.c: Likewise.
29909 * stdio-common/putw.c: Likewise.
29910 * stdio-common/scanf.c: Likewise.
29911 * stdio-common/sprintf.c: Likewise.
29912 * stdio-common/tmpfile.c: Likewise.
29913 * stdio-common/vfprintf.c: Likewise.
29914 * stdio-common/vfscanf.c: Likewise.
29915 * stdlib/strfmon_l.c: Likewise.
29916 * sunrpc/openchild.c: Likewise.
29917 * sunrpc/xdr_stdio.c: Likewise.
29918 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
29919 * sysdeps/mach/hurd/tmpfile.c: Likewise.
29921 2012-05-24 Roland McGrath <roland@hack.frob.com>
29923 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
29925 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
29926 in the third column, to generate for the shared library an IFUNC
29927 that uses _dl_vdso_vsym.
29928 * Makerules (COMPILE.c, compile-stdin.c): New variables.
29929 * Makeconfig (object-suffixes-noshared): New variable.
29931 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
29932 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
29933 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
29934 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
29937 * include/sys/time.h (__gettimeofday): Remove macro.
29938 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
29939 * time/gettimeofday.c (__gettimeofday): Remove #undef.
29941 (__gettimeofday): Add libc_hidden_def.
29942 (gettimeofday): Add libc_hidden_weak.
29943 * sysdeps/mach/gettimeofday.c: Likewise.
29944 * sysdeps/posix/gettimeofday.c: Likewise.
29945 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
29946 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
29947 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
29948 (__gettimeofday_internal): Remove strong_alias.
29949 (__gettimeofday): Add libc_hidden_def.
29950 (gettimeofday): Add libc_hidden_weak.
29951 * sysdeps/unix/syscalls.list (gettimeofday):
29952 Remove __gettimeofday_internal alias.
29954 2012-05-24 Daniel Jacobowitz <drow@false.org>
29955 H.J. Lu <hongjiu.lu@intel.com>
29958 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
29959 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
29960 (largebin_index_32_big): New.
29961 (largebin_index): Use it for 16-byte alignment.
29962 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
29963 correction with front_misalign.
29965 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
29967 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
29968 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
29970 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
29972 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
29974 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
29976 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
29978 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
29980 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
29982 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
29984 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
29986 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
29988 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
29990 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
29993 * scripts/data/c++-types-x32-linux-gnu.data: New file.
29994 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
29996 2012-05-24 Joseph Myers <joseph@codesourcery.com>
30000 * math/libm-test.inc (exp_test): Add test from bug 14036.
30001 (pow_test): Add test from bug 10846.
30003 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
30005 (special_function): Do not include flags in test name.
30006 (parse_args): Likewise.
30007 * sysdeps/i386/fpu/libm-test-ulps: Update.
30008 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30009 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
30010 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
30011 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30013 * math/gen-libm-test.pl (%beautify): Add entries for underflow
30015 * math/libm-test.inc ("Philosophy"): Update comment about
30017 (UNDERFLOW_EXCEPTION): New macro.
30018 (UNDERFLOW_EXCEPTION_OK): Likewise.
30019 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
30020 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
30021 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
30022 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
30023 (INVALID_EXCEPTION_OK): Update value.
30024 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
30025 (OVERFLOW_EXCEPTION_OK): Likewise.
30026 (IGNORE_ZERO_INF_SIGN): Likewise.
30027 (test_exceptions): Handle underflow exceptions.
30028 (acos_test): Update for underflow exception expectations.
30029 (cexp_test): Likewise.
30030 (clog_test): Likewise.
30031 (clog10_test): Likewise.
30032 (csqrt_test): Likewise.
30033 (ctan_test): Likewise.
30034 (ctanh_test): Likewise.
30035 (exp_test): Likewise.
30036 (exp10_test): Likewise.
30037 (exp2_test): Likewise.
30038 (expm1_test): Likewise.
30039 (fma_test): Likewise.
30040 (j0_test): Likewise.
30041 (jn_test): Likewise.
30042 (nexttoward_test): Likewise.
30043 (pow_test): Likewise.
30044 (scalbn_test): Likewise.
30045 (scalbln_test): Likewise.
30046 (tan_test): Likewise.
30047 (y1_test): Likewise.
30048 * sysdeps/i386/fpu/libm-test-ulps: Update.
30049 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30051 2012-05-23 David S. Miller <davem@davemloft.net>
30053 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
30054 (__libc_sigaction): Remove unused local variables.
30056 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
30058 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
30060 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
30062 mktime: avoid signed integer overflow
30063 * time/mktime.c (__mktime_internal): Do not mishandle the case
30064 where diff == INT_MIN.
30066 mktime: simplify computation of average
30067 * time/mktime.c (ranged_convert): Use new time_t_avg function
30068 instead of rolling our own (probably-slower) code.
30070 mktime: do not assume signed right shift propagates sign bit
30071 * time/mktime.c (isdst_differ): New static function.
30072 (__mktime_internal): No need to normalize tm_isdst now.
30073 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
30076 mktime: merge another wrapv change from gnulib
30077 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
30078 from some compilers.
30080 mktime: remove incorrect attempt at unusual arithmetics
30081 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
30082 The code didn't really work on such machines anyway.
30083 (TYPE_MINIMUM): Assume two's complement.
30084 (twos_complement_arithmetic): Verify that long_int and time_t
30085 are two's complement (or unsigned, in the latter case).
30087 mktime: check signed shifts on long_int and time_t, too
30088 * time/mktime.c (SHR): Check that shifts work as desired
30089 on the types long_int and time_t too, as SHR is used on
30092 mktime: do not assume 'long' is wide enough
30093 * time/mktime.c (verify): Move decl up.
30094 (long_int): New type.
30095 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
30096 to remove assumption in the code that 'long' is wide enough to
30097 store year values. This assumption is not true on x32 and on
30098 some non-glibc platforms.
30100 mktime: merge wrapv change from gnulib
30101 * time/mktime.c (WRAPV): New macro.
30102 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
30103 (guess_time_tm, __mktime_internal): Do not assume that signed
30104 integer overflow wraps around; modern compilers generate code
30105 where this assumption is no longer valid.
30107 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
30109 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
30110 Replace "jmp L(pseudo_end)" with "ret".
30111 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
30114 2012-05-23 Andreas Jaeger <aj@suse.de>
30116 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
30117 * sysdeps/unix/sysv/linux/poll.c: Remove file.
30119 2012-05-23 Andreas Jaeger <aj@suse.de>
30120 Maximilian Attems <max@stro.at>
30122 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
30125 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
30127 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
30128 code so that pseudo_end is just ret and the stack pointer is
30129 correct also for static library in error case.
30131 2012-05-23 Joseph Myers <joseph@codesourcery.com>
30133 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
30134 move to syscalls.list.
30135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
30136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
30137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
30138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
30140 * manual/install.texi (Running make install): Do not mention Linux
30141 kernel version for which pt_chown is not needed.
30142 (Linux): Do not mention problems with nscd with 2.0 kernels.
30143 * INSTALL: Regenerated.
30145 2012-05-23 Andreas Jaeger <aj@suse.de>
30147 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
30148 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
30150 * sysdeps/unix/sysv/linux/s390/bits/mman.h
30151 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30152 * sysdeps/unix/sysv/linux/sh/bits/mman.h
30153 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30154 * sysdeps/unix/sysv/linux/i386/bits/mman.h
30155 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30156 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
30157 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30158 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
30159 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30160 * sysdeps/unix/sysv/linux/bits/in.h
30161 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
30163 2012-05-22 Roland McGrath <roland@hack.frob.com>
30165 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
30166 (PREPARE_VERSION): Just use assert instead, it will be elided
30167 under [NDEBUG] anyway.
30169 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
30171 * sysdeps/unix/sysv/linux/Makefile: Include
30172 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
30173 (sysdep_routines): Remove sysctl.
30174 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
30175 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
30176 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
30177 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
30178 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
30180 2012-05-22 Andreas Jaeger <aj@suse.de>
30182 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
30183 that pseudo_end is just ret and the stack pointer is correct also
30184 for static library in error case.
30186 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
30189 * nss/nsswitch.c (defconfig_entries): New variable.
30190 (__nss_database_lookup): Don't leak defconfig entries.
30191 (nss_parse_service_list): Don't leak on error paths.
30192 (free_database_entries): New function.
30193 (free_defconfig): New function.
30194 (free_mem): Move common code to free_database_entries.
30196 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
30198 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
30200 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
30202 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
30203 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
30204 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
30206 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
30207 (INTERNAL_SYSCALL_TYPES): Likewise.
30208 (LOAD_ARGS_TYPES_[1-6]): Likewise.
30209 (LOAD_REGS_TYPES_[1-6]): Likewise.
30210 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
30211 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
30213 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30215 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
30216 copysignl for GLIBC_2_0.
30217 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
30218 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
30219 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
30220 logbl for GLIBC_2_0.
30221 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
30222 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
30224 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
30226 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
30227 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
30229 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
30232 * time/mktime.c: Update copyright years.
30234 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
30236 mktime: merge comment-quoting-style change from gnulib
30237 * time/mktime.c: Quote 'like this' in comments.
30238 The GNU coding standards suggest that we no longer quote `like this',
30239 as "`" and "'" are typically rendered asymmetrically nowadays.
30240 The typical gnulib style is to quote 'like this' when quoting
30241 code, and "like this" when quoting English.
30243 * time/mktime.c (compile-command): Add "-I.".
30245 mktime: merge mktime-internal.h change from gnulib
30246 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
30248 mktime: merge time_r change from gnulib
30249 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
30251 mktime: merge DEBUG change from gnulib
30252 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
30253 case system <time.h> has a #define.
30255 mktime: merge <sys/types.h> change from gnulib
30256 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
30257 since <time.t> is now guaranteed to define time_t.
30259 mktime: merge HAVE_CONFIG_H change from gnulib
30260 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
30262 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
30264 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
30267 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
30269 (struct rusage): Use anonymous union to pad each field to
30272 2012-05-21 David S. Miller <davem@davemloft.net>
30274 * Makefules (o-iterator): Remove .s cases.
30275 (compile-command.s): Delete.
30276 (COMPILE.s): Delete.
30277 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
30279 2012-05-21 Joseph Myers <joseph@codesourcery.com>
30281 * configure.in (libc_cv_predef_stack_protector): Only consider
30282 "foobar" and "__stack_chk_fail" lines in libc_undefs.
30283 * configure: Regenerated.
30285 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
30287 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
30288 New macro. Use R*LP on int and pointer.
30289 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
30290 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
30291 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
30292 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
30294 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
30295 [__WORDSIZE_TIME64_COMPAT32] instead of
30296 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
30297 (struct utmp): Likewise.
30298 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
30299 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
30301 (__WORDSIZE_TIME64_COMPAT32): This.
30302 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
30303 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
30304 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
30305 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
30306 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
30307 (__WORDSIZE_TIME64_COMPAT32): New macro.
30309 2012-05-21 Andreas Jaeger <aj@suse.de>
30311 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
30312 only if [SHARED]. Add prototype for __wcschr_ia32.
30314 2012-05-21 Roland McGrath <roland@hack.frob.com>
30316 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
30317 of %rbp unmolested in the jmp_buf while mangling the low bits.
30318 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
30319 unmolested high bits of %rbp while demangling the low bits.
30320 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
30322 2012-05-21 Andreas Jaeger <aj@suse.de>
30324 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
30325 * sunrpc/svc_simple.c: Use it for registerrpc.
30326 * sunrpc/xcrypt.c: Use it for passwd2des.
30328 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
30330 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
30332 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
30333 Don't define if [__SYSCALL_WORDSIZE != 32].
30334 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
30337 2012-05-21 Bruno Haible <bruno@clisp.org>
30338 Andreas Jaeger <aj@suse.de>
30340 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
30341 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
30342 inptr and inend for must_buffer_ch.
30343 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
30344 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
30345 * stdio-common/Makefile (tests): Remove bug15.
30346 (bug15-ENV): Remove macro.
30347 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
30350 2012-05-19 Andreas Jaeger <aj@suse.de>
30351 Roland McGrath <roland@hack.frob.com>
30353 * manual/contrib.texi: Completely rewritten. It contains now an
30354 alphabetical list of contributors and their contributions.
30356 2012-05-21 Richard Henderson <rth@twiddle.net>
30358 * misc/getauxval.c (__getauxval): Use unsigned long int.
30359 * misc/sys/auxv.h: Include <sys/cdefs.h>.
30360 (getauxval): Use unsigned long int.
30362 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
30364 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
30366 2012-05-21 Roland McGrath <roland@hack.frob.com>
30368 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
30369 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
30370 __alignof__ (long double).
30372 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30374 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30376 2012-05-20 Richard Henderson <rth@twiddle.net>
30378 * misc/getauxval.c: New file.
30379 * misc/sys/auxv.h: New file.
30380 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
30381 (routines): Add getauxval.
30382 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
30383 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
30384 * elf/dl-sysdep.c (_dl_auxv): Remove.
30385 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
30386 * elf/dl-support.c (_dl_auxv): New variable.
30387 (_dl_aux_init): Initialize it.
30388 * manual/startup.texi (Auxiliary Vector): New node.
30389 * sysdeps/generic/bits/hwcap.h: New file.
30390 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
30391 * sysdeps/powerpc/sysdep.h: ... here. Include it.
30392 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
30393 * sysdeps/sparc/sysdep.h: ... here. Include it.
30394 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
30395 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
30396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
30399 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
30400 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
30401 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
30402 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
30403 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
30404 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
30405 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
30407 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30409 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30411 2012-05-19 David S. Miller <davem@davemloft.net>
30413 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30415 2012-05-19 Joseph Myers <joseph@codesourcery.com>
30418 * math/s_ccosh.c: Include <float.h>
30419 (__ccosh): Avoid internal overflow calculating sinh and cosh
30420 values before multiplying by sin and cos values.
30421 * math/s_ccoshf.c: Likewise.
30422 * math/s_ccoshl.c: Likewise.
30423 * math/s_csin.c: Likewise.
30424 * math/s_csinf.c: Likewise.
30425 * math/s_csinl.c: Likewise.
30426 * math/s_csinh.c: Likewise.
30427 * math/s_csinhf.c: Likewise.
30428 * math/s_csinhl.c: Likewise.
30429 * math/libm-test.inc (ccos_test): Add more tests.
30430 (ccosh_test): Likewise.
30431 (csin_test): Likewise.
30432 (csinh_test): Likewise.
30433 * sysdeps/i386/fpu/libm-test-ulps: Update.
30434 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30436 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
30438 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
30439 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
30441 * sysdeps/x86_64/x32/_itoa.h: Add comment.
30443 2012-05-19 Joseph Myers <joseph@codesourcery.com>
30445 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
30446 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
30447 * sysdeps/powerpc/soft-fp/Versions: Likewise.
30448 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
30449 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
30450 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
30451 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
30452 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
30453 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
30454 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
30455 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
30456 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
30457 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
30458 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
30459 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
30460 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
30461 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
30462 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
30463 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
30464 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
30465 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
30466 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
30467 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
30468 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
30469 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
30470 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
30471 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
30472 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
30473 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
30474 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
30475 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
30477 2012-05-18 Andreas Jaeger <aj@suse.de>
30479 * csu/.gitignore: Delete.
30481 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
30483 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
30484 (timex): Use __syscall_slong_t.
30486 2012-05-18 Andreas Jaeger <aj@suse.de>
30487 Carlos O'Donell <carlos_odonell@mentor.com>
30489 * manual/install.texi (Configuring and compiling): Update
30490 description about files modified in the source directory.
30491 * INSTALL: Regenerated.
30493 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
30495 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
30496 value. Use "or" to set return value to -1.
30497 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
30498 negate return value.
30500 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30502 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
30503 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
30504 failure if the compiler has Graphite support disabled.
30505 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
30507 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
30508 (CFLAGS-memmove.c): Likewise.
30509 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
30512 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
30514 * sysdeps/x86_64/x32/_itoa.h: New file.
30516 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
30517 getdents system call only if kernel and user dirents have the
30518 same d_ino and d_off.
30520 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
30521 LLONG_MAX != LONG_MAX.
30522 (_itoa_word): Use _ITOA_WORD_TYPE on value.
30523 (_fitoa_word): Likewise.
30525 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
30527 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
30528 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
30529 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
30531 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
30532 include <bits/wordsize.h>. Check __x86_64__ instead of
30534 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
30535 if __x86_64__ is defined. Use anonymous union on fpstate.
30537 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
30540 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
30542 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
30543 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
30544 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
30545 Refer to _rtld_local_ro instead of _rtld_global_ro.
30546 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
30548 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
30550 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
30552 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
30553 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
30554 of _rtld_global, and rtld_progname instead of _dl_argv[0].
30556 * sysdeps/powerpc/powerpc32/dl-machine.c
30557 (__elf_machine_runtime_setup) [PROF]: Don't reference
30560 2012-05-18 Andreas Jaeger <aj@suse.de>
30562 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
30563 function only available for GCCs before 3.4 since GCC 3.4
30564 introduced a builtin.
30566 (llrintf): Likewise.
30567 (llrint): Likewise.
30574 (nearbyint): Likewise.
30575 (nearbyintf): Likewise.
30579 (floorf): Likewise.
30581 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
30583 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
30584 on both fields and cast pointer to __syscall_ulong_t.
30586 * bits/types.h (__fsword_t): New type.
30587 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
30588 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
30589 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30590 (__FSWORD_T_TYPE): Likewise.
30591 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30592 (__FSWORD_T_TYPE): Likewise.
30593 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30594 (__FSWORD_T_TYPE): Likewise.
30595 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
30596 (__FSWORD_T_TYPE): Likewise.
30597 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
30598 __SWORD_TYPE with __fsword_t.
30599 (statfs64): Likewise.
30601 2012-05-17 David S. Miller <davem@davemloft.net>
30603 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
30605 2012-05-17 Andreas Jaeger <aj@suse.de>
30607 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
30610 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
30612 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
30614 2012-05-17 Andreas Jaeger <aj@suse.de>
30616 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
30619 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
30621 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
30623 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
30625 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
30626 * sysdeps/x86_64/tst-mallocalign1.c: New file.
30628 2012-05-17 Andreas Jaeger <aj@suse.de>
30629 Carlos O'Donell <carlos_odonell@mentor.com>
30632 * sysdeps/x86_64/multiarch/init-arch.h
30633 (bit_YMM_Usable): Rename to...
30634 (bit_AVX_Usable): ... this.
30635 (bit_FMA4_Usable): New macro.
30636 (bit_XMM_state): New macro.
30637 (bit_YMM_state): New macro.
30638 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
30639 [__ASSEMBLER__] (index_AVX_Usable): ... this.
30640 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
30641 (CPUID_OSXSAVE): New macro.
30642 (CPUID_AVX): New macro.
30643 (CPUID_FMA4): New macro.
30644 (index_YMM_Usable): Rename to...
30645 (index_AVX_Usable): ... this.
30646 (HAS_AVX): Use HAS_ARCH_FEATURE.
30647 (HAS_FMA4): Likewise.
30648 (HAS_YMM_USABLE): Remove.
30649 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30650 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
30652 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
30653 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
30654 * sysdeps/x86_64/multiarch/Makefile: Likewise.
30655 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
30656 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
30658 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
30660 * math/libm-test.c: Support platforms without multiple rounding modes.
30661 * math/bug-nextafter.c: Support platforms without FP exceptions.
30662 * math/bug-nexttoward.c: Likewise.
30663 * math/test-fenv.c: Likewise.
30664 * math/test-misc.c: Likewise.
30665 * stdlib/bug-getcontext.c: Likewise.
30667 2012-05-17 Andreas Jaeger <aj@suse.de>
30669 * manual/examples/search.c (critter_cmp): Change signature to
30671 * manual/string.texi (Collation Functions): Likewise.
30673 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30675 * bits/types.h: Fold copyright years.
30676 * bits/typesizes.h: Likewise.
30677 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
30678 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
30679 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
30680 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
30681 * time/time.h: Likewise.
30683 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
30686 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
30687 in instead of returning them. Return void.
30688 (__libc_mallinfo): Accumulate over all arenas.
30689 (__malloc_stats): Adjust for change in int_mallinfo interface.
30691 2012-05-16 Roland McGrath <roland@hack.frob.com>
30694 * configure.in (NM): Add AC_CHECK_TOOL for it.
30695 (libc_extra_cflags): New substituted variable.
30696 Check for -fstack-protector being used implicitly.
30697 * configure: Regenerated.
30698 * config.make.in (config-extra-cflags): New variable,
30699 gets @libc_extra_cflags@.
30700 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
30703 * configure.in: Check for _FORTIFY_SOURCE being predefined.
30704 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
30705 * configure: Regenerated.
30706 * config.make.in (CPPUNDEFS): New substituted variable.
30707 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
30708 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
30709 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
30711 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30713 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
30714 (mq_attr): Use __syscall_slong_t.
30716 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30718 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
30719 Check __x86_64__ instead of __WORDSIZE.
30720 (_STAT_VER_LINUX): Likewise.
30721 (stat): Check __x86_64__ instead of __WORDSIZE. Use
30722 __syscall_ulong_t and __syscall_slong_t.
30723 (stat64): Likewise.
30725 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30727 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
30729 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30731 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
30733 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30735 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
30738 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
30739 include <bits/wordsize.h>. Check __x86_64__ instead of
30741 (greg_t): Use "__extension__ long long int" if __x86_64__ is
30743 (mcontext_t): Replace "unsigned long" with "unsigned long long".
30745 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
30746 include <bits/wordsize.h>. Check __x86_64__ instead of
30748 (user_regs_struct): Use "__extension__ unsigned long long"
30749 instead of "unsigned long" if __x86_64__ is defined.
30750 (user): Likewise. Pad after pointer field if __ILP32__ is
30753 2012-05-16 Joseph Myers <joseph@codesourcery.com>
30755 * configure.in (makeinfo): Require version 4.5 or later. Allow
30757 * configure: Regenerated.
30758 * manual/install.texi (texinfo): Increase version requirement to
30760 * INSTALL: Regenerated.
30762 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
30764 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30766 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
30768 * sysdeps/x86_64/x32/ffs.c: New file.
30770 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
30772 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
30773 defined. Use __syscall_ulong_t.
30774 (shminfo): Use __syscall_ulong_t.
30775 (shm_info): Likewise.
30777 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
30780 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
30782 (msgqnum_t): Use __syscall_ulong_t.
30783 (msglen_t): Likewise.
30784 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
30787 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
30788 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
30790 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
30792 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
30793 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
30795 * sysvipc/sys/msg.h (msgbuf): Replace long int with
30798 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
30799 include <bits/wordsize.h>. Check __x86_64__ instead of
30802 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
30803 "unsigned long long int" if __x86_64__ is defined.
30804 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
30806 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
30807 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
30808 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
30810 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
30812 (GET_PC): Cast to uintptr_t first.
30813 (GET_FRAME): Likewise.
30814 (GET_STACK): Likewise.
30816 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
30817 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
30818 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
30819 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
30820 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
30821 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
30822 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
30823 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
30824 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
30825 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
30826 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
30827 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
30828 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
30829 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
30830 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
30831 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
30832 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
30833 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
30834 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
30835 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
30836 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
30837 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
30838 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
30839 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
30840 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
30841 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
30842 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
30843 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
30844 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
30846 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
30848 * Makerules (+depfiles): Also collect depfiles from .oS in
30850 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
30851 .oS, $(libnldbl-routines)).
30853 * Makerules (native-compile-mkdep-flags): Define.
30854 * sunrpc/Makefile (extra-objs): Add $(addprefix
30855 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
30856 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
30857 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
30858 calling $(make-target-directory).
30860 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30862 * bits/types.h (__snseconds_t): Removed.
30863 * time/time.h (struct timespec): Replace __snseconds_t with
30865 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
30866 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
30868 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30869 (__SNSECONDS_T_TYPE): Likewise.
30870 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30871 (__SNSECONDS_T_TYPE): Likewise.
30872 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30873 (__SNSECONDS_T_TYPE): Likewise.
30875 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30877 * sysdeps/mach/hurd/bits/typesizes.h
30878 (__SYSCALL_SLONG_TYPE): New macro.
30879 (__SYSCALL_ULONG_TYPE): Likewise.
30881 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30883 * bits/types.h (__syscall_slong_t): New type.
30884 (__syscall_ulong_t): Likewise.
30886 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
30887 (__SYSCALL_ULONG_TYPE): Likewise.
30888 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30889 (__SYSCALL_SLONG_TYPE): Likewise.
30890 (__SYSCALL_ULONG_TYPE): Likewise.
30891 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30892 (__SYSCALL_SLONG_TYPE): Likewise.
30893 (__SYSCALL_ULONG_TYPE): Likewise.
30894 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30895 (__SYSCALL_SLONG_TYPE): Likewise.
30896 (__SYSCALL_ULONG_TYPE): Likewise.
30898 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30900 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
30901 Add sigaltstack-offsets.sym.
30902 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
30903 <sigaltstack-offsets.h>.
30904 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
30905 longjmp_msg pointer.
30906 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
30907 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
30909 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
30911 2012-05-15 Joseph Myers <joseph@codesourcery.com>
30913 * elf/stackguard-macros.h: Remove file.
30914 * sysdeps/generic/stackguard-macros.h: New file.
30915 * sysdeps/i386/stackguard-macros.h: Likewise.
30916 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
30917 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
30918 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
30919 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
30920 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
30921 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
30922 * sysdeps/x86_64/stackguard-macros.h: Likewise.
30923 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
30924 <elf/stackguard-macros.h>.
30927 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
30928 __aligned__ in attribute.
30929 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
30930 (gregset_t): Likewise.
30932 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30934 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
30935 * sysdeps/x86_64/64/Implies-after: Here. New file.
30936 * sysdeps/x86_64/x32/Implies-after: New file.
30938 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30940 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
30941 and access return value for _dl_profile_fixup. Use R10_LP to
30944 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30946 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
30948 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30950 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
30951 * sysdeps/x86_64/x32/sysdep.h: New file.
30953 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30955 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
30956 * sysdeps/x86_64/setjmp.S: Likewise.
30958 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30960 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
30961 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
30962 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
30963 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
30964 remove unused global constant.
30966 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
30968 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
30969 include of <not-cancel.h>.
30971 2012-05-15 Roland McGrath <roland@hack.frob.com>
30973 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
30975 2012-05-15 Jeff Law <law@redhat.com>
30976 Andreas Jaeger <aj@suse.de>
30979 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
30981 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
30982 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
30983 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
30984 code changing __hst_map_handle.map.
30986 2012-05-15 Roland McGrath <roland@hack.frob.com>
30988 * configure.in (sysnames): Look for Implies-before and Implies-after
30990 * configure: Regenerated.
30992 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30994 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
30995 8-byte data alignment with LP_SIZE alignment.
30997 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30999 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
31002 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31004 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
31006 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31008 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
31009 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
31010 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
31012 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
31014 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31016 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
31017 (stackinfo_sub_sp): Likewise.
31019 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31021 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
31024 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31026 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
31029 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31031 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
31034 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31036 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
31038 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31040 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
31041 into R11_LP and load __x86_64_shared_cache_size_half into
31044 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31046 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
31049 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31051 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
31053 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
31055 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
31057 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
31058 powerpc32/power7/fpu/s_logb.c via #include.
31059 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
31060 powerpc32/power7/fpu/s_logbf.c via #include.
31061 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
31062 powerpc32/power7/fpu/s_logbl.c via #include.
31064 2012-05-15 Joseph Myers <joseph@codesourcery.com>
31066 * README.libm: Remove file.
31068 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31070 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
31071 count for x32. Use R*_LP and omit operand-size suffix.
31073 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31075 * shlib-versions: Move x86_64-.*-linux.* entries to ...
31076 * sysdeps/x86_64/64/shlib-versions: Here. New file.
31077 * sysdeps/x86_64/x32/shlib-versions: New file.
31079 2012-05-14 Roland McGrath <roland@hack.frob.com>
31081 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
31082 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
31083 Use _dl_fatal_printf instead.
31085 2012-05-14 Joseph Myers <joseph@codesourcery.com>
31087 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
31088 set if not set by the user. Do not allow for being unset.
31089 * sysdeps/unix/sysv/linux/configure: Regenerated.
31091 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31093 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
31094 the `q' suffix from lea and replace .quad with ASM_ADDR.
31096 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31098 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
31099 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
31101 (PTR_DEMANGLE): Likewise.
31103 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31105 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
31107 (ASM_ADDR): Likewise.
31108 (RAX_LP): Likewise.
31109 (RBP_LP): Likewise.
31110 (RBX_LP): Likewise.
31111 (RCX_LP): Likewise.
31112 (RDI_LP): Likewise.
31113 (RSI_LP): Likewise.
31114 (RSP_LP): Likewise.
31117 (R10_LP): Likewise.
31118 (R10_LP): Likewise.
31119 (R11_LP): Likewise.
31120 (R12_LP): Likewise.
31121 (R13_LP): Likewise.
31122 (R14_LP): Likewise.
31123 (R15_LP): Likewise.
31125 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31127 * sysdeps/x86_64/x32/dl-machine.h: New file.
31129 2012-05-14 Andreas Jaeger <aj@suse.de>
31131 * manual/Makefile (subdir): Remove export of subdir.
31132 (all): Remove target.
31133 (.PHONY): Remove all from list.
31134 (mkinstalldirs): Remove.
31135 (.PHONY): Remove installdirs from list.
31136 ($(inst_infodir)/libc.info): Use make-target-directory.
31137 (installdirs): Remove.
31138 (subdir_%): Remove.
31139 (glibc-targets): Remove.
31142 ($(objpfx)stubs ../po/manual.pot): Remove.
31143 ($(objpfx)stamp%): Remove.
31144 (make-target-directory): Remove.
31145 (subdir_install): Remove.
31146 (routines): Remove.
31153 * manual/.gitignore: Remove, it's not needed anymore.
31154 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
31156 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
31158 (texis): Renamed to $(objpfx)texis.
31159 (texis-path): New, contains path to generated files.
31160 (chapters.%): Use texis-path for complete path, add extra argument
31162 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
31163 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
31164 (summary,texi, stamp-summary): Use complete path of
31165 files. Generate files in build dir.
31166 (dir-add.texi): Build in build dir.
31167 (libm-err.texi,stamp-libm-err): Likewise.
31168 (version.texi, stamp-version): Likewise.
31169 (.%c.texi): Likewise.
31170 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
31171 (mostlyclean): Remove target.
31172 (realclean): Remove target.
31173 (generated): Add new variable with contents from mostlyclean and
31174 realclean, remove entries duplicated in common-mostlyclean, add
31175 stamp-libm-err and stamp-version.
31176 (generated-dirs): Add libc directory.
31177 ($(inst_infodir)/libc.info): Install files from build dir.
31179 * manual/install.texi (Configuring and compiling): Adjust since
31180 the info files are not part of the tar ball anymore.
31182 2012-05-14 Andreas Jaeger <aj@suse.de>
31184 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
31187 2012-05-14 Joseph Myers <joseph@codesourcery.com>
31190 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
31191 to 2.2.0 where earlier.
31192 * sysdeps/unix/sysv/linux/configure: Regenerated.
31193 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
31194 Remove conditional code.
31195 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
31196 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
31197 Remove conditional code.
31198 [!__NR_lchown]: Likewise.
31199 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
31200 [__NR_lchown]: Likewise.
31201 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
31202 comment referencing __ASSUME_LCHOWN_SYSCALL.
31203 * sysdeps/unix/sysv/linux/i386/sigaction.c
31204 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31205 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31206 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
31207 Remove conditional code.
31208 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
31209 (__protocol_available): Remove #if 0 code.
31210 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
31212 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
31213 * sysdeps/unix/sysv/linux/kernel-features.h
31214 (__ASSUME_GETCWD_SYSCALL): Don't define.
31215 (__ASSUME_REALTIME_SIGNALS): Likewise.
31216 (__ASSUME_PREAD_SYSCALL): Likewise.
31217 (__ASSUME_PWRITE_SYSCALL): Likewise.
31218 (__ASSUME_POLL_SYSCALL): Likewise.
31219 (__ASSUME_LCHOWN_SYSCALL): Likewise.
31220 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
31222 (__ASSUME_SIOCGIFNAME): Don't define.
31223 (__ASSUME_MSG_NOSIGNAL): Likewise.
31224 (__ASSUME_SENDFILE): Define unconditionally.
31225 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
31226 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
31228 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
31229 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
31230 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
31231 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
31232 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
31233 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
31234 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
31235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
31236 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31237 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
31239 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31240 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
31242 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31243 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
31245 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31246 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
31248 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31249 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
31251 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31252 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
31254 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31255 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
31257 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31258 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31259 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
31260 Remove conditional code.
31261 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31262 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
31263 Remove conditional code.
31264 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31265 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
31266 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
31267 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
31268 Remove conditional code.
31269 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31270 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
31271 Remove conditional code.
31272 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31273 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
31274 Remove conditional code.
31275 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31276 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
31277 Remove conditional code.
31278 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31279 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
31280 Remove conditional code.
31281 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31282 * sysdeps/unix/sysv/linux/sh/pwrite64.c
31283 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31284 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31285 * sysdeps/unix/sysv/linux/sigaction.c
31286 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31287 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31288 * sysdeps/unix/sysv/linux/sigpending.c
31289 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31290 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31291 * sysdeps/unix/sysv/linux/sigprocmask.c
31292 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31293 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31294 * sysdeps/unix/sysv/linux/sigsuspend.c
31295 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31296 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31297 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
31298 (__libc_missing_rt_sigs): Remove.
31299 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
31300 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
31301 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
31302 Remove conditional code.
31303 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
31304 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
31306 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
31307 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
31308 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
31309 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
31311 2012-05-14 Andreas Jaeger <aj@suse.de>
31313 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
31314 it's not used in glibc.
31315 (__coshm1): Likewise.
31316 (__acosh1p): Likewise.
31319 * manual/string.texi (Copying and Concatenation): Add missing
31320 variable in concat example.
31321 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
31323 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31326 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
31327 __builtin_clzl with __builtin_clzll.
31329 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31332 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
31335 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31337 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
31338 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
31339 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
31340 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
31342 2012-05-14 Mike Frysinger <vapier@gentoo.org>
31344 * NEWS: Update ia64 info.
31346 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
31348 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
31351 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
31353 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
31354 * sysdeps/unix/syscalls.list (dup3): Likewise.
31355 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
31356 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
31358 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
31360 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
31361 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
31363 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
31365 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
31367 (TLS_IE): Use mov/add instead of movq/addq to load thread
31369 (TLS_GD_PREFIX): New.
31372 2012-05-11 David S. Miller <davem@davemloft.net>
31374 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
31375 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
31376 (_FPU_SETCW): Likewise.
31378 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31380 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
31381 is 32-byte aligned.
31383 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
31386 * iconvdata/gb18030.c: Update tables.
31387 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
31388 characters specially.
31389 (BODY for TO_LOOP): Add encoding of missing ranges.
31391 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
31394 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
31395 * sysdeps/mach/hurd/dup3.c: Likewise.
31396 * sysdeps/mach/hurd/readlinkat.c: Likewise.
31397 * sysdeps/powerpc/memmove.c:: Likewise.
31399 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31401 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
31402 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
31404 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31406 * elf/elf.h (R_X86_64_RELATIVE64): New.
31407 (R_X86_64_NUM): Updated.
31408 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
31409 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
31410 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
31411 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
31412 tst-quad1pie tst-quad2pie
31413 (modules-names): Add tst-quadmod1 tst-quadmod2.
31414 ($(objpfx)tst-quad1): New dependency.
31415 ($(objpfx)tst-quad2): Likewise.
31416 ($(objpfx)tst-quad1pie): Likewise.
31417 ($(objpfx)tst-quad2pie): Likewise.
31418 * sysdeps/x86_64/tst-quad1.c: New file.
31419 * sysdeps/x86_64/tst-quad1pie.c: New file.
31420 * sysdeps/x86_64/tst-quad2.c: Likewise.
31421 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
31422 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
31423 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
31424 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
31425 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
31427 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31429 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
31430 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
31431 * streams/stropts.h (t_scalar_t): Define type.
31433 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
31434 (_PATH_PRESERVE): Set to "/var/lib".
31435 (_PATH_RWHODIR): Set to "/var/spool/rwho".
31437 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
31440 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
31441 if __dir_mkfile succeeded.
31443 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
31444 checking for _hurd_dtablesize. Unlock it right after having
31445 finished _hurd_dtable allocation.
31447 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31449 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
31450 * sysdeps/mach/hurd/configure: Regenerated.
31451 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
31452 special-casing to...
31453 * sysdeps/gnu/configure.in: ... this new file.
31454 * sysdeps/unix/sysv/linux/configure: Regenerated.
31455 * sysdeps/gnu/configure: New generated file.
31457 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
31458 for Linux: use nsec instead of usec, as well as:
31459 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
31460 members of type struct timespec.
31461 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
31463 (struct stat64): Likewise.
31464 (_STATBUF_ST_NSEC): New macro.
31465 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
31467 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
31468 __strtoul_internal rather than strtoul.
31470 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
31472 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
31475 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31477 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
31478 which preserves existing values.
31479 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
31481 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
31483 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
31484 TIMEOUT values. Return EINVAL for NFDS values either negative or
31485 greater than FD_SETSIZE.
31487 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31489 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
31490 allocated, call __vm_protect to finish enabling the existing space, and
31491 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
31492 allocate the remainder.
31494 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
31496 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
31497 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
31499 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31501 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
31502 sysdeps/mach/hurd/readlink.c.
31504 * posix/tst-sysconf.c (posix_options): Only use
31505 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
31506 _POSIX_SYNCHRONIZED_IO when they are defined
31507 * sysdeps/mach/hurd/bits/posix_opt.h:
31508 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
31509 (_XOPEN_REALTIME): Undefine macro.
31510 (_XOPEN_REALTIME_THREADS): Undefine macro.
31511 (_XOPEN_SHM): Undefine macro.
31512 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
31514 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
31516 (_POSIX_ASYNC_IO): Undefine macro.
31517 (_POSIX_PRIORITIZED_IO): Undefine macro.
31518 (_POSIX_SPIN_LOCKS): Define macro to -1.
31520 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
31521 SA_NODEFER, SA_RESETHAND.
31522 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
31523 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
31526 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31528 * elf/Makefile (pldd-modules): Define unconditionally.
31530 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31532 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
31534 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31536 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
31537 Return ENOENT when name is empty.
31538 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
31540 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31542 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
31544 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
31546 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31548 Fix mlock in all cases except non-readable pages.
31549 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
31550 instead of VM_PROT_ALL as parameter to __vm_wire function.
31552 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
31553 (__mkdir): When path is `/', just fail with EEXIST.
31554 * sysdeps/mach/hurd/mkdirat.c: Likewise.
31556 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31558 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
31559 <sys/uio.h> (for writev).
31560 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
31561 and <sys/param.h> (for MIN).
31563 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
31565 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
31566 REQUESTED_TIME. Properly set the remaining time and return EINTR
31569 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31571 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
31572 Depend on against $(link-rpcuserlibs).
31574 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31576 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
31577 (__libc_stack_end): Do not use attribute_relro.
31578 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
31579 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
31580 to libthread-provided value.
31581 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
31584 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31587 * bits/libc-lock.h (__libc_once_get): New macro.
31588 * sysdeps/mach/bits/libc-lock.h: Likewise.
31589 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
31590 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
31591 instead of using implementation details.
31593 * libio/fileops.c: Unconditionally include <kernel-features.h>.
31594 * libio/freopen.c: Likewise.
31595 * libio/freopen64.c: Likewise.
31596 * misc/syslog.c: Likewise.
31597 * nscd/connections.c: Likewise.
31598 * nscd/netgroupcache.c: Likewise.
31599 * sysdeps/posix/getcwd.c: Likewise.
31601 2012-05-10 Roland McGrath <roland@hack.frob.com>
31603 * math/w_ilogbf.c: Add #include <limits.h>.
31605 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31607 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
31608 path instead of returning without unlocking.
31610 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
31611 immediate-write ioctls.
31612 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
31614 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31616 * sysdeps/mach/hurd/i386/init-first.c (init): Use
31617 __builtin_frame_address instead of making assumptions about the
31618 location of the return address relative to DATA. Force early load of
31619 the return address.
31620 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
31621 __builtin_frame_address.
31624 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
31625 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
31626 implement dup3 and do some further code clean-ups.
31627 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
31628 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
31630 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31632 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
31634 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
31635 HURD_CRITICAL_END around holding _hurd_dtable_lock.
31636 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
31637 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
31638 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
31641 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
31642 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
31643 when handler == SIG_ERR, not when handler != SIG_ERR.
31645 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31647 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
31648 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
31651 accept4 for GNU Hurd.
31652 * include/sys/socket.h (__libc_accept4): New prototype.
31653 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
31654 to implement __libc_accept4.
31655 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
31657 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
31659 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
31660 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
31661 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
31662 signal-defines.sym.
31664 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31666 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
31668 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31670 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
31671 assertion on O_CLOEXEC flag.
31672 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
31673 * hurd/intern-fd.c: Likewise.
31674 * hurd/port2fd.c: Likewise.
31676 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31679 * bits/in.h (IPV6_PKTINFO): Define new macro.
31680 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
31682 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31687 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
31688 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
31689 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
31690 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
31691 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31692 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
31693 * math/libm-test.inc (logb_test) : Additional logb tests.
31695 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
31696 Andreas Jaeger <aj@suse.de>
31698 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
31699 * configure: Regenerated.
31700 * config.h.in (LINK_OBSOLETE_RPC): New macro.
31701 * config.make.in (link-obsolete-rpc): New substituted variable.
31702 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
31703 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
31704 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
31705 (shared-only-routines): Don't set it under [link-obsolete-rpc],
31706 so that libc.a contains the symbols.
31707 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
31708 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
31709 * sunrpc/auth_none.c: Likewise.
31710 * sunrpc/auth_unix.c: Likewise.
31711 * sunrpc/authdes_prot.c: Likewise.
31712 * sunrpc/authuxprot.c: Likewise.
31713 * sunrpc/clnt_gen.c: Likewise.
31714 * sunrpc/clnt_perr.c: Likewise.
31715 * sunrpc/clnt_raw.c: Likewise.
31716 * sunrpc/clnt_simp.c: Likewise.
31717 * sunrpc/clnt_tcp.c: Likewise.
31718 * sunrpc/clnt_udp.c: Likewise.
31719 * sunrpc/clnt_unix.c: Likewise.
31720 * sunrpc/des_crypt.c: Likewise.
31721 * sunrpc/des_soft.c: Likewise.
31722 * sunrpc/get_myaddr.c: Likewise.
31723 * sunrpc/key_call.c: Likewise.
31724 * sunrpc/key_prot.c: Likewise.
31725 * sunrpc/netname.c: Likewise.
31726 * sunrpc/pm_getmaps.c: Likewise.
31727 * sunrpc/pm_getport.c: Likewise.
31728 * sunrpc/pmap_clnt.c: Likewise.
31729 * sunrpc/pmap_prot.c: Likewise.
31730 * sunrpc/pmap_prot2.c: Likewise.
31731 * sunrpc/pmap_rmt.c: Likewise.
31732 * sunrpc/publickey.c: Likewise.
31733 * sunrpc/rpc_cmsg.c: Likewise.
31734 * sunrpc/rpc_common.c: Likewise.
31735 * sunrpc/rpc_dtable.c: Likewise.
31736 * sunrpc/rpc_prot.c: Likewise.
31737 * sunrpc/rpc_thread.c: Likewise.
31738 * sunrpc/rtime.c: Likewise.
31739 * sunrpc/svc.c: Likewise.
31740 * sunrpc/svc_auth.c: Likewise.
31741 * sunrpc/svc_raw.c: Likewise.
31742 * sunrpc/svc_run.c: Likewise.
31743 * sunrpc/svc_tcp.c: Likewise.
31744 * sunrpc/svc_udp.c: Likewise.
31745 * sunrpc/svc_unix.c: Likewise.
31746 * sunrpc/svcauth_des.c: Likewise.
31747 * sunrpc/xcrypt.c: Likewise.
31748 * sunrpc/xdr.c: Likewise.
31749 * sunrpc/xdr_array.c: Likewise.
31750 * sunrpc/xdr_float.c: Likewise.
31751 * sunrpc/xdr_intXX_t.c: Likewise.
31752 * sunrpc/xdr_mem.c: Likewise.
31753 * sunrpc/xdr_rec.c: Likewise.
31754 * sunrpc/xdr_ref.c: Likewise.
31755 * sunrpc/xdr_sizeof.c: Likewise.
31756 * sunrpc/xdr_stdio.c: Likewise.
31758 2012-05-10 Roland McGrath <roland@hack.frob.com>
31760 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
31761 change. Update copyright years.
31763 2012-05-10 Joseph Myers <joseph@codesourcery.com>
31765 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
31767 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
31768 Joseph Myers <joseph@codesourcery.com>
31769 Paul Pluzhnikov <ppluzhnikov@google.com>
31772 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
31774 [cross-compiling] (extra-libs): Likewise.
31775 [cross-compiling] (extra-libs-others): Likewise.
31776 [cross-compiling] (librpcsvc-routines): Likewise.
31777 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
31778 [cross-compiling] (omit-deps): Likewise.
31779 (sunrpc-CPPFLAGS): New variable.
31780 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
31781 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
31782 (cross-rpcgen-objs): New variable.
31783 (extra-objs): Append $(cross-rpcgen-objs).
31784 ($(cross-rpcgen-objs)): New rule.
31785 ($(objpfx)cross-rpcgen): Likewise.
31786 (rpcgen-cmd): Define to use $(built-program-file). Expand
31788 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
31789 ($(objpfx)x%.stmp): Likewise.
31790 * sunrpc/proto.h [IS_IN_build] (_): Define.
31791 [IS_IN_build] (_libc_intl_domainname): Likewise.
31793 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31795 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
31796 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
31797 and R_X86_64_TPOFF64.
31799 2012-05-10 Joseph Myers <joseph@codesourcery.com>
31801 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
31802 sysdeps/unix/sysv/syscalls.list.
31805 * sysdeps/unix/sysv/syscalls.list: Remove file.
31807 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
31810 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
31811 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
31812 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
31813 (__LC_IDENTIFICATION): Make these macros useful in #if
31814 expressions, as required by C99.
31816 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
31818 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
31819 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
31822 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
31824 * stdlib/longlong.h: Updated from GCC.
31826 2012-05-09 Andreas Jaeger <aj@suse.de>
31828 * nscd/nscd.c (run_modes): Make named enum, reorder so that
31829 default is first entry.
31830 (run_mode): Set type.
31831 (main): Remove informal message about syslog.
31832 (options): Fix typo.
31835 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
31838 (llrintf): Likewise.
31839 (llrint): Likewise.
31842 (nearbyint): Likewise.
31843 (nearbyintf): Likewise.
31845 2012-05-09 Andreas Jaeger <aj@suse.de>
31846 Pedro Alves <palves@redhat.com>
31848 * nscd/nscd.c (run_mode): Use enum.
31849 (main): Cleanup coding style issue.
31851 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
31852 Andreas Jaeger <aj@suse.de>
31854 * nscd/nscd.c (go_background): Replaced with...
31855 (run_mode): ... this.
31856 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
31857 (options): Add -F --foreground.
31858 (main): Implement it.
31859 (parse_opt): Parse it.
31861 2012-05-09 Andreas Jaeger <aj@suse.de>
31864 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
31865 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
31866 -Wconversion warning.
31867 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
31870 2012-05-09 Joseph Myers <joseph@codesourcery.com>
31872 * conform/data/locale.h-data (NULL): Use macro-constant. Require
31874 (LC_ALL): Use macro-int-constant.
31875 (LC_COLLATE): Likewise.
31876 (LC_CTYPE): Likewise.
31877 (LC_MESSAGES): Likewise.
31878 (LC_MONETARY): Likewise.
31879 (LC_NUMERIC): Likewise.
31880 (LC_TIME): Likewise.
31881 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
31882 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
31883 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31884 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
31886 [C99-based standards] (float_t): Expect type.
31887 [C99-based standards] (double_t): Expect type.
31888 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
31890 [C99-based standards] (HUGE_VALL): Likewise.
31891 [C99-based standards] (INFINITY): Likewise.
31892 [C99-based standards] (NAN): Likewise.
31893 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
31894 [C99-based standards] (FP_NAN): Likewise.
31895 [C99-based standards] (FP_NORMAL): Likewise.
31896 [C99-based standards] (FP_SUBNORMAL): Likewise.
31897 [C99-based standards] (FP_ZERO): Likewise.
31898 [C99-based standards] (FP_FAST_FMA): Use
31899 optional-macro-int-constant. Specify type. Require == 1.
31900 [C99-based standards] (FP_FAST_FMAF): Likewise.
31901 [C99-based standards] (FP_FAST_FMAL): Likewise.
31902 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
31903 [C99-based standards] (FP_ILOGBNAN): Likewise.
31904 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
31906 [C99-based standards] (MATH_ERREXCEPT): Likewise.
31907 [C99-based standards] (math_errhandling): Specify type.
31908 [ISO99 || ISO11] (signgam): Do not allow.
31909 [non-C99-based standards] (copysignf): Do not allow.
31910 [non-C99-based standards] (exp2f): Likewise.
31911 [non-C99-based standards] (log2f): Likewise.
31912 [non-C99-based standards] (modff): Allow.
31913 [non-C99-based standards] (erff): Do not allow.
31914 [non-C99-based standards] (erfcf): Likewise.
31915 [non-C99-based standards] (gammaf): Likewise.
31916 [non-C99-based standards] (hypotf): Likewise.
31917 [non-C99-based standards] (j0f): Likewise.
31918 [non-C99-based standards] (j1f): Likewise.
31919 [non-C99-based standards] (jnf): Likewise.
31920 [non-C99-based standards] (lgammaf): Likewise.
31921 [non-C99-based standards] (tgammaf): Likewise.
31922 [non-C99-based standards] (y0f): Likewise.
31923 [non-C99-based standards] (y1f): Likewise.
31924 [non-C99-based standards] (ynf): Likewise.
31925 [non-C99-based standards] (isnanf): Likewise.
31926 [non-C99-based standards] (acoshf): Likewise.
31927 [non-C99-based standards] (asinhf): Likewise.
31928 [non-C99-based standards] (atanhf): Likewise.
31929 [non-C99-based standards] (cbrtf): Likewise.
31930 [non-C99-based standards] (expm1f): Likewise.
31931 [non-C99-based standards] (ilogbf): Likewise.
31932 [non-C99-based standards] (log1pf): Likewise.
31933 [non-C99-based standards] (logbf): Likewise.
31934 [non-C99-based standards] (nextafterf): Likewise.
31935 [non-C99-based standards] (remainderf): Likewise.
31936 [non-C99-based standards] (rintf): Likewise.
31937 [non-C99-based standards] (scalbf): Likewise.
31938 [non-C99-based standards] (copysignl): Likewise.
31939 [non-C99-based standards] (exp2l): Likewise.
31940 [non-C99-based standards] (log2l): Likewise.
31941 [non-C99-based standards] (modfl): Allow.
31942 [non-C99-based standards] (erfl): Do not allow.
31943 [non-C99-based standards] (erfcl): Likewise.
31944 [non-C99-based standards] (gammal): Likewise.
31945 [non-C99-based standards] (hypotl): Likewise.
31946 [non-C99-based standards] (j0l): Likewise.
31947 [non-C99-based standards] (j1l): Likewise.
31948 [non-C99-based standards] (jnl): Likewise.
31949 [non-C99-based standards] (lgammal): Likewise.
31950 [non-C99-based standards] (tgammal): Likewise.
31951 [non-C99-based standards] (y0l): Likewise.
31952 [non-C99-based standards] (y1l): Likewise.
31953 [non-C99-based standards] (ynl): Likewise.
31954 [non-C99-based standards] (isnanl): Likewise.
31955 [non-C99-based standards] (acoshl): Likewise.
31956 [non-C99-based standards] (asinhl): Likewise.
31957 [non-C99-based standards] (atanhl): Likewise.
31958 [non-C99-based standards] (cbrtl): Likewise.
31959 [non-C99-based standards] (expm1l): Likewise.
31960 [non-C99-based standards] (ilogbl): Likewise.
31961 [non-C99-based standards] (log1pl): Likewise.
31962 [non-C99-based standards] (logbl): Likewise.
31963 [non-C99-based standards] (nextafterl): Likewise.
31964 [non-C99-based standards] (remainderl): Likewise.
31965 [non-C99-based standards] (rintl): Likewise.
31966 [non-C99-based standards] (scalbl): Likewise.
31967 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31968 [non-C99-based standards] (FP_*): Do not allow.
31969 [C99-based standards] (FP_*): Change to
31970 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
31971 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
31973 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
31974 (SIG_ERR): Likewise.
31975 [X/Open-based standards] (SIG_HOLD): Likewise.
31976 (SIG_IGN): Likewise.
31977 (SIGABRT): Use macro-int-constant. Specify type. Require
31979 (SIGFPE): Likewise.
31980 (SIGILL): Likewise.
31981 (SIGINT): Likewise.
31982 (SIGSEGV): Likewise.
31983 (SIGTER): Likewise.
31984 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
31985 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
31986 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
31987 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
31988 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
31989 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
31990 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
31991 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
31992 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
31993 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
31994 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
31995 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
31996 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
31997 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
31998 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
31999 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
32000 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
32001 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
32002 [X/Open-based standards] (SIGTRAP): Likewise.
32003 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
32004 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
32005 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
32006 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
32007 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
32010 2012-05-08 Ian Wienand <ianw@vmware.com>
32013 * time/tzset.c (__tzset_parse_tz): Update default rules for
32014 daylight time changes in the Energy Policy Act of 2005.
32016 2012-05-09 Andreas Jaeger <aj@suse.de>
32019 * elf/ldconfig.c (parse_conf): Change string to make clear that
32020 ldconfig only issued a warning if ld.so.conf does not exist.
32022 2012-05-08 David S. Miller <davem@davemloft.net>
32024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
32025 movxtod instead of popping the value on the stack.
32027 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32029 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
32031 * config.h.in: Add HAVE_ARM_PCS_VFP.
32033 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
32036 * include/features.h: Warn if user requests __FORTIFY_SOURCE
32037 checking but the checks are disabled for any reason.
32039 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
32041 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
32042 and ELF64_R_TYPE with ELFW(R_TYPE).
32044 2012-05-08 Joseph Myers <joseph@codesourcery.com>
32046 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
32047 (ulimit): Likewise.
32049 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
32050 (settimeofday): Likewise.
32052 2012-05-08 Mike Frysinger <vapier@gentoo.org>
32054 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
32055 a struct th_u2 inside the union, and move tu_block/tu_code into
32056 a new th_u3 union of tu_block/tu_code inside of that. Move
32057 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
32058 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
32059 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
32060 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
32061 (th_stuff): Change to th_u1.tu_stuff.
32063 (th_msg): Change to th_u1.th_u2.tu_data.
32065 2012-05-07 David S. Miller <davem@davemloft.net>
32067 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32070 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
32071 (SETUP_PIC_REG): Use it.
32072 (SETUP_PIC_REG_LEAF): Use it.
32074 2012-05-07 Joseph Myers <joseph@codesourcery.com>
32078 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
32080 (EXPL_FINITE): Likewise.
32081 (FLDLOG): Likewise.
32082 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
32083 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
32085 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
32087 (EXPL_FINITE): Likewise.
32088 (FLDLOG): Likewise.
32089 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
32090 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
32092 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
32093 test of -max_value argument for long double.
32094 * sysdeps/i386/fpu/libm-test-ulps: Update.
32095 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32097 2012-05-06 David S. Miller <davem@davemloft.net>
32099 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
32100 quad soft-float symbols whose references which are compiler
32102 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
32104 2012-05-06 Joseph Myers <joseph@codesourcery.com>
32108 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
32110 (EXPL_FINITE): Likewise.
32111 (FLDLOG): Likewise.
32114 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
32115 Adjust comments for base varying.
32116 (__expl_finite): Change alias to EXPL_FINITE.
32117 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
32119 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
32120 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
32121 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
32122 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
32123 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
32125 (EXPL_FINITE): Likewise.
32126 (FLDLOG): Likewise.
32129 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
32130 Adjust comments for base varying.
32131 (__expl_finite): Change alias to EXPL_FINITE.
32132 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
32134 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32137 * math/libm-test.inc (check_float_internal): Correct ulp
32138 calculation for subnormal expected results.
32140 2012-05-06 Andreas Jaeger <aj@suse.de>
32142 * Makeconfig (+math-flags): New, set to -frounding-math.
32143 (+cflags): Add +math-flags so that all of glibc gets compiled with
32146 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
32148 2012-05-05 Joseph Myers <joseph@codesourcery.com>
32150 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
32156 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
32157 (__ieee754_expl): Allow for and saturate large arguments.
32158 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
32159 (u_threshold): Likewise.
32160 (__exp): Call __ieee754_exp before checking for overflow and
32162 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
32163 (u_threshold): Likewise.
32164 (__expf): Call __ieee754_expf before checking for overflow and
32166 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
32167 (u_threshold): Likewise.
32168 (__expl): Call __ieee754_expl before checking for overflow and
32170 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
32171 (__ieee754_expl): Allow for and saturate large arguments.
32172 * math/libm-test.inc (exp_test): Add another test. Do not allow
32173 missing overflow exception on overflow.
32174 (expm1_test): Do not allow missing overflow exception on overflow.
32176 * sysdeps/i386/fpu/e_expl.c: Move to ...
32177 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
32178 rather than using inline asm.
32179 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
32180 * sysdeps/x86_64/fpu/e_expl.S: Copy from
32181 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
32183 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
32186 (signal): Likewise.
32190 2012-05-04 Joseph Myers <joseph@codesourcery.com>
32192 * sysdeps/unix/syscalls.list (adjtime): Add entry from
32193 sysdeps/unix/common/syscalls.list.
32194 (fchmod): Likewise.
32195 (fchown): Likewise.
32196 (ftruncate): Likewise.
32197 (getrusage): Likewise.
32198 (gettimeofday): Likewise.
32199 (setpgid): Likewise.
32200 (setregid): Likewise.
32201 (setreuid): Likewise.
32202 (sigaction): Likewise.
32203 (truncate): Likewise.
32204 (vhangup): Likewise.
32205 * sysdeps/unix/common/syscalls.list: Remove file.
32206 * sysdeps/unix/bsd/Implies: Don't include unix/common.
32207 * sysdeps/unix/sysv/linux/Implies: Likewise.
32209 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
32211 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
32212 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
32213 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
32215 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
32217 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
32219 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
32220 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
32222 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
32223 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
32225 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
32226 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
32228 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
32229 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
32231 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
32232 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
32234 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
32235 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
32237 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
32239 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
32241 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
32243 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
32245 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
32246 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
32248 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
32250 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
32252 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
32254 2012-05-04 Joseph Myers <joseph@codesourcery.com>
32256 * sysdeps/unix/common/bits/dirent.h: Remove file.
32257 * sysdeps/unix/common/bits/fcntl.h: Likewise.
32259 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
32260 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
32261 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
32262 * sysdeps/unix/bsd/isatty.c: Likewise.
32263 * sysdeps/unix/bsd/tcdrain.c: Likewise.
32264 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
32265 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
32267 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32270 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
32271 long double comparison inaccuracies.
32272 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
32273 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32275 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
32277 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
32278 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
32280 2012-05-04 Joseph Myers <joseph@codesourcery.com>
32283 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
32284 nonzero digits before rounding a hex value.
32285 * stdlib/tst-strtod.c (tests): Add another test.
32287 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32289 * sysdeps/s390/fpu/libm-test-ulps: Update.
32291 2012-05-03 Andreas Jaeger <aj@suse.de>
32293 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
32294 does not get optimized out.
32295 (malloc_opt_barrier): New.
32297 2012-05-03 Andreas Jaeger <aj@suse.de>
32298 Roland McGrath <roland@hack.frob.com>
32300 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
32301 intermediate file deletion.
32302 (generated): Add .symlist files.
32304 2012-05-03 Joseph Myers <joseph@codesourcery.com>
32307 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
32308 Redirect under this condition.
32309 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
32310 [__USE_GNU] (__dprintf_chk): Not under this condition.
32311 [__USE_GNU] (__vdprintf_chk): Likewise.
32312 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
32313 under this condition.
32314 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
32315 [__USE_XOPEN2K8] (dprintf): Define under this condition.
32316 [__USE_XOPEN2K8] (vdprintf): Likewise.
32317 [__USE_GNU] (__dprintf_chk): Not under this condition.
32318 [__USE_GNU] (__vdprintf_chk): Likewise.
32319 [__USE_GNU] (dprintf): Likewise.
32320 [__USE_GNU] (vdprintf): Likewise.
32322 2012-05-03 Roland McGrath <roland@hack.frob.com>
32324 * elf/Makefile (common-generated): Set this instead of generated for
32325 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
32326 $(all-built-dso)-derived lists.
32328 2012-05-03 Andreas Jaeger <aj@suse.de>
32330 * sysdeps/i386/fpu/libm-test-ulps: Update.
32333 * FAQ.in: Likewise.
32334 * scripts/gen-FAQ.pl: Likewise.
32335 * manual/install.texi (Installation): Point to online location of
32337 * Makefile (files-for-dist): Remove FAQ.
32340 2012-05-02 Allan McRae <allan@archlinux.org>
32342 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
32343 (LDFLAGS-reldepmod5.so): Likewise.
32344 (LDFLAGS-reldep6mod1.so): Likewise.
32345 (LDFLAGS-reldep6mod4.so): Likewise.
32346 (LDFLAGS-reldep8mod3.so): Likewise.
32347 (LDFLAGS-unload4mod1.so): Likewise.
32348 (LDFLAGS-unload4mod2.so): Likewise.
32349 (LDFLAGS-tst-initorder): Likewise.
32350 (LDFLAGS-tst-initordera2.so): Likewise.
32351 (LDFLAGS-tst-initordera3.so): Likewise.
32352 (LDFLAGS-tst-initordera4.so): Likewise.
32353 (LDFLAGS-tst-initorderb2.so): Likewise.
32354 (LDFLAGS-noload): Likewise.
32355 (LDFLAGS-next): Likewise.
32356 (LDFLAGS-order2mod1.so): Likewise.
32357 (LDFLAGS-order2mod2.so): Likewise.
32358 (LDFLAGS-tst-initorder2): Likewise.
32359 (LDFLAGS-tst-initorder2a.so): Likewise.
32360 (LDFLAGS-tst-initorder2b.so): Likewise.
32361 (LDFLAGS-tst-initorder2c.so): Likewise.
32362 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
32364 2012-05-02 David S. Miller <davem@davemloft.net>
32366 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32368 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
32371 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
32373 2012-05-02 Andreas Jaeger <aj@suse.de>
32375 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
32376 since we manipulate rounding mode.
32377 (CPPFLAGS-test-idouble.c): Likewise.
32378 (CPPFLAGS-test-ifloat.c): Likewise.
32379 (CFLAGS-test-ldouble.c): Likewise.
32380 (CFLAGS-test-double.c): Likewise.
32381 (CFLAGS-test-float.c): Likewise.
32382 (CFLAGS-test-misc.c): Likewise.
32383 (CFLAGS-test-test-fenv.c): Likewise.
32385 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32389 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
32390 comparisons to determine direction to adjust input.
32392 2012-05-01 Roland McGrath <roland@hack.frob.com>
32394 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
32395 output to the target.
32397 * scripts/localplt.awk: New file.
32398 * elf/Makefile ($(objpfx)check-localplt): Target removed.
32399 (check-localplt-CFLAGS): Variable removed.
32400 ($(all-built-dso:=.jmprel)): New static pattern rule.
32401 (generated): Add those targets.
32402 (localplt-built-dso): New variable.
32403 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
32405 * elf/check-localplt.c: File removed.
32407 * scripts/check-execstack.awk: New file.
32408 * elf/Makefile ($(objpfx)check-execstack): Target removed.
32409 (check-execstack-CFLAGS): Variable removed.
32410 ($(objpfx)check-execstack.h): Target removed.
32411 ($(objpfx)execstack-default): New target.
32412 (generated): Add that instead of check-execstack.h.
32413 ($(all-built-dso:=.phdr)): New static pattern rule.
32414 (generated): Add those targets.
32415 * elf/check-execstack.c: File removed.
32417 * scripts/check-textrel.awk: New file.
32418 * elf/Makefile ($(objpfx)check-textrel): Target removed.
32419 (check-textrel-CFLAGS): Variable removed.
32420 (all-built-dso): Use := to define.o
32421 ($(all-built-dso:=.dyn)): New static pattern rule.
32422 (generated): Add those targets.
32423 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
32424 * config.make.in (READELF): New substituted variable.
32425 * elf/check-textrel.c: File removed.
32427 2012-05-01 Joseph Myers <joseph@codesourcery.com>
32429 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
32431 * conform/data/ctype.h-data [C99-based standards] (isblank):
32433 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
32434 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
32435 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32436 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
32437 Specify type. Require positive value.
32438 (EILSEQ): Likewise.
32439 (ERANGE): Likewise.
32440 [ISO || POSIX] (EILSEQ): Do not expect.
32441 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
32442 Specify type. Require positive value.
32443 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
32444 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
32445 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
32446 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
32447 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
32448 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
32449 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
32450 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
32451 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
32452 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
32453 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
32454 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
32455 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
32456 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
32457 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
32458 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
32459 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
32460 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
32461 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
32462 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
32463 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
32464 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
32465 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
32466 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
32467 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
32468 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
32469 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
32470 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
32471 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
32472 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
32473 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
32474 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
32475 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
32476 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
32477 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
32478 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
32479 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
32480 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
32481 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
32482 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
32483 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
32484 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
32485 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
32486 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
32487 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
32488 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
32489 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
32490 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
32491 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
32492 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
32493 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
32494 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
32495 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
32496 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
32497 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
32498 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
32499 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
32500 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
32501 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
32502 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
32503 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
32504 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
32505 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
32506 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
32507 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
32508 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
32509 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
32510 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
32511 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
32512 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
32513 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
32514 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
32515 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
32516 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
32517 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
32518 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
32519 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
32521 (FLT_ROUNDS): Expect as macro, not constant.
32522 (FLT_MANT_DIG): Use macro-int-constant.
32523 (DBL_MANT_DIG): Likewise.
32524 (LDBL_MANT_DIG): Likewise.
32525 (FLT_DIG): Likewise.
32526 (DBL_DIG): Likewise.
32527 (LDBL_DIG): Likewise.
32528 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
32529 (DBL_MIN_EXP): Likewise.
32530 (LDBL_MIN_EXP): Likewise.
32531 (FLT_MAX_EXP): Use macro-int-constant.
32532 (DBL_MAX_EXP): Likewise.
32533 (LDBL_MAX_EXP): Likewise.
32534 (FLT_MAX_10_EXP): Likewise.
32535 (DBL_MAX_10_EXP): Likewise.
32536 (LDBL_MAX_10_EXP): Likewise.
32537 (FLT_MAX): Use macro-constant.
32538 (DBL_MAX): Likewise.
32539 (LDBL_MAX): Likewise.
32540 (FLT_EPSILON): Use macro-constant. Give upper bound.
32541 (DBL_EPSILON): Likewise.
32542 (LDBL_EPSILON): Likewise.
32543 (FLT_MIN): Likewise.
32544 (DBL_MIN): Likewise.
32545 (LDBL_MIN): Likewise.
32546 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
32547 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
32548 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
32549 [ISO11] (FLT_HAS_SUBNORM): Likewise.
32550 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
32551 [ISO11] (DBL_DECIMAL_DIG): Likewise.
32552 [ISO11] (FLT_DECIMAL_DIG): Likewise.
32553 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
32554 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
32555 [ISO11] (FLT_TRUE_MIN): Likewise.
32556 [ISO11] (LDBL_TRUE_MIN): Likewise.
32557 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32558 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
32559 (SCHAR_MIN): Use macro-int-constant. Specify type.
32560 (SCHAR_MAX): Likewise.
32561 (UCHAR_MAX): Likewise.
32562 (CHAR_MIN): Likewise.
32563 (CHAR_MAX): Likewise.
32564 (MB_LEN_MAX): Use macro-int-constant.
32565 (SHRT_MIN): Use macro-int-constant. Specify type.
32566 (SHRT_MAX): Likewise.
32567 (USHRT_MAX): Likewise.
32568 (INT_MAX): Likewise.
32569 (INT_MIN): Use macro-int-constant. Specify type. Make upper
32571 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
32573 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
32575 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
32576 bound negative. Suffix upper bound with "L".
32577 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
32579 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
32581 [C99-based standards] (LLONG_MAX): Likewise.
32582 [C99-based standards] (ULLONG_MAX): Likewise.
32583 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
32585 [ISO11] (max_align_t): Require type.
32586 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32588 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
32589 from $CFLAGS, without defining away __attribute__ calls.
32590 (checknamespace): Use $CFLAGS_namespace.
32592 * conform/conformtest.pl (@keywords): Only include C99 keywords
32593 for standards based on C99 or C11.
32595 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
32597 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
32600 * conform/conformtest.pl: Handle "macro-int-constant" and test for
32601 usability of symbols in #if.
32603 * conform/conformtest.pl: If macro or constant types start
32604 "promoted:", expect the symbol to be of the following type
32605 promoted by the integer promotions.
32607 * conform/conformtest.pl: Parse all "constant" and "macro" lines
32608 in one place. Also handle "macro-constant".
32610 * conform/conformtest.pl: Only accept expected macro values with
32611 "==". Parse all "macro" lines in one place.
32612 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
32614 * conform/conformtest.pl: Handle braced types on "constant" lines
32615 instead of handling "typed-constant".
32616 * conform/data/signal.h-data: Use "constant" instead of
32619 * conform/conformtest.pl: Handle "optional-" at start of lines in
32620 one place rather than duplicating several cases. Handle each
32621 format of "macro" line with initial "optional-".
32623 * conform/conformtest.pl: Only accept expected constant or
32624 optional-constant values with "==". Parse all "constant" lines in
32625 one place. Parse all "optional-constant" lines in one place.
32626 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
32627 * conform/data/fmtmsg.h-data: Likewise.
32628 * conform/data/netinet/in.h-data: Likewise.
32629 * conform/data/tar.h-data: Likewise.
32630 * conform/data/limits.h-data: Use "==" form on "constant" and
32631 "optional-constant" lines.
32633 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
32634 Use -std=c99 for XOPEN2K.
32635 (@knownproblems): Remove.
32636 (newtoken): Don't check %isknown.
32638 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
32639 Do not expect macro.
32640 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
32641 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
32642 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
32643 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
32644 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
32645 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
32646 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
32647 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
32648 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
32649 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
32650 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
32651 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
32652 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
32653 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
32654 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
32655 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
32656 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
32657 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
32658 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
32659 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
32660 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
32661 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
32662 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
32663 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
32664 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
32665 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
32666 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
32667 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
32668 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
32669 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
32670 [XPG3] (acosh): Likewise.
32671 [XPG3] (asinh): Likewise.
32672 [XPG3] (atanh): Likewise.
32673 [XPG3] (cbrt): Likewise.
32674 [XPG3] (expm1): Likewise.
32675 [XPG3] (ilogb): Likewise.
32676 [XPG3] (log1p): Likewise.
32677 [XPG3] (logb): Likewise.
32678 [XPG3] (nextafter): Likewise.
32679 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
32680 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
32681 [XPG3] (remainder): Likewise.
32682 [XPG3] (rint): Likewise.
32683 [XPG3 || XPG4 || UNIX98] (round): Likewise.
32684 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
32685 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
32686 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
32687 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
32688 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
32689 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
32690 [UNIX98 || XOPEN2K] (scalb): Expect.
32691 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
32692 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
32693 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
32694 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
32695 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
32696 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
32697 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
32698 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
32699 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
32700 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
32701 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
32702 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
32703 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
32704 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
32705 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
32706 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
32707 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
32708 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
32709 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
32710 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
32711 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
32712 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
32713 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
32714 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
32715 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
32716 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
32717 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
32718 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
32719 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
32720 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
32721 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
32722 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
32723 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
32724 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
32725 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
32726 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
32727 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
32728 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
32729 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
32730 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
32731 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
32732 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
32733 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
32734 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
32735 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
32736 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
32737 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
32738 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
32739 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
32740 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
32741 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
32742 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
32743 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
32744 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
32745 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
32746 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
32747 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
32748 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
32749 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
32750 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
32751 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
32752 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
32753 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
32754 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
32755 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
32756 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
32757 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
32758 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
32759 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
32760 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
32761 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
32762 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
32763 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
32764 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
32765 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
32766 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
32767 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
32768 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
32769 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
32770 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
32771 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
32772 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
32773 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
32774 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
32775 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
32776 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
32777 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
32778 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
32779 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
32780 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
32781 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
32782 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
32783 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
32784 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
32785 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
32786 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
32787 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
32788 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
32789 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
32790 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
32791 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
32792 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
32793 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
32794 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
32795 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
32796 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
32797 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
32798 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
32799 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
32800 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
32801 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
32802 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
32803 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
32804 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
32805 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
32806 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
32807 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
32808 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
32809 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
32810 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
32811 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
32812 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
32813 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
32814 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
32815 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
32816 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
32817 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
32818 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
32819 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
32820 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
32821 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
32822 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
32823 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
32824 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
32825 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
32826 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
32827 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
32829 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
32830 _XOPEN_SOURCE_EXTENDED for XPG4.
32832 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
32834 * Makeconfig (localtime): Remove variable.
32835 (inst_localtime-file): Likewise.
32837 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
32839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
32841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
32845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
32847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
32849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
32851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
32855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32858 2012-05-01 Joseph Myers <joseph@codesourcery.com>
32862 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
32863 comparisons to determine direction to adjust input.
32864 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
32865 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
32866 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
32868 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
32870 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
32872 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
32873 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
32875 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
32877 * math/libm-test.inc (nexttoward_test): Add more tests.
32879 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
32882 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
32883 in version GLIBC_2.1, not GLIBC_2.0.
32884 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
32887 2012-04-30 Joseph Myers <joseph@codesourcery.com>
32890 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
32892 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
32893 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
32894 * math/libm-test.inc (acos_test): Add more tests.
32895 (asin_test): Likewise.
32896 * sysdeps/i386/fpu/libm-test-ulps: Update.
32897 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32900 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
32902 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
32903 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
32904 * math/libm-test.inc (acos_test_tonearest): New function.
32905 (acos_test_towardzero): Likewise.
32906 (acos_test_downward): Likewise.
32907 (acos_test_upward): Likewise.
32908 (asin_test_tonearest): Likewise.
32909 (asin_test_towardzero): Likewise.
32910 (asin_test_downward): Likewise.
32911 (asin_test_upward): Likewise.
32912 (main): Call the new functions.
32913 * sysdeps/i386/fpu/libm-test-ulps: Update.
32914 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32918 * math/e_exp10.c: Include <float.h>.
32919 (__ieee754_exp10): Handle underflow here rather than multiplying
32920 large negative argument by M_LN10.
32921 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
32923 * math/e_exp10l.c: Include <float.h>.
32924 (__ieee754_exp10l): Handle underflow here rather than multiplying
32925 large negative argument by M_LN10l.
32926 * math/libm-test.inc (exp10_test): Add another test. Do not allow
32927 spurious overflow exception on underflow.
32929 2012-04-29 Marek Polacek <polacek@redhat.com>
32931 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
32932 (__fortify_function): New macro.
32933 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
32934 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
32935 __extern_always_inline.
32936 * libio/bits/stdio2.h: Likewise.
32937 * libio/bits/stdio.h: Likewise.
32938 * string/string.h: Likewise.
32939 * string/bits/string3.h: Likewise.
32940 * include/stdio.h: Likewise.
32941 * stdlib/bits/stdlib.h: Likewise.
32942 * stdlib/stdlib.h: Likewise.
32943 * rt/bits/mqueue2.h: Likewise.
32944 * rt/mqueue.h: Likewise.
32945 * posix/bits/unistd.h: Likewise.
32946 * posix/unistd.h: Likewise.
32947 * io/bits/poll2.h: Likewise.
32948 * io/bits/fcntl2.h: Likewise.
32949 * io/fcntl.h: Likewise.
32950 * io/sys/poll.h: Likewise.
32951 * misc/bits/syslog.h: Likewise.
32952 * misc/bits/syslog-ldbl.h: Likewise.
32953 * misc/sys/syslog.h: Likewise.
32954 * socket/bits/socket2.h: Likewise.
32955 * socket/sys/socket.h: Likewise.
32956 * debug/tst-chk1.c: Likewise.
32957 * wcsmbs/bits/wchar2.h: Likewise.
32958 * wcsmbs/bits/wchar-ldbl.h: Likewise.
32959 * wcsmbs/wchar.h: Likewise.
32961 2012-04-29 Andreas Jaeger <aj@suse.de>
32963 * Makerules (tests): Remove enable-check-abi protection.
32964 (check-abi-warn): Remove.
32965 (check-abi-%): Remove check-abi-warn usage.
32967 * configure.in: Remove check-abi configure option.
32968 * configure: Regenerated.
32969 * config.make.in (enable-check-abi): Remove.
32971 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
32974 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
32975 double functions to double *_finite functions.
32978 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
32979 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
32981 * stdio-common/Makefile (tests): Add tst-sprintf3.
32982 * stdio-common/tst-sprintf3.c: New file.
32984 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
32985 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
32987 2012-04-28 Joseph Myers <joseph@codesourcery.com>
32989 * conform/conformtest.pl: Remove duplicate typed-constant
32992 2012-04-28 David S. Miller <davem@davemloft.net>
32994 * Makerules (%.abilist): Add vpath on sysdep_dirs.
32995 (check-abi-%): Remove AWK script prerequisite and explicit
32997 (check-abi): Rewrite to just diff the symlist with the abilist.
32998 (config-tls, config-abi-config): Delete, no longer used.
32999 (update-abi-%): Remove AWK script and explicit abilist directory.
33000 (update-abi): Rewrite to simply compare and conditionally copy the
33001 symlist and the sysdep abilist file. Remove update-abi-config
33003 * abilist/ld.abilist: Remove.
33004 * abilist/libBrokenLocale.abilist: Remove.
33005 * abilist/libanl.abilist: Remove.
33006 * abilist/libcrypt.abilist: Remove.
33007 * abilist/libdl.abilist: Remove.
33008 * abilist/librt.abilist: Remove.
33009 * abilist/libthread_db.abilist: Remove.
33010 * abilist/libutil.abilist: Remove.
33011 * scripts/extract-abilist.awk: Remove.
33012 * scripts/merge-abilist.awk: Remove.
33013 * sysdeps/generic/libcidn.abilist: New file.
33014 * sysdeps/generic/libnss_compat.abilist: New file.
33015 * sysdeps/generic/libnss_db.abilist: New file.
33016 * sysdeps/generic/libnss_dns.abilist: New file.
33017 * sysdeps/generic/libnss_files.abilist: New file.
33018 * sysdeps/generic/libnss_hesiod.abilist: New file.
33019 * sysdeps/generic/libnss_nis.abilist: New file.
33020 * sysdeps/generic/libnss_nisplus.abilist: New file.
33021 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
33022 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
33023 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
33025 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
33026 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
33027 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
33028 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
33029 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
33030 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
33031 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
33032 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
33033 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
33035 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
33036 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
33037 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
33038 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
33040 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
33041 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
33042 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
33043 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
33044 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
33045 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
33047 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
33048 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
33049 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
33051 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
33052 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
33054 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
33056 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
33058 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
33060 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
33062 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
33064 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
33066 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
33068 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
33070 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
33072 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
33074 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
33076 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
33078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
33080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
33082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
33084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
33086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
33088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
33090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
33092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
33094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
33096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
33098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
33100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
33102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
33104 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
33105 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
33107 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
33109 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
33111 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
33113 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
33115 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
33117 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
33119 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33121 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
33123 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
33125 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
33127 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
33129 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
33130 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
33132 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
33134 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
33136 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
33138 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
33140 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
33142 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
33144 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33146 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
33148 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
33150 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
33152 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
33154 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
33155 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
33156 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
33158 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
33159 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
33160 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
33161 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
33162 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
33163 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
33164 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
33165 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
33166 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
33167 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
33168 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
33169 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
33171 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
33173 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
33175 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
33177 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
33179 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
33181 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
33183 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
33185 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
33187 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
33189 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
33191 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
33193 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
33194 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
33196 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
33198 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
33200 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
33202 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
33204 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
33206 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
33208 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
33210 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
33212 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
33214 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
33216 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
33219 2012-04-28 Joseph Myers <joseph@codesourcery.com>
33221 * conform/conformtest.pl: Fix typo in handling typed-constant from
33224 2012-04-27 Joseph Myers <joseph@codesourcery.com>
33226 * README: Cut down references to pre-2.6 Linux kernels and
33227 Linuxthreads. Update lists of configurations in libc and ports
33228 and sort alphabetically. Say "or newer" with Linux kernel version
33231 * config.h.in [IS_IN_build]: Allow compiling without optimization.
33233 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33236 * math/libm-test.inc (logb_test_downward): New test to expose
33237 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
33240 2012-04-27 Joseph Myers <joseph@codesourcery.com>
33243 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
33245 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
33246 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
33248 2012-04-26 Joseph Myers <joseph@codesourcery.com>
33250 * sysdeps/unix/i386/brk.S: Remove file.
33251 * sysdeps/unix/i386/dl-brk.S: Likewise.
33252 * sysdeps/unix/i386/pipe.S: Likewise.
33253 * sysdeps/unix/i386/sigreturn.S: Likewise.
33254 * sysdeps/unix/i386/syscall.S: Likewise.
33255 * sysdeps/unix/i386/vfork.S: Likewise.
33256 * sysdeps/unix/i386/wait.S: Likewise.
33258 * sysdeps/unix/common/tcsendbrk.c: Move to ...
33259 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
33261 * configure.in (arm*-none*): Do not allow without
33262 --enable-hacker-mode.
33263 (netbsd*): Remove case setting base_os.
33264 (386bsd*): Likewise.
33265 (freebsd*): Likewise.
33268 (sunos*): Likewise.
33269 (ultrix*): Likewise.
33270 (newsos*): Likewise.
33271 (dynix*): Likewise.
33277 (minix*): Likewise.
33278 (irix4*): Likewise.
33279 (irix6*): Likewise.
33280 (solaris[2-9]*): Likewise.
33282 * configure: Regenerated.
33284 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33287 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
33288 overflow or cancellation in calculating denominator.
33289 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
33290 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
33291 down expression to avoid unexpected rounding in newer GCCs.
33292 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
33294 2012-04-26 David S. Miller <davem@davemloft.net>
33296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
33297 long-double compat symbols.
33298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
33299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
33300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
33301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
33302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
33303 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
33304 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
33305 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
33306 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
33307 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
33308 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
33309 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
33310 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
33312 2012-04-25 David S. Miller <davem@davemloft.net>
33314 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
33315 HWCAP_* values only after the memory barriers have been defined.
33316 (atomic_full_barrier): Define.
33317 (atomic_read_barrier): Define.
33318 (atomic_write_barrier): Define.
33320 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33322 * shlib-versions: Add libgcc_s version information.
33323 * sysdeps/generic/libgcc_s.h: Remove.
33324 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
33326 * sysdeps/gnu/unwind-resume.c: Likewise.
33327 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
33329 2012-04-25 David S. Miller <davem@davemloft.net>
33331 * sysdeps/unix/sparc/brk.S: Delete.
33332 * sysdeps/unix/sparc/dl-brk.S: Delete.
33333 * sysdeps/unix/sparc/pipe.S: Delete.
33334 * sysdeps/unix/sparc/sysdep.S: Delete.
33335 * sysdeps/unix/sparc/sysdep.h: Delete.
33336 * sysdeps/unix/sparc/vfork.S: Delete.
33337 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
33338 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
33339 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
33340 (ret_ERRVAL, r0, r1, MOVE): Define.
33341 (JUMPTARGET): Remove.
33342 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
33343 sysdeps/unix/sparc/sysdep.h
33344 (ENTRY, END): Remove.
33345 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33347 2012-04-25 Joseph Myers <joseph@codesourcery.com>
33349 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
33350 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
33353 * timezone/README: Update upstream location and email address for
33355 * timezone/zdump.c: Update from tzcode 2012b.
33356 * timezone/zic.c: Likewise.
33358 * configure.in (libc_cv_as_needed): Remove test.
33359 * configure: Regenerated.
33360 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
33361 conditional definition.
33362 [$(have-as-needed) != yes] (no-as-needed): Likewise.
33363 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
33364 * config.make.in (have-as-needed): Remove variable.
33366 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
33367 Paul Pluzhnikov <ppluzhnikov@google.com>
33369 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
33372 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
33374 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
33375 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
33376 * sysdeps/sh/strlen.S: Likewise.
33378 2012-04-24 Joseph Myers <joseph@codesourcery.com>
33380 * sysdeps/unix/fork.S: Remove file.
33381 * sysdeps/unix/i386/fork.S: Likewise.
33382 * sysdeps/unix/sparc/fork.S: Likewise.
33384 * sysdeps/unix/system.c: Remove file.
33385 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
33387 * sysdeps/unix/getegid.S: Remove file.
33388 * sysdeps/unix/geteuid.S: Likewise.
33390 2012-04-24 Roland McGrath <roland@hack.frob.com>
33392 * scripts/check-localplt.awk: New file.
33393 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
33395 * scripts/data/localplt-generic.data: Add a comment.
33397 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
33398 NODE when __dir_mkfile failed.
33399 * sysdeps/mach/hurd/symlinkat.c: Likewise.
33400 Reported by Ludovic Courtès <ludo@gnu.org>.
33402 2012-04-24 Andreas Jaeger <aj@suse.de>
33404 * Makerules (common-clean): Also remove gen-as-const-headers
33407 2012-04-24 Joseph Myers <joseph@codesourcery.com>
33409 * Makerules (native-compile): Do not change working directory for
33410 build. Use $(OUTPUT_OPTION) in command.
33411 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
33413 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33416 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
33417 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
33418 * math/libm-test.inc (floor_test): Add more tests.
33419 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
33421 2012-04-24 Joseph Myers <joseph@codesourcery.com>
33423 * sysdeps/unix/getdents.c: Remove file.
33424 * sysdeps/unix/sysv/getdents.c: Likewise.
33425 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
33427 * sysdeps/unix/syscalls.list (madvise): Add syscall from
33428 sysdeps/unix/mman/syscalls.list.
33430 (mprotect): Likewise.
33432 (munmap): Likewise.
33433 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
33434 * sysdeps/unix/mman/syscalls.list: Remove.
33435 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
33437 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
33438 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
33439 * configure: Regenerated.
33440 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
33441 $(libgcc_s_suffix).
33442 * config.make.in (libgcc_s_suffix): Remove variable.
33444 2012-04-23 Joseph Myers <joseph@codesourcery.com>
33446 * sysdeps/unix/sysv/gethostname.c: Move to ...
33447 * sysdeps/posix/gethostname.c: ... here.
33449 * sysdeps/unix/execve.S: Remove file.
33451 * sysdeps/unix/_exit.S: Remove file.
33453 2012-04-23 Andreas Jaeger <aj@suse.de>
33456 * manual/Makefile: Remove make dist support, there's no
33457 need for a stand-alone documentation tar ball.
33458 (TEXI2DVI): Define always, it's not in Makeconfig.
33461 (edition): Removed.
33462 (glibc-doc-$(edition).tar): Removed
33466 (ETAGS): Remove, it's in Makeconfig.
33467 (move-if-change): Remove, it's in Makeconfig.
33469 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
33472 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
33473 (strtod, strtof, strtold, strtol, strtoul, strtoq)
33474 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
33475 (strtod_l, strtof_l, strtold_l): Remove __wur.
33476 It is not necessarily an error to ignore strtol's return value.
33477 One can reliably look at the stored endptr to decide whether
33478 the number had valid syntax.
33480 2012-04-21 Andreas Jaeger <aj@suse.de>
33483 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
33485 2012-04-21 Joseph Myers <joseph@codesourcery.com>
33487 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
33488 * sysdeps/unix/sysv/Versions: Remove file.
33490 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
33493 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33495 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
33498 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
33499 version from __vm86.
33501 2012-04-20 Joseph Myers <joseph@codesourcery.com>
33503 * sysdeps/unix/common/lxstat.c: Remove file.
33504 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
33506 * sysdeps/unix/sysv/Makefile: Remove file.
33508 * sysdeps/unix/sysv/direct.h: Remove file.
33510 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
33511 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
33512 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
33513 * sysdeps/unix/sysv/bits/signum.h: Likewise.
33514 * sysdeps/unix/sysv/bits/stat.h: Likewise.
33515 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
33516 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
33518 * sysdeps/unix/sysv/setrlimit.c: Remove file.
33520 * sysdeps/unix/xmknod.c: Remove file.
33521 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
33523 * sysdeps/unix/sysv/settimeofday.c: Remove file.
33525 * sysdeps/unix/sysv/i386/time.S: Remove file.
33527 * sysdeps/unix/fxstat.c: Remove file.
33528 * sysdeps/unix/xstat.c: Likewise.
33529 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
33531 * sysdeps/unix/sysv/sigaction.c: Remove file.
33533 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
33534 (sysdep_headers): Remove variable.
33535 [termio.h not in sysdep_headers] (generated): Likewise.
33536 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
33537 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
33538 * sysdeps/unix/sysv/tcdrain.c: Likewise.
33539 * sysdeps/unix/sysv/tcflow.c: Likewise.
33540 * sysdeps/unix/sysv/tcflush.c: Likewise.
33541 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
33542 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
33543 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
33544 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
33545 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
33547 * sysdeps/unix/siglist.c: Remove file.
33549 * sysdeps/unix/getppid.S: Remove file.
33551 * sysdeps/unix/mkdir.c: Remove file.
33552 * sysdeps/unix/rmdir.c: Likewise.
33554 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
33556 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
33558 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
33559 errlist-compat value.
33561 2012-04-18 David S. Miller <davem@davemloft.net>
33563 * sysdeps/generic/memcopy.h (reg_char): Delete.
33564 * debug/strcat_chk.c: Use char, not reg_char.
33565 * debug/strcpy_chk.c: Likewise.
33566 * debug/strncat_chk.c: Likewise.
33567 * debug/strncpy_chk.c: Likewise.
33568 * string/memchr.c: Likewise.
33569 * string/memrchr.c: Likewise.
33570 * string/rawmemchr.c: Likewise.
33571 * string/strcat.c: Likewise.
33572 * string/strchr.c: Likewise.
33573 * string/strchrnul.c: Likewise.
33574 * string/strcmp.c: Likewise.
33575 * string/strcpy.c: Likewise.
33576 * string/strncat.c: Likewise.
33577 * string/strncmp.c: Likewise.
33578 * string/strncpy.c: Likewise.
33580 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
33582 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
33583 __builtin_memcopy is called when src and dest ranges are known to not
33586 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
33588 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
33589 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
33590 fwd_align_merge macro call.
33591 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
33592 bwd_align_merge macro call.
33593 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
33595 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
33597 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
33598 bwd_align_merge macros.
33599 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
33600 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
33601 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
33603 2012-04-18 David S. Miller <davem@davemloft.net>
33605 * sysdeps/sparc/sparc64/memcopy.h: Delete.
33607 2012-04-18 Andreas Jaeger <aj@suse.de>
33610 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
33611 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
33612 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33614 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
33615 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
33616 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33618 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
33619 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
33620 Adjust for changed ldbl-128 files.
33622 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
33623 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
33624 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33626 2012-04-17 David S. Miller <davem@davemloft.net>
33628 * sysdeps/sparc/sparc32/memcopy.h: Delete.
33630 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
33632 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
33633 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
33634 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
33635 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
33636 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
33637 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
33639 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33642 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
33643 * math/libm-test.inc: Add ilogb errno and exception tests.
33644 * math/w_ilogb.c: New file: ilogb wrapper.
33645 * math/w_ilogbf.c: New file: ilogbf wrapper.
33646 * math/w_ilogbl.c: New file: ilogbl wrapper.
33647 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
33648 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
33649 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
33650 exception being thrown with 0.0 as argument.
33651 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
33652 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
33653 exception being thrown with 0.0 as argument.
33654 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
33655 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
33656 exception being thrown with 0.0 as argument.
33657 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
33658 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
33659 exception being thrown with 0.0 as argument.
33660 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
33661 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
33662 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
33663 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
33664 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
33665 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
33666 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
33667 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
33668 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
33670 2012-04-17 Petr Baudis <pasky@ucw.cz>
33672 * include/sys/uio.h: Change __vector to __iovec to avoid clash
33675 2012-04-16 Marek Polacek <polacek@redhat.com>
33677 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
33679 2012-04-16 Marek Polacek <polacek@redhat.com>
33681 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
33682 operands of fdivp instruction.
33684 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
33686 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
33687 * elf/tst-auditmod3b.c: Likewise.
33688 * elf/tst-auditmod4b.c: Likewise.
33689 * elf/tst-auditmod5b.c: Likewise.
33690 * elf/tst-auditmod6b.c: Likewise.
33691 * elf/tst-auditmod6c.c: Likewise.
33692 * elf/tst-auditmod7b.c: Likewise.
33693 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
33694 * sysdeps/x86_64/preconfigure.in: Likewise.
33695 * sysdeps/x86_64/preconfigure: Regenerated.
33697 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
33699 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
33702 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
33704 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33705 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
33707 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
33710 * locale/iso-639.def: Fix gl language name. Spotted by
33713 2012-04-12 Roland McGrath <roland@hack.frob.com>
33716 * libio/libio.h (__io_write_fn): Update comment.
33718 2012-04-12 Petr Baudis <pasky@ucw.cz>
33721 * stdio.texi (Hook Functions): The user provided writer function
33722 is not allowed to return -1.
33724 2012-04-11 David S. Miller <davem@davemloft.net>
33726 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33728 2012-04-11 Mike Frysinger <vapier@gentoo.org>
33730 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
33731 Add a leading slash to rtkaio.
33733 2012-04-11 Jim Meyering <meyering@redhat.com>
33736 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
33737 It is not necessarily an error to ignore fwrite's return
33738 value. One can reliably use ferror to test for errors after
33741 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
33743 * bits/types.h (__snseconds_t): New type.
33744 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
33746 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
33747 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33748 (__SNSECONDS_T_TYPE): Likewise.
33749 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33750 (__SNSECONDS_T_TYPE): Likewise.
33751 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33752 (__SNSECONDS_T_TYPE): Likewise.
33754 2012-04-10 Andreas Jaeger <aj@suse.de>
33757 * manual/time.texi (Processor Time): Return type of times is
33758 elapsed real time since an arbitrary point in the past.
33759 (CPU Time): Move CLK_TCK from here...
33760 (Processor Time): ...to here. Correct description.
33761 * manual/conf.texi (Constants for Sysconf): Correct description of
33764 2012-04-10 David S. Miller <davem@davemloft.net>
33767 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
33768 where the is a gap between DT_REL(A) and DT_JMPREL.
33770 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
33772 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
33773 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
33774 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
33776 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
33778 * elf/dl-support.c (_dl_inhibit_cache): New variable.
33779 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
33780 (dl_main): Handle --inhibit-cache.
33781 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
33783 * elf/dl-load.c (_dl_map_object): Use it.
33784 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
33786 2012-04-09 Joseph Myers <joseph@codesourcery.com>
33789 * sysdeps/i386/fpu/e_powl.S (p78): New object.
33790 (__ieee754_powl): Saturate large exponents rather than testing for
33791 overflow of y*log2(x).
33792 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33793 * math/libm-test.inc (pow_test): Do not permit spurious overflow
33797 * math/s_ctan.c: Include <float.h>.
33798 (__ctan): Avoid internal overflow or cancellation in calculating
33800 * math/s_ctanf.c: Likewise.
33801 * math/s_ctanl.c: Likewise.
33802 * math/s_ctanh.c: Likewise.
33803 * math/s_ctanhf.c: Likewise.
33804 * math/s_ctanhl.c: Likewise.
33805 * math/libm-test.inc (ctan_test): Add more tests.
33806 (ctanh_test): Likewise.
33807 * sysdeps/i386/fpu/libm-test-ulps: Update.
33808 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33810 2012-04-09 Andreas Jaeger <aj@suse.de>
33813 * manual/filesys.texi (Directory Entries): Mention that d_namlen
33814 is an optional BSD extension.
33817 * manual/stdio.texi (Opening Streams): Document additional fopen
33820 2012-04-09 Roland McGrath <roland@hack.frob.com>
33822 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
33823 %eax without telling the compiler.
33825 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
33828 * manual/install.texi: Use sourceware.org.
33830 2012-04-09 Joseph Myers <joseph@codesourcery.com>
33833 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
33834 (__ieee754_pow): Generate overflow and underflow using huge*huge
33835 and tiny*tiny rather than just returning constant infinity or zero
33836 for large exponents.
33837 * math/libm-test.inc (pow_test): Require overflow exceptions for
33838 applicable cases of large exponents.
33841 * sysdeps/i386/fpu/e_pow.S (p10): New object.
33842 (__ieee754_pow): Use iterative multiplication algorithm only for
33843 integer exponents with absolute value below 1024. Check for odd
33844 integer exponents when using algorithm for real exponents.
33845 * math/libm-test.inc (pow_test): Add more tests.
33846 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33848 2012-04-08 Joseph Myers <joseph@codesourcery.com>
33851 * math/libm-test.inc (exp_test): Do not allow overflow exception
33854 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
33857 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
33858 instead of __kernel_standard_f.
33860 2012-04-08 Mike Frysinger <vapier@gentoo.org>
33862 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
33863 * sysdeps/x86_64/memset_chk.S: Likewise.
33865 2012-04-08 Andreas Jaeger <aj@suse.de>
33868 * manual/startup.texi (Environment Access): Describe return value
33869 for putenv and setenv.
33872 * manual/filesys.texi (Directory Entries): Add description for
33876 * manual/filesys.texi (Directory Entries): Clarify that it's file
33877 system not operating system in the description of DT_UNKNOWN.
33880 * manual/syslog.texi (closelog): Fix reference, it's openlog.
33882 2012-04-08 Stephen Compall <s11@member.fsf.org>
33885 * manual/llio.texi (Opening and Closing Files): Add cross
33886 reference to explain mode argument.
33888 2012-04-07 Mike Frysinger <vapier@gentoo.org>
33890 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
33891 * sysdeps/x86_64/memset_chk.S: Likewise.
33893 2012-04-07 David S. Miller <davem@davemloft.net>
33895 * elf/elf.h (R_SPARC_WDISP10): Define.
33896 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
33898 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
33899 R_SPARC_SIZE64 and R_SPARC_H34.
33901 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
33903 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
33904 conditions and remove no longer applicable assertion.
33906 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
33908 * bits/byteswap.h: Include <features.h>.
33909 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
33910 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
33912 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
33914 * bits/byteswap.h (__bswap_16): Removed.
33915 Include <bits/byteswap-16.h> to get __bswap_16.
33916 * sysdeps/i386/bits/byteswap.h: Likewise.
33917 * sysdeps/s390/bits/byteswap.h: Likewise.
33918 * sysdeps/x86_64/bits/byteswap.h: Likewise.
33919 * bits/byteswap-16.h: New file.
33920 * sysdeps/i386/bits/byteswap-16.h: Likewise.
33921 * sysdeps/s390/bits/byteswap-16.h: Likewise.
33922 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
33923 * string/Makefile (headers): Add bits/byteswap-16.h.
33925 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
33928 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
33930 * nss/Makefile (tests-static, tests): Add tst-nss-static.
33931 * nss/tst-nss-static.c: New.
33933 2012-04-06 Robert Millan <rmh@gnu.org>
33936 * manual/llio.texi (File Position Primitive): lseek
33937 refers to WHENCE when it really means OFFSET.
33939 2012-04-06 Andreas Jaeger <aj@suse.de>
33941 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
33942 strncmp declarations.
33944 * abilist/libc.abilist: Add __poll and __ppoll.
33946 2012-04-05 David S. Miller <davem@davemloft.net>
33948 * scripts/check-local-headers.sh: Accept a host triplet in the
33949 path matched by the exclude regexp.
33951 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
33953 * sysdeps/powerpc/powerpc32/dl-machine.h
33954 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
33955 * sysdeps/s390/s390-32/dl-machine.h
33956 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33957 * sysdeps/sparc/sparc32/dl-machine.h
33958 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33959 * sysdeps/sparc/sparc64/dl-machine.h
33960 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33962 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
33964 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
33965 undefined symbol errors.
33967 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
33970 2012-04-05 Michael Matz <matz@suse.de>
33973 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
33975 2012-04-05 Andreas Jaeger <aj@suse.de>
33978 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
33981 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33983 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
33984 which ROUND is no valid rounding mode.
33986 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33988 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
33990 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
33992 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33994 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
33995 an exception using FPU order intentionally.
33997 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33999 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
34000 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
34001 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
34002 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
34004 2012-04-05 Simon Josefsson <simon@josefsson.org>
34007 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
34008 EINVAL when BUFLEN is too smal.
34010 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
34013 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
34014 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
34016 2012-04-03 Andreas Jaeger <aj@suse.de>
34019 * manual/setjmp.texi (System V contexts): Fix sentence.
34022 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
34023 New macro for this case.
34024 [!__GNUC__] (__bswap_64): New inline function for this case.
34025 * sysdeps/x86_64/bits/byteswap.h: Likewise.
34026 * bits/byteswap.h: Likewise.
34027 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
34028 ull, guard with __GLIBC_HAVE_LONG_LONG.
34030 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
34031 __GLIBC_HAVE_LONG_LONG.
34033 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
34034 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
34036 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34039 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
34040 inptr and inend, rather than using last_ch.
34042 2012-04-02 David S. Miller <davem@davemloft.net>
34044 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
34045 * stdio-common/printf-parse.h (read_int): Change return type to
34046 'int', return -1 on INT_MAX overflow.
34047 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
34048 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
34049 overflows INT_MAX. Check for overflow of in-format-string precision
34050 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
34051 SIZE_MAX not INT_MAX for integer overflow test.
34052 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
34053 skip the construct in the format string but do not record anything.
34054 * stdio-common/bug22.c: Adjust to test both width/prevision
34055 INT_MAX overflow as well as total length INT_MAX overflow. Check
34056 explicitly for proper errno values.
34058 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
34060 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
34062 * string/test-strcmp.c [! WIDE]: Likewise.
34063 * time/tst-mktime2.c: Likewise for INT_MAX.
34064 * string/test-string.h: #include <sys/param.h> for MIN.
34066 * csu/init-first.c (__libc_init_first): Call __ctype_init.
34067 * sysdeps/i386/init-first.c (init): Likewise.
34068 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
34069 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
34070 * sysdeps/sh/init-first.c (init): Likewise.
34072 2012-04-01 Ulrich Drepper <drepper@gmail.com>
34074 * po/ru.po: Update from translation team.
34075 * po/vi.po: Likewise.
34077 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
34079 * resolv/nss_dns/dns-host.c: Merge copyright years.
34081 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34083 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
34084 Optimize memcpy with prefetch if
34085 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
34086 src, dst pointers have unequal 16 byte alignments.
34088 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
34091 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
34092 from a CNAME entry and return the minimum ttl for the query.
34093 (gaih_getanswer_slice): Likewise.
34095 2012-03-30 Jeff Law <law@redhat.com>
34097 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
34099 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
34100 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
34102 * resolv/nss_dns/dns-host.c: Update copyright year.
34104 2012-03-30 Ulrich Drepper <drepper@gmail.com>
34106 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
34107 requests to save a system call. Fix check that all bytes are sent.
34109 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
34110 comments for sendmmsg.
34112 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34115 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
34116 with only 1 character between 0x0041 and 0x01b0.
34117 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
34118 * wcsmbs/tst-mbsnrtowcs.c: New file.
34120 2012-03-29 David S. Miller <davem@davemloft.net>
34122 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
34123 small copies by hand.
34125 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34128 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
34129 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
34132 2012-03-28 David S. Miller <davem@davemloft.net>
34134 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
34135 that branches into memcpy.
34136 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
34137 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
34138 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
34139 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
34140 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
34142 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
34143 implementation too.
34144 * sysdeps/sparc/mempcpy.S: New file.
34146 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
34147 the IFUNC routine in the libc case.
34148 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
34150 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
34151 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
34152 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
34153 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
34154 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
34155 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
34156 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
34157 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
34159 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
34160 loop to 256 bytes instead of 64 bytes and fix test signedness.
34162 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
34163 * sysdeps/sparc/sparc32/Makefile: rather than here...
34164 * sysdeps/sparc/sparc64/Makefile: and here.
34166 2012-03-28 Ulrich Drepper <drepper@gmail.com>
34168 * malloc/mallocbug.c: Avoid warnings about unused variables.
34170 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
34173 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
34174 in the right place. Discard and retry query if response is
34175 larger than input buffer size.
34177 2012-03-28 Joseph Myers <joseph@codesourcery.com>
34182 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
34183 x for large integer exponent.
34184 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
34185 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
34186 sign of result as needed afterwards.
34187 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
34188 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
34189 result for underflowing pow the same as for overflow.
34190 (__kernel_standard_l): Handle powl overflow and underflow here
34191 rather than calling __kernel_standard.
34192 * math/libm-test.inc (pow_test): Add more tests.
34207 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
34208 * sysdeps/ieee754/k_standard.c: Include <float.h>.
34209 (__kernel_standard_l): New function.
34210 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
34212 * math/w_acosl.c (__acosl): Likewise.
34213 * math/w_asinl.c (__asinl): Likewise.
34214 * math/w_atan2l.c (__atan2l): Likewise.
34215 * math/w_atanhl.c (__atanhl): Likewise.
34216 * math/w_coshl.c (__coshl): Likewise.
34217 * math/w_exp10l.c (__exp10l): Likewise.
34218 * math/w_exp2l.c (__exp2l): Likewise.
34219 * math/w_fmodl.c (__fmodl): Likewise.
34220 * math/w_hypotl.c (__hypotl): Likewise.
34221 * math/w_j0l.c (__j0l, __y0l): Likewise.
34222 * math/w_j1l.c (__j1l, __y1l): Likewise.
34223 * math/w_jnl.c (__jnl, __ynl): Likewise.
34224 * math/w_lgammal.c (__lgammal): Likewise.
34225 * math/w_log10l.c (__log10l): Likewise.
34226 * math/w_log2l.c (__log2l): Likewise.
34227 * math/w_logl.c (__logl): Likewise.
34228 * math/w_powl.c (__powl): Likewise.
34229 * math/w_remainderl.c (__remainderl): Likewise.
34230 * math/w_scalbl.c (sysv_scalbl): Likewise.
34231 * math/w_sinhl.c (__sinhl): Likewise.
34232 * math/w_sqrtl.c (__sqrtl): Likewise.
34233 * math/w_tgammal.c (__tgammal): Likewise.
34234 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
34235 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
34236 * math/libm-test.inc (acos_test): Add more tests.
34237 (acosh_test): Likewise.
34238 (asin_test): Likewise.
34239 (atanh_test): Likewise.
34240 (exp_test): Likewise.
34241 (exp10_test): Likewise.
34242 (exp2_test): Likewise.
34243 (expm1_test): Likewise.
34244 (lgamma_test): Likewise.
34245 (log_test): Likewise.
34246 (log10_test): Likewise.
34247 (log1p_test): Likewise.
34248 (log2_test): Likewise.
34249 (pow_test): Do not allow some spurious overflow exceptions.
34250 (sqrt_test): Add more tests.
34251 (tgamma_test): Likewise.
34252 (y0_test): Likewise.
34253 (y1_test): Likewise.
34254 (yn_test): Likewise.
34256 2012-03-27 Anton Blanchard <anton@samba.org>
34258 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
34260 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
34261 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
34262 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
34264 2012-03-27 David S. Miller <davem@davemloft.net>
34266 * conform/Makefile: Run run-conformtest.sh using $(BASH).
34268 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
34269 have-as-vis3 check.
34271 2012-03-27 Andreas Jaeger <aj@suse.de>
34273 * sysdeps/x86_64/elf/configure.in: Moved to ...
34274 * sysdeps/x86_64/configure.in: ... here.
34275 * sysdeps/x86_64/elf/start.S: Moved to ...
34276 * sysdeps/x86_64/start.S: ... here.
34277 * sysdeps/x86_64/elf/configure: Delete.
34279 * sysdeps/x86_64/configure.in: Merge contents from
34280 sysdeps/i386/configure.in (without i686 check).
34282 * sysdeps/i386/elf/Versions: Merge into ...
34283 * sysdeps/i386/Versions: ... this.
34284 * sysdeps/i386/elf/Versions: Delete file.
34285 * sysdeps/i386/elf/start.S: Moved to ...
34286 * sysdeps/i386/start.S: ...here.
34287 * sysdeps/i386/elf/configure.in: Merge into...
34288 * sysdeps/i386/configure.in: ...here.
34289 * sysdeps/i386/elf/configure.in: Delete file.
34290 * sysdeps/i386/elf/configure: Delete file.
34292 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
34293 * debug/backtracesyms.c: ... here.
34294 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
34295 * debug/backtracesymsfd.c: ... here.
34296 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
34297 * sysdeps/generic/ifunc-sel.h: ... here.
34299 * sysdeps/unix/i386/start.c: Delete file.
34300 * sysdeps/unix/sparc/start.c: Delete file.
34301 * sysdeps/unix/start.c: Delete file.
34303 * sysdeps/sh/elf/configure.in: Moved to ...
34304 * sysdeps/sh/configure.in: ... here.
34305 * sysdeps/sh/elf/start.S: Moved to ...
34306 * sysdeps/sh/start.S: ... here.
34307 * sysdeps/sh/elf/configure: Delete file.
34309 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
34310 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
34311 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
34312 * sysdeps/powerpc/powerpc64/entry.h: ... here.
34313 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
34314 * sysdeps/powerpc/powerpc64/start.S: here.
34315 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
34316 * sysdeps/powerpc/powerpc64/Makefile: ... this.
34317 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
34318 * sysdeps/powerpc/powerpc64/configure.in: ... this.
34319 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
34321 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
34322 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
34323 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
34324 * sysdeps/powerpc/powerpc32/start.S: ... here.
34325 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
34326 * sysdeps/powerpc/powerpc32/configure.in: ... this.
34327 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
34329 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
34330 * sysdeps/powerpc/ifunc-sel.h: ... here.
34331 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
34332 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
34334 * sysdeps/sparc/elf/configure.in: Moved to ...
34335 * sysdeps/sparc/configure.in: ... here.
34336 * sysdeps/sparc/elf/configure: Delete file.
34337 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
34338 * sysdeps/sparc/sparc32/start.S: ... here.
34339 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
34340 * sysdeps/sparc/sparc64/start.S: ... here.
34341 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
34342 * sysdeps/sparc/sparc32/Makefile: ... this.
34343 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
34344 * sysdeps/sparc/sparc64/Makefile: ... this.
34346 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
34347 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
34348 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
34349 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
34350 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
34351 * sysdeps/s390/s390-32/setjmp.S: ... here.
34352 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
34353 * sysdeps/s390/s390-32/configure.in: ... here.
34354 * sysdeps/s390/s390-32/elf/configure: Delete file.
34355 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
34356 * sysdeps/s390/s390-32/start.S: ... here.
34358 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
34359 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
34360 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
34361 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
34362 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
34363 * sysdeps/s390/s390-64/setjmp.S: ... here.
34364 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
34365 * sysdeps/s390/s390-64/configure.in: ... here
34366 * sysdeps/s390/s390-64/elf/configure: Delete file.
34367 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
34368 * sysdeps/s390/s390-64/start.S: ... here.
34369 * sysdeps/s390/s390-64/elf/configure: Delete.
34371 * configure.in: Remove support for elf directories in sysdeps.
34373 * configure: Regenerated.
34374 * sysdeps/i386/configure: Regenerated.
34375 * sysdeps/powerpc/powerpc32/configure: Regenerated.
34376 * sysdeps/powerpc/powerpc64/configure: Regenerated.
34377 * sysdeps/s390/s390-32/configure: Regenerated.
34378 * sysdeps/s390/s390-64/configure: Regenerated.
34379 * sysdeps/sh/configure: Regenerated.
34380 * sysdeps/sparc/configure: Regenerated.
34381 * sysdeps/x86_64/configure: Regenerated.
34383 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
34385 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34387 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
34388 denormal result into account.
34390 2012-03-25 Roland McGrath <roland@hack.frob.com>
34392 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
34393 Reported by Allan McRae <allan@archlinux.org>.
34395 2012-03-23 Jeff Law <law@redhat.com>
34397 * nss/getnssent.c (__nss_getent): Fix typo.
34399 2012-03-23 David S. Miller <davem@davemloft.net>
34401 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34403 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
34405 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
34406 to pad to uint64_t for each field.
34407 (dl_tls_index): Replace unsigned long with uint64_t.
34409 2012-03-23 Daniel Jacobowitz <dmj@google.com>
34410 Paul Pluzhnikov <ppluzhnikov@google.com>
34413 * grp/Makefile (otherlibs): Don't set it.
34414 * inet/Makefile (otherlibs): Likewise.
34415 * login/Makefile (otherlibs): Likewise.
34416 * nscd/Makefile (otherlibs): Likewise.
34417 * posix/Makefile (otherlibs): Likewise.
34418 * pwd/Makefile (otherlibs): Likewise.
34419 * rt/Makefile (otherlibs): Likewise.
34420 * sunrpc/Makefile (otherlibs): Likewise.
34421 * nss/Makefile (otherlibs): Likewise.
34422 Add libnss_files to routines and static-only-routines.
34423 ($(objpfx)getent): Remove rule.
34424 * resolv/Makefile: Add libnss_dns and libresolv to routines and
34425 static-only-routines.
34427 2012-03-22 Joseph Myers <joseph@codesourcery.com>
34430 * math/s_cexp.c: Include <float.h>.
34431 (__cexp): Handle exp result overflowing not necessarily
34432 overflowing both real and imaginary parts of result.
34433 * math/s_cexpf.c: Likewise.
34434 * math/s_cexpl.c: Likewise.
34435 * math/libm-test.inc (cexp_test): Add more tests.
34436 * sysdeps/i386/fpu/libm-test-ulps: Update.
34437 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34439 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34441 * include/link.h (ELFW): New macro.
34442 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
34443 Replace ELF64_R_TYPE with ELFW(R_TYPE).
34445 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34447 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
34450 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34452 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
34454 (struct La_x32_retval): Likewise.
34456 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34458 * sysdeps/x86_64/preconfigure.in: New file.
34459 * sysdeps/x86_64/preconfigure: New generated file.
34461 2012-03-22 Joseph Myers <joseph@codesourcery.com>
34464 * math/e_exp2l.c: Include <float.h>.
34465 (__ieee754_exp2l): Handle overflow and underflow cases
34466 separately. Only pass fractional part of argument to
34468 * math/libm-test.inc (exp2_test): Add more tests.
34470 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
34471 negating x to take absolute value.
34472 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
34474 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
34475 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
34477 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
34478 computing low part if x was negated.
34479 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
34481 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
34483 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
34484 la_x32_gnu_pltexit.
34485 (pltexit): Cast int_retval to ptrdiff_t.
34486 * elf/tst-auditmod3b.c: Likewise.
34487 * elf/tst-auditmod4b.c: Likewise.
34488 * elf/tst-auditmod5b.c: Likewise.
34489 * elf/tst-auditmod6b.c: Likewise.
34490 * elf/tst-auditmod6c.c: Likewise.
34491 * elf/tst-auditmod7b.c: Likewise.
34493 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
34494 and x32_gnu_pltexit.
34496 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
34497 __ELF_NATIVE_CLASS.
34498 (La_x32_regs): New macro.
34499 (La_x32_retval): Likewise.
34500 (la_x32_gnu_pltenter): New function prototype.
34501 (la_x32_gnu_pltexit): Likewise.
34503 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
34505 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
34508 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34510 * configure.in (libc_cv_cc_nofma): Check for option to disable
34511 generation of FMA instructions.
34512 * configure: Regenerate.
34513 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
34514 * sysdeps/ieee754/dbl-64/Makefile: New file.
34515 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
34516 Remove brandred-fma4.
34517 (CFLAGS-brandred-fma4.c): Remove.
34518 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
34519 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
34521 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
34524 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
34526 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
34527 LLONG_MAX != LONG_MAX.
34528 (_itoa_word): Use _ITOA_WORD_TYPE on value.
34529 (_fitoa_word): Likewise.
34530 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
34531 LLONG_MAX != LONG_MAX.
34532 * stdio-common/_itowa.h: Include <_itoa.h>.
34533 (_itowa_word): Use _ITOA_WORD_TYPE on value.
34534 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
34535 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
34536 only if not defined.
34537 (_ITOA_WORD_TYPE): Likewise.
34538 (_itoa_word): Use _ITOA_WORD_TYPE on value.
34539 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
34541 2012-03-21 David S. Miller <davem@davemloft.net>
34543 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34545 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
34547 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
34548 of x86_64 when setting libc_cv_slibdir, libdir and
34550 * sysdeps/unix/sysv/linux/configure: Regenerated.
34552 2012-03-21 Joseph Myers <joseph@codesourcery.com>
34554 * manual/lang.texi (Old Varargs): Remove section.
34555 (How Variadic): Update menu.
34556 (va_start): Do not mention varargs.h.
34558 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
34559 Joseph Myers <joseph@codesourcery.com>
34561 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
34563 * configure: Regenerated.
34565 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
34567 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
34568 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
34571 2012-03-21 Joseph Myers <joseph@codesourcery.com>
34574 * Makefile (files-for-dist): Remove NOTES.
34575 (NOTES): Remove rule.
34576 * README: Don't refer to NOTES.
34577 * manual/creature.texi: Don't include macros.texi.
34578 * manual/intro.texi (creature.texi): Remove comment referring to
34581 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
34582 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
34583 * configure: Regenerated.
34584 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
34585 LIBC_TRY_CC_OPTION.
34586 (libc_cv_as_i686): Likewise.
34587 (libc_cv_cc_avx): Likewise.
34588 (libc_cv_cc_sse2avx): Likewise.
34589 (libc_cv_cc_fma4): Likewise.
34590 (libc_cv_cc_novzeroupper): Likewise.
34591 * sysdeps/i386/configure: Regenerated.
34594 * sysdeps/i386/fpu/s_cexp.S: Remove.
34595 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
34596 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
34597 * math/libm-test.inc (cexp_test): Add more tests.
34598 * sysdeps/i386/fpu/libm-test-ulps: Update.
34599 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34601 2012-03-21 Allan McRae <allan@archlinux.org>
34603 * timezone/Makefile: Do not install iso3166.tab and zone.tab
34605 2012-03-21 Joseph Myers <joseph@codesourcery.com>
34608 * math/w_exp2.c: Do not include <float.h>.
34609 (o_threshold, u_threshold): Remove.
34610 (__exp2): Calculate result before checking finiteness and calling
34612 * math/w_exp2f.c: Likewise.
34613 * math/w_exp2l.c: Likewise.
34614 * math/libm-test.inc (exp2_test): Require overflow exception for
34618 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
34619 range of signed 64-bit integers before using fistpll. Remove
34620 checks for whether integers fit in mantissa bits.
34621 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
34622 the range of signed 32-bit integers before using fistpl. Remove
34623 checks for whether integers fit in mantissa bits.
34624 * sysdeps/i386/fpu/e_powl.S (p64): New object.
34625 (__ieee754_powl): Test for y outside the range of signed 64-bit
34626 integers before using fistpll. Reduce 64-bit values to 63-bit
34628 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
34629 divide-by-zero is raised for zero to large negative powers.
34630 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
34631 (__ieee754_powl): Test for y outside the range of signed 64-bit
34632 integers before using fistpll. Reduce 64-bit values to 63-bit
34634 * math/libm-test.inc (pow_test): Add more tests.
34636 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
34638 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
34639 <stdio-common/_itoa.h>.
34640 * debug/segfault.c: Likewise.
34641 * elf/dl-cache.c: Likewise.
34642 * elf/dl-minimal.c: Likewise.
34643 * elf/dl-misc.c: Likewise.
34644 * elf/dl-sysdep.c: Likewise.
34645 * elf/dl-version.c: Likewise.
34646 * elf/rtld.c: Likewise.
34647 * hurd/hurdsock.c: Likewise.
34648 * hurd/lookup-retry.c: Likewise.
34649 * malloc/malloc.c: Likewise.
34650 * malloc/mtrace.c: Likewise.
34651 * nscd/nscd_getgr_r.c: Likewise.
34652 * nscd/nscd_getpw_r.c: Likewise.
34653 * nscd/nscd_getserv_r.c: Likewise.
34654 * posix/getopt_init.c: Likewise.
34655 * posix/wordexp.c: Likewise.
34656 * stdio-common/_itoa.c: Likewise.
34657 * stdio-common/printf_fphex.c: Likewise.
34658 * stdio-common/vfprintf.c: Likewise.
34659 * string/_strerror.c: Likewise.
34660 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
34661 * sysdeps/i386/i686/hp-timing.h: Likewise.
34662 * sysdeps/mach/_strerror.c: Likewise.
34663 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
34664 * sysdeps/mach/hurd/sethostid.c: Likewise.
34665 * sysdeps/mach/hurd/xmknodat.c: Likewise.
34666 * sysdeps/mach/xpg-strerror.c: Likewise.
34667 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
34668 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
34669 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
34670 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
34671 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
34672 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
34673 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
34674 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
34675 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
34676 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
34677 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
34678 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
34679 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
34680 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
34681 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
34682 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
34683 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
34684 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
34685 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
34686 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
34687 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
34689 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
34691 * stdio-common/_itoa.h: Moved to ...
34692 * sysdeps/generic/_itoa.h: Here.
34694 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
34696 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
34697 instead of "_itoa.h" and "_itowa.h".
34698 * stdio-common/vfprintf.: Likewise.
34700 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
34702 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
34704 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
34705 (__signbit): Likwise.
34706 (llrintf): Likwise.
34709 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
34711 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
34714 2012-03-20 Joseph Myers <joseph@codesourcery.com>
34716 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
34717 OVERFLOW_EXCEPTION_OK.
34718 * math/libm-test.inc ("Philosophy"): Update comment about
34720 (OVERFLOW_EXCEPTION): Define.
34721 (OVERFLOW_EXCEPTION_OK): Likewise.
34722 (INVALID_EXCEPTION_OK): Renumber.
34723 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34724 (IGNORE_ZERO_INF_SIGN): Likewise.
34725 (test_exceptions): Handle FE_OVERFLOW.
34726 (exp10_test): Expect overflow exceptions.
34727 (exp2_test): Likewise.
34728 (expm1_test): Likewise.
34729 (nextafter_test): Likewise.
34730 (pow_test): Likewise.
34731 (scalbn_test): Likewise.
34732 (scalbln_test): Likewise.
34734 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34736 * sysdeps/x86_64/bits/atomic.h
34737 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
34739 (atomic_exchange_acq): Likewise.
34740 (__arch_exchange_and_add_body): Likewise.
34741 (__arch_add_body): Likewise.
34742 (atomic_add_negative): Likewise.
34743 (atomic_add_zero): Likewise.
34745 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34747 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
34748 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
34750 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34752 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
34753 Check __x86_64__ instead of __WORDSIZE.
34755 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34757 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
34759 2012-03-19 David S. Miller <davem@davemloft.net>
34761 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34763 * sysdeps/sparc/fpu/fenv_private.h: New file.
34764 * sysdeps/sparc/fpu/math_private.h: Use it.
34765 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
34767 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
34768 (libc_feholdexcept_setroundl): Remove.
34769 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
34771 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
34772 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
34774 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34776 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
34777 int64_t instead of long int.
34778 (INSERT_WORDS64): Likwise.
34780 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34782 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
34783 _Unwind_GetCFA return to _Unwind_Ptr first.
34785 2012-03-19 Joseph Myers <joseph@codesourcery.com>
34788 * math/s_clog.c: Include <float.h>.
34789 (__clog): Scale large or subnormal inputs.
34790 * math/s_clogf.c: Likewise.
34791 * math/s_clogl.c: Likewise.
34792 * math/s_clog10.c: Include <float.h>.
34793 (M_LOG10_2): Define.
34794 (__clog10): Scale large or subnormal inputs.
34795 * math/s_clog10f.c: Likewise.
34796 * math/s_clog10l.c: Likewise.
34797 * math/libm-test.inc (clog_test): Add more tests.
34798 (clog10_test): Likewise.
34799 * sysdeps/i386/fpu/libm-test-ulps: Update.
34800 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34803 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
34805 * math/libm-test.inc (atan2_test): Add another test.
34807 * Makerules (common-objdir-compile): Remove.
34808 * sysdeps/unix/Makefile (config-generated): Do not add
34809 $(unix-generated) to variable.
34810 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
34811 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
34813 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
34815 [generic bits/local_lim.h] (before-compile): Do not append to
34817 [generic bits/local_lim.h] (common-generated): Likewise.
34818 [generic sys/param.h] (before-compile): Do not append to variable.
34819 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
34820 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
34821 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
34822 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
34824 [generic sys/param.h] (sys/param.h-includes): Remove variable.
34825 [generic sys/param.h] (sys/param.h-includes): Remove rule.
34826 [generic sys/param.h] ($(addprefix
34827 $(common-objpfx),$(sys/param.h-includes))): Likewise.
34828 [generic sys/param.h] (common-generated): Do not append to
34830 [generic sys/param.h] (sysdep_headers): Likewise.
34831 [generic bits/errno.h] (before-compile): Do not append to
34833 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
34835 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
34836 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
34837 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
34838 [generic bits/errno.h] (common-generated): Do not append to
34840 [generic bits/ioctls.h] (before-compile): Do not append to
34842 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
34844 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
34845 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
34846 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
34848 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
34849 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
34850 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
34851 [generic bits/ioctls.h] (common-generated): Do not append to
34853 [generic sys/syscall.h] (syscall.h): Remove variable.
34854 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
34856 [generic sys/syscall.h] (before-compile): Do not append to
34858 [generic sys/syscall.h] (common-generated): Likewise.
34859 * sysdeps/unix/errnos-tmpl.c: Remove file.
34860 * sysdeps/unix/errnos.awk: Likewise.
34861 * sysdeps/unix/ioctls-tmpl.c: Likewise.
34862 * sysdeps/unix/ioctls.awk: Likewise.
34863 * sysdeps/unix/mk-local_lim.c: Likewise.
34864 * sysdeps/unix/snarf-ioctls: Likewise.
34866 2012-03-19 Richard Henderson <rth@twiddle.net>
34868 * sysdeps/i386/fpu/fenv_private.h: New file.
34869 * sysdeps/i386/fpu/math_private.h: Use it.
34870 (math_opt_barrier, math_force_eval): Remove.
34871 (libc_feholdexcept_setround_53bit): Remove.
34872 (libc_feupdateenv_53bit): Remove.
34873 * sysdeps/x86_64/fpu/math_private.h: Likewise.
34874 (math_opt_barrier, math_force_eval): Remove.
34875 (libc_feholdexcept): Remove.
34876 (libc_feholdexcept_setround): Remove.
34877 (libc_fetestexcept, libc_fesetenv): Remove.
34878 (libc_feupdateenv_test): Remove.
34879 (libc_feupdateenv, libc_feholdsetround): Remove.
34880 (libc_feresetround): Remove.
34882 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
34883 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
34885 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
34886 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
34887 (libc_feupdateenv_testl): New.
34888 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
34889 (libc_feupdateenv_testf): New.
34890 (libc_feupdateenv): Use libc_feupdateenv_test.
34891 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
34892 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
34894 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
34895 (libc_feholdsetroundf, libc_feholdsetroundl): New.
34896 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
34897 (libc_feresetround_noex): New.
34898 (libc_feresetround_noexf): New.
34899 (libc_feresetround_noexl): New.
34900 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
34901 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
34902 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
34903 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
34905 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
34906 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
34908 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
34909 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
34910 SET_RESTORE_ROUND_NOEX.
34911 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
34912 SET_RESTORE_ROUND_NOEXF.
34913 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
34914 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
34915 (libc_feholdsetroundf): New.
34916 (libc_feresetround, libc_feresetroundf): New.
34918 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
34919 (libc_feholdexcept_setround_53bit): Convert from macro to function.
34920 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
34922 * sysdeps/generic/math_private.h: Include <fenv.h>.
34923 (default_libc_feholdexcept): New.
34924 (default_libc_feholdexcept_setround): New.
34925 (default_libc_fesetenv, default_libc_feupdateenv): New.
34926 (libc_feholdexcept): Only define if undefined.
34927 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
34928 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
34929 (libc_feholdexcept_setroundl): Likewise.
34930 (libc_feholdexcept_setround_53bit): Likewise.
34931 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
34932 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
34933 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
34934 (libc_feupdateenv_53bit): Likewise.
34935 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
34936 (libc_feholdexcept): Convert from macro to inline function.
34937 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
34938 (libc_fesetenv, libc_feupdateenv): Likewise.
34940 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
34941 not previously defined.
34942 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
34943 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
34944 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
34945 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
34946 * sysdeps/ieee754/flt-32/math_private.h: New file.
34947 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
34948 math_private.h below SET_FLOAT_WORD.
34949 (__isnan, __isinf_ns, __finite): Remove.
34950 (__isnanf, __isinf_nsf, __finitef): Remove.
34952 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
34954 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34956 2012-03-17 David S. Miller <davem@davemloft.net>
34959 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
34962 2012-03-16 David S. Miller <davem@davemloft.net>
34964 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
34968 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
34970 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
34971 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
34972 sysdep_routines when subdir is sysvipc.
34973 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
34974 __getshmlba helper.
34976 * sysdeps/sparc/fpu/libm-test/ulps: Update.
34978 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34980 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
34983 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34985 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
34986 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
34987 (__lround): Renamed to ...
34988 (__llround): This. Replace long int with long long int.
34989 Define lround functions as aliases of llround functions.
34990 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
34992 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34994 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
34995 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
34996 adresses to uintptr_t. Replace "long int" and "unsigned long
34997 int" with "greg_t" on va_arg.
34999 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
35001 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
35002 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
35004 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
35005 Move e_machine check before EI_CLASS check. Handle x32
35006 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
35007 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
35008 SKIP_EM_IA_64 and include
35009 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
35011 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
35012 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
35013 (add_system_dir): New macro.
35015 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
35016 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
35018 2012-03-16 Joseph Myers <joseph@codesourcery.com>
35029 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
35031 * math/w_j0f.c (j0f): Likewise.
35033 * math/w_j0l.c (__j0l): Likewise.
35035 * math/w_j1.c (j1): Likewise.
35037 * math/w_j1f.c (j1f): Likewise.
35039 * math/w_j1l.c (__j1l): Likewise.
35041 * math/w_jn.c (jn): Likewise.
35043 * math/w_jnf.c (jnf): Likewise.
35045 * math/w_jnl.c (__jnl): Likewise.
35047 * math/libm-test.inc (j0_test): Add more tests.
35048 (j1_test): Likewise.
35049 (jn_test): Likewise. Add trailing semicolon to existing test.
35050 (y0_test): Likewise.
35051 (y1_test): Likewise.
35052 * sysdeps/i386/fpu/libm-test-ulps: Update.
35053 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35057 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
35058 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
35059 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
35060 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
35061 (__tanl): Set errno for infinite argument.
35062 * sysdeps/i386/fpu/mptan.c: Remove.
35063 * sysdeps/i386/fpu/s_tan.S: Likewise.
35064 * sysdeps/i386/fpu/s_tanl.S: Likewise.
35065 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
35066 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
35067 * math/libm-test.inc (tan_test): Add more tests and enable more
35068 tests for double and long double.
35069 * sysdeps/i386/fpu/libm-test-ulps: Update.
35070 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35072 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
35074 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
35075 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
35077 2012-03-16 Roland McGrath <roland@hack.frob.com>
35079 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
35080 * configure.in: Use it for both main tree and add-ons.
35081 * configure: Regenerated.
35083 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
35085 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
35087 2012-03-16 Joseph Myers <joseph@codesourcery.com>
35089 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
35093 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
35094 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
35095 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
35096 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
35097 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
35099 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
35100 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
35101 != 0 for prec == 2.
35102 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
35103 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
35104 * sysdeps/i386/fpu/s_cosl.S: Likewise.
35105 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
35106 * sysdeps/i386/fpu/s_sinl.S: Likewise.
35107 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
35108 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
35109 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
35110 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
35111 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
35112 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
35113 * math/libm-test.inc (cos_test): Add more tests and enable more
35114 tests for long double.
35115 (sin_test): Likewise.
35116 (sincos_test): Likewise.
35117 * sysdeps/i386/fpu/libm-test-ulps: Update.
35118 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35120 2012-03-16 David S. Miller <davem@davemloft.net>
35122 * sysdeps/sparc/fpu/math_private.h: New file.
35124 2012-03-15 David S. Miller <davem@davemloft.net>
35126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
35128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
35129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
35131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
35132 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
35133 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
35134 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
35135 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
35136 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
35138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
35140 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
35141 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
35143 * sysdeps/sparc/sparc-ifunc.h: New file.
35144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
35146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
35147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
35149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
35151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
35152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
35153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
35154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
35156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
35157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
35158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
35159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
35160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
35162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
35164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
35165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
35166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
35167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
35168 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
35169 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
35170 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
35171 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
35172 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
35173 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
35174 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
35175 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
35176 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
35177 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
35178 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
35179 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
35180 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
35181 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
35182 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
35183 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
35184 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
35185 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
35186 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
35187 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
35189 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
35191 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
35193 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35195 2012-03-15 Andreas Jaeger <aj@suse.de>
35198 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
35199 ieee754/flt-32 implementation for sin, cos and sincos.
35200 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
35201 * sysdeps/i386/fpu/s_cosf.S: Likewise.
35202 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
35203 * sysdeps/i386/fpu/s_sinf.S: Likewise.
35204 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
35205 ieee754/flt-32 implementation for tan.
35207 * math/libm-test.inc (cos_test): Enable some large input tests for
35209 (sin_test): Likewise.
35210 (sincos_test): Likewise.
35211 (tan_test): Add tests for large input.
35213 * sysdeps/i386/fpu/libm-test-ulps: Update.
35215 2012-03-15 Andreas Jaeger <aj@suse.de>
35218 * math/libm-test.inc (cos_test): Add more test cases.
35219 (sin_test): Likewise.
35220 (sincos_test): Likewise.
35222 2012-03-15 Andreas Jaeger <aj@suse.de>
35225 * math/libm-test.inc (cos_test): Add a test case for large input
35227 (sin_test): Likewise.
35228 (sincos_test): Likewise.
35230 2012-03-15 Andreas Jaeger <aj@suse.de>
35231 Joseph Myers <joseph@codesourcery.com>
35234 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
35235 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
35236 * sysdeps/i386/fpu/branred.c: Likewise.
35237 * sysdeps/i386/fpu/dosincos.c: Likewise.
35238 * sysdeps/i386/fpu/mpa.c: Likewise.
35239 * sysdeps/i386/fpu/s_cos.S: Likewise.
35240 * sysdeps/i386/fpu/s_sin.S: Likewise.
35241 * sysdeps/i386/fpu/s_sincos.S: Likewise.
35242 * sysdeps/i386/fpu/sincos32.c: Likewise.
35244 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
35246 (libc_feupdateenv_53bit): Define.
35247 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
35249 (libc_feupdateenv_53bit): Define.
35251 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
35252 53 bit (without extend i386 double precision).
35254 * math/libm-test.inc (sincos_test): Add tests for large input.
35258 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
35260 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
35262 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35264 2012-03-15 David S. Miller <davem@davemloft.net>
35266 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
35267 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
35268 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
35269 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
35270 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
35271 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
35272 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
35273 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
35274 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
35275 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
35276 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
35277 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
35278 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
35279 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
35280 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
35281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
35283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
35284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
35286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
35287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
35289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
35290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
35292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
35293 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
35294 fmin/fmax sysdep routines.
35295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
35297 2012-03-14 David S. Miller <davem@davemloft.net>
35299 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
35300 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
35301 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
35302 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
35303 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
35304 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
35305 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
35306 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
35307 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
35308 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
35309 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
35310 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
35311 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
35312 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
35313 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
35314 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
35315 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
35316 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
35317 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
35318 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
35319 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
35320 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
35321 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
35322 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
35323 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
35324 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
35325 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
35326 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
35327 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
35329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
35331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
35332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
35334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
35335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
35337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
35338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
35340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
35341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
35343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
35344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
35346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
35348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
35350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
35352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
35354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
35356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
35358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
35359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
35361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
35362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
35364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
35365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
35367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
35368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
35371 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
35374 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35376 * sysdeps/sparc/configure.in: New file.
35377 * sysdeps/sparc/configure: Generate.
35378 * configure.in (libc_cv_sparc_as_vis3): Substitute.
35379 * configure: Regenerate.
35380 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
35381 * config.make.in (have-as-vis3): New.
35382 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
35383 available use -Av9d instead of -Av9a.
35384 * sysdeps/sparc/sparc64/Makefile: Likewise.
35385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
35386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
35388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
35390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
35392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
35394 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
35395 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
35396 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
35397 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
35398 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
35400 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
35401 fzeros/fnegs to load 0x80000000 into a float register instead of
35403 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
35405 2012-03-14 Joseph Myers <joseph@codesourcery.com>
35407 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35409 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
35410 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
35411 ($(inst_includedir)/bits/syscall.h): Remove rule.
35412 ($(objpfx)bits/syscall.d): Include instead of
35413 $(objpfx)syscall-list.d.
35414 (generated): Change syscall-list.h and syscall-list.d to
35415 bits/syscall.h and bits/syscall.d.
35417 2012-03-14 Roland McGrath <roland@hack.frob.com>
35420 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
35422 2012-03-14 Joseph Myers <joseph@codesourcery.com>
35425 * math/s_csqrt.c: Include <float.h>.
35426 (__csqrt): Scale large or subnormal inputs.
35427 * math/s_csqrtf.c: Likewise.
35428 * math/s_csqrtl.c: Likewise.
35429 * math/libm-test.inc (csqrt_test): Add more tests.
35430 * sysdeps/i386/fpu/libm-test-ulps: Update.
35431 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35434 * math/libm-test.inc (hypot_test): Add more tests.
35436 2012-03-13 David S. Miller <davem@davemloft.net>
35439 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
35440 double-precision for the calculation instead of scaling.
35442 2012-03-13 Joseph Myers <joseph@codesourcery.com>
35444 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
35445 manipulate bits before adding and subtracting TWO52[sx].
35446 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
35447 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
35449 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
35451 2012-03-13 David S. Miller <davem@davemloft.net>
35453 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
35454 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
35455 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
35456 rtld-global-offsets.h
35457 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35459 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
35462 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
35464 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
35465 'err' in the ifdef scope in which it is actually used.
35467 * nss/nss_db/db-init.c: Include string.h
35469 2012-03-12 David S. Miller <davem@davemloft.net>
35471 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
35472 masking out of the most significant byte of random value used.
35473 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35474 Fix coding style in previous change.
35476 * sysdeps/unix/sysv/linux/kernel-features.h
35477 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
35478 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
35480 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
35483 2012-03-11 David S. Miller <davem@davemloft.net>
35485 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
35486 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
35487 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
35488 for 'resultvar' otherwise things get truncated on 64-bit.
35490 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35491 Fix masking out of the most significant byte of random value used.
35493 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35495 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
35497 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35499 2012-03-09 David S. Miller <davem@davemloft.net>
35501 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
35502 variables with appropriate CPP guards.
35503 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
35504 from the frame pointer, not the stack pointer. Correct layout
35505 comments. Fix test on resulting framesize and the management of
35506 the outregs buffer for pltexit. Preserve floating point return
35507 values across _dl_call_pltexit call.
35508 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
35509 framesize and the management of the outregs buffer for pltexit.
35510 Preserve floating point return values across _dl_call_pltexit
35512 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
35513 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
35514 (la_sparc64_gnu_pltexit): New functions.
35515 (print_exit): Fix format string for return register value.
35517 2012-03-10 Joseph Myers <joseph@codesourcery.com>
35519 * sunrpc/Makefile (others): Add rpcgen.
35520 ($(objpfx)rpcgen): Remove special build rule and dependency on
35522 * sunrpc/rpcgen.c: New file.
35524 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
35527 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
35528 * stdio-common/bug-vfprintf-nargs.c: Likewise.
35529 * sysdeps/i386/crti.S: Likewise.
35530 * sysdeps/i386/crtn.S: Likewise.
35531 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
35532 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
35533 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
35534 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
35535 * sysdeps/sh/crti.S: Likewise.
35536 * sysdeps/sh/crtn.S: Likewise.
35537 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
35540 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
35542 * locale/programs/locfile-kw.gperf: Likewise.
35543 * locale/programs/charmap-kw.h: Regenerated.
35544 * locale/programs/locfile-kw.h: Likewise.
35547 * intl/plural.y: Replace FSF snail mail address with URL.
35548 * intl/plural.c: Regenerated.
35550 2012-03-09 Richard Henderson <rth@twiddle.net>
35552 * include/math_private.h: Remove file.
35553 * math/math_private.h: Move file ...
35554 * sysdeps/generic/math_private.h: ... here.
35556 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
35557 * sysdeps/powerpc/fpu/math_private.h: Likewise.
35558 * sysdeps/x86_64/fpu/math_private.h: Likewise.
35560 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
35561 and <math_private.h>.
35562 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
35563 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
35564 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
35565 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
35566 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
35567 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
35568 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
35569 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
35570 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
35571 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
35572 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
35573 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35574 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
35575 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
35576 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
35577 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
35578 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
35579 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
35580 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
35581 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
35582 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
35583 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
35584 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
35585 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
35586 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
35587 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
35588 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
35589 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
35590 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
35591 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35592 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
35593 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
35594 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
35595 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
35596 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
35597 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
35598 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
35599 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
35600 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
35601 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35602 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
35603 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
35604 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
35605 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
35606 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
35607 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
35608 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
35609 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
35610 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
35611 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
35612 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
35613 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
35614 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
35615 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
35616 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
35617 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
35618 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
35619 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
35620 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
35621 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
35622 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
35623 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
35624 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
35625 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
35626 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
35627 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
35628 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
35629 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
35630 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
35631 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
35632 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
35633 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
35634 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
35635 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
35636 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
35637 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
35638 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
35639 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35640 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
35641 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
35642 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
35643 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
35644 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
35645 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
35646 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
35647 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
35648 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
35649 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
35650 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
35651 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35652 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35653 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
35654 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35655 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
35656 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
35657 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
35658 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
35659 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
35660 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
35661 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
35662 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
35663 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
35664 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
35665 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
35666 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35667 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
35668 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
35669 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
35670 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35671 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35672 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35673 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35674 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
35675 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35676 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
35677 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
35678 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35679 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
35680 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35681 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
35682 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35683 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
35684 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
35685 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
35686 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35687 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
35688 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
35689 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
35690 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
35691 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
35692 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
35693 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
35694 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35695 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
35696 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
35697 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
35698 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
35699 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
35700 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
35701 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
35702 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
35703 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
35704 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
35705 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
35706 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
35707 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
35708 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
35709 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
35710 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
35711 * sysdeps/ieee754/k_standard.c: Likewise.
35712 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
35713 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
35714 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35715 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
35716 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
35717 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
35718 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
35719 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
35720 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
35721 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
35722 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
35723 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
35724 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
35725 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
35726 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
35727 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
35728 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
35729 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
35730 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
35731 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
35732 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
35733 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
35734 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35735 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
35736 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
35737 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
35738 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
35739 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
35740 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
35741 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35742 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
35743 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
35744 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
35745 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
35746 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
35747 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
35748 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
35749 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
35750 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
35751 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
35752 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
35753 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
35754 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
35755 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
35756 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
35757 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
35758 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
35759 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
35760 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
35761 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35762 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35763 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
35764 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
35765 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
35766 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35767 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35768 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
35769 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
35770 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
35771 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
35772 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35773 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
35774 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
35775 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
35776 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35777 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35778 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
35779 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
35780 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
35781 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
35782 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
35783 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35784 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
35785 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
35786 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
35787 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
35788 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
35789 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
35790 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
35791 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
35792 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
35793 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
35794 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
35795 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
35796 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
35797 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
35798 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
35799 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
35800 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
35801 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
35802 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
35803 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
35804 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
35805 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
35806 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
35807 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
35808 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
35809 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
35810 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
35811 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
35812 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
35813 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
35814 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35815 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
35816 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
35817 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35818 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35819 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
35820 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
35821 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
35822 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
35823 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
35824 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
35825 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35826 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
35827 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
35828 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
35829 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35830 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
35831 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
35832 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
35833 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
35834 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
35835 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
35836 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35837 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
35838 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
35839 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
35840 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
35841 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35842 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
35843 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
35844 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
35845 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
35846 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
35847 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
35848 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
35849 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
35850 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
35851 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
35852 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
35853 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
35854 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
35855 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
35856 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
35857 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
35858 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
35859 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
35860 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
35861 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
35862 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
35863 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
35864 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
35865 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
35866 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
35867 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
35868 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
35869 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
35870 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
35871 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
35872 * sysdeps/ieee754/s_lib_version.c: Likewise.
35873 * sysdeps/ieee754/s_matherr.c: Likewise.
35874 * sysdeps/ieee754/s_signgam.c: Likewise.
35875 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
35876 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
35877 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
35878 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
35879 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
35880 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
35881 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
35882 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
35883 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
35884 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
35885 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
35886 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
35887 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
35888 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
35889 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
35890 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
35891 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
35892 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
35893 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
35894 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35895 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
35897 2012-03-09 Joseph Myers <joseph@codesourcery.com>
35899 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
35900 * sunrpc/rpc_main.c: Likewise.
35901 * sunrpc/rpc_svcout.c: Likewise.
35903 2012-03-09 David S. Miller <davem@davemloft.net>
35905 * include/math_private.h: New file.
35907 2012-03-09 Joseph Myers <joseph@codesourcery.com>
35909 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
35910 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
35911 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
35912 from <bits/socket_type.h>.
35913 (enum __socket_type): Don't define here.
35914 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
35915 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35916 bits/socket_type.h.
35919 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
35920 checking __USE_GNU.
35922 * Makerules ($(inst_includedir)/%.h): New rule.
35923 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
35924 (install-others): Remove variable setting.
35925 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
35927 2012-03-08 Richard Henderson <rth@twiddle.net>
35929 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
35930 from macro to inline function; merge with the
35931 !__LIBC_INTERNAL_MATH_INLINES version.
35932 (__ieee754_sqrtf): Likewise.
35934 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
35935 to inline function.
35936 (__rintf, __floor, __floorf): Likewise.
35938 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
35939 macro to inline function.
35940 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
35942 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
35943 not <math/math_private.h>.
35945 2012-03-08 David S. Miller <davem@davemloft.net>
35947 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
35949 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
35951 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
35953 * resolv/gai_misc.c (handle_requests): Fix struct timespec
35955 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
35956 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
35958 2012-03-08 Ulrich Drepper <drepper@gmail.com>
35960 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
35961 be defined individually, they must be defined as a block. Define
35962 S for printing a string instead of hidint the different by using a
35963 macro for adding the 'l'.
35964 * stdio-common/tst-fphex-wide.c: Adjust.
35966 2012-03-07 Marek Polacek <polacek@redhat.com>
35968 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
35970 2012-03-08 Marek Polacek <polacek@redhat.com>
35973 * stdio-common/Makefile (tests): Add tst-fphex-wide.
35974 * stdio-common/tst-fphex.c: Define a few macros to make the
35975 test reusable. Use them.
35976 * stdio-common/tst-fphex-wide.c: New file.
35978 2012-03-08 Joseph Myers <joseph@codesourcery.com>
35981 * manual/macros.texi (gnusystems): New macro.
35982 (nongnusystems): Likewise.
35983 (gnulinuxhurdsystems): Likewise.
35984 (gnuhurdsystems): Likewise..
35985 (gnulinuxsystems): Likewise.
35986 * manual/charset.texi: Use new macros or @theglibc{} to refer to
35987 variants of the GNU system, not "GNU system".
35988 * manual/conf.texi: Likewise.
35989 * manual/errno.texi: Likewise. Update example of errno macro
35991 * manual/filesys.texi: Likewise.
35992 (getumask): Document as specific to GNU/Hurd.
35993 * manual/install.texi: Likewise. Reword some references to
35995 * manual/intro.texi: Likewise.
35996 * manual/io.texi: Likewise.
35997 (File Name Portability): Detail which constraints are inapplicable
35998 to all GNU systems and which are only inapplicable to GNU/Hurd.
35999 * manual/job.texi: Likewise.
36000 * manual/llio.texi: Likewise.
36001 (O_NOCTTY): Document as present on GNU/Linux.
36002 * manual/maint.texi: Likewise.
36003 * manual/memory.texi: Likewise.
36004 * manual/pattern.texi: Likewise.
36005 * manual/pipe.texi: Likewise.
36006 * manual/process.texi: Likewise.
36007 * manual/resource.texi: Likewise.
36008 (RUSAGE_CHILDREN): Remove statement about specifying a particular
36010 * manual/setjmp.texi: Likewise.
36011 * manual/signal.texi: Likewise.
36012 * manual/startup.texi: Likewise.
36013 * manual/stdio.texi: Likewise.
36014 * manual/terminal.texi: Likewise.
36015 (ONLCR): Document as POSIX.
36016 (OXTABS): Document availability on GNU/Linux as XTABS.
36017 (ONOEOT): Document availability separately from other bits.
36018 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
36019 * manual/time.texi: Likewise.
36020 * manual/users.texi: Likewise.
36021 * INSTALL: Regenerated.
36022 * sysdeps/gnu/errlist.c: Regenerated.
36024 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
36025 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
36026 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
36028 * configure: Regenerated.
36030 2012-03-07 Joseph Myers <joseph@codesourcery.com>
36032 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
36033 default includes instead of AC_HEADER_CHECK.
36034 * sysdeps/i386/configure: Regenerated.
36037 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
36038 * math/s_cacoshf.c (__cacoshf): Likewise.
36039 * math/s_cacoshl.c (__cacoshl): Likewise.
36040 * math/s_casinh.c (__casinh): Set signs of result from argument.
36041 * math/s_casinhf.c (__casinhf): Likewise.
36042 * math/s_casinhl.c (__casinhl): Likewise.
36043 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
36044 (casinh_test): Add more tests.
36045 * sysdeps/i386/fpu/libm-test-ulps: Update.
36046 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36048 2012-03-07 Ulrich Drepper <drepper@gmail.com>
36050 * po/zh_TW.po: Update from translation team.
36052 * login/Makefile (distribute): Remove variable.
36053 * catgets/Makefile: Likewise.
36054 * mach/Makefile: Likewise.
36055 * malloc/Makefile: Likewise.
36056 * misc/Makefile: Likewise.
36057 * iconv/Makefile: Likewise.
36058 * nscd/Makefile: Likewise.
36059 * hurd/Makefile: Likewise.
36060 * manual/Makefile: Likewise.
36061 * locale/Makefile: Likewise.
36062 * intl/Makefile: Likewise.
36063 * conform/Makefile: Likewise.
36064 * nss/Makefile: Likewise.
36065 * time/Makefile: Likewise.
36066 * soft-fp/Makefile: Likewise.
36067 * dirent/Makefile: Likewise.
36068 * gmon/Makefile: Likewise.
36069 * po/Makefile: Likewise.
36070 * rt/Makefile: Likewise.
36071 * socket/Makefile: Likewise.
36072 * math/Makefile: Likewise.
36073 * signal/Makefile: Likewise.
36074 * debug/Makefile: Likewise.
36075 * elf/Makefile: Likewise.
36076 * timezone/Makefile: Likewise.
36077 * stdlib/Makefile: Likewise.
36078 * iconvdata/Makefile: Likewise.
36079 * sunrpc/Makefile: Likewise.
36080 * io/Makefile: Likewise.
36081 * argp/Makefile: Likewise.
36082 * inet/Makefile: Likewise.
36083 * hesiod/Makefile: Likewise.
36084 * grp/Makefile: Likewise.
36085 * csu/Makefile: Likewise.
36086 * wctype/Makefile: Likewise.
36087 * crypt/Makefile: Likewise.
36088 * libio/Makefile: Likewise.
36089 * string/Makefile: Likewise.
36090 * nis/Makefile: Likewise.
36091 * resolv/Makefile: Likewise.
36092 * stdio-common/Makefile: Likewise.
36093 * wcsmbs/Makefile: Likewise.
36094 * dlfcn/Makefile: Likewise.
36095 * posix/Makefile: Likewise.
36098 * timezone/Makefile: Don't install timezone files, just the programs
36101 2012-03-06 Ulrich Drepper <drepper@gmail.com>
36103 * nss/databases.def: Add missing gshadow entry.
36105 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
36107 2012-03-06 Marek Polacek <polacek@redhat.com>
36110 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
36111 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
36112 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
36113 * stdio-common/tst-long-dbl-fphex.c: New file.
36115 2012-03-06 David S. Miller <davem@davemloft.net>
36117 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36118 (set_obp_int): New function.
36119 (get_obp_int): New function.
36120 (__get_clockfreq_via_dev_openprom): Likewise.
36121 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
36122 Avoid unused variable warnings on 'val' and use builtin_expect.
36123 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
36125 (INLINE_CLONE_SYSCALL): Likewise.
36127 2012-03-05 David S. Miller <davem@davemloft.net>
36129 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36131 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
36133 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36135 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
36136 only for |x| >= 40.
36137 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
36139 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
36141 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
36142 Replace gettimeofday with __vdso_gettimeofday.
36144 * sysdeps/unix/sysv/linux/x86_64/init-first.c
36145 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
36146 __vdso_clock_gettime and __vdso_getcpu.
36148 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
36149 time with __vdso_time.
36151 2012-03-05 Joseph Myers <joseph@codesourcery.com>
36153 * manual/lang.texi (size_t): Note types to which size_t may be
36154 equivalent with the GNU C Library, but do not describe when
36155 differences between them are significant.
36157 2012-03-05 Andreas Jaeger <aj@suse.de>
36159 * sysdeps/i386/fpu/libm-test-ulps: Update.
36161 2012-03-05 Joseph Myers <joseph@codesourcery.com>
36164 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
36165 (__ieee754_pow): Save and restore rounding mode and use
36166 round-to-nearest for main computations.
36167 * math/libm-test.inc (pow_test_tonearest): New function.
36168 (pow_test_towardzero): Likewise.
36169 (pow_test_downward): Likewise.
36170 (pow_test_upward): Likewise.
36171 (main): Call the new functions.
36172 * sysdeps/i386/fpu/libm-test-ulps: Update.
36173 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36176 * math/libm-test.inc (cosh_test_tonearest): New function.
36177 (cosh_test_towardzero): Likewise.
36178 (cosh_test_downward): Likewise.
36179 (cosh_test_upward): Likewise.
36180 (sinh_test_tonearest): Likewise.
36181 (sinh_test_towardzero): Likewise.
36182 (sinh_test_downward): Likewise.
36183 (sinh_test_upward): Likewise.
36184 (main): Call the new functions.
36185 * sysdeps/i386/fpu/libm-test-ulps: Update.
36186 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36188 2012-03-05 Tom de Vries <tom@codesourcery.com>
36190 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
36191 default stack guard is set in last bytes.
36192 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
36194 2012-03-05 Kees Cook <keescook@chromium.org>
36196 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
36199 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
36200 possibly allocate from heap instead of stack.
36201 * stdio-common/bug-vfprintf-nargs.c: New file.
36202 * stdio-common/Makefile (tests): Add nargs overflow test.
36204 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
36206 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36208 2012-03-03 Marek Polacek <polacek@redhat.com>
36210 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
36211 * math/math_private.h: Likewise.
36212 * stdlib/tst-strtod.c: Likewise.
36213 * sysdeps/i386/i486/bits/atomic.h: Likewise.
36214 * sysdeps/x86_64/bits/atomic.h: Likewise.
36216 2012-03-02 David S. Miller <davem@davemloft.net>
36218 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
36219 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
36220 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
36221 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
36222 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
36223 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
36224 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
36225 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
36227 2012-03-02 Roland McGrath <roland@hack.frob.com>
36230 * manual/examples/README: New file, says the example source files
36231 can be used under GPL>=2.
36232 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
36233 line containing just "*/".
36234 * manual/examples/add.c: Add copyright header (GPL>=2).
36235 * manual/examples/argp-ex1.c: Likewise.
36236 * manual/examples/argp-ex2.c: Likewise.
36237 * manual/examples/argp-ex3.c: Likewise.
36238 * manual/examples/argp-ex4.c: Likewise.
36239 * manual/examples/atexit.c: Likewise.
36240 * manual/examples/db.c: Likewise.
36241 * manual/examples/dir.c: Likewise.
36242 * manual/examples/dir2.c: Likewise.
36243 * manual/examples/execinfo.c: Likewise.
36244 * manual/examples/filecli.c: Likewise.
36245 * manual/examples/filesrv.c: Likewise.
36246 * manual/examples/fmtmsgexpl.c: Likewise.
36247 * manual/examples/genpass.c: Likewise.
36248 * manual/examples/inetcli.c: Likewise.
36249 * manual/examples/inetsrv.c: Likewise.
36250 * manual/examples/isockad.c: Likewise.
36251 * manual/examples/longopt.c: Likewise.
36252 * manual/examples/memopen.c: Likewise.
36253 * manual/examples/memstrm.c: Likewise.
36254 * manual/examples/mkfsock.c: Likewise.
36255 * manual/examples/mkisock.c: Likewise.
36256 * manual/examples/mygetpass.c: Likewise.
36257 * manual/examples/pipe.c: Likewise.
36258 * manual/examples/popen.c: Likewise.
36259 * manual/examples/rprintf.c: Likewise.
36260 * manual/examples/search.c: Likewise.
36261 * manual/examples/select.c: Likewise.
36262 * manual/examples/setjmp.c: Likewise.
36263 * manual/examples/sigh1.c: Likewise.
36264 * manual/examples/sigusr.c: Likewise.
36265 * manual/examples/stpcpy.c: Likewise.
36266 * manual/examples/strdupa.c: Likewise.
36267 * manual/examples/strftim.c: Likewise.
36268 * manual/examples/strncat.c: Likewise.
36269 * manual/examples/subopt.c: Likewise.
36270 * manual/examples/swapcontext.c: Likewise.
36271 * manual/examples/termios.c: Likewise.
36272 * manual/examples/testopt.c: Likewise.
36273 * manual/examples/testpass.c: Likewise.
36274 * manual/examples/timeval_subtract.c: Likewise.
36277 * manual/time.texi (Elapsed Time): Move timeval_subtract example
36279 * manual/timeval_subtract.c.texi: ... here, new file.
36281 2012-03-02 David S. Miller <davem@davemloft.net>
36283 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
36285 2012-03-02 Joseph Myers <joseph@codesourcery.com>
36288 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
36289 (__sin): Save and restore rounding mode and use round-to-nearest
36290 for all computations.
36291 (__cos): Save and restore rounding mode and use round-to-nearest
36292 for all computations.
36293 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
36295 (tan): Save and restore rounding mode and use round-to-nearest for
36297 * math/libm-test.inc (cos_test_tonearest): New function.
36298 (cos_test_towardzero): Likewise.
36299 (cos_test_downward): Likewise.
36300 (cos_test_upward): Likewise.
36301 (sin_test_tonearest): Likewise.
36302 (sin_test_towardzero): Likewise.
36303 (sin_test_downward): Likewise.
36304 (sin_test_upward): Likewise.
36305 (tan_test_tonearest): Likewise.
36306 (tan_test_towardzero): Likewise.
36307 (tan_test_downward): Likewise.
36308 (tan_test_upward): Likewise.
36309 (main): Call the new functions.
36310 * sysdeps/i386/fpu/libm-test-ulps: Update.
36311 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36314 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
36315 small n, then large n, before computing and testing k+n.
36316 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
36317 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
36319 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
36321 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
36322 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
36323 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
36324 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
36325 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
36326 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
36327 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
36328 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
36329 * math/libm-test.inc (scalbn_test): Add more tests.
36330 (scalbln_test): Likewise.
36332 * manual/filesys.texi (mode_t): Describe constraints on size and
36333 signedness, not exact equivalence to a particular type.
36335 (ino64_t): Likewise.
36337 (nlink_t): Likewise.
36338 (blkcnt_t): Likewise.
36339 (blkcnt64_t): Likewise.
36340 * manual/llio.texi (off_t): Likewise.
36343 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
36344 (__ieee754_exp): Save and restore rounding mode and use
36345 round-to-nearest for all computations.
36346 * math/libm-test.inc (exp_test_tonearest): New function.
36347 (exp_test_towardzero): Likewise.
36348 (exp_test_downward): Likewise.
36349 (exp_test_upward): Likewise.
36350 (main): Call the new functions.
36351 * sysdeps/i386/fpu/libm-test-ulps: Update.
36352 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36354 2012-03-01 Chris Demetriou <cgd@google.com>
36356 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
36357 have predictable order.
36359 2012-03-01 David S. Miller <davem@davemloft.net>
36361 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
36363 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
36364 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
36365 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
36366 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
36368 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
36369 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
36370 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
36371 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
36372 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
36373 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
36374 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
36375 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
36376 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
36378 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36380 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
36381 * sysdeps/sparc/fpu/libm-test-ulps: to here.
36382 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
36384 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
36385 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
36386 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
36387 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
36388 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
36389 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
36390 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
36391 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
36392 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
36393 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
36394 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
36395 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36396 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
36397 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
36398 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
36399 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36400 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
36401 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
36402 * sysdeps/sparc/elf/configure: Regenerated.
36404 2012-03-01 Joseph Myers <joseph@codesourcery.com>
36406 * configure.in (AS, LD): Require binutils 2.20 or later.
36407 * configure: Regenerated.
36408 * manual/install.texi (Tools for Compilation): Give binutils 2.20
36409 as required minimum version.
36410 * INSTALL: Regenerated.
36414 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
36415 before squaring exponent.
36416 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
36417 bottom long double and 27 bits of top long double before squaring
36419 * math/libm-test.inc (erfc_test): Add more tests.
36420 * sysdeps/i386/fpu/libm-test-ulps: Update.
36421 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36422 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36424 2012-03-01 Kai Tietz <ktietz@redhat.com>
36426 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
36427 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
36428 containing bit-fields.
36429 * soft-fp/extended.h (_FP_UNION_E): Likewise.
36430 * soft-fp/single.h (_FP_UNION_S): Likewise.
36431 * soft-fp/double.h (_FP_UNION_D): Likewise.
36433 2012-02-29 Joseph Myers <joseph@codesourcery.com>
36436 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
36437 not include ../strcmp.S.
36438 [USE_AS_STRNCASECMP_L]: Likewise.
36439 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
36440 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
36441 * sysdeps/i386/i686/multiarch/strncase_l-c.c
36442 (__strncasecmp_l_ia32): Define as alias to
36443 __strncasecmp_l_nonascii.
36446 * math/libm-test.inc (expm1_test): Add test for bug 5794.
36447 * sysdeps/i386/fpu/libm-test-ulps: Update.
36448 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36450 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
36451 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36453 2012-02-29 Jeff Law <law@redhat.com>
36455 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
36456 out of bounds read.
36458 2012-02-29 Marek Polacek <polacek@redhat.com>
36461 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
36462 * elf/Makefile: Add rules to run tst-unused-dep.out.
36464 2012-02-28 David S. Miller <davem@davemloft.net>
36466 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
36467 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
36468 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
36469 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
36470 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
36471 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
36473 2012-02-29 Joseph Myers <joseph@codesourcery.com>
36475 * math/libm-test.inc (llround_test): Move one test from
36476 lround_test. Use TEST_f_L in moved test.
36477 (lround_test): Move misplaced test to llround_test. Add testcase
36480 2012-02-28 Ulrich Drepper <drepper@gmail.com>
36482 * sysdeps/x86_64/fpu/e_expf.S: New file.
36483 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
36485 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
36488 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
36489 of remain_len that may cause incomplete multi-byte character and
36491 * posix/bug-regex33.c: New file.
36492 * posix/Makefile (tests): Add bug-regex33.
36494 2012-02-28 Joseph Myers <joseph@codesourcery.com>
36496 * manual/macros.texi: New file.
36497 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
36498 * manual/libc.texinfo: Include macros.texi.
36499 * manual/creatute.texi: Likewise.
36500 * manual/install.texi: Likewise.
36501 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
36502 @glibcadj{} in references to the GNU C Library.
36503 * manual/charset.texi: Likewise.
36504 * manual/conf.texi: Likewise.
36505 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
36506 when not using those macros.
36507 * manual/creature.texi: Likewise.
36508 * manual/crypt.texi: Likewise.
36509 * manual/errno.texi: Likewise.
36510 * manual/filesys.texi: Likewise.
36511 * manual/header.texi: Likewise.
36512 * manual/install.texi: Likewise.
36513 * manual/intro.texi: Likewise.
36514 * manual/io.texi: Likewise.
36515 * manual/job.texi: Likewise.
36516 * manual/lang.texi: Likewise.
36517 * manual/libc.texiinfo: Likewise.
36518 * manual/llio.texi: Likewise.
36519 * manual/locale.texi: Likewise.
36520 * manual/maint.texi: Likewise.
36521 * manual/math.texi: Likewise.
36522 * manual/memory.texi: Likewise.
36523 * manual/message.texi: Likewise.
36524 * manual/nss.texi: Likewise.
36525 * manual/pattern.texi: Likewise.
36526 * manual/process.texi: Likewise.
36527 * manual/resource.texi: Likewise.
36528 * manual/search.texi: Likewise.
36529 * manual/setjmp.texi: Likewise.
36530 * manual/signal.texi: Likewise.
36531 * manual/socket.texi: Likewise.
36532 * manual/startup.texi: Likewise.
36533 * manual/stdio.texi: Likewise.
36534 * manual/string.texi: Likewise.
36535 * manual/sysinfo.texi: Likewise.
36536 * manual/syslog.texi: Likewise.
36537 * manual/terminal.texi: Likewise.
36538 * manual/time.texi: Likewise.
36539 * manual/users.texi: Likewise.
36540 * INSTALL: Regenerated.
36541 * NOTES: Regenerated.
36542 * sysdeps/gnu/errlist.c: Regenerated.
36544 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
36546 * include/dirent.h: Include <dirstream.h> before
36549 2012-02-28 David S. Miller <davem@davemloft.net>
36551 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
36552 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
36553 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
36554 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
36556 2012-02-27 David S. Miller <davem@davemloft.net>
36558 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
36559 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
36560 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
36561 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
36563 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
36564 frame pointer instead of stack pointer relative arg slot.
36565 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
36566 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
36567 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
36569 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
36572 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
36574 2012-02-27 David S. Miller <davem@davemloft.net>
36576 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
36577 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
36578 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
36579 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
36580 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
36581 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
36582 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
36583 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
36585 2012-02-27 Joseph Myers <joseph@codesourcery.com>
36587 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
36588 later. Allow versions 5-9.
36589 * configure: Regenerated.
36590 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
36591 required minimum version and 4.6 as recommended version. Do not
36592 mention bugs in GCC 2.7 and 2.8.
36593 * INSTALL: Regenerated.
36595 2012-02-27 David S. Miller <davem@davemloft.net>
36597 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
36598 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
36599 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
36600 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
36601 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
36602 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
36603 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
36604 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
36606 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
36607 manipulate bits before adding and subtracting TWO112[sx].
36608 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
36610 2012-02-27 Roland McGrath <roland@hack.frob.com>
36613 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
36614 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
36615 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
36616 being in POSIX, because they are in 1003.1-2008.
36618 * rt/tst-aio.c: Include <fcntl.h>.
36619 * rt/tst-aio7.c: Likewise.
36620 * rt/tst-aio64.c: Likewise.
36622 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
36624 2012-02-27 Joseph Myers <joseph@codesourcery.com>
36626 * manual/install.texi (--with-headers): Describe headers as
36627 interface headers, not private headers.
36628 (Specific advice for GNU/Linux systems): Describe use of headers
36629 from "make headers_install", not private headers from older
36631 * INSTALL: Regenerated.
36632 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
36634 * sysdeps/unix/sysv/linux/configure: Regenerated.
36636 * manual/llio.texi (fclean): Remove documentation.
36638 * manual/Makefile (libc-texi-generated): New variable. Include
36640 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
36641 $(libc-texi-generated), not duplicated list of files.
36642 (version.texi, stamp-version): New rules.
36643 (realclean): Remove $(libc-texi-generated), not individual files
36644 from that list. Do not remove dir-add.texinfo.
36645 * manual/libc.texinfo: Comment out uses of edition numbers and
36646 references to printed manual. Remove last-updated dates.
36647 (EDITION): Comment out.
36649 (VERSION, UPDATED): Remove.
36650 (version.texi): Include.
36652 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
36654 * sysdeps/posix/spawni.c: Include <signal.h>.
36655 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
36656 * sysdeps/pthread/aio_fsync.c: Likewise.
36658 2012-02-26 Ulrich Drepper <drepper@gmail.com>
36660 * conform/Makefile (tests): Run only when not cross-compiling and
36661 when fast-check is not defined.
36663 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
36664 * conform/data/limits.h-data: Fixes for POSIX2008.
36665 * conform/run-conformtest.sh: Run all tests.
36666 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
36668 * include/bits/dlfcn.h: Likewise.
36669 * include/langinfo.h: Likewise.
36670 * include/monetary.h: Likewise.
36671 * include/sys/poll.h: Likewise.
36673 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
36675 * posix/spawn.h: Define __need_sigset_t.
36676 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
36677 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
36678 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
36679 to get sigevent_t only.
36680 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
36681 only for __USE_GNU.
36682 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36683 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
36684 process_vm_writev only for __USE_GNU.
36685 * termios/termios.h: Declare tcgetsid also for POSIX2008.
36687 * conform/Makefile: For now ignore errors from run-conformtest.
36688 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
36689 POSIX to avoid namespace pollution. Don't prepend headers.
36690 * conform/data/aio.h-data: Fixes for POSIX testing.
36691 * conform/data/fcntl.h-data: Likewise.
36692 * conform/data/glob.h-data: Likewise.
36693 * conform/data/grp.h-data: Likewise.
36694 * conform/data/pthread.h-data: Likewise.
36695 * conform/data/pwd.h-data: Likewise.
36696 * conform/data/signal.h-data: Likewise.
36697 * conform/data/spawn.h-data: Likewise.
36698 * conform/data/stdio.h-data: Likewise.
36699 * conform/data/stdlib.h-data: Likewise.
36700 * conform/data/stropts.h-data: Likewise.
36701 * conform/data/sys/mman.h-data: Likewise.
36702 * conform/data/sys/stat.h-data: Likewise.
36703 * conform/data/sys/types.h-data: Likewise.
36704 * conform/data/sys/wait.h-data: Likewise.
36705 * conform/data/time.h-data: Likewise.
36706 * conform/data/unistd.h-data: Likewise.
36707 * conform/data/utime.h-data: Likewise.
36709 * io/sys/stat.h: fchmod was always in POSIX.
36710 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
36711 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
36712 * rt/aio.h: Define __need_timespec before including <time.h>.
36713 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
36714 struct. Add forward declaration of pthread_attr_t and use it in
36716 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
36717 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
36718 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
36719 always remove CLK_TCK definition.
36721 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
36723 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
36725 2012-02-25 Ulrich Drepper <drepper@gmail.com>
36727 * conform/run-conformtest.sh: New file.
36728 * conform/Makefile: Run run-conformtest for tests.
36729 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
36732 * conform/data/uchar.h-data: New file.
36733 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
36734 * conform/data/arpa/inet.h-data: Likewise.
36735 * conform/data/assert.h-data: Likewise.
36736 * conform/data/complex.h-data: Likewise.
36737 * conform/data/cpio.h-data: Likewise.
36738 * conform/data/ctype.h-data: Likewise.
36739 * conform/data/dirent.h-data: Likewise.
36740 * conform/data/dlfcn.h-data: Likewise.
36741 * conform/data/errno.h-data: Likewise.
36742 * conform/data/fcntl.h-data: Likewise.
36743 * conform/data/float.h-data: Likewise.
36744 * conform/data/fmtmsg.h-data: Likewise.
36745 * conform/data/fnmatch.h-data: Likewise.
36746 * conform/data/ftw.h-data: Likewise.
36747 * conform/data/glob.h-data: Likewise.
36748 * conform/data/grp.h-data: Likewise.
36749 * conform/data/iconv.h-data: Likewise.
36750 * conform/data/inttypes.h-data: Likewise.
36751 * conform/data/langinfo.h-data: Likewise.
36752 * conform/data/libgen.h-data: Likewise.
36753 * conform/data/limits.h-data: Likewise.
36754 * conform/data/locale.h-data: Likewise.
36755 * conform/data/math.h-data: Likewise.
36756 * conform/data/monetary.h-data: Likewise.
36757 * conform/data/mqueue.h-data: Likewise.
36758 * conform/data/ndbm.h-data: Likewise.
36759 * conform/data/net/if.h-data: Likewise.
36760 * conform/data/netdb.h-data: Likewise.
36761 * conform/data/netinet/in.h-data: Likewise.
36762 * conform/data/nl_types.h-data: Likewise.
36763 * conform/data/poll.h-data: Likewise.
36764 * conform/data/pthread.h-data: Likewise.
36765 * conform/data/pwd.h-data: Likewise.
36766 * conform/data/regex.h-data: Likewise.
36767 * conform/data/sched.h-data: Likewise.
36768 * conform/data/search.h-data: Likewise.
36769 * conform/data/semaphore.h-data: Likewise.
36770 * conform/data/setjmp.h-data: Likewise.
36771 * conform/data/signal.h-data: Likewise.
36772 * conform/data/spawn.h-data: Likewise.
36773 * conform/data/stdarg.h-data: Likewise.
36774 * conform/data/stdio.h-data: Likewise.
36775 * conform/data/stdlib.h-data: Likewise.
36776 * conform/data/string.h-data: Likewise.
36777 * conform/data/strings.h-data: Likewise.
36778 * conform/data/stropts.h-data: Likewise.
36779 * conform/data/sys/ipc.h-data: Likewise.
36780 * conform/data/sys/mman.h-data: Likewise.
36781 * conform/data/sys/msg.h-data: Likewise.
36782 * conform/data/sys/resource.h-data: Likewise.
36783 * conform/data/sys/select.h-data: Likewise.
36784 * conform/data/sys/sem.h-data: Likewise.
36785 * conform/data/sys/shm.h-data: Likewise.
36786 * conform/data/sys/socket.h-data: Likewise.
36787 * conform/data/sys/stat.h-data: Likewise.
36788 * conform/data/sys/statvfs.h-data: Likewise.
36789 * conform/data/sys/time.h-data: Likewise.
36790 * conform/data/sys/timeb.h-data: Likewise.
36791 * conform/data/sys/times.h-data: Likewise.
36792 * conform/data/sys/types.h-data: Likewise.
36793 * conform/data/sys/uio.h-data: Likewise.
36794 * conform/data/sys/un.h-data: Likewise.
36795 * conform/data/sys/utsname.h-data: Likewise.
36796 * conform/data/sys/wait.h-data: Likewise.
36797 * conform/data/syslog.h-data: Likewise.
36798 * conform/data/tar.h-data: Likewise.
36799 * conform/data/termios.h-data: Likewise.
36800 * conform/data/utime.h-data: Likewise.
36801 * conform/data/utmpx.h-data: Likewise.
36802 * conform/data/varargs.h-data: Likewise.
36803 * conform/data/wchar.h-data: Likewise.
36804 * conform/data/wctype.h-data: Likewise.
36805 * conform/data/wordexp.h-data: Likewise.
36807 * include/stropts.h: New file.
36808 * include/uchar.h: New file.
36809 * include/aio.h: Changes to allow conformtest.pl to use the headers.
36810 * include/assert.h: Likewise.
36811 * include/ctype.h: Likewise.
36812 * include/dirent.h: Likewise.
36813 * include/dlfcn.h: Likewise.
36814 * include/fcntl.h: Likewise.
36815 * include/fnmatch.h: Likewise.
36816 * include/glob.h: Likewise.
36817 * include/grp.h: Likewise.
36818 * include/libio.h: Likewise.
36819 * include/locale.h: Likewise.
36820 * include/math.h: Likewise.
36821 * include/net/if.h: Likewise.
36822 * include/netdb.h: Likewise.
36823 * include/netinet/in.h: Likewise.
36824 * include/pthread.h: Likewise.
36825 * include/pwd.h: Likewise.
36826 * include/regex.h: Likewise.
36827 * include/sched.h: Likewise.
36828 * include/search.h: Likewise.
36829 * include/setjmp.h: Likewise.
36830 * include/signal.h: Likewise.
36831 * include/stdio.h: Likewise.
36832 * include/stdlib.h: Likewise.
36833 * include/string.h: Likewise.
36834 * include/sys/cdefs.h: Likewise.
36835 * include/sys/mman.h: Likewise.
36836 * include/sys/msg.h: Likewise.
36837 * include/sys/resource.h: Likewise.
36838 * include/sys/select.h: Likewise.
36839 * include/sys/socket.h: Likewise.
36840 * include/sys/stat.h: Likewise.
36841 * include/sys/statvfs.h: Likewise.
36842 * include/sys/time.h: Likewise.
36843 * include/sys/times.h: Likewise.
36844 * include/sys/uio.h: Likewise.
36845 * include/sys/utsname.h: Likewise.
36846 * include/sys/wait.h: Likewise.
36847 * include/termios.h: Likewise.
36848 * include/time.h: Likewise.
36849 * include/ulimit.h: Likewise.
36850 * include/unistd.h: Likewise.
36851 * include/utime.h: Likewise.
36852 * include/wchar.h: Likewise.
36853 * include/wctype.h: Likewise.
36854 * include/wordexp.h: Likewise.
36856 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
36858 * time/time.h: TIME_UTC must be a macro.
36859 Make timespec_get available for ISO C11 only as well.
36861 2012-02-24 Ulrich Drepper <drepper@gmail.com>
36863 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
36864 Reported by Peng Haitao <penght@cn.fujitsu.com>.
36866 2012-02-24 Joseph Myers <joseph@codesourcery.com>
36868 * configure.in: Use -o not -a in test for unsupported multi-arch.
36870 2012-02-24 Joseph Myers <joseph@codesourcery.com>
36872 * manual/texinfo.tex: Update to version 2012-01-19.16.
36874 2012-02-24 Joseph Myers <joseph@codesourcery.com>
36876 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
36878 2012-02-24 Roland McGrath <roland@hack.frob.com>
36881 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
36882 * manual/fdl-1.3.texi: New file.
36883 * manual/fdl-1.1.texi: File removed.
36886 * manual/libc.texinfo (FDL_VERSION): New @set.
36887 Use it for mention of FDL in cover text.
36888 (Documentation License): Use it in @include file name.
36890 2012-02-22 Joseph Myers <joseph@codesourcery.com>
36891 Roland McGrath <roland@hack.frob.com>
36894 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
36895 (not LONG_LONG_MAX and LONG_LONG_MIN.
36896 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
36897 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
36899 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
36901 2012-02-22 Joseph Myers <joseph@codesourcery.com>
36905 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
36906 manipulate bits before adding and subtracting TWO23[sx].
36907 * math/libm-test.inc (nearbyint_test): Add more tests.
36909 2012-02-22 Joseph Myers <joseph@codesourcery.com>
36912 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
36913 bits before adding and subtracting TWO23[sx].
36914 * math/libm-test.inc (rint_test): Add more tests.
36915 (rint_test_tonearest): Likewise.
36916 (rint_test_towardzero): Likewise.
36917 (rint_test_downward): Likewise.
36918 (rint_test_upward: Likewise.
36920 2012-02-22 Joseph Myers <joseph@codesourcery.com>
36923 * include/stdc-predef.h: New file. Extracted from features.h.
36924 * include/features.h: Include stdc-predef.h.
36925 * Makefile (headers): Add stdc-predef.h.
36926 * CONFORMANCE (Compiler limitations): Update.
36928 2012-02-22 Joseph Myers <joseph@codesourcery.com>
36930 * manual/libc.texinfo (VERSION, UPDATED): Revert.
36932 2012-02-21 David S. Miller <davem@davemloft.net>
36934 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
36935 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
36937 2012-02-20 David S. Miller <davem@davemloft.net>
36939 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
36940 using a normal save/restore sequence, rather than allocating a
36941 dummy stack frame just to store a frame pointer and restore.
36942 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36944 2012-02-21 Joseph Myers <joseph@codesourcery.com>
36946 * manual/install.texi: Fix stray word in line-wrapped comment.
36948 2012-02-20 David S. Miller <davem@davemloft.net>
36950 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
36951 both binutils and gcc support GOTDATA.
36953 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
36954 "rd %pc" in the PIC register setup sequences.
36956 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
36957 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
36958 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
36959 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
36960 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
36961 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
36962 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36963 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36964 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
36965 (SYSCALL_ERROR_HANDLER): Likewise.
36966 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
36967 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
36968 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
36969 (SYSCALL_ERROR_HANDLER): Likewise.
36971 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
36972 (HAVE_GCC_GOTDATA): New.
36973 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
36974 relocation support in both binutils and gcc.
36975 * sysdeps/sparc/elf/configure: Regenerate.
36977 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
36978 * sysdeps/sparc/sparc32/elf/configure: Delete.
36979 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
36980 * sysdeps/sparc/sparc64/elf/configure: Delete.
36981 * sysdeps/sparc/elf/configure.in: New file.
36982 * sysdeps/sparc/elf/configure: Generate.
36984 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
36985 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
36986 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
36987 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
36988 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
36990 2012-02-21 Joseph Myers <joseph@codesourcery.com>
36992 * manual/install.texi: Do not mention specific glibc version
36994 * manual/libc.texinfo (VERSION, UPDATED): Update.
36995 (@copying): Use @copyright{} and range of years.
36997 2012-02-21 Joseph Myers <joseph@codesourcery.com>
37000 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
37001 [crti.S not in sysdirs] (generated): Do not append.
37002 [crti.S not in sysdirs] (omit-deps): Likewise.
37003 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
37004 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
37005 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
37006 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
37007 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
37009 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
37010 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
37011 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
37012 * csu/defs.awk: Remove file.
37013 * sysdeps/generic/initfini.c: Likewise.
37014 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
37016 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
37019 2012-02-20 Joseph Myers <joseph@codesourcery.com>
37021 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
37022 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
37023 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
37024 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
37025 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
37026 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
37028 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
37029 (__EPOLL_PACKED): Define to empty if not defined by
37031 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
37032 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37035 2012-02-20 Joseph Myers <joseph@codesourcery.com>
37037 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
37038 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
37039 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
37040 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
37042 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
37043 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37046 2012-02-20 Joseph Myers <joseph@codesourcery.com>
37048 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
37050 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37051 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
37052 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
37053 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37055 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
37057 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37058 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
37060 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
37062 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
37063 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
37065 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
37067 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
37070 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
37072 * math/w_acos.c: Use non-signaling floating-point comparisons.
37073 * math/w_acosf.c: Likewise.
37074 * math/w_acosh.c: Likewise.
37075 * math/w_acoshf.c: Likewise.
37076 * math/w_acoshl.c: Likewise.
37077 * math/w_acosl.c: Likewise.
37078 * math/w_asin.c: Likewise.
37079 * math/w_asinf.c: Likewise.
37080 * math/w_asinl.c: Likewise.
37081 * math/w_atanh.c: Likewise.
37082 * math/w_atanhf.c: Likewise.
37083 * math/w_atanhl.c: Likewise.
37084 * math/w_exp2.c: Likewise.
37085 * math/w_exp2f.c: Likewise.
37086 * math/w_exp2l.c: Likewise.
37087 * math/w_j0.c: Likewise.
37088 * math/w_j0f.c: Likewise.
37089 * math/w_j0l.c: Likewise.
37090 * math/w_j1.c: Likewise.
37091 * math/w_j1f.c: Likewise.
37092 * math/w_j1l.c: Likewise.
37093 * math/w_jn.c: Likewise.
37094 * math/w_jnf.c: Likewise.
37095 * math/w_log.c: Likewise.
37096 * math/w_log10.c: Likewise.
37097 * math/w_log10f.c: Likewise.
37098 * math/w_log10l.c: Likewise.
37099 * math/w_log2.c: Likewise.
37100 * math/w_log2f.c: Likewise.
37101 * math/w_log2l.c: Likewise.
37102 * math/w_logf.c: Likewise.
37103 * math/w_logl.c: Likewise.
37104 * math/w_sqrt.c: Likewise.
37105 * math/w_sqrtf.c: Likewise.
37106 * math/w_sqrtl.c: Likewise.
37107 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
37108 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
37109 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37110 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
37111 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
37113 2012-02-19 Joseph Myers <joseph@codesourcery.com>
37116 * manual/string.texi (strnlen): Use correct parameter name in
37117 equivalent expression.
37119 2012-02-19 Joseph Myers <joseph@codesourcery.com>
37122 * manual/users.texi (seteuid): Consistently use neweuid for
37125 2012-02-19 Joseph Myers <joseph@codesourcery.com>
37128 * manual/nss.texi (Services in the NSS configuration): Correct
37129 list of services in example configuration file.
37131 2012-02-19 Nick Bowler <nbowler@draconx.ca>
37134 * manual/arith.texi: Remove statements about negative zero
37135 behaving identically to zero.
37137 2012-02-18 Joseph Myers <joseph@codesourcery.com>
37140 * manual/install.texi: Do not document upgrading from libc5.
37142 2012-02-18 Joseph Myers <joseph@codesourcery.com>
37145 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
37147 2012-02-18 David S. Miller <davem@davemloft.net>
37149 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
37150 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
37151 %o7 across the call.
37152 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
37154 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
37155 SETUP_PIC_REG_LEAF.
37156 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37157 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
37158 * sysdeps/sparc/crtn.S: Likewise.
37160 2012-02-17 Ulrich Drepper <drepper@gmail.com>
37162 * aout/Makefile: Remove.
37164 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
37167 * manual/examples/argp-ex1.c (main): Format definition in GNU
37169 * manual/examples/argp-ex2.c (main): Likewise.
37170 * manual/examples/argp-ex3.c (main): Likewise.
37171 * manual/examples/argp-ex4.c (main): Likewise.
37172 * manual/examples/longopt.c (main): Use new-style prototype
37174 * manual/examples/strncat.c (main): Specify return type and use
37175 (void) for arguments.
37176 * manual/examples/subopt.c (main): Use char **argv argument.
37178 2012-02-17 Joseph Myers <joseph@codesourcery.com>
37181 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
37184 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
37187 * manual/string.texi (strchr): Change when strchrnul is
37190 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
37193 * manual/locale.texi (setlocale): Document LOCPATH.
37195 2012-02-17 Joseph Myers <joseph@codesourcery.com>
37198 * manual/process.texi (execle): Move @dots{} before last argument.
37200 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
37203 * manual/charset.texi (Generic Charset Conversion): Fix typo
37204 (LC_TYPE -> LC_CTYPE).
37206 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
37209 * manual/arith.texi (scalbn): Use @var{} on parameter names.
37210 (scalbnf): Likewise.
37211 (scalbnl): Likewise.
37212 (scalbln): Likewise.
37213 (scalblnf): Likewise.
37214 (scalblnl): Likewise.
37215 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
37216 (vwarnx): Likewise.
37219 * manual/filesys.texi (telldir): Use braces around return type.
37220 * manual/llio.texi (mmap): Add space after comma.
37221 (mmap64): Likewise.
37222 * manual/math.texi (jn): Use @var{} on parameter names.
37228 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
37230 * manual/resource.texi (ulimit): Use @dots{} instead of literal
37232 (sched_get_priority_min): Remove semicolon on @deftypefun line.
37233 (sched_get_priority_max): Likewise.
37234 * manual/signal.texi (sigvec): Add space after comma.
37235 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
37237 (if_indextoname): Likewise.
37238 (if_freenameindex): Likewise.
37239 (sendto): Use ',' instead of '.' in prototype.
37240 * manual/startup.texi (syscall): Use @dots{} instead of literal
37242 * manual/stdio.texi (__fpending): Separate initial words of
37243 paragraph from @deftypefun line.
37244 * manual/syslog.texi (syslog): Use @dots{} instead of literal
37246 (vsyslog): Use @var{} on parameter names.
37247 * manual/terminal.texi (stty): Use @var{} on parameter names.
37248 * manual/users.texi (getutmp): Use @var{} on parameter names.
37249 (getutmpx): Likewise.
37251 2012-02-17 Joseph Myers <joseph@codesourcery.com>
37254 * manual/stdio.texi (fopen): Fix typos in description of
37257 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
37260 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
37261 get clock_id definition.
37263 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
37266 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
37267 (madvise): Cast every argument to void on its own.
37269 2012-02-17 Joseph Myers <joseph@codesourcery.com>
37272 * manual/startup.texi (Exit Status): Fix typo.
37274 2012-02-17 Joseph Myers <joseph@codesourcery.com>
37277 * manual/examples/argp-ex1.c: Include <stdlib.h>.
37278 * manual/examples/argp-ex2.c: Likewise.
37279 * manual/examples/argp-ex3.c: Likewise.
37281 2012-02-16 Richard Henderson <rth@redhat.com>
37283 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
37284 * sysdeps/s390/s390-32/initfini.c: Remove.
37285 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
37286 * sysdeps/s390/s390-64/initfini.c: Remove.
37288 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
37290 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
37291 compiler output for sysdeps/generic/initfini.c.
37292 * sysdeps/sh/elf/initfini.c: Remove file.
37294 2012-02-16 David S. Miller <davem@davemloft.net>
37297 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
37299 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
37300 * sysdeps/sparc/crti.S: New file.
37301 * sysdeps/sparc/crtn.S: New file.
37302 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
37303 * sysdeps/sparc/sparc64/Makefile: Likewise.
37305 2012-02-15 Mike Frysinger <vapier@gentoo.org>
37308 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
37310 2012-02-15 Roland McGrath <roland@hack.frob.com>
37313 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
37315 * mach/devstream.c (cookie_io_functions_t): Macro removed.
37316 (write, read, close): Likewise.
37317 Patch by Aurelien Jarno <aurelien@aurel32.net>.
37319 2012-02-15 Joseph Myers <joseph@codesourcery.com>
37321 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
37322 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
37323 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
37324 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
37326 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
37327 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37330 2012-02-14 Marek Polacek <polacek@redhat.com>
37332 * sysdeps/x86_64/crti.S: New file.
37333 * sysdeps/x86_64/crtn.S: New file.
37334 * sysdeps/x86_64/elf/initfini.c: Remove file.
37336 2012-02-13 Joseph Myers <joseph@codesourcery.com>
37338 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
37339 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
37340 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
37341 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
37343 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
37344 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37347 2012-02-13 Joseph Myers <joseph@codesourcery.com>
37349 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
37350 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
37351 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
37352 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
37354 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
37355 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37358 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
37360 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
37361 __feraiseexcept instead of feraiseexcept.
37363 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
37364 nanosleep invocations.
37365 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
37366 strings, and add error checking for a nanosleep invocations.
37368 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
37370 Replace FSF snail mail address with URLs, as per GNU coding standards.
37371 Most of the snail mail addresses were wrong anyway, and omitting
37372 them makes the source code easier to maintain. Almost all of the
37373 changes are to license notices and to locale LC_IDENTIFICATION
37374 addresses, except for this one:
37375 * manual/libc.texinfo: In "Published by", give the FSF's URL,
37376 not its snail mail address.
37378 2012-02-09 Richard Henderson <rth@twiddle.net>
37380 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
37381 of kernel-features.h.
37383 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
37385 2012-02-08 Marek Polacek <polacek@redhat.com>
37387 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
37388 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
37389 * sysdeps/gnu/_G_config.h: Likewise.
37390 * sysdeps/generic/_G_config.h: Likewise.
37392 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
37394 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
37396 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37398 * sysdeps/powerpc/powerpc32/crti.S: New file.
37399 * sysdeps/powerpc/powerpc32/crtn.S: New file.
37400 * sysdeps/powerpc/powerpc64/crti.S: New file.
37401 * sysdeps/powerpc/powerpc64/crtn.S: New file.
37403 * Makeconfig (have-initfini): Don't set.
37404 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
37405 * configure.in (nopic_initfini): Don't substitute.
37406 * config.h.in (HAVE_INITFINI): Don't #undef.
37407 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
37408 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
37410 2012-02-08 Joseph Myers <joseph@codesourcery.com>
37412 Support crti.S and crtn.S provided directly by architectures.
37413 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
37414 [crti.S in sysdirs] (omit-deps): Likewise.
37415 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
37416 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
37417 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
37418 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
37419 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
37420 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
37421 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
37422 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
37423 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
37424 compiler output for sysdeps/generic/initfini.c.
37425 * sysdeps/i386/elf/Makefile: Remove file.
37426 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
37428 2012-02-07 Marek Polacek <polacek@redhat.com>
37430 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
37431 * sysdeps/gnu/_G_config.h: Likewise.
37432 * sysdeps/mach/hurd/_G_config.h: Likewise.
37434 2012-02-07 Marek Polacek <polacek@redhat.com>
37436 * math/Makefile (tests): Add tst-CMPLX2.
37437 * math/tst-CMPLX2.c: New file.
37439 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
37441 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37443 * math/libm-test.inc (jn_test): Add missing L suffix.
37445 2012-02-06 Marek Polacek <polacek@redhat.com>
37447 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
37448 * sysdeps/i386/fpu/e_powf.S: Likewise.
37449 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
37450 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
37451 * sysdeps/i386/fpu/e_acosh.S: Likewise.
37452 * sysdeps/i386/fpu/e_pow.S: Likewise.
37453 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
37454 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
37455 * sysdeps/i386/fpu/s_expm1.S: Likewise.
37456 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
37457 * sysdeps/i386/fpu/e_log2.S: Likewise.
37458 * sysdeps/i386/fpu/e_log2l.S: Likewise.
37459 * sysdeps/i386/fpu/e_scalb.S: Likewise.
37460 * sysdeps/i386/fpu/e_powl.S: Likewise.
37461 * sysdeps/i386/fpu/s_log1p.S: Likewise.
37462 * sysdeps/i386/fpu/e_log10f.S: Likewise.
37463 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
37464 * sysdeps/i386/fpu/e_logl.S: Likewise.
37465 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
37466 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
37467 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
37468 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
37469 * sysdeps/i386/fpu/e_log2f.S: Likewise.
37470 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
37471 * sysdeps/i386/fpu/e_log.S: Likewise.
37472 * sysdeps/i386/fpu/s_cexp.S: Likewise.
37473 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
37474 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
37475 * sysdeps/i386/fpu/e_logf.S: Likewise.
37476 * sysdeps/i386/fpu/e_log10l.S: Likewise.
37477 * sysdeps/i386/fpu/e_atanh.S: Likewise.
37478 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
37479 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
37480 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
37481 * sysdeps/i386/fpu/e_log10.S: Likewise.
37482 * sysdeps/i386/fpu/s_frexp.S: Likewise.
37483 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
37484 * sysdeps/i386/fpu/s_asinh.S: Likewise.
37485 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
37486 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
37487 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
37488 * sysdeps/i386/asm-syntax.h: Likewise.
37489 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
37490 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37491 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
37492 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
37493 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
37494 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
37495 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
37496 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
37497 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
37498 * sysdeps/powerpc/sysdep.h: Likewise.
37499 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
37500 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
37502 2012-02-06 Joseph Myers <joseph@codesourcery.com>
37505 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
37507 2012-02-06 Joseph Myers <joseph@codesourcery.com>
37509 * sysdeps/i386/sysdep.h: Include <features.h>.
37510 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
37513 2012-02-05 Joseph Myers <joseph@codesourcery.com>
37515 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
37517 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
37520 2012-02-03 Joseph Myers <joseph@codesourcery.com>
37522 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
37523 (SETUP_PIC_REG): Use GET_PC_THUNK.
37524 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
37527 2012-02-03 Joseph Myers <joseph@codesourcery.com>
37529 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
37530 for non-PIC compilation.
37531 (SETUP_PIC_REG): Add .p2align directive.
37532 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
37533 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
37534 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
37535 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
37536 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
37537 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
37538 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
37539 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
37540 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
37541 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
37542 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
37543 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
37544 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
37545 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
37546 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
37547 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
37548 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
37549 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
37550 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
37551 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
37552 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
37553 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
37554 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
37555 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
37556 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
37557 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
37558 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37559 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
37560 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
37561 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
37562 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
37563 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37564 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
37565 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
37566 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
37567 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
37568 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
37569 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
37570 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
37571 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
37572 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
37574 2012-02-03 Joseph Myers <joseph@codesourcery.com>
37576 * math/tst-CMPLX.c: Include <stdio.h>.
37578 2012-01-31 Joseph Myers <joseph@codesourcery.com>
37580 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
37582 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
37583 * sysdeps/sparc/bits/mathdef.h: Likewise.
37585 2012-01-31 Marek Polacek <polacek@redhat.com>
37587 * libio/libio.h: Don't define _PARAMS.
37588 * locale/programs/config.h: Don't define PARAMS.
37589 * stdlib/strtol_l.c: Likewise.
37590 (__strtol_l): Remove PARAMS from the prototype.
37592 2012-01-31 Ulrich Drepper <drepper@gmail.com>
37594 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
37595 names. Just use the correct names. Remove unnecessary wrapper
37597 * malloc/arena.c: Likewise.
37598 * malloc/hooks.c: Likewise.
37600 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
37601 ARENA_TEST says not to. Simplify test for creation of a new arena.
37602 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
37604 2012-01-30 Ulrich Drepper <drepper@gmail.com>
37606 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
37608 (update_get_addr): New function.
37609 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
37610 GET_ADDR_MODULE parameter.
37612 2012-01-30 Joseph Myers <joseph@codesourcery.com>
37614 * crypt/cert.c: Remove __STDC__ conditionals.
37615 * crypt/crypt-entry.c: Likewise.
37616 * crypt/crypt_util.c: Likewise.
37617 * libio/filedoalloc.c: Likewise.
37618 * libio/fileops.c: Likewise.
37619 * libio/genops.c: Likewise.
37620 * libio/iofclose.c: Likewise.
37621 * libio/iofdopen.c: Likewise.
37622 * libio/iofopen.c: Likewise.
37623 * libio/iofopen64.c: Likewise.
37624 * libio/iogetdelim.c: Likewise.
37625 * libio/iopopen.c: Likewise.
37626 * libio/obprintf.c: Likewise.
37627 * libio/oldfileops.c: Likewise.
37628 * libio/oldiofclose.c: Likewise.
37629 * libio/oldiofdopen.c: Likewise.
37630 * libio/oldiofopen.c: Likewise.
37631 * libio/oldiopopen.c: Likewise.
37632 * libio/wfiledoalloc.c: Likewise.
37633 * libio/wgenops.c: Likewise.
37634 * locale/programs/xmalloc.c: Likewise.
37635 * misc/syslog.c: Likewise.
37636 * stdio-common/xbug.c: Likewise.
37637 * string/memchr.c: Likewise.
37638 * string/memcmp.c: Likewise.
37639 * string/memrchr.c: Likewise.
37640 * string/rawmemchr.c: Likewise.
37641 * sysdeps/posix/getcwd.c: Likewise.
37642 * time/strftime_l.c: Likewise.
37644 2012-01-30 Joseph Myers <joseph@codesourcery.com>
37646 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
37647 * config.make.in (config-cflags-sse2avx): Define.
37648 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
37651 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
37653 * scripts/config.guess: Update from upstream config git repository.
37654 * scripts/config.sub: Likewise.
37656 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
37658 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
37660 (R_TILEPRO_*, R_TILEGX_*): New macros.
37662 * scripts/firstversions.awk: Fix bug in version range handling.
37664 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
37666 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
37668 * include/sys/epoll.h: New file.
37669 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
37672 2012-01-28 Ulrich Drepper <drepper@gmail.com>
37674 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
37675 Avoid unnecessary __WORDSIZE == 64 test.
37676 (fmaxf): Use VEX format if possible.
37681 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
37682 * math/math_private.h: Remove libc_fegetround* and
37684 * sysdeps/i386/configure.in: Check for -msse2avx.
37685 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
37686 also if SSE2AVX is defined.
37687 Remove libc_fegetround* and libc_fesetround*.
37688 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
37689 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
37690 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
37692 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37693 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37694 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37695 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37696 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37698 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
37700 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37702 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
37704 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
37706 2012-01-27 Ulrich Drepper <drepper@gmail.com>
37709 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
37711 * Makeconfig (libm): Define.
37712 * elf/Makefile: Add rules to build and run tst-relsort1.
37713 * elf/tst-relsort1.c: New file.
37714 * elf/tst-relsort1mod1.c: New file.
37715 * elf/tst-relsort1mod2.c: New file.
37717 2012-01-27 Joseph Myers <joseph@codesourcery.com>
37719 * math/s_ldexp.c: Remove __STDC__ conditionals.
37720 * math/s_ldexpf.c: Likewise.
37721 * math/s_ldexpl.c: Likewise.
37722 * math/s_nextafter.c: Likewise.
37723 * math/s_nexttowardf.c: Likewise.
37724 * math/s_significand.c: Likewise.
37725 * math/s_significandf.c: Likewise.
37726 * math/s_significandl.c: Likewise.
37727 * math/w_jnl.c: Likewise.
37728 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
37729 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
37730 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
37731 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
37732 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
37733 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
37734 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
37735 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
37736 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
37737 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
37738 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
37739 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37740 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
37741 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
37742 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
37743 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
37744 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
37745 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
37746 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
37747 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37748 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37749 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
37750 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
37751 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
37752 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
37753 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
37754 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
37755 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
37756 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
37757 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
37758 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
37759 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
37760 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
37761 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
37762 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
37763 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
37764 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
37765 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
37766 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
37767 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
37768 * sysdeps/ieee754/k_standard.c: Likewise.
37769 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37770 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
37771 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
37772 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
37773 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
37774 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
37775 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
37776 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
37777 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
37778 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
37779 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
37780 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
37781 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
37782 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
37783 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
37784 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
37785 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
37786 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
37787 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
37788 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
37789 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
37790 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
37791 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
37792 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
37793 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
37794 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
37795 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37796 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37797 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
37798 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
37799 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
37800 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
37801 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
37802 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
37803 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
37804 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
37805 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
37806 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
37807 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
37808 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
37809 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
37810 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
37811 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
37812 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
37813 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
37814 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
37815 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
37816 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
37817 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
37818 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
37819 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
37820 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
37821 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
37822 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
37823 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
37824 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
37825 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
37826 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37827 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37828 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37829 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
37830 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
37831 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
37832 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
37833 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
37834 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
37835 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
37836 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
37837 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
37838 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
37839 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
37840 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
37841 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
37842 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
37843 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
37844 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
37845 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
37846 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
37847 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
37848 * sysdeps/ieee754/s_matherr.c: Likewise.
37849 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
37850 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
37851 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
37852 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
37854 2012-01-26 Joseph Myers <joseph@codesourcery.com>
37856 * crypt/md5.h: Remove __STDC__ conditionals.
37857 * libio/libioP.h: Likewise.
37858 * locale/programs/config.h: Likewise.
37859 * sysdeps/generic/sysdep.h: Likewise.
37860 * sysdeps/i386/asm-syntax.h: Likewise.
37861 * sysdeps/s390/asm-syntax.h: Likewise.
37862 * sysdeps/unix/sysdep.h: Likewise.
37863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
37864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
37866 2012-01-26 Joseph Myers <joseph@codesourcery.com>
37868 * libio/libio.h: Remove __STDC__ conditionals.
37869 * malloc/obstack.h: Likewise.
37870 * math/complex.h: Likewise.
37871 * math/math.h: Likewise.
37872 * sysdeps/generic/_G_config.h: Likewise.
37873 * sysdeps/gnu/_G_config.h: Likewise.
37874 * sysdeps/mach/hurd/_G_config.h: Likewise.
37875 * sysdeps/powerpc/bits/mathdef.h: Likewise.
37876 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
37877 * sysdeps/sparc/bits/mathdef.h: Likewise.
37879 2012-01-26 Ulrich Drepper <drepper@gmail.com>
37882 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
37883 Clean up HAS_* macros.
37884 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
37885 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
37887 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
37889 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37890 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37891 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37892 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37893 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37895 2012-01-25 Joseph Myers <joseph@codesourcery.com>
37897 * elf/tst-unique3.cc (gets): Remove declaration.
37898 * elf/tst-unique3lib.cc (gets): Likewise.
37899 * elf/tst-unique3lib2.cc (gets): Likewise.
37900 * elf/tst-unique4.cc (gets): Likewise.
37902 2012-01-24 Ulrich Drepper <drepper@gmail.com>
37904 * include/stdio.h: Add C++ protection. Add gets declarations and
37906 * debug/tst-chk1.c: Don't declare gets here.
37907 * stdio-common/tst-gets.c: Likewise.
37909 2012-01-24 Joseph Myers <joseph@codesourcery.com>
37911 * posix/glob: Remove directory.
37913 2012-01-24 Joseph Myers <joseph@codesourcery.com>
37915 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
37917 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
37919 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
37920 of the non-standard EPFNOSUPPORT.
37922 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
37924 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
37925 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
37926 ANYWHERE set to 1 only on KERN_NO_SPACE error.
37928 2012-01-21 Ulrich Drepper <drepper@gmail.com>
37930 * wcsmbs/uchar.h: Test __STDC_VERSION__.
37932 2012-01-20 Ulrich Drepper <drepper@gmail.com>
37934 * nscd/aicache.c (addhstaiX): Do not cache negative results of
37936 * nscd/grpcache.c (cache_addgr): Likewise.
37937 * nscd/hstcache.c (cache_addhst): Likewise.
37938 * nscd/initgrcache.c (addinitgroupsX): Likewise.
37939 * nscd/pwdcache.c (cache_addpw): Likewise.
37940 * nscd/servicescache.c (cache_addserv): Likewise.
37942 2012-01-16 Ulrich Drepper <drepper@gmail.com>
37944 * malloc/malloc.c: Various cleanups.
37945 * malloc/hooks.c: Likewise.
37947 * stdlib/Makefile (tests): Add bug-fmtmsg1.
37948 * stdlib/bug-fmtmsg1.c: New file.
37950 * stdlib/fmtmsg.c (init): Add missing unlock.
37951 Patch by Peng Haitao <penght@cn.fujitsu.com>.
37953 2012-01-12 Marek Polacek <polacek@redhat.com>
37955 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
37958 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
37960 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
37961 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
37962 macro to ensure uniqueness of label name.
37963 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
37964 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
37966 2012-01-11 Ulrich Drepper <drepper@gmail.com>
37968 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
37970 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
37971 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
37972 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
37973 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
37975 2012-01-10 Ulrich Drepper <drepper@gmail.com>
37977 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
37979 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
37980 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
37981 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
37983 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
37985 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
37986 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
37987 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
37988 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
37990 * math/bits/math-finite.h: Add ldexp support.
37992 2012-01-10 Marek Polacek <polacek@redhat.com>
37994 * locale/programs/localedef.h (show_archive_content): Add noreturn
37997 2012-01-09 Ulrich Drepper <drepper@gmail.com>
37999 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
38001 2012-01-08 Ulrich Drepper <drepper@gmail.com>
38003 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
38005 * io/Makefile (headers): Add bits/poll2.h.
38007 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
38009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
38010 typo #include statement.
38012 2012-01-08 Ulrich Drepper <drepper@gmail.com>
38014 * include/sys/cdefs.h: Define __attribute_alloc_size.
38015 * catgets/gencat.c: Add alloc_size attribute and apply consistently
38016 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
38017 * elf/pldd.c: Likewise.
38018 * iconv/iconv_charmap.c: Likewise.
38019 * iconv/iconvconfig.c: Likewise.
38020 * iconv/strtab.c: Likewise.
38021 * locale/programs/locale.c: Likewise.
38022 * locale/programs/localedef.h: Likewise.
38023 * locale/programs/simple-hash.c: Likewise.
38024 * nscd/nscd.h: Likewise.
38025 * nss/makedb.c: Likewise.
38026 * sysdeps/generic/ldconfig.h: Likewise.
38027 * locale/programs/localedef.c: Remove xmalloc prototype.
38028 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
38030 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
38032 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
38035 2012-01-08 Ulrich Drepper <drepper@gmail.com>
38037 * math/Makefile (tests): Add tst-CMPLX.
38038 * math/tst-CMPLX.c: New file.
38040 * math/complex.h (CMPLXL): Fix typo.
38042 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
38043 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
38045 * debug/tst-chk1.c: Add poll and ppoll tests.
38046 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
38047 * include/sys/poll.h: Add hidden proto for ppoll.
38048 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
38049 * sysdeps/mach/hurd/ppoll.c: Likewise.
38050 * io/ppoll.c: Likewise.
38051 * debug/poll_chk.c: New file.
38052 * debug/ppoll_chk.c: New file.
38053 * include/bits/poll2.h: New file.
38054 * io/bits/poll2.h: New file.
38057 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
38059 * configure.in: static is always set to yes. Remove.
38060 * config.make.in: Don't set build-static.
38061 * Makeconfig: Remove use of build-static.
38062 * dlfcn/Makefile: Likewise.
38063 * elf/Makefile: Likewise.
38064 * math/Makefile: Likewise.
38065 * misc/Makefile: Likewise.
38066 * nptl/Makefile: Likewise.
38067 * sysdeps/mach/hurd/Makefile: Likewise.
38069 * configure.in: PWD_P is not used anymore.
38070 * config.make.in: Remove PWD_P entry.
38072 * configure.in: Remove last remnants of RANLIB.
38073 No need to check for signed size_t anymore.
38074 Don't set libc_commonpagesize and libc_relro_required here for Alpha
38076 Remove __builtin_expect test because we require at least gcc 3.4.
38077 * aclocal.m4: Likewise.
38079 * wcsmbs/mbrtoc16.c: Implement using towc function.
38080 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
38081 * wcsmbs/wcsmbsload.c: Likewise.
38082 * iconv/gconv_simple.c: Likewise.
38083 * iconv/gconv_int.h: Likewise.
38084 * iconv/gconv_builtin.h: Likewise.
38085 * iconv/iconv_prog.c: Remove CHAR16 handling.
38087 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
38089 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
38091 * configure.in: Remove --with-elf and --enable-bounded options.
38092 Dont set base_machine for ia64. More non-ELF conditions removed.
38093 Remove testing and setting of leading underscore information.
38094 * config.make.in (build-bounded): Set to no.
38095 * config.h.in: Remove NO_UNDERSCORES entry.
38096 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
38098 * csu/start.c: Remove !NO_UNDERSCORE code.
38099 * locale/localeinfo.h: Likewise.
38100 * sysdeps/generic/machine-gmon.h: Likewise.
38101 * sysdeps/generic/sysdep.h: Likewise.
38102 * sysdeps/i386/sysdep.h: Likewise.
38103 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
38104 * sysdeps/mach/sysdep.h: Likewise.
38105 * sysdeps/s390/s390-32/sysdep.h: Likewise.
38106 * sysdeps/s390/s390-64/sysdep.h: Likewise.
38107 * sysdeps/sh/sysdep.h: Likewise.
38108 * sysdeps/sparc/sparc32/alloca.S: Likewise.
38109 * sysdeps/unix/i386/sysdep.S: Likewise.
38110 * sysdeps/unix/sparc/start.c: Likewise.
38111 * sysdeps/unix/sparc/sysdep.S: Likewise.
38112 * sysdeps/unix/sparc/sysdep.h: Likewise.
38113 * sysdeps/unix/start.c: Likewise.
38114 * sysdeps/unix/x86_64/sysdep.S: Likewise.
38115 * sysdeps/x86_64/sysdep.h: Likewise.
38117 2012-01-07 Ulrich Drepper <drepper@gmail.com>
38120 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
38122 * argp/argp-fmtstream.h: Use const instead __const.
38123 * argp/argp.h: Likewise.
38124 * assert/assert.h: Likewise.
38125 * bits/fenv.h: Likewise.
38126 * bits/sched.h: Likewise.
38127 * bits/sigset.h: Likewise.
38128 * bits/sigthread.h: Likewise.
38129 * catgets/nl_types.h: Likewise.
38130 * conform/data/pthread.h-data: Likewise.
38131 * crypt/crypt-private.h: Likewise.
38132 * crypt/crypt.h: Likewise.
38133 * crypt/crypt_util.c: Likewise.
38134 * ctype/ctype.h: Likewise.
38135 * debug/execinfo.h: Likewise.
38136 * debug/mbsnrtowcs_chk.c: Likewise.
38137 * debug/mbsrtowcs_chk.c: Likewise.
38138 * debug/wcsnrtombs_chk.c: Likewise.
38139 * debug/wcsrtombs_chk.c: Likewise.
38140 * debug/wcstombs_chk.c: Likewise.
38141 * dirent/dirent.h: Likewise.
38142 * dlfcn/dlfcn.h: Likewise.
38143 * elf/neededtest4.c: Likewise.
38144 * grp/grp.h: Likewise.
38145 * gshadow/gshadow.h: Likewise.
38146 * iconv/gconv.h: Likewise.
38147 * iconv/gconv_int.h: Likewise.
38148 * iconv/gconv_simple.c: Likewise.
38149 * iconv/iconv.h: Likewise.
38150 * iconv/loop.c: Likewise.
38151 * iconv/skeleton.c: Likewise.
38152 * include/aio.h: Likewise.
38153 * include/aliases.h: Likewise.
38154 * include/argz.h: Likewise.
38155 * include/arpa/inet.h: Likewise.
38156 * include/assert.h: Likewise.
38157 * include/dirent.h: Likewise.
38158 * include/dlfcn.h: Likewise.
38159 * include/execinfo.h: Likewise.
38160 * include/fcntl.h: Likewise.
38161 * include/fenv.h: Likewise.
38162 * include/glob.h: Likewise.
38163 * include/grp.h: Likewise.
38164 * include/libintl.h: Likewise.
38165 * include/mntent.h: Likewise.
38166 * include/netdb.h: Likewise.
38167 * include/pwd.h: Likewise.
38168 * include/rpc/netdb.h: Likewise.
38169 * include/sched.h: Likewise.
38170 * include/search.h: Likewise.
38171 * include/shadow.h: Likewise.
38172 * include/signal.h: Likewise.
38173 * include/stdio.h: Likewise.
38174 * include/stdlib.h: Likewise.
38175 * include/string.h: Likewise.
38176 * include/sys/socket.h: Likewise.
38177 * include/sys/stat.h: Likewise.
38178 * include/sys/statfs.h: Likewise.
38179 * include/sys/statvfs.h: Likewise.
38180 * include/sys/syslog.h: Likewise.
38181 * include/sys/time.h: Likewise.
38182 * include/sys/uio.h: Likewise.
38183 * include/time.h: Likewise.
38184 * include/unistd.h: Likewise.
38185 * include/utmp.h: Likewise.
38186 * include/wchar.h: Likewise.
38187 * include/wctype.h: Likewise.
38188 * inet/aliases.h: Likewise.
38189 * inet/arpa/inet.h: Likewise.
38190 * inet/netinet/ether.h: Likewise.
38191 * inet/netinet/in.h: Likewise.
38192 * intl/libintl.h: Likewise.
38193 * io/bits/fcntl2.h: Likewise.
38194 * io/fcntl.h: Likewise.
38195 * io/ftw.h: Likewise.
38196 * io/sys/poll.h: Likewise.
38197 * io/sys/stat.h: Likewise.
38198 * io/sys/statfs.h: Likewise.
38199 * io/sys/statvfs.h: Likewise.
38200 * io/utime.h: Likewise.
38201 * libio/bits/stdio.h: Likewise.
38202 * libio/bits/stdio2.h: Likewise.
38203 * libio/libio.h: Likewise.
38204 * libio/libioP.h: Likewise.
38205 * libio/stdio.h: Likewise.
38206 * locale/lc-ctype.c: Likewise.
38207 * locale/locale.h: Likewise.
38208 * login/utmp.h: Likewise.
38209 * malloc/arena.c: Likewise.
38210 * malloc/malloc.c: Likewise.
38211 * malloc/malloc.h: Likewise.
38212 * malloc/mcheck.c: Likewise.
38213 * malloc/mtrace.c: Likewise.
38214 * math/bits/mathcalls.h: Likewise.
38215 * math/fenv.h: Likewise.
38216 * math/math_private.h: Likewise.
38217 * misc/bits/error.h: Likewise.
38218 * misc/bits/syslog.h: Likewise.
38219 * misc/err.h: Likewise.
38220 * misc/error.h: Likewise.
38221 * misc/fstab.h: Likewise.
38222 * misc/mntent.h: Likewise.
38223 * misc/regexp.h: Likewise.
38224 * misc/search.h: Likewise.
38225 * misc/sgtty.h: Likewise.
38226 * misc/sys/mman.h: Likewise.
38227 * misc/sys/syslog.h: Likewise.
38228 * misc/sys/uio.h: Likewise.
38229 * misc/sys/xattr.h: Likewise.
38230 * misc/ttyent.h: Likewise.
38231 * nis/rpcsvc/ypclnt.h: Likewise.
38232 * nss/nss.h: Likewise.
38233 * posix/bits/unistd.h: Likewise.
38234 * posix/fnmatch.h: Likewise.
38235 * posix/glob.h: Likewise.
38236 * posix/sched.h: Likewise.
38237 * posix/spawn.h: Likewise.
38238 * posix/sys/wait.h: Likewise.
38239 * posix/unistd.h: Likewise.
38240 * posix/wordexp.h: Likewise.
38241 * pwd/pwd.h: Likewise.
38242 * resolv/netdb.h: Likewise.
38243 * resource/sys/resource.h: Likewise.
38244 * rt/aio.h: Likewise.
38245 * rt/bits/mqueue2.h: Likewise.
38246 * rt/mqueue.h: Likewise.
38247 * shadow/shadow.h: Likewise.
38248 * signal/signal.h: Likewise.
38249 * socket/send.c: Likewise.
38250 * socket/sendto.c: Likewise.
38251 * socket/sys/socket.h: Likewise.
38252 * stdio-common/printf.h: Likewise.
38253 * stdlib/bits/stdlib.h: Likewise.
38254 * stdlib/fmtmsg.h: Likewise.
38255 * stdlib/monetary.h: Likewise.
38256 * stdlib/stdlib.h: Likewise.
38257 * stdlib/ucontext.h: Likewise.
38258 * streams/stropts.h: Likewise.
38259 * string/argz.h: Likewise.
38260 * string/bits/string2.h: Likewise.
38261 * string/string.h: Likewise.
38262 * string/strings.h: Likewise.
38263 * sunrpc/rpc/auth.h: Likewise.
38264 * sunrpc/rpc/auth_des.h: Likewise.
38265 * sunrpc/rpc/clnt.h: Likewise.
38266 * sunrpc/rpc/netdb.h: Likewise.
38267 * sunrpc/rpc/pmap_clnt.h: Likewise.
38268 * sunrpc/rpc/xdr.h: Likewise.
38269 * sysdeps/generic/inttypes.h: Likewise.
38270 * sysdeps/generic/net/if.h: Likewise.
38271 * sysdeps/generic/sys/swap.h: Likewise.
38272 * sysdeps/gnu/net/if.h: Likewise.
38273 * sysdeps/gnu/utmpx.h: Likewise.
38274 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
38275 * sysdeps/i386/i486/bits/string.h: Likewise.
38276 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
38277 * sysdeps/s390/bits/string.h: Likewise.
38278 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
38279 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
38280 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
38281 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
38282 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
38283 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
38284 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
38285 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
38286 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
38287 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
38288 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
38289 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
38290 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
38291 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
38292 * sysdeps/unix/sysv/linux/readv.c: Likewise.
38293 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
38294 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
38295 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38296 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
38297 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
38298 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
38299 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
38300 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
38301 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
38302 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
38303 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
38304 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
38305 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
38306 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
38307 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
38308 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
38309 * sysvipc/sys/ipc.h: Likewise.
38310 * sysvipc/sys/msg.h: Likewise.
38311 * sysvipc/sys/sem.h: Likewise.
38312 * sysvipc/sys/shm.h: Likewise.
38313 * termios/termios.h: Likewise.
38314 * time/sys/time.h: Likewise.
38315 * time/time.h: Likewise.
38316 * wcsmbs/bits/wchar2.h: Likewise.
38317 * wcsmbs/uchar.h: Likewise.
38318 * wcsmbs/wchar.h: Likewise.
38319 * wctype/wctype.h: Likewise.
38322 * Makeconfig: Remove all but ELF support including AIX support.
38323 * Makerules: Likewise.
38324 * config.h.in: Likewise.
38325 * config.make.in: Likewise.
38326 * configure: Likewise.
38327 * configure.in: Likewise.
38328 * csu/Makefile: Likewise.
38329 * csu/version.c: Likewise.
38330 * debug/Makefile: Likewise.
38331 * dlfcn/Makefile: Likewise.
38332 * elf/Makefile: Likewise.
38333 * extra-lib.mk: Likewise.
38334 * iconv/Makefile: Likewise.
38335 * include/libc-symbols.h: Likewise.
38336 * include/shlib-compat.h: Likewise.
38337 * resolv/Makefile: Likewise.
38338 * resolv/res_libc.c: Likewise.
38339 * rt/Makefile: Likewise.
38340 * sysdeps/i386/asm-syntax.h: Likewise.
38341 * sysdeps/i386/sysdep.h: Likewise.
38342 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
38343 * sysdeps/mach/sysdep.h: Likewise.
38344 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
38345 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
38346 * sysdeps/s390/asm-syntax.h: Likewise.
38347 * sysdeps/s390/s390-32/sysdep.h: Likewise.
38348 * sysdeps/s390/s390-64/sysdep.h: Likewise.
38349 * sysdeps/sh/sysdep.h: Likewise.
38350 * sysdeps/unix/sparc/sysdep.h: Likewise.
38351 * sysdeps/wordsize-32/divdi3.c: Likewise.
38352 * sysdeps/x86_64/sysdep.h: Likewise.
38354 * argp/Versions: Remove _argp_unlock_xxx.
38357 * abilist/ld.abilist: Update. Adjust for removal of tls option.
38358 * abilist/libBrokenLocale.abilist: Likewise.
38359 * abilist/libanl.abilist: Likewise.
38360 * abilist/libc.abilist: Likewise.
38361 * abilist/libcrypt.abilist: Likewise.
38362 * abilist/libdl.abilist: Likewise.
38363 * abilist/libm.abilist: Likewise.
38364 * abilist/libnsl.abilist: Likewise.
38365 * abilist/libpthread.abilist: Likewise.
38366 * abilist/libresolv.abilist: Likewise.
38367 * abilist/librt.abilist: Likewise.
38368 * abilist/libthread_db.abilist: Likewise.
38369 * abilist/libutil.abilist: Likewise.
38370 * abilist/libnss_db.abilist: New file.
38372 * scripts/abilist.awk: Add support for indirect functions.
38374 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
38376 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
38378 * shlib-versions: Remove entries for ports architectures.
38380 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
38382 * elf/stackguard-macros.h: Remove support for IA-64.
38383 * elf/tst-auditmod1.c: Likewise.
38384 * sysdeps/generic/ldsodefs.h: Likewise.
38386 * sysdeps/unix/sysv/linux/configure.in: Ports should define
38387 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
38391 * configure.in: Remove --enable-omitfp support.
38393 * config.make.in: Likewise.
38394 * Makeconfig: Likewise.
38395 * manual/install.texi: Likewise.
38397 In case anyone cares, the IA-64 architecture could move to ports.
38398 * sysdeps/ia64/*: Removed.
38399 * sysdeps/unix/sysv/linux/ia64/*: Removed.
38400 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
38403 * configure.in: Remove entries for unsupported architectures.
38406 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
38407 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
38409 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
38410 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
38411 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
38412 fall back to using wcrtomb.
38413 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
38414 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
38416 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
38417 * wcsmbs/tst-c16c32-1.c: New file.
38419 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
38422 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
38424 * elf/tst-unique3.cc: Add explicit declaration of gets.
38425 * elf/tst-unique3lib.cc: Likewise.
38426 * elf/tst-unique3lib2.cc: Likewise.
38427 * elf/tst-unique4.cc: Likewise.
38429 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
38431 2012-01-06 Joseph Myers <joseph@codesourcery.com>
38434 * assert/assert.h (static_assert): Don't define for C++.
38435 * libio/stdio.h (gets): Do declare for C++ <= C++11.
38436 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
38438 2012-01-03 Ulrich Drepper <drepper@gmail.com>
38440 * iconv/loop.c (single loop): Fix assertion in storing of
38443 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
38445 2012-01-01 Ulrich Drepper <drepper@gmail.com>
38447 * posix/getconf.c: Update copyright year.
38448 * nss/getent.c: Likewise.
38449 * nss/makedb.c: Likewise.
38450 * iconv/iconvconfig.c: Likewise.
38451 * iconv/iconv_prog.c: Likewise.
38452 * elf/ldconfig.c: Likewise.
38453 * elf/pldd.c: Likewise.
38454 * elf/sotruss.ksh: Likewise.
38455 * catgets/gencat.c: Likewise.
38456 * csu/version.c: Likewise.
38457 * elf/ldd.bash.in: Likewise.
38458 * elf/sprof.c (print_version): Likewise.
38459 * locale/programs/locale.c: Likewise.
38460 * locale/programs/localedef.c: Likewise.
38461 * login/programs/pt_chown.c: Likewise.
38462 * nscd/nscd.c (print_version): Likewise.
38463 * debug/xtrace.sh: Likewise.
38464 * malloc/memusage.sh: Likewise.
38465 * malloc/mtrace.pl: Likewise.
38466 * debug/catchsegv.sh: Likewise.
38468 2011-12-30 Jakub Jelinek <jakub@redhat.com>
38470 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
38473 2011-12-24 Ulrich Drepper <drepper@gmail.com>
38476 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
38477 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
38479 * iconv/gconv_int.h: Likewise.
38480 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
38481 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
38482 from libc for GLIBC_2.16.
38483 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
38484 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
38485 * wcsmbs/uchar.h: Really define mbstate_t.
38486 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
38487 * wcsmbs/c16rtomb.c: New file.
38488 * wcsmbs/mbrtoc16.c: New file.
38489 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
38490 for C/POSIX locale.
38491 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
38492 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
38494 * wcsmbs/wchar.h: Add missing __restrict.
38496 2011-12-23 Ulrich Drepper <drepper@gmail.com>
38499 * time/Makefile (routines): Add timespec_get.
38500 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
38501 * time/time.h: Define TIME_UTC and declare timespec_get. Define
38502 timespec for ISO C11.
38503 * time/timespec_get.c: New file.
38504 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
38505 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
38508 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
38509 * stdlib/stdlib.h: Declare aligned_alloc.
38510 * Versions.def: Add GLIBC_2.16 for libc.
38511 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
38514 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
38517 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
38521 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
38524 * assert/assert.h (static_assert): Define.
38526 * version.h: Update for 2.16 development version.
38529 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
38532 * version.h (RELEASE): Bump for 2.15 release.
38533 * include/features.h (__GLIBC_MINOR__): Bump to 15.
38535 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
38536 Patch by Marek Polacek <mpolacek@redhat.com>.
38538 * bits/byteswap.h: Protect long long constants with __extension__.
38539 * sysdeps/i386/bits/byteswap.h: Likewise.
38540 * sysdeps/ia64/bits/byteswap.h: Likewise.
38541 * sysdeps/s390/bits/byteswap.h: Likewise.
38542 * sysdeps/x86_64/bits/byteswap.h: Likewise.
38544 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38547 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
38548 destination buffer.
38549 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
38551 2011-12-23 Marek Polacek <polacek@redhat.com>
38553 * elf/dl-addr.c (determine_info): Add inline keyword.
38554 * elf/tst-auditmod4b.c (check_avx): Likewise.
38555 * elf/tst-auditmod6b.c (check_avx): Likewise.
38556 * elf/tst-auditmod6c.c (check_avx): Likewise.
38557 * elf/tst-auditmod7b.c (check_avx): Likewise.
38559 2011-12-23 Ulrich Drepper <drepper@gmail.com>
38561 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
38564 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38567 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
38568 processing for last bytes.
38570 2011-08-06 Bruno Haible <bruno@clisp.org>
38573 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
38574 U+0385, not to U+1FEE.
38577 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
38578 entry for U+00A5 U+0301.
38580 2011-12-22 Ulrich Drepper <drepper@gmail.com>
38583 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
38584 buffer for the output is too small.
38586 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
38590 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
38591 SSE flags if possible.
38593 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38596 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
38597 processing for last bytes.
38599 2011-12-22 Joseph Myers <joseph@codesourcery.com>
38601 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
38602 (syscall-list-default-options, syscall-list-default-condition)
38603 (syscall-list-includes): Define.
38604 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
38605 list of ABIs and options and #if conditions for each ABI. Do not
38606 handle common syscalls between ABIs specially.
38607 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
38609 (syscall-list-variants, syscall-list-32bit-options)
38610 (syscall-list-32bit-condition, syscall-list-64bit-options)
38611 (syscall-list-64bit-condition): Define.
38612 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
38613 (syscall-list-variants, syscall-list-32bit-options)
38614 (syscall-list-32bit-condition, syscall-list-64bit-options)
38615 (syscall-list-64bit-condition): Define.
38616 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
38618 (syscall-list-variants, syscall-list-32bit-options)
38619 (syscall-list-32bit-condition, syscall-list-64bit-options)
38620 (syscall-list-64bit-condition): Define.
38621 * sysdeps/unix/sysv/linux/x86_64/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.
38627 2011-12-22 Ulrich Drepper <drepper@gmail.com>
38629 * locale/iso-639.def: Add brx entry.
38632 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
38633 Proposed by Mariusz_Cukr <marcukr@op.pl>.
38635 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
38636 __feraiseexcept_renamed.
38638 2011-12-21 Ulrich Drepper <drepper@gmail.com>
38641 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
38642 EPOLLET with unsigned values.
38643 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
38644 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
38646 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
38647 to large cancellation.
38648 * math/s_cacoshf.c: Likewise.
38649 * math/s_cacoshl.c: Likewise.
38651 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
38655 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
38656 * math/s_cacoshf.c: Likewise.
38657 * math/s_cacoshl.c: Likewise.
38659 2011-12-21 Ulrich Drepper <drepper@gmail.com>
38662 * iconv/gconv.h: Define __GCONV_SWAP.
38663 * iconvdata/unicode.c: The swap bit must be stored in __flags.
38664 * iconvdata/utf-16.c: Likewise.
38665 * iconvdata/utf-32.c: Likewise.
38667 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
38670 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
38671 numerator after shifting it by one limb.
38673 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
38675 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
38676 under [__USE_EXTERN_INLINES].
38678 2011-12-17 Ulrich Drepper <drepper@gmail.com>
38681 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
38683 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38685 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
38686 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
38688 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
38689 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
38690 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
38691 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
38692 for strncasecmp/strncasecmp_l compilation.
38693 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
38694 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
38696 2011-12-08 Marek Polacek <mpolacek@redhat.com>
38699 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
38702 2011-12-17 Ulrich Drepper <drepper@gmail.com>
38705 * time/tzfile.c (__tzfile_read): Check values from file header.
38707 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
38709 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
38710 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
38711 * powerpc/powerpc32/dl-start.S: Likewise.
38712 * powerpc/powerpc32/elf/start.S: Likewise.
38713 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
38714 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
38715 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
38716 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
38717 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
38718 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
38719 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
38720 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
38721 * powerpc/powerpc32/fpu/s_round.S: Likewise.
38722 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
38723 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
38724 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
38725 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
38726 * powerpc/powerpc32/memset.S: Likewise.
38727 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
38728 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
38729 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
38730 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
38731 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
38732 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
38733 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
38734 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
38735 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
38736 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
38737 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
38738 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
38739 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
38741 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38743 * math/libm-test.inc: Added more nearbyint tests.
38744 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
38745 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
38746 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
38747 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
38749 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
38751 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
38754 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38756 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
38757 Add wcscpy-ssse3 wcscpy-c.
38758 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
38759 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
38760 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
38761 * sysdeps/x86_64/wcschr.S: New file.
38762 * sysdeps/x86_64/wcsrchr.S: New file.
38763 * string/test-strcmp.c: Remove checking of wcscmp function for
38765 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
38766 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
38767 wcsrchr-sse2 wcsrchr-c.
38768 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
38769 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
38770 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
38771 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
38772 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
38773 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
38774 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
38775 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
38776 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
38777 * wcsmbc/wcschr.c (WCSCHR): New macro.
38779 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38781 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
38782 * wcsmbs/test-wcsrchr.c: New file.
38783 * string/test-strrchr.c: Add wcsrchr support.
38785 * wcsmbs/test-wcscpy.c: New file.
38786 * string/test-strcpy.c: Add wcscpy support.
38789 2011-12-10 Ulrich Drepper <drepper@gmail.com>
38791 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
38794 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
38797 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
38799 2011-12-04 Ulrich Drepper <drepper@gmail.com>
38801 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
38802 Minor optimizations.
38804 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
38805 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
38806 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
38808 2011-12-03 Ulrich Drepper <drepper@gmail.com>
38810 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
38811 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
38812 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
38813 for gcc to avoid warnings.
38814 * inet/Makefile (tests): Add tst-checks.
38815 * inet/tst-checks.c: New file.
38817 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
38820 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
38823 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
38824 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
38826 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
38828 2011-12-02 Ulrich Drepper <drepper@gmail.com>
38830 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
38833 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
38835 2011-11-29 Joseph Myers <joseph@codesourcery.com>
38837 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
38838 conditional on GCC version.
38839 (__arch_compare_and_exchange_val_8_acq)
38840 (__arch_compare_and_exchange_val_16_acq)
38841 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
38842 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
38843 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
38845 2011-12-02 Joseph Myers <joseph@codesourcery.com>
38847 * sysdeps/sh/backtrace.c: New file.
38849 2011-12-02 Andreas Schwab <schwab@redhat.com>
38851 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
38854 2011-12-01 Andreas Schwab <schwab@redhat.com>
38856 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
38857 falling back to utime.
38859 2011-11-30 Andreas Schwab <schwab@redhat.com>
38861 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
38862 expectations for float.
38864 2011-11-29 Andreas Schwab <schwab@redhat.com>
38866 * locale/weight.h (findidx): Add parameter len.
38867 * locale/weightwc.h (findidx): Likewise.
38868 * posix/fnmatch_loop.c (FCT): Adjust caller.
38869 * posix/regcomp.c (build_equiv_class): Likewise.
38870 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
38871 * posix/regexec.c (check_node_accept_bytes): Likewise.
38872 * string/strcoll_l.c (STRCOLL): Likewise.
38873 * string/strxfrm_l.c (STRXFRM): Likewise.
38875 2011-11-17 Ulrich Drepper <drepper@gmail.com>
38877 * Makefile.in: Remove CVSOPT handling.
38878 * configure.in: Remove use of AC_REVISION.
38879 * iconvdata/Makefile (distribute): No need to filter out CVS.
38880 * scripts/list-sources.sh: Remove CVS, subversion and monotone
38883 2011-11-16 Andreas Schwab <schwab@redhat.com>
38885 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
38886 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
38887 [USE_AS_STRNCASECMP_L]: Likewise.
38888 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
38889 NO_TLS_DIRECT_SEG_REFS.
38890 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
38891 Fix argument offsets for non-PIC.
38892 [USE_AS_STRNCASECMP_L]: Likewise.
38893 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
38894 NO_TLS_DIRECT_SEG_REFS.
38896 2011-11-15 Ulrich Drepper <drepper@gmail.com>
38898 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
38900 * locale/loadlocale.c (_nl_load_locale): Likewise.
38902 2011-11-15 Andreas Schwab <schwab@redhat.com>
38904 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
38905 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
38906 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
38907 (SYSCALL_GETTIME): Set errno on error.
38909 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
38910 count references to noai6ai_cached.
38912 2011-11-15 Ulrich Drepper <drepper@gmail.com>
38914 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
38916 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
38917 FD_CLOEXEC for /proc/self/maps.
38919 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
38920 FD_CLOEXEC for /proc/meminfo.
38922 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
38925 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
38926 FD_CLOEXEC for given file.
38928 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
38930 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
38931 FD_CLOEXEC for /etc/hosts.
38932 (_gethtent): Likewise.
38934 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
38936 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
38937 cancellation and set FD_CLOEXEC for /etc/netgroup.
38939 * nss/nss_files/files-key.c (search): Don't allow cancellation when
38940 reading /etc/publickey.
38942 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
38943 allow cancellation when reading /etc/group.
38945 * nss/nss_files/files-alias.c (internal_setent): Don't allow
38947 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
38949 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
38950 when using data file.
38952 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
38954 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
38955 (write_nis_obj): Use "c" and "e" in fopen.
38957 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
38959 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
38961 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
38963 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
38965 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
38968 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
38970 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
38972 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
38974 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
38975 file parsing and set FD_CLOEXEC.
38977 2011-11-14 Ulrich Drepper <drepper@gmail.com>
38979 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
38981 2011-11-14 Andreas Schwab <schwab@redhat.com>
38983 * malloc/arena.c (arena_get2): Don't call reused_arena when
38984 _int_new_arena failed.
38986 2011-11-14 Ulrich Drepper <drepper@gmail.com>
38988 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
38989 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
38990 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
38991 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
38992 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
38993 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
38994 to compile strcasecmp and strncasecmp.
38995 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
38996 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
38998 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
39000 2011-11-13 Ulrich Drepper <drepper@gmail.com>
39002 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
39003 locale-defines.sym to gen-as-const-headers.
39004 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
39005 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
39006 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
39007 to compile strcasecmp and strncasecmp.
39008 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
39009 strcasecmp_l and strncasecmp_l.
39010 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
39011 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
39012 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
39013 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
39014 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
39015 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
39016 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
39017 * sysdeps/i386/i686/multiarch/strncase.S: New file.
39018 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
39019 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
39020 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
39022 2011-11-12 Ulrich Drepper <drepper@gmail.com>
39024 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
39025 result of SYSDEP_GETTIME_CPU to retval.
39026 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
39027 parameter list to macro. Remove trailing semicolon. Adjust users.
39029 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
39032 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
39034 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
39036 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
39037 from unused variable.
39039 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
39041 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
39044 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
39047 * sunrpc/rpc_prot.c (rejected): Fix case value.
39049 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
39050 unsigned long long int to avoid warnings in shift.
39052 * posix/regex_internal.c (re_string_reconstruct): Actually use result
39054 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
39057 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
39058 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
39059 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
39061 * nis/nis_table.c (nis_list): Use variable of correct type for
39062 result of __follow_path call.
39064 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39066 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
39067 of math functions ceil, trunc, floor, round, and sqrt, when
39068 avaliable on the platform.
39069 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
39071 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
39072 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
39073 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
39075 2011-10-30 Marek Polacek <mpolacek@redhat.com>
39077 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
39078 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
39080 2011-11-11 Roland McGrath <roland@hack.frob.com>
39082 * include/unistd.h: Fix __readlink return type.
39083 Reported by Chris Metcalf <cmetcalf@tilera.com>.
39085 2011-11-11 Ulrich Drepper <drepper@gmail.com>
39087 * stdlib/ucontext.h: Undo last change for makecontext.
39089 2011-11-11 Andreas Schwab <schwab@redhat.com>
39091 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
39093 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
39094 * setjmp/setjmp.h: Mark functions as non-leaf.
39095 * setjmp/bits/setjmp2.h: Likewise.
39096 * stdlib/ucontext.h: Likewise.
39098 2011-11-10 Andreas Schwab <schwab@redhat.com>
39100 * malloc/arena.c (_int_new_arena): Don't increment narenas.
39101 (reused_arena): Don't check arena limit.
39102 (arena_get2): Atomically check arena limit.
39104 2011-11-08 Ulrich Drepper <drepper@gmail.com>
39106 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
39107 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
39109 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
39112 2011-11-07 Andreas Schwab <schwab@redhat.com>
39114 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
39115 handler when locking.
39117 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
39118 Fix size of allocated buffer.
39120 2011-11-04 Andreas Schwab <schwab@redhat.com>
39123 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
39124 declarations for long double functions.
39125 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
39127 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
39129 2011-11-03 Andreas Schwab <schwab@redhat.com>
39131 * nscd/nscd.c (main): Don't start AVC thread until credentials are
39134 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
39137 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
39139 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
39141 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
39143 * include/alloca.h (stackinfo_alloca_round): Define.
39144 (extend_alloca): Use it.
39145 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
39146 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
39149 * scripts/check-local-headers.sh: Ignore libaudit.h.
39151 * nscd/Makefile (extra-objs): Make recursively expanded.
39153 2011-11-01 Ulrich Drepper <drepper@gmail.com>
39155 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
39156 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
39158 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
39159 * posix/tst-rfc3484-2.c: Likewise.
39160 * posix/tst-rfc3484-3.c: Likewise.
39162 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
39164 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
39166 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
39167 process_vm_writev from libc using GLIBC_2.15 version.
39169 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
39171 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
39173 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
39176 2011-10-31 Ulrich Drepper <drepper@gmail.com>
39179 * nss/getent.c (initgroups_keys): Show error message in case no group
39182 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
39183 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
39184 __bump_nl_timestamp.
39185 * nscd/connections (nscd_init): When host database is served open
39186 netlink socket and request notification about configuration changes.
39187 (main_loop_poll): Track netlink file descriptor and bump timestamp
39188 in case data becomes available.
39189 (main_loop_epoll): Likewise.
39190 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
39191 (database_pers_head): Add extra_data fileds.
39192 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
39193 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
39194 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
39196 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
39197 in6ai data, call __free_in6ai.
39198 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
39199 Add -DHAVE_NETLINK.
39200 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
39201 interface information. Reuse previous data if netlink timestamp
39203 (__bump_nl_timestamp): New function.
39204 (__free_in6ai): New function.
39206 2011-10-30 Ulrich Drepper <drepper@gmail.com>
39208 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
39209 close_not_cancel_no_status here.
39210 (__check_pf): Reorganize code a bit to not call close twice if OOM.
39212 2011-10-29 Ulrich Drepper <drepper@gmail.com>
39215 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
39218 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
39219 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
39220 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
39222 2011-07-03 Andreas Jaeger <aj@suse.de>
39225 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
39226 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
39227 * math/libm-test.inc (sin_test): Add test case.
39229 2011-10-29 Ulrich Drepper <drepper@gmail.com>
39232 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
39233 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
39235 * elf/chroot_canon.c (chroot_canon): Cleanups.
39237 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
39240 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
39241 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
39243 * string/test-strchr.c: Make usable for strchrnul testing.
39244 * string/test-strchrnul.c: New file.
39245 * string/Makefile (strop-tests): Add strchrnul.
39247 * po/it.po: Update from translation team.
39248 * po/es.po: Likewise.
39250 2011-10-28 Ulrich Drepper <drepper@gmail.com>
39252 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
39253 the three constants needed as parameters. Drop the others.
39254 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
39255 __m128i_strloadu_tolower.
39256 Create and initialize variable zero and use it in all the places
39257 where _mm_setzero_si128 was used.
39259 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
39260 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
39261 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
39262 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
39264 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
39265 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
39266 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
39267 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
39268 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
39269 __mpranred, __mptan.
39270 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
39271 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
39272 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
39273 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
39274 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
39275 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
39276 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
39277 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
39278 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
39280 2011-10-28 Andreas Schwab <schwab@redhat.com>
39282 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
39283 redefine if SHARED.
39284 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
39286 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
39287 wide char related routines to wcsmbs subdir.
39289 2011-10-27 Andreas Schwab <schwab@redhat.com>
39292 * misc/sys/cdefs.h (__THROWNL): Define.
39293 * posix/unistd.h: Use __THREADNL instead of __THREAD
39294 for memory synchronization functions.
39296 2011-10-26 Roland McGrath <roland@hack.frob.com>
39299 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
39301 * manual/stdio.texi (Obstack Streams): Node removed.
39303 2011-10-26 Andreas Schwab <schwab@redhat.com>
39305 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
39306 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
39307 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
39309 * math/math_private.h (math_force_eval): Allow non-addressable
39311 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
39313 2011-10-25 Ulrich Drepper <drepper@gmail.com>
39315 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
39316 file is not needed.
39318 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
39319 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
39320 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
39321 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
39322 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
39323 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
39324 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
39325 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
39327 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
39328 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
39329 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
39330 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
39331 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
39332 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
39333 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
39334 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
39335 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
39336 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
39337 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
39338 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
39339 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
39340 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
39341 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
39342 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
39343 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
39344 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
39345 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
39347 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
39348 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
39350 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
39351 place. Use VEX encoding when compiling for AVX.
39353 2011-10-25 Andreas Schwab <schwab@redhat.com>
39355 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
39356 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
39358 * string/test-strchr.c (do_test): Don't generate NUL bytes.
39360 2011-10-25 Ulrich Drepper <drepper@gmail.com>
39362 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
39363 useless if() expression.
39364 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
39365 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
39366 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
39367 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39368 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
39369 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
39370 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39371 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39372 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
39373 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39374 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
39375 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39376 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
39377 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39378 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
39379 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
39380 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39381 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39382 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
39384 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
39386 2011-10-25 Andreas Schwab <schwab@redhat.com>
39388 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
39390 * elf/dl-fini.c (_dl_sort_fini): Likewise.
39392 2011-10-25 Ulrich Drepper <drepper@gmail.com>
39394 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
39395 .text section. Avoid duplicate constants.
39396 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
39397 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39398 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39399 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39400 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39401 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39402 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39403 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39404 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
39405 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
39406 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
39407 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
39408 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
39409 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
39410 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
39411 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
39412 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
39413 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
39414 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39415 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39416 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
39417 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
39418 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
39419 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
39420 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
39421 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
39422 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
39423 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
39424 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
39425 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
39426 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
39427 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
39428 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
39429 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
39430 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
39431 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
39432 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
39433 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
39434 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
39435 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
39436 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
39437 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
39438 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
39439 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
39440 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
39442 2011-10-24 Ulrich Drepper <drepper@gmail.com>
39444 * sysdeps/x86_64/dla.h: Move to ...
39445 * sysdeps/x86_64/fpu/dla.h: ...here.
39446 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
39447 situations. Use __builtin_fma only for gcc 4.6 and up.
39449 * config.make.in: Add have-mfma4 entry.
39450 * configure.in: Substitute libc_cv_cc_fma4.
39451 * math/Makefile (dbl-only-routines): Add sincostab.
39452 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
39453 Use __sincostab not sincos.
39454 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
39456 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39457 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39458 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39459 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
39461 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
39462 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
39463 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
39464 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
39466 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
39467 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
39469 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
39470 define aliases when function name is a macro.
39471 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
39472 sysdeps/ieee754/dbl-64/sincos.tbl.
39473 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
39474 fma4-enabled routines.
39475 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
39476 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
39477 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
39478 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
39479 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
39480 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
39481 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
39482 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
39483 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
39484 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
39485 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
39486 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
39487 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
39488 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
39489 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
39490 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
39491 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
39492 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
39493 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
39494 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
39495 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
39496 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
39497 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
39498 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
39499 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
39500 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
39501 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
39502 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
39503 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
39504 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
39506 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
39508 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39509 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39510 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39511 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39512 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39513 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39514 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39515 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39517 2011-10-24 Andreas Schwab <schwab@redhat.com>
39519 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
39521 2011-10-23 Ulrich Drepper <drepper@gmail.com>
39523 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
39525 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
39527 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
39529 * string/strnlen.c: Don't define STRNLEN, reverse logic.
39530 Remove unused variable magic_bits.
39531 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
39533 * string/strnlen.c: Define and use STRNLEN macro.
39534 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
39535 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
39536 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
39537 * wcsmbs/wcslen.c: Define and use WCSLEN.
39538 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
39539 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
39540 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
39541 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
39542 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
39543 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
39544 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
39546 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39548 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39549 strnlen-sse2-no-bsf.
39550 Rename strlen-no-bsf to strlen-sse2-no-bsf.
39551 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
39552 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
39553 Add strnlen support.
39554 (USE_AS_STRNLEN): New macro.
39555 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
39556 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
39557 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
39558 * sysdeps/x86_64/wcslen.S: New file.
39560 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
39562 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
39563 XMM-moves are used for copying on small sizes.
39565 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39567 * wcsmbs/Makefile (strop-tests): Add wcschr.
39568 * wcsmbs/test-wcschr.c: New file.
39569 * string/test-strchr.c: Update.
39570 Add wcschr support.
39573 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39575 * wcsmbs/Makefile (strop-tests): Add wcslen.
39576 * wcsmbs/test-wcslen.c: New file.
39577 * string/test-strlen.c: Update.
39578 Add wcslen support.
39581 2011-10-23 Ulrich Drepper <drepper@gmail.com>
39583 * po/it.po: Update from translation team.
39585 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39587 * sysdeps/x86_64/wcscmp.S: Update.
39588 Fix wrong comparison semantics.
39589 wcscmp shall use signed comparison not unsigned.
39590 Don't use substraction to avoid overflow bug.
39591 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
39592 * wcsmbc/wcscmp.c: Likewise.
39593 * string/test-strcmp.c: Likewise.
39594 Add new tests to check cases with negative values.
39596 2011-10-23 Ulrich Drepper <drepper@gmail.com>
39598 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
39599 * sysdeps/x86_64/dla.h: ...here. New file.
39600 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
39601 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39602 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39603 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39604 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39605 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39606 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39607 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39608 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39610 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
39612 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
39613 __ynl_finite aliases.
39615 2011-10-22 Ulrich Drepper <drepper@gmail.com>
39617 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39619 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
39621 [DLA_FMA] (EMULV): Use DLA_FMA.
39622 [DLA_FMA] (MUL12): Use EMULV.
39623 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
39624 that are not needed.
39625 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39626 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39627 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39628 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39629 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39630 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39631 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39633 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
39635 * math/s_nan.c: Undef __nan.
39636 * math/s_nanf.c: Undef __nanf.
39637 * math/s_nanl.c: Undef __nanl.
39638 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
39641 2011-10-22 Ulrich Drepper <drepper@gmail.com>
39643 * math/s_catan.c: Add branch predictions.
39644 * math/s_catanf.c: Likewise.
39645 * math/s_catanh.c: Likewise.
39646 * math/s_catanhf.c: Likewise.
39647 * math/s_catanhl.c: Likewise.
39648 * math/s_catanl.c: Likewise.
39649 * math/s_cexp.c: Likewise.
39650 * math/s_cexpf.c: Likewise.
39651 * math/s_cexpl.c: Likewise.
39652 * math/s_clog.c: Likewise.
39653 * math/s_clog10.c: Likewise.
39654 * math/s_clog10f.c: Likewise.
39655 * math/s_clog10l.c: Likewise.
39656 * math/s_clogf.c: Likewise.
39657 * math/s_clogl.c: Likewise.
39658 * math/s_csqrt.c: Likewise.
39659 * math/s_csqrtf.c: Likewise.
39660 * math/s_csqrtl.c: Likewise.
39661 * math/s_ctanf.c: Likewise.
39662 * math/s_ctanh.c: Likewise.
39663 * math/s_ctanhf.c: Likewise.
39664 * math/s_ctanhl.c: Likewise.
39665 * math/s_ctanl.c: Likewise.
39667 * math/math_private.h: Define __nan, __nanf, __nanl.
39668 * math/s_cacosh.c: Include <math_private.h>.
39669 * math/s_cacoshl.c: Likewise.
39670 * math/s_casinh.c: Likewise.
39671 * math/s_casinhf.c: Likewise.
39672 * math/s_casinhl.c: Likewise.
39673 * math/s_ccos.c: Rely entire on ccosh.
39674 * math/s_ccosf.c: Rely entire on ccoshf.
39675 * math/s_ccosl.c: Rely entirely on ccoshl.
39676 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
39677 Remove tests for FE_INVALID.
39678 * math/s_ccoshf.c: Likewise.
39679 * math/s_ccoshl.c: Likewise.
39680 * math/s_csin.c: Likewise.
39681 * math/s_csinf.c: Likewise.
39682 * math/s_csinh.c Likewise.
39683 * math/s_csinhf.c: Likewise.
39684 * math/s_csinhl.c: Likewise.
39685 * math/s_csinl.c: Likewise.
39686 * math/s_ctan.c: Likewise.
39687 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
39688 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
39689 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
39691 2011-10-21 Ulrich Drepper <drepper@gmail.com>
39693 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
39694 compilation problems.
39696 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
39699 2011-10-20 Ulrich Drepper <drepper@gmail.com>
39701 * sysdeps/i386/configure.in: Test for -mfma4 option.
39702 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
39703 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
39704 COMMON_CPUID_INDEX_80000001.
39705 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
39706 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
39707 use it if FMA3 is not supported.
39708 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
39710 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
39711 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
39713 2011-10-20 Andreas Schwab <schwab@redhat.com>
39716 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
39717 it would create a cycle with a link time dependency.
39719 2011-10-19 Ulrich Drepper <drepper@gmail.com>
39721 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
39723 * string/Makefile (strop-tests): Add rawmemchr.
39724 * string/test-rawmemchr.c: New file.
39726 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
39727 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
39728 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
39729 when compiling str{,n}casecmp and when AVX is available. Hook up
39730 new optimized code in initializers.
39732 2011-10-19 Andreas Schwab <schwab@redhat.com>
39734 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
39735 __feraiseexcept instead of feraiseexcept.
39737 2011-10-18 Ulrich Drepper <drepper@gmail.com>
39739 * math/math_private.h: Define defaults for libc_fetestexcept and
39741 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
39742 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
39743 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
39744 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
39745 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
39746 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
39747 libc_fetestexcept and libc_feupdateenv.
39749 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
39750 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
39751 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
39752 * sysdeps/x86_64/fpu/math_private.h: Define special version of
39753 libc_feholdexcept_setround.
39755 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
39756 Add s_nearbyint-c and s_nearbyintf-c.
39757 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
39758 nearbyintf inlines.
39759 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
39760 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
39761 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
39762 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
39764 * math/math_private.h: Define defaults for libc_fegetround,
39765 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
39766 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
39767 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
39768 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
39769 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
39770 standard functions.
39771 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
39772 Remove comments and hacks for old compiler versions.
39773 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
39774 libc_fegetround, libc_fesetround, libc_feholdexcept, and
39775 libc_feholdexceptl.
39777 2011-10-18 Andreas Schwab <schwab@redhat.com>
39779 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
39780 (__feraiseexcept_renamed): Add __NTH.
39781 (feraiseexcept): Add __NTH. Rename local variables to fix
39782 namespace violations.
39784 2011-10-17 Ulrich Drepper <drepper@gmail.com>
39786 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
39788 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
39790 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
39791 recently added interfaces.
39792 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
39794 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
39795 about macro parameter expansion.
39797 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
39798 __NO_MATH_INLINES is defined. Cleanups.
39800 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
39801 and __floorf is target has SSE4.1.
39802 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
39803 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
39804 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
39805 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
39807 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
39809 (floorf): Likewise.
39811 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
39813 2011-10-17 Andreas Schwab <schwab@redhat.com>
39815 * misc/sys/cdefs.h: Fix last change.
39817 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
39820 2011-10-16 Ulrich Drepper <drepper@gmail.com>
39822 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
39824 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
39825 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39826 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
39827 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39828 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39829 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
39830 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39831 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39832 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
39833 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
39834 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
39835 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
39836 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
39837 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
39838 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
39839 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
39840 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
39841 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
39842 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
39843 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
39844 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
39845 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
39847 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
39848 ceil, ceilf, floor, floorf.
39850 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
39851 Perform IRELATIVE relocations last.
39853 * elf/do-rel.h: Add another parameter nrelative, replacing the
39854 local variable with the same name. Change name of the function
39855 to end in Rel or Rela (uppercase).
39856 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
39857 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
39858 elf_dynamic_do_##reloc function.
39860 2011-10-15 Ulrich Drepper <drepper@gmail.com>
39862 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
39863 is sufficient, at least on modern CPUs.
39865 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
39867 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
39868 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
39870 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
39872 * math/bits/math-finite.h: Add entries for exp.
39873 * math/e_expl.c: Add __*_finite alias.
39874 * sysdeps/i386/fpu/e_exp.S: Likewise.
39875 * sysdeps/i386/fpu/e_expf.S: Likewise.
39876 * sysdeps/i386/fpu/e_expl.c: Likewise.
39877 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39878 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
39879 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
39880 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
39881 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
39882 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
39883 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
39885 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
39886 is sufficient, at least on modern CPUs.
39888 * ctype/ctype-info.c (__ctype_init): Define.
39889 * include/ctype.h (__ctype_init): Declare.
39890 (__ctype_b_loc): The variable is always initialized.
39891 (__ctype_toupper_loc): Likewise.
39892 (__ctype_tolower_loc): Likewise.
39893 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
39894 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
39896 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
39898 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
39900 * configure.in: Also look in $cxxmachine/include for C++ system
39903 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39905 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
39906 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
39907 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
39908 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
39909 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
39910 (USE_AS_WMEMCMP): New macro.
39912 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
39913 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
39914 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
39915 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
39916 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39917 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
39918 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
39919 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
39920 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
39921 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
39922 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
39923 (USE_AS_WMEMCMP): New macro.
39924 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
39925 * sysdeps/string/test-memcmp.c: Update.
39926 Fix simple_wmemcmp.
39928 * wcsmbs/wmemcmp.c: Update.
39929 (WMEMCMP): New macro.
39932 2011-10-12 Andreas Jaeger <aj@suse.de>
39935 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
39937 2011-10-15 Ulrich Drepper <drepper@gmail.com>
39939 * libio/iofwide.c (do_length): Avoid warning.
39941 * ctype/ctype.h (__isctype_f): Add missing __THROW.
39943 2011-10-14 Ulrich Drepper <drepper@gmail.com>
39945 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
39947 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
39948 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
39949 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
39950 * sysdeps/i386/i686/fpu/e_log.S: New file.
39951 * sysdeps/i386/i686/fpu/e_logf.S: New file.
39952 * sysdeps/i386/i686/fpu/e_logl.S: New file.
39954 * ctype/ctype.h: Add support for inlined isXXX functions when
39955 compiling C++ code.
39957 2011-10-14 Andreas Schwab <schwab@redhat.com>
39959 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39961 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
39963 2011-10-13 Roland McGrath <roland@hack.frob.com>
39966 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
39968 2011-10-13 Andreas Schwab <schwab@redhat.com>
39970 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
39971 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
39974 * sysdeps/x86_64/memrchr.S: Check for zero size.
39976 * string/stratcliff.c: Add memrchr tests.
39978 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39980 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39981 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
39982 rawmemchr-sse2 rawmemchr-sse2-bsf.
39983 * sysdeps/i386/i686/multiarch/memchr.S: New file.
39984 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
39985 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
39986 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
39987 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
39988 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
39989 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
39990 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
39991 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
39992 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
39993 * string/memrchr.c (MEMRCHR): New macro.
39995 2011-10-12 Ulrich Drepper <drepper@gmail.com>
39997 Add integration with gcc's -ffinite-math-only and optimize wrapper
39999 * Versions.def: Define GLIBC_2.15 version for libm.
40000 * math/Makefile (headers): Add bits/math-finite.h.
40001 * math/bits/math-finite.h: New file.
40002 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
40003 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
40004 * math/e_acoshl.c: Add __*_finite alias.
40005 * math/e_acosl.c: Likewise.
40006 * math/e_asinl.c: Likewise.
40007 * math/e_atan2l.c: Likewise.
40008 * math/e_atanhl.c: Likewise.
40009 * math/e_coshl.c: Likewise.
40010 * math/e_exp10.c: Likewise.
40011 * math/e_exp10f.c: Likewise.
40012 * math/e_exp10l.c: Likewise.
40013 * math/e_exp2l.c: Likewise.
40014 * math/e_fmodl.c: Likewise.
40015 * math/e_gammal_r.c: Likewise.
40016 * math/e_hypotl.c: Likewise.
40017 * math/e_j0l.c: Likewise.
40018 * math/e_j1l.c: Likewise.
40019 * math/e_jnl.c: Likewise.
40020 * math/e_lgammal_r.c: Likewise.
40021 * math/e_log10l.c: Likewise.
40022 * math/e_log2l.c: Likewise.
40023 * math/e_logl.c: Likewise.
40024 * math/e_powl.c: Likewise.
40025 * math/e_sinhl.c: Likewise.
40026 * math/e_sqrtl.c: Likewise.
40027 * math/e_scalb.c: Completely rewritten and optimized.
40028 * math/e_scalbf.c: Likewise.
40029 * math/e_scalbl.c: Likewise.
40030 * math/w_acos.c: Likewise.
40031 * math/w_acosf.c: Likewise.
40032 * math/w_acosl.c: Likewise.
40033 * math/w_acosh.c: Likewise.
40034 * math/w_acoshf.c: Likewise.
40035 * math/w_acoshl.c: Likewise.
40036 * math/w_asin.c: Likewise.
40037 * math/w_asinf.c: Likewise.
40038 * math/w_asinl.c: Likewise.
40039 * math/w_atan2.c: Likewise.
40040 * math/w_atan2f.c: Likewise.
40041 * math/w_atan2l.c: Likewise.
40042 * math/w_atanh.c: Likewise.
40043 * math/w_atanhf.c: Likewise.
40044 * math/w_atanhl.c: Likewise.
40045 * math/w_exp10.c: Likewise.
40046 * math/w_exp10f.c: Likewise.
40047 * math/w_exp10l.c: Likewise.
40048 * math/w_fmod.c: Likewise.
40049 * math/w_fmodf.c: Likewise.
40050 * math/w_fmodl.c: Likewise.
40051 * math/w_j0.c: Likewise.
40052 * math/w_j0f.c: Likewise.
40053 * math/w_j0l.c: Likewise.
40054 * math/w_j1.c: Likewise.
40055 * math/w_j1f.c: Likewise.
40056 * math/w_j1l.c: Likewise.
40057 * math/w_jn.c: Likewise.
40058 * math/w_jnf.c: Likewise.
40059 * math/w_log.c: Likewise.
40060 * math/w_logf.c: Likewise.
40061 * math/w_logl.c: Likewise.
40062 * math/w_log10.c: Likewise.
40063 * math/w_log10f.c: Likewise.
40064 * math/w_log10l.c: Likewise.
40065 * math/w_log2.c: Likewise.
40066 * math/w_log2f.c: Likewise.
40067 * math/w_log2l.c: Likewise.
40068 * math/w_pow.c: Likewise.
40069 * math/w_powf.c: Likewise.
40070 * math/w_powl.c: Likewise.
40071 * math/w_remainder.c: Likewise.
40072 * math/w_remainderf.c: Likewise.
40073 * math/w_remainderl.c: Likewise.
40074 * math/w_scalb.c: Likewise.
40075 * math/w_scalbf.c: Likewise.
40076 * math/w_scalbl.c: Likewise.
40077 * math/w_sqrt.c: Likewise.
40078 * math/w_sqrtf.c: Likewise.
40079 * math/w_sqrtl.c: Likewise.
40080 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
40081 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
40083 * math/math_private.h: Declare __kernel_standard_f.
40084 * math/w_cosh.c: Remove cruft and optimize a bit.
40085 * math/w_coshf.c: Likewise.
40086 * math/w_coshl.c: Likewise.
40087 * math/w_exp2.c: Likewise.
40088 * math/w_exp2f.c: Likewise.
40089 * math/w_exp2l.c: Likewise.
40090 * math/w_hypot.c: Likewise.
40091 * math/w_hypotf.c: Likewise.
40092 * math/w_hypotl.c: Likewise.
40093 * math/w_lgamma.c: Likewise.
40094 * math/w_lgamma_r.c: Likewise.
40095 * math/w_lgammaf.c: Likewise.
40096 * math/w_lgammaf_r.c: Likewise.
40097 * math/w_lgammal.c: Likewise.
40098 * math/w_lgammal_r.c: Likewise.
40099 * math/w_sinh.c: Likewise.
40100 * math/w_sinhf.c: Likewise.
40101 * math/w_sinhl.c: Likewise.
40102 * math/w_tgamma.c: Likewise.
40103 * math/w_tgammaf.c: Likewise.
40104 * math/w_tgammal.c: Likewise.
40105 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40106 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40107 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
40108 Minor optimizations. Pretty printing. Remove cruft.
40109 * sysdeps/i386/fpu/e_acosf.S: Likewise.
40110 * sysdeps/i386/fpu/e_acosh.S: Likewise.
40111 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
40112 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
40113 * sysdeps/i386/fpu/e_acosl.c: Likewise.
40114 * sysdeps/i386/fpu/e_asin.S: Likewise.
40115 * sysdeps/i386/fpu/e_asinf.S: Likewise.
40116 * sysdeps/i386/fpu/e_atan2.S: Likewise.
40117 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
40118 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
40119 * sysdeps/i386/fpu/e_atanh.S: Likewise.
40120 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
40121 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40122 * sysdeps/i386/fpu/e_exp10.S: Likewise.
40123 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
40124 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
40125 * sysdeps/i386/fpu/e_exp2.S: Likewise.
40126 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
40127 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
40128 * sysdeps/i386/fpu/e_fmod.S: Likewise.
40129 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
40130 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
40131 * sysdeps/i386/fpu/e_hypot.S: Likewise.
40132 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
40133 * sysdeps/i386/fpu/e_log.S: Likewise.
40134 * sysdeps/i386/fpu/e_log10.S: Likewise.
40135 * sysdeps/i386/fpu/e_log10f.S: Likewise.
40136 * sysdeps/i386/fpu/e_log10l.S: Likewise.
40137 * sysdeps/i386/fpu/e_log2.S: Likewise.
40138 * sysdeps/i386/fpu/e_log2f.S: Likewise.
40139 * sysdeps/i386/fpu/e_log2l.S: Likewise.
40140 * sysdeps/i386/fpu/e_logf.S: Likewise.
40141 * sysdeps/i386/fpu/e_logl.S: Likewise.
40142 * sysdeps/i386/fpu/e_pow.S: Likewise.
40143 * sysdeps/i386/fpu/e_powf.S: Likewise.
40144 * sysdeps/i386/fpu/e_powl.S: Likewise.
40145 * sysdeps/i386/fpu/e_remainder.S: Likewise.
40146 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
40147 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
40148 * sysdeps/i386/fpu/e_scalb.S: Likewise.
40149 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40150 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40151 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
40152 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
40153 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
40154 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
40155 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40156 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40157 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
40158 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
40159 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
40160 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
40161 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
40162 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40163 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
40164 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
40165 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
40166 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40167 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
40168 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
40169 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40170 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40171 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
40172 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40173 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40174 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
40175 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
40176 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40177 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40178 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
40179 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
40180 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
40181 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
40182 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
40183 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
40184 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40185 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
40186 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40187 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
40188 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
40189 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
40190 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
40191 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
40192 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
40193 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
40194 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
40195 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
40196 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
40197 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
40198 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40199 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
40200 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
40201 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
40202 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
40203 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
40204 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
40205 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
40206 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
40207 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40208 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
40209 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
40210 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
40211 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
40212 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
40213 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
40214 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
40215 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
40216 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40217 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40218 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
40219 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
40220 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
40221 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
40222 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
40223 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
40224 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
40225 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
40226 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
40227 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
40228 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
40229 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40230 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
40231 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
40232 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40233 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
40234 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40235 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
40236 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
40237 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40238 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40239 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
40240 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40241 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
40242 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
40243 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
40244 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40245 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
40246 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
40247 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
40248 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
40249 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
40250 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
40251 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
40252 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
40253 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
40254 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
40255 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
40256 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
40257 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
40258 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40259 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40260 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40261 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40262 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
40263 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40264 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
40265 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
40266 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
40267 (__isnanf): Likewise.
40268 (__isinf_ns): Likewise.
40269 (__isinf_nsf): Likewise.
40270 (__finite): Likewise.
40271 (__finitef): Likewise.
40272 (__ieee754_sqrt): Define as macro.
40273 (__ieee754_sqrtf): Define as macro.
40274 (__ieee754_sqrtl): Define as macro.
40275 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
40277 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
40278 __FINITE_MATH_ONLY__ consistent.
40279 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
40281 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
40283 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
40286 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
40288 2011-10-09 Ulrich Drepper <drepper@gmail.com>
40290 * po/ja.po: Update from translation team.
40292 2011-10-08 Roland McGrath <roland@hack.frob.com>
40294 * locale/programs/locarchive.c (prepare_address_space): New function.
40295 (create_archive, enlarge_archive, open_archive): Use it.
40297 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
40298 inside [SHARED], where it is used.
40300 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
40302 * nss/getent.c (netgroup_keys): Remove unused variable.
40303 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
40305 2011-10-08 Ulrich Drepper <drepper@gmail.com>
40307 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
40308 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
40309 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
40310 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
40311 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
40312 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
40313 * math/Makefile (libm-calls): Add s_isinf_ns.
40314 * math/divtc3.c: Use __isinf_nsl instead of isinf.
40315 * math/multc3.c: Likewise.
40316 * math/s_casin.c: Likewise.
40317 * math/s_casinf.c: Likewise.
40318 * math/s_casinl.c: Likewise.
40319 * math/s_ccos.c: Likewise.
40320 * math/s_ccosf.c: Likewise.
40321 * math/s_ccosl.c: Likewise.
40322 * math/s_ctan.c: Likewise.
40323 * math/s_ctanf.c: Likewise.
40324 * math/s_ctanh.c: Likewise.
40325 * math/s_ctanhf.c: Likewise.
40326 * math/s_ctanhl.c: Likewise.
40327 * math/s_ctanl.c: Likewise.
40328 * math/w_fmod.c: Likewise.
40329 * math/w_fmodf.c: Likewise.
40330 * math/w_fmodl.c: Likewise.
40331 * math/w_remainder.c: Likewise.
40332 * math/w_remainderf.c: Likewise.
40333 * math/w_remainderl.c: Likewise.
40334 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
40335 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
40336 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
40337 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
40338 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
40339 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
40340 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
40341 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
40343 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
40345 * stdio-common/printf_fphex.c: Likewise.
40346 * stdio-common/printf_size.c: Likewise.
40348 * math/e_exp10.c: Include math_private.h using <...> not "...".
40349 * math/e_exp10f.c: Likewise.
40350 * math/e_exp10l.c: Likewise.
40351 * math/e_exp2l.c: Likewise.
40352 * math/e_j0l.c: Likewise.
40353 * math/e_j1l.c: Likewise.
40354 * math/e_jnl.c: Likewise.
40355 * math/e_lgammal_r.c: Likewise.
40356 * math/e_rem_pio2l.c: Likewise.
40357 * math/e_scalb.c: Likewise.
40358 * math/e_scalbf.c: Likewise.
40359 * math/e_scalbl.c: Likewise.
40360 * math/k_cosl.c: Likewise.
40361 * math/k_sinl.c: Likewise.
40362 * math/k_tanl.c: Likewise.
40363 * math/s_cacoshf.c: Likewise.
40364 * math/s_catan.c: Likewise.
40365 * math/s_catanf.c: Likewise.
40366 * math/s_catanh.c: Likewise.
40367 * math/s_catanhf.c: Likewise.
40368 * math/s_catanhl.c: Likewise.
40369 * math/s_catanl.c: Likewise.
40370 * math/s_ccosh.c: Likewise.
40371 * math/s_ccoshf.c: Likewise.
40372 * math/s_ccoshl.c: Likewise.
40373 * math/s_cexp.c: Likewise.
40374 * math/s_cexpf.c: Likewise.
40375 * math/s_cexpl.c: Likewise.
40376 * math/s_clog.c: Likewise.
40377 * math/s_clog10.c: Likewise.
40378 * math/s_clog10f.c: Likewise.
40379 * math/s_clog10l.c: Likewise.
40380 * math/s_clogf.c: Likewise.
40381 * math/s_clogl.c: Likewise.
40382 * math/s_csin.c: Likewise.
40383 * math/s_csinf.c: Likewise.
40384 * math/s_csinh.c: Likewise.
40385 * math/s_csinhf.c: Likewise.
40386 * math/s_csinhl.c: Likewise.
40387 * math/s_csinl.c: Likewise.
40388 * math/s_csqrt.c: Likewise.
40389 * math/s_csqrtf.c: Likewise.
40390 * math/s_csqrtl.c: Likewise.
40391 * math/s_ctan.c: Likewise.
40392 * math/s_ctanf.c: Likewise.
40393 * math/s_ctanh.c: Likewise.
40394 * math/s_ctanhf.c: Likewise.
40395 * math/s_ctanhl.c: Likewise.
40396 * math/s_ctanl.c: Likewise.
40397 * math/s_ldexp.c: Likewise.
40398 * math/s_ldexpf.c: Likewise.
40399 * math/s_ldexpl.c: Likewise.
40400 * math/s_significand.c: Likewise.
40401 * math/s_significandf.c: Likewise.
40402 * math/s_significandl.c: Likewise.
40403 * math/w_acos.c: Likewise.
40404 * math/w_acosf.c: Likewise.
40405 * math/w_acosh.c: Likewise.
40406 * math/w_acoshf.c: Likewise.
40407 * math/w_acoshl.c: Likewise.
40408 * math/w_acosl.c: Likewise.
40409 * math/w_asin.c: Likewise.
40410 * math/w_asinf.c: Likewise.
40411 * math/w_asinl.c: Likewise.
40412 * math/w_atan2.c: Likewise.
40413 * math/w_atan2f.c: Likewise.
40414 * math/w_atan2l.c: Likewise.
40415 * math/w_atanh.c: Likewise.
40416 * math/w_atanhf.c: Likewise.
40417 * math/w_atanhl.c: Likewise.
40418 * math/w_cosh.c: Likewise.
40419 * math/w_coshf.c: Likewise.
40420 * math/w_coshl.c: Likewise.
40421 * math/w_dremf.c: Likewise.
40422 * math/w_exp10.c: Likewise.
40423 * math/w_exp10f.c: Likewise.
40424 * math/w_exp10l.c: Likewise.
40425 * math/w_exp2.c: Likewise.
40426 * math/w_exp2f.c: Likewise.
40427 * math/w_fmod.c: Likewise.
40428 * math/w_fmodf.c: Likewise.
40429 * math/w_fmodl.c: Likewise.
40430 * math/w_hypot.c: Likewise.
40431 * math/w_hypotf.c: Likewise.
40432 * math/w_hypotl.c: Likewise.
40433 * math/w_j0.c: Likewise.
40434 * math/w_j0f.c: Likewise.
40435 * math/w_j0l.c: Likewise.
40436 * math/w_j1.c: Likewise.
40437 * math/w_j1f.c: Likewise.
40438 * math/w_j1l.c: Likewise.
40439 * math/w_jn.c: Likewise.
40440 * math/w_jnf.c: Likewise.
40441 * math/w_jnl.c: Likewise.
40442 * math/w_lgamma.c: Likewise.
40443 * math/w_lgamma_r.c: Likewise.
40444 * math/w_lgammaf.c: Likewise.
40445 * math/w_lgammaf_r.c: Likewise.
40446 * math/w_lgammal.c: Likewise.
40447 * math/w_lgammal_r.c: Likewise.
40448 * math/w_log.c: Likewise.
40449 * math/w_log10.c: Likewise.
40450 * math/w_log10f.c: Likewise.
40451 * math/w_log10l.c: Likewise.
40452 * math/w_log2.c: Likewise.
40453 * math/w_log2f.c: Likewise.
40454 * math/w_log2l.c: Likewise.
40455 * math/w_logf.c: Likewise.
40456 * math/w_logl.c: Likewise.
40457 * math/w_pow.c: Likewise.
40458 * math/w_powf.c: Likewise.
40459 * math/w_powl.c: Likewise.
40460 * math/w_remainder.c: Likewise.
40461 * math/w_remainderf.c: Likewise.
40462 * math/w_remainderl.c: Likewise.
40463 * math/w_scalb.c: Likewise.
40464 * math/w_scalbf.c: Likewise.
40465 * math/w_scalbl.c: Likewise.
40466 * math/w_sinh.c: Likewise.
40467 * math/w_sinhf.c: Likewise.
40468 * math/w_sinhl.c: Likewise.
40469 * math/w_sqrt.c: Likewise.
40470 * math/w_sqrtf.c: Likewise.
40471 * math/w_sqrtl.c: Likewise.
40472 * math/w_tgamma.c: Likewise.
40473 * math/w_tgammaf.c: Likewise.
40474 * math/w_tgammal.c: Likewise.
40476 * po/ja.po: Update from translation team.
40478 2011-09-29 Andreas Jaeger <aj@suse.de>
40481 * sunrpc/netname.c (netname2host): Fix logic.
40485 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
40487 * math/w_remainder.c (__remainder): Likewise.
40488 * math/w_remainderf.c (__remainderf): Likewise.
40489 * math/libm-test.inc (remainder_test): Add test cases.
40491 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40493 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
40496 2011-10-07 Ulrich Drepper <drepper@gmail.com>
40498 * string/test-memcmp.c: Avoid unncessary #defines.
40499 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
40501 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40503 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
40504 Use new sse2 version for core i3 - i7 as it's faster
40505 than sse42 version.
40506 (bit_Prefer_PMINUB_for_stringop): New.
40507 * sysdeps/x86_64/rawmemchr.S: Update.
40508 Replace with faster SSE2 version.
40509 * sysdeps/x86_64/memrchr.S: New file.
40510 * sysdeps/x86_64/memchr.S: Update.
40511 Replace with faster SSE2 version.
40513 2011-09-12 Marek Polacek <mpolacek@redhat.com>
40515 * elf/dl-load.c (lose): Add cast to avoid warning.
40517 2011-10-07 Ulrich Drepper <drepper@gmail.com>
40519 * po/ca.po: Update from translation team.
40521 * inet/getnetgrent_r.c: Hook up nscd.
40522 * nscd/Makefile (routines): Add nscd_netgroup.
40523 (nscd-modules): Add netgroupcache.
40524 (CFLAGS-netgroupcache.c): Define.
40525 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
40526 (cache_search): Add const to second parameter.
40527 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
40529 (dbs): Add netgrdb entry.
40530 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
40531 (verify_persistent_db): Handle netgrdb.
40532 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
40533 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
40535 (netgroup_response_header): Define.
40536 (innetgroup_response_header): Define.
40537 (datahead): Add netgroup_response_header and innetgroup_response_header
40539 * nscd/nscd.conf: Add entries for netgroup cache.
40540 * nscd/nscd.h (dbtype): Add netgrdb.
40541 (_PATH_NSCD_NETGROUP_DB): Define.
40542 (netgroup_iov_disabled): Declare.
40543 (xmalloc, xcalloc, xrealloc): Move declarations here.
40544 (cache_search): Adjust prototype.
40545 Add netgroup-related prototypes.
40546 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
40547 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
40548 (__nscd_innetgr): Declare.
40549 * nscd/selinux.c (perms): Use access_vector_t as element type and
40550 add netgroup-related initializers.
40551 * nscd/netgroupcache.c: New file.
40552 * nscd/nscd_netgroup.c: New file.
40553 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
40554 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
40555 For four parameters use innetgr.
40556 * nss/nss_files/files-init.c: Add definition and callback for netgr.
40557 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
40558 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
40559 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
40561 * nscd/connections.c (register_traced_file): Don't register file
40562 for disabled databases.
40564 2011-10-06 Ulrich Drepper <drepper@gmail.com>
40566 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
40568 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
40569 from tree and freeing node.
40571 2011-09-25 Jiri Olsa <jolsa@redhat.com>
40573 * nss/nsswitch.c (__nss_database_lookup): Handle
40574 nss_parse_service_list out of memory case.
40576 2011-09-15 Jiri Olsa <jolsa@redhat.com>
40578 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
40579 out of memory case.
40581 2011-10-04 Andreas Schwab <schwab@redhat.com>
40583 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
40584 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
40586 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
40587 elf_machine_rela, elf_machine_lazy_rel.
40588 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
40589 (ELF_DYNAMIC_DO_REL): Likewise.
40590 (ELF_DYNAMIC_DO_RELA): Likewise.
40591 (ELF_DYNAMIC_RELOCATE): Likewise.
40592 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
40593 to ELF_DYNAMIC_DO_REL.
40594 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
40595 (dl_main): In trace mode always set __RTLD_NOIFUNC.
40596 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
40598 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
40599 skip_ifunc, don't call ifunc function if non-zero.
40600 (elf_machine_rela): Likewise.
40601 (elf_machine_lazy_rel): Likewise.
40602 (elf_machine_lazy_rela): Likewise.
40603 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
40604 (elf_machine_lazy_rel): Likewise.
40605 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
40607 (elf_machine_lazy_rel): Likewise.
40608 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
40610 (elf_machine_lazy_rel): Likewise.
40611 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
40612 (elf_machine_lazy_rel): Likewise.
40613 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
40614 (elf_machine_lazy_rel): Likewise.
40615 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
40616 (elf_machine_lazy_rel): Likewise.
40617 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
40618 (elf_machine_lazy_rel): Likewise.
40619 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
40620 (elf_machine_lazy_rel): Likewise.
40621 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
40622 (elf_machine_lazy_rel): Likewise.
40624 2011-09-28 Ulrich Drepper <drepper@gmail.com>
40626 * nss/nss_files/files-init.c (_nss_files_init): Use static
40627 initialization for all the *_traced_file variables.
40629 2011-09-28 Andreas Schwab <schwab@redhat.com>
40631 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40633 2011-09-27 Roland McGrath <roland@hack.frob.com>
40636 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
40638 2011-09-27 Andreas Schwab <schwab@redhat.com>
40640 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
40641 Reread the line before reparsing it.
40643 2011-09-26 Andreas Schwab <schwab@redhat.com>
40645 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
40647 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
40648 Maxim Kuvyrkov <maxim@codesourcery.com>
40649 Joseph Myers <joseph@codesourcery.com>
40651 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
40652 if needed for __stack_chk_guard.
40654 2011-09-19 Roland McGrath <roland@hack.frob.com>
40656 * sysdeps/posix/spawni.c (script_execute): Always define it.
40657 It will be optimized away if unused.
40658 (maybe_script_execute): New function.
40659 (__spawni): Call it.
40661 * Makerules: Don't include tls.make.
40662 (config-tls): Always set to thread.
40663 * tls.make.c: File removed.
40665 2011-09-19 Mike Frysinger <vapier@gentoo.org>
40667 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
40668 * config.make.in (CPPFLAGS-config): New substituted variable.
40670 2011-09-15 Ulrich Drepper <drepper@gmail.com>
40672 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
40675 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
40676 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
40678 2011-09-15 Roland McGrath <roland@hack.frob.com>
40680 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
40681 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
40682 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
40683 (CALL_FAIL): Likewise.
40684 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
40685 (CALL_FAIL): Macro removed.
40686 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
40688 2011-09-15 Ulrich Drepper <drepper@gmail.com>
40690 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
40691 for __FINITE_MATH_ONLY__ == 1.
40693 2011-09-15 Andreas Schwab <schwab@redhat.com>
40695 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
40696 __ieee754_sqrt instead of sqrt.
40697 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
40698 __ieee754_sqrtf instead of sqrtf.
40699 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
40700 __floorf instead of floorf.
40701 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
40702 __floorf, __truncf instead of floorf, truncf.
40704 2011-09-14 Ulrich Drepper <drepper@gmail.com>
40706 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
40708 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
40709 __extern_always_inline.
40710 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
40713 2011-09-14 Andreas Schwab <schwab@redhat.com>
40715 * elf/rtld.c (dl_main): Also relocate in dependency order when
40716 doing symbol dependency testing.
40718 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
40720 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
40721 Always define `refsym'.
40723 2011-09-13 Andreas Schwab <schwab@redhat.com>
40725 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
40726 (__FD_ELT): Renamed from __FDELT.
40727 * misc/bits/select2.h (__FD_ELT): Likewise.
40728 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
40729 __FD_MASK instead of __FDELT, __FDMASK.
40730 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
40732 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
40735 * elf/Makefile (gen-ldd): Fix pattern.
40737 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
40738 (init_tls): Likewise.
40740 2011-09-12 Ulrich Drepper <drepper@gmail.com>
40742 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
40744 2011-09-12 Andreas Schwab <schwab@redhat.com>
40746 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
40747 `struct cmsghdr *' instead of `void *'.
40748 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
40751 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
40753 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
40755 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
40756 ldd_rewrite_script.
40758 2011-09-11 Ulrich Drepper <drepper@gmail.com>
40760 * configure.in: Remove --with-tls option.
40761 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
40762 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
40763 out in case it is missing.
40764 * sysdeps/ia64/elf/configure.in: Likewise.
40765 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
40766 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
40767 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
40768 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
40769 * sysdeps/sh/elf/configure.in: Likewise.
40770 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
40771 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
40772 * sysdeps/x86_64/elf/configure.in: Likewise.
40773 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
40774 * sysdeps/mach/hurd/tls.h: Likewise.
40777 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
40780 * configure.in: Fix use of AC_INIT.
40782 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
40784 2011-09-10 Ulrich Drepper <drepper@gmail.com>
40786 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
40788 * malloc/hooks.c: Likewise.
40791 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
40792 variables statically.
40793 (narenas): Initialize.
40794 (list_lock): Initialize.
40795 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
40796 initializtion of main_arena and list_lock. Small cleanups.
40797 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
40798 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
40799 Add initializers to main_arena and mp_.
40800 (malloc_state): Remove pagesize member. Change all users to use
40803 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
40804 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
40805 is always initialized.
40807 * malloc/malloc.c: Removed unused configurations and dead code.
40808 * malloc/arena.c: Likewise.
40809 * malloc/hooks.c: Likewise.
40810 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
40812 * include/tls.h: Removed. USE___THREAD must always be defined.
40813 * bits/libc-tsd.h: Don't handle !USE___THREAD.
40814 * elf/dl-libc.c: Likewise.
40815 * elf/dl-tsd.c: Likewise.
40816 * include/errno.h: Likewise.
40817 * include/netdb.h: Likewise.
40818 * include/resolv.h: Likewise.
40819 * inet/herrno-loc.c: Likewise.
40820 * inet/herrno.c: Likewise.
40821 * malloc/arena.c: Likewise.
40822 * malloc/hooks.c: Likewise.
40823 * malloc/malloc.c: Likewise.
40824 * resolv/res-state.c: Likewise.
40825 * resolv/res_libc.c: Likewise.
40826 * sysdeps/i386/dl-machine.h: Likewise.
40827 * sysdeps/ia64/dl-machine.h: Likewise.
40828 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
40829 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
40830 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
40831 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
40832 * sysdeps/sh/dl-machine.h: Likewise.
40833 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
40834 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
40835 * sysdeps/unix/i386/sysdep.S: Likewise.
40836 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
40837 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
40838 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
40839 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
40840 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
40841 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
40842 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
40843 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40844 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40845 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
40846 * sysdeps/unix/x86_64/sysdep.S: Likewise.
40847 * sysdeps/x86_64/dl-machine.h: Likewise.
40848 * tls.make.c: Likewise.
40850 * configure.in: Remove --with-__thread option. Make tests for
40851 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
40852 tls_model attribute fail if no support is available. Remove
40854 * Makeconfig: Adjust for dropped configure option. All features are
40856 * Makerules: Likewise.
40857 * Versions.def: Likewise.
40858 * argp/argp-fmtstream.c: Likewise.
40859 * argp/argp-fmtstream.h: Likewise.
40860 * argp/argp-help.c: Likewise.
40861 * assert/assert.c: Likewise.
40862 * config.h.in: Likewise.
40863 * config.make.in: Likewise.
40864 * configure: Likewise.
40865 * configure.in: Likewise.
40866 * csu/Versions: Likewise.
40867 * csu/init.c: Likewise.
40868 * elf/tst-audit2.c: Likewise.
40869 * elf/tst-tls10.c: Likewise.
40870 * elf/tst-tls10.h: Likewise.
40871 * elf/tst-tls11.c: Likewise.
40872 * elf/tst-tls12.c: Likewise.
40873 * elf/tst-tls14.c: Likewise.
40874 * elf/tst-tlsmod11.c: Likewise.
40875 * elf/tst-tlsmod12.c: Likewise.
40876 * elf/tst-tlsmod13.c: Likewise.
40877 * elf/tst-tlsmod13a.c: Likewise.
40878 * elf/tst-tlsmod14a.c: Likewise.
40879 * elf/tst-tlsmod15b.c: Likewise.
40880 * elf/tst-tlsmod16a.c: Likewise.
40881 * elf/tst-tlsmod16b.c: Likewise.
40882 * elf/tst-tlsmod7.c: Likewise.
40883 * elf/tst-tlsmod8.c: Likewise.
40884 * elf/tst-tlsmod9.c: Likewise.
40885 * gmon/gmon.c: Likewise.
40886 * grp/fgetgrent_r.c: Likewise.
40887 * grp/putgrent.c: Likewise.
40888 * hurd/fopenport.c: Likewise.
40889 * include/libc-symbols.h: Likewise.
40890 * include/tls.h: Likewise.
40891 * intl/gettextP.h: Likewise.
40892 * intl/loadinfo.h: Likewise.
40893 * locale/global-locale.c: Likewise.
40894 * locale/localeinfo.h: Likewise.
40895 * mach/devstream.c: Likewise.
40896 * malloc/arena.c: Likewise.
40897 * malloc/set-freeres.c: Likewise.
40898 * misc/err.c: Likewise.
40899 * misc/getttyent.c: Likewise.
40900 * misc/mntent_r.c: Likewise.
40901 * posix/getopt.c: Likewise.
40902 * posix/wordexp.c: Likewise.
40903 * pwd/fgetpwent_r.c: Likewise.
40904 * resolv/Versions: Likewise.
40905 * resolv/res_hconf.c: Likewise.
40906 * shadow/fgetspent_r.c: Likewise.
40907 * shadow/putspent.c: Likewise.
40908 * stdio-common/printf_fphex.c: Likewise.
40909 * stdio-common/tmpfile.c: Likewise.
40910 * stdlib/abort.c: Likewise.
40911 * stdlib/fmtmsg.c: Likewise.
40912 * sunrpc/auth_unix.c: Likewise.
40913 * sunrpc/clnt_perr.c: Likewise.
40914 * sunrpc/clnt_tcp.c: Likewise.
40915 * sunrpc/clnt_udp.c: Likewise.
40916 * sunrpc/clnt_unix.c: Likewise.
40917 * sunrpc/openchild.c: Likewise.
40918 * sunrpc/svc_simple.c: Likewise.
40919 * sunrpc/svc_tcp.c: Likewise.
40920 * sunrpc/svc_udp.c: Likewise.
40921 * sunrpc/svc_unix.c: Likewise.
40922 * sunrpc/xdr.c: Likewise.
40923 * sunrpc/xdr_array.c: Likewise.
40924 * sunrpc/xdr_rec.c: Likewise.
40925 * sunrpc/xdr_ref.c: Likewise.
40926 * sunrpc/xdr_stdio.c: Likewise.
40928 2011-09-09 Ulrich Drepper <drepper@gmail.com>
40930 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40932 2011-07-03 Andreas Jaeger <aj@suse.de>
40934 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
40935 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
40936 regenerate with gen-libm-tests.pl.
40938 2010-05-12 Petr Baudis <pasky@suse.cz>
40941 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
40942 around j0() zero points by switching to j1().
40943 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40944 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40945 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40946 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40948 2011-09-09 Ulrich Drepper <drepper@gmail.com>
40950 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
40952 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
40954 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40955 Patch in part by Pavel Roskin <proski@gnu.org>.
40958 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
40960 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
40961 Free memory block if necessary.
40964 * libio/genops.c (INTDEF): For string streams the _lock pointer can
40965 be NULL. Don't lock in this case.
40967 2011-09-09 Roland McGrath <roland@hack.frob.com>
40969 * elf/elf.h (ELFOSABI_GNU): New macro.
40970 (ELFOSABI_LINUX): Define to that.
40972 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
40974 * string/strncat.c (strncat): Undef the symbol in case it has been
40975 defined in bits/string.h.
40977 2011-09-09 Ulrich Drepper <drepper@gmail.com>
40979 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
40981 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
40984 2011-08-17 Andreas Jaeger <aj@suse.de>
40986 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
40988 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
40989 Ian Lance Taylor <iant@google.com>
40991 * math/libm-test.inc (lround_test): New testcase.
40992 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
40994 2011-09-08 Ulrich Drepper <drepper@gmail.com>
40996 * Makefile: Remove support for automatic cvs check-ins.
40997 * Makerules: Likewise.
40998 * config.make.in: Likewise.
40999 * configure.in: Likewise.
41000 * intl/Makefile: Likewise.
41001 * locale/Makefile: Likewise.
41002 * po/Makefile: Likewise.
41003 * posix/Makefile: Likewise.
41004 * sysdeps/gnu/Makefile: Likewise.
41005 * sysdeps/mach/hurd/Makefile: Likewise.
41006 * sysdeps/sparc/sparc32/Makefile: Likewise.
41009 * posix/Makefile (bug-regex32-ENV): Define.
41010 Patch by John Stanley <jpsinthemix@verizon.net>.
41012 * misc/Makefile (headers): Add bits/select2.h.
41013 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
41014 * misc/bits/select2.h: New file.
41015 * include/bits/select2.h: New file.
41016 * debug/Makefile (routines): Add fdelt_chk.
41017 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
41018 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
41020 * debug/fdelt_chk.c: New file.
41022 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
41023 * wcsmbs/test-wmemcmp.c: Likewise.
41024 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
41025 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
41027 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41029 * string/Makefile (strop-tests): Add memcmp.
41030 * string/test-wmemcmp.c: New file.
41031 * string/test-memcmp.c: Add wmemcmp support.
41033 2011-09-08 Roland McGrath <roland@hack.frob.com>
41036 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
41039 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
41040 garbage value in a __mach_port_mod_refs call in the cases of the
41041 task-self and thread-self ports.
41043 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
41045 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
41047 2011-09-08 Andreas Schwab <schwab@redhat.com>
41049 * elf/dl-load.c (lose): Check for non-null L.
41051 2011-09-07 Ulrich Drepper <drepper@gmail.com>
41053 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
41055 * elf/dl-libc.c (dlerror_run): Pass back error code from
41059 * elf/dl-load.c (lose): Free l_origin if it is valid.
41061 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
41063 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
41064 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
41065 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
41066 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
41067 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
41068 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
41070 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41072 * sysdeps/powerpc/fpu/e_hypot.c: New file.
41073 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
41074 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
41075 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
41076 * sysdeps/powerpc/fpu/k_cosf.c: New file.
41077 * sysdeps/powerpc/fpu/k_sinf.c: New file.
41078 * sysdeps/powerpc/fpu/s_cosf.c: New file.
41079 * sysdeps/powerpc/fpu/s_sinf.c: New file.
41080 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
41081 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
41083 2011-08-15 Alan Modra <amodra@gmail.com>
41086 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
41087 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
41088 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
41089 ppc_mcount to static-only-routines.
41090 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
41092 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
41093 __mcount_internal with usual JUMPTARGET. Remove useless nop.
41095 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
41097 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
41098 for finite and infinity parameters.
41100 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
41102 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
41103 and add nop instructions for throughput optimization.
41104 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41106 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
41108 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
41109 aligned copy for power7 with vector-scalar instructions.
41110 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
41112 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
41114 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
41117 2011-09-07 Andreas Schwab <schwab@redhat.com>
41120 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
41123 2011-09-07 Ulrich Drepper <drepper@gmail.com>
41125 * sysdeps/unix/sysv/linux/x86_64/init-first.c
41126 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
41127 syscall wrapper around clock_gettime in __vdso_clock_gettime.
41128 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
41131 2011-09-06 Ulrich Drepper <drepper@gmail.com>
41133 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
41134 Forgot to demangle the pointer.
41136 * sysdeps/i386/sysdep.h: Define atom_text_section.
41137 * sysdeps/x86_64/sysdep.h: Likewise.
41138 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
41139 section with atom_text_section.
41140 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
41141 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
41142 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
41143 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
41144 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
41146 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
41147 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
41148 already be defined. Change to take two parameters and don't assign
41149 result to variable. Adjust all users.
41150 Define INTERNAL_GETTIME if not already defined.
41151 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
41153 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
41154 HAVE_CLOCK_GETTIME_VSYSCALL.
41155 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
41157 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
41158 gettimeofday vsyscall, just use time.
41160 2011-09-06 Andreas Schwab <schwab@redhat.com>
41162 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
41165 2011-09-06 Ulrich Drepper <drepper@gmail.com>
41167 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
41169 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
41171 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
41172 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
41173 syscall if possible.
41175 2011-09-05 Ulrich Drepper <drepper@gmail.com>
41177 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
41178 e_ident. Don't pass to find_mapsXX.
41179 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
41181 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41183 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41184 strchr-sse2-no-bsf strrchr-sse2-no-bsf
41185 * sysdeps/x86_64/multiarch/strchr.S: Update.
41186 Check bit_slow_BSF bit.
41187 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
41188 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
41189 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
41191 2011-09-05 Ulrich Drepper <drepper@gmail.com>
41194 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
41196 (tryshell): Define.
41197 (__spawni): Change last parameter to be flag. Test
41198 SPAWN_XFLAGS_USE_PATH flag to use path or not.
41199 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
41200 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
41201 * posix/spawni.c: Likewise.
41202 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
41203 * posix/spawnp.c: Likewise. Change normal version to use
41204 SPAWN_XFLAGS_USE_PATH.
41205 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
41206 SPAWN_XFLAGS_TRY_SHELL.
41209 * posix/glob.h: Remove gcc 1.x support.
41212 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
41214 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41216 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41217 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
41219 * sysdeps/i386/i686/multiarch/strchr.S: New file.
41220 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
41221 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
41222 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
41223 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
41224 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
41226 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41228 * sysdeps/x86_64/wcscmp.S: New file.
41230 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
41231 wcscmp-c wcscmp-sse2
41232 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
41233 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
41234 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
41235 * wcsmbs/wcscmp.c: Allow renaming.
41237 2011-09-05 David S. Miller <davem@davemloft.net>
41239 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
41240 stack slot, rather than the struct return pointer slot.
41241 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
41242 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
41243 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
41244 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
41246 2011-09-05 Ulrich Drepper <drepper@gmail.com>
41248 * po/ja.po: Update from translation team.
41251 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
41252 kernel in 64-bit binaries.
41254 2011-09-01 David S. Miller <davem@davemloft.net>
41256 * elf/elf.h (HWCAP_SPARC_*): Move to..
41257 * sysdeps/sparc/sysdep.h: this new file and add new values.
41258 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
41259 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
41260 _DL_HWCAP_COUNT to 24.
41261 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
41263 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
41264 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
41265 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
41266 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
41267 instead of magic constants.
41268 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41270 2011-08-31 David S. Miller <davem@davemloft.net>
41272 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
41273 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
41274 Reimplement to do errno handling inline.
41275 (SYSCALL_ERROR_HANDLER): New macro.
41276 (__SYSCALL_STRING): Do not do errno handling in asm.
41277 (__CLONE_SYSCALL_STRING): Delete.
41278 (__INTERNAL_SYSCALL_STRING): Delete.
41279 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
41280 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
41281 (PSEUDO): Reimplement to do errno handling inline.
41282 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
41283 (SYSCALL_ERROR_HANDLER): New macro.
41284 (__SYSCALL_STRING): Do not do errno handling in asm.
41285 (__CLONE_SYSCALL_STRING): Delete.
41286 (__INTERNAL_SYSCALL_STRING): Delete.
41287 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
41288 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
41290 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
41291 (inline_syscall*): Add 'err' argument.
41292 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
41293 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
41294 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
41295 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
41297 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
41298 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
41300 2011-08-30 Andreas Schwab <schwab@redhat.com>
41302 * elf/rtld.c (dl_main): Relocate objects in dependency order.
41304 2011-08-29 Jiri Olsa <jolsa@redhat.com>
41306 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
41309 2011-08-24 David S. Miller <davem@davemloft.net>
41311 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
41313 2011-08-24 Andreas Schwab <schwab@redhat.com>
41315 * elf/Makefile: Add rules to build and run unload8 test.
41316 * elf/unload8.c: New file.
41317 * elf/unload8mod1.c: New file.
41318 * elf/unload8mod1x.c: New file.
41319 * elf/unload8mod2.c: New file.
41320 * elf/unload8mod3.c: New file.
41322 * elf/dl-close.c (_dl_close_worker): Reset private search list if
41325 2011-08-23 David S. Miller <davem@davemloft.net>
41327 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
41328 subtract stack bias.
41329 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
41330 %sp not %fp in calculations.
41331 (_JMPBUF_UNWINDS_ADJ): Likewise.
41333 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
41334 (aio_suspend): Call it to force an exception region around the
41335 AIO_MISC_WAIT() invocation.
41337 2011-08-23 Andreas Schwab <schwab@redhat.com>
41339 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
41342 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
41344 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
41346 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
41347 and <dl-machine.h>.
41348 (Elf64_FuncDesc): Remove.
41350 2011-08-22 David S. Miller <davem@davemloft.net>
41352 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
41353 sigaltstack check, add missing cfi directives.
41354 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
41355 missing cfi directives, and sigaltstack handling.
41357 2011-08-16 Andreas Schwab <schwab@redhat.com>
41360 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
41361 object is seen twice.
41362 * elf/dl-fini.c (_dl_sort_fini): Likewise.
41364 * elf/Makefile (distribute): Add tst-initorder2.c.
41365 (tests): Add tst-initorder2.
41366 (modules-names): Add tst-initorder2a tst-initorder2b
41367 tst-initorder2c tst-initorder2d. Add rules to build them.
41368 ($(objpfx)tst-initorder2.out): New rule.
41369 * elf/tst-initorder2.c: New file.
41370 * elf/tst-initorder2.exp: New file.
41372 2011-08-22 Andreas Schwab <schwab@redhat.com>
41374 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
41376 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
41377 dependencies back to end of function.
41379 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
41380 $(elfobjdir)/ld.so.
41382 2011-08-21 Ulrich Drepper <drepper@gmail.com>
41384 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
41385 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
41386 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
41387 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
41388 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
41389 of __vdso_gettimeofday.
41390 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
41391 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
41393 (_libc_vdso_platform_setup): Remove initialization of
41394 __vdso_gettimeofday and __vdso_time.
41396 2011-08-20 Ulrich Drepper <drepper@gmail.com>
41398 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
41399 and fgetc_unlocked.
41400 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
41403 * elf/dl-open.c (add_to_global): Report additions to the global scope
41404 for LD_DEBUG=scopes.
41405 (dl_open_worker): Also print scope of newly loaded dependencies.
41406 (_dl_show_scope): Indicate if there is no scope.
41409 * stdio-common/Makefile (tests): Add bug24.
41410 * stdio-common/bug24.c: New file.
41412 2011-08-19 Andreas Jaeger <aj@suse.de>
41415 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
41416 non-existant file when using close-on-exec mode.
41418 2011-08-20 Ulrich Drepper <drepper@gmail.com>
41420 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
41421 the very first instruction.
41423 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
41424 the CFI state in the end.
41425 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
41426 inclusion of dl-trampoline.h.
41427 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
41429 2011-08-19 Andreas Schwab <schwab@redhat.com>
41431 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
41432 expectations for long double.
41434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
41435 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
41437 2011-08-14 David S. Miller <davem@davemloft.net>
41439 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
41440 artificual limit depends upon the system page size.
41442 2011-08-17 Ulrich Drepper <drepper@gmail.com>
41444 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
41445 * resolv/Makefile: Define CFLAGS-libresolv.
41447 2011-08-17 Andreas Schwab <schwab@redhat.com>
41449 * nss/makedb.c (compute_tables): Make variables used in nested
41452 2011-08-17 Ulrich Drepper <drepper@gmail.com>
41454 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
41455 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
41456 if buffer was too small.
41458 * elf/pldd.c (main): Attach to all threads in the process.
41459 Rewrite /proc handling to use *at functions.
41461 2011-08-16 Ulrich Drepper <drepper@gmail.com>
41463 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
41464 specifies first scope to show.
41465 (dl_open_worker): Update callers. Move printing scope of new
41466 object to before the relocation.
41467 * elf/rtld.c (dl_main): Update _dl_show_scope call.
41468 * sysdeps/generic/ldsodefs.h: Update declaration.
41470 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
41471 string for the scope number.
41473 2011-08-14 Ulrich Drepper <drepper@gmail.com>
41475 * nscd/servicescache.c (cache_addserv): Make sure written is always
41478 2011-08-14 Roland McGrath <roland@hack.frob.com>
41480 * sysdeps/i386/i486/bits/atomic.h
41481 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
41482 statement expression, so as to suppress "set but not used" warning.
41483 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
41485 * string/strncat.c (STRNCAT): Use prototype definition.
41487 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
41488 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
41490 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
41491 (localedef-modules): Add localedef.
41492 (locale-modules): Add locale.
41494 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
41495 * elf/rtld.c (dl_main): Invert order of assignment in last change,
41496 to avoid a warning.
41498 2011-08-14 David S. Miller <davem@davemloft.net>
41500 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
41501 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
41503 2011-08-13 Ulrich Drepper <drepper@gmail.com>
41505 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
41506 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
41507 * elf/rtld.c (dl_main): Set l_name of vDSO.
41508 Call _dl_show_scope when DL_DEBUG_SCOPES.
41509 (process_dl_debug): Recognize scopes flag and also set it for all.
41510 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
41511 Declare _dl_show_scope.
41513 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
41514 (do_dlopen): Pass caller_dlopen to dl_open.
41515 (__libc_dlopen_mode): Initialize caller_dlopen.
41517 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
41518 of libc. Make tolower call locale-independent. Optimize a bit by
41519 using isdigit instead of isalnum.
41520 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
41522 2011-08-12 Ulrich Drepper <drepper@gmail.com>
41524 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
41525 was a dependency or dynamically loaded.
41527 2011-08-11 Ulrich Drepper <drepper@gmail.com>
41529 * intl/l10nflist.c: Allow architecture-specific pop function.
41530 * sysdeps/x86_64/l10nflist.c: New file.
41532 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
41535 2011-08-10 Andreas Schwab <schwab@redhat.com>
41537 * include/dirent.h: Add libc_hidden_proto for scandirat and
41538 scandirat64. Don't declare __scandirat64.
41539 * dirent/scandirat.c: Add libc_hidden_def.
41540 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
41541 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
41543 2011-08-10 David S. Miller <davem@davemloft.net>
41545 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
41547 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
41548 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
41549 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
41551 2011-08-09 Ulrich Drepper <drepper@gmail.com>
41553 * Versions.def [libc]: Add GLIBC_2.15.
41554 * dirent/Makefile (routines): Add scandirat and scandirat64.
41555 * dirent/Versions [libc]: Export scandirat and scandirat64 for
41557 * dirent/dirent.h: Declare scandirat and scandirat64.
41558 * dirent/scandirat.c: New file.
41559 * dirent/scandirat64.c: New file.
41560 * sysdeps/wordsize-64/scandirat.c: New file.
41561 * sysdeps/wordsize-64/scandirat64.c: New file.
41562 * dirent/opendir.c: Define opendirat.
41563 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
41565 * dirent/scandir64.c: Adjust for scandir.c change.
41566 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
41567 __scandirat64, and __scandir_cancel_handler.
41568 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
41569 additional parameter and use openat instead of open (outside of ld.so).
41570 Add new __opendir as wrapper around __opendirat.
41571 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
41572 here without requiring old scandirat implementation.
41574 2011-08-08 Ulrich Drepper <drepper@gmail.com>
41576 * dirent/scandir.c (cancel_handler): Renamed to
41577 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
41578 defined. Adjust users.
41579 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
41580 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
41582 2011-08-04 Ulrich Drepper <drepper@gmail.com>
41584 * string/test-string.h (IMPL): Use __STRING to expand name and then
41587 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
41590 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41592 * string/Makefile: Update.
41593 (strop-tests): Append strncat.
41594 * string/test-wcscmp.c: New file.
41595 New comprehensive test for wcscmp.
41596 * string/test-strcmp.c: Update.
41597 (WIDE): New define.
41599 2011-07-22 Andreas Schwab <schwab@redhat.com>
41601 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
41604 2011-07-26 Andreas Schwab <schwab@redhat.com>
41606 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
41607 encoding to ACE if AI_IDN.
41609 2011-08-01 Jakub Jelinek <jakub@redhat.com>
41611 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
41612 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
41614 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41616 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
41617 Fix overflow bug in strncat.
41618 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
41620 * string/test-strncat.c: Update.
41621 Add new tests for checking overflow bugs.
41623 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41625 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41626 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
41627 * sysdeps/i386/i686/multiarch/strcat.S: New file.
41628 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
41629 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
41630 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
41631 * sysdeps/i386/i686/multiarch/strncat.S: New file.
41632 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
41633 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
41635 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
41636 (USE_AS_STRCAT): Define.
41637 Add strcat and strncat support.
41638 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
41640 2011-07-25 Andreas Schwab <schwab@redhat.com>
41642 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
41643 __n bigger than INT_MAX+1.
41644 (__strncmp_g): Likewise.
41646 2011-07-23 Ulrich Drepper <drepper@gmail.com>
41648 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
41649 * libio/stido.h: Likewise.
41651 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
41653 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
41656 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
41657 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
41658 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
41659 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
41660 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
41663 * scripts/test-installation.pl: Don't expect libnss_test1 to be
41666 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
41668 (_dl_x86_64_save_sse): Likewise.
41670 2011-07-22 Ulrich Drepper <drepper@gmail.com>
41672 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
41674 (_dl_x86_64_save_sse): Likewise.
41676 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
41678 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
41680 2011-07-21 Andreas Schwab <schwab@redhat.com>
41682 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
41684 (_dl_x86_64_save_sse): Use correct AVX check.
41686 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41688 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
41689 bug in strncpy/strncat.
41690 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
41692 2011-07-21 Ulrich Drepper <drepper@gmail.com>
41694 * string/tester.c (test_strcat): Add tests for different alignments
41695 of source and destination.
41696 (test_strncat): Likewise.
41698 2011-07-20 Ulrich Drepper <drepper@gmail.com>
41701 * posix/glob.c (glob): Check passed in values before using them in
41702 expressions to avoid some overflows.
41703 (glob_in_dir): Likewise.
41706 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
41707 check for AVX enablement so that we don't crash with old kernels and
41709 * elf/tst-audit4.c: Add same checks here.
41710 * elf/tst-audit6.c: Likewise.
41712 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
41714 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
41716 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
41718 2011-07-20 Ulrich Drepper <drepper@gmail.com>
41720 * po/cs.po: Update from translation team.
41721 * po/bg.po: Likewise.
41723 2011-07-12 Marek Polacek <mpolacek@redhat.com>
41725 * misc/sys/cdefs.h: Add support for const attribute.
41726 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
41727 to gnu_dev_{major,minor,makedev} functions.
41729 2011-07-20 Marek Polacek <mpolacek@redhat.com>
41731 * intl/dcigettext.c (get_output_charset): Add missing bracket.
41733 2011-07-20 Andreas Schwab <schwab@redhat.com>
41735 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
41738 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41740 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
41741 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
41742 register in order to avoid conflicts with the soft frame pointer
41743 being held in r11 when necessary.
41744 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
41745 (INTERNAL_VSYSCALL_NCS): Likewise.
41747 2011-07-14 Marek Polacek <mpolacek@redhat.com>
41749 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
41750 * elf/dl-fini.c (_dl_fini): Adjust caller.
41751 * elf/dl-close.c (_dl_close_worker): Likewise.
41752 * sysdeps/generic/ldsodefs.h: Adjust declaration.
41754 2011-07-15 Marek Polacek <mpolacek@redhat.com>
41756 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
41757 "aux_cache->nlibs < 0".
41759 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
41760 in the reload-count case.
41762 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41764 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41765 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
41766 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
41767 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
41768 * sysdeps/x86_64/multiarch/strcat.S: New file.
41769 * sysdeps/x86_64/multiarch/strncat.S: New file.
41770 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
41771 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
41772 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
41773 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
41774 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
41775 (USE_AS_STRCAT): Define.
41776 Add strcat and strncat support.
41777 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
41778 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
41779 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
41780 * string/strncat.c: Update.
41781 (USE_AS_STRNCAT): Define.
41782 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41783 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
41785 * sysdeps/x86_64/multiarch/init-arch.h
41786 (bit_Prefer_PMINUB_for_stringop): New.
41787 (index_Prefer_PMINUB_for_stringop): Likewise.
41788 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
41789 bit_Prefer_PMINUB_for_stringop.
41791 2011-07-19 Ulrich Drepper <drepper@gmail.com>
41793 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
41795 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
41796 of casting of buffer.
41797 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
41798 buffer32 and buffer64.
41799 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
41800 writes instead of casting of buffer.
41801 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
41803 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
41806 2011-07-19 Andreas Schwab <schwab@redhat.com>
41808 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
41810 2011-07-19 Ulrich Drepper <drepper@gmail.com>
41812 * nscd/nscd.c (termination_handler): Don't do anything for a database
41813 if it has not yet been initialized.
41815 2011-07-18 Ulrich Drepper <drepper@gmail.com>
41817 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
41819 2011-07-15 Marek Polacek <mpolacek@redhat.com>
41821 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
41823 2011-07-18 Ulrich Drepper <drepper@gmail.com>
41825 * po/nl.po: Update from translation team.
41826 * po/sv.po: Likewise.
41828 2011-07-16 Roland McGrath <roland@hack.frob.com>
41830 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
41831 now disallowed by GCC.
41833 * configure.in (use-default-link): Default to yes if a test -shared
41834 link meets our qualifications.
41835 * configure: Regenerated.
41837 * config.make.in (output-format): New variable.
41838 * configure.in: Check for ld --print-output-format support.
41839 * configure: Regenerated.
41840 * Makerules ($(common-objpfx)format.lds)
41841 [$(output-format) != unknown]: Just use $(output-format),
41842 instead of the linker-script munging.
41844 2011-07-14 Roland McGrath <roland@hack.frob.com>
41846 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
41847 of $(common-objpfx)shlib.lds.
41848 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
41850 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
41851 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
41853 * configure.in (-z relro check): Adjust test code to add a large
41854 writable data section after it.
41855 * configure: Regenerated.
41857 2011-07-11 Roland McGrath <roland@hack.frob.com>
41859 * configure.in (-z relro check): Fix test code to make the variable
41861 * configure: Regenerated.
41863 2011-07-11 Ulrich Drepper <drepper@gmail.com>
41865 * nscd/nscd.h (struct traced_file): Define.
41866 (struct database_dyn): Remove inotify_descr, reset_res, and filename
41867 elements. Add traced_files.
41868 (inotify_fd): Declare.
41869 (register_traced_file): Declare.
41870 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
41871 (inotify_fd): Export.
41872 (resolv_conf_descr): Remove.
41873 (nscd_init): Move inotify descriptor creation to main.
41874 Don't register files for notification here.
41875 (register_traced_file): New function.
41876 (invalidate_cache): Don't use reset_res to determine whether to call
41877 res_init, go through the list of registered files.
41878 (main_loop_poll): The inotify descriptors are now stored in the
41879 structures for the traced files.
41880 (main_loop_epoll): Likewise
41881 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
41882 to __nss_disable_nscd.
41883 * nscd/cache.c (prune_cache): There is no single inotify descriptor
41884 for a database anymore. Check the records for all the registered
41886 * nss/Makefile (libnss_files-routines): Add files-init.
41887 (libnss_db-routines): Add db-init.
41888 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
41889 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
41890 * nss/nss_db/db-init.c: New file.
41891 * nss/nss_files/files-init.c: New file.
41892 * nss/nsswitch.c (nss_load_library): New function. Broken out of
41893 __nss_lookup_function.
41894 (__nss_lookup_function): Call nss_load_library.
41895 (nss_load_all_libraries): New function.
41896 (__nss_disable_nscd): Take parameter with callback function for files
41897 to register. Set is_nscd. Load all the DSOs for the NSS modules
41898 used for the cached services.
41899 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
41900 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
41901 options for features to all the files in nscd.
41903 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
41905 2011-07-10 Roland McGrath <roland@hack.frob.com>
41907 * csu/elf-init.c (__libc_csu_init): Comment typo.
41909 2011-07-09 Ulrich Drepper <drepper@gmail.com>
41911 * po/pl.po: Update from translation team.
41912 * po/ja.po: Likewise.
41913 * po/ru.po: Likewise.
41914 * po/ko.po: Likewise.
41915 * po/fr.po: Likewise.
41917 2011-07-09 Roland McGrath <roland@hack.frob.com>
41919 * configure.in (.ctors/.dtors header and trailer check):
41920 Use an empirical test on a built program.
41921 * configure: Regenerated.
41923 * configure.in (-z relro check): Use an empirical test on a built DSO.
41924 Detect, but do not require, on ia64.
41925 * configure: Regenerated.
41927 * configure.in (READELF): Find it with AC_CHECK_TOOL.
41928 Update tests that use readelf to use $READELF instead.
41929 * configure: Regenerated.
41931 2011-07-08 Ulrich Drepper <drepper@gmail.com>
41933 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
41934 if the result is not used.
41936 2011-07-05 Andreas Jaeger <aj@suse.de>
41939 * stdlib/tst-strtod.c: Add testcase.
41941 2011-07-07 Ulrich Drepper <drepper@gmail.com>
41943 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
41944 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
41945 The latter has a higher limit. Take additional parameter to pass to
41947 (__pathconf): Pass file to __statfs_link_max.
41948 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
41950 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
41954 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
41955 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
41957 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
41958 (__statfs_filesize_max): Likewise.
41959 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
41961 2011-07-05 Andreas Jaeger <aj@suse.de>
41963 * resolv/res_comp.c (dn_skipname): Remove unused variable.
41965 2011-07-06 Marek Polacek <mpolacek@redhat.com>
41967 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
41969 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
41972 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
41974 * Makefile (strop-tests): Add strncat.
41975 * string/test-strncat.c: New file.
41977 2011-06-30 Marek Polacek <mpolacek@redhat.com>
41979 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
41981 2011-06-21 Andreas Jaeger <aj@suse.de>
41983 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
41984 Copy rule from iconvdata/Makefile.
41986 2011-07-06 Ulrich Drepper <drepper@gmail.com>
41989 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
41990 but no long options are defined, just return 'W'.
41992 2011-06-22 Marek Polacek <mpolacek@redhat.com>
41995 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
41997 2011-07-06 Ulrich Drepper <drepper@gmail.com>
41999 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
42001 (innetgr): Likewise.
42003 2011-07-05 Roland McGrath <roland@hack.frob.com>
42005 * config.make.in (install_root): Default to $(DESTDIR).
42007 2011-07-05 Ulrich Drepper <drepper@gmail.com>
42009 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
42011 2011-07-02 Roland McGrath <roland@hack.frob.com>
42013 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
42015 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
42016 containing directory rather than embedding absolute directory names.
42018 * scripts/check-local-headers.sh: Rewritten using awk.
42019 Match by word, not by line. Print error messages for matches.
42020 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
42022 * Makerules [shlib-lds-flags empty]:
42023 ($(common-objpfx)libc_pic.opts): New target.
42024 ($(common-objpfx)libc_pic.os.clean): New target.
42025 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
42027 * config.make.in (OBJCOPY): New variable.
42028 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
42029 * configure: Regenerated.
42031 * config.make.in (use-default-link): New variable.
42032 * configure.in (use_default_link): Grok --with-default-link to set it.
42033 * configure: Regenerated.
42034 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
42035 (shlib-lds, shlib-lds-flags): Define to empty.
42037 * Makerules (shlib-lds): New variable.
42038 (shlib-lds-flags): New variable.
42039 (build-shlib, build-moduile, build-module-asneeded): Use it.
42040 ($(common-objpfx)libc.so): Use $(shlib-lds).
42041 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
42042 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
42044 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
42045 DT_FLAGS/DT_FLAGS_1 with zero flags.
42047 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
42048 linker script munging.
42050 2011-07-02 Ulrich Drepper <drepper@gmail.com>
42052 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
42054 * crypt/sha512.c (sha512_process_block): Perform total addition using
42055 128-bit if possible.
42056 (__sha512_finish_ctx): Likewise.
42057 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
42059 * crypt/sha256.c (SWAP64): Define.
42060 (sha256_process_block): Perform total addition using 64-bit if
42062 (__sha256_finish_ctx): Likewise.
42064 2011-07-01 Ulrich Drepper <drepper@gmail.com>
42066 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
42067 * nscd/initgrcache.c (addinitgroupsX): Likewise.
42068 * nscd/hstcache.c (cache_addhst): Likewise.
42069 * nscd/grpcache.c (cache_addgr): Likewise.
42070 * nscd/aicache.c (addhstaiX): Likewise
42071 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
42073 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
42075 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
42076 * nscd/initgrcache.c (addinitgroupsX): Likewise.
42077 * nscd/hstcache.c (cache_addhst): Likewise.
42078 * nscd/grpcache.c (cache_addgr): Likewise.
42079 * nscd/aicache.c (addhstaiX): Likewise
42081 2011-07-01 Andreas Schwab <schwab@redhat.com>
42083 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
42084 domain only when needed.
42086 2011-06-30 Andreas Schwab <schwab@redhat.com>
42088 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
42089 is always restored.
42091 2011-06-29 Ulrich Drepper <drepper@gmail.com>
42093 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
42094 are re-adding the entry.
42095 * nscd/servicescache.c (cache_addserv): Likewise.
42097 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
42099 * sysdeps/generic/dl-irel.h: fix protection against multiple
42101 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
42103 2011-06-28 Ulrich Drepper <drepper@gmail.com>
42106 * malloc/memusage.sh: Fix quoting in message.
42107 * debug/xtrace.sh: Likewise.
42109 * configure.in: Remove support for --experimental-malloc option, make
42111 * config.make.in: Likewise.
42112 * malloc/Makefile: Likewise.
42114 2011-06-27 Andreas Schwab <schwab@redhat.com>
42116 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
42117 two-byte characters.
42119 2011-06-27 Roland McGrath <roland@hack.frob.com>
42121 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
42122 AC_CACHE_CHECK invocation.
42123 * configure: Regenerated.
42125 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
42127 2011-06-27 Ulrich Drepper <drepper@gmail.com>
42130 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
42131 bit from old_res_options.
42133 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
42135 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
42136 value type for setfct.
42138 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
42140 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
42141 __gettimeofday instead of gettimeofday.
42143 2011-06-26 Ulrich Drepper <drepper@gmail.com>
42145 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
42147 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
42149 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
42151 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
42154 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
42156 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42157 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
42158 strcpy-sse2-unaligned strncpy-sse2-unaligned
42159 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
42160 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
42161 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
42162 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
42163 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
42164 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
42165 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
42166 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
42167 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
42168 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
42169 (STRCPY): Support SSE2 and SSSE3 versions.
42171 2011-06-24 Ulrich Drepper <drepper@gmail.com>
42174 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
42175 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
42176 kernels which artificially limit size of requests.
42178 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
42180 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42181 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
42182 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
42183 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
42184 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
42185 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
42186 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
42187 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
42188 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
42189 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
42190 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
42191 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
42192 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
42193 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
42194 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
42195 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42196 Enable unaligned load optimization for Intel Core i3, i5 and i7
42198 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
42200 (index_Fast_Unaligned_Load): Define.
42201 (HAS_FAST_UNALIGNED_LOAD): Define.
42203 2011-06-23 Marek Polacek <mpolacek@redhat.com>
42205 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
42207 2011-06-22 Ulrich Drepper <drepper@gmail.com>
42210 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
42211 until it is clear that the information is realy needed.
42212 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
42214 2011-06-22 Andreas Schwab <schwab@redhat.com>
42216 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
42218 2011-06-22 Ulrich Drepper <drepper@gmail.com>
42220 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
42221 /sys/devices/system/cpu/online if it is usable.
42223 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
42224 reading the information from the /proc filesystem to once a second.
42226 2011-06-21 Andreas Jaeger <aj@suse.de>
42228 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
42229 NULL after inclusion of kernel headers.
42231 2011-06-21 Ulrich Drepper <drepper@gmail.com>
42233 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
42234 calls to internal_setent.
42237 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
42238 addresses using gethostbyname4_r ignore IPv4 addresses.
42240 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
42241 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
42243 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
42245 2011-06-20 David S. Miller <davem@davemloft.net>
42247 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
42249 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
42251 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
42252 (elf_irel): Use it.
42253 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
42254 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
42255 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
42256 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
42257 * sysdeps/x86_64/dl-irel.h: Likewise.
42259 * elf/dl-runtime.c: Use elf_ifunc_invoke.
42260 * elf/dl-sym.c: Likewise.
42262 2011-06-15 Ulrich Drepper <drepper@gmail.com>
42264 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
42265 need to dereference resplen2.
42267 2011-06-14 Andreas Schwab <schwab@redhat.com>
42269 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
42271 2011-06-15 Ulrich Drepper <drepper@gmail.com>
42273 * Makeconfig: Define vardbdir and inst_vardbdir.
42274 * nss/Makefile: Add rules to install db-Makefile.
42276 * nss/nss_db/db-XXX.c: Cleanup.
42278 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
42279 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
42281 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
42282 * nss/makedb.c: Implement -g option to specify that value strings
42283 are generated and should not be added to table iterated over for
42285 * nss/nss_db/db-initgroups.c: New file.
42287 * nss/getent.c: Add support for initgroups lookups through getgrouplist
42290 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
42291 (internal_getgrouplist): Adjust to name change.
42292 Update use_initgroups_entry if this is not the first call.
42293 * nss/databases.def: Add initgroups entry.
42295 * nss/makedb.c (compute_tables): Check result of multiple hash table
42296 sizes to minimize maximum chain length.
42298 2011-06-14 Ulrich Drepper <drepper@gmail.com>
42300 * Versions.def: Add entry for libnss_db.
42301 * shlib-versions: Likewise.
42302 * nss/Makefile: Add rules to build libnss_db.
42303 * nss/Versions: Add libnss_db information. Organize libnss_files
42305 * nss/db-Makefile: Add gshadow support. Change rules for the new
42306 makedb progra. Some minor improvements to generate smaller files.
42307 * nss/nss_db/nss_db.h: Move NSS database header data structures to
42309 * nss/makedb.c: ...here.
42310 Improve database format to be smaller and require less memory at
42312 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
42314 * nss/nss_db/db-netgrp.c: Likewise.
42315 * nss/nss_db/db-open.c: Likewise.
42316 * nss/nss_files/flies-XXX.x: Adjust comments.
42317 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
42318 * nss/nss_files/files-grp.c: Likewise.
42319 * nss/nss_files/files-hosts.c: Likewise.
42320 * nss/nss_files/files-network.c: Likewise.
42321 * nss/nss_files/files-proto.c: Likewise.
42322 * nss/nss_files/files-pwd.c: Likewise.
42323 * nss/nss_files/files-rpc.c: Likewise.
42324 * nss/nss_files/files-service.c: Likewise.
42325 * nss/nss_files/files-sgrp.c: Likewise.
42326 * nss/nss_files/files-spwd.c: Likewise.
42327 * nss/nss_db/db-alias.c: Removed.
42328 * nss/nss_db/dummy-db.h: Removed.
42330 2011-06-02 Ulrich Drepper <drepper@gmail.com>
42332 * nss/makedb.c: Rewritten to not use database library.
42333 * nss/Makefile: Update to build new makedb program.
42335 2011-06-14 Andreas Jaeger <aj@suse.de>
42337 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
42338 memset declaration.
42340 2011-06-10 Andreas Schwab <schwab@redhat.com>
42342 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
42345 2011-06-10 Roland McGrath <roland@hack.frob.com>
42347 * Makerules (shlib.lds): Fail if the linker script comes out empty.
42348 * elf/Makefile ($(objpfx)ld.so): Likewise.
42350 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
42351 Don't list ld.so twice in dependencies.
42353 * posix/bug-regex31.c: Include <stdlib.h>.
42355 * nscd/hstcache.c (cache_addhst): Remove unused variable.
42357 * nis/nss_compat/compat-spwd.c
42358 (getspent_next_nss_netgr): Remove unused variable.
42359 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
42361 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
42362 nonmembers" output to use the right array.
42364 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
42366 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
42368 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
42369 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
42370 * catgets/gencat.c (read_input_file): Likewise.
42371 * locale/programs/locarchive.c (enlarge_archive): Likewise.
42373 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
42374 variable definition inside #if's controlling its use.
42376 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
42378 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
42380 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
42382 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
42385 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
42387 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
42388 * configure: Regenerated.
42390 * Makerules: Revert last change.
42391 * elf/Makefile: Likewise.
42393 2011-06-09 Roland McGrath <roland@hack.frob.com>
42395 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
42396 * elf/Makefile ($(objpfx)librtld.os): Likewise.
42397 (reloc-link): Likewise.
42399 2011-06-09 Ulrich Drepper <drepper@gmail.com>
42401 * elf/Makefile: Add rules to build pldd.
42402 * elf/pldd.c: New file.
42403 * elf/pldd-xx.c: New file.
42405 2011-06-07 Ulrich Drepper <drepper@gmail.com>
42407 * version.h: Update for 2.15 development version.
42409 2011-06-07 David S. Miller <davem@davemloft.net>
42411 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
42413 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
42414 elf_machine_lazy_rel): Likewise.
42415 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
42416 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
42417 elf_machine_lazy_rel): Likewise.
42418 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
42419 dl_hwcap via passed in argument.
42420 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
42423 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42425 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
42427 2011-06-06 Roland McGrath <roland@hack.frob.com>
42430 * manual/fdl-1.1.texi: New file, verbatim from:
42431 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
42432 * manual/lgpl-2.1.texi: New file, verbatim from:
42433 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
42434 * manual/Makefile (licenses): New variable, list those new file names.
42436 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
42438 * manual/fdl.texi: File removed.
42439 * manual/lesser.texi: File removed.
42440 * manual/libc.texinfo (Copying, Documentation License):
42441 Use new @include file names, put @appendix directive before @include.
42443 2011-06-04 Jakub Jelinek <jakub@redhat.com>
42446 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
42447 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
42448 (mq_open): Add __NTH.
42450 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
42452 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42453 Assume Intel Core i3/i5/i7 processor if AVX is available.
42455 2011-05-31 Ulrich Drepper <drepper@gmail.com>
42457 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
42460 2011-05-31 Andreas Schwab <schwab@redhat.com>
42462 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
42463 memory. Use alloca_account. Fix memory leak when retrying.
42465 2011-05-31 Ulrich Drepper <drepper@gmail.com>
42467 * version.h (RELEASE): Bump for 2.14 release.
42468 * include/features.h (__GLIBC_MINOR__): Bump to 14.
42470 * config.make.in (RANLIB): Remove entry.
42472 2011-05-30 Ulrich Drepper <drepper@gmail.com>
42474 * po/Makefile (po-sed-cmd): Add ksh to extensions.
42475 (libc.pot): Work around missing support for .ksh extension in xgettext.
42478 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
42479 if both request failed.
42480 (send_dg): In case of server errors clear resplen or *resplen2.
42483 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
42484 when there are multiple maps.
42485 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
42486 (_dl_fini): Remove test here.
42488 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
42490 2011-05-29 Ulrich Drepper <drepper@gmail.com>
42493 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
42494 bit from old_res_options.
42495 (gaih_inet): Likewise.
42498 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
42501 * resolv/res_init.c (res_setoptions): Make the code more compact.
42504 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
42508 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
42510 * malloc/malloc.h: Mark malloc hook variables as deprecated.
42513 * malloc/malloc.h: Declare malloc hook variables as volatile.
42515 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
42519 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
42520 raise in the comment.
42521 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
42522 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
42523 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
42525 2011-05-28 Ulrich Drepper <drepper@gmail.com>
42528 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
42529 grow the buffers more if it already has to be sufficient.
42530 (build_wcs_upper_buffer): Likewise.
42531 * posix/regexec.c (check_matching): Likewise.
42532 (clean_state_log_if_needed): Likewise.
42533 (extend_buffers): Don't enlarge buffers beyond size of the input
42535 Patches mostly by Emil Wojak <emil@wojak.eu>.
42536 * posix/bug-regex32.c: New file.
42537 * posix/Makefile (tests): Add bug-regex32.
42539 * locale/findlocale.c (_nl_find_locale): Return right away if
42540 _nl_explode_name failed.
42541 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
42543 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
42545 * debug/xtrace.sh: Unify messages.
42546 * malloc/memusage.sh: Likewise.
42549 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
42550 time symbol from vDSO. Substitute with vsyscall if not available.
42551 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
42554 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
42555 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
42556 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
42557 Add sendmmsg and internal_sendmmsg.
42558 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
42559 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
42560 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
42562 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
42563 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
42564 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
42566 2011-05-27 Ulrich Drepper <drepper@gmail.com>
42569 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
42570 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
42572 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
42576 * iconvdata/Makefile (tests): Add bug-iconv9.
42577 * iconvdata/bug-iconv9.c: New file.
42579 2011-05-27 Andreas Schwab <schwab@redhat.com>
42582 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
42584 2011-05-25 Jakub Jelinek <jakub@redhat.com>
42586 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
42587 (struct user_regs_struct): Change intcs field back to cs.
42589 2011-05-25 Ulrich Drepper <drepper@gmail.com>
42591 * po/ja.po: Update from translation team.
42593 2011-05-23 Ulrich Drepper <drepper@gmail.com>
42596 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
42597 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
42599 2011-05-20 Andreas Schwab <schwab@redhat.com>
42601 * stdlib/longlong.h: Update from GCC.
42603 2011-05-23 Andreas Schwab <schwab@redhat.com>
42605 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
42607 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
42608 Add parameter name.
42609 (__sysconf): Pass it down.
42611 2011-05-22 Ulrich Drepper <drepper@gmail.com>
42614 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
42616 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
42617 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
42618 add in in __libc_use_alloca calls. Adjust callers.
42619 (glob): Use malloc in some situations.
42621 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
42622 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
42625 2011-05-21 Ulrich Drepper <drepper@gmail.com>
42627 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
42628 and CLOCK_BOOTTIME_ALARM.
42631 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
42634 * string/_strerror.c (__strerror_r): Print negative errors as signed
42638 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
42639 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
42640 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
42642 * configure.in: Fix typo in redirection and correct removal of test
42643 files in two cases.
42646 * locale/setlocale.c (new_composite_name): Fix test to check for
42647 identical name of all categories.
42650 * libio/filedoalloc.c (local_isatty): New function.
42651 (_IO_file_doallocate): Use local_isatty.
42652 * stdio-common/perror.c (perror): In case a new stream is used
42653 forward the stream error.
42654 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
42657 2011-05-20 Ulrich Drepper <drepper@gmail.com>
42660 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
42662 * include/alloca.h (extend_alloca_account): Define.
42665 * posix/regex.h: Fix comments with documentation of user-accessible
42666 fields after compilation and describe correct free'ing of pattern
42667 after re_compile_pattern.
42668 Patch by Reuben Thomas <rrt@sc3d.org>.
42670 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
42672 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
42673 and -mno-altivec to prevent the compiler from using Altivec and/or
42674 VSX instructions when the corresponding registers are not available.
42676 2011-05-19 Andreas Schwab <schwab@redhat.com>
42678 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
42680 2011-05-19 Ulrich Drepper <drepper@gmail.com>
42682 * libio/freopen.c (freopen): Use __dup2, not dup2.
42683 * libio/freopen64.c (freopen64): Likewise.
42685 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
42688 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
42689 * math/Makefile (tests): Add test-powl.
42690 (CFLAGS-test-powl.c): Define.
42691 * math/test-powl.c: New file.
42693 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
42695 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
42697 2011-05-17 Ulrich Drepper <drepper@gmail.com>
42700 * iconvdata/gb18030.c: Update to GB18020-2005.
42702 2011-05-16 Ulrich Drepper <drepper@gmail.com>
42704 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
42705 RE_SYNTAX_POSIX_AWK): Update to match recent development.
42706 Patch by Aharon Robbins <arnold@skeeve.com>.
42709 * stdlib/putenv.c (putenv): Don't always create copy of the variable
42713 * misc/pselect.c (__pselect): Handle timeout value errors hidden
42714 through underflows.
42717 * misc/error.c (error_at_line): Ensure file_name and old_file_name
42718 point to strings before performing equality test for error_one_per_line
42722 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
42725 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
42726 (struct user_fpregs_struct): Avoid __uint*_t types.
42729 * malloc/mtrace.c (tr_where): Add additional parameter to point to
42730 symbol info. Use it instead of calling _dl_addr locally.
42731 (lock_and_info): New function.
42732 (tr_freehook): Call lock_and_info and pass symbol info as additional
42733 parameter to tr_where.
42734 (tr_mallochook): Likewise.
42735 (tr_reallochook): Likewise.
42736 (tr_memalignhook): Likewise.
42738 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
42739 used and couldn't be at all thread-safe.
42741 2011-05-15 Ulrich Drepper <drepper@gmail.com>
42743 * libio/freopen.c (freopen): Don't close old file descriptor
42744 before the new one is opened. Instead dup the new file descriptor
42745 to the old one after the new stream is created.
42746 * libio/freopen64.c (freopen64): Likewise.
42747 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
42748 * libio/fileops.c (_IO_new_file_close_it): Handle new
42749 _IO_FLAGS2_NOCLOSE flag.
42750 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
42751 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
42752 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
42753 _IO_FLAGS2_NOCLOSE flag.
42754 * include/unistd.h: Add hidden_proto for dup3.
42755 Define __have_dup3.
42756 * io/dup3.c: Define hidden symbol.
42757 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
42760 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
42761 when an incomplete long option is used.
42762 * posix/tst-getopt_long1.c: New file.
42763 * posix/Makefile (tests): Add tst-getopt_long1.
42766 * scripts/config.guess: Update from autoconf-2.68.
42767 * scripts/config.sub: Likewise.
42770 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
42772 (has_cpuclock): ...this. New function.
42773 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
42774 macro here based on has_cpuclock code.
42777 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42778 First byte (not low byte) is now always NUL.
42779 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
42781 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42782 Use non-cancelable interfaces.
42785 * locale/iso-639.def: Add entry for Sorani.
42788 * include/stdlib.h: Move include protection to the right place.
42789 Define abort_msg_s. Declare __abort_msg with it.
42790 * stdlib/abort.c (__abort_msg): Adjust type.
42791 * assert/assert.c (__assert_fail_base): New function. Majority
42792 of code from __assert_fail. Allocate memory for __abort_msg with
42794 (__assert_fail): Now call __assert_fail_base.
42795 * assert/assert-perr.c: Remove bulk of implementation. Use
42796 __assert_fail_base.
42797 * include/assert.hL Declare __assert_fail_base.
42798 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
42800 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
42802 2011-05-14 Ulrich Drepper <drepper@gmail.com>
42806 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
42807 until all modules are registered in the DTV.
42808 * elf/Makefile: Add rules to build and run tst-tls19.
42809 * elf/tst-tls19.c: New file.
42810 * elf/tst-tls19mod1.c: New file.
42811 * elf/tst-tls19mod2.c: New file.
42812 * elf/tst-tls19mod3.c: New file.
42813 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
42816 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
42820 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
42821 two-byte sequence errors.
42822 * iconvdata/Makefile (tests): Add bug-iconv8.
42823 * iconvdata/bug-iconv8.c: New file.
42826 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
42829 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
42832 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
42833 (dummy_getcfa): New function.
42834 (init): Get _Unwind_GetCFA address, use dummy if not found.
42835 (backtrace_helper): In recursion check, also check whether CFA changes.
42836 (__backtrace): Completely initialize arg.
42838 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
42839 storing incomplete byte sequence in state object. Avoid testing for
42840 guaranteed too small input if we know there is enough data available.
42842 2011-05-11 Andreas Schwab <schwab@redhat.com>
42844 * Makeconfig (+link-pie): Indent.
42845 * Rules (binaries-pie): Define if $(have-fpie) and
42847 (binaries-shared): Also filter out $(binaries-pie).
42848 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
42849 * nscd/Makefile (others-pie): Add nscd.
42850 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
42851 ($(objpfx)nscd): Remove command override.
42852 * login/Makefile (others-pie): Add pt_chown.
42853 ($(objpfx)pt_chown): Remove command override.
42854 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
42855 remove command overrides.
42857 2011-05-13 Ulrich Drepper <drepper@gmail.com>
42859 * libio/tst_putwc.c: Fix error messages.
42862 * libio/fileops.c (_IO_new_file_close_it): Always flush when
42863 currently writing and seek to current position when not.
42864 * libio/Makefile (tests): Add bug-fclose1.
42865 * libio/bug-fclose1.c: New file.
42867 2011-05-12 Ulrich Drepper <drepper@gmail.com>
42870 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
42871 don't set DF_1_NODELETE here.
42872 (do_lookup_x): When entering new entry test for copy relocation
42873 and if necessary set DF_1_NODELETE flag.
42874 * elf/tst-unique4.cc: New file.
42875 * elf/tst-unique4.h: New file.
42876 * elf/tst-unique4lib.cc: New file.
42877 * elf/Makefile: Add rules to build and run tst-unique4.
42878 Patch by Piotr Bury <pbury@goahead.com>.
42880 2011-05-11 Ulrich Drepper <drepper@gmail.com>
42883 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
42886 * misc/mntent_r.c (addmntent): Flush the stream after the output
42889 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
42890 (is_trusted_path_normalize): Skip initial colon. Append slash
42891 to empty buffer. Duplicate is_trusted_path code but allow
42892 constructed patch to be prefix.
42893 (is_dst): Allow $ORIGIN followed by /.
42894 (_dl_dst_substitute): Correct clearing of check_for_trusted.
42895 Correct testing of result of is_trusted_path_normalize
42896 (decompose_rpath): Fix warning.
42898 2011-05-10 Ulrich Drepper <drepper@gmail.com>
42901 * grp/initgroups.c (internal_getgrouplist): When we found the service
42902 list through the initgroups entry in nsswitch.conf do not always
42903 continue on a successful lookup. Don't always use the
42904 __nss_group_database value if it is set.
42905 * nss/nsswitch.conf (initgroups): Change action for successful db
42906 lookup to continue for compatibility.
42908 2011-05-09 Ulrich Drepper <drepper@gmail.com>
42911 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
42913 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
42915 * iconvdata/tst-tables.sh: Likewise.
42916 * iconvdata/cp770.c: New file.
42917 * iconvdata/cp771.c: New file.
42918 * iconvdata/cp772.c: New file.
42919 * iconvdata/cp773.c: New file.
42920 * iconvdata/cp774.c: New file.
42921 * iconvdata/testdata/CP770: New file.
42922 * iconvdata/testdata/CP770..UTF8: New file.
42923 * iconvdata/testdata/CP771: New file.
42924 * iconvdata/testdata/CP771..UTF8: New file.
42925 * iconvdata/testdata/CP772: New file.
42926 * iconvdata/testdata/CP772..UTF8: New file.
42927 * iconvdata/testdata/CP773: New file.
42928 * iconvdata/testdata/CP773..UTF8: New file.
42929 * iconvdata/testdata/CP774: New file.
42930 * iconvdata/testdata/CP774..UTF8: New file.
42932 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
42934 * iconvdata/gen-8bit-gap.sh: Likewise.
42935 * iconvdata/gen-8bit.sh: Likewise.
42937 * locale/iso-639.def: Add ary entry.
42940 * locale/C-translit.h.in: Add U20A1 transliteration.
42943 * locale/iso-639.def: Add wae entry.
42944 Patch by Kevin Bortis <bortis@translate-wae.ch>.
42947 * locale/programs/localedef.c (construct_output_path): Use ssize_t
42951 * locale/C-translit.h.in: Add entry for U20B9.
42952 Patch by pravin.d.s@gmail.com.
42954 2011-05-08 Ulrich Drepper <drepper@gmail.com>
42957 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
42958 ENAMETOOLONG use generic getcwd.
42959 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
42960 in rtld. Use *stat64.
42961 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
42962 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
42963 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
42964 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
42965 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
42966 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
42967 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
42968 __fstatat64 macros.
42969 * include/dirent.h: Add libc_hidden_proto for rewinddir.
42970 * dirent/rewinddir.c: Add libc_hidden_def.
42971 * sysdeps/mach/hurd/rewinddir.c: Likewise.
42972 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
42974 * include/dirent.h (__alloc_dir): Add flags parameter.
42975 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
42976 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
42978 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
42979 from fdopendir if O_CLOEXEC is already set.
42981 2011-03-15 Alan Modra <amodra@gmail.com>
42983 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
42984 l_tls_firstbyte_offset non-zero. Save padding offset in
42985 l_tls_firstbyte_offset for later use.
42986 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
42987 freeing static tls block.
42989 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
42991 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
42992 where #ifdef was intended. The intent is to prevent ARG_MAX from
42993 being defined by the kernel headers.
42995 2011-05-07 Ulrich Drepper <drepper@gmail.com>
42998 * resolv/resolv.h: Define RES_NOTLDQUERY.
42999 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
43000 no-tld-query and set RES_NOTLDQUERY.
43001 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
43002 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
43003 modern BIND to search name as TLD unless forbidden.
43005 2011-05-07 Petr Baudis <pasky@suse.cz>
43006 Ulrich Drepper <drepper@gmail.com>
43009 * elf/dl-load.c (fillin_rpath): Move trusted path check...
43010 (is_trusted_path): ...to here.
43011 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
43012 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
43013 using is_trusted_path_normalize() in setuid scripts.
43015 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
43017 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
43018 __BEGIN/__END_DECLS.
43020 2011-05-06 Ulrich Drepper <drepper@gmail.com>
43022 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
43023 NSS_STATUS_NOTFOUND if no record was found.
43025 2011-05-05 Andreas Schwab <schwab@redhat.com>
43027 * sunrpc/Makefile (headers): Add rpc/netdb.h.
43028 (headers-not-in-tirpc): Remove rpc/netdb.h
43029 * resolv/netdb.h: Revert last change.
43031 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
43033 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
43034 circular dependency between libgcc.a and libc.a.
43036 2011-05-05 Andreas Schwab <schwab@redhat.com>
43038 * resolv/netdb.h: Don't include <rpc/netdb.h>.
43039 * nis/Makefile: Don't install rpcsvc/*.
43040 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
43041 instead of <rpc/types.h>.
43042 (MAXHOSTNAMELEN): Define.
43044 2011-05-03 Andreas Schwab <schwab@redhat.com>
43046 * elf/ldconfig.c (add_dir): Don't crash on empty path.
43048 2011-04-28 Maciej Babinski <mbabinski@google.com>
43051 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
43052 gethostbyname4_r when IPv6 results are possible.
43054 2011-05-02 Ulrich Drepper <drepper@gmail.com>
43057 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
43058 _PC_PIPE_BUF handling.
43060 2011-04-30 Bruno Haible <bruno@clisp.org>
43063 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
43064 * resolv/netdb.h (getnameinfo): Change type of flags parameter
43066 * inet/getnameinfo.c (getnameinfo): Likewise.
43068 2011-04-29 Ulrich Drepper <drepper@gmail.com>
43070 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
43071 to groups setting in database lookup.
43072 * nss/nsswitch.conf: Add initgroups entry.
43074 2011-04-22 Ulrich Drepper <drepper@gmail.com>
43077 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
43079 Patch by Eric Blake <eblake@redhat.com>.
43081 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
43083 * sunrpc/Makefile (need-export-routines): Add svc_run.
43084 (routines): Remove svc_run.
43085 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
43086 * sunrpc/clnt_perr.c (clnt_perrno): Export.
43087 * sunrpc/svc_run.c (svc_run): Likewise.
43088 * sunrpc/svc_udp.c (svcudp_create): Likewise.
43090 2011-04-21 Ulrich Drepper <drepper@gmail.com>
43092 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
43093 problem in reallocation in last patch.
43095 2011-04-20 Ulrich Drepper <drepper@gmail.com>
43097 * sunrpc/Makefile: Move inclusion of Rules.
43099 2011-04-19 Ulrich Drepper <drepper@gmail.com>
43101 * nss/nss_files/files-initgroups.c: New file.
43102 * nss/Makefile (libnss_files-routines): Add files-initgroups.
43103 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
43104 _nss_files_initgroups_dyn.
43106 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
43108 * elf/elf.h (R_ARM_IRELATIVE): Define.
43110 2011-04-19 Ulrich Drepper <drepper@gmail.com>
43112 * po/ru.po: Update from translation team.
43114 2011-04-17 Ulrich Drepper <drepper@gmail.com>
43116 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
43119 2011-02-06 Mike Frysinger <vapier@gentoo.org>
43122 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
43123 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
43124 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
43125 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
43126 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
43128 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
43130 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
43132 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
43133 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
43134 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
43136 2011-04-17 Ulrich Drepper <drepper@gmail.com>
43139 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
43141 * stdlib/bug-getcontext.c: New file.
43142 * stdlib/Makefile: Add rules to build and run bug-getcontext.
43144 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43146 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
43147 instructions into .machine "z9-109".
43148 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
43149 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
43151 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43153 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
43154 between environment variables and auxiliary vector.
43156 2011-04-16 Ulrich Drepper <drepper@gmail.com>
43158 * Makefile: Add rules to build linkobj/libc.so.
43159 * include/libc-symbols.h: Define libc_hidden_nolink.
43160 * include/rpc/auth.h: Mark functions which are to be hidden.
43161 * include/rpc/auth_des.h: Likewise.
43162 * include/rpc/auth_unix.h: Likewise.
43163 * include/rpc/clnt.h: Likewise.
43164 * include/rpc/des_crypt.h: Likewise.
43165 * include/rpc/key_prot.h: Likewise.
43166 * include/rpc/pmap_clnt.h: Likewise.
43167 * include/rpc/pmap_prot.h: Likewise.
43168 * include/rpc/pmap_rmt.h: Likewise.
43169 * include/rpc/rpc_msg.h: Likewise.
43170 * include/rpc/svc.h: Likewise.
43171 * include/rpc/svc_auth.h: Likewise.
43172 * include/rpc/xdr.h: Likewise.
43173 * nis/Makefile: Link all DSOs against linkobj/libc.so.
43174 * nss/Makefile: Likewise.
43175 * sunrpc/Makefile: Don't install headers. Build library with normal
43176 entry points. Don't build rpcinfo. Link RPC tests appropriately.
43177 * sunrpc/auth_des.c: Hide exported symbols by default, export some
43178 for the compat linking library. Remove use of INTDEF/INTUSE.
43179 * sunrpc/auth_none.c: Likewise.
43180 * sunrpc/auth_unix.c: Likewise.
43181 * sunrpc/authdes_prot.c: Likewise.
43182 * sunrpc/authuxprot.c: Likewise.
43183 * sunrpc/clnt_gen.c: Likewise.
43184 * sunrpc/clnt_perr.c: Likewise.
43185 * sunrpc/clnt_raw.c: Likewise.
43186 * sunrpc/clnt_simp.c: Likewise.
43187 * sunrpc/clnt_tcp.c: Likewise.
43188 * sunrpc/clnt_udp.c: Likewise.
43189 * sunrpc/clnt_unix.c: Likewise.
43190 * sunrpc/des_crypt.c: Likewise.
43191 * sunrpc/des_soft.c: Likewise.
43192 * sunrpc/get_myaddr.c: Likewise.
43193 * sunrpc/key_call.c: Likewise.
43194 * sunrpc/key_prot.c: Likewise.
43195 * sunrpc/netname.c: Likewise.
43196 * sunrpc/pm_getmaps.c: Likewise.
43197 * sunrpc/pm_getport.c: Likewise.
43198 * sunrpc/pmap_clnt.c: Likewise.
43199 * sunrpc/pmap_prot.c: Likewise.
43200 * sunrpc/pmap_prot2.c: Likewise.
43201 * sunrpc/pmap_rmt.c: Likewise.
43202 * sunrpc/publickey.c: Likewise.
43203 * sunrpc/rpc_cmsg.c: Likewise.
43204 * sunrpc/rpc_common.c: Likewise.
43205 * sunrpc/rpc_dtable.c: Likewise.
43206 * sunrpc/rpc_prot.c: Likewise.
43207 * sunrpc/rpc_thread.c: Likewise.
43208 * sunrpc/rtime.c: Likewise.
43209 * sunrpc/svc.c: Likewise.
43210 * sunrpc/svc_auth.c: Likewise.
43211 * sunrpc/svc_authux.c: Likewise.
43212 * sunrpc/svc_raw.c: Likewise.
43213 * sunrpc/svc_run.c: Likewise.
43214 * sunrpc/svc_simple.c: Likewise.
43215 * sunrpc/svc_tcp.c: Likewise.
43216 * sunrpc/svc_udp.c: Likewise.
43217 * sunrpc/svc_unix.c: Likewise.
43218 * sunrpc/svcauth_des.c: Likewise.
43219 * sunrpc/xcrypt.c: Likewise.
43220 * sunrpc/xdr.c: Likewise.
43221 * sunrpc/xdr_array.c: Likewise.
43222 * sunrpc/xdr_float.c: Likewise.
43223 * sunrpc/xdr_intXX_t.c: Likewise.
43224 * sunrpc/xdr_mem.c: Likewise.
43225 * sunrpc/xdr_rec.c: Likewise.
43226 * sunrpc/xdr_ref.c: Likewise.
43227 * sunrpc/xdr_sizeof.c: Likewise.
43228 * sunrpc/xdr_stdio.c: Likewise.
43230 2011-04-10 Ulrich Drepper <drepper@gmail.com>
43233 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
43234 * sysdeps/ia64/dl-tls.h: Likewise.
43235 * sysdeps/powerpc/dl-tls.h: Likewise.
43236 * sysdeps/s390/dl-tls.h: Likewise.
43237 * sysdeps/sh/dl-tls.h: Likewise.
43238 * sysdeps/sparc/dl-tls.h: Likewise.
43239 * sysdeps/x86_64/dl-tls.h: Likewise.
43240 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
43242 2011-03-14 Andreas Schwab <schwab@redhat.com>
43244 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
43245 rpath element also skip the following colon.
43246 (expand_dynamic_string_token): Add is_path parameter and pass
43247 down to DL_DST_REQUIRED and _dl_dst_substitute.
43248 (decompose_rpath): Call expand_dynamic_string_token with
43249 non-zero is_path. Ignore empty rpaths.
43250 (_dl_map_object_from_fd): Call expand_dynamic_string_token
43253 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
43255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
43258 2011-04-09 Ulrich Drepper <drepper@gmail.com>
43261 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
43262 Patch by Filipe David Manana <fdmanana@apache.org>.
43264 2011-04-07 Andreas Schwab <schwab@redhat.com>
43266 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
43267 Maintain aligned stack.
43268 (CHECK_RSP): Remove unused macro.
43270 2011-04-03 Ulrich Drepper <drepper@gmail.com>
43272 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
43273 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
43275 2011-04-02 Ulrich Drepper <drepper@gmail.com>
43277 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
43279 * include/features.h: Mention __USE_XOPEN2K8 in comment.
43281 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
43284 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
43285 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
43286 * sysdeps/x86_64/memmove.c: New file.
43287 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
43288 (memcpy): Renamed to ...
43289 (__new_memcpy): This.
43290 (memcpy): Provide GLIBC_2_14 memcpy.
43291 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
43292 (memcpy): Provide GLIBC_2_2_5 memcpy.
43294 2011-04-01 Ulrich Drepper <drepper@gmail.com>
43297 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
43299 2011-03-30 Andreas Schwab <schwab@redhat.com>
43301 * misc/syncfs.c: New file.
43302 * misc/Makefile (routines): Add syncfs.
43303 * posix/unistd.h: Declare syncfs.
43304 * sysdeps/unix/syscalls.list: Add syncfs.
43306 2011-04-01 Andreas Schwab <schwab@redhat.com>
43308 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
43310 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
43311 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
43312 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43313 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43314 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43315 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
43316 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43318 2011-04-01 Ulrich Drepper <drepper@gmail.com>
43320 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
43321 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
43322 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
43323 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43324 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43325 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43326 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43328 * io/Makefile: Compile fallocate.c, fallocate64.c, and
43329 sync_file_range.c with -fexceptions.
43330 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
43331 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
43332 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
43333 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
43334 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
43335 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
43336 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
43337 sync_file_range as cancellation point
43338 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
43339 now a wrapper around __call_sync_file_range with cancellation handling.
43340 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
43341 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
43342 function name to __call_sync_file_range.
43343 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
43344 Add call_sync_file_range.
43346 2011-04-01 Andreas Schwab <schwab@redhat.com>
43348 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43351 2011-04-01 Ulrich Drepper <drepper@gmail.com>
43353 * iconv/iconv.h: Fix typo in comment.
43354 * io/fcntl.h: Likewise.
43355 * libio/stdio.h: Likewise.
43356 * posix/spawn.h: Likewise.
43357 * posix/unistd.h: Likewise.
43358 * stdlib/stdlib.h: Likewise.
43359 * time/time.h: Likewise.
43360 * wcsmbs/wchar.h: Likewise.
43362 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
43363 open_by_handle): Add.
43364 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
43365 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
43366 Augment a few comments.
43367 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
43368 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43369 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43370 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43371 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43372 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
43375 * io/fcntl.h (AT_EMPTY_PATH): Define.
43377 2011-03-30 Ulrich Drepper <drepper@gmail.com>
43379 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
43380 * sysdeps/unix/sysv/linux/bits/time.h: New file.
43381 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
43383 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
43384 * Versions.def: Add GLIBC_2.14.
43385 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
43388 2011-03-22 Ulrich Drepper <drepper@gmail.com>
43390 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
43392 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
43394 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
43397 * string/test-strncmp.c (do_page_test): New function.
43398 (check2): Likewise.
43399 (test_main): Call check2.
43400 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
43402 2011-03-20 Ulrich Drepper <drepper@gmail.com>
43405 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
43406 Handle cache information in CPU leaf 4.
43407 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
43409 2011-03-18 Ulrich Drepper <drepper@gmail.com>
43412 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
43413 character representation.
43414 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
43416 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
43418 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
43419 END(__isnan) to END(__isnanf) to match function entry point/label
43420 EALIGN(__isnanf,...).
43422 2011-03-10 Jakub Jelinek <jakub@redhat.com>
43424 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
43426 2011-03-10 Ulrich Drepper <drepper@gmail.com>
43429 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
43430 copy from the symbol referenced in the relocation to initialize the
43432 Patch by Piotr Bury <pbury@goahead.com>.
43433 * elf/Makefile: Add rules to build and tst-unique3.
43434 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
43435 * elf/tst-unique3.cc: New file.
43436 * elf/tst-unique3.h: New file.
43437 * elf/tst-unique3lib.cc: New file.
43438 * elf/tst-unique3lib2.cc: New file.
43440 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
43442 2011-03-10 Mike Frysinger <vapier@gentoo.org>
43444 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
43445 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
43448 2011-03-06 Ulrich Drepper <drepper@gmail.com>
43450 * elf/dl-load.c (_dl_map_object): If we are looking for the first
43451 to-be-loaded object along a path to loader is ld.so.
43453 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
43454 Ulrich Drepper <drepper@gmail.com>
43456 * sysdeps/x86_64/memset.S: After aligning destination, code
43457 branches to different locations depending on the value of
43458 misalignment, when multiarch is enabled. Fix this.
43460 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
43462 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
43463 Set _x86_64_preferred_memory_instruction for AMD processsors.
43464 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43465 Set bit_Prefer_SSE_for_memop for AMD processors.
43467 2011-03-04 Ulrich Drepper <drepper@gmail.com>
43469 * libio/fmemopen.c (fmemopen): Optimize a bit.
43471 2011-03-03 Andreas Schwab <schwab@redhat.com>
43473 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
43475 2011-03-03 Roland McGrath <roland@redhat.com>
43477 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
43479 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
43481 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
43482 __bzero_ultra1 instead of __memset_ultra1.
43484 2011-02-23 Andreas Schwab <schwab@redhat.com>
43485 Ulrich Drepper <drepper@gmail.com>
43488 * include/link.h (struct link_map): Add l_orig_initfini.
43489 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
43490 returning unsuccessfully.
43491 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
43492 close of a file loaded at startup, restore the original l_initfini
43494 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
43495 list, store the pointer.
43496 * elf/Makefile ($(objpfx)noload-mem): New rule.
43497 (noload-ENV): Define.
43498 (tests): Add $(objpfx)noload-mem.
43499 * elf/noload.c: Include <memcheck.h>.
43500 (main): Call mtrace. Close all opened handles.
43502 2011-02-17 Andreas Schwab <schwab@redhat.com>
43505 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
43506 dependencies are missing.
43508 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
43510 Fix __if_freereq crash: Unlike the generic version which uses free,
43512 * sysdeps/mach/hurd/ifreq.h: New file.
43514 2011-01-27 Petr Baudis <pasky@suse.cz>
43515 Ulrich Drepper <drepper@gmail.com>
43518 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
43519 to extend_alloca().
43520 * stdio-common/bug23.c: New file.
43521 * stdio-common/Makefile (tests): Add bug23.
43523 2010-09-28 Andreas Schwab <schwab@redhat.com>
43524 Ulrich Drepper <drepper@gmail.com>
43527 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
43528 before performing relro protection. At old place add assertion
43529 to make sure nothing changed.
43531 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
43532 Glauber de Oliveira Costa <glommer@gmail.com>
43534 * elf/elf.h: Add new ARM TLS relocs.
43536 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
43538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
43539 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
43541 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
43543 * sysdeps/wordsize-64/tst-writev.c: New file.
43545 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
43547 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
43548 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
43549 insns in _dl_start to prevent a TOC reference before relocs are
43552 2011-02-15 Ulrich Drepper <drepper@gmail.com>
43555 * Makeconfig: Remove RANLIB definition.
43556 * Makerules: Don't use RANLIB.
43557 * aclocal.m4: Remove ranlib test.
43558 * configure.in: No need to check for ranlib.
43559 * elf/rtld-Rules: Don't use RANLIB.
43561 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
43563 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
43565 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
43566 inclusion protection macro.
43568 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
43569 SIGRTMIN and SIGRTMAX and print information in that case only when
43570 SIGRTMIN is defined.
43572 2011-02-11 Jakub Jelinek <jakub@redhat.com>
43574 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
43575 arginfo fn returning -1.
43577 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
43578 and thousands string is zero terminated.
43580 2011-02-03 Andreas Schwab <schwab@redhat.com>
43582 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
43583 sysdeps/unix/sysv/linux/bits/socket.h.
43585 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
43587 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
43588 (__CPU_COUNT): Remove old macros.
43589 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
43590 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
43591 (__CPU_ALLOC, __CPU_FREE): Add macros.
43592 (__sched_cpualloc, __sched_cpufree): Add declarations.
43594 2011-02-05 Ulrich Drepper <drepper@gmail.com>
43596 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
43597 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
43598 * nscd/aicache.c (addhstaiX): Return timeout of added value.
43599 (readdhstai): Return value of addhstaiX call.
43600 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
43601 (addgrbyX): Return value returned by cache_addgr.
43602 (readdgrbyname): Return value returned by addgrbyX.
43603 (readdgrbygid): Likewise.
43604 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
43605 (addpwbyX): Return value returned by cache_addpw.
43606 (readdpwbyname): Return value returned by addhstbyX.
43607 (readdpwbyuid): Likewise.
43608 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
43609 (addservbyX): Return value returned by cache_addserv.
43610 (readdservbyname): Return value returned by addservbyX:
43611 (readdservbyport): Likewise.
43612 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
43613 (addhstbyX): Return value returned by cache_addhst.
43614 (readdhstbyname): Return value returned by addhstbyX.
43615 (readdhstbyaddr): Likewise.
43616 (readdhstbynamev6): Likewise.
43617 (readdhstbyaddrv6): Likewise.
43618 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
43619 (readdinitgroups): Return value returned by addinitgroupsX.
43620 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
43621 (prune_cache): Keep track of timeout value of re-added entries.
43622 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
43623 * nscd/nscd.h: Adjust prototypes of readd* functions.
43625 2011-02-04 Roland McGrath <roland@redhat.com>
43627 * nis/nis_server.c (nis_servstate): Use the right name for 0.
43628 (nis_stats): Likewise.
43629 * nis/nis_modify.c (nis_modify): Likewise.
43630 * nis/nis_remove.c (nis_remove): Likewise.
43631 * nis/nis_add.c (nis_add): Likewise.
43633 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
43635 * posix/fnmatch_loop.c: Add some consts.
43637 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
43639 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
43642 * config.make.in (config-cflags-novzeroupper): Define.
43643 * configure.in: Substitute libc_cv_cc_novzeroupper.
43644 * elf/Makefile (AVX-CFLAGS): Define.
43645 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
43646 (CFLAGS-tst-auditmod4a.c): Likewise.
43647 (CFLAGS-tst-auditmod4b.c): Likewise.
43648 (CFLAGS-tst-auditmod6b.c): Likewise.
43649 (CFLAGS-tst-auditmod6c.c): Likewise.
43650 (CFLAGS-tst-auditmod7b.c): Likewise.
43651 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
43653 2011-02-02 Ulrich Drepper <drepper@gmail.com>
43655 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
43656 function to the callback.
43657 Patch partly by Jiri Olsa <jolsa@redhat.com>.
43659 2011-02-02 Andreas Schwab <schwab@redhat.com>
43661 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
43664 2011-01-19 Ulrich Drepper <drepper@gmail.com>
43667 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
43669 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
43671 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
43674 * elf/Makefile: Add rules to build and run new test.
43675 * elf/tst-initorder.c: New file.
43676 * elf/tst-initorder.exp: New file.
43677 * elf/tst-initordera1.c: New file.
43678 * elf/tst-initordera2.c: New file.
43679 * elf/tst-initordera3.c: New file.
43680 * elf/tst-initordera4.c: New file.
43681 * elf/tst-initorderb1.c: New file.
43682 * elf/tst-initorderb2.c: New file.
43683 * elf/tst-order-a1.c: New file.
43684 * elf/tst-order-a2.c: New file.
43685 * elf/tst-order-a3.c: New file.
43686 * elf/tst-order-a4.c: New file.
43687 * elf/tst-order-b1.c: New file.
43688 * elf/tst-order-b2.c: New file.
43689 * elf/tst-order-main.c: New file.
43690 New test case by George Gensure <werkt0@gmail.com>.
43692 2010-10-01 Andreas Schwab <schwab@redhat.com>
43694 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
43695 decoding ACE if AI_CANONIDN.
43697 2011-01-18 Ulrich Drepper <drepper@gmail.com>
43699 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
43701 2011-01-17 Ulrich Drepper <drepper@gmail.com>
43703 * version.h (RELEASE): Bump for 2.13 release.
43704 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
43706 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
43708 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
43710 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
43711 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
43712 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
43713 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
43714 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
43715 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
43717 * posix/getconf.c: Update copyright year.
43718 * catgets/gencat.c: Likewise.
43719 * csu/version.c: Likewise.
43720 * debug/catchsegv.sh: Likewise.
43721 * debug/xtrace.sh: Likewise.
43722 * elf/ldconfig.c: Likewise.
43723 * elf/ldd.bash.in: Likewise.
43724 * elf/sprof.c (print_version): Likewise.
43725 * iconv/iconv_prog.c: Likewise.
43726 * iconv/iconvconfig.c: Likewise.
43727 * locale/programs/locale.c: Likewise.
43728 * locale/programs/localedef.c: Likewise.
43729 * malloc/memusage.sh: Likewise.
43730 * malloc/mtrace.pl: Likewise.
43731 * nscd/nscd.c (print_version): Likewise.
43732 * nss/getent.c: Likewise.
43734 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
43735 PF_CAIF, and PF_ALG.
43736 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43738 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
43740 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
43741 (modules-names): Use them.
43742 (ifunc-test-modules, ifunc-pie-tests): Define.
43743 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
43744 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
43745 (test-extras): Likewise.
43746 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
43747 $(compile-command.c).
43748 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
43749 (all-built-dso): Define.
43750 (check-textrel.out, check-execstack.out): Depend on it.
43752 * configure.in: Don't override --enable-multi-arch.
43754 2011-01-15 Ulrich Drepper <drepper@gmail.com>
43757 * nscd/hstcache.c (tryagain): Define.
43758 (cache_addhst): Return tryagain not notfound for temporary errors.
43759 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
43762 2011-01-14 Ulrich Drepper <drepper@gmail.com>
43765 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
43766 to make the syscall.
43767 * sysdeps/unix/sysv/linux/setgroups.c: New file.
43770 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
43771 and fall back to matching as normal character if the string ends before
43772 the matching ']' is found. This is what POSIX requires.
43773 * posix/testfnm.c: Adjust test result.
43774 * posix/globtest.sh: Adjust test result. Add new test.
43775 * posix/tst-fnmatch.input: Likewise.
43776 * posix/tst-fnmatch2.c: Add new test.
43778 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
43780 * elf/Makefile (check-execstack): Revert last change. Depend on
43782 (check-execstack.h): New target.
43783 (generated): Add check-execstack.h.
43784 * elf/check-execstack.c: Include "check-execstack.h".
43785 (main): Revert last change.
43786 (handle_file): Return zero if GNU_STACK is absent and
43787 DEFAULT_STACK_PERMS doesn't include PF_X.
43789 2011-01-13 Ulrich Drepper <drepper@gmail.com>
43791 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
43792 in child fails because the descriptor is already closed.
43793 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
43794 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
43795 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
43798 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
43802 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
43803 temporary buffer used to handle multi lookups locally.
43804 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
43806 2011-01-12 Ulrich Drepper <drepper@gmail.com>
43808 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
43811 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
43813 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
43814 alignment for SSE2.
43816 2011-01-12 Ulrich Drepper <drepper@gmail.com>
43819 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
43820 characters. When rounding increased number of integer digits recompute
43822 * stdio-common/tst-grouping.c: New file.
43823 * stdio-common/Makefile: Add rules to build and run tst-grouping.
43825 2011-01-09 Ulrich Drepper <drepper@gmail.com>
43827 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
43828 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
43830 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
43832 * bits/select.h: Likewise.
43834 2011-01-08 Ulrich Drepper <drepper@gmail.com>
43836 * po/ja.po: Update from translation team.
43838 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
43841 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
43842 implementation just like for lxstat, fxstatat, et al.
43844 2010-12-27 Jim Meyering <meyering@redhat.com>
43847 * posix/regexec.c (build_trtable): Return failure indication upon
43848 calloc failure. Otherwise, re_search_internal could infloop on OOM.
43850 2010-12-25 Ulrich Drepper <drepper@gmail.com>
43853 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
43854 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
43855 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
43856 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
43859 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
43862 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
43863 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
43865 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
43867 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
43868 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
43869 script has SORT_BY_INIT_PRIORITY.
43870 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
43871 NO_CTORS_DTORS_SECTIONS is defined.
43872 * elf/soinit.c: Likewise.
43873 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
43874 NO_CTORS_DTORS_SECTIONS is defined.
43875 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
43876 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
43877 * sysdeps/sh/init-first.c: Likewise.
43878 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
43880 2010-12-24 Ulrich Drepper <drepper@gmail.com>
43882 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
43883 always use the slow path.
43885 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
43887 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
43888 similar rule which adds the sysdep directories to the header search in
43889 order to pick up the correct platform stackinfo.h.
43890 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
43891 perform test if it is, otherwise return successfully without testing.
43892 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
43893 DEFAULT_STACK_PERMS define in stackinfo.h.
43894 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
43895 defined in stackinfo.h.
43896 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
43897 DEFAULT_STACK_PERMS defined in stackinfo.h.
43898 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
43899 * sysdeps/ia64/stackinfo.h: Likewise.
43900 * sysdeps/s390/stackinfo.h: Likewise.
43901 * sysdeps/sh/stackinfo.h: Likewise.
43902 * sysdeps/sparc/stackinfo.h: Likewise.
43903 * sysdeps/x86_64/stackinfo.h: Likewise.
43904 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
43905 PF_X for powerpc64. Retain PF_X for powerpc32.
43907 2010-12-19 Ulrich Drepper <drepper@gmail.com>
43909 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
43911 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
43912 GETDENTS_64BIT_ALIGNED.
43914 2010-12-14 Ulrich Drepper <dreper@gmail.com>
43916 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
43918 2010-12-10 Andreas Schwab <schwab@redhat.com>
43920 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
43923 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
43924 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
43926 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
43927 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
43929 2010-12-09 Ulrich Drepper <drepper@gmail.com>
43932 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
43935 2010-12-09 Jakub Jelinek <jakub@redhat.com>
43937 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
43939 2010-12-03 Ulrich Drepper <drepper@gmail.com>
43941 * po/it.po: Update from translation team.
43943 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
43945 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
43948 2010-11-30 Ulrich Drepper <drepper@gmail.com>
43950 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
43952 2010-11-24 Andreas Schwab <schwab@redhat.com>
43954 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
43956 (gaih_getanswer_slice): Likewise.
43958 2010-10-20 Jakub Jelinek <jakub@redhat.com>
43960 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
43962 2010-05-31 Petr Baudis <pasky@suse.cz>
43965 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
43966 silently even in the chroot mode.
43968 2010-11-22 Ulrich Drepper <drepper@gmail.com>
43970 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
43971 last patch a bit. Pretty printing
43973 2010-05-31 Petr Baudis <pasky@suse.cz>
43976 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
43977 initialization of skip_initgroups_dyn.
43979 2010-11-19 Ulrich Drepper <drepper@gmail.com>
43981 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
43982 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
43984 2010-11-16 Ulrich Drepper <drepper@gmail.com>
43986 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
43988 2010-11-11 Andreas Schwab <schwab@redhat.com>
43990 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
43991 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
43992 (tst-fnmatch-ENV): Set MALLOC_TRACE.
43993 ($(objpfx)tst-fnmatch-mem): New rule.
43994 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
43995 * posix/tst-fnmatch.c (main): Call mtrace.
43997 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
43999 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44000 Support Intel processor model 6 and model 0x2c.
44002 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
44004 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
44007 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
44010 * string/test-strncasecmp.c (check_result): New function.
44011 (do_one_test): Use it.
44012 (check1): New function.
44013 (test_main): Use it.
44014 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
44015 Support strcasecmp and strncasecmp.
44017 2010-11-08 Ulrich Drepper <drepper@gmail.com>
44020 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
44021 * sysdeps/x86_64/bits/byteswap.h: Likewise.
44023 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
44025 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
44027 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44029 * sysdeps/x86_64/multiarch/bzero.S: New file.
44030 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
44031 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
44032 * sysdeps/x86_64/multiarch/memset.S: New file.
44033 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
44034 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44035 Set bit_Prefer_SSE_for_memop for Intel processors.
44036 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
44038 (index_Prefer_SSE_for_memop): Define.
44039 (HAS_PREFER_SSE_FOR_MEMOP): Define.
44041 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
44043 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
44044 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
44046 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
44049 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
44050 (__x86_64_raw_data_cache_size_half): Likewise.
44051 (__x86_64_raw_shared_cache_size): Likewise.
44052 (__x86_64_raw_shared_cache_size_half): Likewise.
44054 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
44055 (__x86_64_raw_data_cache_size_half): Likewise.
44056 (__x86_64_raw_shared_cache_size): Likewise.
44057 (__x86_64_raw_shared_cache_size_half): Likewise.
44058 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
44059 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
44060 and __x86_64_raw_shared_cache_size_half. Round
44061 __x86_64_data_cache_size_half, __x86_64_data_cache_size
44062 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
44063 to multiple of 256 bytes.
44065 2010-11-03 Ulrich Drepper <drepper@gmail.com>
44068 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
44069 of inacessible symlinks. Verify result of symlink before returning it.
44070 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
44071 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
44073 2010-10-28 Erich Ritz <erichritz@gmail.com>
44075 * math/math.h (isinf): Fix typo in comment.
44077 2010-11-01 Ulrich Drepper <drepper@gmail.com>
44079 * po/da.po: Update from translation team.
44081 2010-10-26 Ulrich Drepper <drepper@gmail.com>
44083 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
44084 is added to the list.
44086 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44087 Ulrich Drepper <drepper@gmail.com>
44089 * elf/dl-object.c (_dl_new_object): Don't append the new object to
44090 the global list here. Move code to...
44091 (_dl_add_to_namespace_list): ...here. New function.
44092 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
44093 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
44094 * elf/dl-load.c (lose): Don't remove the element from the list.
44095 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
44096 (_dl_map_object): Likewise.
44098 2010-10-25 Ulrich Drepper <drepper@gmail.com>
44101 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
44102 into all bytes of SSE register.
44103 Patch by Richard Li <richardpku@gmail.com>.
44105 2010-10-24 Ulrich Drepper <drepper@gmail.com>
44108 * malloc/malloc.c (_int_free): Fill correct number of bytes when
44111 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
44113 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
44114 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
44115 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
44116 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
44117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
44119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
44121 2010-10-22 Andreas Schwab <schwab@redhat.com>
44123 * include/dlfcn.h (__RTLD_SECURE): Define.
44124 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
44125 mode & __RTLD_SECURE instead.
44126 (open_path): Rename preloaded parameter to secure.
44127 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
44128 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
44129 * elf/dl-deps.c (openaux): Likewise.
44130 * elf/rtld.c (struct map_args): Remove is_preloaded.
44131 (map_doit): Don't use it.
44132 (dl_main): Likewise.
44133 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
44134 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
44136 2010-09-09 Andreas Schwab <schwab@redhat.com>
44138 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
44139 (sysd-rules-targets): Remove duplicates.
44140 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
44141 rtld-%.$o dependency.
44143 2010-10-18 Andreas Schwab <schwab@redhat.com>
44145 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
44146 _dl_map_object do it.
44148 2010-10-19 Ulrich Drepper <drepper@gmail.com>
44150 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
44151 fast fma builtins, define the macros in the C99 standard.
44152 (FP_FAST_FMAF): Likewise.
44153 (FP_FAST_FMAL): Likewise.
44154 * sysdeps/x86_64/bits/mathdef.h: Likewise.
44156 * bits/mathdef.h: Update copyright year.
44157 * sysdeps/powerpc/bits/mathdef.h: Likewise.
44159 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
44161 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
44162 builtins, define the macros in the C99 standard.
44163 (FP_FAST_FMAF): Likewise.
44164 (FP_FAST_FMAL): Likewise.
44165 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
44167 (FP_FAST_FMAF): Likewise.
44169 2010-10-15 Jakub Jelinek <jakub@redhat.com>
44172 * math/libm-test.inc (fma_test): Some new testcases.
44173 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
44174 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
44175 y and infinite z. Do multiplication by C already in long double.
44176 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
44177 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
44178 y and infinite z. Do bitwise or of inexact bit into u.d.
44179 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
44180 * sysdeps/i386/fpu/s_fmaf.S: Removed.
44181 * sysdeps/i386/fpu/s_fma.S: Removed.
44182 * sysdeps/i386/fpu/s_fmal.S: Removed.
44184 2010-10-16 Jakub Jelinek <jakub@redhat.com>
44187 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
44188 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
44189 computation is not scheduled after fetestexcept. Fix value
44190 of minimum denormal long double.
44192 2010-10-14 Jakub Jelinek <jakub@redhat.com>
44195 * math/libm-test.inc (fma_test): Add some more tests.
44196 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
44199 2010-10-15 Andreas Schwab <schwab@redhat.com>
44201 * scripts/data/localplt-s390-linux-gnu.data: New file.
44202 * scripts/data/localplt-s390x-linux-gnu.data: New file.
44204 2010-10-13 Jakub Jelinek <jakub@redhat.com>
44207 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
44208 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
44210 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
44212 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
44213 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
44214 if one of x and y is very large and the other is subnormal.
44215 * sysdeps/s390/fpu/s_fmaf.c: New file.
44216 * sysdeps/s390/fpu/s_fma.c: New file.
44217 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
44218 * sysdeps/powerpc/fpu/s_fma.S: New file.
44219 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
44220 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
44221 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
44223 2010-10-12 Jakub Jelinek <jakub@redhat.com>
44226 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
44228 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
44229 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
44230 * sysdeps/i386/i686/multiarch/s_fma.c: Include
44231 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
44232 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
44233 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
44234 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
44236 2010-10-12 Ulrich Drepper <drepper@redhat.com>
44239 * posix/regcomp.c (parse_branch): One more memory leak plugged.
44240 * posix/bug-regex31.input: Add test case.
44242 2010-10-11 Ulrich Drepper <drepper@gmail.com>
44244 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
44245 * posix/bug-regex31.input: New file.
44248 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
44249 (parse_sub_exp): Fix last change, use postorder.
44251 * posix/bug-regex31.c: New file.
44252 * posix/Makefile: Add rules to build and run bug-regex31.
44254 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
44257 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
44260 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
44261 to have entries in sys_siglist.
44264 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
44267 2010-10-07 Jakub Jelinek <jakub@redhat.com>
44270 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
44271 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
44272 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
44273 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
44274 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
44275 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
44276 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
44277 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
44278 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
44279 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
44280 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
44281 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
44282 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
44283 * math/ftestexcept.c (fetestexcept): Likewise.
44284 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
44285 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
44286 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
44287 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
44288 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
44289 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
44290 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
44292 2010-10-11 Ulrich Drepper <drepper@gmail.com>
44295 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
44298 2010-10-06 Ulrich Drepper <drepper@gmail.com>
44300 * string/bug-strstr1.c: New file.
44301 * string/Makefile: Add rules to build and run bug-strstr1.
44303 2010-10-05 Eric Blake <eblake@redhat.com>
44306 * string/str-two-way.h (two_way_long_needle): Always clear memory
44307 when skipping input due to the shift table.
44309 2010-10-03 Ulrich Drepper <drepper@gmail.com>
44312 * malloc/mcheck.c: Handle large requests.
44315 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
44316 for strncmp and strncasecmp.
44317 * string/stratcliff.c: Add tests for strcmp and strncmp.
44318 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
44320 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44322 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
44325 2010-09-30 Andreas Jaeger <aj@suse.de>
44327 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
44328 (CGROUP_SUPER_MAGIC): Define.
44329 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44330 Handle btrfs and cgroup file systems.
44331 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
44334 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
44336 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
44337 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
44339 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44342 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
44343 trying to locate the ELF header.
44345 2010-09-27 Andreas Schwab <schwab@redhat.com>
44348 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
44349 Mask out sign-bit copies when constructing f_fsid.
44351 2010-09-24 Petr Baudis <pasky@suse.cz>
44353 * debug/stack_chk_fail_local.c: Add missing licence exception.
44354 * debug/warning-nop.c: Likewise.
44356 2010-09-15 Joseph Myers <joseph@codesourcery.com>
44358 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
44359 implementing getdents64 using getdents syscall, set d_type if
44360 __ASSUME_GETDENTS32_D_TYPE.
44362 2010-09-16 Andreas Schwab <schwab@redhat.com>
44364 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
44365 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
44367 2010-09-21 Ulrich Drepper <drepper@redhat.com>
44370 * posix/unistd.h: Undo change of feature selection for ftruncate from
44373 2010-09-20 Ulrich Drepper <drepper@redhat.com>
44375 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
44378 2010-09-20 Andreas Schwab <schwab@redhat.com>
44380 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
44382 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
44384 2010-09-14 Andreas Schwab <schwab@redhat.com>
44386 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
44387 variables after CHECK_SP call.
44388 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
44390 2010-09-13 Andreas Schwab <schwab@redhat.com>
44391 Ulrich Drepper <drepper@redhat.com>
44393 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
44394 re-relocationg ld.so.
44395 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
44396 _dl_init_paths call.
44397 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
44400 2010-09-14 Ulrich Drepper <drepper@redhat.com>
44402 * resolv/res_init.c (__res_vinit): Count the default server we added.
44404 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
44405 Ulrich Drepper <drepper@redhat.com>
44408 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
44409 (____longjmp_chk): Use %ebx for saving value across system call.
44412 2010-09-06 Andreas Schwab <schwab@redhat.com>
44414 * manual/Makefile: Don't mix pattern rules with normal rules.
44416 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
44418 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
44420 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
44421 * libio/iofopncook.c (_IO_cookie_init): Likewise.
44422 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
44423 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
44424 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44427 2010-09-04 Ulrich Drepper <drepper@redhat.com>
44430 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
44431 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
44433 2010-09-02 Ulrich Drepper <drepper@redhat.com>
44435 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
44436 * sysdeps/x86_64/addmul_1.S: Likewise.
44437 * sysdeps/x86_64/lshift.S: Likewise.
44438 * sysdeps/x86_64/mul_1.S: Likewise.
44439 * sysdeps/x86_64/rshift.S: Likewise.
44440 * sysdeps/x86_64/sub_n.S: Likewise.
44441 * sysdeps/x86_64/submul_1.S: Likewise.
44443 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
44445 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
44446 Define __sched_param instead of SCHED_* and sched_param when
44447 <bits/sched.h> is included with __need_schedparam defined.
44448 * bits/sched.h [__need_schedparam]
44449 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
44450 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
44451 (__defined_schedparam): Define to 1.
44452 (__sched_param): New structure, identical to sched_param.
44453 (__need_schedparam): Undefine.
44455 2010-08-31 Mike Frysinger <vapier@gentoo.org>
44457 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
44458 (epoll_create1): Declare.
44460 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
44462 2010-08-31 Andreas Schwab <schwab@redhat.com>
44465 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
44466 shifting retval into place.
44468 2010-09-01 Ulrich Drepper <drepper@redhat.com>
44470 * nis/rpcsvc/nis.h: Update copyright notice.
44471 * nis/rpcsvc/nis.x: Likewise.
44472 * nis/rpcsvc/nis_callback.h: Likewise.
44473 * nis/rpcsvc/nis_callback.x: Likewise.
44474 * nis/rpcsvc/nis_object.x: Likewise.
44475 * nis/rpcsvc/nis_tags.h: Likewise.
44476 * nis/rpcsvc/yp.h: Likewise.
44477 * nis/rpcsvc/yp.x: Likewise.
44478 * nis/rpcsvc/ypupd.h: Likewise.
44479 * nis/yp_xdr.c: Likewise.
44480 * nis/ypupdate_xdr.c: Likewise.
44482 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
44483 mainly the body of pmap_getport. Add parameters to specify timeouts.
44484 (pmap_getport): Use __libc_rpc_getport.
44485 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
44486 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
44487 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
44489 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
44491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
44494 2010-08-27 Roland McGrath <roland@redhat.com>
44496 * sysdeps/i386/i686/multiarch/Makefile
44497 (CFLAGS-varshift.c): New variable.
44499 2010-08-27 Ulrich Drepper <drepper@redhat.com>
44501 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
44502 * sysdeps/i386/i686/multiarch/varshift.c: New file.
44504 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
44506 * sysdeps/x86_64/strlen.S: Minimal code improvement.
44508 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
44510 * sysdeps/x86_64/strlen.S: Unroll the loop.
44511 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44512 strlen-sse2 strlen-sse2-bsf.
44513 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
44514 __strlen_no_bsf if bit_Slow_BSF is set.
44515 (__strlen_sse42): Removed.
44516 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
44517 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
44519 2010-08-25 Roland McGrath <roland@redhat.com>
44521 * sysdeps/x86_64/multiarch/varshift.S: File removed.
44522 * sysdeps/x86_64/multiarch/varshift.c: New file.
44523 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
44524 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
44525 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
44526 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
44528 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
44530 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44531 strlen-sse2 strlen-sse2-bsf.
44532 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
44533 __strlen_sse2_bsf if bit_Slow_BSF is unset.
44534 (__strlen_sse2): Removed.
44535 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
44536 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
44537 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
44538 bit_Slow_BSF for Atom.
44539 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
44540 (index_Slow_BSF): Define.
44541 (HAS_SLOW_BSF): Define.
44543 2010-08-25 Ulrich Drepper <drepper@redhat.com>
44546 * resolv/res_init.c (__res_vinit): When no server address at all
44547 is given default to loopback.
44549 2010-08-24 Roland McGrath <roland@redhat.com>
44551 * configure.in: Remove config-name.h generation.
44552 * configure: Regenerated.
44553 * config-name.in: File removed.
44554 * scripts/config-uname.sh: New file.
44555 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
44556 ($(objdir)config-name.h): New target.
44558 * sunrpc/rpc_parse.h: Avoid nested comment.
44560 2010-08-24 Richard Henderson <rth@redhat.com>
44561 Ulrich Drepper <drepper@redhat.com>
44562 H.J. Lu <hongjiu.lu@intel.com>
44564 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
44565 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
44566 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
44567 Replace _mm_srli_si128 with __m128i_shift_right. Replace
44568 _mm_alignr_epi8 with _mm_loadu_si128.
44569 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
44570 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
44571 (__m128i_shift_right): Removed.
44572 * sysdeps/i386/i686/multiarch/varshift.h: New file.
44573 * sysdeps/i386/i686/multiarch/varshift.S: New file.
44574 * sysdeps/x86_64/multiarch/varshift.h: New file.
44575 * sysdeps/x86_64/multiarch/varshift.S: New file.
44577 2010-08-21 Mike Frysinger <vapier@gentoo.org>
44579 * configure.in: Move assembler checks to before sysdep dir checking.
44581 2010-08-20 Petr Baudis <pasky@suse.cz>
44583 * LICENSES: Sync the sunrpc license.
44585 2010-08-19 Ulrich Drepper <drepper@redhat.com>
44587 * sunrpc/auth_des.c: Update copyright notice once again.
44588 * sunrpc/auth_none.c: Likewise.
44589 * sunrpc/auth_unix.c: Likewise.
44590 * sunrpc/authdes_prot.c: Likewise.
44591 * sunrpc/authuxprot.c: Likewise.
44592 * sunrpc/bindrsvprt.c: Likewise.
44593 * sunrpc/clnt_gen.c: Likewise.
44594 * sunrpc/clnt_perr.c: Likewise.
44595 * sunrpc/clnt_raw.c: Likewise.
44596 * sunrpc/clnt_simp.c: Likewise.
44597 * sunrpc/clnt_tcp.c: Likewise.
44598 * sunrpc/clnt_udp.c: Likewise.
44599 * sunrpc/clnt_unix.c: Likewise.
44600 * sunrpc/des_crypt.c: Likewise.
44601 * sunrpc/des_soft.c: Likewise.
44602 * sunrpc/get_myaddr.c: Likewise.
44603 * sunrpc/getrpcport.c: Likewise.
44604 * sunrpc/key_call.c: Likewise.
44605 * sunrpc/key_prot.c: Likewise.
44606 * sunrpc/openchild.c: Likewise.
44607 * sunrpc/pm_getmaps.c: Likewise.
44608 * sunrpc/pm_getport.c: Likewise.
44609 * sunrpc/pmap_clnt.c: Likewise.
44610 * sunrpc/pmap_prot.c: Likewise.
44611 * sunrpc/pmap_prot2.c: Likewise.
44612 * sunrpc/pmap_rmt.c: Likewise.
44613 * sunrpc/rpc/auth.h: Likewise.
44614 * sunrpc/rpc/auth_unix.h: Likewise.
44615 * sunrpc/rpc/clnt.h: Likewise.
44616 * sunrpc/rpc/des_crypt.h: Likewise.
44617 * sunrpc/rpc/key_prot.h: Likewise.
44618 * sunrpc/rpc/netdb.h: Likewise.
44619 * sunrpc/rpc/pmap_clnt.h: Likewise.
44620 * sunrpc/rpc/pmap_prot.h: Likewise.
44621 * sunrpc/rpc/pmap_rmt.h: Likewise.
44622 * sunrpc/rpc/rpc.h: Likewise.
44623 * sunrpc/rpc/rpc_des.h: Likewise.
44624 * sunrpc/rpc/rpc_msg.h: Likewise.
44625 * sunrpc/rpc/svc.h: Likewise.
44626 * sunrpc/rpc/svc_auth.h: Likewise.
44627 * sunrpc/rpc/types.h: Likewise.
44628 * sunrpc/rpc/xdr.h: Likewise.
44629 * sunrpc/rpc_clntout.c: Likewise.
44630 * sunrpc/rpc_cmsg.c: Likewise.
44631 * sunrpc/rpc_common.c: Likewise.
44632 * sunrpc/rpc_cout.c: Likewise.
44633 * sunrpc/rpc_dtable.c: Likewise.
44634 * sunrpc/rpc_hout.c: Likewise.
44635 * sunrpc/rpc_main.c: Likewise.
44636 * sunrpc/rpc_parse.c: Likewise.
44637 * sunrpc/rpc_parse.h: Likewise.
44638 * sunrpc/rpc_prot.c: Likewise.
44639 * sunrpc/rpc_sample.c: Likewise.
44640 * sunrpc/rpc_scan.c: Likewise.
44641 * sunrpc/rpc_scan.h: Likewise.
44642 * sunrpc/rpc_svcout.c: Likewise.
44643 * sunrpc/rpc_tblout.c: Likewise.
44644 * sunrpc/rpc_util.c: Likewise.
44645 * sunrpc/rpc_util.h: Likewise.
44646 * sunrpc/rpcinfo.c: Likewise.
44647 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
44648 * sunrpc/rpcsvc/key_prot.x: Likewise.
44649 * sunrpc/rpcsvc/klm_prot.x: Likewise.
44650 * sunrpc/rpcsvc/mount.x: Likewise.
44651 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
44652 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
44653 * sunrpc/rpcsvc/rex.x: Likewise.
44654 * sunrpc/rpcsvc/rstat.x: Likewise.
44655 * sunrpc/rpcsvc/rusers.x: Likewise.
44656 * sunrpc/rpcsvc/sm_inter.x: Likewise.
44657 * sunrpc/rpcsvc/spray.x: Likewise.
44658 * sunrpc/rpcsvc/yppasswd.x: Likewise.
44659 * sunrpc/rtime.c: Likewise.
44660 * sunrpc/svc.c: Likewise.
44661 * sunrpc/svc_auth.c: Likewise.
44662 * sunrpc/svc_authux.c: Likewise.
44663 * sunrpc/svc_raw.c: Likewise.
44664 * sunrpc/svc_run.c: Likewise.
44665 * sunrpc/svc_simple.c: Likewise.
44666 * sunrpc/svc_tcp.c: Likewise.
44667 * sunrpc/svc_udp.c: Likewise.
44668 * sunrpc/svc_unix.c: Likewise.
44669 * sunrpc/svcauth_des.c: Likewise.
44670 * sunrpc/xcrypt.c: Likewise.
44671 * sunrpc/xdr.c: Likewise.
44672 * sunrpc/xdr_array.c: Likewise.
44673 * sunrpc/xdr_float.c: Likewise.
44674 * sunrpc/xdr_mem.c: Likewise.
44675 * sunrpc/xdr_rec.c: Likewise.
44676 * sunrpc/xdr_ref.c: Likewise.
44677 * sunrpc/xdr_sizeof.c: Likewise.
44678 * sunrpc/xdr_stdio.c: Likewise.
44680 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
44683 2010-08-19 Andreas Schwab <schwab@redhat.com>
44685 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
44687 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
44689 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
44690 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
44691 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
44692 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
44693 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
44694 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
44695 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
44696 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
44697 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
44698 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
44699 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
44700 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
44701 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
44702 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
44704 2010-07-26 Anton Blanchard <anton@samba.org>
44706 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
44707 * malloc/arena.c (heap_trim): Likewise.
44709 2010-08-16 Ulrich Drepper <drepper@redhat.com>
44711 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
44713 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
44714 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
44716 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
44718 * sysdeps/i386/elf/Makefile: New file.
44720 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
44722 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
44723 from fanotify_init.
44724 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
44725 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
44727 2010-08-15 Ulrich Drepper <drepper@redhat.com>
44729 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
44731 * sysdeps/multiarch/strcmp.S: Likewise.
44733 2010-08-14 Ulrich Drepper <drepper@redhat.com>
44735 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
44736 strncase_l-nonascii.
44737 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
44738 Add strncase_l-ssse3.
44739 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
44740 * sysdeps/x86_64/strcmp.S: Likewise.
44741 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
44742 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
44743 * sysdeps/x86_64/strncase.S: New file.
44744 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
44745 * sysdeps/x86_64/strncase_l.S: New file.
44746 * string/Makefile (strop-tests): Add strncasecmp.
44747 * string/test-strncasecmp.c: New file.
44749 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
44752 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
44753 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
44755 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
44757 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
44759 2010-08-12 Ulrich Drepper <drepper@redhat.com>
44761 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
44762 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
44763 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
44765 2010-05-01 Alan Modra <amodra@gmail.com>
44767 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
44768 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
44769 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
44770 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
44771 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
44772 tidying. Don't tail-call __sigjmp_save for static lib.
44773 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
44775 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
44776 (CALL_MCOUNT): Add eh info, and nop after bl.
44777 (TAIL_CALL_SYSCALL_ERROR): New macro.
44778 (PSEUDO_RET): Use it.
44779 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
44780 Correct save location of integer regs and cr.
44781 (_dl_profile_resolve): Correct cr save location. Delete nops
44782 after bl when SHARED. Reduce cfi size a little by better
44783 placement of cfi directives.
44784 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
44785 make a stack frame. Instead use parm save area as a temp.
44786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
44787 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
44788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
44789 Don't make a stack frame for parent, use parm save area.
44790 Increase child stack frame to 112 bytes. Don't save unused reg,
44791 and adjust reg usage. Set up cfi on error recovery and
44792 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
44793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
44794 (__makecontext): Add dummy nop after jump to exit.
44795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
44796 Use correct parm save area and cr save, reduce stack frame.
44797 Correct cfi for possible PSEUDO_RET frame setup.
44798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
44799 Branch to local label emitted by PSEUDO_RET rather than
44802 2010-08-12 Andreas Schwab <schwab@redhat.com>
44805 * locale/programs/locale.c (print_assignment): New function.
44806 (show_locale_vars): Use it.
44808 2010-08-11 Ulrich Drepper <drepper@redhat.com>
44810 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
44812 (struct statfs64): Likewise.
44813 (_STATFS_F_FLAGS): Define.
44814 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
44815 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44816 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
44817 (ST_VALID): Define locally.
44818 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
44819 __statvfs_getflags, use the provided value.
44820 * sysdeps/unix/sysv/linux/kernel-features.h: Define
44821 __ASSUME_STATFS_F_FLAGS.
44823 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
44825 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
44826 Add sys/fanotify.h.
44827 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
44828 fanotify_mask for GLIBC_2.13.
44829 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
44830 fanotify_init and fanotify_mark.
44831 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
44832 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
44834 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
44836 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
44837 prlimit64 for GLIBC_2.13.
44838 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
44840 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
44842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
44843 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
44844 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
44845 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
44846 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
44848 * sysdeps/unix/sysv/linux/prlimit.c: New file.
44851 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
44852 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
44854 * nss/Makefile: Add rules to build and run tst-nss-test1.
44855 * shlib-versions: Add entry for libnss_test1.
44856 * nss/nss_test1.c: New file.
44857 * nss/tst-nss-test1.c: New file.
44859 * nss/nsswitch.c (__nss_database_custom): Define new variable.
44860 (__nss_configure_lookup): Set appropriate entry in
44861 __nss_configure_lookup to true.
44862 * nss/nsswitch.h: Define enum with indeces of databases in
44863 databases and __nss_database_custom arrays. Declare
44864 __nss_database_custom.
44865 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
44866 to avoid using nscd when custom rules are installed.
44867 * nss/getXXbyYY_r.c: Likewise.
44868 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
44870 * nss/nss_files/files-parse.c: Whitespace fixes.
44872 2010-08-09 Ulrich Drepper <drepper@redhat.com>
44875 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
44876 * posix/fnmatch_loop.c: Likewise.
44878 2010-07-17 Andi Kleen <ak@linux.intel.com>
44880 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
44881 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
44882 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
44883 * Versions.def [GLIBC_2.13]: Add.
44885 2010-08-06 Ulrich Drepper <drepper@redhat.com>
44887 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
44888 Also fail if tpwd after pwuid call is NULL.
44890 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
44892 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
44893 when converting to ms.
44895 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
44897 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
44898 EOPNOTSUPP errors with ENOTTY.
44899 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
44900 EOPNOTSUPP errors with ENOTTY.
44902 2010-07-31 Ulrich Drepper <drepper@redhat.com>
44904 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
44905 Add strcasecmp_l-ssse3.
44906 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
44908 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
44909 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
44910 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
44912 2010-07-30 Ulrich Drepper <drepper@redhat.com>
44914 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
44916 * string/Makefile (strop-tests): Add strcasecmp.
44917 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
44918 strcasecmp_l-nonascii.
44919 (gen-as-const-headers): Add locale-defines.sym.
44920 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
44921 * sysdeps/x86_64/strcasecmp.S: New file.
44922 * sysdeps/x86_64/strcasecmp_l.S: New file.
44923 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
44924 * sysdeps/x86_64/locale-defines.sym: New file.
44925 * string/test-strcasecmp.c: New file.
44927 * string/test-strcasestr.c: Test both ends of the range of characters.
44928 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
44930 2010-07-29 Roland McGrath <roland@redhat.com>
44933 * manual/locale.texi (Yes-or-No Questions): Fix example code.
44935 2010-07-27 Ulrich Drepper <drepper@redhat.com>
44937 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
44940 2010-07-27 Andreas Schwab <schwab@redhat.com>
44942 * manual/memory.texi (Malloc Tunable Parameters): Document
44945 2010-07-26 Roland McGrath <roland@redhat.com>
44948 * configure.in (-fgnu89-inline check): Set and substitute
44949 gnu89_inline, not libc_cv_gnu89_inline.
44950 * configure: Regenerated.
44951 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
44953 2010-07-26 Ulrich Drepper <drepper@redhat.com>
44955 * string/test-strnlen.c: New file.
44956 * string/Makefile (strop-tests): Add strnlen.
44957 * string/tester.c (test_strnlen): Add a few more test cases.
44958 * string/tst-strlen.c: Better error reporting.
44960 * sysdeps/x86_64/strnlen.S: New file.
44962 2010-07-24 Ulrich Drepper <drepper@redhat.com>
44964 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
44965 lower-latency instructions.
44967 2010-07-23 Ulrich Drepper <drepper@redhat.com>
44969 * string/test-strcasestr.c: New file.
44970 * string/test-strstr.c: New file.
44971 * string/Makefile (strop-tests): Add strstr and strcasestr.
44972 * string/str-two-way.h: Don't undefine MAX.
44973 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
44975 2010-07-21 Andreas Schwab <schwab@redhat.com>
44977 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44978 strcasestr-nonascii.
44979 (CFLAGS-strcasestr-nonascii.c): Define.
44980 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
44981 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
44982 Remove unused attribute.
44984 2010-07-20 Roland McGrath <roland@redhat.com>
44986 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
44987 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
44988 ld.so.cache was broken. With it, there is no way to disable dsocaps
44989 like LD_HWCAP_MASK can disable hwcaps.
44991 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
44993 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
44995 2010-07-16 Ulrich Drepper <drepper@redhat.com>
44997 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
44998 call in strcasestr.
44999 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
45000 __strcasestr_sse42_nonascii.
45001 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
45002 strcasestr-nonascii.c.
45003 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
45005 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
45007 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
45008 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
45009 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
45010 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
45012 2010-07-09 Ulrich Drepper <drepper@redhat.com>
45014 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
45017 2010-07-06 Andreas Schwab <schwab@redhat.com>
45020 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
45023 2010-07-06 Ulrich Drepper <drepper@redhat.com>
45025 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
45026 _PC_PIPE_BUF using F_GETPIPE_SZ.
45028 2010-07-05 Roland McGrath <roland@redhat.com>
45030 * manual/arith.texi (Rounding Functions): Fix rint description
45031 implicit in round description.
45033 2010-07-02 Ulrich Drepper <drepper@redhat.com>
45035 * elf/Makefile: Fix linking for a few tests to make recent linker
45038 2010-06-30 Andreas Schwab <schwab@redhat.com>
45040 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
45041 $(common-objpfx)libc_nonshared.a.
45043 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
45045 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
45046 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
45047 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
45048 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
45049 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
45050 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
45051 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
45052 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
45053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
45054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
45055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
45056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
45057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
45058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
45059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
45060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
45061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
45062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
45063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
45064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
45065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
45066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
45067 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
45068 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
45069 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
45070 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
45071 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
45072 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
45073 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
45074 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
45075 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
45076 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
45077 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
45078 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
45079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
45080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
45081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
45082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
45083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
45084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
45085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
45086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
45087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
45088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
45089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
45090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
45091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
45092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
45094 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
45096 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
45097 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
45098 * string/memmove.c (memmove): Renamed to ...
45099 (MEMMOVE): ...this. Default to memmove.
45100 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
45101 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
45103 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45104 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
45105 mempcpy-ssse3-back memmove-ssse3-back.
45106 * sysdeps/x86_64/multiarch/bcopy.S: New file .
45107 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
45108 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
45109 * sysdeps/x86_64/multiarch/memcpy.S: New file.
45110 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
45111 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
45112 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
45113 * sysdeps/x86_64/multiarch/memmove.c: New file.
45114 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
45115 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
45116 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
45117 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
45118 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
45119 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
45121 (index_Fast_Copy_Backward): Define.
45122 (HAS_ARCH_FEATURE): Define.
45123 (HAS_FAST_REP_STRING): Define.
45124 (HAS_FAST_COPY_BACKWARD): Define.
45126 2010-06-21 Andreas Schwab <schwab@redhat.com>
45128 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
45129 Restore proper fallback handling.
45131 2010-06-19 Ulrich Drepper <drepper@redhat.com>
45134 * posix/group_member.c (__group_member): Correct checking loop.
45136 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
45137 OOM in getpwuid_r correctly. Return error number when the caller
45138 should return, otherwise -1.
45139 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
45140 call returning > 0 value.
45141 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
45143 2010-06-07 Andreas Schwab <schwab@redhat.com>
45145 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
45146 libc_nonshared.a from targets in modules-names.
45148 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
45150 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
45153 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
45155 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
45156 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
45157 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
45158 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
45160 2010-06-02 Andreas Schwab <schwab@redhat.com>
45162 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
45164 2010-06-14 Ulrich Drepper <drepper@redhat.com>
45166 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
45168 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
45169 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45170 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45171 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45172 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45173 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
45175 2010-06-14 Roland McGrath <roland@redhat.com>
45177 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
45179 2010-06-07 Jakub Jelinek <jakub@redhat.com>
45181 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
45182 __REDIRECT followed by __THROW.
45183 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
45184 * posix/getopt.h (getopt): Likewise.
45186 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
45188 * hurd/lookup-at.c (__file_name_lookup_at): Accept
45189 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
45190 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
45192 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
45193 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
45195 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
45197 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
45199 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
45202 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45203 Properly check family and model.
45205 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
45207 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
45209 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
45211 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
45213 2010-05-21 Ulrich Drepper <drepper@redhat.com>
45215 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
45218 2010-05-19 Andreas Schwab <schwab@redhat.com>
45220 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
45223 2010-05-21 Andreas Schwab <schwab@redhat.com>
45225 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
45226 and internal_recvmmsg.
45227 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
45228 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
45229 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
45230 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
45232 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
45233 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
45234 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
45236 2010-05-20 Andreas Schwab <schwab@redhat.com>
45238 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
45240 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
45242 POWER7 optimizations.
45243 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
45244 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
45246 2010-05-19 Ulrich Drepper <drepper@redhat.com>
45248 * version.h: Update for 2.13 development version.
45250 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
45252 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
45253 exceptions. Return 0.
45255 2010-05-07 Roland McGrath <roland@redhat.com>
45257 * elf/ldconfig.c (main): Add a const.
45259 2010-05-06 Ulrich Drepper <drepper@redhat.com>
45261 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
45262 (args_options): Add no-idn option.
45263 (ahosts_keys_int): Add idn_flags to ai_flags.
45264 (parse_option): Handle 'i' option to clear idn_flags.
45266 * malloc/malloc.c (_int_free): Possible race in the most recently
45267 added check. Only act on the data if no current modification
45270 See ChangeLog.17 for earlier changes.