1 2014-05-29 Richard Henderson <rth@twiddle.net>
3 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
4 Remove comma before expanding ASM_ARGS_##nr.
5 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
6 Make _x0 a strict output; make _x8 a strict input; adjust expansion
8 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
9 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
10 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
11 (ASM_ARGS_1): Add leading comma.
13 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
14 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
16 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
17 Remove the expected plt for __errno_location.
19 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
20 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
23 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
24 Always allocate 64 bytes of stack frame. Use ldp/stp to create
26 (DOCARGS_0, DOCARGS_1): Do nothing.
27 (DOCARGS_2): Update to store into the new stack frame.
28 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
29 (UNDOCARGS_1): Update to restore from the new stack frame.
30 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
31 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
33 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
34 (SINGLE_THREAD_P): New parameter for result regno.
35 (PSEUDO): Update to match; use cbz instead of beq.
37 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
38 Use ENTRY to define the _nocancel entry point. Share the syscall
39 and syscall error check paths with the cancel path.
42 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
43 whitespace; tabs before and after asm mnemonics.
45 2014-05-29 Eric Wong <normalperson@yhbt.net>
48 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49 Call fstat64 or stat64 internally, depending on arguments passed.
50 Replace stat buffer argument with file descriptor argument.
51 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
52 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
53 Pass fd to __internal_statvfs instead of calling fstat64.
54 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
55 Pass fd to __internal_statvfs64 instead of calling fstat64.
56 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
57 Pass -1 to __internal_statvfs instead of calling stat64.
58 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
59 Pass -1 to __internal_statvfs64 instead of calling stat64.
61 2014-05-28 Roland McGrath <roland@hack.frob.com>
63 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
64 that was previously under [RESET_PID].
65 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
67 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
68 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
70 2014-05-27 Roland McGrath <roland@hack.frob.com>
72 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
74 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
75 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
77 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
79 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
81 2014-05-27 Andreas Schwab <schwab@suse.de>
83 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
85 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
86 * elf/rtld.c (init_tls, dl_main): Likewise.
87 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
88 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
89 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
90 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
91 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
92 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
93 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
94 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
95 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
96 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
97 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
98 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
99 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
100 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
101 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
102 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
103 * sysdeps/generic/tls.h: Update description.
105 2014-05-27 Will Newton <will.newton@linaro.org>
108 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
109 and restore r2 rather than just restoring.
111 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
114 * libio/tst-ftell-append.c: New test case.
115 * libio/Makefile (tests): Add test case.
116 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
118 * libio/wfileops.c (do_ftell_wide): Likewise.
120 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
122 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
124 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
128 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
129 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
130 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
131 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
132 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
133 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
134 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
137 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
140 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
141 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
142 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
143 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
144 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
146 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
147 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
149 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
151 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
153 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
154 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
155 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
157 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
158 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
159 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
160 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
162 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
165 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
168 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
171 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
175 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
178 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
183 conditional [RESET_PID].
184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
185 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
187 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
192 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
193 (__libc_vfork): New strong alias.
194 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
196 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
201 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
202 (__libc_vfork): New strong alias.
203 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
205 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
208 2014-05-26 Carlos O'Donell <carlos@redhat.com>
210 * malloc/malloc.c (mi_arena): New function.
211 (malloc_info): Remove nested function mi_arena. Call non-nosted
214 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
216 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
218 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
219 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
220 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
221 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
222 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
223 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
224 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
226 2014-05-26 Andreas Schwab <schwab@suse.de>
229 * locale/programs/repertoire.c (repertoire_read): Add slash
230 between I18NPATH element and file name.
231 * locale/programs/locfile.c (locfile_read): Likewise.
233 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
235 * nptl/pthread_mutexattr_settype.c
236 (__pthread_mutexattr_settype):
237 Disable lock elision for PTHREAD_MUTEX_NORMAL.
239 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
241 * nptl/tst-mutex5 (do_test):
242 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
244 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
246 * benchtests/README: Document 'init' directive.
247 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
249 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
250 (parse_file): Recognize 'init' directive.
252 2014-05-26 Kyle McMartin <kyle@redhat.com>
255 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
256 alignment of struct pthread.
258 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
261 * nscd/netgroupcache.c (addgetnetgrentX): Look for
262 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
263 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
264 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
266 2014-05-25 Richard Henderson <rth@twiddle.net>
268 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
269 (SINGLE_THREAD_P_PIC): Remove.
270 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
271 (SINGLE_THREAD_P_PIC): Remove.
273 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
274 branch to syscall error ...
276 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
277 from __local_syscall_error to .Lsyscall_error.
278 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
279 (SYSCALL_ERROR): Update label name.
281 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
282 Do not use DOARGS/UNDOARGS.
283 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
284 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
285 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
286 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
287 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
289 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
292 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
293 define if !NOT_IN_libc.
294 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
295 define with non-default symbol versions.
297 2014-05-23 Richard Henderson <rth@twiddle.net>
299 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
300 (vfork, __vfork): Define via compat_symbol.
302 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
303 [!HAVE_IFUNC] (vfork_compat): Remove.
304 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
306 2014-05-23 Joseph Myers <joseph@codesourcery.com>
309 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
310 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
313 2014-05-23 Richard Henderson <rth@twiddle.net>
315 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
316 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
317 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
318 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
320 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
321 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
322 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
323 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
324 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
325 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
326 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
327 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
328 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
329 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
330 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
331 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
332 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
333 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
334 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
335 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
336 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
337 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
338 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
339 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
340 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
341 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
342 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
343 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
344 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
345 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
346 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
347 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
348 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
349 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
350 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
351 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
352 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
353 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
354 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
355 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
356 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
357 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
358 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
359 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
360 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
361 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
362 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
363 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
364 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
365 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
366 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
367 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
368 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
369 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
370 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
371 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
372 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
373 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
374 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
375 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
377 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
378 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
379 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
380 before exiting on error.
381 (__libc_vfork): New strong alias.
382 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
383 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
385 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
386 that was previously under [RESET_PID].
387 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
389 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
391 2014-05-23 Joseph Myers <joseph@codesourcery.com>
394 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
395 value when x - 1 is zero.
396 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
397 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
398 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
399 0.0L for an argument of 1.0L.
400 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
402 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
403 value when x - 1 is zero.
404 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
405 * sysdeps/i386/fpu/libm-test-ulps: Update.
406 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
408 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
410 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
411 alphasort and versionsort.
413 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
415 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
417 [copysignf]: Likewise.
419 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
421 * crypt/md5-crypt.c: Fix formatting.
423 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
425 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
426 (b64_from_24bit): New function.
428 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
430 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
431 libc_hidden_builtin_def to ifunc.
432 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
433 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
435 2014-05-21 Roland McGrath <roland@hack.frob.com>
437 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
438 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
440 2014-05-21 Joseph Myers <joseph@codesourcery.com>
442 * nscd/Depend (linuxthreads): Remove.
444 * resolv/Depend (linuxthreads): Remove.
445 * rt/Depend (linuxthreads): Remove.
447 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
448 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
449 $(common-objpfx)elf/.
450 (link-libc-before-gnulib): Likewise.
451 (elfobjdir): Remove variable.
452 * Makefile (install): Use $(elf-objpfx) instead of
453 $(common-objpfx)elf/.
454 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
456 (link-libc-deps): Likewise.
457 ($(common-objpfx)libc.so): Likewise.
458 ($(common-objpfx)linkobj/libc.so): Likewise.
459 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
460 instead of $(common-objpfx)elf/.
461 (symbolic-link-list): Likewise.
462 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
463 [$(cross-compiling) = no]: Likewise.
464 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
466 (static-gnulib-arch): Likewise.
467 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
468 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
469 $(common-objpfx)elf/.
471 2014-05-21 Richard Henderson <rth@redhat.com>
473 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
474 (SINGLE_THREAD_P): Use the correct width load. Fold
477 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
478 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
480 2014-05-20 Joseph Myers <joseph@codesourcery.com>
482 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
483 (libgcc_s_resume): Use __attribute_used__.
484 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
487 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
489 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
490 optimization when used with float constants.
492 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
494 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
497 * locale/nl_langinfo_l.c: Make direct reference to every
498 _nl_current_CATEGORY symbol.
499 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
500 (tests-static): Add tst-langinfo-static.
501 (tests-special): Add tst-langinfo-static.out.
502 ($(objpfx)tst-langinfo.out): Redirect output.
503 ($(objpfx)tst-langinfo-static.out): New.
504 * localedata/tst-langinfo.sh: Send output to stdout.
505 * localedata/tst-langinfo-static.c: New file.
508 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
509 when the shift amount is modulo the limb size.
511 2014-05-20 Richard Henderson <rth@redhat.com>
514 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
515 Change type of sa_flags from unsigned int to int.
518 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
520 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
522 2014-05-20 Will Newton <will.newton@linaro.org>
524 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
525 Test the return value of the system call in the nocancel case.
527 2014-05-20 Will Newton <will.newton@linaro.org>
528 Yvan Roux <yvan.roux@linaro.org>
530 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
531 #include of asm/ptrace.h.
532 (PTRACE_GET_THREAD_AREA): Remove #undef.
533 (PTRACE_GETHBPREGS): Likewise.
534 (PTRACE_SETHBPREGS): Likewise.
535 (struct user_regs_struct): New structure.
536 (struct user_fpsimd_struct): New structure.
537 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
538 #include of asm/ptrace.h and second #include of sys/user.h.
539 (PTRACE_GET_THREAD_AREA): Remove #undef.
540 (PTRACE_GETHBPREGS): Likewise.
541 (PTRACE_SETHBPREGS): Likewise.
542 (ELF_NGREG): Use new struct user_regs_struct.
543 (elf_fpregset_t): Use new struct user_fpsimd_struct.
545 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
547 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
548 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
550 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
553 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
554 membar to avoid block loads/stores to overlap previous stores.
556 2014-05-17 Richard Henderson <rth@redhat.com>
558 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
559 Create the __##syscall_name##_nocancel entry point.
560 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
561 Remove; let the sysdep-cancel.h code create it.
563 2014-05-17 David S. Miller <davem@davemloft.net>
565 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
566 Protect with __USE_GNU.
567 (TIOCSET_TEMPT): Likewise.
568 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
569 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
570 these are already provided in bits/ioctl-types.h
572 2014-05-16 Roland McGrath <roland@hack.frob.com>
574 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
575 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
577 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
578 Use wait4 regardless of [__NR_waitpid].
580 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
583 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
584 (_FP_NANSIGN_Q): Set the quiet bit.
586 2014-05-16 Joseph Myers <joseph@codesourcery.com>
588 * benchtests/Makefile
589 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
590 not $(common-objpfx)math/libm.so.
591 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
592 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
593 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
594 $(common-objpfx)dlfcn/libdl.so.
595 ($(objpfx)tst-audit8): Depend on $(libm), not
596 $(common-objpfx)math/libm.so.
597 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
598 not $(common-objpfx)dlfcn/libdl.so.
600 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
601 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
602 [$(build-shared) = yes].
603 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
604 $(common-objpfx)nptl/libpthread.so.
605 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
606 $(common-objpfx)math/libm.so$(libm.so-version) or
607 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
608 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
609 $(common-objpfx)dlfcn/libdl.so.
610 * setjmp/Makefile (link-libm): Remove variable.
611 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
612 * stdio-common/Makefile (link-libm): Remove variable.
613 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
614 * stdlib/Makefile (link-libm): Remove variable.
615 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
616 ($(objpfx)tst-strtod-round): Likewise.
617 ($(objpfx)tst-tininess): Likewise.
618 ($(objpfx)tst-strtod-underflow): Likewise.
619 ($(objpfx)tst-strtod6): Likewise.
620 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
621 $(libdl), not $(common-objpfx)nptl/libpthread.so and
622 $(common-objpfx)dlfcn/libdl.so.
624 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
626 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
627 BSD terminal modes definitions.
629 2014-05-16 Roland McGrath <roland@hack.frob.com>
631 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
632 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
634 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
635 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
636 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
637 Don't do #include_next.
638 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
639 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
640 Don't do #include_next.
641 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
642 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
643 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
644 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
646 2014-05-16 Allan McRae <allan@archlinux.org>
648 * po/sv.po: Update Swedish translation from translation project.
650 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
653 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
656 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
657 errno if the TIOCGPTN ioctl fails with an error different than
659 * login/tst-ptsname.c: New file.
660 * login/Makefile (tests): Add tst-ptsname.
663 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
666 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
669 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
670 herrno to return EAI_AGAIN.
672 2014-05-14 Roland McGrath <roland@hack.frob.com>
674 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
675 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
676 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
677 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
678 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
679 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
680 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
681 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
682 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
683 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
684 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
685 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
686 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
687 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
688 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
689 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
690 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
691 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
692 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
693 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
694 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
695 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
696 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
697 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
698 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
699 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
700 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
701 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
702 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
703 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
704 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
705 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
706 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
707 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
708 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
710 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
711 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
712 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
713 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
714 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
715 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
716 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
717 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
718 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
719 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
720 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
721 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
722 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
723 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
724 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
725 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
726 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
727 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
728 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
729 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
730 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
731 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
732 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
733 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
734 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
735 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
736 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
737 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
739 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
740 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
741 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
742 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
743 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
744 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
745 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
746 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
747 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
748 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
749 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
750 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
751 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
752 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
753 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
754 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
755 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
756 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
757 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
758 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
760 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
761 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
762 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
764 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
765 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
766 (libpthread-sysdep_routines): Add elision-related stuff here instead.
767 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
768 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
769 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
770 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
771 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
772 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
773 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
774 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
775 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
776 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
777 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
778 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
779 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
780 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
781 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
782 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
783 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
784 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
785 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
786 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
787 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
788 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
789 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
790 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
791 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
792 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
793 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
794 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
796 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
797 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
799 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
800 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
801 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
802 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
803 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
804 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
806 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
807 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
809 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
810 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
812 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
813 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
815 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
816 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
817 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
818 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
820 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
821 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
822 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
823 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
824 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
825 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
826 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
827 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
829 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
830 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
832 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
834 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
835 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
836 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
837 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
838 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
840 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
842 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
844 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
845 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
846 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
847 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
848 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
849 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
851 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
852 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
854 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
855 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
857 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
858 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
860 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
861 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
862 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
863 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
865 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
866 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
867 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
868 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
869 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
870 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
871 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
872 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
874 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
875 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
877 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
879 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
880 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
881 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
882 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
883 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
885 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
887 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
889 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
890 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
891 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
892 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
893 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
894 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
895 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
896 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
897 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
898 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
900 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
901 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
903 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
904 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
906 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
907 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
909 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
910 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
911 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
912 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
913 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
914 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
916 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
917 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
918 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
919 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
920 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
921 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
922 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
923 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
925 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
926 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
928 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
930 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
931 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
932 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
933 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
934 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
936 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
938 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
940 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
941 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
942 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
943 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
944 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
945 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
946 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
947 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
948 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
949 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
950 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
952 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
953 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
955 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
956 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
958 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
959 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
960 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
961 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
962 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
963 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
964 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
965 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
966 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
967 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
968 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
969 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
970 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
971 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
972 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
973 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
974 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
975 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
977 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
978 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
979 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
980 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
982 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
983 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
984 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
985 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
986 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
987 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
988 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
989 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
991 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
992 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
994 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
995 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
996 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
997 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
998 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
999 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
1000 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
1001 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
1002 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
1003 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
1004 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
1005 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
1006 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
1007 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
1008 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
1009 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
1010 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
1012 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
1013 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
1014 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
1015 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
1016 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
1018 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
1019 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
1020 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
1021 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
1022 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
1023 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
1024 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
1025 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
1026 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
1027 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
1029 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
1030 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
1032 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
1033 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
1034 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
1035 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
1036 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
1037 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
1038 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
1039 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
1040 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
1041 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
1042 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
1043 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
1044 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
1045 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
1046 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
1048 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
1050 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
1052 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
1054 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
1056 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
1058 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
1060 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
1062 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
1064 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
1066 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
1067 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
1068 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
1069 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
1070 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
1071 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
1072 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
1073 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
1074 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
1075 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
1076 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
1077 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
1078 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
1079 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
1080 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
1082 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
1083 that was previously under [RESET_PID].
1084 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
1085 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
1086 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
1088 * sysdeps/i386/nptl/Implies: New file.
1089 * sysdeps/x86_64/nptl/Implies: New file.
1090 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
1091 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
1092 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
1093 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
1095 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
1096 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1097 (__libc_vfork): New strong alias.
1098 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
1099 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
1101 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
1102 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1103 (__libc_vfork): New strong alias.
1104 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
1105 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
1107 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
1108 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1109 (__libc_vfork): New strong alias.
1110 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
1111 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
1112 * nptl/pt-vfork.c: New file.
1113 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
1114 (libpthread: GLIBC_2.20): New version set (empty).
1116 2014-05-14 Will Newton <will.newton@linaro.org>
1118 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
1121 2014-05-14 Joseph Myers <joseph@codesourcery.com>
1124 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
1125 arguments with exponent 65 or above.
1126 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
1127 arguments 0x1p113L or above.
1128 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
1129 to arguments 0x1p107L or above.
1130 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
1131 positive arguments with exponent 65 or above.
1132 * math/auto-libm-test-in: Add more tests of log1p.
1133 * math/auto-libm-test-out: Regenerated.
1136 * math/s_cacos.c (__cacos): Ensure zero real part of result from
1137 non-finite arguments is +0.
1138 * math/s_cacosf.c (__cacosf): Likewise.
1139 * math/s_cacosl.c (__cacosl): Likewise.
1140 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
1141 * sysdeps/i386/fpu/libm-test-ulps: Update.
1142 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1145 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
1147 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
1148 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
1149 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
1150 for explicit high bit of mantissa when testing for argument equal
1152 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
1153 * sysdeps/i386/fpu/libm-test-ulps: Update.
1154 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1157 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
1158 (__erf): Scale by 16 instead of 8 in potentially underflowing
1159 case. Ensure exception if result actually underflows.
1160 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
1161 (__erff): Scale by 16 instead of 8 in potentially underflowing
1162 case. Ensure exception if result actually underflows.
1163 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
1164 (efx8): Remove variable.
1165 (__erfl): Scale by 16 instead of 8 in potentially underflowing
1166 case. Ensure exception if result actually underflows.
1167 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
1168 (efx8): Remove variable.
1169 (__erfl): Scale by 16 instead of 8 in potentially underflowing
1170 case. Ensure exception if result actually underflows.
1171 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
1172 (efx8): Remove variable.
1173 (__erfl): Scale by 16 instead of 8 in potentially underflowing
1174 case. Ensure exception if result actually underflows.
1175 * math/auto-libm-test-in: Add more tests of erf.
1176 * math/auto-libm-test-out: Regenerated.
1178 2014-05-14 Andreas Schwab <schwab@suse.de>
1180 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
1181 Remove code conditionalized on USE___THREAD.
1183 * config.h.in (HAVE_PT_CHOWN): Define as 0.
1184 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
1187 2014-05-14 Joseph Myers <joseph@codesourcery.com>
1189 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
1190 Define unconditionally.
1191 (__ASSUME_O_CLOEXEC): Likewise.
1192 (__ASSUME_SOCK_CLOEXEC): Likewise.
1193 (__ASSUME_IN_NONBLOCK): Likewise.
1194 (__ASSUME_PIPE2): Likewise.
1195 (__ASSUME_EVENTFD2): Likewise.
1196 (__ASSUME_SIGNALFD4): Likewise.
1197 (__ASSUME_DUP3): Likewise.
1198 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1199 (__ASSUME_DUP3): Do not define.
1200 (__ASSUME_EVENTFD2): Likewise.
1201 (__ASSUME_IN_NONBLOCK): Likewise.
1202 (__ASSUME_O_CLOEXEC): Likewise.
1203 (__ASSUME_PIPE2): Likewise.
1204 (__ASSUME_SIGNALFD4): Likewise.
1205 (__ASSUME_SOCK_CLOEXEC): Likewise.
1206 (__ASSUME_UTIMES): Undefine.
1207 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1208 (__ASSUME_UTIMES): Do not define.
1209 (__ASSUME_O_CLOEXEC): Likewise.
1210 (__ASSUME_SOCK_CLOEXEC): Likewise.
1211 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
1212 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
1214 (__ASSUME_PIPE2): Likewise.
1215 (__ASSUME_EVENTFD2): Likewise.
1216 (__ASSUME_SIGNALFD4): Likewise.
1217 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
1218 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
1220 (__ASSUME_EVENTFD2): Likewise.
1221 (__ASSUME_SIGNALFD4): Likewise.
1222 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1223 (__ASSUME_32BITUIDS): Likewise.
1224 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
1225 (__ASSUME_IPC64): Likewise.
1226 (__ASSUME_ST_INO_64_BIT): Likewise.
1227 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
1228 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
1229 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1230 (__ASSUME_UTIMES): Do not define.
1231 (__ASSUME_PSELECT): Likewise.
1232 (__ASSUME_PPOLL): Likewise.
1233 (__ASSUME_O_CLOEXEC): Likewise.
1234 (__ASSUME_SOCK_CLOEXEC): Likewise.
1235 (__ASSUME_IN_NONBLOCK): Likewise.
1236 (__ASSUME_PIPE2): Likewise.
1237 (__ASSUME_EVENTFD2): Likewise.
1238 (__ASSUME_SIGNALFD4): Likewise.
1239 (__ASSUME_DUP3): Likewise.
1240 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1241 (__ASSUME_UTIMES): Likewise.
1242 (__ASSUME_O_CLOEXEC): Likewise.
1243 (__ASSUME_SOCK_CLOEXEC): Likewise.
1244 (__ASSUME_IN_NONBLOCK): Likewise.
1245 (__ASSUME_PIPE2): Likewise.
1246 (__ASSUME_EVENTFD2): Likewise.
1247 (__ASSUME_SIGNALFD4): Likewise.
1248 (__ASSUME_DUP3): Likewise.
1249 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1250 (__ASSUME_UTIMES): Likewise.
1251 (__ASSUME_O_CLOEXEC): Likewise.
1252 (__ASSUME_SOCK_CLOEXEC): Likewise.
1253 (__ASSUME_IN_NONBLOCK): Likewise.
1254 (__ASSUME_PIPE2): Likewise.
1255 (__ASSUME_EVENTFD2): Likewise.
1256 (__ASSUME_SIGNALFD4): Likewise.
1257 (__ASSUME_DUP3): Likewise.
1258 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
1260 (__ASSUME_UTIMES): Likewise.
1261 (__ASSUME_EVENTFD2): Likewise.
1262 (__ASSUME_SIGNALFD4): Likewise.
1263 * sysdeps/unix/sysv/linux/tile/kernel-features.h
1264 (__ASSUME_O_CLOEXEC): Likewise.
1265 (__ASSUME_SOCK_CLOEXEC): Likewise.
1266 (__ASSUME_IN_NONBLOCK): Likewise.
1267 (__ASSUME_PIPE2): Likewise.
1268 (__ASSUME_EVENTFD2): Likewise.
1269 (__ASSUME_SIGNALFD4): Likewise.
1270 (__ASSUME_DUP3): Likewise.
1271 (__ASSUME_UTIMES): Undefine.
1273 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
1274 feclearexcept. Remove symbol versioning code.
1275 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
1276 symbol versioning code.
1277 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
1278 symbol versioning code.
1279 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
1280 feupdateenv. Remove symbol versioning code.
1281 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
1282 fegetexceptflag. Remove symbol versioning code.
1283 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
1284 fesetexceptflag. Remove symbol versioning code.
1285 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
1286 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
1287 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
1288 (__posix_fadvise64_l32): Remove prototype.
1289 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
1292 2014-05-13 Roland McGrath <roland@hack.frob.com>
1294 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
1295 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
1296 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
1297 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
1299 2014-05-13 Sami Kerola <kerolasa@iki.fi>
1301 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
1302 current working directory
1304 2014-05-13 Roland McGrath <roland@hack.frob.com>
1306 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
1307 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
1308 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
1309 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
1310 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
1311 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
1312 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
1313 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
1314 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
1315 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
1316 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
1317 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
1318 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
1319 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
1320 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
1321 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
1322 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
1323 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
1324 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
1325 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
1326 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
1327 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
1328 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
1329 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
1330 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
1331 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
1332 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
1333 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
1334 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
1335 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
1336 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
1337 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
1338 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
1339 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
1340 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
1341 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
1342 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
1343 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
1344 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
1345 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
1346 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
1347 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
1349 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
1350 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
1352 * sysdeps/unix/sysv/linux/arm/Makefile
1353 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
1354 Add rt-aeabi_unwind_cpp_pr1.
1355 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
1356 Add nptl-aeabi_unwind_cpp_pr1.
1357 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
1358 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
1359 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
1360 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
1361 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
1362 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
1364 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
1365 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
1366 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
1367 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
1369 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
1370 Deconditionalize the code that was previously under [RESET_PID].
1371 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
1373 * sysdeps/generic/exit-thread.h: New file.
1374 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
1375 * include/unistd.h (__exit_thread): Remove declaration.
1376 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
1377 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
1378 * csu/libc-start.c: Include <exit-thread.h>.
1379 (LIBC_START_MAIN): Pass no argument to __exit_thread.
1380 * nptl/pthread_create.c: Include <exit-thread.h>.
1381 (start_thread): Call __exit_thread in place of __exit_thread_inline.
1382 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
1383 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
1384 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
1385 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
1386 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
1387 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
1388 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
1389 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
1390 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
1391 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
1392 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
1393 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
1394 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
1395 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
1396 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
1397 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
1399 2014-05-13 Andreas Schwab <schwab@suse.de>
1401 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
1403 2014-05-12 Joseph Myers <joseph@codesourcery.com>
1405 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
1406 (__ASSUME_UTIMES): Do not condition on kernel version.
1407 (__ASSUME_PSELECT): Define unconditionally.
1408 (__ASSUME_PPOLL): Likewise.
1409 (__ASSUME_ATFCTS): Likewise.
1410 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
1411 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
1412 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
1413 (__ASSUME_UTIMENSAT): Define unconditionally.
1414 (__ASSUME_PRIVATE_FUTEX): Likewise.
1415 (__ASSUME_FALLOCATE): Likewise.
1416 (__ASSUME_O_CLOEXEC): Likewise.
1417 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
1418 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
1419 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
1420 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
1421 (__ASSUME_IN_NONBLOCK): Likewise.
1422 (__ASSUME_PIPE2): Likewise.
1423 (__ASSUME_EVENTFD2): Likewise.
1424 (__ASSUME_SIGNALFD4): Likewise.
1425 (__ASSUME_DUP3): Likewise.
1426 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1427 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
1428 (__ASSUME_AT_RANDOM): Likewise.
1429 (__ASSUME_PREADV): Likewise.
1430 (__ASSUME_PWRITEV): Likewise.
1431 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
1432 (__ASSUME_F_GETOWN_EX): Define unconditionally.
1433 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
1434 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
1435 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
1436 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1437 (__ASSUME_O_CLOEXEC): Define unconditionally.
1438 (__ASSUME_PSELECT): Do not undefine conditionally.
1439 (__ASSUME_PPOLL): Likewise.
1440 (__ASSUME_ATFCTS): Likewise.
1441 (__ASSUME_SET_ROBUST_LIST): Likewise.
1442 (__ASSUME_UTIMENSAT): Likewise.
1443 (__ASSUME_FDATASYNC): Define unconditionally.
1444 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1445 (__ASSUME_SIGFRAME_V2): Likewise.
1446 )__ASSUME_EVENTFD2): Likewise.
1447 (__ASSUME_SIGNALFD4): Likewise.
1448 (__ASSUME_PSELECT): Do not undefine conditionally.
1449 (__ASSUME_PPOLL): Likewise.
1450 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1451 (__ASSUME_PSELECT): Define unconditionally.
1452 (__ASSUME_PPOLL): Likewise.
1453 (__ASSUME_O_CLOEXEC): Likewise.
1454 (__ASSUME_SOCK_CLOEXEC): Likewise.
1455 (__ASSUME_IN_NONBLOCK): Likewise.
1456 (__ASSUME_PIPE2): Likewise.
1457 (__ASSUME_EVENTFD2): Likewise.
1458 (__ASSUME_SIGNALFD4): Likewise.
1459 (__ASSUME_DUP3): Likewise.
1460 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1461 (__ASSUME_O_CLOEXEC): Likewise.
1462 (__ASSUME_SOCK_CLOEXEC): Likewise.
1463 (__ASSUME_IN_NONBLOCK): Likewise.
1464 (__ASSUME_PIPE2): Likewise.
1465 (__ASSUME_EVENTFD2): Likewise.
1466 (__ASSUME_SIGNALFD4): Likewise.
1467 (__ASSUME_DUP3): Likewise.
1468 * sysdeps/unix/sysv/linux/mips/kernel-features.h
1469 (__ASSUME_EVENTFD2): Likewise.
1470 (__ASSUME_SIGNALFD4): Likewise.
1471 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1473 2014-05-12 Andreas Schwab <schwab@suse.de>
1476 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
1477 (_nss_nis_gethostbyname4_r): Return error if item length is larger
1478 than maximum RPC packet size.
1479 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
1480 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
1481 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
1482 (_nss_nis_getservbyport_r): Likewise.
1484 2014-05-12 Will Newton <will.newton@linaro.org>
1486 * malloc/Makefile (tests): Add tst-mallopt.
1487 * malloc/tst-mallopt.c: New file.
1489 2014-05-09 Roland McGrath <roland@hack.frob.com>
1491 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
1492 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
1494 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1496 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
1497 (tst-tlsmod6.so): Likewise.
1499 2014-05-09 Roland McGrath <roland@hack.frob.com>
1501 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
1503 2014-05-09 Joseph Myers <joseph@codesourcery.com>
1506 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
1507 and <dl-procinfo.h>.
1508 (__fegetenv): Save SSE state in envp->__eip if supported.
1509 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
1510 envp->__eip if supported.
1511 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
1512 and <dl-procinfo.h>.
1513 (__fesetenv): Always set __eip, __cs_selector, __opcode,
1514 __data_offset and __data_selector in environment to 0. Set SSE
1516 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
1518 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
1520 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
1522 2014-05-09 Will Newton <will.newton@linaro.org>
1524 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
1525 and libc_relro_required for ARM.
1526 * sysdeps/arm/preconfigure: Regenerate.
1528 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
1529 Stefan Liebler <stli@linux.vnet.ibm.com>
1531 * config.make.in (enable-lock-elision): New Makefile variable.
1532 * configure.ac: Likewise.
1533 * configure: Regenerate.
1534 * sysdeps/s390/configure.ac:
1535 Add check for gcc transactions support.
1536 * sysdeps/s390/configure: Regenerate.
1537 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
1538 Build elision files if enabled.
1539 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
1540 Add lock elision support for s390.
1541 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
1542 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
1543 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
1544 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
1545 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
1546 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
1547 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
1549 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
1551 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
1553 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
1555 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
1556 (__lll_timedlock_elision, __lll_lock_elision)
1557 (__lll_unlock_elision, __lll_trylock_elision)
1558 (lll_timedlock_elision, lll_lock_elision)
1559 (lll_unlock_elision, lll_trylock_elision): Add.
1560 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
1561 (pthread_mutex_t): Add lock elision support for s390.
1563 2014-05-14 Wilco <wdijkstr@arm.com>
1565 * sysdeps/arm/fclrexcpt.c: Cleanup.
1566 * sysdeps/arm/fedisblxcpt.c: Cleanup.
1567 * sysdeps/arm/feenablxcpt.c: Cleanup.
1568 * sysdeps/arm/fegetenv.c: Cleanup.
1569 * sysdeps/arm/fegetexcept.c: Cleanup.
1570 * sysdeps/arm/fegetround.c: Cleanup.
1571 * sysdeps/arm/feholdexcpt.c: Cleanup.
1572 * sysdeps/arm/fesetenv.c: Cleanup.
1573 * sysdeps/arm/fesetround.c: Cleanup.
1574 * sysdeps/arm/feupdateenv.c: Cleanup.
1575 * sysdeps/arm/fgetexcptflg.c: Cleanup.
1576 * sysdeps/arm/fraiseexcpt.c: Cleanup.
1577 * sysdeps/arm/fsetexcptflg.c: Cleanup.
1578 * sysdeps/arm/ftestexcept.c: Cleanup.
1579 * sysdeps/arm/get-rounding-mode.h: Cleanup.
1580 * sysdeps/arm/setfpucw.c: Cleanup.
1582 2014-05-09 Will Newton <will.newton@linaro.org>
1584 * sysdeps/arm/armv7/strcmp.S: New file.
1585 * NEWS: Mention addition of ARMv7 optimized strcmp.
1587 2014-05-08 Roland McGrath <roland@hack.frob.com>
1589 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
1590 look for %.ac rather than %.in.
1592 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
1593 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
1594 * sysdeps/mach/hurd/configure: Regenerated.
1595 * sysdeps/unix/sysv/linux/configure: Regenerated.
1597 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
1599 2014-05-07 Steve Ellcey <sellcey@mips.com>
1602 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
1606 2014-05-07 Andreas Schwab <schwab@suse.de>
1608 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
1609 when skipping over non-matching result from nscd.
1611 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
1614 * nptl/sockperf.c (client): Check socket return value.
1617 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
1618 nscd security class.
1620 2014-05-06 Roland McGrath <roland@hack.frob.com>
1622 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
1623 * sysdeps/arm/unwind.h: ... here.
1625 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
1628 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
1631 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1633 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
1634 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
1635 multiarch strncpy for PPC64.
1636 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
1637 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
1638 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
1639 multiarch optimizations.
1640 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1641 (__libc_ifunc_impl_list): Likewise.
1642 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
1643 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
1644 multiarch stpncpy for PPC64.
1645 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
1646 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
1648 2014-05-06 Andreas Schwab <schwab@suse.de>
1651 * gmon/mcount.c (_MCOUNT_DECL): Use
1652 atomic_compare_and_exchange_bool_acq instead of
1653 catomic_compare_and_exchange_bool_acq.
1655 2014-05-05 Roland McGrath <roland@hack.frob.com>
1657 * elf/Makefile (others, install-bin): Remove pldd.
1658 (pldd-modules): Variable removed.
1659 ($(objpfx)pldd): Target removed.
1660 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
1661 (others, install-bin): Append pldd here.
1662 ($(objpfx)pldd): New target.
1664 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
1665 to 0, so the first #if test emitted later doesn't see it undefined.
1666 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
1667 * sysdeps/gnu/errlist.c: Regenerated.
1669 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1671 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
1672 [libc_hidden_builtin_def]: Define to empty value.
1673 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
1674 [libc_hidden_builtin_def]: Likewise.
1675 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
1676 [libc_hidden_builtin_def]: Likewise.
1677 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
1678 [libc_hidden_builtin_def]: Likewise.
1679 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
1680 __redirect_memcpy and define ifunc as default hidden symbol.
1681 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
1682 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
1684 2014-05-04 Adam Conrad <adconrad@0c3.net>
1686 * locale/iso-4217.def: Reintroduce XDR currency.
1688 2014-05-04 Allan McRae <allan@archlinux.org>
1690 * po/eo.po: Update Esperanto translation from translation project.
1692 2014-05-02 Carlos O'Donell <carlos@redhat.com>
1694 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
1695 and FEATURE_INDEX_MAX to 1.
1696 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
1698 2014-05-01 Steve Ellcey <sellcey@mips.com>
1700 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
1701 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
1702 * iconvdata/big5.c (ONE_DIRECTION): Define.
1703 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
1704 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
1705 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
1706 * iconvdata/cp932.c (ONE_DIRECTION): Define.
1707 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
1708 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
1709 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
1710 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
1711 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
1712 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
1713 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
1714 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
1715 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
1716 * iconvdata/gbk.c (ONE_DIRECTION): Define.
1717 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
1718 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
1719 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
1720 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
1721 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
1722 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
1723 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
1724 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
1725 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
1726 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
1727 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
1728 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
1729 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
1730 * iconvdata/iso646.c (ONE_DIRECTION): Define.
1731 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
1732 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
1733 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
1734 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
1735 * iconvdata/johab.c (ONE_DIRECTION): Define.
1736 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
1737 * iconvdata/sjis.c (ONE_DIRECTION): Define.
1738 * iconvdata/t.61.c (ONE_DIRECTION): Define.
1739 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
1740 * iconvdata/tscii.c (ONE_DIRECTION): Define.
1741 * iconvdata/uhc.c (ONE_DIRECTION): Define.
1742 * iconvdata/unicode.c (ONE_DIRECTION): Define.
1743 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
1744 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
1745 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
1747 2014-05-01 Roland McGrath <roland@hack.frob.com>
1749 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
1750 (_IO_JUMPS_OFFSET): Define to 0.
1752 * nptl/sysdeps/pthread/bits/libc-lock.h
1753 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
1754 (__libc_lock_define_initialized_recursive): Always define using
1755 initializer. Modern compilers treat uninitialized (implicit zero) and
1756 explicit zero initializers the same (i.e. put the datum in bss).
1758 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
1760 * nscd/nscd-client.h: Include <string.h>.
1762 2014-05-01 David S. Miller <davem@davemloft.net>
1765 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
1766 multiple zero bytes exist at the end of a string.
1767 Reported by Aurelien Jarno <aurelien@aurel32.net>
1769 * string/test-strcmp.c (check): Add explicit test for situations where
1770 there are multiple zero bytes after the first.
1772 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
1775 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
1776 when compiling wprintf.
1777 * stdio-common/tstdiomisc.c (t3): New function.
1780 2014-05-01 Steve Ellcey <sellcey@mips.com>
1782 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
1783 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
1784 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
1785 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
1787 2014-05-01 Steve Ellcey <sellcey@mips.com>
1789 * stdlib/longlong.h: Updated from GCC.
1791 2014-05-01 Will Newton <will.newton@linaro.org>
1792 Bernard Ogden <bernie.ogden@linaro.org>
1794 * NEWS: Update fixed bug list.
1797 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
1799 2014-04-30 David S. Miller <davem@davemloft.net>
1801 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
1802 (libc_feholdexcept_setround_sparc_ctx): New function.
1803 (libc_fesetenv_sparc_ctx): Likewise.
1804 (libc_feupdateenv_sparc_ctx): Likewise.
1805 (libc_feholdsetround_sparc_ctx): Likewise.
1806 (libc_feholdexcept_setround_ctx): Define.
1807 (libc_feholdexcept_setroundf_ctx): Likewise.
1808 (libc_feholdexcept_setroundl_ctx): Likewise.
1809 (libc_fesetenv_ctx): Likewise.
1810 (libc_fesetenvf_ctx): Likewise.
1811 (libc_fesetenvl_ctx): Likewise.
1812 (libc_feupdateenv_ctx): Likewise.
1813 (libc_feupdateenvf_ctx): Likewise.
1814 (libc_feupdateenvl_ctx): Likewise.
1815 (libc_feresetround_ctx): Likewise.
1816 (libc_feresetroundf_ctx): Likewise.
1817 (libc_feresetroundl_ctx): Likewise.
1818 (libc_feholdsetround_ctx): Likewise.
1819 (libc_feholdsetroundf_ctx): Likewise.
1820 (libc_feholdsetroundl_ctx): Likewise.
1822 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
1823 with __USE_GNU instead of XOPEN cpp guards.
1825 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
1828 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
1829 with XOPEN cpp guards.
1831 2014-04-30 Julian Brown <julian@codesourcery.com>
1834 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
1837 2014-04-30 Joseph Myers <joseph@codesourcery.com>
1840 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
1842 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
1843 * sysdeps/unix/sysv/linux/configure: Regenerated.
1844 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
1845 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
1846 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
1847 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
1848 * README: Update reference to required Linux kernel version.
1849 * manual/install.texi (Linux): Update reference to required Linux
1850 kernel headers version.
1851 * INSTALL: Regenerated.
1853 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
1855 [POSIX] (limits.h): Likewise.
1856 [POSIX] (math.h): Likewise.
1857 [POSIX] (sys/wait.h): Likewise.
1858 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
1860 [POSIX] (stddef.h): Do not allow header inclusion.
1862 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1864 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1866 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
1868 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
1869 Return immediately after lll_futex_wake.
1871 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1874 * nscd/nscd-client.h (datahead_init_common): Initialize entire
1876 (datahead_init_pos): Call datahead_init_common early.
1877 (datahead_init_neg): Likewise.
1879 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
1880 datahead_init_neg): New functions.
1881 * nscd/aicache.c (addhstaiX): Use them.
1882 * nscd/grpcache.c (cache_addgr): Likewise.
1883 * nscd/hstcache.c (cache_addhst): Likewise.
1884 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1885 * nscd/netgroupcache.c (do_notfound): Likewise.
1886 (addgetnetgrentX): Likewise.
1887 (addinnetgrX): Likewise.
1888 * nscd/pwdcache.c (cache_addpw): Likewise.
1889 * nscd/servicescache.c (cache_addserv): Likewise.
1891 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1892 Atsushi Onoe <atsushi@onoe.org>
1897 * resolv/res_query.c (__libc_res_nsearch): Return if at least
1898 one response is valid.
1899 * resolv/res_send.c (send_dg): Check for validity of other
1900 response if the current response is a referral.
1902 2014-04-29 Steve Ellcey <sellcey@mips.com>
1904 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
1906 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
1909 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
1910 Always divide by positive zero when computing -Inf result.
1911 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
1912 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
1914 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1916 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
1917 FPSCR if value do not change.
1918 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
1919 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
1920 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
1921 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
1922 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
1923 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
1926 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
1928 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
1929 * sysdeps/unix/sysv/linux/hppa: Move directory from
1930 ports/systeps/unix/sysv/linux/hppa.
1931 * README: Update listing for hppa-*-linux-gnu.
1933 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
1936 * manual/stdio.texi (Hook functions): Fix types of stream hook
1939 * socket/sys/socket.h: Fix typo in comment.
1941 2014-04-28 Wilco <wdijkstr@arm.com>
1943 * sysdeps/arm/fenv_private.h: New file.
1944 * sysdeps/arm/math_private.h: New file.
1945 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
1947 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
1949 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
1951 (La_x86_64_retval): Likewise.
1953 2014-04-24 Ian Bolton <ian.bolton@arm.com>
1955 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
1956 fpsr if value didn't change.
1957 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
1958 to fpcr if value didn't change.
1959 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
1960 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
1961 fpsr or fpcr if value didn't change.
1962 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
1963 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
1964 fpcr if value didn't change.
1965 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
1966 to fpsr if value didn't change.
1968 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
1970 * nptl/tst-sem3.c: Use test-skeleton.c
1971 (main): Rename to do_test. Use return instead of
1973 * nptl/tst-sem4.c: Use test-skeleton.c
1974 (main): Rename to do_test.
1976 2014-04-22 David S. Miller <davem@davemloft.net>
1978 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
1979 (struct sigaction): New struct member __glibc_reserved0, change
1980 type of sa_flags to int.
1982 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
1984 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
1985 (COUNT_LEADING_ZEROS_0): Define for AArch64.
1987 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
1989 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
1990 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
1992 2014-04-22 Will Newton <will.newton@linaro.org>
1993 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
1995 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
1996 (__longjmp): Add longjmp and longjmp_target SystemTap
1998 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
1999 (__sigsetjmp): Add setjmp SystemTap probe.
2001 2014-04-17 Carlos O'Donell <carlos@redhat.com>
2003 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
2006 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2008 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
2010 * sysdeps/powerpc/fpu/fenv_private.h
2011 (libc_feholdexcept_setroundl_ctx): Define to
2012 libc_feholdexcept_setround_ppc_ctx.
2013 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
2014 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
2015 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
2016 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
2018 2014-04-17 Ian Bolton <ian.bolton@arm.com>
2020 * sysdeps/aarch64/math-tests.h: New file.
2022 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
2024 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
2026 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2027 Check and set bit_AVX2_Usable.
2028 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
2030 (bit_AVX2): Likewise.
2031 (index_AVX2_Usable): Likewise.
2032 (CPUID_AVX2): Likewise.
2033 (HAS_AVX2): Likewise.
2035 2014-04-17 Will Newton <will.newton@linaro.org>
2037 * manual/setjmp.texi (System V contexts): Add note that
2038 calling setcontext on a context created by a call to a
2039 signal handler is undefined. Update text to note that
2040 setcontext from a signal handler is possible but not
2044 * stdlib/tst-setcontext.c: Include signal.h.
2045 (main): Check that the signal stack before and
2046 after swapcontext is the same.
2048 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
2049 Re-implement to restore registers in user code and avoid
2050 rt_sigreturn system call.
2052 2014-04-17 Wilco <wdijkstr@arm.com>
2054 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
2055 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
2056 * math/test-fenv.c: Skip exception trap tests on targets which only
2057 support non-stop mode.
2059 2014-04-17 Ian Bolton <ian.bolton@arm.com>
2060 Wilco Dijkstra <wilco.dijkstra@arm.com>
2062 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
2063 (libc_feholdsetround_aarch64_ctx)
2064 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
2065 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
2066 (libc_feresetround_ctx, libc_feresetroundf_ctx)
2067 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
2068 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
2069 (libc_feresetround_noexl_ctx): Define.
2071 2014-04-16 Richard Henderson <rth@redhat.com>
2073 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
2075 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
2078 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
2079 const from the non-libc, non-ldso copy.
2081 * sysdeps/alpha/libm-test-ulps: Regenerate.
2083 2014-04-16 Ian Bolton <ian.bolton@arm.com>
2084 Wilco Dijkstra <wilco.dijkstra@arm.com>
2086 * sysdeps/aarch64/fpu/math_private.h: New file.
2088 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
2090 * sysdeps/aarch64/libm-test-ulps: Regenerate.
2092 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
2094 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
2095 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
2096 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
2097 Intel MPX bound registers before _dl_profile_fixup.
2098 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
2099 registers after _dl_profile_fixup. Save and restore bound
2100 registers bnd0/bnd1 when calling _dl_call_pltexit.
2101 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
2102 (LR_BND_OFFSET): Likewise.
2103 (LRV_BND0_OFFSET): Likewise.
2104 (LRV_BND1_OFFSET): Likewise.
2106 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
2108 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
2110 * sysdeps/mach/hurd/i386/tls.h: ... here.
2111 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
2112 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
2115 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
2117 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
2119 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
2121 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2123 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
2126 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
2127 * sysdeps/s390/configure: Regenerate.
2130 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
2131 Set round-to-nearest internally to reduce error accumulation.
2133 2014-04-16 Alan Modra <amodra@gmail.com>
2137 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
2138 * math/libm-test.inc (frexp_test_data): Add tests.
2139 * NEWS: Update fixed bug list.
2141 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2143 * benchtests/Makefile: Depend on libraries in build directory.
2144 (bench-math): Separate out math tests.
2145 (bench-pthread): Separate out pthread tests.
2146 (bench): Include math and pthread tests.
2148 2014-04-14 Carlos O'Donell <carlos@redhat.com>
2151 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
2152 _dl_debug_initialize.
2154 * configure.ac: Remove SELinux header check.
2155 * configure: Regenerate.
2156 * nscd/selinux.c (perms): Array of const char* to permission names.
2157 (nscd_request_avc_has_perm): Call security_deny_unknown to find
2158 default policy. Call string_to_security_class and string_to_av_perm to
2159 translate strings. Enforce default policy and call avs_has_perm with
2160 results of translated strings.
2162 2014-04-13 David S. Miller <davem@davemloft.net>
2164 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2166 2014-04-12 Allan McRae <allan@archlinux.org>
2169 * manual/string.texi (Collation Functions): Fix qsort argument
2171 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
2173 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
2175 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
2176 Make the test a no-op if there are no exceptions defined.
2178 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
2180 * elf/Makefile (tests): make tst-dlopen-aout conditional on
2181 enable-hardcoded-path-in-tests
2183 2014-04-11 Will Newton <will.newton@linaro.org>
2185 * benchtests/Makefile (extra-objs): Add json-lib.o.
2186 (bench-func): Tidy up JSON output.
2187 * benchtests/bench-skeleton.c: Include json-lib.h.
2188 (main): Use JSON library functions to do output of
2190 * benchtests/bench-timing-type.c (main): Output the
2191 timing type simply, leaving formatting to the user.
2192 * benchtests/json-lib.c: New file.
2193 * benchtests/json-lib.h: Likewise.
2195 2014-04-11 Torvald Riegel <triegel@redhat.com>
2198 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
2199 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
2200 memory barriers. Add comments.
2201 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
2202 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
2203 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
2204 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
2205 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
2206 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
2208 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
2210 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
2211 * sysdeps/s390/s390-64/configure.ac: ... this ...
2212 * sysdeps/s390/configure.ac: ... to here.
2213 * sysdeps/s390/s390-32/configure: Delete file.
2214 * sysdeps/s390/s390-64/configure: Delete file.
2215 * sysdeps/s390/configure: Regenerate.
2217 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
2219 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
2221 2014-04-11 Will Newton <will.newton@linaro.org>
2223 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
2224 to zero if it is not defined elsewhere. (mtrim): Test
2225 the value of MALLOC_DEBUG with #if rather than #ifdef.
2227 2014-04-10 Torvald Riegel <triegel@redhat.com>
2229 * benchtests/pthread_once-inputs: New file.
2230 * benchtests/pthread_once-source.c: New file.
2231 * benchtests/README: Update documentation.
2233 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
2234 H.J. Lu <hongjiu.lu@intel.com>
2236 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
2237 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
2238 * sysdeps/x86_64/configure: Regenerated.
2239 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
2241 (REGISTER_SAVE_RAX): Likewise.
2242 (REGISTER_SAVE_RCX): Likewise.
2243 (REGISTER_SAVE_RDX): Likewise.
2244 (REGISTER_SAVE_RSI): Likewise.
2245 (REGISTER_SAVE_RDI): Likewise.
2246 (REGISTER_SAVE_R8): Likewise.
2247 (REGISTER_SAVE_R9): Likewise.
2248 (REGISTER_SAVE_BND0): Likewise.
2249 (REGISTER_SAVE_BND1): Likewise.
2250 (REGISTER_SAVE_BND2): Likewise.
2251 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
2252 bound registers when calling _dl_fixup.
2254 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2256 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
2257 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
2259 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
2260 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
2261 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
2262 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
2263 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
2264 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
2265 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
2267 2014-04-09 Peter Brett <peter@peter-b.co.uk>
2270 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
2271 pathconf(_PC_NAME_MAX).
2273 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2275 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
2277 (__PTHREAD_SPINS): Move definition to ...
2278 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2279 (__PTHREAD_SPINS): ... here.
2280 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
2281 (__PTHREAD_SPIN): Likewise.
2282 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
2283 (__PTHREAD_SPIN): Likewise.
2284 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
2285 (__PTHREAD_SPIN): Likewise.
2286 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
2287 (__PTHREAD_SPIN): Likewise.
2288 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
2289 (__PTHREAD_SPIN): Likewise.
2290 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
2291 (__PTHREAD_SPIN): Likewise.
2292 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
2293 (__PTHREAD_SPIN): Likewise.
2294 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
2295 (__PTHREAD_SPIN): Likewise.
2296 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
2297 (__PTHREAD_SPIN): Likewise.
2298 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
2299 (__PTHREAD_SPIN): Likewise.
2300 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
2301 (__PTHREAD_SPIN): Likewise.
2302 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
2303 (__PTHREAD_SPIN): Likewise.
2305 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
2306 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
2307 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
2308 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
2310 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
2311 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
2312 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
2313 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
2315 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
2316 strlen symbol for non multi-arch builds.
2317 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
2318 missing hidden_def and weak_alias.
2320 2014-04-08 Carlos O'Donell <carlos@redhat.com>
2322 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
2324 2014-04-07 Will Newton <will.newton@linaro.org>
2326 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
2327 and contents. [!_LIBC] Remove #ifndef and contents.
2328 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
2329 * string/memccpy.c (__memccpy): Use ANSI prototype.
2330 * string/memfrob.c (memfrob): Likewise.
2331 * string/strcoll.c (STRCOLL): Likewise.
2332 * string/strlen.c (strlen): Likewise.
2333 * string/strtok.c (STRTOK): Likewise.
2334 * string/strcat.c: Remove unused #include of memcopy.h.
2335 (strcat): Use ANSI prototype.
2336 * string/strchr.c: Remove unused #include of memcopy.h.
2337 (strchr): Use ANSI prototype.
2338 * string/strcmp.c: Remove unused #include of memcopy.h.
2339 (strcmp): Use ANSI prototype.
2340 * string/strcpy.c: Remove unused #include of memcopy.h.
2341 (strcpy): Use ANSI prototype.
2343 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2345 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
2346 * config.make.in (config-extra-cppflags): Set it from
2347 libc_extra_cppflags.
2348 * configure.ac (libc_extra_cflags): Make it accumulate over
2349 configure fragments.
2350 (libc_extra_cppflags): New flag.
2351 * configure. Regenerate.
2352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
2353 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
2354 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
2355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
2358 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
2359 result for FE_DOWNWARD rounding mode.
2360 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
2362 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2364 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
2366 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
2367 in function argument name.
2369 2014-04-03 David Svoboda <svoboda@cert.org>
2372 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
2375 2014-04-03 Roland McGrath <roland@hack.frob.com>
2377 * elf/dl-unmap-segments.h: New file.
2378 * sysdeps/generic/ldsodefs.h
2379 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
2380 * elf/dl-close.c: Include <dl-unmap-segments.h>.
2381 * elf/dl-fptr.c: Likewise.
2382 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
2383 * sysdeps/aarch64/tlsdesc.c: Likewise.
2384 * sysdeps/arm/tlsdesc.c: Likewise.
2385 * sysdeps/i386/tlsdesc.c: Likewise.
2386 * sysdeps/tile/dl-runtime.c: Likewise.
2387 * sysdeps/x86_64/tlsdesc.c: Likewise.
2388 * elf/dl-load.h: New file.
2389 * elf/dl-load.c: Include it.
2390 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
2391 Macros moved to dl-load.h.
2392 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
2393 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
2394 Use _dl_unmap_segments in place of __munmap.
2395 Break out segment-mapping loop into ...
2396 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
2398 2014-04-03 Will Newton <will.newton@linaro.org>
2400 * elf/dl-lookup.c (do_lookup_x): Remove comment
2401 referring to nested function and move variable
2402 declarations down to before first use.
2404 2014-04-02 Joseph Myers <joseph@codesourcery.com>
2408 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
2410 * math/s_catanf.c (__catanf): Likewise.
2411 * math/s_catanh.c (__catanh): Likewise.
2412 * math/s_catanhf.c (__catanhf): Likewise.
2413 * math/s_catanhl.c (__catanhl): Likewise.
2414 * math/s_catanl.c (__catanl): Likewise.
2415 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
2416 by positive zero when computing -Inf result.
2417 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
2418 (catanh_test): Likewise.
2419 * sysdeps/i386/fpu/libm-test-ulps: Update.
2420 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2423 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
2424 instead of using underflowing value in computing result.
2425 * math/s_clog10.c (__clog10): Likewise.
2426 * math/s_clog10f.c (__clog10f): Likewise.
2427 * math/s_clog10l.c (__clog10l): Likewise.
2428 * math/s_clogf.c (__clogf): Likewise.
2429 * math/s_clogl.c (__clogl): Likewise.
2430 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
2431 (clog10_test): Likewise.
2432 * sysdeps/i386/fpu/libm-test-ulps: Update.
2433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2435 2014-04-02 Alan Modra <amodra@gmail.com>
2438 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
2439 output when value is near a power of two. Use int64_t for lx and
2440 remove casts. Use decimal rather than hex exponent constants.
2441 Don't use long double multiplication when double will suffice.
2442 * math/libm-test.inc (nextafter_test_data): Add tests.
2443 * NEWS: Add 16739 and 16786 to bug list.
2445 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
2447 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
2449 2014-04-01 Will Newton <will.newton@linaro.org>
2451 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
2452 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
2454 2014-04-01 Florian Weimer <fweimer@redhat.com>
2457 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
2458 * nptl/tst-setuid2.c: New file.
2459 * nptl/Makefile (xtests): Add tst-setuid2.
2461 2014-04-01 Alan Modra <amodra@gmail.com>
2464 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
2466 2014-03-31 Joseph Myers <joseph@codesourcery.com>
2470 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
2471 set errno as appropriate.
2472 * math/w_scalbf.c (__scalbf): Likewise.
2473 * math/w_scalbl.c (__scalbl): Likewise.
2474 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
2475 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
2476 * math/libm-test.inc (scalb_test_data): Add errno expectations.
2480 * math/w_atan2.c: Include <errno.h>.
2481 (__atan2): Set errno for result underflowing to zero.
2482 * math/w_atan2f.c: Include <errno.h>.
2483 (__atan2f): Set errno for result underflowing to zero.
2484 * math/w_atan2l.c: Include <errno.h>.
2485 (__atan2l): Set errno for result underflowing to zero.
2486 * math/auto-libm-test-in: Don't allow missing errno for some atan2
2488 * math/auto-libm-test-out: Regenerated.
2490 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2492 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
2493 Encode instruction correctly in little endian.
2494 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
2496 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
2498 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
2500 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
2503 2014-03-31 Joseph Myers <joseph@codesourcery.com>
2506 * sysdeps/unix/sysv/linux/kernel-features.h
2507 [__sparc__ && !__arch64__ && !__sparc_v9__]
2508 (__ASSUME_SET_ROBUST_LIST): Do not define.
2509 [__sparc__ && !__arch64__ && !__sparc_v9__]
2510 (__ASSUME_FUTEX_LOCK_PI): Likewise.
2511 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
2513 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2514 (__ASSUME_FUTEX_LOCK_PI): Undefine.
2515 (__ASSUME_REQUEUE_PI): Likewise.
2516 (__ASSUME_SET_ROBUST_LIST): Likewise.
2517 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2518 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
2520 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2521 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
2523 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
2525 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
2527 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2528 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
2530 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
2531 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
2535 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2536 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
2537 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
2539 2014-03-31 Will Newton <will.newton@linaro.org>
2541 * benchtests/Makefile (bench): Add ffs and ffsll to list
2543 * benchtests/ffs-inputs: New file.
2544 * benchtests/ffsll-inputs: Likewise.
2546 2014-03-29 Joseph Myers <joseph@codesourcery.com>
2549 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
2550 too large before casting to int.
2551 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
2552 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
2553 * math/libm-test.inc (scalb_test_data): Add more tests.
2555 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2557 * benchtests/Makefile (DETAILED_OPT): New make option.
2558 (bench-func): Run benchmark program with -d if DETAILED_OPT is
2560 * benchtests/bench-skeleton.c: Include stdbool.h.
2561 (main): Store and print timings per input.
2562 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
2563 member to each argument value.
2564 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
2565 (_print_arg_data): Initialize per-input timing to 0.
2567 * benchtests/Makefile (timing-type): New binary.
2568 (bench-clean): Also remove bench-timing-type.
2569 (bench): New target for timing-type.
2570 (bench-func): Print output in JSON format.
2571 * benchtests/bench-skeleton.c (main): Print output in JSON
2573 * benchtests/bench-timing-type.c: New file.
2574 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
2575 (TIMING_PRINT_STATS): Remove.
2576 * benchtests/scripts/bench.py (_print_arg_data): Store variant
2579 * benchtests/bench-modf.c: Remove.
2580 * benchtests/modf-inputs: New inputs file.
2582 2014-03-28 Joseph Myers <joseph@codesourcery.com>
2585 * math/s_clog10.c (M_PI_LOG10E): New macro.
2586 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
2587 imaginary parts are 0.
2588 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
2589 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
2590 imaginary parts are 0.
2591 * math/s_clog10l.c (M_PI_LOG10El): New macro.
2592 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
2593 imaginary parts are 0.
2594 * math/libm-test.inc (clog10_test_data): Update expected results
2595 for when real and imaginary parts are 0.
2597 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
2599 * elf/dl-load.c: Finish conversion of __builtin_expect into
2602 2014-03-27 Joseph Myers <joseph@codesourcery.com>
2605 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
2606 1+x for argument with exponent below -67.
2607 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
2609 * math/auto-libm-test-in: Add more tests of exp.
2610 * math/auto-libm-test-out: Regenerated.
2612 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2615 * inet/getnetgrent_r.c (get_nonempty_val): New function.
2616 (nscd_getnetgrent): Use it.
2619 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
2622 2014-03-27 Andi Kleen <ak@linux.intel.com>
2624 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
2625 (lll_robust_lock, lll_cond_lock, lll_timedlock)
2626 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
2627 (lll_robust_unlock): Remove out of line section. Use cfi
2629 (LLL_STUB_UNWIND_INFO*): Remove.
2630 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
2631 (lll_robust_lock, lll_cond_lock, lll_timedlock)
2632 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
2633 (lll_robust_unlock): Remove out of line section. Use cfi
2635 (LLL_STUB_UNWIND_INFO*): Remove.
2637 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2640 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
2643 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
2645 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
2647 2014-03-26 Joseph Myers <joseph@codesourcery.com>
2650 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
2652 * math/test-fenv-preserve.c: New file.
2653 * math/Makefile (tests): Add test-fenv-preserve.
2655 2014-03-26 Will Newton <will.newton@linaro.org>
2657 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
2659 2014-03-25 Roland McGrath <roland@hack.frob.com>
2661 * scripts/versionlist.awk: Partition the version sets and emit all
2662 GLIBC_* (sorted) before all others (sorted).
2664 2014-03-25 Joseph Myers <joseph@codesourcery.com>
2666 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
2667 GLIBC_2.2.5 version.
2669 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2671 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
2674 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
2677 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2679 2014-03-25 Andreas Schwab <schwab@suse.de>
2681 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
2682 label to be used after in6ailist is initialized.
2684 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2686 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2687 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
2689 2014-03-25 Joseph Myers <joseph@codesourcery.com>
2693 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
2695 (fp_formats): Update initializers.
2696 (init_fp_formats): Initialize new field.
2697 (output_for_one_input_case): Allow underflow for results up to
2699 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
2700 * math/auto-libm-test-in: Don't mark some underflows from asin and
2702 * math/auto-libm-test-out: Regenerated.
2703 * sysdeps/i386/fpu/libm-test-ulps: Update.
2704 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2706 2014-03-25 Andreas Schwab <schwab@suse.de>
2708 * libio/Makefile (tst-ftell-partial-wide-ENV)
2709 (tst-ftell-active-handler-ENV): Define.
2711 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
2713 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
2715 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
2717 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
2719 2014-03-24 Joseph Myers <joseph@codesourcery.com>
2721 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
2722 * sysdeps/x86_64/fpu/multiarch/e_exp.c
2723 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
2725 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
2728 * elf/dl-load.c (open_verify): Add mode parameter.
2729 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
2730 (open_path): Change from boolean 'secure' to complete flag 'mode'
2731 (_dl_map_object): Adjust.
2732 * elf/Makefile (tests): Add tst-dlopen-aout.
2733 * elf/tst-dlopen-aout.c: New test.
2735 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
2738 * sysdeps/unix/sysv/linux/s390/bits/stat.h
2739 (struct stat): Rename member pad0 to __glibc_reserved0.
2742 * sysdeps/s390/s390-32/bits/wordsize.h
2743 (__WORDSIZE32_SIZE_ULONG): New define.
2744 * sysdeps/s390/s390-64/bits/wordsize.h
2745 (__WORDSIZE32_SIZE_ULONG): Likewise.
2746 * sysdeps/generic/stdint.h (SIZE_MAX):
2747 Define as UL if __WORDSIZE32_SIZE_ULONG.
2750 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
2751 (__glibc_reserved0): New variable.
2752 (sa_flags): Change type to int.
2754 * posix/Makefile (before-compile): Use += before-compile instead
2757 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
2758 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
2760 2014-03-20 Andreas Schwab <schwab@suse.de>
2763 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
2764 non-matching result from nscd.
2766 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2768 * scripts/bench.py: Moved to ...
2769 * benchtests/scripts/bench.py: ... here.
2770 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
2772 2014-03-24 Andreas Schwab <schwab@suse.de>
2775 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
2776 alloca_account and account alloca use for struct in6ailist.
2778 2014-03-24 Joseph Myers <joseph@codesourcery.com>
2781 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
2782 rounding mode to recompute results that overflow to infinity or
2784 * math/auto-libm-test-in: Don't mark tests as expected to fail for
2786 * math/auto-libm-test-out: Regenerated.
2787 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
2788 (ccosh_test): Likewise.
2789 (csin_test_data): Use plus_oflow.
2790 (csin_test): Use ALL_RM_TEST.
2791 (csinh_test_data): Use plus_oflow.
2792 (csinh_test): Use ALL_RM_TEST.
2793 * sysdeps/i386/fpu/libm-test-ulps: Update.
2794 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2796 2014-03-21 Joseph Myers <joseph@codesourcery.com>
2798 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
2799 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
2800 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
2803 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
2805 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
2806 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
2807 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
2808 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
2810 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
2811 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
2813 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
2814 * sysdeps/i386/fpu/libm-test-ulps: Update.
2815 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2817 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2819 * scripts/bench.pl: Remove file.
2820 * scripts/bench.py: New benchmark script.
2821 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
2822 * benchtests/README: Mention python dependency.
2823 * scripts/pylintrc: New file.
2824 * scripts/pylint: New file.
2826 * bits/mathdef.h: Use #ifdef instead of #if.
2827 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
2828 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2829 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
2830 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2831 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
2832 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2834 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2835 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2837 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
2838 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
2839 and strpbrk-ppc64 objects.
2840 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2841 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
2842 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
2843 multiarch strpbrk for POWER7.
2844 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
2845 multiarch strpbrk for PPC64.
2846 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
2848 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
2851 2014-03-20 Joseph Myers <joseph@codesourcery.com>
2853 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
2854 (atan_test): Likewise.
2855 (atanh_test_data): Use NO_TEST_INLINE for two tests.
2856 (atanh_test): Use ALL_RM_TEST.
2857 (atan2_test_data): Likewise.
2858 (cabs_test): Likewise.
2859 (cacosh_test): Likewise.
2860 (carg_test): Likewise.
2861 (casin_test): Likewise.
2862 (casinh_test): Likewise.
2863 (cbrt_test): Likewise.
2864 (csqrt_test): Likewise.
2865 (erf_test): Likewise.
2866 (erfc_test): Likewise.
2867 (pow10_test): Likewise.
2868 (exp2_test): Likewise.
2869 (hypot_test): Likewise.
2870 (j0_test): Likewise.
2871 (j1_test): Likewise.
2872 (lgamma_test): Likewise.
2873 (gamma_test): Likewise.
2874 (sincos_test): Likewise.
2875 (tanh_test): Likewise.
2876 (y0_test): Likewise.
2877 (y1_test): Likewise.
2878 * sysdeps/i386/fpu/libm-test-ulps: Update.
2879 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2881 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2883 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
2884 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
2885 and strcspn-ppc64 objects.
2886 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2887 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
2888 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
2889 multiarch strcspn for POWER7.
2890 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
2891 multiarch strcspn for PPC64.
2892 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
2894 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
2897 2014-03-20 Joseph Myers <joseph@codesourcery.com>
2899 * math/gen-libm-test.pl (generate_testfile): Expect only function
2900 name as argument to AUTO_TESTS_* and pass results for all rounding
2901 modes to parse_args.
2902 (parse_auto_input): Separate inputs of automatic tests from
2903 outputs before storing in %auto_tests.
2904 * math/libm-test.inc (acos_test_data): Update call to
2906 (acos_test): Use ALL_RM_TEST.
2907 (acos_tonearest_test_data): Remove.
2908 (acos_test_tonearest): Likewise.
2909 (acos_towardzero_test_data): Likewise.
2910 (acos_test_towardzero): Likewise.
2911 (acos_downward_test_data): Likewise.
2912 (acos_test_downward): Likewise.
2913 (acos_upward_test_data): Likewise.
2914 (acos_test_upward): Likewise.
2915 (acosh_test_data): Update call to AUTO_TESTS_f_f.
2916 (asin_test_data): Likewise.
2917 (asin_test): Use ALL_RM_TEST.
2918 (asin_tonearest_test_data): Remove.
2919 (asin_test_tonearest): Likewise.
2920 (asin_towardzero_test_data): Likewise.
2921 (asin_test_towardzero): Likewise.
2922 (asin_downward_test_data): Likewise.
2923 (asin_test_downward): Likewise.
2924 (asin_upward_test_data): Likewise.
2925 (asin_test_upward): Likewise.
2926 (asinh_test_data): Update call to AUTO_TESTS_f_f.
2927 (atan_test_data): Likewise.
2928 (atanh_test_data): Likewise.
2929 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
2930 (cabs_test_data): Update call to AUTO_TESTS_c_f.
2931 (carg_test_data): Likewise.
2932 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
2933 (ccos_test_data): Update call to AUTO_TESTS_c_c.
2934 (ccosh_test_data): Likewise.
2935 (cexp_test_data): Likewise.
2936 (clog_test_data): Likewise.
2937 (clog10_test_data): Likewise.
2938 (cos_test_data): Update call to AUTO_TESTS_f_f.
2939 (cos_test): Use ALL_RM_TEST.
2940 (cos_tonearest_test_data): Remove.
2941 (cos_test_tonearest): Likewise.
2942 (cos_towardzero_test_data): Likewise.
2943 (cos_test_towardzero): Likewise.
2944 (cos_downward_test_data): Likewise.
2945 (cos_test_downward): Likewise.
2946 (cos_upward_test_data): Likewise.
2947 (cos_test_upward): Likewise.
2948 (cosh_test_data): Update call to AUTO_TESTS_f_f.
2949 (cosh_test): Use ALL_RM_TEST.
2950 (cosh_tonearest_test_data): Remove.
2951 (cosh_test_tonearest): Likewise.
2952 (cosh_towardzero_test_data): Likewise.
2953 (cosh_test_towardzero): Likewise.
2954 (cosh_downward_test_data): Likewise.
2955 (cosh_test_downward): Likewise.
2956 (cosh_upward_test_data): Likewise.
2957 (cosh_test_upward): Likewise.
2958 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
2959 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
2960 (ctan_test_data): Likewise.
2961 (ctan_test): Use ALL_RM_TEST.
2962 (ctan_tonearest_test_data): Remove.
2963 (ctan_test_tonearest): Likewise.
2964 (ctan_towardzero_test_data): Likewise.
2965 (ctan_test_towardzero): Likewise.
2966 (ctan_downward_test_data): Likewise.
2967 (ctan_test_downward): Likewise.
2968 (ctan_upward_test_data): Likewise.
2969 (ctan_test_upward): Likewise.
2970 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
2971 (ctanh_test): Use ALL_RM_TEST.
2972 (ctanh_tonearest_test_data): Remove.
2973 (ctanh_test_tonearest): Likewise.
2974 (ctanh_towardzero_test_data): Likewise.
2975 (ctanh_test_towardzero): Likewise.
2976 (ctanh_downward_test_data): Likewise.
2977 (ctanh_test_downward): Likewise.
2978 (ctanh_upward_test_data): Likewise.
2979 (ctanh_test_upward): Likewise.
2980 (erf_test_data): Update call to AUTO_TESTS_f_f.
2981 (erfc_test_data): Likewise.
2982 (exp_test_data): Likewise.
2983 (exp_test): Use ALL_RM_TEST.
2984 (exp_tonearest_test_data): Remove.
2985 (exp_test_tonearest): Likewise.
2986 (exp_towardzero_test_data): Likewise.
2987 (exp_test_towardzero): Likewise.
2988 (exp_downward_test_data): Likewise.
2989 (exp_test_downward): Likewise.
2990 (exp_upward_test_data): Likewise.
2991 (exp_test_upward): Likewise.
2992 (exp10_test_data): Update call to AUTO_TESTS_f_f.
2993 (exp10_test): Use ALL_RM_TEST.
2994 (exp10_tonearest_test_data): Remove.
2995 (exp10_test_tonearest): Likewise.
2996 (exp10_towardzero_test_data): Likewise.
2997 (exp10_test_towardzero): Likewise.
2998 (exp10_downward_test_data): Likewise.
2999 (exp10_test_downward): Likewise.
3000 (exp10_upward_test_data): Likewise.
3001 (exp10_test_upward): Likewise.
3002 (exp2_test_data): Update call to AUTO_TESTS_f_f.
3003 (expm1_test_data): Likewise.
3004 (expm1_test): Use ALL_RM_TEST.
3005 (expm1_tonearest_test_data): Remove.
3006 (expm1_test_tonearest): Likewise.
3007 (expm1_towardzero_test_data): Likewise.
3008 (expm1_test_towardzero): Likewise.
3009 (expm1_downward_test_data): Likewise.
3010 (expm1_test_downward): Likewise.
3011 (expm1_upward_test_data): Likewise.
3012 (expm1_test_upward): Likewise.
3013 (fma_test_data): Update call to AUTO_TESTS_fff_f.
3014 (fma_test): Use ALL_RM_TEST.
3015 (fma_towardzero_test_data): Remove.
3016 (fma_test_towardzero): Likewise.
3017 (fma_downward_test_data): Likewise.
3018 (fma_test_downward): Likewise.
3019 (fma_upward_test_data): Likewise.
3020 (fma_test_upward): Likewise.
3021 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
3022 (j0_test_data): Update call to AUTO_TESTS_f_f.
3023 (j1_test_data): Likewise.
3024 (jn_test_data): Update call to AUTO_TESTS_if_f.
3025 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
3026 (log_test_data): Update call to AUTO_TESTS_f_f.
3027 (log10_test_data): Likewise.
3028 (log1p_test_data): Likewise.
3029 (log2_test_data): Likewise.
3030 (pow_test_data): Update call to AUTO_TESTS_ff_f.
3031 (pow_tonearest_test_data): Likewise.
3032 (sin_test_data): Update call to AUTO_TESTS_f_f.
3033 (sin_test): Use ALL_RM_TEST.
3034 (sin_tonearest_test_data): Remove.
3035 (sin_test_tonearest): Likewise.
3036 (sin_towardzero_test_data): Likewise.
3037 (sin_test_towardzero): Likewise.
3038 (sin_downward_test_data): Likewise.
3039 (sin_test_downward): Likewise.
3040 (sin_upward_test_data): Likewise.
3041 (sin_test_upward): Likewise.
3042 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
3043 (sinh_test_data): Update call to AUTO_TESTS_f_f.
3044 (sinh_test): Use ALL_RM_TEST.
3045 (sinh_tonearest_test_data): Remove.
3046 (sinh_test_tonearest): Likewise.
3047 (sinh_towardzero_test_data): Likewise.
3048 (sinh_test_towardzero): Likewise.
3049 (sinh_downward_test_data): Likewise.
3050 (sinh_test_downward): Likewise.
3051 (sinh_upward_test_data): Likewise.
3052 (sinh_test_upward): Likewise.
3053 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
3054 (sqrt_test): Use ALL_RM_TEST.
3055 (sqrt_tonearest_test_data): Remove.
3056 (sqrt_test_tonearest): Likewise.
3057 (sqrt_towardzero_test_data): Likewise.
3058 (sqrt_test_towardzero): Likewise.
3059 (sqrt_downward_test_data): Likewise.
3060 (sqrt_test_downward): Likewise.
3061 (sqrt_upward_test_data): Likewise.
3062 (sqrt_test_upward): Likewise.
3063 (tan_test_data): Update call to AUTO_TESTS_f_f.
3064 (tan_test): Use ALL_RM_TEST.
3065 (tan_tonearest_test_data): Remove.
3066 (tan_test_tonearest): Likewise.
3067 (tan_towardzero_test_data): Likewise.
3068 (tan_test_towardzero): Likewise.
3069 (tan_downward_test_data): Likewise.
3070 (tan_test_downward): Likewise.
3071 (tan_upward_test_data): Likewise.
3072 (tan_test_upward): Likewise.
3073 (tanh_test_data): Update call to AUTO_TESTS_f_f.
3074 (tgamma_test_data): Likewise.
3075 (y0_test_data): Likewise.
3076 (y1_test_data): Likewise.
3077 (yn_test_data): Update call to AUTO_TESTS_if_f.
3078 (main): Do not call removed functions.
3080 2014-03-19 Joseph Myers <joseph@codesourcery.com>
3082 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
3083 (ldexp_test_data): Remove.
3084 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
3086 (scalb_test): Use ALL_RM_TEST.
3088 2014-03-19 Andreas Schwab <schwab@suse.de>
3090 * nscd/nscd.service: Also invalidate netgroup cache on reload.
3092 2014-03-19 Joseph Myers <joseph@codesourcery.com>
3095 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3096 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
3097 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
3098 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3099 (__ASSUME_PREADV): Undefine.
3100 (__ASSUME_PWRITEV): Likewise.
3102 2014-03-18 Roland McGrath <roland@hack.frob.com>
3104 * bits/mman-linux.h: Add comment about non-Linux use.
3105 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
3106 bits/mman-linux.h resting place.
3108 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
3109 * bits/mman-linux.h: ... here.
3111 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3113 * conform/conformtest.pl: Add standard definition when calling C
3114 preprocessor on data files.
3115 (checknamespace): Remove unused variable.
3117 2014-03-18 Joseph Myers <joseph@codesourcery.com>
3119 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
3120 minus_oflow, plus_uflow and minus_uflow in expected results.
3121 * math/libm-test.inc (scalbn_test_data): Add more tests of
3122 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
3124 (scalbn_test): Use ALL_RM_TEST.
3125 (scalbln_test_data): Add more tests of negative arguments. Use
3126 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
3127 (scalbln_test): Use ALL_RM_TEST.
3129 2014-03-18 Roland McGrath <roland@hack.frob.com>
3131 * scripts/abilist.awk: Ignore symbols marked with .hidden.
3133 2014-03-18 Will Newton <will.newton@linaro.org>
3135 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
3138 2014-03-18 Joseph Myers <joseph@codesourcery.com>
3140 * Makerules [!subdir] (check-abi): Exit with error status if a
3143 2014-03-17 Joseph Myers <joseph@codesourcery.com>
3145 * math/libm-test.inc (nearbyint_test_data): Include all tests used
3146 for rint. Include results for all rounding modes.
3147 (nearbyint_test): Use ALL_RM_TEST.
3148 (rint_test_data): Include all tests used for nearbyint.
3150 2014-03-17 Will Newton <will.newton@linaro.org>
3152 * nptl/sysdeps/pthread/pthread.h: Revert previous
3155 * sysdeps/generic/ldsodefs.h: Revert previous
3158 * libio/genops.c: Revert previous change.
3159 * libio/libioP.h: Likewise.
3160 * stdio-common/vfprintf.c: Likewise.
3162 * sysdeps/generic/math_private.h: Revert previous
3165 * sysdeps/generic/math_private.h: Check whether
3166 HAVE_RM_CTX is defined with #ifdef rather
3169 * argp/argp-fmtstream.h: Check whether
3170 __STRICT_ANSI__ is defined with #ifdef rather
3172 * argp/argp.h: Likewise.
3174 * libio/genops.c: Check whether
3175 _IO_JUMPS_OFFSET is defined with #ifdef rather
3177 * libio/libioP.h: Likewise.
3178 * stdio-common/vfprintf.c: Likewise.
3180 * sysdeps/generic/ldsodefs.h: Check whether
3181 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
3184 * nptl/sysdeps/pthread/pthread.h: Check
3185 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
3188 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3190 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
3192 * libio/tst-ftell-active-handler.c (do_append_test): Add a
3196 * libio/fileops.c (_IO_file_open): Seek to end of file but
3197 don't cache the offset.
3198 (get_file_offset): Remove function.
3199 (do_ftell): Use cached offset when available.
3200 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
3201 don't cache the offset.
3202 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
3204 (do_one_test): Call it.
3205 (do_ftell_test): Fix up expected old offset for a+ mode.
3206 * libio/wfileops.c (do_ftell_wide): Used cached offset when
3209 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
3210 up test status with function return status.
3211 (do_write_test): Likewise.
3212 (do_append_test): Likewise.
3214 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
3215 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
3218 2014-03-17 Joseph Myers <joseph@codesourcery.com>
3220 * math/gen-libm-test.pl (parse_args): Handle results specified for
3221 each rounding mode separately.
3222 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
3223 tests and results from lrint_tonearest_test_data,
3224 lrint_towardzero_test_data, lrint_downward_test_data and
3225 lrint_upward_test_data.
3226 (lrint_test): Use ALL_RM_TEST.
3227 (lrint_tonearest_test_data): Remove.
3228 (lrint_test_tonearest): Likewise.
3229 (lrint_towardzero_test_data): Likewise.
3230 (lrint_test_towardzero): Likewise.
3231 (lrint_downward_test_data): Likewise.
3232 (lrint_test_downward): Likewise.
3233 (lrint_upward_test_data): Likewise.
3234 (lrint_test_upward): Likewise.
3235 (llrint_test_data): Merge in per-rounding-mode tests and results
3236 from llrint_tonearest_test_data, llrint_towardzero_test_data,
3237 llrint_downward_test_data and llrint_upward_test_data.
3238 (llrint_test): Use ALL_RM_TEST.
3239 (llrint_tonearest_test_data): Remove.
3240 (llrint_test_tonearest): Likewise.
3241 (llrint_towardzero_test_data): Likewise.
3242 (llrint_test_towardzero): Likewise.
3243 (llrint_downward_test_data): Likewise.
3244 (llrint_test_downward): Likewise.
3245 (llrint_upward_test_data): Likewise.
3246 (llrint_test_upward): Likewise.
3247 (rint_test_data): Merge in per-rounding-mode tests and results
3248 from rint_tonearest_test_data, rint_towardzero_test_data,
3249 rint_downward_test_data and rint_upward_test_data. Add
3250 per-rounding-mode results for tests not in those arrays.
3251 (rint_test): Use ALL_RM_TEST.
3252 (rint_tonearest_test_data): Remove.
3253 (rint_test_tonearest): Likewise.
3254 (rint_towardzero_test_data): Likewise.
3255 (rint_test_towardzero): Likewise.
3256 (rint_downward_test_data): Likewise.
3257 (rint_test_downward): Likewise.
3258 (rint_upward_test_data): Likewise.
3259 (rint_test_upward): Likewise.
3260 (main): Don't call removed functions.
3262 2014-03-14 Roland McGrath <roland@hack.frob.com>
3264 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
3265 "Compiled on ..." crapola. It is anti-useful.
3267 2014-03-14 Joseph Myers <joseph@codesourcery.com>
3269 * scripts/evaluate-test.sh: Handle fourth argument to determine
3270 whether test run should stop on failure.
3271 * Makeconfig (stop-on-test-failure): New variable.
3272 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
3273 $(stop-on-test-failure).
3274 * Makefile (tests): Give a summary of results from testing and
3275 exit with failure status if they include an ERROR or FAIL.
3277 * manual/install.texi (Configuring and compiling): Mention
3278 stop-on-test-failure=y.
3279 * INSTALL: Regenerated.
3281 2014-03-14 Roland McGrath <roland@hack.frob.com>
3283 * scripts/versionlist.awk: New file.
3284 * Makerules [$(build-shared) = yes]
3285 (postclean-generated): Add Versions.def, not Versions.def.v and
3287 ($(common-objpfx)Versions.def.v.i): Target removed.
3288 ($(common-objpfx)Versions.def): New target.
3289 ($(common-objpfx)Versions.all): Depend on that rather that
3290 $(common-objpfx)Versions.def.v.
3291 * Versions.def: File removed.
3293 * Makeconfig (+gccwarn): Add -Wundef.
3294 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
3295 a dl-sysdep.h breaking its contract.
3296 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
3297 * include/stackinfo.h: New file.
3298 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
3299 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
3300 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
3301 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
3302 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
3303 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
3304 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3305 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3306 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3307 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3308 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3309 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
3310 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3311 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3312 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3314 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3317 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
3319 * math/libm-test.inc (round_test_data): Add more tests.
3322 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
3324 * math/libm-test.inc (nearbyint_test_data): Add more tests.
3327 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
3329 * math/libm-test.inc (ceil_test_data): Add more tests.
3331 * math/libm-test.inc (trunc_test_data): Add more tests related to
3334 2014-03-14 Roland McGrath <roland@hack.frob.com>
3336 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
3337 with #if rather than #ifdef.
3338 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
3340 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
3342 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
3343 first. Disable AVX-512 GCC support if assembler doesn't support
3345 * sysdeps/x86_64/configure: Regenerated.
3347 2014-03-13 Carlos O'Donell <carlos@redhat.com>
3349 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
3350 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
3351 (__old_pthread_attr_setstack): Likewise.
3352 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
3353 [!_STACK_GROWS_DOWN]: Likewise.
3355 2014-03-13 Mike Frysinger <vapier@gentoo.org>
3357 * config.make.in (have-bash2): Delete.
3358 * configure.ac (libc_cv_have_bash2): Delete.
3359 * configure: Regenerate.
3360 * elf/Makefile (common-ldd-rewrite): Rename to ...
3361 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
3362 (sh-ldd-rewrite): Delete.
3363 (bash-ldd-rewrite): Delete.
3364 (have-bash2): Delete checks.
3365 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
3368 * config.make.in (have-ksh): Delete.
3370 * configure.ac (libc_cv_have_ksh): Delete.
3371 * configure: Regenerate.
3373 * elf/Makefile: Delete $(have-ksh) check.
3374 ($(objpfx)sotruss): Change KSH to BASH.
3375 * elf/sotruss.ksh: Rename to ...
3376 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
3377 function style to match POSIX. Drop ksh vim mode setting.
3379 * manual/time.texi (Specifying the Time Zone with TZ): Change
3380 Tuesday to Thursday.
3382 * debug/tst-longjmp_chk2.c: Update header comment.
3383 (stackoverflow_handler): Add comment. Call assert on pass value.
3385 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
3387 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
3388 (HAVE_AVX512_ASM_SUPPORT): Likewise.
3389 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
3390 (La_x86_64_vector): Add zmm.
3391 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
3392 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
3393 ($(objpfx)tst-audit10): New target.
3394 ($(objpfx)tst-audit10.out): Likewise.
3395 (tst-audit10-ENV): New.
3396 (AVX512-CFLAGS): Likewise.
3397 (CFLAGS-tst-audit10.c): Likewise.
3398 (CFLAGS-tst-auditmod10a.c): Likewise.
3399 (CFLAGS-tst-auditmod10b.c): Likewise.
3400 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
3401 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
3402 * sysdeps/x86_64/configure: Regenerated.
3403 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
3404 AVX-512 zmm register support.
3405 (_dl_x86_64_save_sse): Likewise.
3406 (_dl_x86_64_restore_sse): Likewise.
3407 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
3408 size vector registers.
3409 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
3410 (ZMM_SIZE): Likewise.
3411 * sysdeps/x86_64/tst-audit10.c: New file.
3412 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
3413 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
3415 2014-03-13 Roland McGrath <roland@hack.frob.com>
3417 * configure.ac (HAVE_EHDR_START): New check.
3418 * configure: Regenerated.
3419 * config.h.in (HAVE_EHDR_START): New #undef.
3420 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
3421 assuming the lowest-addressed segment maps the start of the file.
3423 2014-03-13 Joseph Myers <joseph@codesourcery.com>
3425 * INSTALL: Regenerated.
3427 2014-03-13 Will Newton <will.newton@linaro.org>
3429 * manual/setjmp.texi (System V contexts): Improve
3430 clarity and grammar of documentation.
3432 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
3435 * elf/Makefile (tests): Add tst-pie2.
3436 (tests-pie): Add tst-pie2.
3437 * elf/tst-pie2.c: New file.
3438 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
3440 * elf/rtld.c (map_doit): Load executable as lt_executable.
3441 (dl_main): Likewise.
3443 2014-03-12 Joseph Myers <joseph@codesourcery.com>
3446 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3447 (__ASSUME_PSELECT): Undefine.
3449 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3452 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
3453 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
3455 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
3456 selector for static builds.
3458 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3461 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
3464 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3466 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
3467 IFUNC selector for static builds.
3469 2014-03-11 Joseph Myers <joseph@codesourcery.com>
3471 * sysdeps/mips/math_private.h [__mips_hard_float]
3472 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
3473 libc_feresetround_mips_ctx.
3474 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
3475 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
3476 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
3479 * math/s_nextafter.c (__nextafter): Do not return value from
3480 overflowing computation.
3481 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
3482 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
3483 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
3485 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
3487 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
3488 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
3490 2014-03-11 Roland McGrath <roland@hack.frob.com>
3492 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
3493 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
3494 Move sfi_sp use from the load-multiple (that no longer sets sp) to
3495 the new mov targetting sp.
3497 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3500 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
3501 Define it for static builds as well.
3502 (NO_BZERO_IMPL): Likewise.
3504 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3506 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
3507 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
3508 multiarch strspn for PPC64.
3509 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
3510 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
3511 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3512 (__libc_ifunc_impl_list): Likewise.
3513 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
3514 multiarch optimizations
3515 * string/strspn.c (strspn): Using macro to redefine symbol name.
3517 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3518 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3520 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
3521 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
3522 multiarch strncat for PPC64.
3523 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
3524 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
3525 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3526 (__libc_ifunc_impl_list): Likewise.
3527 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
3528 multiarch optimizations
3530 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3533 * nscd/nscd.service: Make service type forking.
3535 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3537 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
3538 sign in non default rounding modes.
3539 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
3541 2014-03-08 Joseph Myers <joseph@codesourcery.com>
3543 * math/libm-test.inc (ALL_RM_TEST): New macro.
3544 (ceil_test): Use ALL_RM_TEST.
3545 (cimag_test): Likewise.
3546 (conj_test): Likewise.
3547 (copysign_test): Likewise.
3548 (cproj_test): Likewise.
3549 (creal_test): Likewise.
3550 (fabs_test): Likewise.
3551 (floor_test): Likewise.
3552 (fmax_test): Likewise.
3553 (fmin_test): Likewise.
3554 (fmod_test): Likewise.
3555 (fpclassify_test): Likewise.
3556 (frexp_test): Likewise.
3557 (ilogb_test): Likewise.
3558 (isfinite_test): Likewise.
3559 (finite_test): Likewise.
3560 (isgreater_test): Likewise.
3561 (isgreaterequal_test): Likewise.
3562 (isinf_test): Likewise.
3563 (isless_test): Likewise.
3564 (islessequal_test): Likewise.
3565 (islessgreater_test): Likewise.
3566 (isnan_test): Likewise.
3567 (isnormal_test): Likewise.
3568 (issignaling_test): Likewise.
3569 (isunordered_test): Likewise.
3570 (logb_test): Likewise.
3571 (logb_downward_test_data): Remove.
3572 (logb_test_downward): Likewise.
3573 (lround_test): Use ALL_RM_TEST.
3574 (llround_test): Likewise.
3575 (modf_test): Likewise.
3576 (nexttoward_test): Likewise.
3577 (remainder_test): Likewise.
3578 (drem_test): Likewise.
3579 (remainder_tonearest_test_data): Likewise.
3580 (remainder_test_tonearest): Likewise.
3581 (drem_test_tonearest): Likewise.
3582 (remainder_towardzero_test_data): Likewise.
3583 (remainder_test_towardzero): Likewise.
3584 (drem_test_towardzero): Likewise.
3585 (remainder_downward_test_data): Likewise.
3586 (remainder_test_downward): Likewise.
3587 (drem_test_downward): Likewise.
3588 (remainder_upward_test_data): Likewise.
3589 (remainder_test_upward): Likewise.
3590 (drem_test_upward): Likewise.
3591 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
3592 (round_test): Use ALL_RM_TEST.
3593 (signbit_test): Likewise.
3594 (trunc_test): Likewise.
3595 (significand_test): Likewise.
3596 (main): Don't call removed functions.
3598 2014-03-07 Joseph Myers <joseph@codesourcery.com>
3601 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
3603 (ILL_ILLOPN): Likewise.
3604 (ILL_ILLADR): Likewise.
3605 (ILL_ILLTRP): Likewise.
3606 (ILL_PRVOPC): Likewise.
3607 (ILL_PRVREG): Likewise.
3608 (ILL_COPROC): Likewise.
3609 (ILL_BADSTK): Likewise.
3610 (FPE_INTDIV): Likewise.
3611 (FPE_INTOVF): Likewise.
3612 (FPE_FLTDIV): Likewise.
3613 (FPE_FLTOVF): Likewise.
3614 (FPE_FLTUND): Likewise.
3615 (FPE_FLTRES): Likewise.
3616 (FPE_FLTINV): Likewise.
3617 (FPE_FLTSUB): Likewise.
3618 (SEGV_MAPERR): Likewise.
3619 (SEGV_ACCERR): Likewise.
3620 (BUS_ADRALN): Likewise.
3621 (BUS_ADRERR): Likewise.
3622 (BUS_OBJERR): Likewise.
3623 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3624 (TRAP_TRACE): Likewise.
3625 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3627 (CLD_KILLED): Likewise.
3628 (CLD_DUMPED): Likewise.
3629 (CLD_TRAPPED): Likewise.
3630 (CLD_STOPPED): Likewise.
3631 (CLD_CONTINUED): Likewise.
3632 (POLL_IN): Likewise.
3633 (POLL_OUT): Likewise.
3634 (POLL_MSG): Likewise.
3635 (POLL_ERR): Likewise.
3636 (POLL_PRI): Likewise.
3637 (POLL_HUP): Likewise.
3638 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
3640 (ILL_ILLOPN): Likewise.
3641 (ILL_ILLADR): Likewise.
3642 (ILL_ILLTRP): Likewise.
3643 (ILL_PRVOPC): Likewise.
3644 (ILL_PRVREG): Likewise.
3645 (ILL_COPROC): Likewise.
3646 (ILL_BADSTK): Likewise.
3647 (FPE_INTDIV): Likewise.
3648 (FPE_INTOVF): Likewise.
3649 (FPE_FLTDIV): Likewise.
3650 (FPE_FLTOVF): Likewise.
3651 (FPE_FLTUND): Likewise.
3652 (FPE_FLTRES): Likewise.
3653 (FPE_FLTINV): Likewise.
3654 (FPE_FLTSUB): Likewise.
3655 (SEGV_MAPERR): Likewise.
3656 (SEGV_ACCERR): Likewise.
3657 (BUS_ADRALN): Likewise.
3658 (BUS_ADRERR): Likewise.
3659 (BUS_OBJERR): Likewise.
3660 (BUS_MCEERR_AR): Likewise.
3661 (BUS_MCEERR_AO): Likewise.
3662 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3663 (TRAP_TRACE): Likewise.
3664 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3666 (CLD_KILLED): Likewise.
3667 (CLD_DUMPED): Likewise.
3668 (CLD_TRAPPED): Likewise.
3669 (CLD_STOPPED): Likewise.
3670 (CLD_CONTINUED): Likewise.
3671 (POLL_IN): Likewise.
3672 (POLL_OUT): Likewise.
3673 (POLL_MSG): Likewise.
3674 (POLL_ERR): Likewise.
3675 (POLL_PRI): Likewise.
3676 (POLL_HUP): Likewise.
3677 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
3678 (ILL_ILLOPN): Likewise.
3679 (ILL_ILLADR): Likewise.
3680 (ILL_ILLTRP): Likewise.
3681 (ILL_PRVOPC): Likewise.
3682 (ILL_PRVREG): Likewise.
3683 (ILL_COPROC): Likewise.
3684 (ILL_BADSTK): Likewise.
3685 (FPE_INTDIV): Likewise.
3686 (FPE_INTOVF): Likewise.
3687 (FPE_FLTDIV): Likewise.
3688 (FPE_FLTOVF): Likewise.
3689 (FPE_FLTUND): Likewise.
3690 (FPE_FLTRES): Likewise.
3691 (FPE_FLTINV): Likewise.
3692 (FPE_FLTSUB): Likewise.
3693 (SEGV_MAPERR): Likewise.
3694 (SEGV_ACCERR): Likewise.
3695 (BUS_ADRALN): Likewise.
3696 (BUS_ADRERR): Likewise.
3697 (BUS_OBJERR): Likewise.
3698 (BUS_MCEERR_AR): Likewise.
3699 (BUS_MCEERR_AO): Likewise.
3700 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3701 (TRAP_TRACE): Likewise.
3702 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3704 (CLD_KILLED): Likewise.
3705 (CLD_DUMPED): Likewise.
3706 (CLD_TRAPPED): Likewise.
3707 (CLD_STOPPED): Likewise.
3708 (CLD_CONTINUED): Likewise.
3709 (POLL_IN): Likewise.
3710 (POLL_OUT): Likewise.
3711 (POLL_MSG): Likewise.
3712 (POLL_ERR): Likewise.
3713 (POLL_PRI): Likewise.
3714 (POLL_HUP): Likewise.
3715 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
3717 (ILL_ILLOPN): Likewise.
3718 (ILL_ILLADR): Likewise.
3719 (ILL_ILLTRP): Likewise.
3720 (ILL_PRVOPC): Likewise.
3721 (ILL_PRVREG): Likewise.
3722 (ILL_COPROC): Likewise.
3723 (ILL_BADSTK): Likewise.
3724 (ILL_BADIADDR): Likewise.
3725 (ILL_BREAK): Likewise.
3726 (FPE_INTDIV): Likewise.
3727 (FPE_INTOVF): Likewise.
3728 (FPE_FLTDIV): Likewise.
3729 (FPE_FLTOVF): Likewise.
3730 (FPE_FLTUND): Likewise.
3731 (FPE_FLTRES): Likewise.
3732 (FPE_FLTINV): Likewise.
3733 (FPE_FLTSUB): Likewise.
3734 (FPE_DECOVF): Likewise.
3735 (FPE_DECDIV): Likewise.
3736 (FPE_DECERR): Likewise.
3737 (FPE_INVASC): Likewise.
3738 (FPE_INVDEC): Likewise.
3739 (SEGV_MAPERR): Likewise.
3740 (SEGV_ACCERR): Likewise.
3741 (SEGV_PSTKOVF): Likewise.
3742 (BUS_ADRALN): Likewise.
3743 (BUS_ADRERR): Likewise.
3744 (BUS_OBJERR): Likewise.
3745 (BUS_MCEERR_AR): Likewise.
3746 (BUS_MCEERR_AO): Likewise.
3747 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3748 (TRAP_TRACE): Likewise.
3749 (TRAP_BRANCH): Likewise.
3750 (TRAP_HWBKPT): Likewise.
3751 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3753 (CLD_KILLED): Likewise.
3754 (CLD_DUMPED): Likewise.
3755 (CLD_TRAPPED): Likewise.
3756 (CLD_STOPPED): Likewise.
3757 (CLD_CONTINUED): Likewise.
3758 (POLL_IN): Likewise.
3759 (POLL_OUT): Likewise.
3760 (POLL_MSG): Likewise.
3761 (POLL_ERR): Likewise.
3762 (POLL_PRI): Likewise.
3763 (POLL_HUP): Likewise.
3764 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
3765 (ILL_ILLOPN): Likewise.
3766 (ILL_ILLADR): Likewise.
3767 (ILL_ILLTRP): Likewise.
3768 (ILL_PRVOPC): Likewise.
3769 (ILL_PRVREG): Likewise.
3770 (ILL_COPROC): Likewise.
3771 (ILL_BADSTK): Likewise.
3772 (FPE_INTDIV): Likewise.
3773 (FPE_INTOVF): Likewise.
3774 (FPE_FLTDIV): Likewise.
3775 (FPE_FLTOVF): Likewise.
3776 (FPE_FLTUND): Likewise.
3777 (FPE_FLTRES): Likewise.
3778 (FPE_FLTINV): Likewise.
3779 (FPE_FLTSUB): Likewise.
3780 (SEGV_MAPERR): Likewise.
3781 (SEGV_ACCERR): Likewise.
3782 (BUS_ADRALN): Likewise.
3783 (BUS_ADRERR): Likewise.
3784 (BUS_OBJERR): Likewise.
3785 (BUS_MCEERR_AR): Likewise.
3786 (BUS_MCEERR_AO): Likewise.
3787 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3788 (TRAP_TRACE): Likewise.
3789 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3791 (CLD_KILLED): Likewise.
3792 (CLD_DUMPED): Likewise.
3793 (CLD_TRAPPED): Likewise.
3794 (CLD_STOPPED): Likewise.
3795 (CLD_CONTINUED): Likewise.
3796 (POLL_IN): Likewise.
3797 (POLL_OUT): Likewise.
3798 (POLL_MSG): Likewise.
3799 (POLL_ERR): Likewise.
3800 (POLL_PRI): Likewise.
3801 (POLL_HUP): Likewise.
3802 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
3803 (ILL_ILLOPN): Likewise.
3804 (ILL_ILLADR): Likewise.
3805 (ILL_ILLTRP): Likewise.
3806 (ILL_PRVOPC): Likewise.
3807 (ILL_PRVREG): Likewise.
3808 (ILL_COPROC): Likewise.
3809 (ILL_BADSTK): Likewise.
3810 (FPE_INTDIV): Likewise.
3811 (FPE_INTOVF): Likewise.
3812 (FPE_FLTDIV): Likewise.
3813 (FPE_FLTOVF): Likewise.
3814 (FPE_FLTUND): Likewise.
3815 (FPE_FLTRES): Likewise.
3816 (FPE_FLTINV): Likewise.
3817 (FPE_FLTSUB): Likewise.
3818 (SEGV_MAPERR): Likewise.
3819 (SEGV_ACCERR): Likewise.
3820 (BUS_ADRALN): Likewise.
3821 (BUS_ADRERR): Likewise.
3822 (BUS_OBJERR): Likewise.
3823 (BUS_MCEERR_AR): Likewise.
3824 (BUS_MCEERR_AO): Likewise.
3825 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3826 (TRAP_TRACE): Likewise.
3827 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3829 (CLD_KILLED): Likewise.
3830 (CLD_DUMPED): Likewise.
3831 (CLD_TRAPPED): Likewise.
3832 (CLD_STOPPED): Likewise.
3833 (CLD_CONTINUED): Likewise.
3834 (POLL_IN): Likewise.
3835 (POLL_OUT): Likewise.
3836 (POLL_MSG): Likewise.
3837 (POLL_ERR): Likewise.
3838 (POLL_PRI): Likewise.
3839 (POLL_HUP): Likewise.
3840 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
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 (FPE_INTDIV): Likewise.
3849 (FPE_INTOVF): Likewise.
3850 (FPE_FLTDIV): Likewise.
3851 (FPE_FLTOVF): Likewise.
3852 (FPE_FLTUND): Likewise.
3853 (FPE_FLTRES): Likewise.
3854 (FPE_FLTINV): Likewise.
3855 (FPE_FLTSUB): Likewise.
3856 (SEGV_MAPERR): Likewise.
3857 (SEGV_ACCERR): Likewise.
3858 (BUS_ADRALN): Likewise.
3859 (BUS_ADRERR): Likewise.
3860 (BUS_OBJERR): Likewise.
3861 (BUS_MCEERR_AR): Likewise.
3862 (BUS_MCEERR_AO): Likewise.
3863 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3864 (TRAP_TRACE): Likewise.
3865 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3867 (CLD_KILLED): Likewise.
3868 (CLD_DUMPED): Likewise.
3869 (CLD_TRAPPED): Likewise.
3870 (CLD_STOPPED): Likewise.
3871 (CLD_CONTINUED): Likewise.
3872 (POLL_IN): Likewise.
3873 (POLL_OUT): Likewise.
3874 (POLL_MSG): Likewise.
3875 (POLL_ERR): Likewise.
3876 (POLL_PRI): Likewise.
3877 (POLL_HUP): Likewise.
3878 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
3879 (ILL_ILLOPN): Likewise.
3880 (ILL_ILLADR): Likewise.
3881 (ILL_ILLTRP): Likewise.
3882 (ILL_PRVOPC): Likewise.
3883 (ILL_PRVREG): Likewise.
3884 (ILL_COPROC): Likewise.
3885 (ILL_BADSTK): Likewise.
3886 (ILL_DBLFLT): Likewise.
3887 (ILL_HARDWALL): Likewise.
3888 (FPE_INTDIV): Likewise.
3889 (FPE_INTOVF): Likewise.
3890 (FPE_FLTDIV): Likewise.
3891 (FPE_FLTOVF): Likewise.
3892 (FPE_FLTUND): Likewise.
3893 (FPE_FLTRES): Likewise.
3894 (FPE_FLTINV): Likewise.
3895 (FPE_FLTSUB): Likewise.
3896 (SEGV_MAPERR): Likewise.
3897 (SEGV_ACCERR): Likewise.
3898 (BUS_ADRALN): Likewise.
3899 (BUS_ADRERR): Likewise.
3900 (BUS_OBJERR): Likewise.
3901 (BUS_MCEERR_AR): Likewise.
3902 (BUS_MCEERR_AO): Likewise.
3903 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3904 (TRAP_TRACE): Likewise.
3905 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3907 (CLD_KILLED): Likewise.
3908 (CLD_DUMPED): Likewise.
3909 (CLD_TRAPPED): Likewise.
3910 (CLD_STOPPED): Likewise.
3911 (CLD_CONTINUED): Likewise.
3912 (POLL_IN): Likewise.
3913 (POLL_OUT): Likewise.
3914 (POLL_MSG): Likewise.
3915 (POLL_ERR): Likewise.
3916 (POLL_PRI): Likewise.
3917 (POLL_HUP): Likewise.
3918 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
3919 (ILL_ILLOPN): Likewise.
3920 (ILL_ILLADR): Likewise.
3921 (ILL_ILLTRP): Likewise.
3922 (ILL_PRVOPC): Likewise.
3923 (ILL_PRVREG): Likewise.
3924 (ILL_COPROC): Likewise.
3925 (ILL_BADSTK): Likewise.
3926 (FPE_INTDIV): Likewise.
3927 (FPE_INTOVF): Likewise.
3928 (FPE_FLTDIV): Likewise.
3929 (FPE_FLTOVF): Likewise.
3930 (FPE_FLTUND): Likewise.
3931 (FPE_FLTRES): Likewise.
3932 (FPE_FLTINV): Likewise.
3933 (FPE_FLTSUB): Likewise.
3934 (SEGV_MAPERR): Likewise.
3935 (SEGV_ACCERR): Likewise.
3936 (BUS_ADRALN): Likewise.
3937 (BUS_ADRERR): Likewise.
3938 (BUS_OBJERR): Likewise.
3939 (BUS_MCEERR_AR): Likewise.
3940 (BUS_MCEERR_AO): Likewise.
3941 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3942 (TRAP_TRACE): Likewise.
3943 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3945 (CLD_KILLED): Likewise.
3946 (CLD_DUMPED): Likewise.
3947 (CLD_TRAPPED): Likewise.
3948 (CLD_STOPPED): Likewise.
3949 (CLD_CONTINUED): Likewise.
3950 (POLL_IN): Likewise.
3951 (POLL_OUT): Likewise.
3952 (POLL_MSG): Likewise.
3953 (POLL_ERR): Likewise.
3954 (POLL_PRI): Likewise.
3955 (POLL_HUP): Likewise.
3956 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
3957 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
3960 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
3961 before #include of <time.h>.
3962 [!__USE_XOPEN2K] (__need_timespec): Likewise.
3963 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
3964 (test-xfail-UNIX98/sched.h/conform): Likewise.
3966 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
3968 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
3969 error absence of trapping exception support.
3970 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
3972 2014-03-07 Joseph Myers <joseph@codesourcery.com>
3974 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
3975 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
3976 * timezone/Makefile (testdata): Move definition above include of
3978 (test-zones): New variable.
3979 (tests-special): Add zone files.
3980 (build-testdata): Use $(evaluate-test).
3982 * elf/Makefile (tests-special): Rename tests to end with .out.
3983 ($(objpfx)noload-mem): Likewise.
3984 ($(objpfx)tst-leaks1-mem): Likewise.
3985 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
3986 * iconv/Makefile (xtests-special): Change test-iconvconfig to
3987 $(objpfx)test-iconvconfig.out.
3988 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
3989 set -e inside subshell and redirect output to file.
3990 * iconvdata/Makefile (generated): Rename tests to end with .out.
3992 (tests-special): Rename tests to end with .out.
3993 ($(objpfx)mtrace-tst-loading): Likewise.
3994 * intl/Makefile (generated): Likewise.
3995 (tests-special): Likewise.
3996 ($(objpfx)mtrace-tst-gettext): Likewise.
3997 * misc/Makefile (generated): Likewise.
3998 (tests-special): Likewise.
3999 ($(objpfx)tst-error1-mem): Likewise.
4000 * nptl/Makefile (tests-special): Likewise.
4001 ($(objpfx)tst-stack3-mem): Likewise.
4002 (generated): Likewise.
4003 * posix/Makefile (generated): Likewise.
4004 (tests-special): Likewise.
4005 (xtests-special): Likewise.
4006 ($(objpfx)tst-fnmatch-mem): Likewise.
4007 ($(objpfx)bug-regex2-mem): Likewise.
4008 ($(objpfx)bug-regex14-mem): Likewise.
4009 ($(objpfx)bug-regex21-mem): Likewise.
4010 ($(objpfx)bug-regex31-mem): Likewise.
4011 ($(objpfx)tst-vfork3-mem): Likewise.
4012 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
4013 ($(objpfx)tst-pcre-mem): Likewise.
4014 ($(objpfx)tst-boost-mem): Likewise.
4015 ($(objpfx)bug-ga2-mem): Likewise.
4016 ($(objpfx)bug-glob2-mem): Likewise.
4017 * resolv/Makefile (generate): Likewise.
4018 (tests-special): Likewise.
4019 (xtests-special): Likewise.
4020 (generated): Likewise.
4021 ($(objpfx)mtrace-tst-leaks): Likewise.
4022 ($(objpfx)mtrace-tst-leaks2): Likewise.
4024 * scripts/merge-test-results.sh: New file.
4025 * Makefile (tests-special-notdir): New variable.
4026 (tests): Run merge-test-results.sh.
4028 * Rules (tests-special-notdir): New variable.
4029 (xtests-special-notdir): Likewise.
4030 (tests): Run merge-test-results.sh
4033 * Makeconfig (test-xfail-name): New variable.
4034 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
4035 compute variable name for expected failures.
4036 * conform/Makefile (conformtest-headers-data): New variable.
4037 (conformtest-standards): Likewise.
4038 (conformtest-headers-ISO): Likewise.
4039 (conformtest-headers-ISO99): Likewise.
4040 (conformtest-headers-ISO11): Likewise.
4041 (conformtest-headers-POSIX): Likewise.
4042 (conformtest-headers-XPG3): Likewise.
4043 (conformtest-headers-XPG4): Likewise.
4044 (conformtest-headers-UNIX98): Likewise.
4045 (conformtest-headers-XOPEN2K): Likewise.
4046 (conformtest-headers-POSIX2008): Likewise.
4047 (conformtest-headers-XOPEN2K8): Likewise.
4048 (conformtest-header-list-base): Likewise.
4049 (conformtest-header-list-tests): Likewise.
4050 (conformtest-header-base): Likewise.
4051 (conformtest-header-tests): Likewise.
4052 (tests-special): Add $(conformtest-header-list-tests). If
4053 [$(fast-check) && !$(cross-compiling)], add
4054 $(conformtest-header-tests) instead of
4055 $(objpfx)run-conformtest.out.
4056 (generated): Add $(conformtest-header-list-base). If
4057 [$(fast-check) && !$(cross-compiling)], add
4058 $(conformtest-header-base). Remove previous setting.
4059 ($(conformtest-header-list-tests)): New target.
4060 (test-xfail-run-conformtest): Remove variable.
4061 ($(objpfx)run-conformtest.out): Remove target.
4062 (test-xfail-ISO11/complex.h/conform): New variable.
4063 (test-xfail-ISO11/stdalign.h/conform): Likewise.
4064 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
4065 (test-xfail-XPG3/varargs.h/conform): Likewise.
4066 (test-xfail-XPG4/varargs.h/conform): Likewise.
4067 (test-xfail-UNIX98/varargs.h/conform): Likewise.
4068 (test-xfail-XPG4/ndbm.h/conform): Likewise.
4069 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
4070 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
4071 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
4072 (test-xfail-XPG3/fcntl.h/conform): Likewise.
4073 (test-xfail-XPG3/ftw.h/conform): Likewise.
4074 (test-xfail-XPG3/grp.h/conform): Likewise.
4075 (test-xfail-XPG3/langinfo.h/conform): Likewise.
4076 (test-xfail-XPG3/limits.h/conform): Likewise.
4077 (test-xfail-XPG3/pwd.h/conform): Likewise.
4078 (test-xfail-XPG3/search.h/conform): Likewise.
4079 (test-xfail-XPG3/signal.h/conform): Likewise.
4080 (test-xfail-XPG3/stdio.h/conform): Likewise.
4081 (test-xfail-XPG3/stdlib.h/conform): Likewise.
4082 (test-xfail-XPG3/string.h/conform): Likewise.
4083 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
4084 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
4085 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
4086 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
4087 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
4088 (test-xfail-XPG3/sys/types.h/conform): Likewise.
4089 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
4090 (test-xfail-XPG3/termios.h/conform): Likewise.
4091 (test-xfail-XPG3/time.h/conform): Likewise.
4092 (test-xfail-XPG3/unistd.h/conform): Likewise.
4093 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
4094 (test-xfail-XPG4/fcntl.h/conform): Likewise.
4095 (test-xfail-XPG4/langinfo.h/conform): Likewise.
4096 (test-xfail-XPG4/netdb.h/conform): Likewise.
4097 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
4098 (test-xfail-XPG4/signal.h/conform): Likewise.
4099 (test-xfail-XPG4/stdio.h/conform): Likewise.
4100 (test-xfail-XPG4/stdlib.h/conform): Likewise.
4101 (test-xfail-XPG4/stropts.h/conform): Likewise.
4102 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
4103 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
4104 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
4105 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
4106 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
4107 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
4108 (test-xfail-XPG4/sys/time.h/conform): Likewise.
4109 (test-xfail-XPG4/sys/types.h/conform): Likewise.
4110 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
4111 (test-xfail-XPG4/termios.h/conform): Likewise.
4112 (test-xfail-XPG4/ucontext.h/conform): Likewise.
4113 (test-xfail-XPG4/unistd.h/conform): Likewise.
4114 (test-xfail-XPG4/utmpx.h/conform): Likewise.
4115 (test-xfail-POSIX/sched.h/conform): Likewise.
4116 (test-xfail-POSIX/signal.h/conform): Likewise.
4117 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
4118 (test-xfail-POSIX/tar.h/conform): Likewise.
4119 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
4120 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
4121 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
4122 (test-xfail-UNIX98/netdb.h/conform): Likewise.
4123 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
4124 (test-xfail-UNIX98/sched.h/conform): Likewise.
4125 (test-xfail-UNIX98/signal.h/conform): Likewise.
4126 (test-xfail-UNIX98/stdio.h/conform): Likewise.
4127 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
4128 (test-xfail-UNIX98/stropts.h/conform): Likewise.
4129 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
4130 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
4131 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
4132 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
4133 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
4134 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
4135 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
4136 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
4137 (test-xfail-UNIX98/unistd.h/conform): Likewise.
4138 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
4139 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
4140 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
4141 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
4142 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
4143 (test-xfail-XOPEN2K/math.h/conform): Likewise.
4144 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
4145 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
4146 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
4147 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
4148 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
4149 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
4150 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
4151 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
4152 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
4153 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
4154 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
4155 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
4156 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
4157 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
4158 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
4159 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
4160 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
4161 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
4162 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
4163 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
4164 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
4165 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
4166 (test-xfail-POSIX2008/signal.h/conform): Likewise.
4167 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
4168 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
4169 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
4170 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
4171 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
4172 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
4173 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
4174 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
4175 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
4176 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
4177 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
4178 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
4179 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
4180 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
4181 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
4182 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
4183 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
4184 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
4185 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
4186 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
4187 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
4188 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
4189 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
4190 (conformtest-cc-flags): Likewise.
4191 ($(conformtest-header-tests): New target.
4192 * conform/check-header-lists.sh: New file.
4193 * conform/run-conformtest.sh: Remove.
4195 * conform/conformtest.pl: Allow ' and \ in values given for
4197 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
4199 [POSIX] (sys/types.h): Likewise.
4200 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
4202 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
4204 * conform/data/signal.h-data (SIGIO): Remove expectation.
4205 [XPG3] (SIGBUS): Do not expect.
4206 [POSIX || XPG3] (SIGPOLL): Likewise.
4207 [POSIX || XPG3] (SIGPROF): Likewise.
4208 [POSIX || XPG3] (SIGSYS): Likewise.
4209 [XPG3] (SIGTRAP): Likewise.
4210 [POSIX || XPG3] (SIGURG): Likewise.
4211 [POSIX || XPG3] (SIGVTALRM): Likewise.
4212 [POSIX || XPG3] (SIGXCPU): Likewise.
4213 [POSIX || XPG3] (SIGXFSZ): Likewise.
4214 [POSIX] (SA_SIGINFO): Expect.
4215 [XPG3] (siginfo_t): Do not expect type or contents.
4216 [POSIX] (si_pid): Do not expect element.
4217 [POSIX] (si_uid): Likewise.
4218 [POSIX] (si_addr): Likewise.
4219 [POSIX] (si_status): Likewise.
4220 [POSIX] (si_band): Likewise.
4221 [XPG4] (si_value): Likewise.
4222 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
4223 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
4224 [POSIX || XPG3] (ILL_ILLADR): Likewise.
4225 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
4226 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
4227 [POSIX || XPG3] (ILL_PRVREG): Likewise.
4228 [POSIX || XPG3] (ILL_COPROC): Likewise.
4229 [POSIX || XPG3] (ILL_BADSTK): Likewise.
4230 [POSIX || XPG3] (FPE_INTDIV): Likewise.
4231 [POSIX || XPG3] (FPE_INTOVF): Likewise.
4232 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
4233 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
4234 [POSIX || XPG3] (FPE_FLTUND): Likewise.
4235 [POSIX || XPG3] (FPE_FLTRES): Likewise.
4236 [POSIX || XPG3] (FPE_FLTINV): Likewise.
4237 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
4238 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
4239 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
4240 [POSIX || XPG3] (BUS_ADRALN): Likewise.
4241 [POSIX || XPG3] (BUS_ADRERR): Likewise.
4242 [POSIX || XPG3] (BUS_OBJERR): Likewise.
4243 [POSIX || XPG3] (CLD_EXITED): Likewise.
4244 [POSIX || XPG3] (CLD_KILLED): Likewise.
4245 [POSIX || XPG3] (CLD_DUMPED): Likewise.
4246 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
4247 [POSIX || XPG3] (CLD_STOPPED): Likewise.
4248 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
4249 [POSIX || XPG3] (POLL_IN): Likewise.
4250 [POSIX || XPG3] (POLL_OUT): Likewise.
4251 [POSIX || XPG3] (POLL_MSG): Likewise.
4252 [POSIX || XPG3] (POLL_ERR): Likewise.
4253 [POSIX || XPG3] (POLL_PRI): Likewise.
4254 [POSIX || XPG3] (POLL_HUP): Likewise.
4255 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
4256 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
4257 (SIG*): Do not allow.
4258 [XPG3] (si_*): Likewise.
4259 [XPG3] (SI_*): Likewise.
4260 [XPG3 || XPG4] (sigev_*): Likewise.
4261 [XPG3 || XPG4] (SIGEV_*): Likewise.
4262 [XPG3 || XPG4] (sival_*): Likewise.
4263 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
4264 [POSIX || XPG3] (BUS_*): Likewise.
4265 [POSIX || XPG3] (CLD_*): Likewise.
4266 [POSIX || XPG3] (FPE_*): Likewise.
4267 [POSIX || XPG3] (ILL_*): Likewise.
4268 [POSIX || XPG3] (POLL_*): Likewise.
4269 [POSIX || XPG3] (SEGV_*): Likewise.
4270 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
4271 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
4272 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
4273 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
4274 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
4275 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
4276 Specify type and value.
4277 (TVERSLEN): Likewise.
4278 (REGTYPE): Likewise.
4279 (AREGTYPE): Likewise.
4280 (LNKTYPE): Likewise.
4281 (SYMTYPE): Likewise.
4282 (CHRTYPE): Likewise.
4283 (BLKTYPE): Likewise.
4284 (DIRTYPE): Likewise.
4285 (FIFOTYPE): Likewise.
4286 (CONTTYPE): Likewise.
4291 (TUWRITE): Likewise.
4294 (TGWRITE): Likewise.
4297 (TOWRITE): Likewise.
4299 [POSIX] (TSVTX): Expect constant.
4301 2014-03-06 Joseph Myers <joseph@codesourcery.com>
4303 * Makefile (tests): Change dependencies to ....
4304 (tests-special): ... additions to this variable.
4305 (tests): Depend on $(tests-special).
4306 * Makerules (check-abi-list): New variable.
4307 (check-abi): Depend on $(check-abi-list).
4308 [$(subdir) = elf] (tests-special): Add
4309 $(objpfx)check-abi-libc.out.
4310 [$(build-shared) = yes && subdir] (tests-special): Add
4312 [$(build-shared) = yes && subdir] (tests): Do not depend on
4314 * Rules (tests): Depend on $(tests-special).
4315 (xtests): Depend on $(xtests-special).
4316 * catgets/Makefile (tests): Change dependencies to ....
4317 (tests-special): ... additions to this variable.
4318 * conform/Makefile (tests): Change dependencies to ....
4319 (tests-special): ... additions to this variable.
4320 * elf/Makefile (tests): Change dependencies to ....
4321 (tests-special): ... additions to this variable.
4322 * grp/Makefile (tests): Change dependencies to ....
4323 (tests-special): ... additions to this variable.
4324 * iconv/Makefile (xtests): Change dependencies to ....
4325 (xtests-special): ... additions to this variable.
4326 * iconvdata/Makefile (tests): Change dependencies to ....
4327 (tests-special): ... additions to this variable.
4328 * intl/Makefile (tests): Change dependencies to ....
4329 (tests-special): ... additions to this variable. Also add
4330 $(objpfx)tst-gettext.out.
4331 * io/Makefile (tests): Change dependencies to ....
4332 (tests-special): ... additions to this variable.
4333 * libio/Makefile (tests): Change dependencies to ....
4334 (tests-special): ... additions to this variable.
4335 * malloc/Makefile (tests): Change dependencies to ....
4336 (tests-special): ... additions to this variable.
4337 * misc/Makefile (tests): Change dependencies to ....
4338 (tests-special): ... additions to this variable.
4339 * nptl/Makefile (tests): Change dependencies to ....
4340 (tests-special): ... additions to this variable.
4341 * nptl_db/Makefile (tests): Change dependencies to ....
4342 (tests-special): ... additions to this variable.
4343 * posix/Makefile (tests): Change dependencies to ....
4344 (tests-special): ... additions to this variable.
4345 (xtests): Change dependencies to ....
4346 (xtests-special): ... additions to this variable.
4347 * resolv/Makefile (tests): Change dependencies to ....
4348 (tests-special): ... additions to this variable.
4349 (xtests): Change dependencies to ....
4350 (xtests-special): ... additions to this variable.
4351 * stdio-common/Makefile (tests): Change dependencies to ....
4352 (tests-special): ... additions to this variable.
4353 (do-tst-unbputc): Remove target.
4354 (do-tst-printf): Likewise.
4355 * stdlib/Makefile (tests): Change dependencies to ....
4356 (tests-special): ... additions to this variable.
4357 * string/Makefile (tests): Change dependencies to ....
4358 (tests-special): ... additions to this variable.
4359 * sysdeps/x86/Makefile (tests): Change dependencies to ....
4360 (tests-special): ... additions to this variable.
4362 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
4364 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
4366 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
4367 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
4369 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
4370 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
4371 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
4372 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
4373 * conform/data/libgen.h-data [XPG3]: Likewise.
4374 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
4375 * conform/data/ndbm.h-data [XPG3]: Likewise.
4376 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
4377 * conform/data/netdb.h-data [XPG3]: Likewise.
4378 * conform/data/netinet/in.h-data [XPG3]: Likewise.
4379 * conform/data/poll.h-data [XPG3]: Likewise.
4380 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
4381 * conform/data/strings.h-data [XPG3]: Likewise.
4382 * conform/data/stropts.h-data [XPG3]: Likewise.
4383 * conform/data/sys/mman.h-data [XPG3]: Likewise.
4384 * conform/data/sys/resource.h-data [XPG3]: Likewise.
4385 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
4387 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
4388 * conform/data/sys/time.h-data [XPG3]: Likewise.
4389 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
4390 * conform/data/sys/uio.h-data [XPG3]: Likewise.
4391 * conform/data/sys/un.h-data [XPG3]: Likewise.
4392 * conform/data/syslog.h-data [XPG3]: Likewise.
4393 * conform/data/ucontext.h-data [XPG3]: Likewise.
4394 * conform/data/utmpx.h-data [XPG3]: Likewise.
4395 * conform/data/varargs.h-data [UNIX98]: Enable file.
4397 * manual/Makefile (INSTALL_INFO): Remove variable setting.
4399 * math/libm-test.inc (struct test_f_f_data): Move expected results
4400 into structure for each rounding mode.
4401 (struct test_ff_f_data): Likewise.
4402 (struct test_ff_f_data_nexttoward): Likewise.
4403 (struct test_fi_f_data): Likewise.
4404 (struct test_fl_f_data): Likewise.
4405 (struct test_if_f_data): Likewise.
4406 (struct test_fff_f_data): Likewise.
4407 (struct test_c_f_data): Likewise.
4408 (struct test_f_f1_data): Likewise.
4409 (struct test_fF_f1_data): Likewise.
4410 (struct test_ffI_f1_data): Likewise.
4411 (struct test_c_c_data): Likewise.
4412 (struct test_cc_c_data): Likewise.
4413 (struct test_f_i_data): Likewise.
4414 (struct test_ff_i_data): Likewise.
4415 (struct test_f_l_data): Likewise.
4416 (struct test_f_L_data): Likewise.
4417 (struct test_fFF_11_data): Likewise.
4419 (RM_FE_DOWNWARD): Likewise.
4420 (RM_FE_TONEAREST): Likewise.
4421 (RM_FE_TOWARDZERO): Likewise.
4422 (RM_FE_UPWARD): Likewise.
4423 (RUN_TEST_LOOP_f_f): Update references to expected results.
4424 (RUN_TEST_LOOP_2_f): Likewise.
4425 (RUN_TEST_LOOP_fff_f): Likewise.
4426 (RUN_TEST_LOOP_c_f): Likewise.
4427 (RUN_TEST_LOOP_f_f1): Likewise.
4428 (RUN_TEST_LOOP_fF_f1): Likewise.
4429 (RUN_TEST_LOOP_fI_f1): Likewise.
4430 (RUN_TEST_LOOP_ffI_f1): Likewise.
4431 (RUN_TEST_LOOP_c_c): Likewise.
4432 (RUN_TEST_LOOP_cc_c): Likewise.
4433 (RUN_TEST_LOOP_f_i): Likewise.
4434 (RUN_TEST_LOOP_f_i_tg): Likewise.
4435 (RUN_TEST_LOOP_ff_i_tg): Likewise.
4436 (RUN_TEST_LOOP_f_b): Likewise.
4437 (RUN_TEST_LOOP_f_b_tg): Likewise.
4438 (RUN_TEST_LOOP_f_l): Likewise.
4439 (RUN_TEST_LOOP_f_L): Likewise.
4440 (RUN_TEST_LOOP_fFF_11): Likewise.
4441 * math/gen-libm-test.pl (parse_args): Output four copies of
4442 expected results for each test.
4444 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4445 (__ASSUME_UTIMES): Remove.
4446 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4447 (__ASSUME_UTIMES): Likewise.
4449 * math/gen-auto-libm-tests.c: Update comment on output format.
4450 (output_for_one_input_case): Generate before-rounding and
4451 after-rounding information as conditions on output flags not
4452 floating-point format.
4453 * math/auto-libm-test-out: Regenerated.
4454 * math/gen-libm-test.pl (cond_value): New function.
4455 (or_cond_value): Use cond_value.
4456 (generate_testfile): Handle conditional exceptions.
4458 2014-03-05 Joseph Myers <joseph@codesourcery.com>
4460 * math/libm-test.inc (max_valid_error): New variable.
4461 (init_max_error): Take new argument specifying whether function
4462 results are exactly determined. Set max_valid_error and bound
4463 other variables for errors based on this argument.
4464 (set_max_error): Do not record results above max_valid_error.
4465 (check_float_internal): Only accept errors of up to 0.5ulps if
4466 also at most max_valid_error.
4467 (START): Take new argument EXACT and pass it to init_max_error.
4468 (acos_test): Update call to START.
4469 (acos_test_tonearest): Likewise.
4470 (acos_test_towardzero): Likewise.
4471 (acos_test_downward): Likewise.
4472 (acos_test_upward): Likewise.
4473 (acosh_test): Likewise.
4474 (asin_test): Likewise.
4475 (asin_test_tonearest): Likewise.
4476 (asin_test_towardzero): Likewise.
4477 (asin_test_downward): Likewise.
4478 (asin_test_upward): Likewise.
4479 (asinh_test): Likewise.
4480 (atan_test): Likewise.
4481 (atanh_test): Likewise.
4482 (atan2_test): Likewise.
4483 (cabs_test): Likewise.
4484 (cacos_test): Likewise.
4485 (cacosh_test): Likewise.
4486 (carg_test): Likewise.
4487 (casin_test): Likewise.
4488 (casinh_test): Likewise.
4489 (catan_test): Likewise.
4490 (catanh_test): Likewise.
4491 (cbrt_test): Likewise.
4492 (ccos_test): Likewise.
4493 (ccosh_test): Likewise.
4494 (ceil_test): Likewise.
4495 (cexp_test): Likewise.
4496 (cimag_test): Likewise.
4497 (clog_test): Likewise.
4498 (clog10_test): Likewise.
4499 (conj_test): Likewise.
4500 (copysign_test): Likewise.
4501 (cos_test): Likewise.
4502 (cos_test_tonearest): Likewise.
4503 (cos_test_towardzero): Likewise.
4504 (cos_test_downward): Likewise.
4505 (cos_test_upward): Likewise.
4506 (cosh_test): Likewise.
4507 (cosh_test_tonearest): Likewise.
4508 (cosh_test_towardzero): Likewise.
4509 (cosh_test_downward): Likewise.
4510 (cosh_test_upward): Likewise.
4511 (cpow_test): Likewise.
4512 (cproj_test): Likewise.
4513 (creal_test): Likewise.
4514 (csin_test): Likewise.
4515 (csinh_test): Likewise.
4516 (csqrt_test): Likewise.
4517 (ctan_test): Likewise.
4518 (ctan_test_tonearest): Likewise.
4519 (ctan_test_towardzero): Likewise.
4520 (ctan_test_downward): Likewise.
4521 (ctan_test_upward): Likewise.
4522 (ctanh_test): Likewise.
4523 (ctanh_test_tonearest): Likewise.
4524 (ctanh_test_towardzero): Likewise.
4525 (ctanh_test_downward): Likewise.
4526 (ctanh_test_upward): Likewise.
4527 (erf_test): Likewise.
4528 (erfc_test): Likewise.
4529 (exp_test): Likewise.
4530 (exp_test_tonearest): Likewise.
4531 (exp_test_towardzero): Likewise.
4532 (exp_test_downward): Likewise.
4533 (exp_test_upward): Likewise.
4534 (exp10_test): Likewise.
4535 (exp10_test_tonearest): Likewise.
4536 (exp10_test_towardzero): Likewise.
4537 (exp10_test_downward): Likewise.
4538 (exp10_test_upward): Likewise.
4539 (pow10_test): Likewise.
4540 (exp2_test): Likewise.
4541 (expm1_test): Likewise.
4542 (expm1_test_tonearest): Likewise.
4543 (expm1_test_towardzero): Likewise.
4544 (expm1_test_downward): Likewise.
4545 (expm1_test_upward): Likewise.
4546 (fabs_test): Likewise.
4547 (fdim_test): Likewise.
4548 (floor_test): Likewise.
4549 (fma_test): Likewise.
4550 (fma_test_towardzero): Likewise.
4551 (fma_test_downward): Likewise.
4552 (fma_test_upward): Likewise.
4553 (fmax_test): Likewise.
4554 (fmin_test): Likewise.
4555 (fmod_test): Likewise.
4556 (fpclassify_test): Likewise.
4557 (frexp_test): Likewise.
4558 (hypot_test): Likewise.
4559 (ilogb_test): Likewise.
4560 (isfinite_test): Likewise.
4561 (finite_test): Likewise.
4562 (isgreater_test): Likewise.
4563 (isgreaterequal_test): Likewise.
4564 (isinf_test): Likewise.
4565 (isless_test): Likewise.
4566 (islessequal_test): Likewise.
4567 (islessgreater_test): Likewise.
4568 (isnan_test): Likewise.
4569 (isnormal_test): Likewise.
4570 (issignaling_test): Likewise.
4571 (isunordered_test): Likewise.
4572 (j0_test): Likewise.
4573 (j1_test): Likewise.
4574 (jn_test): Likewise.
4575 (ldexp_test): Likewise.
4576 (lgamma_test): Likewise.
4577 (gamma_test): Likewise.
4578 (lrint_test): Likewise.
4579 (lrint_test_tonearest): Likewise.
4580 (lrint_test_towardzero): Likewise.
4581 (lrint_test_downward): Likewise.
4582 (lrint_test_upward): Likewise.
4583 (llrint_test): Likewise.
4584 (llrint_test_tonearest): Likewise.
4585 (llrint_test_towardzero): Likewise.
4586 (llrint_test_downward): Likewise.
4587 (llrint_test_upward): Likewise.
4588 (log_test): Likewise.
4589 (log10_test): Likewise.
4590 (log1p_test): Likewise.
4591 (log2_test): Likewise.
4592 (logb_test): Likewise.
4593 (logb_test_downward): Likewise.
4594 (lround_test): Likewise.
4595 (llround_test): Likewise.
4596 (modf_test): Likewise.
4597 (nearbyint_test): Likewise.
4598 (nextafter_test): Likewise.
4599 (nexttoward_test): Likewise.
4600 (pow_test): Likewise.
4601 (pow_test_tonearest): Likewise.
4602 (pow_test_towardzero): Likewise.
4603 (pow_test_downward): Likewise.
4604 (pow_test_upward): Likewise.
4605 (remainder_test): Likewise.
4606 (drem_test): Likewise.
4607 (remainder_test_tonearest): Likewise.
4608 (drem_test_tonearest): Likewise.
4609 (remainder_test_towardzero): Likewise.
4610 (drem_test_towardzero): Likewise.
4611 (remainder_test_downward): Likewise.
4612 (drem_test_downward): Likewise.
4613 (remainder_test_upward): Likewise.
4614 (drem_test_upward): Likewise.
4615 (remquo_test): Likewise.
4616 (rint_test): Likewise.
4617 (rint_test_tonearest): Likewise.
4618 (rint_test_towardzero): Likewise.
4619 (rint_test_downward): Likewise.
4620 (rint_test_upward): Likewise.
4621 (round_test): Likewise.
4622 (scalb_test): Likewise.
4623 (scalbn_test): Likewise.
4624 (scalbln_test): Likewise.
4625 (signbit_test): Likewise.
4626 (sin_test): Likewise.
4627 (sin_test_tonearest): Likewise.
4628 (sin_test_towardzero): Likewise.
4629 (sin_test_downward): Likewise.
4630 (sin_test_upward): Likewise.
4631 (sincos_test): Likewise.
4632 (sinh_test): Likewise.
4633 (sinh_test_tonearest): Likewise.
4634 (sinh_test_towardzero): Likewise.
4635 (sinh_test_downward): Likewise.
4636 (sinh_test_upward): Likewise.
4637 (sqrt_test): Likewise.
4638 (sqrt_test_tonearest): Likewise.
4639 (sqrt_test_towardzero): Likewise.
4640 (sqrt_test_downward): Likewise.
4641 (sqrt_test_upward): Likewise.
4642 (tan_test): Likewise.
4643 (tan_test_tonearest): Likewise.
4644 (tan_test_towardzero): Likewise.
4645 (tan_test_downward): Likewise.
4646 (tan_test_upward): Likewise.
4647 (tanh_test): Likewise.
4648 (tgamma_test): Likewise.
4649 (trunc_test): Likewise.
4650 (y0_test): Likewise.
4651 (y1_test): Likewise.
4652 (yn_test): Likewise.
4653 (significand_test): Likewise.
4655 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
4656 individual tests in comment.
4657 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
4658 (prev_max_error): New variable.
4659 (prev_real_max_error): Likewise.
4660 (prev_imag_max_error): Likewise.
4661 (compare_ulp_data): Don't refer to test names in comment.
4662 (find_test_ulps): Remove function.
4663 (find_function_ulps): Likewise.
4664 (find_complex_function_ulps): Likewise.
4665 (init_max_error): Take function name as argument. Look up ulps
4667 (print_ulps): Remove function.
4668 (print_max_error): Use prev_max_error instead of calling
4670 (print_complex_max_error): Use prev_real_max_error and
4671 prev_imag_max_error instead of calling find_complex_function_ulps.
4672 (check_float_internal): Take max_ulp parameter instead of calling
4673 find_test_ulps. Don't call print_ulps.
4674 (check_float): Update call to check_float_internal.
4675 (check_complex): Update calls to check_float_internal.
4676 (START): Pass argument to init_max_error.
4677 * math/gen-libm-test.pl (%results): Don't include "kind"
4679 (parse_ulps): Don't handle ulps of individual tests.
4680 (print_ulps_file): Likewise.
4681 (output_ulps): Likewise.
4682 * math/README.libm-test: Update.
4683 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
4685 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
4686 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
4687 * sysdeps/arm/libm-test-ulps: Likewise.
4688 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
4689 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
4690 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
4691 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
4692 * sysdeps/microblaze/libm-test-ulps: Likewise.
4693 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
4694 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4695 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4696 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
4697 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4698 * sysdeps/sh/libm-test-ulps: Likewise.
4699 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4700 * sysdeps/tile/libm-test-ulps: Likewise.
4701 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4703 2014-03-04 Joseph Myers <joseph@codesourcery.com>
4705 * math/libm-test.inc (print_complex_max_error): Check separately
4706 whether real and imaginary errors are within allowed range and
4707 pass 0 to print_complex_function_ulps instead of value within
4710 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4712 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
4714 (get_handles_fopen): Likewise.
4715 (do_write_test): Likewise.
4717 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
4719 * libio/fileops.c (do_ftell): Use cached offset when
4721 * libio/iofwide.c (do_ftell_wide): Likewise.
4722 * libio/iofdopen.c (_IO_new_fdopen): Don't use
4724 * libio/wfileops.c (_IO_fwide): Don't cache offset.
4727 * libio/libioP.h (get_file_offset): New function.
4728 * libio/fileops.c (get_file_offset): Likewise.
4729 (do_ftell): Likewise.
4730 (_IO_new_file_seekoff): Split out ftell logic.
4731 * libio/wfileops.c (do_ftell_wide): Likewise.
4732 (_IO_wfile_seekoff): Split out ftell logic.
4733 * libio/tst-ftell-active-handler.c: New test case.
4734 * libio/Makefile (tests): Add it.
4736 2014-03-03 Roland McGrath <roland@hack.frob.com>
4738 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
4739 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
4741 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4744 * nscd/connections.c (nscd_init): Call do_exit.
4745 (start_threads): Call do_exit and notify_parent.
4746 (begin_drop_privileges): Call do_exit.
4747 (finish_drop_privileges): Likewise.
4748 * nscd/selinux.c (preserve_capabilities): Likewise.
4749 (install_real_capabilities): Likewise.
4750 (nscd_selinux_enabled): Likewise.
4751 (avc_create_thread): Likewise.
4752 (avc_alloc_lock): Likewise.
4753 (nscd_avc_init): Likewise.
4754 * nscd/nscd.c (parent_fd): New static variable.
4755 (main): Create a pipe between parent and child processes.
4756 Skip closing parent_fd.
4757 (monitor_child): New function.
4758 (do_exit): Likewise.
4759 (notify_parent): Likewise.
4760 * nscd/nscd.h (notify_parent): Likewise.
4761 (do_exit): Likewise.
4763 2014-03-03 Carlos O'Donell <carlos@redhat.com>
4765 * malloc/malloc.c (__libc_calloc): Revert last change.
4767 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4769 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4771 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4773 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
4774 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
4776 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4777 (__libc_ifunc_impl_list): Likewise.
4778 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
4779 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
4780 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
4781 * string/strrchr.c: Define STRRCHR.
4783 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
4785 * benchtest/bench-strtok.c (simple_strtok): Delete.
4786 (strtok_string): Use as benchmark.
4787 * string/strtok (STRTOK): New macro.
4789 2014-02-28 Carlos O'Donell <carlos@redhat.com>
4791 * manual/threads.texi: Add header and standard comments to all
4794 * elf/dl-lookup.c (check_match): New function.
4795 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
4796 (do_lookup_x): Remove nested function check_match. Use non-nested
4797 function check_match.
4799 2014-02-28 Roland McGrath <roland@hack.frob.com>
4801 * csu/Makefile (generated, before-compile): Use += rather than =.
4802 * catgets/Makefile (generated, generated-dirs): Likewise.
4803 * debug/Makefile (generated): Likewise.
4804 * dlfcn/Makefile (generated): Likewise.
4805 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
4806 * iconvdata/Makefile (before-compile, generated): Likewise.
4807 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
4808 * libio/Makefile (generated): Likewise.
4809 * malloc/Makefile (generated): Likewise.
4810 * manual/Makefile (generated, generated-dirs): Likewise.
4811 * misc/Makefile (generated): Likewise.
4812 * posix/Makefile (generated): Likewise.
4813 * resolv/Makefile (generated): Likewise.
4814 * sunrpc/Makefile (generated, generated-dirs): Likewise.
4815 * timezone/Makefile (generated, generated-dirs): Likewise.
4817 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
4819 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4821 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
4822 power8 implementation.
4823 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
4824 file: POWER8 llround ifunc implementation.
4825 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
4826 (__lllround): Add POWER8 implementation.
4827 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
4828 POWER8 llround implementation.
4830 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
4831 power8 implementation.
4832 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
4833 file: POWER8 llrint ifunc implementation.
4834 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
4835 Add POWER8 implementation.
4836 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
4837 POWER8 llrint implementation.
4839 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
4840 power8 implementation.
4841 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
4842 file: POWER8 finite ifunc implementation.
4843 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
4844 Add POWER8 implementation.
4845 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
4847 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
4848 POWER8 finite implementation.
4849 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
4851 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
4852 power8 implementation.
4853 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
4854 file: POWER8 isinf ifunc implementation.
4855 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
4856 POWER8 implementation.
4857 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
4859 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
4860 isinf implementation.
4861 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
4863 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
4864 (INIT_ARCH): Add hwcap2 initialization.
4865 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
4866 power8 implementation.
4867 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
4868 file: POWER8 isnan ifunc implementation.
4869 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
4870 POWER8 implementation.
4871 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
4873 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
4874 isnan implementation.
4875 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
4877 2014-02-27 Joey Ye <joey.ye@arm.com>
4879 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
4880 (_FP_NANFRAC_Q): Set to zero.
4882 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4885 * math/auto-libm-test-in: New test inputs.
4886 * math/auto-libm-test-out: Regenerate.
4887 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
4890 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
4892 2014-02-27 Joseph Myers <joseph@codesourcery.com>
4894 * scripts/evaluate-test.sh: Take new argument indicating whether
4895 failure is expected.
4896 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
4897 indicating whether failure is expected.
4898 * conform/Makefile (test-xfail-run-conformtest): New variable.
4899 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
4901 * posix/Makefile (test-xfail-annexc): New variable.
4902 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
4904 2014-02-26 Joseph Myers <joseph@codesourcery.com>
4906 * argp/Makefile: Include Makeconfig immediately after defining
4908 * assert/Makefile: Likewise.
4909 * benchtests/Makefile: Likewise.
4910 * catgets/Makefile: Likewise.
4911 * conform/Makefile: Likewise.
4912 * crypt/Makefile: Likewise.
4913 * csu/Makefile: Likewise.
4914 (all): Remove target.
4915 * ctype/Makefile: Include Makeconfig immediately after defining
4917 * debug/Makefile: Likewise.
4918 * dirent/Makefile: Likewise.
4919 * dlfcn/Makefile: Likewise.
4920 * gmon/Makefile: Likewise.
4921 * gnulib/Makefile: Likewise.
4922 * grp/Makefile: Likewise.
4923 * gshadow/Makefile: Likewise.
4924 * hesiod/Makefile: Likewise.
4925 * hurd/Makefile: Likewise.
4926 (all): Remove target.
4927 * iconvdata/Makefile: Include Makeconfig immediately after
4929 * inet/Makefile: Likewise.
4930 * intl/Makefile: Likewise.
4931 * io/Makefile: Likewise.
4932 * libio/Makefile: Likewise.
4933 (all): Remove target.
4934 * locale/Makefile: Include Makeconfig immediately after defining
4936 * login/Makefile: Likewise.
4937 * mach/Makefile: Likewise.
4938 (all): Remove target.
4939 * malloc/Makefile: Include Makeconfig immediately after defining
4941 (all): Remove target.
4942 * manual/Makefile: Include Makeconfig immediately after defining
4944 * math/Makefile: Likewise.
4945 * misc/Makefile: Likewise.
4946 * nis/Makefile: Likewise.
4947 * nss/Makefile: Likewise.
4948 * po/Makefile: Likewise.
4949 (all): Remove target.
4950 * posix/Makefile: Include Makeconfig immediately after defining
4952 * pwd/Makefile: Likewise.
4953 * resolv/Makefile: Likewise.
4954 * resource/Makefile: Likewise.
4955 * rt/Makefile: Likewise.
4956 * setjmp/Makefile: Likewise.
4957 * shadow/Makefile: Likewise.
4958 * signal/Makefile: Likewise.
4959 * socket/Makefile: Likewise.
4960 * soft-fp/Makefile: Likewise.
4961 * stdio-common/Makefile: Likewise.
4962 * stdlib/Makefile: Likewise.
4963 * streams/Makefile: Likewise.
4964 * string/Makefile: Likewise.
4965 * sunrpc/Makefile: Likewise.
4966 (all): Remove target.
4967 * sysvipc/Makefile: Include Makeconfig immediately after defining
4969 * termios/Makefile: Likewise.
4970 * time/Makefile: Likewise.
4971 * timezone/Makefile: Likewise.
4972 (all): Remove target.
4973 * wcsmbs/Makefile: Include Makeconfig immediately after defining
4975 * wctype/Makefile: Likewise.
4977 2014-02-26 Steve Ellcey <sellcey@mips.com>
4979 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
4980 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
4981 (libc_feholdexcept_setround_mips): Ditto.
4982 (libc_feholdsetround): New.
4983 (libc_feholdsetroundf): New.
4984 (libc_feholdsetroundl): New.
4985 (libc_feupdateenv_test_mips): New.
4986 (libc_feupdateenv_test): New.
4987 (libc_feupdateenv_testf): New.
4988 (libc_feupdateenv_testl): New.
4989 (libc_feresetround): New.
4990 (libc_feresetroundf): New.
4991 (libc_feresetroundl): New.
4992 (libc_fetestexcept_mips): New.
4993 (libc_fetestexcept): New.
4994 (libc_fetestexceptf): New.
4995 (libc_fetestexceptl): New.
4997 (libc_feholdexcept_setround_mips_ctx): New.
4998 (libc_feholdexcept_setround_ctx): New.
4999 (libc_feholdexcept_setroundf_ctx): New.
5000 (libc_feholdexcept_setroundl_ctx): New.
5001 (libc_fesetenv_mips_ctx): New.
5002 (libc_fesetenv_ctx): New.
5003 (libc_fesetenv_ctxf): New.
5004 (libc_fesetenv_ctxl): New.
5005 (libc_feupdateenv_mips_ctx): New.
5006 (libc_feupdateenv_ctx): New.
5007 (libc_feupdateenvf_ctx): New.
5008 (libc_feupdateenvl_ctx): New.
5009 (libc_feholdsetround_mips_ctx): New.
5010 (libc_feholdsetround_ctx): New.
5011 (libc_feholdsetroundf_ctx): New.
5012 (libc_feholdsetroundl_ctx): New.
5013 (libc_feresetround_mips_ctx): New.
5014 (libc_feresetround_ctx): New.
5015 (libc_feresetroundf_ctx): New.
5016 (libc_feresetroundl_ctx): New.
5018 2014-02-26 Carlos O'Donell <carlos@redhat.com>
5020 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
5022 * manual/ipc.texi: New file.
5023 * manual/Makefile (chapters): Add ipc.
5024 * manual/job.texi: Add "Inter-Process Communication" to next.
5025 * manual/process.texi: Add "Inter-Process Communication" to prev.
5027 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5029 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5031 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
5033 * malloc/malloc.c (__libc_calloc): Simplify implementation.
5035 * manual/arith.texi: Fix spaces after sentences.
5036 * manual/charset.texi: Likewise.
5037 * manual/errno.texi: Likewise.
5038 * manual/install.texi: Likewise.
5039 * manual/llio.texi: Likewise.
5040 * manual/locale.texi: Likewise.
5041 * manual/maint.texi: Likewise.
5042 * manual/math.texi: Likewise.
5043 * manual/memory.texi: Likewise.
5044 * manual/message.texi: Likewise.
5045 * manual/probes.texi: Likewise.
5046 * manual/resource.texi: Likewise.
5047 * manual/signal.texi: Likewise.
5048 * manual/socket.texi: Likewise.
5049 * manual/stdio.texi: Likewise.
5050 * manual/string.texi: Likewise.
5051 * manual/time.texi: Likewise.
5052 * manual/users.texi: Likewise.
5054 2014-02-25 Carlos O'Donell <carlos@redhat.com>
5057 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
5058 _DEFAULT_SOURCE is defined.
5060 2014-02-25 Ulrich Drepper <drepper@gmail.com>
5061 Carlos O'Donell <carlos@redhat.com>
5064 * elf/dl-tls.c (_dl_count_modids): New function.
5065 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
5066 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
5067 audit library and increment generation counter.
5068 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
5069 * elf/tst-audit9.c: New file.
5070 * elf/tst-auditmod9a.c: New file.
5071 * elf/tst-auditmod9b.c: New file.
5072 * elf/Makefile: Add rules to build and run tst-audit9.
5074 2014-02-25 Florian Weimer <fweimer@redhat.com>
5077 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
5079 2014-02-25 Will Newton <will.newton@linaro.org>
5081 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
5082 (__longjmp): Restore sp and lr before restoring callee
5083 saved registers. Add longjmp and longjmp_target
5084 SystemTap probe point.
5085 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
5086 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
5087 Define to zero to match jmpbuf layout.
5088 * sysdeps/arm/setjmp.S: Include stap-probe.h.
5089 (__sigsetjmp): Save sp and lr before saving callee
5090 saved registers. Add setjmp SystemTap probe point.
5092 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
5094 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5096 2014-02-24 Andreas Schwab <schwab@suse.de>
5099 * elf/pldd.c (wait_for_ptrace_stop): New function.
5100 (main): Call it after attaching.
5102 2014-02-22 Roland McGrath <roland@hack.frob.com>
5104 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
5105 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
5106 Versions files is now verboten.
5107 * hurd/Versions (libc: GLIBC_2.0):
5108 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
5109 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
5110 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
5111 * mach/Versions: Likewise.
5113 * csu/Versions: Remove unused %include.
5114 * resolv/Versions: Likewise.
5116 2014-02-21 Joseph Myers <joseph@codesourcery.com>
5118 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
5119 ($(objpfx)check-local-headers.out): Likewise.
5120 ($(objpfx)begin-end-check.out): Likewise.
5121 * Makerules (check-abi-%.out): Likewise.
5122 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
5123 ($(objpfx)test2.cat): Likewise.
5124 ($(objpfx)de/libc.cat): Likewise.
5125 ($(objpfx)test-gencat.out): Likewise.
5126 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
5127 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
5128 ($(objpfx)noload-mem): Likewise.
5129 ($(objpfx)tst-pathopt.out): Likewise.
5130 ($(objpfx)tst-rtld-load-self.out): Likewise.
5131 ($(objpfx)tst-array1-cmp.out): Likewise.
5132 ($(objpfx)tst-array1-static-cmp.out): Likewise.
5133 ($(objpfx)tst-array2-cmp.out): Likewise.
5134 ($(objpfx)tst-array3-cmp.out): Likewise.
5135 ($(objpfx)tst-array4-cmp.out): Likewise.
5136 ($(objpfx)tst-array5-cmp.out): Likewise.
5137 ($(objpfx)tst-array5-static-cmp.out): Likewise.
5138 ($(objpfx)check-textrel.out): Likewise.
5139 ($(objpfx)check-execstack.out): Likewise.
5140 ($(objpfx)check-localplt.out): Likewise.
5141 ($(objpfx)order2-cmp.out): Likewise.
5142 ($(objpfx)tst-leaks1-mem): Likewise.
5143 ($(objpfx)tst-leaks1-static-mem): Likewise.
5144 ($(objpfx)tst-initorder-cmp.out): Likewise.
5145 ($(objpfx)tst-initorder2-cmp.out): Likewise.
5146 ($(objpfx)tst-unused-dep.out): Likewise.
5147 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
5148 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
5149 * iconv/Makefile (test-iconvconfig): Likewise.
5150 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
5151 ($(objpfx)iconv-test.out): Likewise.
5152 ($(objpfx)tst-tables.out): Likewise.
5153 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
5154 ($(objpfx)tst-gettext.out): Likewise.
5155 ($(objpfx)tst-translit.out): Likewise.
5156 ($(objpfx)tst-gettext2.out): Likewise.
5157 ($(objpfx)tst-gettext4.out): Likewise.
5158 ($(objpfx)tst-gettext6.out): Likewise.
5159 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
5160 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
5161 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
5162 ($(objpfx)tst-fopenloc-mem.out): Likewise.
5163 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
5164 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
5165 * posix/Makefile ($(objpfx)globtest.out): Likewise.
5166 ($(objpfx)wordexp-tst.out): Likewise.
5167 ($(objpfx)annexc.out): Likewise.
5168 ($(objpfx)tst-fnmatch-mem): Likewise.
5169 ($(objpfx)bug-regex2-mem): Likewise.
5170 ($(objpfx)bug-regex14-mem): Likewise.
5171 ($(objpfx)bug-regex21-mem): Likewise.
5172 ($(objpfx)bug-regex31-mem): Likewise.
5173 ($(objpfx)tst-vfork3-mem): Likewise.
5174 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
5175 ($(objpfx)tst-pcre-mem): Likewise.
5176 ($(objpfx)tst-boost-mem): Likewise.
5177 ($(objpfx)tst-getconf.out): Likewise.
5178 ($(objpfx)bug-ga2-mem): Likewise.
5179 ($(objpfx)bug-glob2-mem): Likewise.
5180 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
5181 ($(objpfx)mtrace-tst-leaks2): Likewise.
5182 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
5183 ($(objpfx)tst-printf.out): Likewise.
5184 ($(objpfx)tst-setvbuf1.out): Likewise.
5185 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
5186 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
5187 ($(objpfx)tst-fmtmsg.out): Likewise.
5188 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
5189 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
5191 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
5192 * bits/sigaction.h [__USE_MISC]: Likewise.
5193 * bits/waitstatus.h: Update #endif comments.
5194 * ctype/ctype.h: Likewise.
5195 * dirent/dirent.h: Likewise.
5196 [__USE_MISC]: Remove redundant conditionals.
5197 * grp/grp.h: Update #endif comments.
5198 [__USE_GNU]: Remove redundant conditionals.
5199 [__USE_MISC]: Likewise.
5200 * inet/netinet/in.h [__USE_GNU]: Likewise.
5201 * io/sys/stat.h [__USE_MISC]: Likewise.
5202 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
5203 * libio/bits/stdio.h: Update #endif comments.
5204 [__USE_MISC]: Remove redundant conditionals.
5205 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
5206 * libio/stdio.h: Update #endif comments.
5207 [__USE_MISC]: Remove redundant conditionals.
5208 * math/bits/math-finite.h [__USE_MISC]: Likewise.
5209 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
5210 * math/math.h: Update #else and #endif comments.
5211 [__USE_MISC]: Remove redundant conditionals.
5212 * misc/sys/uio.h: Update #endif comments.
5213 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
5214 * posix/glob.h [__USE_MISC]: Likewise.
5215 * posix/sys/types.h: Update #endif comments.
5216 [__USE_MISC]: Remove redundant conditionals.
5217 * posix/sys/wait.h: Update #endif comments.
5218 [__USE_MISC]: Remove redundant conditionals.
5219 * posix/unistd.h: Update #endif comments.
5220 [__USE_MISC]: Remove redundant conditionals.
5221 * pwd/pwd.h [__USE_GNU]: Likewise.
5222 [__USE_MISC]: Likewise.
5223 * resolv/netdb.h [__USE_GNU]: Likewise.
5224 * signal/signal.h: Update #endif comments.
5225 [__USE_MISC]: Remove redundant conditionals.
5226 * stdlib/stdlib.h: Update #else and #endif comments.
5227 [__USE_MISC]: Remove redundant conditionals.
5228 [__USE_GNU]: Likewise.
5229 * string/bits/string2.h [__USE_MISC]: Likewise.
5230 * string/string.h: Update #endif comments.
5231 [__USE_MISC]: Remove redundant conditionals.
5232 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
5234 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
5235 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
5236 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
5238 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
5240 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
5242 [__USE_MISC]: Remove redundant conditionals.
5243 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
5244 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
5245 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
5246 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
5247 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
5249 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
5250 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
5252 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
5253 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
5255 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
5257 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
5258 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
5260 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
5262 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
5263 * sysdeps/x86/bits/string.h: Update #endif comments.
5264 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
5266 * time/sys/time.h: Update #endif comments.
5267 * time/time.h: Likewise.
5268 [__USE_MISC]: Remove redundant conditionals.
5270 2014-02-21 Yury Gribov <y.gribov@samsung.com>
5273 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
5275 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
5277 * Versions.def (librt): Add GLIBC_2.17.
5279 2014-02-21 Adam Conrad <adconrad@0c3.net>
5281 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
5282 synonym for _SYS_AUXV_H to allow direct inclusion.
5283 * sysdeps/sparc/bits/hwcap.h: Likewise.
5284 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
5285 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
5286 * sysdeps/sparc/sysdep.h: Likewise.
5288 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5290 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
5292 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5294 * benchtests/bench-strrchr.c: Print length instead of position.
5296 2014-02-20 Joseph Myers <joseph@codesourcery.com>
5299 * sysdeps/unix/sysv/linux/kernel-features.h
5300 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
5301 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
5302 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
5303 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
5305 [__i386__ || __powerpc__ || __sh__ || __sparc__]
5306 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5307 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
5308 (__ASSUME_SENDMMSG): Define instead of using previous
5309 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
5310 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5311 (__ASSUME_SENDMMSG_SYSCALL): Define.
5312 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5313 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
5315 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5316 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5318 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5319 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5321 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
5322 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
5323 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
5324 [__ASSUME_SENDMMSG]: Change conditionals to
5325 [__ASSUME_SENDMMSG_SOCKETCALL].
5326 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5327 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
5329 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5330 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
5332 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
5333 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
5334 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
5335 [!__ASSUME_SENDMMSG]: Change conditional to
5336 [!__ASSUME_SENDMMSG_SOCKETCALL].
5337 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5338 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5342 * sysdeps/unix/sysv/linux/kernel-features.h
5343 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
5344 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
5345 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
5346 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
5347 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5348 [__i386__ || __sparc__]
5349 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5350 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
5351 (__ASSUME_RECVMMSG): Define instead of using previous
5352 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
5353 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5354 (__ASSUME_RECVMMSG_SYSCALL): Define.
5355 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5356 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5358 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5359 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5361 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5362 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5364 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
5365 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
5366 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
5367 [__ASSUME_RECVMMSG]: Change condition to
5368 [__ASSUME_RECVMMSG_SOCKETCALL].
5369 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5370 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5372 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5373 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5374 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5376 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
5377 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
5378 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
5379 [!__ASSUME_RECVMMSG]: Change condition to
5380 [!__ASSUME_RECVMMSG_SOCKETCALL].
5381 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5382 (__ASSUME_RECVMMSG_SYSCALL): Define.
5385 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
5386 __powerpc__ || __s390__ || __sh__ || __sparc__]
5387 (__ASSUME_SOCKETCALL): Define.
5388 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
5389 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
5390 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
5391 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
5392 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5393 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
5394 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
5395 (__ASSUME_ACCEPT4): Define instead of using previous
5396 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
5397 __powerpc__ || __sparc__ || __s390__)] condition.
5398 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5399 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
5400 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
5401 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
5402 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
5403 [!__ASSUME_ACCEPT4]: Change condition to
5404 [!__ASSUME_ACCEPT4_SOCKETCALL].
5405 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5406 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
5407 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
5408 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5409 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
5410 __ASSUME_ACCEPT4_SYSCALL.
5411 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
5412 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
5413 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5414 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
5415 __ASSUME_ACCEPT4_SYSCALL.
5416 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
5417 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
5418 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
5419 [__ASSUME_ACCEPT4]: Change condition to
5420 [__ASSUME_ACCEPT4_SOCKETCALL].
5421 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5422 (__ASSUME_SOCKETCALL): Define.
5423 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
5424 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5425 (__ASSUME_SOCKETCALL): Define.
5426 (__ASSUME_ACCEPT4): Remove.
5427 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
5429 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5430 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
5432 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5433 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
5435 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
5437 (HWCAP_ARM_LPAE): Likewise.
5438 (HWCAP_ARM_EVTSTRM): Likewise.
5439 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
5440 Add vpfd32, lpae and evtstrm.
5441 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
5444 2014-02-19 Joseph Myers <joseph@codesourcery.com>
5446 * math/auto-libm-test-in: Add tests of clog10.
5447 * math/auto-libm-test-out: Regenerated.
5448 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
5449 * sysdeps/i386/fpu/libm-test-ulps: Update.
5450 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5452 2014-02-18 Andreas Schwab <schwab@suse.de>
5455 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
5456 Store non-zero if the second buffer was newly allocated.
5457 (send_dg): Likewise.
5458 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
5459 to send_vc and send_dg.
5460 (res_nsend): Pass NULL for ansp2_malloced.
5461 * resolv/res_query.c (__libc_res_nquery): Add parameter
5462 answerp2_malloced and pass it down to __libc_res_nsend.
5463 (res_nquery): Pass additional NULL to __libc_res_nquery.
5464 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
5465 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
5466 second answer buffer if answerp2_malloced was set.
5467 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
5468 (__libc_res_nquerydomain): Add parameter
5469 answerp2_malloced and pass it down to __libc_res_nquery.
5470 (res_nquerydomain): Pass additional NULL to
5471 __libc_res_nquerydomain.
5472 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
5473 additional NULL to __libc_res_nsend and __libc_res_nquery.
5474 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
5475 additional NULL to __libc_res_nsearch.
5476 (_nss_dns_gethostbyname4_r): Revert last change. Use new
5477 parameter of __libc_res_nsearch to check for separately allocated
5479 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
5481 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
5482 additional NULL to __libc_res_nquery.
5483 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
5485 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
5486 * include/resolv.h: Update prototypes of __libc_res_nquery,
5487 __libc_res_nsearch, __libc_res_nsend.
5489 2014-02-18 Joseph Myers <joseph@codesourcery.com>
5491 * math/auto-libm-test-in: Add tests of fma.
5492 * math/auto-libm-test-out: Regenerated.
5493 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
5494 (fma_towardzero_test_data): Likewise.
5495 (fma_downward_test_data): Likewise.
5496 (fma_upward_test_data): Likewise.
5497 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
5499 (rounding_modes): Add values for new field.
5500 (func_calc_method): Add value mpfr_fff_f.
5501 (func_calc_desc): Add mpfr_fff_f union field.
5502 (test_function): Add field exact_args.
5503 (FUNC): Add macro argument EXACT_ARGS.
5504 (FUNC_mpfr_f_f): Update call to FUNC.
5505 (FUNC_mpfr_f_f): Likewise.
5506 (FUNC_mpfr_ff_f): Likewise.
5507 (FUNC_mpfr_if_f): Likewise.
5508 (FUNC_mpc_c_f): Likewise.
5509 (FUNC_mpc_c_c): Likewise.
5510 (test_functions): Add fma. Update calls to FUNC.
5511 (handle_input_arg): Add argument exact_args.
5512 (add_test): Update call to handle_input_arg.
5513 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
5514 (output_for_one_input_case): Update call to calc_generic_results.
5515 Recalculate exact zero results in each rounding mode.
5517 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
5518 non-negative before setting low bit.
5519 * math/auto-libm-test-in: Mark one asin test possibly having
5521 * math/auto-libm-test-out: Regenerated.
5522 * sysdeps/i386/fpu/libm-test-ulps: Update.
5523 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5525 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
5527 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
5528 * sysdeps/unix/sysv/linux/microblaze: Move directory from
5529 ports/sysdeps/unix/sysv/linux/microblaze.
5530 * README: Add missing listing for microblaze*-*-linux-gnu.
5532 2014-02-16 Mike Frysinger <vapier@gentoo.org>
5534 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
5535 * sysdeps/unix/sysv/linux/ia64: Move directory from
5536 ports/sysdeps/unix/sysv/linux/ia64.
5537 * README: Update listing for ia64-*-linux-gnu.
5539 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
5540 Joseph Myers <joseph@codesourcery.com>
5542 * Makeconfig (test-name): New variable.
5543 (evaluate-test): Likewise.
5544 * Makerules (do-test-clean): Remove .test-result files.
5545 (common-mostlyclean): Likewise.
5546 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
5547 * scripts/evaluate-test.sh: New file.
5549 2014-02-14 Joseph Myers <joseph@codesourcery.com>
5551 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
5552 separate $(objpfx)tst-fopenloc-cmp.out and
5553 $(objpfx)tst-fopenloc-mem.out targets.
5554 (tests): Update dependencies.
5555 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
5556 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
5557 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
5558 (tst-rxspencer-no-utf8-ARGS): New variable.
5559 (tst-rxspencer-no-utf8-ENV): Likewise.
5560 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
5561 instead of $(objpfx)tst-rxspencer-mem.
5562 ($(objpfx)tst-rxspencer-mem): Change target to
5563 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
5564 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
5565 * posix/tst-rxspencer-no-utf8.c: New file.
5567 * elf/Makefile ($(objpfx)order.out): Remove rule.
5568 [$(run-built-tests) = yes] (tests): Depend on
5569 $(objpfx)order-cmp.out.
5570 ($(objpfx)order-cmp.out): New rule.
5571 [$(run-built-tests) = yes] (tests): Depend on
5572 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
5573 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
5574 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
5575 $(objpfx)tst-array5-static-cmp.out.
5576 ($(objpfx)tst-array1.out): Remove rule.
5577 ($(objpfx)tst-array1-cmp.out): New rule.
5578 ($(objpfx)tst-array1-static.out): Remove rule.
5579 ($(objpfx)tst-array1-static-cmp.out): New rule.
5580 ($(objpfx)tst-array2.out): Remove rule.
5581 ($(objpfx)tst-array2-cmp.out): New rule.
5582 ($(objpfx)tst-array3.out): Remove rule.
5583 ($(objpfx)tst-array3-cmp.out): New rule.
5584 ($(objpfx)tst-array4.out): Remove rule.
5585 ($(objpfx)tst-array4-cmp.out): New rule.
5586 ($(objpfx)tst-array5.out): Remove rule.
5587 ($(objpfx)tst-array5-cmp.out): New rule.
5588 ($(objpfx)tst-array5-static.out): Remove rule.
5589 ($(objpfx)tst-array5-static-cmp.out): New rule.
5590 [$(run-built-tests) = yes] (tests): Depend on
5591 $(objpfx)order2-cmp.out.
5592 ($(objpfx)order2.out): Remove rule.
5593 ($(objpfx)order2-cmp.out): New rule.
5594 ($(objpfx)tst-initorder.out): Remove rule.
5595 [$(run-built-tests) = yes] (tests): Depend on
5596 $(objpfx)tst-initorder-cmp.out.
5597 ($(objpfx)tst-initorder-cmp.out): New rule.
5598 ($(objpfx)tst-initorder2.out): Remove rule.
5599 [$(run-built-tests) = yes] (tests): Depend on
5600 $(objpfx)tst-initorder2-cmp.out.
5601 ($(objpfx)tst-initorder2-cmp.out): New rule.
5602 [$(run-built-tests) = yes] (tests): Depend on
5603 $(objpfx)tst-unused-dep-cmp.out.
5604 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
5605 ($(objpfx)tst-unused-dep-cmp.out): New rule.
5606 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
5607 on $(objpfx)tst-setvbuf1-cmp.out.
5608 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
5609 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
5610 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
5611 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
5612 ($(objpfx)tst-svc.out): Remove rule.
5613 ($(objpfx)tst-svc-cmp.out): New rule.
5615 2014-02-13 Joseph Myers <joseph@codesourcery.com>
5617 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
5618 * ctype/ctype.h [__USE_MISC]: Likewise.
5619 * dirent/dirent.h [__USE_MISC]: Likewise.
5620 * grp/grp.h [__USE_MISC]: Likewise.
5621 * io/fcntl.h [__USE_MISC]: Likewise.
5622 * io/sys/stat.h [__USE_MISC]: Likewise.
5623 * libio/stdio.h [__USE_MISC]: Likewise.
5624 * posix/unistd.h [__USE_MISC]: Likewise.
5625 * pwd/pwd.h [__USE_MISC]: Likewise.
5626 * stdlib.h [__USE_MISC]: Likewise.
5627 * string/bits/string2.h [__USE_MISC]: Likewise.
5628 * string/string.h [__USE_MISC]: Likewise.
5629 * time/time.h [__USE_MISC]: Likewise.
5631 2014-02-13 Andreas Schwab <schwab@suse.de>
5634 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
5635 second answer buffer if it was separately allocated.
5637 2014-02-12 Joseph Myers <joseph@codesourcery.com>
5639 * sysdeps/mips/math-tests.h: Include <features.h>.
5640 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
5641 (ROUNDING_TESTS_long_double): Do not define.
5642 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
5643 (EXCEPTION_TESTS_long_double): Likewise.
5644 * sysdeps/mips/mips64/libm-test-ulps: Update.
5646 * include/features.h (__USE_BSD): Remove macro definitions.
5647 (__USE_SVID): Likewise.
5648 (_BSD_SOURCE): Likewise.
5649 (_SVID_SOURCE): Likewise.
5650 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
5651 from definition of _DEFAULT_SOURCE.
5652 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
5654 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
5655 * bits/mman.h [__USE_BSD]: Likewise.
5656 * bits/termios.h [__USE_BSD]: Likewise.
5657 * bits/waitstatus.h [__USE_BSD]: Likewise.
5658 * ctype/ctype.h [__USE_SVID]: Likewise.
5659 * dirent/dirent.h [__USE_BSD]: Likewise.
5660 * grp/grp.h [__USE_SVID]: Likewise.
5661 [__USE_BSD]: Likewise.
5662 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
5663 * io/fcntl.h [__USE_BSD]: Likewise.
5664 * io/ftw.h [__USE_BSD]: Likewise.
5665 * io/sys/stat.h [__USE_BSD]: Likewise.
5666 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
5667 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
5668 * libio/stdio.h [__USE_SVID]: Likewise.
5669 [__USE_BSD]: Likewise.
5670 * math/math.h [__USE_SVID]: Likewise.
5671 [__USE_BSD]: Likewise.
5672 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
5673 * misc/bits/syslog.h [__USE_BSD]: Likewise.
5674 * misc/search.h [__USE_SVID]: Likewise.
5675 * misc/sys/mman.h [__USE_BSD]: Likewise.
5676 * misc/sys/syslog.h [__USE_BSD]: Likewise.
5677 * misc/sys/uio.h [__USE_BSD]: Likewise.
5678 * posix/bits/unistd.h [__USE_BSD]: Likewise.
5679 * posix/glob.h [__USE_BSD]: Likewise.
5680 * posix/regex.h [__USE_BSD]: Likewise.
5681 * posix/sys/types.h [__USE_BSD]: Likewise.
5682 [__USE_SVID]: Likewise.
5683 * posix/sys/utsname.h [__USE_SVID]: Likewise.
5684 * posix/sys/wait.h [__USE_BSD]: Likewise.
5685 [__USE_SVID]: Likewise.
5686 * posix/unistd.h [__USE_BSD]: Likewise.
5687 [__USE_SVID]: Likewise.
5688 * pwd/pwd.h [__USE_SVID]: Likewise.
5689 * resolv/netdb.h [__USE_BSD]: Likewise.
5690 * setjmp/setjmp.h [__USE_BSD]: Likewise.
5691 * signal/signal.h [__USE_BSD]: Likewise.
5692 [__USE_SVID]: Likewise.
5693 * socket/sys/socket.h [__USE_BSD]: Likewise.
5694 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
5695 * stdlib/stdlib.h [__USE_BSD]: Likewise.
5696 [__USE_SVID]: Likewise.
5697 * string/bits/string2.h [__USE_BSD]: Likewise.
5698 [__USE_SVID]: Likewise.
5699 * string/bits/string3.h [__USE_BSD]: Likewise.
5700 * string/endian.h [__USE_BSD]: Likewise.
5701 * string/string.h [__USE_SVID]: Likewise.
5702 [__USE_BSD]: Likewise.
5703 * string/strings.h [__USE_BSD]: Likewise.
5704 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
5705 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
5706 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
5707 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
5708 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
5709 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
5711 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
5713 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
5714 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
5716 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
5717 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
5719 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
5721 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
5722 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
5723 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
5725 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
5727 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
5728 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
5729 * termios/termios.h [__USE_BSD]: Likewise.
5730 * time/sys/time.h [__USE_BSD]: Likewise.
5731 * time/time.h [__USE_BSD]: Likewise.
5732 [__USE_SVID]: Likewise.
5734 * Makefile (subdir_targets): Remove subdir_lint.out.
5736 * stdio-common/Makefile (do-tst-unbputc): Remove target.
5737 (do-tst-printf): Likewise.
5738 (tests): Depend directly on $(objpfx)tst-unbputc.out and
5739 $(objpfx)tst-printf.out.
5741 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
5743 * Makerules (check-abi-%): Change target to
5744 $(objpfx)check-abi-%.out.
5745 (check-abi target): Update dependencies.
5746 (check-abi-pattern variable): Redirect output of diff to $@.
5747 (check-abi variable): Likewise.
5748 * elf/Makefile (check-abi): Update dependencies.
5750 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
5752 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
5753 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
5755 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
5756 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
5757 value has largest subnormal exponent.
5758 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
5759 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
5760 * sysdeps/aarch64/soft-fp/sfp-machine.h
5761 (_FP_TININESS_AFTER_ROUNDING): New macro.
5762 * sysdeps/alpha/soft-fp/sfp-machine.h
5763 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5764 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5766 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
5767 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5768 * sysdeps/mips/soft-fp/sfp-machine.h
5769 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5770 * sysdeps/powerpc/soft-fp/sfp-machine.h
5771 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5772 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5774 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
5775 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5776 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
5777 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5778 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5781 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
5784 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
5787 2014-02-12 Richard Henderson <rth@redhat.com>
5789 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
5790 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
5791 * sysdeps/unix/sysv/linux/alpha: Move directory from
5792 ports/sysdeps/unix/sysv/linux/alpha.
5793 * README: Update listing for alpha-*-linux-gnu.
5795 2014-02-11 Joseph Myers <joseph@codesourcery.com>
5797 * include/features.h: Update comment documenting feature test
5799 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
5801 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
5802 (_SVID_SOURCE): Likewise.
5803 (_DEFAULT_SOURCE): Update description of default features.
5804 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
5806 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
5807 (S_ISVTX): Likewise.
5808 * manual/math.texi (Mathematical Constants): Likewise.
5809 * manual/signal.texi (Interrupted Primitives): Likewise.
5810 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
5811 * math/test-matherr.c (_SVID_SOURCE): Do not define.
5812 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
5813 Don't refer to _SVID_SOURCE in warning text.
5815 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5817 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
5819 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
5820 * sysdeps/mips/dl-lookup.c: Remove.
5821 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
5823 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
5826 * math/auto-libm-test-in: Add testcase for expl.
5827 * math/auto-libm-test-out: Regenerate.
5828 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
5829 calculation of unsafe.
5830 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
5832 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
5834 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
5835 * sysdeps/unix/sysv/linux/aarch64: Move directory from
5836 ports/sysdeps/unix/sysv/linux/aarch64.
5837 * README: Update listing for aarch64*-*-linux-gnu.
5839 2014-02-11 Will Newton <will.newton@linaro.org>
5841 * manual/probes.texi (Mathematical Function Probes): Use
5842 "triggered" instead of "hit".
5844 * manual/probes.texi (Internal Probes): Add documentation
5845 of setjmp, longjmp and longjmp_target probes.
5847 * include/stap-probe.h: Add comment about probe argument
5850 * malloc/mtrace.c (attribute_hidden): Remove unused macro
5851 definition. (tr_where, tr_freehook, tr_mallochook,
5852 tr_reallochook, tr_memalignhook): Use ANSI protoype.
5854 2014-02-11 David S. Miller <davem@davemloft.net>
5856 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
5857 processing int_tests.
5859 2014-02-10 Joseph Myers <joseph@codesourcery.com>
5861 * sysdeps/mips: Move directory from ports/sysdeps/mips.
5862 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
5863 * sysdeps/unix/sysv/linux/mips: Move directory from
5864 ports/sysdeps/unix/sysv/linux/mips.
5865 * README: Update listing for mips-*-linux-gnu and
5868 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
5870 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
5871 * sysdeps/unix/sysv/linux/m68k: Move directory from
5872 ports/sysdeps/unix/sysv/linux/m68k.
5873 * README: Update listing for m68k-*-linux-gnu.
5875 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
5877 * sysdeps/tile: Move directory from ports/sysdeps/tile.
5878 * sysdeps/unix/sysv/linux/generic: Move directory from
5879 ports/sysdeps/unix/sysv/linux/generic.
5880 * sysdeps/unix/sysv/linux/tile: Move directory from
5881 ports/sysdeps/unix/sysv/linux/tile.
5882 * README: Update listing for tile*-*-linux-gnu.
5884 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
5886 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
5888 * benchtests/bench-memmem.c (simple_memmem): Likewise.
5889 * catgets/open_catalog.c (__open_catalog): Likewise.
5890 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
5891 * debug/confstr_chk.c: Likewise.
5892 * debug/fread_chk.c (__fread_chk): Likewise.
5893 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
5894 * debug/getgroups_chk.c: Likewise.
5895 * debug/mbsnrtowcs_chk.c: Likewise.
5896 * debug/mbsrtowcs_chk.c: Likewise.
5897 * debug/mbstowcs_chk.c: Likewise.
5898 * debug/memcpy_chk.c: Likewise.
5899 * debug/memmove_chk.c: Likewise.
5900 * debug/mempcpy_chk.c: Likewise.
5901 * debug/memset_chk.c: Likewise.
5902 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
5903 * debug/strcat_chk.c (__strcat_chk): Likewise.
5904 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
5905 * debug/strncat_chk.c (__strncat_chk): Likewise.
5906 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
5907 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
5908 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
5909 * debug/wcpncpy_chk.c: Likewise.
5910 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
5911 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
5912 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
5913 * debug/wcsncpy_chk.c: Likewise.
5914 * debug/wcsnrtombs_chk.c: Likewise.
5915 * debug/wcsrtombs_chk.c: Likewise.
5916 * debug/wcstombs_chk.c: Likewise.
5917 * debug/wmemcpy_chk.c: Likewise.
5918 * debug/wmemmove_chk.c: Likewise.
5919 * debug/wmempcpy_chk.c: Likewise.
5920 * debug/wmemset_chk.c: Likewise.
5921 * dirent/scandirat.c (SCANDIRAT): Likewise.
5922 * dlfcn/dladdr1.c (dladdr1): Likewise.
5923 * dlfcn/dladdr.c (dladdr): Likewise.
5924 * dlfcn/dlclose.c (dlclose_doit): Likewise.
5925 * dlfcn/dlerror.c (__dlerror): Likewise.
5926 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
5927 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
5928 * dlfcn/dlopen.c (dlopen_doit): Likewise.
5929 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
5930 * dlfcn/dlsym.c (dlsym_doit): Likewise.
5931 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
5932 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
5933 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
5935 * elf/dl-conflict.c: Likewise.
5936 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
5937 * elf/dl-dst.h: Likewise.
5938 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
5939 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
5940 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
5941 * elf/dl-init.c (call_init, _dl_init): Likewise.
5942 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
5943 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
5944 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
5946 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
5948 * elf/dl-minimal.c (__libc_memalign): Likewise.
5949 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
5950 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
5951 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
5952 * elf/dl-sym.c (do_sym): Likewise.
5953 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
5954 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
5955 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
5956 * elf/dl-writev.h (_dl_writev): Likewise.
5957 * elf/ldconfig.c (search_dir): Likewise.
5958 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
5959 (dl_main): Likewise.
5960 * elf/setup-vdso.h (setup_vdso): Likewise.
5961 * grp/compat-initgroups.c (compat_call): Likewise.
5962 * grp/fgetgrent.c (fgetgrent): Likewise.
5963 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
5964 * grp/putgrent.c (putgrent): Likewise.
5965 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
5967 * hurd/hurdinit.c: Likewise.
5968 * iconvdata/8bit-gap.c (struct): Likewise.
5969 * iconvdata/ansi_x3.110.c : Likewise.
5970 * iconvdata/big5.c : Likewise.
5971 * iconvdata/big5hkscs.c : Likewise.
5972 * iconvdata/cp1255.c: Likewise.
5973 * iconvdata/cp1258.c : Likewise.
5974 * iconvdata/cp932.c : Likewise.
5975 * iconvdata/euc-cn.c: Likewise.
5976 * iconvdata/euc-jisx0213.c : Likewise.
5977 * iconvdata/euc-jp.c: Likewise.
5978 * iconvdata/euc-jp-ms.c : Likewise.
5979 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
5980 * iconvdata/gb18030.c : Likewise.
5981 * iconvdata/gbbig5.c (const): Likewise.
5982 * iconvdata/gbgbk.c: Likewise.
5983 * iconvdata/gbk.c : Likewise.
5984 * iconvdata/ibm1364.c : Likewise.
5985 * iconvdata/ibm930.c : Likewise.
5986 * iconvdata/ibm932.c: Likewise.
5987 * iconvdata/ibm933.c : Likewise.
5988 * iconvdata/ibm935.c : Likewise.
5989 * iconvdata/ibm937.c : Likewise.
5990 * iconvdata/ibm939.c : Likewise.
5991 * iconvdata/ibm943.c: Likewise.
5992 * iconvdata/iso_11548-1.c: Likewise.
5993 * iconvdata/iso-2022-cn.c : Likewise.
5994 * iconvdata/iso-2022-cn-ext.c : Likewise.
5995 * iconvdata/iso-2022-jp-3.c: Likewise.
5996 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
5997 * iconvdata/iso-2022-kr.c : Likewise.
5998 * iconvdata/iso646.c (gconv_end): Likewise.
5999 * iconvdata/iso_6937-2.c : Likewise.
6000 * iconvdata/iso_6937.c : Likewise.
6001 * iconvdata/iso8859-1.c: Likewise.
6002 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
6003 * iconvdata/shift_jisx0213.c : Likewise.
6004 * iconvdata/sjis.c : Likewise.
6005 * iconvdata/t.61.c : Likewise.
6006 * iconvdata/tcvn5712-1.c : Likewise.
6007 * iconvdata/tscii.c: Likewise.
6008 * iconvdata/uhc.c : Likewise.
6009 * iconvdata/unicode.c (gconv_end): Likewise.
6010 * iconvdata/utf-16.c (gconv_end): Likewise.
6011 * iconvdata/utf-32.c (gconv_end): Likewise.
6012 * iconvdata/utf-7.c (base64): Likewise.
6013 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
6014 * iconv/gconv_close.c (__gconv_close): Likewise.
6015 * iconv/gconv_open.c (__gconv_open): Likewise.
6016 * iconv/gconv_simple.c (internal_ucs4_loop_single)
6017 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
6018 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
6019 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
6020 (ucs4le_internal_loop_single): Likewise.
6021 * iconv/iconv.c (iconv): Likewise.
6022 * iconv/iconv_close.c: Likewise.
6023 * iconv/loop.c (SINGLE): Likewise.
6024 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
6025 * include/atomic.h: Likewise.
6026 * inet/inet6_option.c (option_alloc): Likewise.
6027 * intl/bindtextdom.c (set_binding_values): Likewise.
6028 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
6029 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
6030 * intl/localealias.c (read_alias_file): Likewise.
6031 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
6032 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
6033 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
6034 * libio/fmemopen.c (fmemopen): Likewise.
6035 * libio/iofgets.c (_IO_fgets): Likewise.
6036 * libio/iofgets_u.c (fgets_unlocked): Likewise.
6037 * libio/iofgetws.c (fgetws): Likewise.
6038 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
6039 * libio/iogetdelim.c (_IO_getdelim): Likewise.
6040 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
6041 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
6042 * locale/findlocale.c (_nl_find_locale): Likewise.
6043 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
6044 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
6046 * locale/setlocale.c (setlocale): Likewise.
6047 * login/programs/pt_chown.c (main): Likewise.
6048 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
6049 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
6050 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
6051 (mmap, mmap64, mremap, munmap): Likewise.
6052 * math/e_exp2l.c: Likewise.
6053 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
6054 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
6055 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
6056 * math/s_catan.c (__catan): Likewise.
6057 * math/s_catanf.c (__catanf): Likewise.
6058 * math/s_catanh.c (__catanh): Likewise.
6059 * math/s_catanhf.c (__catanhf): Likewise.
6060 * math/s_catanhl.c (__catanhl): Likewise.
6061 * math/s_catanl.c (__catanl): Likewise.
6062 * math/s_ccosh.c (__ccosh): Likewise.
6063 * math/s_ccoshf.c (__ccoshf): Likewise.
6064 * math/s_ccoshl.c (__ccoshl): Likewise.
6065 * math/s_cexp.c (__cexp): Likewise.
6066 * math/s_cexpf.c (__cexpf): Likewise.
6067 * math/s_cexpl.c (__cexpl): Likewise.
6068 * math/s_clog10.c (__clog10): Likewise.
6069 * math/s_clog10f.c (__clog10f): Likewise.
6070 * math/s_clog10l.c (__clog10l): Likewise.
6071 * math/s_clog.c (__clog): Likewise.
6072 * math/s_clogf.c (__clogf): Likewise.
6073 * math/s_clogl.c (__clogl): Likewise.
6074 * math/s_csin.c (__csin): Likewise.
6075 * math/s_csinf.c (__csinf): Likewise.
6076 * math/s_csinh.c (__csinh): Likewise.
6077 * math/s_csinhf.c (__csinhf): Likewise.
6078 * math/s_csinhl.c (__csinhl): Likewise.
6079 * math/s_csinl.c (__csinl): Likewise.
6080 * math/s_csqrt.c (__csqrt): Likewise.
6081 * math/s_csqrtf.c (__csqrtf): Likewise.
6082 * math/s_csqrtl.c (__csqrtl): Likewise.
6083 * math/s_ctan.c (__ctan): Likewise.
6084 * math/s_ctanf.c (__ctanf): Likewise.
6085 * math/s_ctanh.c (__ctanh): Likewise.
6086 * math/s_ctanhf.c (__ctanhf): Likewise.
6087 * math/s_ctanhl.c (__ctanhl): Likewise.
6088 * math/s_ctanl.c (__ctanl): Likewise.
6089 * math/w_pow.c: Likewise.
6090 * math/w_powf.c: Likewise.
6091 * math/w_powl.c: Likewise.
6092 * math/w_scalb.c (sysv_scalb): Likewise.
6093 * math/w_scalbf.c (sysv_scalbf): Likewise.
6094 * math/w_scalbl.c (sysv_scalbl): Likewise.
6095 * misc/error.c (error_tail): Likewise.
6096 * misc/pselect.c (__pselect): Likewise.
6097 * nis/nis_callback.c (__nis_create_callback): Likewise.
6098 * nis/nis_call.c (__nisfind_server): Likewise.
6099 * nis/nis_creategroup.c (nis_creategroup): Likewise.
6100 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
6101 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
6102 * nis/nis_getservlist.c (nis_getservlist): Likewise.
6103 * nis/nis_lookup.c (nis_lookup): Likewise.
6104 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
6105 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
6106 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
6107 * nis/nis_xdr.c (xdr_endpoint): Likewise.
6108 * nis/nss_compat/compat-grp.c (getgrent_next_file)
6109 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
6110 * nis/nss_compat/compat-initgroups.c (add_group)
6111 (internal_getgrent_r): Likewise.
6112 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
6113 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
6114 * nis/nss_compat/compat-spwd.c (getspent_next_file)
6115 (internal_getspnam_r): Likewise.
6116 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
6117 (_nss_nis_getaliasbyname_r): Likewise.
6118 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
6119 (_nss_nis_getntohost_r): Likewise.
6120 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
6121 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
6122 (_nss_nis_getgrgid_r): Likewise.
6123 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
6124 (internal_nis_gethostent_r, internal_gethostbyname2_r)
6125 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
6126 (_nss_nis_gethostbyname4_r): Likewise.
6127 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
6128 (initgroups_netid): Likewise.
6129 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
6130 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
6131 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
6132 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
6133 (_nss_nis_getprotobynumber_r): Likewise.
6134 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
6135 (_nss_nis_getsecretkey): Likewise.
6136 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
6137 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
6138 (_nss_nis_getpwuid_r): Likewise.
6139 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
6140 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
6141 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
6142 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
6143 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
6144 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
6145 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
6147 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
6148 (_nss_nisplus_getntohost_r): Likewise.
6149 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
6150 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
6151 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
6152 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
6154 * nis/nss_nisplus/nisplus-initgroups.c
6155 (_nss_nisplus_initgroups_dyn): Likewise.
6156 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
6157 (_nss_nisplus_getnetbyaddr_r): Likewise.
6158 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
6159 (_nss_nisplus_getprotobynumber_r): Likewise.
6160 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
6161 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
6162 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
6164 * nis/nss_nisplus/nisplus-service.c
6165 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
6166 (_nss_nisplus_getservbyport_r): Likewise.
6167 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
6168 (_nss_nisplus_getspnam_r): Likewise.
6169 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
6171 * nscd/aicache.c (addhstaiX): Likewise.
6172 * nscd/cache.c (cache_search, prune_cache): Likewise.
6173 * nscd/connections.c (register_traced_file, send_ro_fd)
6174 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
6175 (main_loop_epoll): Likewise.
6176 * nscd/grpcache.c (addgrbyX): Likewise.
6177 * nscd/hstcache.c (addhstbyX): Likewise.
6178 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6179 * nscd/mem.c (gc, mempool_alloc): Likewise.
6180 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
6181 (addinnetgrX): Likewise.
6182 * nscd/nscd-client.h (__nscd_acquire_maplock)
6183 (__nscd_drop_map_ref): Likewise.
6184 * nscd/nscd_getai.c (__nscd_getai): Likewise.
6185 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
6186 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
6188 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
6189 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
6190 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
6191 (__nscd_get_map_ref): Likewise.
6192 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
6193 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
6195 * nscd/pwdcache.c (addpwbyX): Likewise.
6196 * nscd/selinux.c (preserve_capabilities): Likewise.
6197 * nscd/servicescache.c (addservbyX): Likewise.
6198 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
6199 * posix/fnmatch.c (fnmatch): Likewise.
6200 * posix/getopt.c (_getopt_internal_r): Likewise.
6201 * posix/glob.c (glob, glob_in_dir): Likewise.
6202 * posix/wordexp.c (exec_comm_child): Likewise.
6203 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
6204 (getanswer_r, gaih_getanswer_slice): Likewise.
6205 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
6206 * resolv/res_init.c: Likewise.
6207 * resolv/res_mkquery.c (res_nmkquery): Likewise.
6208 * resolv/res_query.c (__libc_res_nquery): Likewise.
6209 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
6211 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
6212 * stdio-common/perror.c (perror): Likewise.
6213 * stdio-common/printf_fp.c (___printf_fp): Likewise.
6214 * stdio-common/tmpnam.c (tmpnam): Likewise.
6215 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
6216 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
6217 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
6219 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
6220 * stdlib/putenv.c (putenv): Likewise.
6221 * stdlib/setenv.c (__add_to_environ): Likewise.
6222 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
6223 * stdlib/strtol_l.c (INTERNAL): Likewise.
6224 * string/memmem.c (memmem): Likewise.
6225 * string/strerror.c (strerror): Likewise.
6226 * string/strnlen.c (__strnlen): Likewise.
6227 * string/test-memmem.c (simple_memmem): Likewise.
6228 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
6229 * sunrpc/pm_getport.c (__get_socket): Likewise.
6230 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
6231 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
6232 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
6233 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
6235 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
6236 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
6237 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
6238 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
6239 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
6240 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
6242 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
6244 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
6245 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
6246 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6247 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
6248 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
6249 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
6250 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
6251 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
6252 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
6253 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
6254 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
6255 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
6257 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
6259 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
6261 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
6262 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
6263 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
6264 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
6265 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
6266 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
6267 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
6268 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
6269 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
6270 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
6271 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
6272 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6273 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
6274 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
6275 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6276 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
6278 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
6280 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
6282 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
6284 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6285 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6286 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
6288 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
6289 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
6290 * sysdeps/posix/opendir.c (__opendirat): Likewise.
6291 * sysdeps/posix/sleep.c: Likewise.
6292 * sysdeps/posix/tempname.c: Likewise.
6293 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
6294 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
6296 * sysdeps/powerpc/powerpc32/dl-machine.h
6297 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
6298 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
6299 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
6300 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
6301 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
6303 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
6304 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
6305 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
6306 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
6307 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
6308 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
6309 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
6310 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
6311 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6312 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
6313 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
6314 (elf_machine_lazy_rel): Likewise.
6315 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
6316 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
6317 (elf_machine_lazy_rel): Likewise.
6318 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
6319 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
6320 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
6321 * sysdeps/unix/grantpt.c (grantpt): Likewise.
6322 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
6323 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
6324 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
6325 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6327 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
6328 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
6329 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
6330 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
6331 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
6332 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
6333 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
6334 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
6335 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
6336 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
6337 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
6339 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
6340 (__posix_fallocate64_l64): Likewise.
6341 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
6342 (posix_fallocate): Likewise.
6343 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
6345 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6346 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
6347 (getifaddrs_internal): Likewise.
6348 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
6349 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
6350 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
6351 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
6352 * sysdeps/unix/sysv/linux/posix_fallocate64.c
6353 (__posix_fallocate64_l64): Likewise.
6354 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
6356 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
6357 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
6358 (__get_clockfreq): Likewise.
6359 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
6360 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
6361 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
6362 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6363 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6364 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
6365 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
6366 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
6368 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
6369 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
6370 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
6371 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
6372 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
6373 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
6374 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
6376 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
6377 (posix_fallocate): Likewise.
6378 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6379 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
6380 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
6381 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
6382 (elf_machine_rela, elf_machine_rela_relative)
6383 (elf_machine_lazy_rel): Likewise.
6384 * time/asctime.c (asctime_internal): Likewise.
6385 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
6386 * time/tzset.c (__tzset_parse_tz): Likewise.
6387 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
6388 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
6389 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
6390 * wcsmbs/wcsmbsload.h: Likewise.
6393 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
6395 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
6396 (arena_get2): Remove THREAD_STATS conditionals.
6397 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
6398 (__malloc_stats, int): Likewise.
6400 2014-02-08 Mike Frysinger <vapier@gentoo.org>
6402 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
6403 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
6405 * manual/setjmp.texi: Fix typos/grammar errors.
6407 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
6408 Only return early when n is <= 0. Delete unused return statement.
6410 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
6411 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
6412 * debug/tst-longjmp_chk3.c: New file.
6414 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
6415 (test_main): Replace code with set_fortify_handler call.
6416 * debug/test-strcpy_chk.c: Likewise.
6417 * debug/tst-chk1.c: Likewise.
6418 * debug/tst-longjmp_chk.c: Likewise.
6419 * test-skeleton.c: Include fcntl.h & paths.h
6420 (set_fortify_handler): Define.
6422 * debug/tst-longjmp_chk.c: Add header comment and include
6424 (do_test): Mark static.
6425 (TEST_FUNCTION): Define.
6427 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
6428 (IP_PMTUDISC_INTERFACE): Likewise.
6429 (IP_MULTICAST_IF): Likewise.
6430 (IP_MULTICAST_TTL): Likewise.
6431 (IP_MULTICAST_LOOP): Likewise.
6432 (IP_ADD_MEMBERSHIP): Likewise.
6433 (IP_DROP_MEMBERSHIP): Likewise.
6434 (IP_UNBLOCK_SOURCE): Likewise.
6435 (IP_BLOCK_SOURCE): Likewise.
6436 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
6437 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
6438 (IP_MSFILTER): Likewise.
6439 (MCAST_JOIN_GROUP): Likewise.
6440 (MCAST_BLOCK_SOURCE): Likewise.
6441 (MCAST_UNBLOCK_SOURCE): Likewise.
6442 (MCAST_LEAVE_GROUP): Likewise.
6443 (MCAST_JOIN_SOURCE_GROUP): Likewise.
6444 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
6445 (MCAST_MSFILTER): Likewise.
6446 (IP_MULTICAST_ALL): Likewise.
6447 (IP_UNICAST_IF): Likewise.
6449 * timezone/Makefile: Delete $(have-ksh) check.
6450 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
6451 * timezone/tzselect.ksh: Add +x mode bits.
6453 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
6454 (ANON_INODE_FS_MAGIC): Likewise.
6455 (BDEVFS_MAGIC): Likewise.
6456 (BINFMTFS_MAGIC): Likewise.
6457 (BTRFS_TEST_MAGIC): Likewise.
6458 (CRAMFS_MAGIC_WEND): Likewise.
6459 (DEBUGFS_MAGIC): Likewise.
6460 (ECRYPTFS_SUPER_MAGIC): Likewise.
6461 (EXT3_SUPER_MAGIC): Likewise.
6462 (EXT4_SUPER_MAGIC): Likewise.
6463 (FUTEXFS_SUPER_MAGIC): Likewise.
6464 (HOSTFS_SUPER_MAGIC): Likewise.
6465 (HUGETLBFS_MAGIC): Likewise.
6466 (MINIX3_SUPER_MAGIC): Likewise.
6467 (MTD_INODE_FS_MAGIC): Likewise.
6468 (NILFS_SUPER_MAGIC): Likewise.
6469 (OPENPROM_SUPER_MAGIC): Likewise.
6470 (PIPEFS_MAGIC): Likewise.
6471 (PSTOREFS_MAGIC): Likewise.
6472 (QNX6_SUPER_MAGIC): Likewise.
6473 (RAMFS_MAGIC): Likewise.
6474 (REISERFS_SUPER_MAGIC_STRING): Likewise.
6475 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
6476 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
6477 (SECURITYFS_MAGIC): Likewise.
6478 (SELINUX_MAGIC): Likewise.
6479 (SMACK_MAGIC): Likewise.
6480 (SOCKFS_MAGIC): Likewise.
6481 (SQUASHFS_MAGIC): Likewise.
6482 (STACK_END_MAGIC): Likewise.
6483 (TMPFS_MAGIC): Likewise.
6484 (USBDEVICE_SUPER_MAGIC): Likewise.
6485 (V9FS_MAGIC): Likewise.
6486 (XENFS_SUPER_MAGIC): Likewise.
6487 (CRAMFS_MAGIC): Fix typo in comment.
6488 (EXT2_SUPER_MAGIC): Update comment.
6489 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
6491 2014-02-08 Joseph Myers <joseph@codesourcery.com>
6493 * sysdeps/arm: Move directory from ports/sysdeps/arm.
6494 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
6495 * sysdeps/unix/sysv/linux/arm: Move directory from
6496 ports/sysdeps/unix/sysv/linux/arm.
6497 * README: Update listing for arm-*-linux-gnueabi.
6499 * README: Remove mention of am33.
6501 2014-02-07 Roland McGrath <roland@hack.frob.com>
6503 * bits/sigset.h (__sigemptyset): Use a statement expression rather
6504 than the comma operator, to avoid "rhs of comma has no effect"
6506 (__sigfillset, __sigandset, __sigorset): Likewise.
6507 * include/signal.h (__sigemptyset): Likewise.
6508 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
6510 2014-02-07 Allan McRae <allan@archlinux.org>
6512 * version.h (RELEASE): Set to "development".
6513 (VERSION): Set to "2.19.90"
6514 * NEWS: Add 2.20 section.
6516 2014-02-06 Carlos O'Donell <carlos@redhat.com>
6519 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
6521 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
6523 * manual/contrib.texi: Update entry for Carlos O'Donell,
6524 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
6526 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
6528 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
6530 * sysdeps/unix/sysv/linux/kernel-features.h
6531 [__LINUX_KERNEL_VERSION >= 0x020621]
6532 (__ASSUME_PROC_PID_TASK_COMM): Define.
6534 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6537 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
6538 conversion when destination buffer does not have enough space.
6539 * libio/tst-ftell-partial-wide.c: New test case.
6540 * libio/Makefile (tests): Add tst-ftell-partial-wide.
6542 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
6543 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
6544 Leonard and Allan McRae.
6546 2014-02-04 David S. Miller <davem@davemloft.net>
6548 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
6551 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
6555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
6557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
6559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
6561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
6563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
6565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
6567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
6569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
6571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
6573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
6575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
6577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
6580 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6582 * nptl/shlib-versions: Change powerpc*le start to 2.17.
6583 * shlib-versions: Likewise.
6585 2014-02-04 Roland McGrath <roland@hack.frob.com>
6586 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6588 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
6589 (abilist-pattern): New variable, set to %-le.abilist.
6591 * Makerules (abilist-pattern): New variable.
6592 (vpath): Use $(abilist-pattern) in place of %.abilist.
6593 (check-abi-% pattern rule): Likewise.
6594 (check-abi, update-abi): Likewise.
6596 2014-02-04 Eric Wong <normalperson@yhbt.net>
6598 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6600 2014-02-03 Carlos O'Donell <carlos@redhat.com>
6602 * manual/startup.texi: Add next, previous, and top entries for
6603 the `Program Arguments' and `Environment Variables' nodes.
6605 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
6607 * manual/macros.texi: Add comments before MTASC-safety macros.
6609 * manual/users.texi: Document MTASC-safety properties.
6611 * manual/threads.texi (pthread_key_create, pthread_key_delete)
6612 (pthread_getspecific, pthread_setspecific): Format with
6613 @deftypefun, and add @safety note.
6614 * manual/signal.texi: Move comments that analyze the above
6615 functions to their home place.
6617 2014-02-03 Allan McRae <allan@archlinux.org>
6619 * po/sl.po: Update Slovenian translation from translation project.
6621 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
6623 * manual/time.texi (timegm): Add missing blank after @c.
6624 Reported by Joseph Myers <joseph@codesourcery.com>.
6626 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
6628 * manual/check-safety.sh: New.
6629 * manual/Makefile ($(objpfx)stamp-summary): Run it.
6631 * manual/terminal.texi: Document MTASC-safety properties.
6633 * manual/filesys.texi: Document MTASC-safety properties.
6635 * manual/errno.texi: Document MTASC-safety properties.
6637 * manual/intro.texi: Document safety identifiers and
6640 * manual/string.texi (wcstok): Fix prototype.
6641 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
6643 * manual/time.texi: Document MTASC-safety properties.
6645 * manual/string.texi: Document MTASC-safety properties.
6647 * manual/threads.texi: Document MTASC-safety properties.
6649 * manual/stdio.texi: Document MTASC-safety properties.
6651 * manual/syslog.texi: Document MTASC-safety properties.
6653 * manual/sysinfo.texi: Document MTASC-safety properties.
6655 * manual/startup.texi: Document MTASC-safety properties.
6657 * manual/socket.texi: Document MTASC-safety properties.
6659 * manual/signal.texi: Document MTASC-safety properties.
6661 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
6663 * manual/setjmp.texi: Document MTASC-safety properties.
6665 * manual/search.texi: Document MTASC-safety properties.
6667 * manual/resource.texi: Document MTASC-safety properties.
6669 * manual/process.texi: Document MTASC-safety properties.
6671 * manual/platform.texi: Document MTASC-safety properties.
6673 * manual/pipe.texi: Document MTASC-safety properties.
6675 * manual/pattern.texi: Document MTASC-safety properties.
6677 * manual/message.texi: Document MTASC-safety properties.
6680 * manual/memory.texi: Document MTASC-safety properties.
6682 * manual/math.texi: Document MTASC-safety properties.
6684 * manual/locale.texi: Document MTASC-safety properties.
6686 * manual/llio.texi: Document MTASC-safety properties.
6688 * manual/libdl.texi: New.
6690 * manual/lang.texi: Document MTASC-safety properties.
6692 * manual/job.texi: Document MTASC-safety properties.
6694 * manual/getopt.texi: Document MTASC-safety properties.
6696 * manual/ctype.texi: Document MTASC-safety properties.
6698 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
6701 * csu/libc-tls.c (static_map): Remove variable.
6702 (__libc_setup_tls): Use main executable's link map for TLS data.
6703 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
6704 casing for LM_ID_BASE and GL(dl_nns).
6705 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
6706 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
6707 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
6708 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
6709 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
6711 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
6714 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
6716 * manual/debug.texi: Document MTASC-safety properties.
6718 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
6721 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
6722 of __x86_64__ when disabling x87 inline functions.
6724 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
6726 * manual/charset.texi: Document MTASC-safety properties.
6728 * manual/crypt.texi: Document MTASC-safety properties.
6730 * manual/conf.texi: Document MTASC-safety properties.
6732 * manual/arith.texi: Document MTASC-safety properties.
6734 * manual/argp.texi: Document MTASC-safety properties.
6736 * manual/macros.texi: Introduce macros to document multi
6737 thread, asynchronous signal and asynchronous cancellation
6739 * manual/intro.texi: Introduce the properties themselves.
6741 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6743 * sysdeps/sh/sh4/Makefile: New file.
6745 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
6747 * math/gen-libm-test.pl ($srcdir): New variable.
6748 ($auto_input): Use it.
6750 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6753 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
6754 access beyond array bounds when parsing netgroups file.
6756 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
6757 the old buffer before realloc.
6759 2014-01-27 Allan McRae <allan@archlinux.org>
6761 * po/fr.po: Update French translation from translation project.
6763 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6765 * sysdeps/sh/libm-test-ulps: Regenerate.
6767 2014-01-24 David S. Miller <davem@davemloft.net>
6769 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
6771 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6773 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
6774 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
6776 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6779 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
6780 string pointers after reallocation.
6782 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6784 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
6785 __SH4A__ instead of __SH_FPU_ANY__.
6787 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6789 * sysdeps/sh/fpu_control.h: New file.
6790 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
6791 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
6792 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
6793 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
6794 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
6795 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
6796 * sysdeps/sh/sys/ucontext.h: Remove.
6797 * sysdeps/sh/sys: Remove directory.
6799 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6801 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
6802 s390/sys/ucontext.h.
6803 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
6804 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
6806 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
6809 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
6811 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6814 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
6815 Adjust the vDSO correctly for internal calls.
6816 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
6818 2014-01-20 Allan McRae <allan@archlinux.org>
6820 * po/ca.po: Update Catalan translation from translation project.
6822 2014-01-16 Mike Frysinger <vapier@gentoo.org>
6824 * sysdeps/s390/sotruss-lib.c: New file.
6826 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6829 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
6830 (__GI___gettimeofday): Alias for a different internal symbol to avoid
6831 local calls issues by not having a PLT stub required for IFUNC calls.
6832 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
6834 2014-01-16 Joseph Myers <joseph@codesourcery.com>
6836 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
6837 * math/test-fpucw-static.c: Likewise.
6839 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6842 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
6844 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6846 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
6847 implementation for powerpc.
6849 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
6852 * sysdeps/posix/system.c (__libc_system): Do not enable
6853 asynchronous cancellation.
6855 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6858 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
6859 handling only for numbers special also in the IEEE case.
6861 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6863 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6865 2014-01-11 Allan McRae <allan@archlinux.org>
6867 * po/bg.po: Update Bulgarian translation from translation project.
6869 * po/de.po: Update German translation from translation project.
6871 2014-01-10 Roland McGrath <roland@hack.frob.com>
6873 * sysdeps/generic/gcc-compat.h: New file.
6875 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6877 * benchtests/asin-inputs: Correct slow inputs.
6878 * benchtests/acos-inputs: Likewise.
6880 2014-01-10 Allan McRae <allan@archlinux.org>
6882 * po:sv.po: Update Swedish translation from translation project.
6884 * po/vi.po: Update Vietnamese translation from translation project.
6886 * po/eo.po: Update Esperanto translation from translation project.
6888 * po/cs.po: Update Czech translation from translation project.
6890 * po/nl.po: Update Dutch translation from translation project.
6892 * po/pl.po: Update Polish translation from translation project.
6894 * po/ru.po: Update Russian translation from translation project.
6896 * po/uk.po: Update Ukrainian translation from translation project.
6898 2014-01-08 Brooks Moses <bmoses@google.com>
6900 * elf/dl-load.c: Fix comment typo.
6902 2014-01-08 Carlos O'Donell <carlos@redhat.com>
6904 * po/header.pot: Rename to...
6905 * po/pot.header: ... this.
6906 * po/Makefile: Use pot.header.
6908 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
6909 Maxim Kuvyrkov <maxim@kugelworks.com>
6912 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
6913 SRC and DEST against LEN.
6915 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6918 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
6920 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
6922 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6924 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6926 2014-01-08 Joseph Myers <joseph@codesourcery.com>
6929 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
6930 for large positive arguments.
6932 2014-01-07 Joseph Myers <joseph@codesourcery.com>
6934 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6936 * math/auto-libm-test-in: Mark various tests with
6937 xfail-rounding:ldbl-128ibm.
6938 * math/auto-libm-test-out: Regenerated.
6941 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
6942 Increase overflow threshold.
6944 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
6947 * stdio-common/vfprintf.c: Check for integer overflow.
6949 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6951 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
6952 the first argument and return value of __tls_get_addr_internal.
6954 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6956 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
6957 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
6959 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6961 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
6962 * sysdeps/s390/rtld-global-offsets.sym: New file.
6963 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
6965 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
6966 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
6967 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
6969 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
6970 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
6972 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
6974 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
6976 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
6977 halfs of GPRs for high_gprs contexts.
6978 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
6979 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
6981 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
6983 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
6985 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
6986 for high GPRs (uc_high_gprs) and for future extensions
6988 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
6989 for future extensions (__reserved).
6990 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
6992 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
6993 SC_HIGHGPRS offset definition.
6994 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
6995 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
6997 * Versions.def: Add GLIBC_2.19 for libpthread.
6998 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
6999 siglongjmp for libpthread with GLIBC_2.19 symver.
7000 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
7001 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
7002 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
7003 * sysdeps/s390/__longjmp.c: New file.
7004 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
7005 * sysdeps/s390/longjmp.c: New file.
7006 * sysdeps/s390/setjmp.S: New file.
7007 * sysdeps/s390/sigjmp.S: New file.
7008 * sysdeps/s390/v1-longjmp.c: New file.
7009 * sysdeps/s390/v1-setjmp.h: New file.
7010 * sysdeps/s390/v1-sigjmp.c: New file.
7011 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
7012 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
7014 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
7015 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
7016 versioned symbols for ____longjmp_chk.
7017 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
7019 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
7021 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7023 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
7025 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7027 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
7028 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
7029 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
7030 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
7031 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
7032 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
7033 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
7034 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
7035 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
7036 * sysdeps/s390/rtld-__longjmp.c: New file.
7037 * sysdeps/s390/rtld-setjmp.S: New file.
7039 2014-01-06 Joseph Myers <joseph@codesourcery.com>
7042 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
7043 Return -__logl (x) for small positive arguments without evaluating
7046 2014-01-06 Mike Frysinger <vapier@gentoo.org>
7048 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
7050 (__ptrace_peeksiginfo_args): ... this.
7051 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7052 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7053 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7055 2014-01-06 Allan McRae <allan@archlinux.org>
7057 * inet/netinet/in.h: Fix typo in comment.
7059 2014-01-05 Andreas Jaeger <aj@suse.de>
7061 * sysdeps/i386/fpu/libm-test-ulps: Update.
7063 2014-01-05 Allan McRae <allan@archlinux.org>
7065 * po/libc.pot: Regenerated.
7067 * malloc/memusagestat.c: Fix gettext call formatting.
7069 2014-01-04 Sami Kerola <kerolasa@iki.fi>
7071 * nscd/nscd.c: Improve usage() output.
7073 2014-01-04 Mike Frysinger <vapier@gentoo.org>
7075 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
7076 * sysdeps/unix/sysv/linux/configure: Regenerated.
7077 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
7078 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
7080 2014-01-03 Joseph Myers <joseph@codesourcery.com>
7083 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
7084 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
7086 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7088 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
7089 extra tokens at end of #undef directive.
7090 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
7091 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
7092 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
7094 2014-01-03 Joseph Myers <joseph@codesourcery.com>
7096 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
7098 * math/auto-libm-test-in: Mark various tests with
7099 xfail-rounding:ldbl-128ibm.
7100 * math/auto-libm-test-out: Regenerated.
7102 2014-01-02 Joseph Myers <joseph@codesourcery.com>
7105 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
7106 numbers with subnormal high part when calculating exponent.
7109 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
7113 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
7115 (__ieee754_acoshl): Use __log1pl not __log1p.
7117 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
7119 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
7120 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
7121 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
7122 (grow_heap, heap_trim, _int_new_arena, get_free_list)
7123 (reused_arena, arena_get2): Convert to GNU style.
7124 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
7125 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
7126 (memalign_check, __malloc_set_state): Likewise.
7127 * malloc/mallocbug.c (main): Likewise.
7128 * malloc/malloc.c (__malloc_assert, malloc_init_state)
7129 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
7130 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
7131 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
7132 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
7133 (__posix_memalign, malloc_info): Likewise.
7134 * malloc/malloc.h: Likewise.
7135 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
7136 (mallochook, memalignhook, reallochook, mabort): Likewise.
7137 * malloc/mcheck.h: Likewise.
7138 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
7139 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
7140 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
7141 * malloc/morecore.c (__default_morecore): Likewise.
7142 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
7143 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
7144 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
7145 (print_and_abort): Likewise.
7146 * malloc/obstack.h: Likewise.
7147 * malloc/set-freeres.c (__libc_freeres): Likewise.
7148 * malloc/tst-mallocstate.c (main): Likewise.
7149 * malloc/tst-mtrace.c (main): Likewise.
7150 * malloc/tst-realloc.c (do_test): Likewise.
7152 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7155 * nscd/netgroupcache.c (do_notfound): New function.
7156 (addgetnetgrentX): Use it.
7159 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
7160 NSS_STATUS_NOTFOUND.
7162 2014-01-01 Joseph Myers <joseph@codesourcery.com>
7164 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
7165 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7167 2014-01-01 Allan McRae <allan@archlinux.org>
7169 * scripts/update-copyrights: Update configure input file suffix.
7171 * NEWS: Update copyright year.
7172 * catgets/gencat.c: Likewise.
7173 * csu/version.c: Likewise.
7174 * debug/catchsegv.sh: Likewise.
7175 * debug/pcprofiledump.c: Likewise.
7176 * debug/xtrace.sh: Likewise.
7177 * elf/ldconfig.c: Likewise.
7178 * elf/ldd.bash.in: Likewise.
7179 * elf/pldd.c: Likewise.
7180 * elf/sotruss.ksh: Likewise.
7181 * elf/sprof.c: Likewise.
7182 * iconv/iconv_prog.c: Likewise.
7183 * iconv/iconvconfig.c: Likewise.
7184 * locale/programs/locale.c: Likewise.
7185 * locale/programs/localedef.c: Likewise.
7186 * login/programs/pt_chown.c: Likewise.
7187 * malloc/memusage.sh: Likewise.
7188 * malloc/memusagestat.c: Likewise.
7189 * malloc/mtrace.pl: Likewise.
7190 * manual/libc.texinfo: Likewise.
7191 * nscd/nscd.c: Likewise.
7192 * nss/getent.c: Likewise.
7193 * nss/makedb.c: Likewise.
7194 * posix/getconf.c: Likewise.
7195 * scripts/test-installation.pl: Likewise.
7197 * All files with FSF copyright notices: Update copyright dates
7198 using scripts/update-copyrights.
7199 * intl/plural.c: Regenerated.
7200 * locale/programs/charmap-kw.h: Likewise.
7201 * locale/programs/locfile-kw.h: Likewise.
7203 2013-12-31 Mike Frysinger <vapier@gentoo.org>
7205 * sysdeps/unix/sysv/linux/configure: Regenerated.
7206 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
7207 the linux/fanotify.h header.
7208 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
7209 HAVE_LINUX_FANOTIFY_H is defined.
7211 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
7213 * benchtests/cos-inputs: New inputs.
7214 * benchtests/sin-inputs: Likewise.
7216 * benchtests/atan-inputs: New inputs. Fix name of multiple
7217 precision fallback inputs.
7219 * benchtests/atanh-inputs: New inputs.
7220 * benchtests/tanh-inputs: Likewise.
7222 * benchtests/acosh-inputs: New inputs.
7223 * benchtests/asinh-inputs: Likewise.
7225 * benchtests/cosh-inputs: New inputs.
7226 * benchtests/sinh-inputs: Likewise.
7228 * benchtests/acos-inputs: Add more inputs.
7229 * benchtests/asin-inputs: Likewise.
7231 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
7234 * manual/arith.texi: Fix spelling.
7235 * manual/charset.texi: Likewise.
7236 * manual/errno.texi: Likewise.
7237 * manual/filesys.texi: Likewise.
7238 * manual/lang.texi: Likewise.
7239 * manual/llio.texi: Likewise.
7240 * manual/locale.texi: Likewise.
7241 * manual/message.texi: Likewise.
7242 * manual/resource.texi: Likewise.
7243 * manual/search.texi: Likewise.
7244 * manual/setjmp.texi: Likewise.
7245 * manual/stdio.texi: Likewise.
7246 * manual/string.texi: Likewise.
7247 * manual/sysinfo.texi: Likewise.
7248 * manual/time.texi: Likewise.
7250 2013-12-27 Carlos O'Donell <carlos@redhat.com>
7252 * po/sl.po: New file.
7254 2013-12-27 Mike Frysinger <vapier@gentoo.org>
7256 * .gitignore: Add core/.gdbinit/.gdb_history.
7258 2013-12-27 Allan McRae <allan@archlinux.org>
7261 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
7262 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
7264 2013-12-24 Brooks Moses <bmoses@google.com>
7266 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
7267 all compilers that claim C++98 compliance, not just GCC.
7268 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
7271 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
7273 * NEWS: Restore accidentally deleted bug-fix entries.
7275 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
7276 Ondřej Bílka <neleai@seznam.cz>
7279 * malloc/malloc.c (_int_free): Perform sanity check only if we
7282 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
7285 * manual/stdio.texi (String Input Conversions): Clarify that character
7286 classes are not supported.
7288 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7290 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7292 2013-12-22 Joseph Myers <joseph@codesourcery.com>
7295 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
7296 Calculate results for small negative arguments directly rather
7297 than using reflection formula with special underflow handling.
7299 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
7300 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
7301 sysdeps/unix/bsd/bsd4.4/syscalls.list.
7302 (fchflags): Likewise.
7304 (setlogin): Likewise.
7305 (sigaltstack): Likewise.
7308 (sigsetmask): Likewise.
7310 (waitpid): Likewise.
7311 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
7312 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
7314 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
7315 * sysdeps/unix/bsd/Makefile: ... here.
7316 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
7317 * sysdeps/unix/bsd/Versions: ... here.
7318 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
7319 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
7320 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
7321 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
7322 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
7323 * sysdeps/unix/bsd/sigblock.c: ... here.
7324 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
7325 * sysdeps/unix/bsd/sigsetmask.c: ... here.
7326 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
7327 * sysdeps/unix/bsd/sigvec.c: ... here.
7328 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
7329 * sysdeps/unix/bsd/tcdrain.c: ... here.
7330 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
7331 * sysdeps/unix/bsd/tcgetattr.c: ... here.
7332 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
7333 * sysdeps/unix/bsd/tcsetattr.c: ... here.
7334 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
7335 * sysdeps/unix/bsd/wait.c: ... here.
7336 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
7337 * sysdeps/unix/bsd/wait3.c: ... here.
7338 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
7339 * sysdeps/unix/bsd/waitpid.c: ... here.
7341 2013-12-21 Joseph Myers <joseph@codesourcery.com>
7344 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
7345 round-to-nearest for [!USE_AS_EXPM1L].
7346 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
7347 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
7348 more tests of exp and exp10. Expect some exp10 tests to miss
7349 exceptions or fail in directed rounding modes.
7350 * math/auto-libm-test-out: Regenerated.
7351 * math/libm-test.inc (exp10_tonearest_test_data): New array.
7352 (exp10_test_tonearest): New function.
7353 (exp10_towardzero_test_data): New array.
7354 (exp10_test_towardzero): New function.
7355 (exp10_downward_test_data): New array.
7356 (exp10_test_downward): New function.
7357 (exp10_upward_test_data): New array.
7358 (exp10_test_upward): New function.
7359 (main): Call the new functions.
7360 * sysdeps/i386/fpu/libm-test-ulps: Update.
7361 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7363 2013-12-20 Joseph Myers <joseph@codesourcery.com>
7365 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
7366 asinh, atan, atan2, atanh, cbrt, cos and cosh.
7367 * math/auto-libm-test-out: Regenerated.
7368 * math/libm-test.inc (acosh_test_data): Add more tests.
7369 (atanh_test_data): Likewise.
7370 (ceil_test_data): Likewise.
7371 (copysign_test_data): Likewise.
7372 * sysdeps/i386/fpu/libm-test-ulps: Update.
7373 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7375 * timezone/checktab.awk: Update from tzcode 2013i.
7376 * timezone/private.h: Likewise.
7377 * timezone/scheck.c: Likewise.
7378 * timezone/tzfile.h: Likewise.
7379 * timezone/tzselect.ksh: Likewise.
7380 * timezone/zdump.c: Likewise.
7381 * timezone/zic.c: Likewise.
7383 * math/auto-libm-test-in: Add tests of cpow.
7384 * math/auto-libm-test-out: Regenerated.
7385 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
7386 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7388 (func_calc_desc): Add mpc_cc_c union field.
7389 (test_functions): Add cpow.
7390 (special_fill_2pi): New function.
7391 (special_real_inputs): Add 2pi.
7392 (calc_generic_results): Handle mpc_cc_c.
7393 * sysdeps/i386/fpu/libm-test-ulps: Update.
7394 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7396 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
7397 csqrt, ctan and ctanh.
7398 * math/auto-libm-test-out: Regenerated.
7399 * math/libm-test.inc (TEST_COND_x86_64): New macro.
7400 (TEST_COND_x86): Likewise.
7401 (ccos_test_data): Use AUTO_TESTS_c_c.
7402 (ccosh_test_data): Likewise.
7403 (cexp_test_data): Likewise.
7404 (clog_test_data): Likewise.
7405 (csqrt_test_data): Likewise.
7406 (ctan_test_data): Likewise.
7407 (ctan_tonearest_test_data): Likewise.
7408 (ctan_towardzero_test_data): Likewise.
7409 (ctan_downward_test_data): Likewise.
7410 (ctan_upward_test_data): Likewise.
7411 (ctanh_test_data): Likewise.
7412 (ctanh_tonearest_test_data): Likewise.
7413 (ctanh_towardzero_test_data): Likewise.
7414 (ctanh_downward_test_data): Likewise.
7415 (ctanh_upward_test_data): Likewise.
7416 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7418 (func_calc_desc): Add mpc_c_c union field.
7419 (FUNC_mpc_c_c): New macro.
7420 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
7421 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
7423 (special_fill_min_subnorm_p120): New function.
7424 (special_real_inputs): Add min_subnorm_p120.
7425 (calc_generic_results): Handle mpc_c_c.
7426 * sysdeps/i386/fpu/libm-test-ulps: Update.
7427 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7429 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7431 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
7432 (do_sin_slow): New functions.
7433 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
7434 (cslow2, csloww1, csloww2): Use the new functions.
7436 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
7437 Use M to change sign of result instead of X. Assume X is
7439 (csloww1): Likewise.
7443 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
7448 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
7450 (sloww1): Don't adjust sign of DX.
7451 (csloww1): Likewise.
7452 (sloww2): Use X directly and don't adjust sign of DX.
7453 (csloww2): Likewise.
7455 2013-12-19 Joseph Myers <joseph@codesourcery.com>
7457 * math/auto-libm-test-in: Add tests of cabs and carg.
7458 * math/auto-libm-test-out: Regenerated.
7459 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
7460 (carg_test_data): Likewise.
7461 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7463 (func_calc_desc): Add mpc_c_f union field.
7464 (test_functions): Add cabs and carg.
7465 (calc_generic_results): Handle mpc_c_f.
7467 * sysdeps/powerpc/powerpc32/libgcc-compat.S
7468 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
7469 as a macro and a compat symbol.
7470 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
7471 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
7472 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
7473 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
7474 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
7475 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
7477 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
7479 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
7481 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
7483 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
7485 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
7487 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
7488 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
7491 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7493 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7495 2013-12-19 Joseph Myers <joseph@codesourcery.com>
7497 * manual/texinfo.tex: Update to version 2013-11-26.10 with
7498 trailing whitespace removed.
7499 * scripts/config.guess: Update to version 2013-11-29.
7500 * scripts/config.sub: Update to version 2013-10-01.
7502 * math/auto-libm-test-in: Add tests of sincos.
7503 * math/auto-libm-test-out: Regenerated.
7504 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
7505 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7507 (func_calc_desc): Add mpfr_f_11 union field.
7508 (test_functions): Add sincos.
7509 (calc_generic_results): Handle mpfr_f_11.
7510 * sysdeps/i386/fpu/libm-test-ulps: Update.
7511 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7513 2013-12-19 Andreas Schwab <schwab@suse.de>
7515 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
7517 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
7518 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
7519 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
7521 2013-12-19 Joseph Myers <joseph@codesourcery.com>
7523 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
7524 * sysdeps/i386/fpu/libm-test-ulps: Update.
7525 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7528 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
7529 round-to-nearest mode when using frndint.
7530 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
7531 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
7532 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
7534 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
7536 * math/auto-libm-test-out: Regenerated.
7537 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
7538 (TEST_COND_x86): Likewise.
7539 (expm1_tonearest_test_data): New array.
7540 (expm1_test_tonearest): New function.
7541 (expm1_towardzero_test_data): New array.
7542 (expm1_test_towardzero): New function.
7543 (expm1_downward_test_data): New array.
7544 (expm1_test_downward): New function.
7545 (expm1_upward_test_data): New array.
7546 (expm1_test_upward): New function.
7547 (main): Run the new test functions.
7548 * sysdeps/i386/fpu/libm-test-ulps: Update.
7549 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7551 * include/features.h: Update comment documenting feature test
7552 macros. Mention _DEFAULT_SOURCE in comment.
7553 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
7554 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
7555 _BSD_SOURCE and _SVID_SOURCE.
7556 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
7557 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
7558 !_SVID_SOURCE]: Likewise.
7559 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7560 (__USE_POSIX_IMPLICITLY): Define.
7561 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7562 (_POSIX_SOURCE): Undefine and redefine.
7563 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7564 (_POSIX_C_SOURCE): Likewise.
7565 * manual/creature.texi (_DEFAULT_SOURCE): Document.
7566 (Feature Test Macros): Update documentation of default features.
7568 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7570 * benchtests/Makefile: Add bench-strtok.
7571 * benchtests/bench-strtok.c: New file: strtok benchtest.
7573 2013-12-19 Allan McRae <allan@archlinux.org>
7575 * manual/install.texi: Suppress menu for plain text output.
7576 * INSTALL: Regenerated.
7578 2013-12-18 Brooks Moses <bmoses@google.com>
7581 * misc/getauxval.c: Include errno.h.
7582 (__getauxval): Set errno to ENOENT if the requested type is not
7584 * misc/sys/auxv.h (getauxval): Document that it may set errno;
7585 don't declare with __attribute_const__.
7586 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
7587 * manual/startup.texi: Document that getauxval sets errno.
7589 2013-12-18 Joseph Myers <joseph@codesourcery.com>
7591 * math/auto-libm-test-in: Add tests of jn and yn.
7592 * math/auto-libm-test-out: Regenerated.
7593 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
7594 (yn_test_data): Likewise.
7595 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7597 (func_calc_desc): Add mpfr_if_f union field.
7598 (FUNC_mpfr_if_f): New macro.
7599 (test_functions): Add jn and yn.
7600 (calc_generic_results): Assert type of second input for
7601 mpfr_ff_f. Handle mpfr_if_f.
7602 (output_for_one_input_case): Disable all checking for arguments
7603 fitting floating-point types in case of an integer argument.
7604 * sysdeps/i386/fpu/libm-test-ulps: Update.
7605 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
7608 Don't expect fegetround reference in libm.so.
7610 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7612 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
7613 $(config-cflags-nofma).
7615 2013-12-18 Joseph Myers <joseph@codesourcery.com>
7617 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
7618 * math/auto-libm-test-out: Regenerated.
7621 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
7622 to determine exponent and adjust argument to have exponent of -1.
7623 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
7625 * math/auto-libm-test-out: Regenerated.
7626 * sysdeps/i386/fpu/libm-test-ulps: Update.
7627 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7629 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
7631 * manual/probes.texi: Remove cases when per-thread arenas are
7634 2013-12-18 Andreas Schwab <schwab@suse.de>
7636 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
7637 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
7638 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
7639 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
7640 * sysdeps/i386/i686/multiarch/Makefile: Update.
7641 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
7643 2013-12-17 Joseph Myers <joseph@codesourcery.com>
7645 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
7646 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
7648 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
7651 Support TZ transition times < 00:00:00.
7652 This is needed for version-3 tz-format files; it supports time
7653 stamps past 2037 for America/Godthab (the only entry in the tz
7654 database for which this change is relevant).
7655 * manual/time.texi (TZ Variable): Document transition times
7656 from -167:59:59 through -00:00:01.
7657 * time/tzset.c (tz_rule): Time of day is now signed.
7658 (__tzset_parse_tz): Parse negative time of day.
7660 Document TZ transition times >= 25:00:00.
7661 * manual/time.texi (TZ Variable): Document transition times from
7662 25:00:00 through 167:59:59. These are already supported, and this
7663 support will help with version-3 tz-format files.
7665 * manual/time.texi (TZ Variable): Modernize North America example
7666 to reflect current (i.e., 2007-and-later) daylight saving rules.
7668 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
7670 2013-12-17 Joseph Myers <joseph@codesourcery.com>
7672 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
7673 * sysdeps/unix/bsd/bits/stat.h: Likewise.
7674 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
7675 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
7676 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
7677 * sysdeps/unix/bsd/bsdstat.h: Likewise.
7678 * sysdeps/unix/bsd/clock.c: Likewise.
7679 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
7680 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
7681 * sysdeps/unix/bsd/init-posix.c: Likewise.
7682 * sysdeps/unix/bsd/poll.c: Likewise.
7683 * sysdeps/unix/bsd/ptsname.c: Likewise.
7684 * sysdeps/unix/bsd/seekdir.c: Likewise.
7685 * sysdeps/unix/bsd/setegid.c: Likewise.
7686 * sysdeps/unix/bsd/seteuid.c: Likewise.
7687 * sysdeps/unix/bsd/setgid.c: Likewise.
7688 * sysdeps/unix/bsd/setrgid.c: Likewise.
7689 * sysdeps/unix/bsd/setruid.c: Likewise.
7690 * sysdeps/unix/bsd/setsid.c: Likewise.
7691 * sysdeps/unix/bsd/setuid.c: Likewise.
7692 * sysdeps/unix/bsd/sigaction.c: Likewise.
7693 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
7694 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
7695 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
7696 * sysdeps/unix/bsd/telldir.c: Likewise.
7697 * sysdeps/unix/bsd/times.c: Likewise.
7698 * sysdeps/unix/bsd/usleep.c: Likewise.
7700 * misc/Makefile (install-lib): Remove libbsd-compat.a.
7701 ($(objpfx)libbsd-compat.a): Remove rule.
7703 * include/features.h (__FAVOR_BSD): Do not define.
7704 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
7705 features conflicting with POSIX.
7706 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
7707 (_BSD_SOURCE): Remove description of not being a subset of other
7708 feature test macros.
7709 * manual/job.texi (getpgrp): Do not document BSD version.
7710 (getpgid): Do not document by reference to BSD getpgrp.
7711 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
7712 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
7713 * signal/signal.h [__FAVOR_BSD]: Likewise.
7714 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
7715 instead of making contents conditional on [__FAVOR_BSD].
7716 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
7718 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7720 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7722 2013-12-17 Joseph Myers <joseph@codesourcery.com>
7725 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
7726 values below 2**-450, not 2**-500.
7727 * math/auto-libm-test-in: Don't allow spurious underflow from
7729 * math/auto-libm-test-out: Regenerated.
7733 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
7734 values of ha and hb and sort them after adjusting subnormal
7736 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
7738 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
7739 values of ea and eb and sort them after adjusting subnormal
7741 * math/auto-libm-test-in: Do not expect some hypot tests of
7742 subnormals to fail. Add more hypot tests.
7743 * math/auto-libm-test-out: Regenerated.
7745 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7748 * sysdeps/sh/s_fma.c: New file.
7749 * sysdeps/sh/s_fmaf.c: New file.
7750 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
7752 * sysdeps/sh/Implies: Add sh/soft-fp.
7754 2013-12-16 Roland McGrath <roland@hack.frob.com>
7756 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
7757 level of indirection to members `objname', `errstring', `malloced'.
7758 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
7759 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
7760 it as the __longjmp argument (just pass 1 instead).
7761 (_dl_catch_error): Initialize C with argument pointers and address of
7762 volatile local ERRCODE rather than copying values out of C at return.
7764 2013-12-16 Joseph Myers <joseph@codesourcery.com>
7766 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
7767 * math/auto-libm-test-out: Regenerated.
7768 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
7769 (hypot_test_data): Likewise.
7770 (pow_test_data): Likewise.
7771 (pow_tonearest_test_data): Likewise.
7772 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7774 (func_calc_desc): Add mpfr_ff_f union field.
7775 (FUNC_mpfr_ff_f): New macro.
7776 (test_functions): Add atan2, hypot and pow.
7777 (special_fill_min): New function.
7778 (special_fill_minus_min): Likewise.
7779 (special_fill_min_subnorm): Likewise.
7780 (special_fill_minus_min_subnorm): Likewise.
7781 (special_real_inputs): Add min, -min, min_subnorm and
7783 (calc_generic_results): Handle mpfr_ff_f.
7784 * sysdeps/i386/fpu/libm-test-ulps: Update.
7785 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7787 2013-12-16 Will Newton <will.newton@linaro.org>
7789 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
7790 (Aligned Memory Blocks): Add documentation for aligned_alloc
7791 and suggest it as an alternative to posix_memalign.
7792 (Hooks for Malloc): Document __memalign_hook is also called
7793 for aligned_alloc. (Summary of Malloc): Add summary for
7794 aligned alloc. Document __memalign_hook is also called
7797 2013-12-16 Will Newton <will.newton@linaro.org>
7799 * manual/memory.texi (Malloc Examples): Clarify default
7800 alignment documentation. Suggest posix_memalign rather
7801 than memalign or valloc.
7802 (Aligned Memory Blocks): Remove suggestion to use memalign
7803 or valloc. Remove obsolete comment about BSD.
7804 Document memalign errno values and mark the function obsolete.
7805 Document posix_memalign returned error codes. Mark valloc
7806 as obsolete. (Hooks for Malloc): __memalign_hook is also
7807 called for posix_memalign and valloc.
7808 (Summary of Malloc): Add posix_memalign to function summary.
7809 __memalign_hook is also called for posix_memalign and valloc.
7811 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7813 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
7817 (sloww): Use mynumber union. Expand ternary operator into
7819 (cslow): use mynumber union.
7821 2013-12-16 Allan McRae <allan@archlinux.org>
7823 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
7824 * configure: Regenerated.
7826 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
7829 * configure.ac: Added --enable-maintainer-mode. Check for
7830 autoconf when enabled.
7831 * configure: Regenerated.
7833 * nscd/nscd.service: New file.
7834 * nscd/nscd.tmpfiles: New file.
7836 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
7839 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
7840 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
7841 * sysdeps/x86_64/multiarch/strstr.c: ... here.
7842 (strstr): Add __strstr_sse2_unaligned ifunc.
7843 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
7844 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
7845 (strcasestr): Remove __strcasestr_sse42 ifunc.
7846 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
7847 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
7848 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
7850 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7852 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
7853 * sysdeps/sh/bits/fenv.h: ... here.
7854 * sysdeps/sh/sh4/fpu/bits: Remove directory.
7856 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7858 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
7860 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
7861 hypotf multiarch implementations.
7862 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
7863 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
7864 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
7865 multiarch hypot for PPC64.
7866 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
7867 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
7868 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
7869 multiarch hypotf for PPC64.
7871 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
7872 modff multiarch implementations.
7873 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
7874 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
7875 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
7876 multiarch modf for PPC64.
7877 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
7878 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
7879 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
7880 multiarch modff for PPC64.
7882 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
7883 and logl multiarch implementations.
7884 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
7885 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
7886 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
7887 multiarch logb for PPC64.
7888 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
7889 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
7890 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
7891 multiarch logb for PPC64.
7892 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
7893 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
7894 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
7895 multiarch logb for PPC64.
7897 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
7898 isinff multiarch implementation.
7899 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
7901 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
7902 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
7903 multiarch isinf for PPC64.
7904 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
7906 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
7907 multiarch isinff for PPC64.
7909 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
7910 finitef multiarch implementation.
7911 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
7913 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
7914 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
7915 multiarch finite for PPC64.
7916 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
7918 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
7919 multiarch finitef for PPC64.
7921 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
7922 lrint multiarch implementation.
7923 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
7925 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
7926 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
7927 multiarch llrint for PPC64.
7928 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
7929 multiarch lrint for PPC64.
7931 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
7932 copysignf multiarch implementation.
7933 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
7935 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
7937 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
7938 multiarch copysign for PPC64.
7939 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
7940 multiarch copysignf for PPC64.
7942 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
7943 multiarch implementation.
7944 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
7946 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
7948 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
7950 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
7952 multiarch llround for PPC64.
7953 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
7954 multiarch trunc for PPC64.
7955 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
7956 multiarch truncf for PPC64.
7958 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
7959 multiarch implementation.
7960 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
7962 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
7964 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
7966 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
7968 multiarch llround for PPC64.
7969 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
7970 multiarch round for PPC64.
7971 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
7972 multiarch roundf for PPC64.
7974 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
7975 multiarch implementation.
7976 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
7978 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
7980 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
7982 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
7984 multiarch llround for PPC64.
7985 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
7986 multiarch floor for PPC64.
7987 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
7988 multiarch floorf for PPC64.
7990 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
7991 multiarch implementation.
7992 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
7994 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
7996 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
7998 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
8000 multiarch llround for PPC64.
8001 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
8002 multiarch ceil for PPC64.
8003 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
8004 multiarch ceilf for PPC64.
8006 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
8007 multiarch implementation.
8008 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
8010 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
8012 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
8014 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
8015 multiarch llround for PPC64.
8016 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
8017 multiarch lround for PPC64.
8019 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
8020 multiarch implementation.
8021 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
8022 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
8023 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
8025 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
8026 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
8027 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
8028 multiarch isnan for PPC64.
8029 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
8030 multiarch isnanf for PPC64.
8032 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
8033 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
8034 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
8035 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
8036 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
8037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
8039 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
8040 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
8041 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8042 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8044 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
8045 multiarch implementations.
8046 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8047 (__libc_ifunc_impl_list): Likewise.
8048 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
8049 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
8050 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
8051 multiarch stpcpy for PPC64.
8053 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
8054 multiarch implementations.
8055 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8056 (__libc_ifunc_impl_list): Likewise.
8057 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
8058 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
8059 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
8060 multiarch strcpy for PPC64.
8062 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
8063 redefine function name.
8064 (_wordcopy_fwd_dest_aligned): Likewise.
8065 (_wordcopy_bwd_aligned): Likewise.
8066 (_wordcopy_bwd_dest_aligned): Likewise.
8067 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
8068 multiarch implementations.
8069 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8070 (__libc_ifunc_impl_list): Likewise.
8071 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
8072 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
8073 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
8074 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
8075 multiarch wcscpy for PPC64.
8077 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
8078 multiarch implementations.
8079 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8080 (__libc_ifunc_impl_list): Likewise.
8081 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
8082 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
8083 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
8084 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
8085 multiarch wcscpy for PPC64.
8087 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
8088 multiarch implementations.
8089 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8090 (__libc_ifunc_impl_list): Likewise.
8091 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
8092 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
8093 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
8094 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
8095 multiarch wcsrchr for PPC64.
8097 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
8098 multiarch implementations.
8099 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8100 (__libc_ifunc_impl_list): Likewise.
8101 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
8102 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
8103 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
8104 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
8105 multiarch wcschr for PPC64.
8107 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
8108 multiarch implementations.
8109 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8110 (__libc_ifunc_impl_list): Likewise.
8111 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
8112 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
8113 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
8114 multiarch strchrnul for PPC64.
8116 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
8118 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8119 (__libc_ifunc_impl_list): Likewise.
8120 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
8121 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
8122 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
8123 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
8126 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
8128 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8129 (__libc_ifunc_impl_list): Likewise.
8130 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
8131 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
8132 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
8133 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
8136 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
8137 multiarch implementations.
8138 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8139 (__libc_ifunc_impl_list): Likewise.
8140 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
8141 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
8142 strncasecmp for PPC64.
8143 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
8144 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
8145 multiarch strncasecmp_l for PPC64.
8147 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
8148 multiarch implementations.
8149 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8150 (__libc_ifunc_impl_list): Likewise.
8151 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
8152 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
8153 multiarch strcasecmp for PPC64.
8154 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
8156 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
8157 multiarch strcasecmp_l for PPC64.
8159 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
8161 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8162 (__libc_ifunc_impl_list): Likewise.
8163 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
8164 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
8165 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
8168 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
8170 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8171 (__libc_ifunc_impl_list): Likewise.
8172 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
8173 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
8174 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
8177 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
8179 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8180 (__libc_ifunc_impl_list): Likewise.
8181 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
8182 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
8183 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
8184 rawmemrchr for PPC64.
8186 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
8188 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8189 (__libc_ifunc_impl_list): Likewise.
8190 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
8191 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
8192 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
8195 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
8197 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8198 (__libc_ifunc_impl_list): Likewise.
8199 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
8200 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
8201 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
8204 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
8206 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8207 (__libc_ifunc_impl_list): Likewise.
8208 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
8209 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
8210 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
8213 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
8214 avoid cretion of __bzero symbol.
8215 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
8217 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
8219 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
8221 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
8222 multiarch implementations.
8223 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8224 (__libc_ifunc_impl_list): Likewise.
8225 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
8226 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
8227 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
8228 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
8230 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
8231 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
8232 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
8233 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
8234 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
8236 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
8238 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
8239 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
8241 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8242 (__libc_ifunc_impl_list): Likewise.
8243 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
8244 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
8245 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
8246 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
8249 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
8250 multiarch for POWER/PPC64.
8251 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
8252 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
8253 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
8254 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
8255 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
8256 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
8257 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
8258 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
8259 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
8262 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
8263 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
8264 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
8265 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
8266 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
8267 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
8268 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
8269 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
8270 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
8271 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
8272 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
8273 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
8274 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
8275 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
8276 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
8277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
8278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
8279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
8280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
8281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
8282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
8283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
8285 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8287 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
8289 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8291 * benchtests/Makefile (bench): Add exp2 and log2.
8292 (LDLIBS-bench-exp2): Add -lm.
8293 (LDLIBS-bench-log2): Likewise.
8294 * benchtests/exp2-inputs: New inputs file.
8295 * benchtests/log2-inputs: New inputs file.
8296 * benchtests/log-inputs: Add new inputs.
8297 * benchtests/tan-inputs: Likewise.
8299 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8301 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
8303 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
8304 (csloww2): ... from here.
8306 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
8307 instead of structures.
8308 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
8309 (POLYNOMIAL): Likewise.
8310 (TAYLOR_SLOW): Likewise.
8318 (bsloww1): Likewise.
8319 (bsloww2): Likewise.
8322 (csloww1): Likewise.
8323 (csloww2): Likewise.
8325 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
8327 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
8328 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
8329 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
8330 * malloc/hooks.c (realloc_check): Likewise.
8332 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
8333 * malloc/arena.c: Remove PER_THREAD conditional.
8334 [!PER_THREAD]: Remove code.
8335 (ptmalloc_unlock_all2): Likewise.
8336 (ptmalloc_init): Likewise.
8337 (_int_new_arena): Likewise.
8338 (arena_get2): Likewise.
8339 * malloc/hooks.c (__malloc_get_state): Likewise.
8340 (__malloc_set_state): Likewise.
8341 * malloc/malloc.c: Likewise.
8342 (struct malloc_state): Likewise.
8343 (struct malloc_par): Likewise.
8344 (__libc_realloc): Likewise.
8345 (__libc_mallopt): Likewise.
8347 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8349 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
8351 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
8353 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
8354 macro to a function. Check for zero perturb_byte.
8355 (_int_malloc, _int_free): Remove zero perturb_byte checks.
8357 * malloc/malloc.c: (force_reg): Remove.
8358 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
8359 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
8360 force_reg by atomic_forced_read.
8361 * malloc/arena.c (ptmalloc_init): Likewise.
8362 * malloc/hooks.c (top_check): Likewise.
8364 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8366 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8368 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
8370 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8372 2013-12-08 Joseph Myers <joseph@codesourcery.com>
8374 * math/auto-libm-test-in: Add tests of lgamma.
8375 * math/auto-libm-test-out: Regenerated.
8376 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
8377 (M_LOG_2_SQRT_PIl): Likewise.
8378 (lgamma_test_data): Use AUTO_TESTS_f_f1.
8379 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8381 (func_calc_desc): Add mpfr_f_f1 union field.
8390 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
8391 (test_functions): Add lgamma.
8392 (calc_generic_results): Handle mpfr_f_f1.
8393 * sysdeps/i386/fpu/libm-test-ulps: Update.
8394 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8396 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8398 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
8399 __mpn_add_n for PowerPC64/POWER7.
8400 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
8401 __mpn_sub_n for PowerPC64/POWER7.
8403 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
8404 __mpn_addmul_1 for PowerPC64.
8405 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
8406 __mpn_submul_1 for PowerPC64.
8407 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
8409 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
8412 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
8415 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
8417 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8419 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
8421 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
8422 add multiarch folders.
8423 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
8424 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
8425 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
8426 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
8427 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
8428 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
8429 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
8430 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
8431 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
8432 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
8433 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
8434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
8435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
8436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
8437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
8438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
8439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
8441 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
8442 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
8443 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
8445 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
8447 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
8448 multiarch __ieee754_hypot for PowerPC32.
8449 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
8451 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
8453 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
8454 multiarch __ieee754_hypotf for PowerPC32.
8456 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
8457 long_double_symbol only if __logbl is defined.
8458 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
8459 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
8460 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
8461 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
8462 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
8463 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
8464 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
8465 path for implementation.
8466 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
8467 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
8468 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
8469 logb, and logbl multiarch implementations for PowerPC32.
8470 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
8472 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
8474 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
8475 multiarch logb for PowerPC32.
8476 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
8478 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
8480 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
8481 multiarch logbf for PowerPC32.
8482 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
8483 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
8485 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
8486 multiarch logbl implementation for PowerPC32.
8488 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
8489 and modff multiarch implementations.
8490 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
8492 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
8494 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
8495 multiarch modf for PowerPC32.
8496 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
8498 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
8500 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
8501 multiarch modff for PowerPC32.
8503 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
8504 and lrintf multiarch implementations.
8505 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
8507 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
8509 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
8510 multiarch lrint for PowerPC32.
8511 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
8512 file: multiarch lrintf for PowerPC32.
8514 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
8515 and lroundf multiarch implementations.
8516 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
8518 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
8520 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
8522 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
8523 multiarch lround for PowerPC32.
8524 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
8525 file: multiarch lroundf for PowerPC32.
8527 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
8528 copysign and copysignf multiarch implementations.
8529 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
8531 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
8533 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
8534 file: multiarch copysign for PowerPC32.
8535 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
8536 file: multiarch copysignf for PowerPC32.
8538 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
8539 and truncf multiarch implementations.
8540 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
8542 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
8544 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
8545 multiarch trunc for PowerPC32.
8546 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
8548 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
8550 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
8551 multiarch truncf for PowerPC32.
8553 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
8554 and roundf multiarch implementations.
8555 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
8557 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
8559 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
8560 multiarch round for PowerPC32.
8561 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
8563 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
8565 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
8566 multiarch roundf for PowerPC32.
8568 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
8569 and floorf multiarch implementations.
8570 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
8572 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
8574 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
8575 multiarch floor for PowerPC32.
8576 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
8578 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
8580 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
8581 multiarch floorf for PowerPC32.
8583 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
8584 and ceilf multiarch implementations.
8585 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
8587 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
8589 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
8590 multiarch ceil for PowerPC32.
8591 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
8593 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
8595 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
8596 multiarch ceilf for PowerPC32.
8598 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
8600 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
8602 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
8603 and finitef multiarch implementations.
8604 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
8606 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
8608 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
8609 multiarch finite for PowerPC32.
8610 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
8612 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
8613 file: multiarch finitef for PowerPC32.
8615 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
8616 and isinff multiarch implementations.
8617 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
8619 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
8621 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
8622 multiarch isinf for PowerPC32.
8623 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
8625 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
8626 multiarch isinff for PowerPC32.
8628 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
8629 alias when __isnan is defined.
8630 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
8631 and isnanf multiarch implementations.
8632 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
8634 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
8636 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
8638 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
8640 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
8641 multiarch isnan for PowerPC32.
8642 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
8644 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
8646 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
8647 multiarch isnanf for PowerPC32.
8649 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
8650 and sqrtf multiarch implementations.
8651 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
8653 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
8655 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
8656 multiarch sqrt for PowerPC32.
8657 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
8659 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
8661 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
8662 multiarch sqrtf for PowerPC32.
8664 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
8665 and llroundf multiarch implementations.
8666 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
8668 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
8670 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
8672 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
8673 file: multiarch llround for PowerPC32.
8674 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
8675 file: multiarch llroundf for PowerPC32.
8677 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
8678 multiarch PowerPC32 fpu implementations.
8679 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
8681 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
8683 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
8684 multiarch llrint for PowerPC32.
8685 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
8687 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
8689 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
8692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
8694 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
8696 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
8698 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
8700 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
8701 multiarch wordcopy for PPC32.
8702 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
8704 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8705 (__libc_ifunc_impl_list): Likewise.
8706 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
8707 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
8708 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
8709 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
8710 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
8711 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
8713 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
8714 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
8716 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
8718 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
8720 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
8721 multiarch wcscpy for PPC32.
8722 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
8724 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8725 (__libc_ifunc_impl_list): Likewise.
8726 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
8727 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
8728 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
8729 sysdeps/powerpc/power6/wcscpy.c.
8731 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
8732 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
8734 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
8736 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
8738 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
8739 multiarch wcsrchr for PPC32.
8740 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
8742 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8743 (__libc_ifunc_impl_list): Likewise.
8744 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
8745 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
8746 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
8747 sysdeps/powerpc/power6/wcsrchr.c.
8749 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
8751 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
8753 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
8754 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
8755 multiarch wcschr for PPc32.
8756 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
8758 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8759 (__libc_ifunc_impl_list): Likewise.
8760 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
8761 * sysdeps/powerpc/power6/wcschr.c: ... to here.
8762 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
8763 sysdeps/powerpc/power6/wcschr.c.
8765 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
8766 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
8768 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
8769 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
8770 file: multiarch strchr for PPC32.
8771 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
8773 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8774 (__libc_ifunc_impl_list): Likewise.
8776 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
8778 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
8780 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
8782 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
8783 multiarch strchrnul for PPC32.
8784 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
8786 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8787 (__libc_ifunc_impl_list): Likewise.
8789 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
8791 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
8792 multiarch strncasecmp for PPC32.
8793 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
8795 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
8796 multiarch strncasecmp_l for PPC32.
8797 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
8798 strncasecmp multiarch objects.
8799 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8800 (__libc_ifunc_impl_list): Likewise.
8802 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
8804 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
8805 multiarch strncasecmp for PPC32.
8806 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
8808 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
8809 multiarch strcasecmp_l for PPC32.
8810 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
8812 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8813 (__libc_ifunc_impl_list): Likewise.
8815 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
8817 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
8819 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
8820 multiarch strncmp for PPC32.
8821 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
8823 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8824 (__libc_ifunc_impl_list): Likewise.
8826 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
8827 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
8829 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
8830 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
8831 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
8833 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8834 (__libc_ifunc_impl_list): Likewise.
8836 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
8838 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
8840 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
8841 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
8843 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8844 (__libc_ifunc_impl_list): Likewise.
8846 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
8848 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
8850 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
8851 multiarch rawmemchr for PPC32.
8852 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
8854 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8855 (__libc_ifunc_impl_list): Likewise.
8857 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
8859 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
8861 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
8862 file: memrchr multiarch for PPC32.
8863 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
8865 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8866 (__libc_ifunc_impl_list): Likewise.
8868 * string/memchr.c (__memchr): Using macro to redefine symbol name.
8869 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
8871 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
8872 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
8873 multiarch memchr for PPC32.
8874 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
8876 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8877 (__libc_ifunc_impl_list): Likewise.
8879 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
8880 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
8882 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
8884 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
8885 file: multiarch mempcpy for PPC32.
8886 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
8888 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8889 (__libc_ifunc_impl_list): Likewise.
8891 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
8892 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
8893 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
8894 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
8895 multiarch bzero for PPC32.
8896 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
8898 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
8900 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
8901 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
8902 file: multiarch memset for PPC32.
8903 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
8904 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
8905 memset multiarch objects.
8906 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8907 (__libc_ifunc_impl_list): Likewise.
8909 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
8911 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
8912 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
8914 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
8915 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
8917 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8918 (__libc_ifunc_impl_list): Likewise.
8920 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
8921 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
8922 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
8924 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
8926 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
8928 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
8929 multiarch memcpy for PPC32.
8930 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
8932 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8933 (__libc_ifunc_impl_list): Likewise.
8935 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
8936 support multiarch for POWER/PPC32.
8937 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
8939 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
8940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
8941 Implies file to make multiarch folder appers before the fpu and
8942 default folder for power4 configuration.
8944 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8946 * scripts/bench.pl: Append volatile keyword to type.
8948 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8950 * sysdeps/sh/sotruss-lib.c: New file.
8951 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
8953 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8955 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8957 2013-12-05 Joseph Myers <joseph@codesourcery.com>
8960 * math/w_tgamma.c: Include <errno.h>.
8961 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
8962 * math/w_tgammaf.c: Include <errno.h>.
8963 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
8964 * math/w_tgammal.c: Include <errno.h>.
8965 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
8966 * math/auto-libm-test-in: Do not allow missing errno on tgamma
8967 underflow. Add more tgamma tests.
8968 * math/auto-libm-test-out: Regenerated.
8969 * sysdeps/i386/fpu/libm-test-ulps: Update.
8970 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8972 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
8973 sin, sinh, tan, tanh, tgamma, y0 and y1.
8974 * math/auto-libm-test-out: Regenerated.
8975 * math/libm-test.inc (TEST_COND_x86_64): New macro.
8976 (TEST_COND_x86): Likewise.
8977 (M_E2l): Remove macro.
8979 (M_2_SQRT_PIl): Likewise.
8980 (M_SQRT_PIl): Likewise.
8981 (M_1_DIV_El): Likewise.
8982 (log_test_data): Use AUTO_TESTS_f_f.
8983 (log10_test_data): Likewise.
8984 (log1p_test_data): Likewise.
8985 (log2_test_data): Likewise.
8986 (sin_test_data): Likewise.
8987 (sin_tonearest_test_data): Likewise.
8988 (sin_towardzero_test_data): Likewise.
8989 (sin_downward_test_data): Likewise.
8990 (sin_upward_test_data): Likewise.
8991 (sinh_test_data): Likewise.
8992 (sinh_tonearest_test_data): Likewise.
8993 (sinh_towardzero_test_data): Likewise.
8994 (sinh_downward_test_data): Likewise.
8995 (sinh_upward_test_data): Likewise.
8996 (tan_test_data): Likewise.
8997 (tan_tonearest_test_data): Likewise.
8998 (tan_towardzero_test_data): Likewise.
8999 (tan_downward_test_data): Likewise.
9000 (tan_upward_test_data): Likewise.
9001 (tanh_test_data): Likewise.
9002 (tgamma_test_data): Likewise.
9003 (y0_test_data): Likewise.
9004 (y1_test_data): Likewise.
9005 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
9006 (special_real_inputs): Add pi/4.
9007 * sysdeps/i386/fpu/libm-test-ulps: Update.
9008 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9010 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9012 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
9013 "longjmp_target" static probes.
9014 (__longjmp): Rename to __longjmp_symbol.
9015 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
9016 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
9017 on which longjmp to generate.
9018 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9019 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
9021 (__sigsetjmp): Rename to __sigsetjmp_symbol.
9022 (__sigjmp_save): Rename to __sigjmp_save_symbol.
9023 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
9024 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
9025 and __sigjmp_save_symbol based on which sigsetjmp to generated.
9026 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
9027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
9028 __longjmp_symbol based on which __longjmp to generate.
9029 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
9031 (setjmp): Rename to setjmp_symbol.
9032 (__sigsetjmp): Rename to __sigsetjmp_symbol.
9033 (_setjmp): Rename to _setjmp_symbol.
9034 (__sigsetjmp): Rename to __sigsetjmp_symbol.
9035 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
9036 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
9037 which setjmp to generate.
9038 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
9039 "longjmp_target" static probes.
9041 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9043 * benchtests/README: Add note about output arguments.
9044 * benchtests/bench-sincos.c: Remove file.
9045 * benchtests/sincos-inputs: New file.
9046 * scripts/bench.pl: Identify output arguments and define
9047 static variables for them.
9049 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
9052 * Makefile (INSTALL): Add install-plain.texi as the primary
9054 * manual/install-plain.texi: New file.
9055 * manual/install.texi: Include node directive only for
9056 non-plaintext output.
9058 2013-12-04 Joseph Myers <joseph@codesourcery.com>
9060 * stdlib/longlong.h: Update from GCC.
9064 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
9065 * math/w_j0f.c (y0f): Likewise.
9066 * math/w_j0l.c (__y0l): Likewise.
9067 * math/w_j1.c (y1): Likewise.
9068 * math/w_j1f.c (y1f): Likewise.
9069 * math/w_j1l.c (__y1l): Likewise
9070 * math/w_jn.c (yn): Likewise.
9071 * math/w_jnf.c (ynf): Likewise.
9072 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
9073 Bessel function pole errors in _POSIX_ mode. Use NAN as return
9074 value for Bessel function domain errors outside _SVID_ mode.
9075 Adjust sign of return value for yn (negative integer, 0).
9076 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
9077 by zero in return for negative x and set sign appropriately for
9079 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
9080 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
9081 * math/libm-test.inc (y0_test_data): Add more tests and adjust
9082 expectations in error cases.
9083 (y1_test_data): Likewise.
9084 (yn_test_data): Likewise.
9085 * sysdeps/i386/fpu/libm-test-ulps: Update.
9086 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9088 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9090 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
9091 "64" to "64-v1". Add "64-v2".
9092 (abi-64-options): Rename to ...
9093 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
9094 (abi-64-condition): Rename to ...
9095 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
9096 (abi-64-ld-soname): Rename to ...
9097 (abi-64-v1-ld-soname): ... this.
9098 (abi-64-v2-options): Define.
9099 (abi-64-v2-condition): Likewise.
9100 (abi-64-v2-ld-soname): Likewise.
9101 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
9102 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
9103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
9104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
9105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
9107 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9108 Alan Modra <amodra@gmail.com>
9110 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
9111 New versions for use with the ELFv2 ABI.
9112 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
9113 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
9115 (struct La_ppc64v2_retval): Likewise.
9116 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
9117 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
9118 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
9119 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
9120 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
9121 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
9122 Do not save or restore CR.
9123 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
9124 (_dl_profile_resolve): Do no save or restore CR. Support extended
9125 return values for ELFv2 ABI. Fix location of FPR return registers.
9126 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
9127 updated values for _CALL_ELF == 2.
9128 (La_regs, La_retval, int_retval): Likewise.
9130 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9132 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
9133 (FRAME_MIN_SIZE_PARM): Likewise.
9134 (FRAME_BACKCHAIN): Likewise.
9135 (FRAME_CR_SAVE): Likewise.
9136 (FRAME_LR_SAVE): Likewise.
9137 (FRAME_TOC_SAVE): Likewise.
9138 (FRAME_PARM_SAVE): Likewise.
9139 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
9140 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
9141 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
9142 (call_mcount_parm_offset): New macro.
9143 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
9144 (PROF): Use symbolic stack frame offsets.
9145 (TAIL_CALL_SYSCALL_ERROR): Likewise.
9146 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
9147 Redefine in terms of FRAME_MIN_SIZE.
9148 (_dl_runtime_resolve): Use symbolic stack frame offsets.
9149 (_dl_profile_resolve): Likewise. Update comment.
9150 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
9151 symbols stack frame offsets.
9152 (__sigsetjmp): Likewise.
9153 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
9154 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
9155 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
9156 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
9158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
9159 (FRAME_BACKCHAIN): Remove.
9160 (FRAME_CR_SAVE): Likewise.
9161 (FRAME_LR_SAVE): Likewise.
9162 (FRAME_COMPILER_DW): Likewise.
9163 (FRAME_LINKER_DW): Likewise.
9164 (FRAME_TOC_SAVE): Likewise.
9165 (FRAME_PARM_SAVE): Likewise.
9166 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
9167 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
9168 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
9169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
9170 (CHECK_SP): Use symbolic stack frame offsets.
9171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
9172 zone" instead of caller's parameter save area for temp storage.
9173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
9174 Likewise. Also, use symbolic stack frame offsets.
9175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
9176 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
9177 our own stack frame instead of the caller's.
9178 (__socket): Use symbolic stack frame offsets.
9180 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9181 Alan Modra <amodra@gmail.com>
9183 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
9185 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
9186 (PPC64_LOCAL_ENTRY_OFFSET): Define.
9187 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
9189 (elf_machine_fixup_plt): Call it.
9190 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
9192 (elf_machine_rela): Update call to elf_machine_plt_conflict.
9193 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
9194 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
9195 r2 before calling target.
9197 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9198 Alan Modra <amodra@gmail.com>
9200 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
9201 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
9202 versions of macros to support ELFv2 ABI.
9203 (LOCALENTRY): New macro.
9204 (ENTRY, EALIGN): Use it.
9205 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
9206 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
9207 fall through into ENTRY entry point.
9208 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
9209 Only define if _CALL_ELF != 2.
9211 (elf_machine_matches_host): Verify ABI version matches.
9212 (RTLD_START): Use LOCALENTRY.
9213 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
9214 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
9215 (PLT_ENTRY_WORDS): New macro.
9216 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
9217 (elf_machine_runtime_setup): Support ELFv2 ABI.
9218 (elf_machine_fixup_plt): Likewise.
9219 (elf_machine_plt_conflict): Likewise.
9220 (resolve_ifunc): Likewise.
9221 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
9222 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
9224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
9225 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
9226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
9227 (makecontext): Support ELFv2 ABI.
9228 * elf/elf.h (EF_PPC64_ABI): Define.
9230 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9232 * sysdeps/powerpc/powerpc64/sysdep.h
9233 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
9234 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
9235 (ENTRY) [ASSEMBLER]: ... but instead here ...
9236 (EALIGN) [ASSEMBLER]: ... and here.
9237 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
9238 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
9239 (ENTRY_2) [!ASSEMBLER]: Use it.
9240 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
9241 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
9242 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
9243 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
9244 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
9245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
9246 Use PPC64_LOAD_FUNCPTR.
9248 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
9250 2013-12-04 Alan Modra <amodra@gmail.com>
9252 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
9253 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
9254 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
9255 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
9257 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
9258 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
9259 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
9260 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
9261 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
9262 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
9264 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
9267 (__makecontext): Fix incorrect CFI when backtracing out of
9268 context created via makecontext.
9269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
9270 (__setcontext): Fix incorrect CFI during switch to new context.
9271 (__novec_setcontext): Likewise.
9273 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
9276 * time/strptime_l.c (__strptime_internal): Allow modifiers
9278 * time/tst-strptime.c (day_tests): Add testcase.
9280 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9282 * scripts/bench.pl: Skip over blank lines.
9284 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
9287 * manual/time.texi (Calendar Time): Clarify what timezone functions
9290 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9292 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9294 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
9296 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
9298 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
9299 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
9300 * debug/memset_chk.c (__memset_chk): Likewise.
9301 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
9302 * debug/strncpy_chk.c: Likewise.
9304 2013-12-03 Joseph Myers <joseph@codesourcery.com>
9308 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
9309 (__ieee754_exp): For possibly underflowing results, check size of
9310 result and force underflow exception if required.
9311 * math/auto-libm-test-in: Add more tests of exp.
9312 * math/auto-libm-test-out: Regenerated.
9313 * sysdeps/i386/fpu/libm-test-ulps: Update.
9314 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9317 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
9318 * math/w_exp2f.c (__exp2f): Likewise.
9319 * math/w_exp2l.c (__exp2l): Likewise.
9320 * math/auto-libm-test-in: Do not allow missing errno on exp2
9322 * math/auto-libm-test-out: Regenerated.
9324 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
9327 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
9328 handle filename validation.
9329 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
9332 2013-12-03 Joseph Myers <joseph@codesourcery.com>
9335 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
9336 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
9337 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
9339 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
9340 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
9341 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
9342 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
9343 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
9344 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
9345 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
9346 * math/auto-libm-test-in: Don't allow missing errno from erfc.
9347 Add more erfc tests.
9348 * math/auto-libm-test-out: Regenerated.
9349 * sysdeps/i386/fpu/libm-test-ulps: Update.
9350 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9352 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
9353 exp2, expm1, j0 and j1.
9354 * math/auto-libm-test-out: Regenerated.
9355 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
9356 (erfc_test_data): Likewise.
9357 (exp_test_data): Likewise.
9358 (exp_tonearest_test_data): Likewise.
9359 (exp_towardzero_test_data): Likewise.
9360 (exp_downward_test_data): Likewise.
9361 (exp_upward_test_data): Likewise.
9362 (exp10_test_data): Likewise.
9363 (exp2_test_data): Likewise.
9364 (expm1_test_data): Likewise.
9365 (j0_test_data): Likewise.
9366 (j1_test_data): Likewise.
9367 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
9368 (input_flag_type): Add flag_xfail_rounding.
9369 (input_flags): Add xfail-rounding.
9370 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
9371 (output_for_one_input_case): Handle flag_xfail_rounding.
9372 * sysdeps/i386/fpu/libm-test-ulps: Update.
9373 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9375 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
9378 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
9381 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
9384 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
9385 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
9386 (STAP_PROBE0): New macro.
9387 (STAP_PROBE1): Likewise.
9388 (STAP_PROBE2): Likewise.
9389 (STAP_PROBE3): Likewise.
9390 (STAP_PROBE4): Likewise.
9392 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
9394 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
9396 2013-12-02 Steve Ellcey <sellcey@mips.com>
9398 * benchtests/Makefile (bench): Add sqrt.
9399 (LDLIBS-bench-sqrt): New.
9400 * benchtests/sqrt-input: New.
9402 2013-12-02 Pavel Simerda <psimerda@redhat.com>
9404 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
9405 (GAIH_EAI): Likewise.
9406 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
9407 (gaih_inet): Likewise.
9408 (getaddrinfo): Don't use GAIH_EAI.
9410 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
9411 (struct gaih): Remove definition.
9413 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9415 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
9416 Use HERRNOP directly.
9418 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9420 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9422 2013-11-30 Joseph Myers <joseph@codesourcery.com>
9424 * math/gen-auto-libm-tests.c (test_functions): Add more
9425 single-argument functions.
9426 (special_fill_pi_2): New function.
9427 (special_fill_minus_pi_2): Likewise.
9428 (special_fill_pi_6): Likewise.
9429 (special_fill_minus_pi_6): Likewise.
9430 (special_fill_pi_3): Likewise.
9431 (special_fill_2pi_3): Likewise.
9432 (special_fill_e): Likewise.
9433 (special_fill_1_e): Likewise.
9434 (special_fill_e_minus_1): Likewise.
9435 (special_real_inputs): Add more special inputs.
9436 (output_for_one_input_case): Do not require ERANGE on underflow to
9437 zero if round-to-nearest result does not underflow to zero, unless
9438 exact results required.
9439 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
9440 atan, atanh, cbrt, cos and cosh.
9441 * math/auto-libm-test-out: Regenerated.
9442 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
9443 (acos_tonearest_test_data): Likewise.
9444 (acos_towardzero_test_data): Likewise.
9445 (acos_downward_test_data): Likewise.
9446 (acos_upward_test_data): Likewise.
9447 (acosh_test_data): Likewise.
9448 (asin_test_data): Likewise.
9449 (asin_tonearest_test_data): Likewise.
9450 (asin_towardzero_test_data): Likewise.
9451 (asin_upward_test_data): Likewise.
9452 (asinh_test_data): Likewise.
9453 (atan_test_data): Likewise.
9454 (atanh_test_data): Likewise.
9455 (cbrt_test_data): Likewise.
9456 (cos_test_data): Likewise.
9457 (cos_tonearest_test_data): Likewise.
9458 (cos_towardzero_test_data): Likewise.
9459 (cos_downward_test_data): Likewise.
9460 (cos_upward_test_data): Likewise.
9461 (cosh_test_data): Likewise.
9462 (cosh_tonearest_test_data): Likewise.
9463 (cosh_towardzero_test_data): Likewise.
9464 (cosh_downward_test_data): Likewise.
9465 (cosh_upward_test_data): Likewise.
9466 * sysdeps/i386/fpu/libm-test-ulps: Update.
9467 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9469 2013-11-29 Joseph Myers <joseph@codesourcery.com>
9472 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
9473 * math/w_exp10f.c (__exp10f): Likewise.
9474 * math/w_exp10l.c (__exp10l): Likewise.
9475 * math/libm-test.inc (exp10_test_data): Add more tests and expect
9476 errno settings in existing tests.
9479 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
9480 precision control set to double precision.
9481 * sysdeps/i386/fpu/w_sqrt.c: New file.
9482 * math/auto-libm-test-in: Add more tests.
9483 * math/auto-libm-test-out: Update.
9485 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
9486 (sqrt_test_tonearest): New function.
9487 (sqrt_towardzero_test_data): New variable.
9488 (sqrt_test_towardzero): New function.
9489 (sqrt_downward_test_data): New variable.
9490 (sqrt_test_downward): New function.
9491 (sqrt_upward_test_data): New variable.
9492 (sqrt_test_upward): New function.
9493 (main): Call the new functions.
9495 * math/gen-auto-libm-tests.c: New file.
9496 * math/auto-libm-test-in: Likewise.
9497 * math/auto-libm-test-out: New generated file.
9498 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
9500 (%beautify): Add generated representations of zero.
9501 (top level): Set $auto_input and call parse_auto_input.
9502 (beautify): Remove trailing "f" from hex float constants.
9503 (parse_args): Handle XFAIL_TEST.
9504 (convert_condition): New function.
9505 (or_value): Likewise.
9506 (or_cond_value): Likewise.
9507 (generate_testfile): Handle AUTO_TESTS_* lines.
9508 (parse_auto_input): New function.
9509 * math/libm-test.inc (XFAIL_TEST): New macro.
9510 (ERRNO_UNCHANGED): Update value.
9511 (ERRNO_EDOM): Likewise.
9512 (ERRNO_ERANGE): Likewise.
9513 (IGNORE_RESULT): Likewise.
9514 (TEST_COND_flt_32): New macro.
9515 (TEST_COND_dbl_64): Likewise.
9516 (TEST_COND_ldbl_96_intel): Likewise.
9517 (TEST_COND_ldbl_96_m68k): Likewise.
9518 (TEST_COND_ldbl_128): Likewise.
9519 (TEST_COND_ldbl_128ibm): Likewise.
9520 (TEST_COND_long32): Likewise.
9521 (TEST_COND_long64): Likewise.
9522 (TEST_COND_before_rounding): Likewise.
9523 (TEST_COND_after_rounding): Likewise.
9524 (enable_test): Handle XFAIL_TEST flag.
9525 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
9526 with finite results.
9527 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
9530 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9531 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9534 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
9535 __tls_get_addr_internal instead of __tls_get_offset in order to
9536 avoid GOT pointer dependency. Make rtld export
9537 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
9538 __tls_get_addr since we are a __tls_get_offset platform.
9539 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
9540 GOT pointer being set up before.
9541 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
9543 2013-11-28 Joseph Myers <joseph@codesourcery.com>
9545 * manual/math.texi (Errors in Math Functions): Document accuracy
9549 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
9550 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
9551 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9552 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9553 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9554 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9555 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9556 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
9557 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
9558 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9559 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9560 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9561 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9562 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9563 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
9564 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
9566 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
9567 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
9568 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
9569 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
9570 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
9572 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
9574 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
9576 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
9577 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
9578 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
9579 atomic-feupdateenv and flt-rounds.
9580 * sysdeps/powerpc/nofpu/Versions (libc): Add
9581 __atomic_feholdexcept, __atomic_feclearexcept,
9582 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
9583 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
9584 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
9585 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
9586 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
9588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
9591 * manual/arith.texi (FP Exceptions): Document that exceptions may
9592 not be raised when matherr is used.
9593 (Math Error Reporting): Document overflow in directed rounding
9594 modes. Document that errno may not be set when finite values are
9595 returned on overflow. Document intent to set errno on underflow
9596 only for underflow to zero.
9599 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
9600 round-to-nearest then adjust result for other rounding modes.
9601 * include/fenv.h (fegetround): Use libm_hidden_proto.
9602 * math/fegetround.c (fegetround): Use libm_hidden_def.
9603 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
9604 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
9605 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
9606 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
9608 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
9609 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
9610 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
9611 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
9613 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9616 * nss/Versions (libnss_files): Add
9617 _nss_files_gethostbyname3_r.
9618 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
9620 (HOST_DB_LOOKUP): Remove macro.
9621 (_nss_files_gethostbyname_r): Implement function without the
9622 HOST_DB_LOOKUP macro.
9623 (_nss_files_gethostbyname2_r): Likewise.
9625 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
9627 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
9629 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
9631 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
9632 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
9635 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9637 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
9638 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
9639 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
9640 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
9641 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
9642 __fe_nomask_env_priv and attribute_hidden.
9643 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
9644 (libc_feupdateenv_test_ppc): Likewise.
9645 (libc_feresetround_ppc): Likewise.
9646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9647 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
9648 compat_symbol macro.
9649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9650 (__fe_nomask_env): Likewise.
9651 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
9653 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
9655 * string/Makefile: Remove ifunc tests.
9656 * string/test-string.h: Define TEST_IFUNC.
9657 * string/test-bcopy-ifunc.c: Remove.
9658 * string/test-bzero-ifunc.c: Likewise.
9659 * string/test-memccpy-ifunc.c: Likewise.
9660 * string/test-memchr-ifunc.c: Likewise.
9661 * string/test-memcmp-ifunc.c: Likewise.
9662 * string/test-memcpy-ifunc.c: Likewise.
9663 * string/test-memmem-ifunc.c: Likewise.
9664 * string/test-memmove-ifunc.c: Likewise.
9665 * string/test-mempcpy-ifunc.c: Likewise.
9666 * string/test-memrchr-ifunc.c: Likewise.
9667 * string/test-memset-ifunc.c: Likewise.
9668 * string/test-rawmemchr-ifunc.c: Likewise.
9669 * string/test-stpcpy-ifunc.c: Likewise.
9670 * string/test-stpncpy-ifunc.c: Likewise.
9671 * string/test-strcasecmp-ifunc.c: Likewise.
9672 * string/test-strcasestr-ifunc.c: Likewise.
9673 * string/test-strcat-ifunc.c: Likewise.
9674 * string/test-strchr-ifunc.c: Likewise.
9675 * string/test-strchrnul-ifunc.c: Likewise.
9676 * string/test-strcmp-ifunc.c: Likewise.
9677 * string/test-strcpy-ifunc.c: Likewise.
9678 * string/test-strcspn-ifunc.c: Likewise.
9679 * string/test-strlen-ifunc.c: Likewise.
9680 * string/test-strncasecmp-ifunc.c: Likewise.
9681 * string/test-strncat-ifunc.c: Likewise.
9682 * string/test-strncmp-ifunc.c: Likewise.
9683 * string/test-strncpy-ifunc.c: Likewise.
9684 * string/test-strnlen-ifunc.c: Likewise.
9685 * string/test-strpbrk-ifunc.c: Likewise.
9686 * string/test-strrchr-ifunc.c: Likewise.
9687 * string/test-strspn-ifunc.c: Likewise.
9688 * string/test-strstr-ifunc.c: Likewise.
9690 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
9692 * benchtests/Makefile: Remove ifunc tests.
9693 * benchtests/bench-string.h: Define TEST_IFUNC.
9694 * benchtests/bench-bcopy-ifunc.c: Remove.
9695 * benchtests/bench-bzero-ifunc.c: Likewise.
9696 * benchtests/bench-memccpy-ifunc.c: Likewise.
9697 * benchtests/bench-memchr-ifunc.c: Likewise.
9698 * benchtests/bench-memcmp-ifunc.c: Likewise.
9699 * benchtests/bench-memcpy-ifunc.c: Likewise.
9700 * benchtests/bench-memmem-ifunc.c: Likewise.
9701 * benchtests/bench-memmove-ifunc.c: Likewise.
9702 * benchtests/bench-mempcpy-ifunc.c: Likewise.
9703 * benchtests/bench-memrchr-ifunc.c: Likewise.
9704 * benchtests/bench-memset-ifunc.c: Likewise.
9705 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
9706 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
9707 * benchtests/bench-stpcpy-ifunc.c: Likewise.
9708 * benchtests/bench-stpncpy-ifunc.c: Likewise.
9709 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
9710 * benchtests/bench-strcasestr-ifunc.c: Likewise.
9711 * benchtests/bench-strcat-ifunc.c: Likewise.
9712 * benchtests/bench-strchr-ifunc.c: Likewise.
9713 * benchtests/bench-strchrnul-ifunc.c: Likewise.
9714 * benchtests/bench-strcmp-ifunc.c: Likewise.
9715 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
9716 * benchtests/bench-strcpy-ifunc.c: Likewise.
9717 * benchtests/bench-strcspn-ifunc.c: Likewise.
9718 * benchtests/bench-strlen-ifunc.c: Likewise.
9719 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
9720 * benchtests/bench-strncat-ifunc.c: Likewise.
9721 * benchtests/bench-strncmp-ifunc.c: Likewise.
9722 * benchtests/bench-strncpy-ifunc.c: Likewise.
9723 * benchtests/bench-strnlen-ifunc.c: Likewise.
9724 * benchtests/bench-strpbrk-ifunc.c: Likewise.
9725 * benchtests/bench-strrchr-ifunc.c: Likewise.
9726 * benchtests/bench-strsep-ifunc.c: Likewise.
9727 * benchtests/bench-strspn-ifunc.c: Likewise.
9728 * benchtests/bench-strstr-ifunc.c: Likewise.
9730 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
9732 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
9734 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
9736 * resolv/netdb.h: Use __glibc_reserved instead __unused.
9737 * rt/aio.h: Likewise.
9738 * sysdeps/gnu/bits/utmp.h: Likewise.
9739 * sysdeps/gnu/bits/utmpx.h: Likewise.
9740 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
9741 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
9742 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
9743 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
9744 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
9745 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
9746 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
9747 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
9748 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
9749 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
9750 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
9751 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
9752 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
9753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
9754 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
9755 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
9756 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
9757 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
9758 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
9759 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
9760 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
9761 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
9762 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
9763 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
9764 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
9765 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9766 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
9767 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
9768 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
9769 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
9770 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
9771 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
9772 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
9773 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
9774 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
9775 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
9776 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
9777 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
9778 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
9779 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
9780 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
9781 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
9783 2013-11-25 Carlos O'Donell <carlos@redhat.com>
9786 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
9787 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
9789 2013-11-25 Joseph Myers <joseph@codesourcery.com>
9791 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
9792 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
9795 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9797 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
9798 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
9799 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
9800 (__fesetround): Remove define.
9801 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
9802 rounding and exceptions handling.
9803 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
9804 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
9805 (__fe_nomask_env): Likewise.
9806 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
9807 __fegetround instead of fegetround.
9808 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
9809 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
9811 2013-11-21 Roland McGrath <roland@hack.frob.com>
9813 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
9816 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
9818 2013-11-21 Meador Inge <meadori@codesourcery.com>
9821 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
9822 (encrypt_r): Likewise.
9823 * malloc/obstack.h (obstack_free): Likewise.
9824 * posix/unistd.h (encrypt): Likewise.
9826 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
9828 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
9829 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
9830 DL_CALL_DT_FINI() that call the functions directly.
9831 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
9832 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
9833 * elf/dl-fini.c: Likewise.
9835 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
9837 * malloc/hooks.c (memalign_check): Add alignment rounding.
9838 * malloc/malloc.c (_mid_memalign): New function.
9839 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
9840 Implement by calling _mid_memalign.
9841 * manual/probes.texi (Memory Allocation Probes): Remove
9842 memory_valloc_retry and memory_pvalloc_retry.
9844 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
9846 * locale/programs/locarchive.c (open_archive): Add const
9847 qualifier to ARCHIVEFNAME and copy default fname to
9851 * libio/tst-widetext.input: Rename Oriya to Odia.
9852 * locale/iso-639.def: Likewise.
9854 * manual/probes.texi (Mathematical Function Probes): Add
9855 documentation for sin, cos, asin and acos probes.
9856 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
9857 (__sin32): Add slowasin probe.
9858 (__cos32): Add slowacos probe.
9859 (__mpsin): Add slowsin probe.
9860 (__mpcos): Add slowcos probe.
9862 2013-11-19 Joseph Myers <joseph@codesourcery.com>
9865 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
9866 thread-local __sim_exceptions_thread and global
9867 __sim_exceptions_global.
9868 (__sim_disabled_exceptions): Change to thread-local
9869 __sim_disabled_exceptions_thread and global
9870 __sim_disabled_exceptions_global.
9871 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
9872 and global __sim_round_mode_global.
9873 (__simulate_exceptions): Use thread-local floating-point state and
9874 set global state from it as needed.
9875 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
9876 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
9877 __sim_round_mode_thread.
9878 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
9879 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
9880 and global __sim_exceptions_global.
9881 (__sim_disabled_exceptions): Change to thread-local
9882 __sim_disabled_exceptions_thread and global
9883 __sim_disabled_exceptions_global.
9884 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
9885 and global __sim_round_mode_global.
9886 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
9887 (SIM_SET_GLOBAL): Likewise.
9888 * sysdeps/powerpc/soft-fp/sfp-machine.h
9889 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
9890 __sim_round_mode_thread.
9891 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
9892 __sim_disabled_exceptions_thread.
9893 (__sim_exceptions): Change to __sim_exceptions_thread.
9894 (__sim_disabled_exceptions): Change to
9895 __sim_disabled_exceptions_thread.
9896 (__sim_round_mode): Change to __sim_round_mode_thread.
9897 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
9898 thread-local floating-point state and set global state from it as
9900 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
9901 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
9902 (__sim_disabled_exceptions): Remove extern declaration.
9903 (feenableexcept): Use thread-local floating-point state and set
9904 global state from it as needed.
9905 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
9907 (__sim_disabled_exceptions): Likewise.
9908 (__sim_round_mode): Likewise.
9909 (__fegetenv): Use thread-local floating-point state.
9910 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
9911 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
9912 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
9913 floating-point state and set global state from it as needed.
9914 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
9915 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
9916 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
9918 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
9919 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
9921 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
9922 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
9923 Use __sim_round_mode_thread.
9924 * math/test-fenv-tls.c: New file.
9925 * math/Makefile (tests): Add test-fenv-tls.
9926 ($(objpfx)test-fenv-tls): Depend on
9927 $(common-objpfx)nptl/libpthread.so.
9929 2013-11-19 Andreas Schwab <schwab@suse.de>
9931 * locale/programs/locale.c (show_info): Decode wordarray elements.
9932 * locale/categories.def (LC_MONETARY): Add element for
9933 _NL_MONETARY_CRNCYSTR.
9934 * locale/C-monetary.c (conversion_rate): New variable.
9935 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
9938 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
9940 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
9941 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
9943 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
9945 * elf/Makefile (tst-auxv): New test.
9946 * elf/tst-auxv.c: New
9947 * elf/rtld.c (dl_main): Adjust AT_EXECFN
9949 2013-11-18 Joseph Myers <joseph@codesourcery.com>
9951 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
9952 (hidden_proto): Caller changed.
9953 (hidden_tls_proto): New macro.
9954 (libc_hidden_tls_proto): Likewise.
9955 (rtld_hidden_tls_proto): Likewise.
9956 (libm_hidden_tls_proto): Likewise.
9957 (libresolv_hidden_tls_proto): Likewise.
9958 (librt_hidden_tls_proto): Likewise.
9959 (libdl_hidden_tls_proto): Likewise.
9960 (libnss_files_hidden_tls_proto): Likewise.
9961 (libnsl_hidden_tls_proto): Likewise.
9962 (libnss_nisplus_hidden_tls_proto): Likewise.
9963 (libutil_hidden_tls_proto): Likewise.
9965 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
9968 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
9969 (decompose_rpath): Defer expansion to fillin_rpath.
9970 (_dl_init_paths): Pass linkmap to fillin_rpath.
9972 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9974 * benchtests/Makefile: Add strsep.
9975 * benchtests/bench-strsep.c: New file: strsep benchtest.
9976 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
9978 2013-11-18 Andreas Schwab <schwab@suse.de>
9980 * locale/programs/locale.c (show_info) [case byte]: Check for
9981 '\377' instead of '\177'.
9982 * locale/C-monetary.c (not_available): Always use "\377".
9983 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
9984 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
9985 detect unavailable sign_posn locale elements.
9986 * locale/localeconv.c (__localeconv): For grouping and
9987 mon_grouping handle "\177" and "\377" like no grouping.
9988 (INT_ELEM): New macro. Use it to set all numeric members.
9989 * locale/programs/ld-monetary.c (monetary_read)
9990 <tok_mon_grouping>: Normalize single -1 to the empty string.
9991 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
9994 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
9997 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
9998 when we match (nil).
9999 * stdio-common/tst-sscanf.c (struct test): Add testcase.
10001 2013-11-16 Joseph Myers <joseph@codesourcery.com>
10003 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
10004 (NO_TEST_INLINE): Update value.
10005 (ERRNO_UNCHANGED): Likewise.
10006 (ERRNO_EDOM): Likewise.
10007 (ERRNO_ERANGE): Likewise.
10008 (IGNORE_RESULT): Likewise.
10009 (check_float_internal): Check signs of NaN results if
10010 TEST_NAN_SIGN used.
10011 (check_complex): Pass TEST_NAN_SIGN flag through to second
10012 check_float_internal call.
10013 (copysign_test_data): Add tests with quiet NaNs as second
10014 argument. Use TEST_NAN_SIGN.
10015 (fabs_test_data): Add test of negative quiet NaN argument. Use
10017 (signbit_test_data): Add tests of quiet NaN argument.
10018 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
10020 * math/gen-libm-test.pl (show_exceptions): Take extra argument
10022 (parse_args): Handle function results specified as IGNORE.
10023 * math/libm-test.inc (IGNORE_RESULT): New macro.
10024 (check_float_internal): Do not check numerical result if flag
10026 (check_complex): Pass through IGNORE_RESULT to second
10027 check_float_internal call.
10028 (check_int): Do not check numerical result if flag IGNORE_RESULT
10030 (check_long): Likewise.
10031 (check_bool): Likewise.
10032 (check_longlong): Likewise.
10033 (lrint_test_data): Add tests of infinite and NaN arguments.
10034 (lrint_tonearest_test_data): Likewise.
10035 (lrint_towardzero_test_data): Likewise.
10036 (lrint_downward_test_data): Likewise.
10037 (lrint_upward_test_data): Likewise.
10038 (llrint_test_data): Likewise.
10039 (llrint_tonearest_test_data): Likewise.
10040 (llrint_towardzero_test_data): Likewise.
10041 (llrint_downward_test_data): Likewise.
10042 (llrint_upward_test_data): Likewise.
10043 (lround_test_data): Likewise.
10044 (llround_test_data): Likewise.
10046 * math/libm-test.inc (NO_TEST_INLINE): New macro.
10047 (ERRNO_UNCHANGED): Update value.
10048 (ERRNO_EDOM): Likewise.
10049 (ERRNO_ERANGE): Likewise.
10050 (NO_TEST_INLINE_FLOAT): New macro.
10051 (NO_TEST_INLINE_DOUBLE): Likewise.
10052 (enable_test): New function.
10053 (RUN_TEST_f_f): Check enable_test before running test.
10054 (RUN_TEST_2_f): Likewise.
10055 (RUN_TEST_fff_f): Likewise.
10056 (RUN_TEST_c_f): Likewise.
10057 (RUN_TEST_f_f1): Likewise.
10058 (RUN_TEST_fF_f1): Likewise.
10059 (RUN_TEST_fI_f1): Likewise.
10060 (RUN_TEST_ffI_f1): Likewise.
10061 (RUN_TEST_c_c): Likewise.
10062 (RUN_TEST_cc_c): Likewise.
10063 (RUN_TEST_f_i): Likewise.
10064 (RUN_TEST_f_i_tg): Likewise.
10065 (RUN_TEST_ff_i_tg): Likewise.
10066 (RUN_TEST_f_b): Likewise.
10067 (RUN_TEST_f_b_tg): Likewise.
10068 (RUN_TEST_f_l): Likewise.
10069 (RUN_TEST_f_L): Likewise.
10070 (RUN_TEST_fFF_11): Likewise.
10071 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
10073 (cosh_test_data): Likewise.
10074 (exp_test_data): Likewise.
10075 (expm1_test_data): Likewise.
10076 (hypot_test_data): Likewise.
10077 (pow_test_data): Likewise.
10078 (sinh_test_data): Likewise.
10079 (tanh_test_data): Likewise.
10080 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
10083 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
10084 tests with quiet NaN input and output.
10085 (acosh_test_data): Likewise.
10086 (asin_test_data): Likewise.
10087 (asinh_test_data): Likewise.
10088 (atan_test_data): Likewise.
10089 (atanh_test_data): Likewise.
10090 (atan2_test_data): Likewise.
10091 (cbrt_test_data): Likewise.
10092 (cos_test_data): Likewise.
10093 (cosh_test_data): Likewise.
10094 (erf_test_data): Likewise.
10095 (erfc_test_data): Likewise.
10096 (exp_test_data): Likewise.
10097 (exp10_test_data): Likewise.
10098 (exp2_test_data): Likewise.
10099 (expm1_test_data): Likewise.
10100 (hypot_test_data): Likewise.
10101 (j0_test_data): Likewise.
10102 (j1_test_data): Likewise.
10103 (jn_test_data): Likewise.
10104 (lgamma_test_data): Likewise.
10105 (log_test_data): Likewise.
10106 (log10_test_data): Likewise.
10107 (log1p_test_data): Likewise.
10108 (log2_test_data): Likewise.
10109 (pow_test_data): Likewise.
10110 (scalb_test_data): Likewise.
10111 (sin_test_data): Likewise.
10112 (sincos_test_data): Likewise.
10113 (sinh_test_data): Likewise.
10114 (tan_test_data): Likewise.
10115 (tanh_test_data): Likewise.
10116 (tgamma_test_data): Likewise.
10117 (y0_test_data): Likewise.
10118 (y1_test_data): Likewise.
10119 (yn_test_data): Likewise.
10122 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
10123 argument being NaN and avoid computations with second argument in
10125 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
10126 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
10127 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
10129 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
10131 * locale/iso-639.def: Add Chitwani Tharu (the).
10133 2013-11-14 Andreas Schwab <schwab@suse.de>
10135 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
10136 word instead of empty string.
10138 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10141 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
10142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10143 (__fe_nomask_env): Likewise.
10145 2013-11-13 Steve Ellcey <sellcey@mips.com>
10147 * benchtests/bench-timing.h: Include time.h.
10149 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
10152 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
10154 * sysdeps/unix/sysv/linux/configure: Regenerated.
10156 2013-11-13 Joseph Myers <joseph@codesourcery.com>
10159 * stdlib/strtod_l.c (round_and_return): Do not consider
10160 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
10161 exponent one less than half the least subnormal exponent.
10162 * stdlib/test-strtod-round-data: Add more tests.
10163 * stdlib/tst-strtod-round.c (tests): Regenerated.
10165 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10168 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
10169 (__fe_mask_env): Likewise.
10170 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
10171 libm_hidden_proto and add function prototype.
10172 (__fe_mask_env): Add function prototype.
10173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10174 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
10175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
10176 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
10177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10178 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
10180 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10182 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
10183 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
10185 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10187 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
10188 of htab_find_slot().
10190 2013-11-11 David S. Miller <davem@davemloft.net>
10193 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
10194 symbol in the non-vis3 case in static builds.
10195 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
10196 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
10197 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
10198 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
10200 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10203 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
10206 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10208 * benchtests/Makefile: Add bench-strtod.
10209 * benchtests/bench-strtod.c: New file: strtod benchtest
10211 2013-11-11 Andreas Schwab <schwab@suse.de>
10214 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
10215 terminating NUL in key length.
10217 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10219 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
10220 Add artificial ODP entry for vDSO symbol for PPC64.
10221 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
10222 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
10224 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
10227 * nss/getent.c (services_keys): Recognize services starting with digit.
10229 2013-11-06 David S. Miller <davem@davemloft.net>
10232 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
10233 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
10235 2013-11-06 Will Newton <will.newton@linaro.org>
10237 * manual/memory.texi (Malloc Examples): Remove register
10238 keyword from examples.
10240 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
10242 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
10244 2013-11-04 Joseph Myers <joseph@codesourcery.com>
10247 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
10248 depending on [__GCC_IEC_559 > 0].
10249 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
10250 depending on [__GCC_IEC_559_COMPLEX > 0].
10252 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
10254 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
10257 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
10259 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
10261 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
10264 * malloc/malloc (malloc_info): Do not handle first bin as
10267 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
10269 * locale/iso-639.def: Add Central Nahuatl (nhn).
10271 2013-11-01 Bruno Haible <bruno@clisp.org>
10274 * manual/math.texi (BSD Random): Specify range upper bound as
10277 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
10279 * locale/iso-639.def: Add Meadow Mari (mhr).
10281 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
10283 [BZ #14752], [BZ #15763]
10284 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
10286 * rt/tst_shm.c: Add test for escaping directory.
10288 2013-10-31 Andreas Schwab <schwab@suse.de>
10291 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
10292 followed by 'x' as part of digit sequence.
10293 * stdio-common/tst-sscanf.c (double_tests2): New tests.
10295 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
10298 * configure.ac: allow GNU Make 4.0 and greater.
10299 * configure: Regenerated.
10301 2013-10-30 Will Newton <will.newton@linaro.org>
10304 * malloc/hooks.c (memalign_check): Limit alignment to the
10305 maximum representable power of two.
10306 * malloc/malloc.c (__libc_memalign): Likewise.
10307 * malloc/tst-memalign.c (do_test): Add test for very
10308 large alignment values.
10309 * malloc/tst-posix_memalign.c (do_test): Likewise.
10311 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
10314 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
10315 (munmap_chunk): Likewise.
10316 (mremap_chunk): Likewise.
10318 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
10321 * stdlib/div.c (div): Remove obsolete code.
10322 * stdlib/ldiv.c (ldiv): Likewise.
10323 * stdlib/lldiv.c (lldiv): Likewise.
10325 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10328 * nss/nss_files/files-XXX.c (get_contents_ret): New
10330 (get_contents): New function.
10331 (internal_getent): Use it. Expand size of LINEBUFLEN.
10333 2013-10-30 Mike Frysinger <vapier@gentoo.org>
10335 * configure.in: Moved to ...
10336 * configure.ac: ... here. Change reference to configure.in
10338 * sysdeps/arm/preconfigure.ac: ... here.
10339 configure.in to configure.ac.
10340 * sysdeps/gnu/configure.in: Moved to ...
10341 * sysdeps/gnu/configure.ac: ... here.
10342 * sysdeps/i386/configure.in: Moved to ...
10343 * sysdeps/i386/configure.ac: ... here.
10344 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
10345 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
10346 * sysdeps/mach/configure.in: Moved to ...
10347 * sysdeps/mach/configure.ac: ... here.
10348 * sysdeps/mach/hurd/configure.in: Moved to ...
10349 * sysdeps/mach/hurd/configure.ac: ... here.
10350 * sysdeps/powerpc/configure.in: Moved to ...
10351 * sysdeps/powerpc/configure.ac: ... here.
10352 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
10353 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
10354 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
10355 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
10356 * sysdeps/s390/s390-32/configure.in: Moved to ...
10357 * sysdeps/s390/s390-32/configure.ac: ... here.
10358 * sysdeps/s390/s390-64/configure.in: Moved to ...
10359 * sysdeps/s390/s390-64/configure.ac: ... here.
10360 * sysdeps/sh/configure.in: Moved to ...
10361 * sysdeps/sh/configure.ac: ... here.
10362 * sysdeps/sparc/configure.in: Moved to ...
10363 * sysdeps/sparc/configure.ac: ... here.
10364 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
10365 * sysdeps/unix/sysv/linux/configure.ac: ... here.
10366 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
10367 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
10368 * sysdeps/x86_64/configure.in: Moved to ...
10369 * sysdeps/x86_64/configure.ac: ... here.
10370 * sysdeps/x86_64/preconfigure.in: Moved to ...
10371 * sysdeps/x86_64/preconfigure.ac: ... here.
10372 * aclocal.m4: Change reference to configure.in to configure.ac.
10373 * config.h.in: Likewise.
10374 * manual/install.texi: Likewise.
10375 * manual/maint.texi: Likewise.
10376 * Makefile: Likewise.
10377 * malloc/Makefile: Likewise.
10378 * nscd/Makefile: Likewise.
10379 * Makeconfig: Change reference to configure.in and
10380 preconfigure.in to configure.ac and preconfigure.ac
10382 * INSTALL: Regenerated.
10383 * configure: Likewise.
10384 * sysdeps/gnu/configure: Likewise.
10385 * sysdeps/i386/configure: Likewise.
10386 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
10387 * sysdeps/mach/configure: Likewise.
10388 * sysdeps/mach/hurd/configure: Likewise.
10389 * sysdeps/powerpc/configure: Likewise.
10390 * sysdeps/powerpc/powerpc32/configure: Likewise.
10391 * sysdeps/powerpc/powerpc64/configure: Likewise.
10392 * sysdeps/s390/s390-32/configure: Likewise.
10393 * sysdeps/s390/s390-64/configure: Likewise.
10394 * sysdeps/sh/configure: Likewise.
10395 * sysdeps/sparc/configure: Likewise.
10396 * sysdeps/unix/sysv/linux/configure: Likewise.
10397 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
10398 * sysdeps/x86_64/configure: Likewise.
10399 * sysdeps/x86_64/preconfigure: Likewise.
10401 2013-10-29 Andreas Schwab <schwab@suse.de>
10403 * stdio-common/Makefile (tst-swscanf-ENV): Define.
10405 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10407 * benchtests/pow-inputs: Add new inputs.
10409 * benchtests/exp-inputs: Add new inputs.
10411 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
10412 conditional check for return value.
10413 (__cos32): Likewise.
10415 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10417 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
10418 to provide a boost for large inputs with word alignment.
10419 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
10420 implementation based on optimized PPC64 strcpy.
10421 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
10422 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
10423 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
10424 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
10426 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
10429 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
10431 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
10434 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
10435 * time/tst-strptime.c (day_tests): Add testcase.
10437 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
10440 * manual/pattern.texi: Acknowledge that fnmatch can fail.
10442 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
10445 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
10446 MAP_FAILED on error.
10448 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10451 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
10452 heap for large requests.
10454 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
10457 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
10458 result if the result has no associated interface.
10459 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
10460 interface for all 127.X.Y.Z addresses.
10462 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
10464 * locale/iso-639.def: Add Ligurian (lij)
10466 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
10469 * sunrpc/rpc_main.c: Document rpcgen -5.
10471 2013-10-19 Michael Stahl <mstahl@redhat.com>
10473 * elf/rtld.c (do_preload): Print the reason why preloading failed.
10475 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
10478 * posix/glob.c: Match only directories when trailing slash is present.
10479 * posix/tst-gnuglob.c (my_opendir): Do not open files.
10480 (main): Add testcase.
10482 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
10485 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
10487 2013-10-18 Carlos O'Donell <carlos@redhat.com>
10489 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
10490 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
10491 AUTH_DES and cindex for FIPS 140-2.
10492 (DES Encryption): Add cindex FIPS 46-3.
10494 * locale/locarchive.h (struct locarhandle): Add fname.
10495 * locale/programs/localedef.c (main): Pass ARGV[remaining]
10496 if an optional argument was specified to --list-archive,
10498 * locale/programs/locarchive.c (show_archive_content): Take new
10499 argument fname and pass it via ah.fname to open_archive.
10500 * locale/programs/localedef.h: Update decl.
10501 (open_archive): If AH->fname is non-null, open that file
10502 rather than the default file name, and don't ignore ENOENT.
10503 (create_archive): Set AH.fname to NULL.
10504 (delete_locales_from_archive): Likewise.
10505 (add_locales_to_archive): Likewise.
10506 * locale/programs/locfile.c (write_all_categories): Likewise.
10508 2013-10-18 Joseph Myers <joseph@codesourcery.com>
10509 Aldy Hernandez <aldyh@redhat.com>
10511 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
10512 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
10513 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
10514 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
10515 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
10516 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
10517 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
10518 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
10519 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
10520 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
10521 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
10522 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
10523 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
10524 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
10525 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
10527 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
10529 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
10531 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
10533 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
10534 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
10536 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
10537 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
10538 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
10539 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
10541 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
10542 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
10543 * sysdeps/powerpc/preconfigure: Likewise.
10544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
10546 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
10547 Replace contents of file by #include of <fenv_libc.h>.
10548 * sysdeps/powerpc/soft-fp/sfp-machine.h
10549 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
10551 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
10552 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
10553 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
10554 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
10555 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
10556 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
10557 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
10558 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
10559 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
10560 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
10561 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
10562 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
10563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10564 Allow copysignl PLT reference to be missing.
10566 2013-10-18 Richard Sandiford <richard@codesourcery.com>
10567 Joseph Myers <joseph@codesourcery.com
10570 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
10572 (add_to_tablewc): Assert sequence of wide characters is nonempty.
10574 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10576 * elf/tst-tls-dlinfo.c: Don't include tls.h.
10577 * elf/tst-tls1.c: Likewise.
10578 * elf/tst-tls10.h: Likewise.
10579 * elf/tst-tls14.c: Likewise.
10580 * elf/tst-tls2.c: Likewise.
10581 * elf/tst-tls3.c: Likewise.
10582 * elf/tst-tls4.c: Likewise.
10583 * elf/tst-tls5.c: Likewise.
10584 * elf/tst-tls6.c: Likewise.
10585 * elf/tst-tls7.c: Likewise.
10586 * elf/tst-tls8.c: Likewise.
10587 * elf/tst-tls9.c: Likewise.
10588 * elf/tst-tlsmod1.c: Likewise.
10589 * elf/tst-tlsmod13.c: Likewise.
10590 * elf/tst-tlsmod13a.c: Likewise.
10591 * elf/tst-tlsmod14a.c: Likewise.
10592 * elf/tst-tlsmod16a.c: Likewise.
10593 * elf/tst-tlsmod16b.c: Likewise.
10594 * elf/tst-tlsmod2.c: Likewise.
10595 * elf/tst-tlsmod3.c: Likewise.
10596 * elf/tst-tlsmod4.c: Likewise.
10597 * elf/tst-tlsmod5.c: Likewise.
10598 * elf/tst-tlsmod6.c: Likewise.
10600 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
10603 * malloc/malloc.c: remove checks for statistics.
10605 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
10608 * inet/inet_net.c (inet_network): Detect additional invalid strings.
10609 * inet/tst-network.c: Add testcase.
10611 2013-10-17 Andreas Schwab <schwab@suse.de>
10614 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
10615 to determine canonical name.
10617 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
10619 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
10620 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
10621 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10622 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
10623 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10624 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10625 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10626 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
10627 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
10628 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10629 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
10630 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10631 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10632 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10633 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
10634 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
10635 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10636 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10637 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
10638 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10639 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10640 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10641 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10642 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
10643 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
10644 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10645 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10646 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
10647 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10648 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
10649 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10650 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10651 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
10652 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10653 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10654 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10655 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10656 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10657 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10658 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10659 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10660 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
10661 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
10662 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10663 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
10664 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10665 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10666 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10667 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
10668 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10669 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
10670 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10671 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10672 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
10673 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10674 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
10675 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10676 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10678 2013-10-17 Joseph Myers <joseph@codesourcery.com>
10681 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
10682 make result into a quiet NaN.
10684 2013-10-16 Joseph Myers <joseph@codesourcery.com>
10686 * soft-fp/adddf3.c: Fix horizontal whitespace.
10687 * soft-fp/addsf3.c: Likewise.
10688 * soft-fp/addtf3.c: Likewise.
10689 * soft-fp/divdf3.c: Likewise.
10690 * soft-fp/divsf3.c: Likewise.
10691 * soft-fp/divtf3.c: Likewise.
10692 * soft-fp/double.h: Likewise.
10693 * soft-fp/eqdf2.c: Likewise.
10694 * soft-fp/eqsf2.c: Likewise.
10695 * soft-fp/eqtf2.c: Likewise.
10696 * soft-fp/extenddftf2.c: Likewise.
10697 * soft-fp/extended.h: Likewise.
10698 * soft-fp/extendsfdf2.c: Likewise.
10699 * soft-fp/extendsftf2.c: Likewise.
10700 * soft-fp/extendxftf2.c: Likewise.
10701 * soft-fp/fixdfdi.c: Likewise.
10702 * soft-fp/fixdfsi.c: Likewise.
10703 * soft-fp/fixdfti.c: Likewise.
10704 * soft-fp/fixsfdi.c: Likewise.
10705 * soft-fp/fixsfsi.c: Likewise.
10706 * soft-fp/fixsfti.c: Likewise.
10707 * soft-fp/fixtfdi.c: Likewise.
10708 * soft-fp/fixtfsi.c: Likewise.
10709 * soft-fp/fixtfti.c: Likewise.
10710 * soft-fp/fixunsdfdi.c: Likewise.
10711 * soft-fp/fixunsdfsi.c: Likewise.
10712 * soft-fp/fixunsdfti.c: Likewise.
10713 * soft-fp/fixunssfdi.c: Likewise.
10714 * soft-fp/fixunssfsi.c: Likewise.
10715 * soft-fp/fixunssfti.c: Likewise.
10716 * soft-fp/fixunstfdi.c: Likewise.
10717 * soft-fp/fixunstfsi.c: Likewise.
10718 * soft-fp/fixunstfti.c: Likewise.
10719 * soft-fp/floatdidf.c: Likewise.
10720 * soft-fp/floatdisf.c: Likewise.
10721 * soft-fp/floatditf.c: Likewise.
10722 * soft-fp/floatsidf.c: Likewise.
10723 * soft-fp/floatsisf.c: Likewise.
10724 * soft-fp/floatsitf.c: Likewise.
10725 * soft-fp/floattidf.c: Likewise.
10726 * soft-fp/floattisf.c: Likewise.
10727 * soft-fp/floattitf.c: Likewise.
10728 * soft-fp/floatundidf.c: Likewise.
10729 * soft-fp/floatundisf.c: Likewise.
10730 * soft-fp/floatunditf.c: Likewise.
10731 * soft-fp/floatunsidf.c: Likewise.
10732 * soft-fp/floatunsisf.c: Likewise.
10733 * soft-fp/floatunsitf.c: Likewise.
10734 * soft-fp/floatuntidf.c: Likewise.
10735 * soft-fp/floatuntisf.c: Likewise.
10736 * soft-fp/floatuntitf.c: Likewise.
10737 * soft-fp/fmadf4.c: Likewise.
10738 * soft-fp/fmasf4.c: Likewise.
10739 * soft-fp/fmatf4.c: Likewise.
10740 * soft-fp/gedf2.c: Likewise.
10741 * soft-fp/gesf2.c: Likewise.
10742 * soft-fp/getf2.c: Likewise.
10743 * soft-fp/ledf2.c: Likewise.
10744 * soft-fp/lesf2.c: Likewise.
10745 * soft-fp/letf2.c: Likewise.
10746 * soft-fp/muldf3.c: Likewise.
10747 * soft-fp/mulsf3.c: Likewise.
10748 * soft-fp/multf3.c: Likewise.
10749 * soft-fp/negdf2.c: Likewise.
10750 * soft-fp/negsf2.c: Likewise.
10751 * soft-fp/negtf2.c: Likewise.
10752 * soft-fp/op-1.h: Likewise.
10753 * soft-fp/op-2.h: Likewise.
10754 * soft-fp/op-4.h: Likewise.
10755 * soft-fp/op-8.h: Likewise.
10756 * soft-fp/op-common.h: Likewise.
10757 * soft-fp/quad.h: Likewise.
10758 * soft-fp/single.h: Likewise.
10759 * soft-fp/soft-fp.h: Likewise.
10760 * soft-fp/sqrtdf2.c: Likewise.
10761 * soft-fp/sqrtsf2.c: Likewise.
10762 * soft-fp/sqrttf2.c: Likewise.
10763 * soft-fp/subdf3.c: Likewise.
10764 * soft-fp/subsf3.c: Likewise.
10765 * soft-fp/subtf3.c: Likewise.
10766 * soft-fp/truncdfsf2.c: Likewise.
10767 * soft-fp/trunctfdf2.c: Likewise.
10768 * soft-fp/trunctfsf2.c: Likewise.
10769 * soft-fp/trunctfxf2.c: Likewise.
10770 * soft-fp/unorddf2.c: Likewise.
10771 * soft-fp/unordsf2.c: Likewise.
10772 * soft-fp/unordtf2.c: Likewise.
10774 2013-10-15 Joseph Myers <joseph@codesourcery.com>
10776 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
10777 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
10779 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
10781 * elf/dl-libc.c: Clear initfini list after freeing.
10783 2013-10-14 Joseph Myers <joseph@codesourcery.com>
10785 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
10786 * soft-fp/addsf3.c: Likewise.
10787 * soft-fp/addtf3.c: Likewise.
10788 * soft-fp/divdf3.c: Likewise.
10789 * soft-fp/divsf3.c: Likewise.
10790 * soft-fp/divtf3.c: Likewise.
10791 * soft-fp/double.h: Likewise.
10792 * soft-fp/eqdf2.c: Likewise.
10793 * soft-fp/eqsf2.c: Likewise.
10794 * soft-fp/eqtf2.c: Likewise.
10795 * soft-fp/extenddftf2.c: Likewise.
10796 * soft-fp/extended.h: Likewise.
10797 * soft-fp/extendsfdf2.c: Likewise.
10798 * soft-fp/extendsftf2.c: Likewise.
10799 * soft-fp/extendxftf2.c: Likewise.
10800 * soft-fp/fixdfdi.c: Likewise.
10801 * soft-fp/fixdfsi.c: Likewise.
10802 * soft-fp/fixdfti.c: Likewise.
10803 * soft-fp/fixsfdi.c: Likewise.
10804 * soft-fp/fixsfsi.c: Likewise.
10805 * soft-fp/fixsfti.c: Likewise.
10806 * soft-fp/fixtfdi.c: Likewise.
10807 * soft-fp/fixtfsi.c: Likewise.
10808 * soft-fp/fixtfti.c: Likewise.
10809 * soft-fp/fixunsdfdi.c: Likewise.
10810 * soft-fp/fixunsdfsi.c: Likewise.
10811 * soft-fp/fixunsdfti.c: Likewise.
10812 * soft-fp/fixunssfdi.c: Likewise.
10813 * soft-fp/fixunssfsi.c: Likewise.
10814 * soft-fp/fixunssfti.c: Likewise.
10815 * soft-fp/fixunstfdi.c: Likewise.
10816 * soft-fp/fixunstfsi.c: Likewise.
10817 * soft-fp/fixunstfti.c: Likewise.
10818 * soft-fp/floatdidf.c: Likewise.
10819 * soft-fp/floatdisf.c: Likewise.
10820 * soft-fp/floatditf.c: Likewise.
10821 * soft-fp/floatsidf.c: Likewise.
10822 * soft-fp/floatsisf.c: Likewise.
10823 * soft-fp/floatsitf.c: Likewise.
10824 * soft-fp/floattidf.c: Likewise.
10825 * soft-fp/floattisf.c: Likewise.
10826 * soft-fp/floattitf.c: Likewise.
10827 * soft-fp/floatundidf.c: Likewise.
10828 * soft-fp/floatundisf.c: Likewise.
10829 * soft-fp/floatunsidf.c: Likewise.
10830 * soft-fp/floatunsisf.c: Likewise.
10831 * soft-fp/floatuntidf.c: Likewise.
10832 * soft-fp/floatuntisf.c: Likewise.
10833 * soft-fp/floatuntitf.c: Likewise.
10834 * soft-fp/fmadf4.c: Likewise.
10835 * soft-fp/fmasf4.c: Likewise.
10836 * soft-fp/fmatf4.c: Likewise.
10837 * soft-fp/gedf2.c: Likewise.
10838 * soft-fp/gesf2.c: Likewise.
10839 * soft-fp/getf2.c: Likewise.
10840 * soft-fp/ledf2.c: Likewise.
10841 * soft-fp/lesf2.c: Likewise.
10842 * soft-fp/letf2.c: Likewise.
10843 * soft-fp/muldf3.c: Likewise.
10844 * soft-fp/mulsf3.c: Likewise.
10845 * soft-fp/multf3.c: Likewise.
10846 * soft-fp/negdf2.c: Likewise.
10847 * soft-fp/negsf2.c: Likewise.
10848 * soft-fp/negtf2.c: Likewise.
10849 * soft-fp/op-1.h: Likewise.
10850 * soft-fp/op-2.h: Likewise.
10851 * soft-fp/op-4.h: Likewise.
10852 * soft-fp/op-8.h: Likewise.
10853 * soft-fp/op-common.h: Likewise.
10854 * soft-fp/quad.h: Likewise.
10855 * soft-fp/single.h: Likewise.
10856 * soft-fp/soft-fp.h: Likewise.
10857 * soft-fp/sqrtdf2.c: Likewise.
10858 * soft-fp/sqrtsf2.c: Likewise.
10859 * soft-fp/sqrttf2.c: Likewise.
10860 * soft-fp/subdf3.c: Likewise.
10861 * soft-fp/subsf3.c: Likewise.
10862 * soft-fp/subtf3.c: Likewise.
10863 * soft-fp/truncdfsf2.c: Likewise.
10864 * soft-fp/trunctfdf2.c: Likewise.
10865 * soft-fp/trunctfsf2.c: Likewise.
10866 * soft-fp/trunctfxf2.c: Likewise.
10867 * soft-fp/unorddf2.c: Likewise.
10868 * soft-fp/unordsf2.c: Likewise.
10869 * soft-fp/unordtf2.c: Likewise.
10871 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
10874 * misc/error.c (error_tail): Fix possible buffer overflow.
10876 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
10879 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
10882 2013-10-14 P. J. McDermott <pj@pehjota.net>
10885 * elf/ldd.bash.in (try_trace): New function. Delete previous code
10886 testing pipefail option.
10888 2013-10-12 Joseph Myers <joseph@codesourcery.com>
10890 * soft-fp/double.h: Indent preprocessor directives inside #if.
10891 * soft-fp/extended.h: Likewise.
10892 * soft-fp/op-2.h: Likewise.
10893 * soft-fp/op-4.h: Likewise.
10894 * soft-fp/op-common.h: Likewise.
10895 * soft-fp/quad.h: Likewise.
10896 * soft-fp/single.h: Likewise.
10897 * soft-fp/soft-fp.h: Likewise.
10899 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
10901 * iconv/iconv_prog.c: Fix typos.
10902 * stdio-common/psiginfo-data.h: Likewise.
10904 2013-10-12 Reuben Thomas <rrt@sc3d.org>
10907 * locale/setlocale.c: Fix typo.
10909 2013-10-12 Joseph Myers <joseph@codesourcery.com>
10912 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
10913 signaling NaN arguments.
10914 * soft-fp/unordsf2.c (__unordsf2): Likewise.
10915 * soft-fp/unordtf2.c (__unordtf2): Likewise.
10918 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
10919 unordered operands.
10920 * soft-fp/gesf2.c (__gesf2): Likewise.
10921 * soft-fp/getf2.c (__getf2): Likewise.
10922 * soft-fp/ledf2.c (__ledf2): Likewise.
10923 * soft-fp/lesf2.c (__lesf2): Likewise.
10924 * soft-fp/letf2.c (__letf2): Likewise.
10926 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
10927 * soft-fp/eqsf2.c (__eqsf2): Likewise.
10928 * soft-fp/eqtf2.c (__eqtf2): Likewise.
10929 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
10930 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
10931 * soft-fp/fixdfti.c (__fixdfti): Likewise.
10932 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
10933 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
10934 * soft-fp/fixsfti.c (__fixsfti): Likewise.
10935 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
10936 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
10937 * soft-fp/fixtfti.c (__fixtfti): Likewise.
10938 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
10939 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
10940 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
10941 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
10942 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
10943 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
10944 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
10945 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
10946 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
10947 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
10948 * soft-fp/floatdisf.c (__floatdisf): Likewise.
10949 * soft-fp/floatsisf.c (__floatsisf): Likewise.
10950 * soft-fp/floattidf.c (__floattidf): Likewise.
10951 * soft-fp/floattisf.c (__floattisf): Likewise.
10952 * soft-fp/floattitf.c (__floattitf): Likewise.
10953 * soft-fp/floatundidf.c (__floatundidf): Likewise.
10954 * soft-fp/floatundisf.c (__floatundisf): Likewise.
10955 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
10956 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
10957 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
10958 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
10959 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
10960 * soft-fp/gesf2.c (__gesf2): Likewise.
10961 * soft-fp/getf2.c (__getf2): Likewise.
10962 * soft-fp/ledf2.c (__ledf2): Likewise.
10963 * soft-fp/lesf2.c (__lesf2): Likewise.
10964 * soft-fp/letf2.c (__letf2): Likewise.
10966 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
10967 Undefine and redefine.
10968 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
10969 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
10970 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
10971 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
10972 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10973 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
10974 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10975 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
10976 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10977 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
10978 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10979 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
10980 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10981 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
10982 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10985 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
10986 without decrementing exponent if mantissa >= that for the
10987 denominator, not >.
10988 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
10989 denominator, not >. Decrement exponent in < case instead of
10990 incrementing in >= case.
10991 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
10992 without decrementing exponent if mantissa >= that for the
10993 denominator, not >.
10995 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
10996 computing saturated result for unsigned overflow.
10998 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10999 Jeff Law <law@redhat.com>
11001 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
11002 (atan2Mp): Add systemtap probe marker.
11003 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
11004 (__ieee754_log): Add systemtap probe marker.
11005 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
11006 (atanMp): Add systemtap probe marker.
11007 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
11008 (tanMp): Add systemtap probe marker.
11009 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
11010 (__slowexp): Add systemtap probe marker.
11011 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
11012 (__slowpow): Add systemtap probe marker.
11013 * manual/probes.texi: Document probes.
11015 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
11018 * libio/fileops.c (_IO_new_file_write): Return count of bytes
11020 (_IO_new_file_xsputn): Don't return EOF if nothing has been
11022 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
11023 written to buffer but not flushed.
11024 * libio/iofwrite_u.c: Likewise.
11025 * libio/iopadn.c: Return bytes returned even if EOF was
11027 * libio/iowpadn.c: Likewise.
11028 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
11029 if _IO_padn does not write the whole buffer.
11030 [!COMPILE_WPRINTF] (PAD): Likewise.
11032 2013-10-10 David S. Miller <davem@davemloft.net>
11034 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
11037 2013-10-10 Joseph Myers <joseph@codesourcery.com>
11039 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
11040 instead of FSF address.
11041 * soft-fp/fixdfti.c: Likewise.
11042 * soft-fp/fixsfti.c: Likewise.
11043 * soft-fp/fixtfti.c: Likewise.
11044 * soft-fp/fixunsdfti.c: Likewise.
11045 * soft-fp/fixunssfti.c: Likewise.
11046 * soft-fp/fixunstfti.c: Likewise.
11047 * soft-fp/floattidf.c: Likewise.
11048 * soft-fp/floattisf.c: Likewise.
11049 * soft-fp/floattitf.c: Likewise.
11050 * soft-fp/floatuntidf.c: Likewise.
11051 * soft-fp/floatuntisf.c: Likewise.
11052 * soft-fp/floatuntitf.c: Likewise.
11053 * soft-fp/trunctfxf2.c: Likewise.
11055 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
11056 * soft-fp/fixdfti.c: Likewise.
11057 * soft-fp/fixsfti.c: Likewise.
11058 * soft-fp/fixtfti.c: Likewise.
11059 * soft-fp/fixunsdfti.c: Likewise.
11060 * soft-fp/fixunssfti.c: Likewise.
11061 * soft-fp/fixunstfti.c: Likewise.
11062 * soft-fp/floattidf.c: Likewise.
11063 * soft-fp/floattisf.c: Likewise.
11064 * soft-fp/floattitf.c: Likewise.
11065 * soft-fp/floatuntidf.c: Likewise.
11066 * soft-fp/floatuntisf.c: Likewise.
11067 * soft-fp/floatuntitf.c: Likewise.
11068 * soft-fp/trunctfxf2.c: Likewise.
11070 2013-10-10 David S. Miller <davem@davemloft.net>
11072 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11074 2013-10-10 Joseph Myers <joseph@codsourcery.com>
11076 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
11077 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
11078 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
11079 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
11080 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
11081 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
11082 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
11084 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
11085 for NaNs before doing comparisons on argument.
11086 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
11089 2013-10-10 Will Newton <will.newton@linaro.org>
11091 * malloc/hooks.c (memalign_check): Ensure the value of bytes
11092 passed to _int_memalign does not overflow.
11094 2013-10-10 Torvald Riegel <triegel@redhat.com>
11096 * scripts/bench.pl: Add include-sources directive.
11097 * benchtests/README: Update documentation.
11099 2013-10-10 Joseph Myers <joseph@codesourcery.com>
11101 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
11102 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
11103 instead of FP_INIT_ROUNDMODE.
11104 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
11105 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
11108 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
11109 copy class of input value.
11110 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
11111 not handle exceptions.
11112 * soft-fp/negsf2.c (__negsf2): Likewise.
11113 * soft-fp/negtf2.c (__negtf2): Likewise.
11114 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
11116 2013-10-09 Joseph Myers <joseph@codesourcery.com>
11118 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
11119 semicolon. From Linux kernel.
11121 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
11123 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
11125 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
11128 * manual/socket.texi: Added statement about buffer
11129 for gethostbyname2_r.
11131 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
11133 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
11134 Use .p2align directive instead, throughout.
11135 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
11136 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
11137 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
11138 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11139 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11140 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
11141 * sysdeps/x86_64/strchr.S: Likewise.
11142 * sysdeps/x86_64/strrchr.S: Likewise.
11144 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11146 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
11148 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
11150 * sysdeps/generic/math_private.h (__mpsin1): Remove
11152 (__mpcos1): Likewise.
11153 (__mpsin): New argument __range_reduce.
11154 (__mpcos): Likewise.
11155 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11156 (slow): Use __mpsin and __mpcos.
11160 (sloww1): Likewise.
11161 (sloww2): Likewise.
11162 (bsloww): Likewise.
11163 (bsloww1): Likewise.
11164 (bsloww2): Likewise.
11165 (cslow2): Likewise.
11166 (csloww): Likewise.
11167 (csloww1): Likewise.
11168 (csloww2): Likewise.
11169 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
11170 range_reduce. Merge in __mpsin1.
11171 (__mpcos): Likewise.
11172 (__mpsin1): Remove.
11173 (__mpcos1): Likewise.
11175 2013-10-07 Joseph Myers <joseph@codesourcery.com>
11177 * locale/loadlocale.c (_nl_intern_locale_data): Use
11179 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
11180 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
11181 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
11182 obstack data is appropriately aligned.
11183 (obstack_int32_grow_fast): Likewise.
11184 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
11185 * locale/programs/locfile.c (add_locale_uint32): Likewise.
11186 (add_locale_uint32_array): Likewise.
11188 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
11190 * benchtests/Makefile: Remove ARGLIST and RET variables.
11191 ($(objpfx)bench-%.c): Pass only function name to the script.
11192 * benchtests/README: Update documentation.
11193 * benchtests/acos-inputs: Add new directives.
11194 * benchtests/acosh-inputs: Likewise.
11195 * benchtests/asin-inputs: Likewise.
11196 * benchtests/asinh-inputs: Likewise.
11197 * benchtests/atan-inputs: Likewise.
11198 * benchtests/atanh-inputs: Likewise.
11199 * benchtests/cos-inputs: Likewise.
11200 * benchtests/cosh-inputs: Likewise.
11201 * benchtests/exp-inputs: Likewise.
11202 * benchtests/log-inputs: Likewise.
11203 * benchtests/pow-inputs: Likewise.
11204 * benchtests/rint-inputs: Likewise.
11205 * benchtests/sin-inputs: Likewise.
11206 * benchtests/sinh-inputs: Likewise.
11207 * benchtests/tan-inputs: Likewise.
11208 * benchtests/tanh-inputs: Likewise.
11209 * scripts/bench.pl: Add support for new directives.
11211 2013-10-07 Alan Modra <amodra@gmail.com>
11213 * README: Fix careless merge.
11215 2013-10-05 Alan Modra <amodra@gmail.com>
11217 * NEWS: Mention powerpc64le support and bugs fixed.
11218 * README: Both big-endian and little-endian powerpc64 supported.
11220 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
11222 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
11223 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
11224 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
11225 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
11227 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
11229 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
11232 2013-10-04 Joseph Myers <joseph@codesourcery.com>
11234 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
11235 Move -mhard-float appending from
11236 ports/sysdeps/powerpc/powerpc32/Makefile.
11237 [$(with-fp) = yes] (ASFLAGS): Likewise.
11238 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
11239 * sysdeps/powerpc/nofpu: Move directory from
11240 ports/sysdeps/powerpc/nofpu.
11241 * sysdeps/powerpc/soft-fp: Move directory from
11242 ports/sysdeps/powerpc/soft-fp.
11243 * sysdeps/powerpc/powerpc32/405: Move directory from
11244 ports/sysdeps/powerpc/powerpc32/405.
11245 * sysdeps/powerpc/powerpc32/440: Move directory from
11246 ports/sysdeps/powerpc/powerpc32/440.
11247 * sysdeps/powerpc/powerpc32/464: Move directory from
11248 ports/sysdeps/powerpc/powerpc32/464.
11249 * sysdeps/powerpc/powerpc32/476: Move directory from
11250 ports/sysdeps/powerpc/powerpc32/476.
11251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
11252 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
11253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
11254 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
11255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
11256 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
11257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
11258 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
11259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
11260 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
11261 * README: Update for powerpc-*-linux-gnu software floating point
11264 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
11265 case to powerpc/powerpc32*.
11266 * sysdeps/unix/sysv/linux/configure: Regenerated.
11268 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
11269 (_FPU_MASK_OM): Define as 0x04.
11270 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
11271 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
11273 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
11275 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
11277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
11278 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
11280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
11281 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
11283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
11284 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
11285 and setcontext_e500.
11287 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
11289 * locale/iso-3166.def: Update iso-1366.def and related occurrences
11291 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11293 * manual/threads.texi (Default Thread Attributes): Fix typo.
11295 2013-10-04 Will Newton <will.newton@linaro.org>
11297 * malloc/Makefile: Add tst-memalign.
11298 * malloc/tst-memalign.c: New file.
11300 * malloc/tst-posix_memalign.c: Add comments.
11301 (do_test): Add comments and call free on all potentially
11302 allocated pointers. Add space after cast.
11304 * malloc/tst-pvalloc.c: Add comments.
11305 (do_test): Add comments and call free on all potentially
11306 allocated pointers. Remove duplicate check for NULL pointer.
11307 Add space after cast.
11309 * malloc/tst-valloc.c: Add comments.
11310 (do_test): Add comments and call free on all potentially
11311 allocated pointers. Remove duplicate check for NULL pointer.
11312 Add space after cast.
11314 2013-10-04 Alan Modra <amodra@gmail.com>
11316 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11317 Use stdint types in rather than __attribute__((mode())).
11318 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11320 2013-10-04 Alan Modra <amodra@gmail.com>
11322 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11323 Correct handling of unaligned relocs for little-endian.
11324 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11326 2013-10-04 Alan Modra <amodra@gmail.com>
11328 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
11329 * configure: Regenerate.
11330 * nptl/shlib-versions: Powerpc*le starts at 2.18.
11331 * shlib-versions: Likewise.
11333 2013-10-04 Alan Modra <amodra@gmail.com>
11335 * string/tester.c (test_memrchr): Increment reported test cycle.
11337 2013-10-04 Alan Modra <amodra@gmail.com>
11339 * string/test-memcpy.c (do_one_test): When reporting errors, print
11340 string address and don't overrun end of string.
11342 2013-10-04 Alan Modra <amodra@gmail.com>
11344 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
11345 insrdi. Make better use of reg selection to speed exit slightly.
11346 Schedule entry path a little better. Remove useless "are we done"
11347 checks on entry to main loop. Handle wrapping around zero address.
11348 Correct main loop count. Handle single left-over word from main
11349 loop inline rather than by using loop_small. Remove extra word
11350 case in loop_small caused by wrong loop count. Add little-endian
11352 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
11353 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
11355 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
11356 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
11357 support. Avoid rlwimi.
11358 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
11360 2013-10-04 Alan Modra <amodra@gmail.com>
11362 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
11363 insrdi. Formatting.
11364 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
11365 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
11366 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
11367 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
11368 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
11369 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
11371 2013-10-04 Alan Modra <amodra@gmail.com>
11373 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
11374 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11375 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
11376 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
11377 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
11378 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
11379 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11380 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
11381 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
11382 use of regs. Use power7 mtocrf. Tidy function tails.
11384 2013-10-04 Alan Modra <amodra@gmail.com>
11386 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
11387 Formatting. Consistently use rXXX register defines or rN defines.
11388 Use early exit labels that avoid restoring unused non-volatile regs.
11389 Make cr field use more consistent with rWORDn compares. Rename
11390 regs used as shift registers for unaligned loop, using rN defines
11391 for short lifetime/multiple use regs.
11392 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
11393 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
11394 addi 1,1,64 to pop stack frame. Simplify return value code.
11395 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11397 2013-10-04 Alan Modra <amodra@gmail.com>
11399 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
11400 support. Correct typos, formatting. Optimize tail. Use insrdi
11401 rather than rlwimi.
11402 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
11403 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
11404 little-endian support. Correct typos.
11405 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
11406 rather than rlwimi.
11407 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
11408 in loop and entry code to keep "and." results.
11409 (strchr): Add little-endian support. Comment. Move cntlzd
11411 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
11413 2013-10-04 Alan Modra <amodra@gmail.com>
11415 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
11416 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
11417 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
11418 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
11420 2013-10-04 Alan Modra <amodra@gmail.com>
11422 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
11423 (rTMP): Define as r11.
11424 (strcmp): Add little-endian support. Optimise tail.
11425 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
11426 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
11427 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
11428 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11429 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
11430 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11431 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11433 2013-10-04 Alan Modra <amodra@gmail.com>
11435 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
11436 little-endian support. Remove unnecessary "are we done" tests.
11437 Handle "s" wrapping around zero and extremely large "size".
11438 Correct main loop count. Handle single left-over word from main
11439 loop inline rather than by using small_loop. Correct comments.
11440 Delete "zero" tail, use "end_max" instead.
11441 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
11443 2013-10-04 Alan Modra <amodra@gmail.com>
11445 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
11446 support. Don't branch over align.
11447 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
11448 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
11449 support. Rearrange tmp reg use to suit. Comment.
11450 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
11452 2013-10-04 Alan Modra <amodra@gmail.com>
11454 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
11456 2013-10-04 Alan Modra <amodra@gmail.com>
11458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
11459 conditional form of branch and link when obtaining pc.
11460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
11462 2013-10-04 Alan Modra <amodra@gmail.com>
11464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
11466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
11467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
11469 2013-10-04 Alan Modra <amodra@gmail.com>
11471 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
11472 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
11473 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
11474 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
11475 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
11476 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
11477 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
11478 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
11479 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
11480 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
11482 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
11483 Alistair Popple <alistair@ozlabs.au.ibm.com>
11484 Alan Modra <amodra@gmail.com>
11487 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
11488 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
11489 _dl_hwcap access for little-endian.
11490 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
11491 destroy vmx regs when saving unaligned.
11492 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
11493 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
11494 destroy vmx regs when saving unaligned.
11496 2013-10-04 Alan Modra <amodra@gmail.com>
11498 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
11499 Don't use a union to pack hi/low value.
11501 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
11503 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
11505 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
11506 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
11507 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
11508 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
11509 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
11511 2013-10-04 Alan Modra <amodra@gmail.com>
11513 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
11514 constants to usual value for .cst8 section, and remove redundant
11516 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
11517 constant for 0x1p52. Load little-endian words of double from
11518 correct stack offsets.
11520 2013-10-04 Alan Modra <amodra@gmail.com>
11522 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
11523 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
11524 words of double from correct stack offsets.
11525 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
11526 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
11527 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
11528 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
11529 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
11530 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
11531 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
11532 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
11533 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
11534 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
11535 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
11536 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
11537 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
11538 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
11539 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
11540 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
11541 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
11543 2013-10-04 Alan Modra <amodra@gmail.com>
11545 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
11546 64-bit int/double union.
11547 (_FPU_SETCW): Likewise.
11548 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
11549 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
11551 2013-10-04 Alan Modra <amodra@gmail.com>
11553 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
11554 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
11556 2013-10-04 Alan Modra <amodra@gmail.com>
11558 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
11559 use vector int constants.
11560 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
11562 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
11564 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
11565 array with long long.
11566 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
11567 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
11568 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
11569 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
11570 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
11571 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
11572 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
11573 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
11574 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
11575 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
11576 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
11577 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
11578 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
11580 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
11582 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
11583 (__signbit): Likewise. Correct for little-endian.
11584 (__signbitl): Call __signbit.
11585 (lrint): Correct for little-endian.
11586 (lrintf): Call lrint.
11588 2013-10-04 Alan Modra <amodra@gmail.com>
11590 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
11591 union 32-bit int array member with 64-bit int array.
11592 (t515, tm256): Double rather than long double.
11593 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
11595 2013-10-04 Alan Modra <amodra@gmail.com>
11597 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
11599 (IEEE854_LONG_DOUBLE_BIAS): Delete.
11600 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
11601 version of math_ldbl.h.
11603 2013-10-04 Alan Modra <amodra@gmail.com>
11605 [BZ #15734], [BZ #15735]
11606 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
11607 all uses of ieee875 long double macros and unions. Simplify test
11608 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
11609 ldbl_extract_mantissa value for ix,iy exponents. Properly
11610 normalize after ldbl_extract_mantissa, and don't add hidden bit
11611 already handled. Don't treat low word of ieee854 mantissa like
11612 low word of IBM long double and mask off bit when testing for
11614 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
11615 all uses of ieee875 long double macros and unions. Simplify tests
11616 for 0.0L and inf. Correct double adjustment of k. Delete dead code
11617 adjusting ha,hb. Simplify code setting kld. Delete two600 and
11618 two1022, instead use their values. Recognise that tests for large
11619 "a" and small "b" are mutually exclusive. Rename vars. Comment.
11620 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
11621 Rewrite all uses of ieee875 long double macros and unions. Simplify
11622 test for 0.0L and nan. Correct negation.
11623 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
11624 ieee875 long double macros and unions. Correct output for large
11625 magnitude x. Correct absolute value calculation.
11626 (__erfcl): Likewise.
11627 * math/libm-test.inc: Add tests for errors discovered in IBM long
11628 double versions of fmodl, remainderl, erfl and erfcl.
11630 2013-10-04 Alan Modra <amodra@gmail.com>
11632 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
11633 all uses of ieee854 long double macros and unions. Simplify tests
11634 for long doubles that are fully specified by the high double.
11635 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
11637 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
11638 Remove dead code too.
11639 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
11640 (__ieee754_ynl): Likewise.
11641 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
11642 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
11643 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
11644 Remove dead code too.
11645 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
11646 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
11647 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
11648 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
11650 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
11652 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
11653 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
11654 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
11655 Comment on variable precision.
11656 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
11657 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
11659 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
11660 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
11661 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
11662 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
11663 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
11665 2013-10-04 Alan Modra <amodra@gmail.com>
11667 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
11668 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
11669 all uses of ieee854 long double macros and unions.
11670 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
11671 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
11672 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
11673 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
11674 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
11675 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
11677 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
11678 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
11679 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
11680 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
11681 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
11682 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
11683 Simplify sign and nan test too.
11684 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
11685 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
11686 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
11687 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
11689 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
11690 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
11692 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11693 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
11694 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
11695 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
11696 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
11697 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
11699 2013-10-04 Alan Modra <amodra@gmail.com>
11701 * stdio-common/printf_size.c (__printf_size): Don't use
11702 union ieee854_long_double in fpnum union.
11703 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
11704 signbit macro to retrieve sign from long double.
11705 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
11706 retrieve sign from long double.
11707 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
11708 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
11709 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
11710 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
11711 * math/test-misc.c (main): Don't use union ieee854_long_double.
11713 2013-10-04 Alan Modra <amodra@gmail.com>
11716 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
11717 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
11718 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
11719 calculation. Remove unnecessary test for denormal exponent.
11720 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
11721 Correct handling of denormals. Avoid undefined shift behaviour.
11722 Correct normalisation of low mantissa when low double is denormal.
11723 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
11724 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
11725 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
11726 Correct normalisation of low mantissa. Test for overflow of high
11727 mantissa and normalise.
11728 (ldbl_nearbyint): Use more readable constant for two52.
11729 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
11730 (__mpn_construct_long_double): Fix test for overflow of high
11731 mantissa and correct normalisation. Avoid undefined shift.
11733 2013-10-04 Alan Modra <amodra@gmail.com>
11735 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
11736 (union ibm_extended_long_double): Define as an array of ieee754_double.
11737 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
11738 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
11739 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
11740 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
11741 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11742 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
11743 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
11744 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
11745 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
11746 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
11747 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
11749 2013-10-03 Joseph Myers <joseph@codesourcery.com>
11751 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
11752 page size instead of calling getpagesize.
11754 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
11755 (LOCFILE_ALIGN_MASK): Likewise.
11756 (LOCFILE_ALIGN_UP): Likewise.
11757 (LOCFILE_ALIGNED_P): Likewise.
11758 * locale/programs/ld-collate.c (collate_output): Use the new
11759 macros instead of __alignof__ (int32_t).
11760 * locale/weight.h (findidx): Likewise.
11762 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
11765 * manual/string.texi: Fix strncat and wcsncat.
11767 2013-10-03 Brooks Moses <bmoses@google.com>
11770 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
11771 * Makerules: ...here, and adjust associated comments.
11773 2013-10-02 Will Newton <will.newton@linaro.org>
11775 * malloc/Makefile: Add tst-pvalloc.
11776 * malloc/tst-pvalloc.c: New file.
11778 2013-10-02 Will Newton <will.newton@linaro.org>
11780 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
11781 improve test coverage.
11783 2013-10-02 Will Newton <will.newton@linaro.org>
11785 * malloc/Makefile: Add tst-posix_memalign.
11786 * malloc/tst-posix_memalign.c: New file.
11788 2013-10-01 Eric Blake <eblake@redhat.com>
11790 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
11791 Use __THROWNL rather than __THROW on static functions.
11793 2013-09-30 Petr Machata <pmachata@redhat.com>
11795 * elf/elf.h (R_AARCH64_ABS16): New macro.
11796 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
11797 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
11798 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
11799 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
11800 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
11801 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
11802 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
11803 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
11804 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
11805 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
11806 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
11807 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
11808 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
11809 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
11810 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
11811 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
11812 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
11813 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
11814 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
11815 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
11816 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
11817 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
11818 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
11819 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
11820 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
11821 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
11822 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
11823 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
11824 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
11825 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
11826 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
11827 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
11828 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
11829 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
11830 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
11831 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
11832 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
11833 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
11834 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
11835 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
11836 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
11837 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
11838 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
11839 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
11840 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
11841 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
11842 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
11843 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
11844 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
11845 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
11846 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
11847 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
11848 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
11849 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
11850 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
11851 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
11852 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
11853 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
11854 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
11855 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
11856 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
11857 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
11858 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
11859 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
11860 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
11861 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
11862 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
11863 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
11864 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
11865 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
11866 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
11867 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
11868 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
11869 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
11870 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
11871 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
11872 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
11873 (R_AARCH64_TLSDESC_LDR): Likewise.
11874 (R_AARCH64_TLSDESC_ADD): Likewise.
11875 (R_AARCH64_TLSDESC_CALL): Likewise.
11877 2013-09-30 Andreas Schwab <schwab@suse.de>
11880 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
11881 the nss database lookup.
11882 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11883 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11885 2013-09-28 Mike Frysinger <vapier@gentoo.org>
11887 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
11889 2013-09-28 P. J. McDermott <pj@pehjota.net>
11891 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
11892 ${Bash-specific parameter/pattern/string} parameter expansion.
11893 * sysdeps/unix/make-syscalls.sh: Likewise.
11895 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11897 * sysdeps/sh/stackguard-macros.h: New file.
11899 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
11901 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
11902 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
11903 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
11904 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
11905 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11906 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
11908 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11910 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
11911 Fix thread ID register.
11913 2013-09-25 Joseph Myers <joseph@codesourcery.com>
11915 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
11916 [POSIX || UNIX98]: Require rather than permitting all symbols from
11918 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
11919 element of struct sched_param.
11920 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
11921 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
11922 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
11923 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
11926 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
11928 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
11929 argument calculation.
11931 2013-09-24 Joseph Myers <joseph@codesourcery.com>
11933 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
11935 [POSIX] (pthread_attr_t): Do not require type.
11936 [POSIX] (pthread_cond_t): Likewise.
11937 [POSIX] (pthread_condattr_t): Likewise.
11938 [POSIX] (pthread_key_t): Likewise.
11939 [POSIX] (pthread_mutex_t): Likewise.
11940 [POSIX] (pthread_mutexattr_t): Likewise.
11941 [POSIX] (pthread_once_t): Likewise.
11942 [POSIX] (pthread_t): Likewise.
11943 [POSIX-based standards] (pthread_atfork): Expect function.
11945 2013-09-24 Joseph Myers <joseph@codesourcery.com>
11946 Richard Sandiford <richard@codesourcery.com>
11948 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
11949 (swap_endianness_p): New extern variable.
11950 (set_big_endian): New inline function.
11951 (maybe_swap_uint32): Likewise.
11952 (maybe_swap_uint32_array): Likewise.
11953 (maybe_swap_uint32_obstack): Likewise.
11954 * locale/programs/locfile.c: Include <stdbool.h>.
11955 (swap_endianness_p): New variable.
11956 (add_locale_uint32): Call maybe_swap_uint32.
11957 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
11958 (write_locale_data): Call maybe_swap_uint32_array.
11959 * locale/programs/ld-collate.c (obstack_int32_grow): Call
11961 (obstack_int32_grow_fast): Likewise.
11962 (output_weightwc): Call maybe_swap_uint32_obstack.
11963 (collate_output): Likewise.
11964 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
11965 (OPT_LITTLE_ENDIAN): Likewise.
11966 (options): Add --little-endian and --big-endian options.
11967 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
11968 * locale/programs/locarchive.c: Include "locfile.h".
11972 (create_archive): Use the new macros to access fields of
11973 structures directly mapped from or written to locale archives.
11974 (oldlocrecentcmp): Likewise.
11975 (enlarge_archive): Likewise.
11976 (insert_name): Likewise.
11977 (add_alias): Likewise.
11978 (add_locale): Likewise.
11979 (delete_locales_from_archive): Likewise.
11980 (show_archive_content): Likewise.
11981 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
11984 2013-09-24 Roland McGrath <roland@hack.frob.com>
11986 * manual/freemanuals.texi: Updated from (newly) canonical copy at
11987 http://www.gnu.org/doc/freemanuals.texi.
11988 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
11990 2013-09-24 Will Newton <will.newton@linaro.org>
11992 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
11995 2013-09-23 Joseph Myers <joseph@codesourcery.com>
11997 * locale/hashval.h (compute_hashval): Interpret bytes of key as
12000 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
12002 * manual/threads.texi (POSIX Threads): Fix a typo.
12004 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
12007 * string/tst-strcoll-overflow.c: New test case.
12008 * string/Makefile (xtests): Add tst-strcoll-overflow.
12009 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
12010 cache if string sizes may cause integer overflow.
12013 * string/strcoll_l.c (coll_seq): New members rule, idx,
12014 save_idx and back_us.
12015 (get_next_seq_nocache): New function.
12016 (do_compare_nocache): New function.
12017 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
12020 2013-09-23 Carlos O'Donell <carlos@redhat.com>
12023 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
12024 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
12025 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
12028 * elf/Makefile (tests): Add tst-ptrguard1.
12029 (tests-static): Add tst-ptrguard1-static.
12030 (tst-ptrguard1-ARGS): Define.
12031 (tst-ptrguard1-static-ARGS): Define.
12032 * elf/tst-ptrguard1.c: New file.
12033 * elf/tst-ptrguard1-static.c: New file.
12034 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
12035 * sysdeps/i386/stackguard-macros.h: Likewise.
12036 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
12037 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
12038 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
12039 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
12040 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
12041 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
12043 2013-09-23 Hector Marco <hecmargi@upv.es>
12044 Ismael Ripoll <iripoll@disca.upv.es>
12045 Carlos O'Donell <carlos@redhat.com>
12048 * sysdeps/generic/stackguard-macros.h: Define
12049 __pointer_chk_guard_local and POINTER_CHK_GUARD.
12050 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
12051 Define __pointer_chk_guard_local.
12052 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
12053 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
12055 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
12058 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
12060 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
12062 * include/string.h (__ffs): Declare as hidden.
12063 * string/ffs.c (__ffs): Define as hidden.
12064 * sysdeps/i386/ffs.c (__ffs): Likewise.
12065 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
12066 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
12067 * sysdeps/s390/ffs.c (__ffs): Likewise.
12068 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
12070 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
12072 * NEWS: Mention malloc probes.
12074 * malloc/arena.c (new_heap): New memory_heap_new probe.
12075 (grow_heap): New memory_heap_more probe.
12076 (shrink_heap): New memory_heap_less probe.
12077 (heap_trim): New memory_heap_free probe.
12078 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
12079 (systrim): New memory_sbrk_less probe.
12080 * manual/probes.texi: Document them.
12082 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
12083 * manual/probes.texi: Document it.
12085 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
12086 (__libc_realloc): Add memory_realloc_retry probe.
12087 (__libc_memalign): Add memory_memalign_retry probe.
12088 (__libc_valloc): Add memory_valloc_retry probe.
12089 (__libc_pvalloc): Add memory_pvalloc_retry probe.
12090 (__libc_calloc): Add memory_calloc_retry probe.
12091 * manual/probes.texi: Document them.
12093 * malloc/arena.c (get_free_list): Add probe
12094 memory_arena_reuse_free_list.
12095 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
12096 and memory_arena_reuse.
12097 (arena_get2) [!PER_THREAD]: Likewise.
12098 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
12099 memory_arena_reuse_realloc.
12100 * manual/probes.texi: Document them.
12102 * malloc/malloc.c (__libc_free): Add
12103 memory_mallopt_free_dyn_thresholds probe.
12104 (__libc_mallopt): Add multiple memory_mallopt probes.
12105 * manual/probes.texi: Document them.
12107 * malloc/malloc.c: Include stap-probe.h.
12108 (__libc_mallopt): Add memory_mallopt probe.
12109 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
12110 * manual/probes.texi: New.
12111 * manual/Makefile (chapters): Add probes.
12112 * manual/threads.texi: Set next node.
12114 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
12116 [BZ #15963, #13985]
12117 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
12118 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
12119 Add `Chinese' to `nan' entry name.
12121 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12123 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
12124 (POLYNOMIAL): Likewise.
12125 (TAYLOR_SINCOS): Likewise.
12126 (TAYLOR_SLOW): Likewise.
12127 (__sin): Use TAYLOR_SINCOS.
12129 (slow): Use TAYLOR_SLOW.
12131 (bsloww): Likewise.
12132 (csloww): Likewise.
12134 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12136 * stdlib/strtod_l.c: Fix buffer overrun.
12138 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12140 * benchtests/Makefile (bench): Add sincos.
12141 * benchtests/bench-sincos.c: New file.
12143 * math/libm-test.inc (cos_test_data): New test inputs.
12144 (sin_test_data): Likewise.
12146 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
12152 (sloww1): Likewise.
12153 (sloww2): Likewise.
12154 (bsloww1): Likewise.
12155 (bsloww2): Likewise.
12156 (cslow2): Likewise.
12157 (csloww1): Likewise.
12158 (csloww2): Likewise.
12160 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
12165 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
12169 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
12171 * config.h.in (HAVE_MIPS_NAN2008): New macro.
12172 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
12173 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
12174 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
12175 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
12176 * elf/cache.c (print_entry): Handle the new cache flags.
12178 2013-09-18 Joseph Myers <joseph@codesourcery.com>
12179 Aldy Hernandez <aldyh@redhat.com>
12181 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
12182 Change condition to [_SOFT_FLOAT].
12183 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
12184 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
12185 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
12186 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
12187 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
12188 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
12189 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
12190 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
12191 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
12192 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
12193 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
12194 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
12195 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
12196 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
12197 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
12198 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
12201 2013-09-18 Joseph Myers <joseph@codesourcery.com>
12203 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
12204 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
12205 (__longjmp): Use LOAD_GP to load saved GPRs.
12206 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
12207 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
12208 (__sigsetjmp): Use SAVE_GP to save GPRs.
12210 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
12211 Do not append -msoft-float.
12212 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
12214 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12216 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
12218 2013-09-17 Joseph Myers <joseph@codesourcery.com>
12221 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
12222 (_FPU_GETCW): Use initial "__" on variable and field names but not
12223 on macro parameter name.
12224 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
12225 parentheses around reference to macro parameter.
12227 2013-09-13 Richard Sandiford <richard@codesourcery.com>
12229 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
12231 (ctype_startup): Use uint32_t in cast and sizeof for
12234 2013-09-11 Jia Liu <proljc@gmail.com>
12236 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
12238 [__FreeBSD__]: Likewise.
12240 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
12242 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
12243 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
12244 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
12245 (strchr): Remove __strchr_sse42 ifunc selection.
12246 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
12247 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
12249 2013-09-11 Will Newton <will.newton@linaro.org>
12251 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
12252 parameter to RES. Remove hardcoded 1000 value.
12253 * benchtests/bench-skeleton.c (main): Pass RES parameter
12254 to TIMING_INIT and multiply result by 1000.
12256 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12258 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12260 2013-09-11 Andreas Schwab <schwab@suse.de>
12262 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
12264 (O_TMPFILE) [__USE_GNU]: Define.
12265 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
12268 2013-09-11 Will Newton <will.newton@linaro.org>
12271 * malloc/malloc.c (__libc_memalign): Check the value of bytes
12274 2013-09-11 Will Newton <will.newton@linaro.org>
12277 * malloc/malloc.c (__libc_valloc): Check the value of bytes
12280 2013-09-11 Will Newton <will.newton@linaro.org>
12283 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
12286 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
12288 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
12289 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12290 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12291 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12292 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12294 2013-09-10 Allan McRae <allan@archlinux.org>
12297 * manual/arith.texi (Parsing of Floats): Clarify
12301 * manual/install.texi (Running make install): Mention
12303 * INSTALL: Regenerated.
12305 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
12307 * csu/init-first.c (_init): Remove the !SHARED condition around
12308 FPU control word initialization.
12309 * elf/dl-support.c (_dl_fpu_control): New variable.
12310 (_dl_aux_init) <AT_FPUCW>: Initialize it.
12311 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
12312 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
12313 * math/test-fpucw-static.c: New file.
12314 * math/test-fpucw-ieee.c: New file.
12315 * math/test-fpucw-ieee-static.c: New file.
12316 * math/Makefile (tests): Add `test-fpucw-ieee' and
12318 (tests-static): New variable.
12319 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
12321 [($(build-shared),yes)]
12322 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
12324 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
12327 2013-09-09 Allan McRae <allan@archlinux.org>
12330 * manual/string.texi (Collation Functions): Fix typo in
12332 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
12335 * stdlib/isomac.c (get_null_defines): Fix memory leak.
12338 * libio/memstream.c (open_memstream): Fix memory leak.
12339 * libio/wmemstream.c (open_wmemstream): Likewise.
12342 * nscd/netgroupcache.c: Fix nesting of ifdefs.
12344 2013-09-09 Will Newton <will.newton@linaro.org>
12346 * malloc/Makefile: Add tst-realloc to tests.
12347 * malloc/tst-realloc.c: New file.
12349 2013-09-09 Allan McRae <allan@archlinux.org>
12352 * COPYING: Update from GNU website to fix FSF address.
12353 * COPYING.LIB: Likewise.
12355 2013-09-06 David S. Miller <davem@davemloft.net>
12357 * po/zh_TW.po: Update Chinese (traditional) translation from
12358 translation project.
12360 2013-09-06 Richard Sandiford <richard@codesourcery.com>
12361 Joseph Myers <joseph@codesourcery.com>
12363 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
12365 (obstack_chunk_alloc): New macro.
12366 (obstack_chunk_free): Likewise.
12367 (record_offset): New function.
12368 (init_locale_data): Likewise.
12369 (align_locale_data): Likewise.
12370 (add_locale_empty): Likewise.
12371 (add_locale_raw_data): Likewise.
12372 (add_locale_raw_obstack): Likewise.
12373 (add_locale_string): Likewise.
12374 (add_locale_wstring): Likewise.
12375 (add_locale_uint32): Likewise.
12376 (add_locale_uint32_array): Likewise.
12377 (add_locale_char): Likewise.
12378 (start_locale_structure): Likewise.
12379 (end_locale_structure): Likewise.
12380 (start_locale_prelude): Likewise.
12381 (end_locale_prelude): Likewise.
12382 (write_locale_data): Take locale_file structure rather than an
12384 * locale/programs/locfile.h: Include "obstack.h".
12385 (struct locale_file): Change to store locale file contents instead
12387 (init_locale_data): New prototype.
12388 (align_locale_data): Likewise.
12389 (add_locale_empty): Likewise.
12390 (add_locale_raw_data): Likewise.
12391 (add_locale_raw_obstack): Likewise.
12392 (add_locale_string): Likewise.
12393 (add_locale_wstring): Likewise.
12394 (add_locale_uint32): Likewise.
12395 (add_locale_uint32_array): Likewise.
12396 (add_locale_char): Likewise.
12397 (start_locale_structure): Likewise.
12398 (end_locale_structure): Likewise.
12399 (start_locale_prelude): Likewise.
12400 (end_locale_prelude): Likewise.
12401 (write_locale_data): Update prototype.
12402 * locale/programs/3level.h (struct TABLE): Remove result field.
12403 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
12404 Use new locale_file interface.
12405 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
12406 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
12407 * locale/programs/ld-address.c (address_output): Use new
12408 locale_file interface.
12409 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
12411 (collate_finish): Don't call collseq_table_finalize.
12412 (collate_output): Use new locale_file interface.
12413 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
12415 (NO_FINALIZE): Change to NO_ADD_LOCALE.
12416 (TABLE): Move defines earlier in file.
12417 (ELEMENT): Likewise.
12418 (DEFAULT): Likewise.
12419 (wctrans_table_add): Move macro and inline function earlier in
12421 (struct wctype_table): Move type earlier in file.
12422 (add_locale_wctype_table): New static prototype.
12423 (struct locale_ctype_t): Use logical types instead of struct iovec
12424 pointers for members.
12425 (ctype_output): Use new locale_file interface.
12426 (wctype_table_finalize): Change to add_locale_wctype_table. Use
12427 new locale_file interface.
12428 (allocate_arrays): Update for use of new locale_file interface.
12429 * locale/programs/ld-identification.c (identification_output): Use
12430 new locale_file interface.
12431 * locale/programs/ld-measurement.c (measurement_output): Likewise.
12432 * locale/programs/ld-messages.c (messages_output): Likewise.
12433 * locale/programs/ld-monetary.c (monetary_output): Likewise.
12434 * locale/programs/ld-name.c (name_output): Likewise.
12435 * locale/programs/ld-numeric.c (numeric_output): Likewise.
12436 * locale/programs/ld-paper.c (paper_output): Likewise.
12437 * locale/programs/ld-telephone.c (telephone_output): Likewise.
12438 * locale/programs/ld-time.c (time_output): Likewise.
12440 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12442 * benchtests/Makefile: Add memrchr benchmark.
12443 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
12444 benchmark as memrchr.
12445 * benchtests/bench-memrchr-ifunc.c: New file.
12446 * benchtests/bench-memrchr.c: New file.
12448 2013-09-06 Will Newton <will.newton@linaro.org>
12450 * benchtests/Makefile (string-bench): Add memcpy.
12452 2013-09-05 Carlos O'Donell <carlos@redhat.com>
12453 Cong Wang <amwang@redhat.com>
12456 * sysdeps/unix/sysv/linux/bits/in.h
12457 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
12458 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
12459 before __USE_KERNEL_IPV6_DEFS uses.
12460 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
12462 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
12463 sockaddr_in6, or ipv6_mreq.
12465 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12467 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
12468 memory access for final bytes in some large inputs.
12469 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
12471 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12473 * string/test-memrchr.c: New file.
12474 * string/test-memrchr-ifunc.c: New file.
12475 * string/Makefile: Add new memrchr testcase.
12477 2013-09-05 Mike Frysinger <vapier@gentoo.org>
12479 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
12480 fanotify_init returns EPERM.
12482 2013-09-04 Joseph Myers <joseph@codesourcery.com>
12484 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
12486 (top level): Treat second token from macro or constant entries for
12487 allowed headers as allowed.
12488 * include/complex.h: Condition internal declarations on
12490 * include/fenv.h: Condition include of <stdbool.h> and internal
12491 declarations on [!_ISOMAC].
12493 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
12496 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
12498 2013-09-04 Joseph Myers <joseph@codesourcery.com>
12500 * configure.in (--enable-versioning): Remove configure option.
12501 (libc_cv_asm_symver_directive): Remove configure test.
12502 (libc_cv_ld_version_script_option): Likewise.
12503 (VERSIONING): Remove variable and AC_SUBST.
12504 (DO_VERSIONING): Remove AC_DEFINE.
12505 * configure: Regenerated.
12506 * config.h.in (DO_VERSIONING): Remove macro.
12507 * Makerules [$(versioning) = yes]: Change conditionals to
12508 [$(build-shared) = yes].
12509 * config.make.in (versioning): Remove variable.
12510 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
12511 [$(build-shared) = yes].
12512 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
12513 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
12514 * elf/Makefile [$(versioning) = yes]: Change conditionals to
12515 [$(build-shared) = yes].
12516 * extra-lib.mk [$(versioning) = yes]: Likewise.
12517 * hurd/Makefile [$(versioning) = yes]: Likewise.
12518 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
12520 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
12522 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
12523 [SHARED && !NO_HIDDEN].
12524 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
12526 [SHARED && DO_VERSIONING]: Likewise..
12527 * libio/Makefile [$(versioning) = yes]: Change conditionals to
12528 [$(build-shared) = yes].
12529 * manual/install.texi (--disable-versioning): Remove
12531 * INSTALL: Regenerated.
12532 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
12534 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
12535 [$(build-shared) = yes].
12536 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
12537 * sysdeps/i386/i686/multiarch/strstr-c.c
12538 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
12539 [SHARED && !NO_HIDDEN].
12540 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
12541 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
12542 * sysdeps/powerpc/powerpc32/dl-machine.c
12543 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
12544 * sysdeps/powerpc/powerpc32/sysdep.h
12545 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
12546 to [SHARED && PIC && !NO_HIDDEN].
12547 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
12548 conditional to [SHARED].
12550 2013-09-04 Will Newton <will.newton@linaro.org>
12552 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
12553 * benchtests/bench-string.h: Include bench-timing.h instead
12554 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
12555 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
12556 call to HP_TIMING_DIFF_INIT.
12557 * benchtests/bench-memccpy.c: Use bench-timing.h macros
12558 instead of hp-timing.h macros.
12559 * benchtests/bench-memchr.c: Likewise.
12560 * benchtests/bench-memcmp.c: Likewise.
12561 * benchtests/bench-memcpy.c: Likewise.
12562 * benchtests/bench-memmem.c: Likewise.
12563 * benchtests/bench-memmove.c: Likewise.
12564 * benchtests/bench-memset.c: Likewise.
12565 * benchtests/bench-rawmemchr.c: Likewise.
12566 * benchtests/bench-strcasecmp.c: Likewise.
12567 * benchtests/bench-strcasestr.c: Likewise.
12568 * benchtests/bench-strcat.c: Likewise.
12569 * benchtests/bench-strchr.c: Likewise.
12570 * benchtests/bench-strcmp.c: Likewise.
12571 * benchtests/bench-strcpy.c: Likewise.
12572 * benchtests/bench-strcpy_chk.c: Likewise.
12573 * benchtests/bench-strlen.c: Likewise.
12574 * benchtests/bench-strncasecmp.c: Likewise.
12575 * benchtests/bench-strncat.c: Likewise.
12576 * benchtests/bench-strncmp.c: Likewise.
12577 * benchtests/bench-strncpy.c: Likewise.
12578 * benchtests/bench-strnlen.c: Likewise.
12579 * benchtests/bench-strpbrk.c: Likewise.
12580 * benchtests/bench-strrchr.c: Likewise.
12581 * benchtests/bench-strspn.c: Likewise.
12582 * benchtests/bench-strstr.c: Likewise.
12584 2013-09-04 Will Newton <will.newton@linaro.org>
12586 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
12588 2013-09-03 Joseph Myers <joseph@codesourcery.com>
12591 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
12592 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
12593 * math/libm-test.inc (lgamma_test_data): Add more tests.
12594 * sysdeps/i386/fpu/libm-test-ulps: Update.
12595 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12597 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
12599 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
12600 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12602 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
12603 Add strcmp-sse2-unaligned
12604 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
12606 2013-09-02 Mike Frysinger <vapier@gentoo.org>
12608 * Versions.def (libc): Add GLIBC_2.19.
12610 2013-09-02 Mike Frysinger <vapier@gentoo.org>
12612 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
12613 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
12615 2013-09-02 Joseph Myers <joseph@codesourcery.com>
12618 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
12619 intermediate calculations in recurrence.
12620 (__ieee754_ynf): Likewise.
12621 * math/libm-test.inc (jn_test_data): Do not allow spurious
12622 underflow exception. Add more tests.
12623 (yn_test_data): Add more tests.
12624 * sysdeps/i386/fpu/libm-test-ulps: Update.
12625 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12627 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
12629 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
12631 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
12633 * csu/init-first.c: Fix then/than typos.
12634 * locale/programs/ld-collate.c: Likewise.
12635 * locale/programs/linereader.h: Likewise.
12636 * manual/charset.texi: Likewise.
12637 * manual/filesys.texi: Likewise.
12638 * manual/stdio.texi: Likewise.
12639 * manual/string.texi: Likewise.
12640 * stdlib/fmtmsg.c: Likewise.
12641 * sysdeps/i386/stpncpy.S: Likewise.
12642 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12643 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
12644 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12645 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
12647 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
12649 * elf/dl-open.c: Fix typos.
12650 * iconvdata/gbbig5.c: Likewise.
12651 * iconvdata/iso-2022-jp.c: Likewise.
12652 * iconv/gconv_int.h: Likewise.
12653 * iconv/loop.c: Likewise.
12654 * nis/rpcsvc/nis.h: Likewise.
12655 * resolv/ns_name.c: Likewise.
12656 * stdio-common/vfscanf.c: Likewise.
12657 * streams/stropts.h: Likewise.
12658 * sunrpc/rpc_thread.c: Likewise.
12659 * sysdeps/i386/strpbrk.S: Likewise.
12660 * sysdeps/ieee754/k_standard.c: Likewise.
12661 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12662 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12663 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
12664 * sysdeps/mach/hurd/profil.c: Likewise.
12665 * sysdeps/s390/dl-procinfo.h: Likewise.
12666 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
12667 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
12668 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
12669 * sysdeps/x86_64/dl-trampoline.S: Likewise.
12670 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
12672 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
12674 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
12675 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
12677 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
12679 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
12680 aix specific files.
12681 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
12682 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
12683 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
12684 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
12685 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
12686 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
12687 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
12688 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
12690 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
12691 Roland McGrath <roland@hack.frob.com>
12693 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
12694 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
12696 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
12698 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
12699 __executable_start symbol instead of _start.
12701 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
12703 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
12704 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
12706 * sysdeps/gnu/ldsodefs.h: ... this new file.
12708 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
12709 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
12710 instead of ELFOSABI_LINUX.
12712 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
12713 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
12714 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
12715 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
12717 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
12718 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
12719 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
12721 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
12722 (ibm_extended_long_double): Add ieee_nan member.
12723 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
12724 (do_test): New function.
12726 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
12728 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
12729 functions, renamed from truncdfsf_test, trunctfsf_test,
12731 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
12733 (do_test): Run all these.
12735 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
12737 * argp/argp-help.c: Fix typos.
12738 * argp/argp-parse.c: Likewise.
12739 * debug/backtracesyms.c: Likewise.
12740 * elf/elf.h: Likewise.
12741 * malloc/malloc.c: Likewise.
12742 * nis/nis_print.c: Likewise.
12743 * resolv/res_comp.c: Likewise.
12744 * stdlib/stdlib.h: Likewise.
12745 * sunrpc/clnt_tcp.c: Likewise.
12746 * sunrpc/clnt_udp.c: Likewise.
12747 * sunrpc/clnt_unix.c: Likewise.
12748 * sysdeps/unix/bsd/ptsname.c: Likewise.
12749 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
12750 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
12751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
12753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
12755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
12757 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
12759 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12761 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
12762 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12764 2013-08-27 Mike Frysinger <vapier@gentoo.org>
12767 * dlfcn/Makefile (tests): Add bug-dl-leaf.
12768 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
12769 ($(objpfx)bug-dl-leaf): New rule.
12770 ($(objpfx)bug-dl-leaf.so): Likewise.
12771 ($(objpfx)bug-dl-leaf.out): Likewise.
12772 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
12773 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
12774 * dlfcn/bug-dl-leaf.c: New test.
12775 * dlfcn/bug-dl-leaf-lib.c: Likewise.
12776 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
12777 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
12778 (dlclose): Likewise.
12779 (dlmopen): Likewise.
12781 2013-08-27 Roland McGrath <roland@hack.frob.com>
12783 * include/netdb.h [!_ISOMAC]:
12784 Don't include <tls.h>.
12785 (h_errno, __libc_h_errno): Move declaration and macros out of
12788 * include/resolv.h [_RESOLV_H_]:
12789 Don't include <tls.h>.
12790 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
12791 * resolv/res_libc.c: Don't include <tls.h>.
12792 (_res): Use __attribute__ ((nocommon)) in place of
12793 __attribute__ ((section (".bss"))).
12795 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
12796 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
12798 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
12800 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
12801 only under [SIOCGIFCONF && SIOCGIFNETMASK].
12803 * resolv/res_mkquery.c: Include <sys/time.h>.
12805 * inet/ifreq.c: Moved to ...
12806 * sysdeps/unix/ifreq.c: ... here.
12807 * inet/ifreq.c: New file, true stub version.
12809 * socket/sa_len.c: New file.
12810 * socket/Makefile (aux): Add it.
12811 * sysdeps/unix/sysv/linux/Makefile
12812 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
12813 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
12814 and #include <socket/sa_len.c>.
12815 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
12816 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
12818 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
12819 * bits/socket.h: ... here.
12821 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
12822 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
12823 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
12825 2013-08-27 Andreas Schwab <schwab@suse.de>
12828 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
12829 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
12830 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
12831 * string/test-strcasecmp.c (test_main): Run tests in several
12833 * string/test-strncasecmp.c (test_main): Likewise.
12835 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
12836 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
12837 to __strcasecmp_nonascii and __strncasecmp_nonascii.
12838 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
12839 (__strncasecmp_ssse3) [PIC]: Likewise.
12841 2013-08-26 Roland McGrath <roland@hack.frob.com>
12843 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
12845 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
12846 instead of explicitly declaring xdecrypt.
12847 * nis/nss_nis/nis-publickey.c: Likewise.
12849 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12852 * nscd/aicache.c: Include res_hconf.h.
12853 (addhstaiX): Initialize res_hconf.
12855 2013-08-26 Andreas Schwab <schwab@suse.de>
12857 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
12858 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
12860 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12862 * nscd/aicache.c (addhstaiX): Fix indentation.
12864 2013-08-25 Mike Frysinger <vapier@gentoo.org>
12866 * configure.ac: Quote $build_pt_chown test.
12867 * configure: Regenerated.
12869 2013-08-23 Joseph Myers <joseph@codesourcery.com>
12872 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
12873 * math/s_cexpf.c (__cexpf): Likewise.
12874 * math/s_cexpl.c (__cexpl): Likewise.
12875 * math/libm-test.inc (cexp_test_data): Correct expected return
12876 value for NaN + i0. Add another test.
12878 2013-08-22 David S. Miller <davem@davemloft.net>
12880 * po/ca.po: Update Catalan translation from translation project.
12881 * po/uk.po: Add Ukrainian translations from translation project.
12883 2013-08-21 Joseph Myers <joseph@codesourcery.com>
12886 * math/s_fdim.c (__fdim): Check for infinite arguments if result
12887 is infinite, not alongside NaN test.
12888 * math/s_fdimf.c (__fdimf): Likewise.
12889 * math/s_fdiml.c (__fdiml): Likewise.
12890 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
12891 errno is unchanged.
12893 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
12895 * argp/argp-help.c: Fix typos.
12896 * crypt/speeds.c: Likewise.
12897 * csu/check_fds.c: Likewise.
12898 * elf/dl-load.c: Likewise.
12899 * elf/dl-open.c: Likewise.
12900 * elf/reldep3.c: Likewise.
12901 * elf/reldep.c: Likewise.
12902 * elf/sprof.c: Likewise.
12903 * iconv/iconv_charmap.c: Likewise.
12904 * iconv/skeleton.c: Likewise.
12905 * iconv/strtab.c: Likewise.
12906 * io/lockf64.c: Likewise.
12907 * libio/libioP.h: Likewise.
12908 * resolv/gai_notify.c: Likewise.
12909 * resolv/ns_name.c: Likewise.
12910 * resolv/ns_samedomain.c: Likewise.
12911 * resolv/res_send.c: Likewise.
12912 * stdlib/random.c: Likewise.
12913 * sunrpc/rpc/xdr.h: Likewise.
12914 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
12915 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
12916 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
12917 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
12918 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
12919 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
12920 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
12921 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
12922 * sysdeps/mach/hurd/check_fds.c: Likewise.
12923 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
12924 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
12925 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12926 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
12927 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
12928 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
12929 * sysdeps/pthread/aio_notify.c: Likewise.
12930 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
12931 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
12932 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
12933 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
12934 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
12936 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12938 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
12939 version if bit_Slow_SSE4_2 is set.
12940 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12941 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12943 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12946 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
12947 trampoline stack frame information.
12948 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
12949 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
12950 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
12951 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
12952 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
12953 * sysdeps/unix/sysv/linux/powerpc/init-first.c
12954 (_libc_vdso_platform_setup): Initialize the signal trampolines.
12955 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
12957 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
12958 interrupting a syscall and set with option SA_SIGINFO.
12960 2013-08-20 Joseph Myers <joseph@codesourcery.com>
12963 * math/s_cproj.c (__cproj): Only return an infinity if one part of
12964 argument is infinite.
12965 * math/s_cprojf.c (__cprojf): Likewise.
12966 * math/s_cprojl.c (__cprojl): Likewise.
12967 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
12968 * math/libm-test.inc (cproj_test_data): Add more tests.
12970 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
12972 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
12973 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
12974 size. Use __ffs to determine corresponding shift.
12976 2013-08-20 Joseph Myers <joseph@codesourcery.com>
12977 Roland McGrath <roland@hack.frob.com>
12979 * Makefile (INSTALL): Remove trailing blank lines from output of
12982 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12984 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
12985 Align 32 bit compat elf_greg to 8 bytes.
12987 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
12989 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
12991 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12993 * string/strcoll_l.c (coll_seq): New structure.
12994 (get_next_seq_cached): New function.
12995 (get_next_seq): New function.
12996 (do_compare): New function.
12997 (STRCOLL): Use GNU style definition. Simplify implementation
12998 by using get_next_seq, get_next_seq_cached and do_compare.
13000 2013-08-16 Florian Weimer <fweimer@redhat.com>
13004 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
13006 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
13008 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
13009 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
13010 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
13012 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
13013 GETDENTS_64BIT_ALIGNED.
13014 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
13015 * manual/filesys.texi (Reading/Closing Directory): Document
13016 ENAMETOOLONG return value of readdir_r. Recommend readdir more
13018 * manual/conf.texi (Limits for Files): Add portability note to
13019 NAME_MAX, PATH_MAX.
13020 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
13022 2013-08-13 Andreas Schwab <schwab@suse.de>
13025 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
13027 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
13028 LDBL_MAX_EXP >= 16384]: Add tests for it.
13030 2013-08-12 David S. Miller <davem@davemloft.net>
13032 * version.h (RELEASE): Set to "development".
13033 (VERSION): Set to "2.18.90".
13034 * NEWS: Add 2.19 section.
13036 2013-08-03 David S. Miller <davem@davemloft.net>
13038 * po/ko.po: Update Korean translation from translation project.
13040 2013-08-01 David S. Miller <davem@davemloft.net>
13042 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
13043 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
13046 2013-07-30 David S. Miller <davem@davemloft.net>
13048 * po/fr.po: Update French translation from translation project.
13050 2013-07-28 David S. Miller <davem@davemloft.net>
13052 * po/cs.po: Update Czech translation from translation project.
13054 * po/sv.po: Update Swedish translation from translation project.
13056 2013-07-27 David S. Miller <davem@davemloft.net>
13058 * po/eo.po: Update Esperanto translation from translation project.
13060 * po/vi.po: Update Vietnamese translation from translation project.
13062 * po/de.po: Update German translation from translation project.
13064 2013-07-26 David S. Miller <davem@davemloft.net>
13066 * po/bg.po: Update Bulgarian translation from translation project.
13068 * po/nl.po: Update Dutch translation from translation project.
13069 * po/pl.po: Update Polish translation from translation project.
13070 * po/ru.po: Update Russian translation from translation project.
13072 2013-07-24 David S. Miller <davem@davemloft.net>
13074 * po/libc.pot: Update.
13076 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13078 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
13079 variable page size.
13080 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
13081 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
13082 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
13084 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13086 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
13088 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13089 Andreas Schwab <schwab@suse.de>
13090 Roland McGrath <roland@hack.frob.com>
13091 Joseph Myers <joseph@codesourcery.com>
13092 Carlos O'Donell <carlos@redhat.com>
13095 * config.h.in: Define HAVE_PT_CHOWN.
13096 * config.make.in (build-pt-chown): New variable.
13097 * configure.in (--enable-pt_chown): New configure option.
13098 * configure: Regenerate.
13099 * login/Makefile: Include Makeconfig. Build pt_chown only if
13100 build-pt-chown is enabled.
13101 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
13102 pt_chown to fix pty ownership.
13103 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
13105 * manual/install.texi (Configuring and compiling): Mention
13106 --enable-pt_chown. Add @findex for grantpt.
13107 * INSTALL: Regenerate.
13109 2013-07-20 David S. Miller <davem@davemloft.net>
13111 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
13112 difference between 32-bit and 64-bit.
13114 2013-07-15 Carlos O'Donell <carlos@redhat.com>
13117 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
13118 Avoid system header dependency with -ffreestanding.
13119 ($(objpfx)bits/syscall%d): Likewise.
13121 2013-07-13 David S. Miller <davem@davemloft.net>
13123 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
13124 underflows from atanl/atan2l due to bug 15319.
13125 (casinh_test_data): Likewise.
13127 2013-07-07 David S. Miller <davem@davemloft.net>
13129 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
13131 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
13133 * sysdeps/i386/fpu/libm-test-ulps: Update.
13134 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13136 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13138 * configure.in (--enable-lock-elision): Fix message text.
13139 * INSTALL: Regenerate.
13140 * configure: Regenerate.
13142 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13144 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13146 2013-07-03 Andreas Jaeger <aj@suse.de>
13148 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
13150 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
13151 (ptrace_peeksiginfo_args): Add.
13152 (__ptrace_peeksiginfo_flags): Add.
13153 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13154 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13155 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13157 2013-07-03 Allan McRae <allan@archlinux.org>
13159 * sysdeps/i386/fpu/libm-test-ulps: Update.
13161 2013-07-02 David S. Miller <davem@davemloft.net>
13163 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13165 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
13167 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13169 2013-07-02 Joseph Myers <joseph@codesourcery.com>
13171 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
13172 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13174 2013-07-02 Andi Kleen <ak@linux.intel.com>
13176 * config.h.in (ENABLE_LOCK_ELISION): Add.
13177 * configure.in (--enable-lock-elision): Add option.
13178 * manual/install.texi: Document --enable lock elision.
13179 * configure: Regenerate
13180 * INSTALL: Regenerate.
13182 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
13184 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
13185 SSE4.2 strcasecmp for libc.a.
13186 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
13188 2013-07-02 Joseph Myers <joseph@codesourcery.com>
13191 * soft-fp/op-common.h (_FP_FMA): New macro.
13192 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
13193 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
13194 (_FP_MUL_MEAT_1_imm): ... here.
13195 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
13196 (_FP_MUL_MEAT_1_wide): ... here.
13197 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
13198 (_FP_MUL_MEAT_1_hard): ... here.
13199 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
13200 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
13201 (_FP_MUL_MEAT_2_wide): ... here.
13202 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
13203 (_FP_MUL_MEAT_2_wide_3mul): ... here.
13204 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
13205 (_FP_MUL_MEAT_2_gmp): ... here.
13206 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
13207 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
13208 (_FP_MUL_MEAT_4_wide): ... here.
13209 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
13210 (_FP_MUL_MEAT_4_gmp): ... here.
13211 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
13212 (_FP_WFRACBITS_DW_S): Likewise.
13213 (_FP_WFRACXBITS_DW_S): Likewise.
13214 (_FP_HIGHBIT_DW_S): Likewise.
13215 (FP_FMA_S): Likewise.
13216 (_FP_FRAC_HIGH_DW_S): Likewise.
13217 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
13218 (_FP_WFRACBITS_DW_D): Likewise.
13219 (_FP_WFRACXBITS_DW_D): Likewise.
13220 (_FP_HIGHBIT_DW_D): Likewise.
13221 (FP_FMA_D): Likewise.
13222 (_FP_FRAC_HIGH_DW_D): Likewise.
13223 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
13224 (_FP_WFRACBITS_DW_E): Likewise.
13225 (_FP_WFRACXBITS_DW_E): Likewise.
13226 (_FP_HIGHBIT_DW_E): Likewise.
13227 (FP_FMA_E): Likewise.
13228 (_FP_FRAC_HIGH_DW_E): Likewise.
13229 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
13230 (_FP_WFRACBITS_DW_Q): Likewise.
13231 (_FP_WFRACXBITS_DW_Q): Likewise.
13232 (_FP_HIGHBIT_DW_Q): Likewise.
13233 (FP_FMA_Q): Likewise.
13234 (_FP_FRAC_HIGH_DW_Q): Likewise.
13235 * soft-fp/fmasf4.c: New file.
13236 * soft-fp/fmadf4.c: Likewise.
13237 * soft-fp/fmatf4.c: Likewise.
13239 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13241 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
13242 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
13244 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
13246 (index_Slow_SSE4_2): Likewise.
13247 (index_Prefer_PMINUB_for_stringop): Likewise.
13248 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
13249 bit_Slow_SSE4_2 is set.
13250 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
13251 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13253 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13255 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
13256 rtld_global._dl_hwcap2.
13257 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
13259 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
13260 POWER8 feature descriptions defined in _dl_hwcap2.
13261 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
13262 string handling for POWER8 feature bits.
13263 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
13264 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
13265 _dl_powerpc_cap_flags.
13266 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
13267 * sysdeps/powerpc/rtld-global-offsets.sym
13268 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
13269 _dl_hwcap2 in the rtld_global_ro structure.
13271 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13273 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
13274 hardware capabilities in support of AT_HWCAP2.
13275 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
13276 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
13278 (_dl_show_auxv): Add support for calling _dl_procinfo to display
13279 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
13280 explicitly the unknown a_type display mechanism is used.
13281 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
13282 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
13284 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
13285 to macro prototype for AT_HWCAP2 support.
13286 * sysdeps/i386/dl-procinfo.h: Likewise.
13287 * sysdeps/s390/dl-procinfo.h: Likewise.
13288 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
13289 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
13290 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
13291 return -1 for unknown a_type display fallback.
13292 * sysdeps/sparc/dl-procinfo.h: Likewise.
13293 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
13294 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
13296 2013-06-28 Joseph Myers <joseph@codesourcery.com>
13298 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
13299 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
13301 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
13304 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
13305 mprotect making __stack_prot writable.
13307 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
13308 Joseph Myers <joseph@codesourcery.com>
13310 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
13311 as being properly aligned.
13313 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
13315 * dlfcn/modstatic5.c: New file.
13316 * dlfcn/tststatic5.c: New file.
13317 * dlfcn/Makefile (tests): Add tststatic5.
13318 (tests-static): Likewise.
13319 (modules-names): Add modstatic5.
13320 (tststatic5-ENV): New variable.
13321 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
13324 * elf/dl-support.c (_dl_main_map): New variable.
13325 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
13326 (_dl_nns, _dl_load_adds): Set to 1.
13327 (_dl_initial_searchlist): Refer to _dl_main_map.
13328 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
13329 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
13330 call to _dl_get_origin.
13331 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
13333 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
13334 * dlfcn/modstatic3.c: New file.
13335 * dlfcn/tststatic3.c: New file.
13336 * dlfcn/tststatic4.c: New file.
13337 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
13338 (tests-static): Likewise.
13339 (modules-names): Add modstatic3.
13340 (tststatic3-ENV, tststatic4-ENV): New variables.
13341 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
13342 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
13344 2013-06-26 Joseph Myers <joseph@codesourcery.com>
13346 * configure.in (CC): Require GCC version 4.4 or later.
13347 * configure: Regenerated.
13348 * manual/install.texi (Tools for Compilation): Update GCC version
13350 * INSTALL: Regenerated.
13352 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13355 * string/test-memcmp.c (check2): New.
13356 (main): Call check2.
13358 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
13360 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
13363 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
13365 (dl_open_worker) [!SHARED]: ... here.
13367 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13369 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
13371 2013-06-25 Richard Henderson <rth@redhat.com>
13373 * locale/programs/locarchive.c: Include <libc-internal.h>
13375 2013-06-25 Joseph Myers <joseph@codesourcery.com>
13377 * manual/texinfo.tex: Update to version 2013-06-21.17, with
13378 trailing whitespace removed.
13380 2013-06-24 Mike Frysinger <vapier@gentoo.org>
13383 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
13384 * locale/programs/locarchive.c: Include libc-mmap.h.
13385 (prepare_address_space): Take two new outputs (the mmap base and len).
13386 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
13388 (create_archive): Declare new mmap base and len values for
13389 prepare_address_space, and store the result in ah.
13390 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
13391 (enlarge_archive): If ah->mmap_base is not NULL, use that and
13392 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
13393 Declare new mmap base and len values for
13394 prepare_address_space, and store the result in new_ah.
13395 (open_archive): Declare new mmap base and len values for
13396 prepare_address_space, and store the result in ah.
13397 (close_archive): If ah->mmap_base is not NULL, use that and
13398 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
13399 * sysdeps/generic/libc-mmap.h: New file.
13401 2013-06-24 Mike Frysinger <vapier@gentoo.org>
13403 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
13404 (ALIGN_UP): Likewise.
13405 (PTR_ALIGN_DOWN): Likewise.
13406 (PTR_ALIGN_UP): Likewise.
13408 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13410 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
13411 entry mapped to PPC_PLATFORM_POWER8.
13412 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
13414 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
13415 (_dl_string_platform): Add case for exporting platform position for
13417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
13418 search path to sysdeps/powerpc/powerpc32/power8 directory.
13419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
13420 search path to sysdeps/powerpc/powerpc64/power8 directory.
13421 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
13422 power7 directories.
13423 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
13424 power7 directories.
13426 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
13428 * INSTALL: Regenerate.
13430 * nscd/connections.c (nscd_init): Fix comment.
13432 2013-06-22 Joseph Myers <joseph@codesourcery.com>
13434 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
13437 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
13438 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
13440 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
13442 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
13444 (DL_DST_REQ_STATIC): Remove macro.
13446 2013-06-21 Joseph Myers <joseph@codesourcery.com>
13449 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
13450 with a shift of 0 bits.
13452 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
13454 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
13457 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13460 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
13462 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13464 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
13465 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
13466 accepts -fno-tree-loop-distribute-patterns.
13467 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
13468 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
13470 * string/memset.c (memset): Likewise.
13471 * string/test-memmove.c (simple_memmove): Disable loop transformation
13473 * string/test-memset.c (simple_memset): Likewise.
13474 * benchtests/bench-memmove.c (simple_memmove): Likewise.
13475 * benchtests/bench-memset.c (simple_memset): Likewise.
13476 * configure: Regenerated.
13478 2013-06-20 Joseph Myers <joseph@codesourcery.com>
13480 * math/test-misc.c (main): Ignore fesetround failure when failures
13481 of subsequent rounding tests would be ignored.
13484 * math/fedisblxcpt.c (fedisableexcept): Return 0.
13485 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
13486 * math/fegetenv.c (__fegetenv): Return 0.
13487 * math/fegetexcept.c (fegetexcept): Return 0.
13488 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
13490 * math/feholdexcpt.c (feholdexcept): Return 0.
13491 * math/fesetenv.c (__fesetenv): Return 0.
13492 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
13493 argument FE_TONEAREST.
13494 * math/feupdateenv.c (__feupdateenv): Return 0.
13495 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
13497 2013-06-18 Roland McGrath <roland@hack.frob.com>
13499 * elf/rtld-Rules (rtld-compile-command.S): New variable.
13500 (rtld-compile-command.s, rtld-compile-command.c): New variables.
13501 ($(objpfx)rtld-%.os rules): Use them.
13503 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13505 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
13508 2013-06-17 Roland McGrath <roland@hack.frob.com>
13510 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
13511 length of target pattern, then descending length of dependency pattern.
13512 * configure.in (AWK): Require gawk 3.1.2 or newer.
13513 * manual/install.texi (Tools for Compilation): Say that we do.
13514 * configure: Regenerated.
13516 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
13517 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
13518 * scripts/sysd-rules.awk: ... this new script.
13519 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
13520 than a glob-style pattern.
13522 2013-06-17 Joseph Myers <joseph@codesourcery.com>
13524 * math/test-misc.c (main): Do not treat incorrectly rounded
13525 conversions as failure unless ROUNDING_TESTS passes.
13527 2013-06-15 Joseph Myers <joseph@codesourcery.com>
13530 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
13531 restore exception state around main square root computation, then
13532 check for inexactness explicitly.
13534 * math/libm-test.inc (fma_test_data): Add another test.
13536 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13538 * manual/threads.texi (Non-POSIX Extensions): New document
13539 node. Document pthread_getattr_default_np and
13540 pthread_setattr_default_np.
13542 * Versions.def (libpthread): Add GLIBC_2.18.
13543 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
13544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
13546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
13548 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13550 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13552 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
13554 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
13556 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
13558 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
13560 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
13563 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13565 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13566 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
13568 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
13569 H.J. Lu <hjl.tools@gmail.com>
13572 * sysdeps/x86_64/rtld-memset.c: Remove file.
13573 * sysdeps/x86_64/rtld-memset.S: New file.
13575 2013-06-14 Joseph Myers <joseph@codesourcery.com>
13577 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
13578 (test_in_one_mode): Take arguments for whether the rounding mode
13579 is supported for each floating-point type.
13580 (do_test): Pass new arguments to test_in_one_mode using
13583 2013-06-13 Roland McGrath <roland@hack.frob.com>
13585 * posix/tst-waitid.c (do_test): Distinguish different instances of
13586 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
13587 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
13588 before entering the kernel for waitpid.
13590 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13592 * NEWS: Fix note on clock function precision. Text by Roland
13595 2013-06-13 Roland McGrath <roland@hack.frob.com>
13597 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
13598 it into place only when and if the sanity check passes.
13600 2013-06-13 Joseph Myers <joseph@codesourcery.com>
13602 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
13603 output for whether conversion result is exact. Take argument
13604 indicating whether type is IBM long double.
13605 (round_for_all): Change need_exact field to ibm_ld.
13606 * stdlib/tst-strtod-round.c (struct exactness): New type.
13607 (struct test): Change bool ld_ok field to struct exactness exact.
13608 (TEST): Update all definitions for change to field.
13609 (tests): Regenerate array contents.
13610 (test_in_one_mode): Take pointer to new field instead of old ld_ok
13611 field value. Check for IBM long double here.
13612 (do_test): Update calls to test_in_one_mode.
13614 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13617 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
13618 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
13620 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13623 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
13624 generated by the compiler on loop optimizations.
13625 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
13626 general definitions.
13628 2013-06-12 Joseph Myers <joseph@codesourcery.com>
13630 * math/bug-nextafter.c: Include <math-tests.h>.
13631 (main): Only test for exceptions if EXCEPTION_TESTS is true for
13633 * math/bug-nexttoward.c: Include <math-tests.h>.
13634 (main): Only test for exceptions if EXCEPTION_TESTS is true for
13636 * math/test-misc.c: Include <math-tests.h>.
13637 (main): Only test for exceptions if EXCEPTION_TESTS is true for
13640 2013-06-12 Andreas Jaeger <aj@suse.de>
13642 * po/ia.po: Update Interlingua translation from translation
13645 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
13647 * include/fenv.h: Include stdbool.h.
13648 (struct rm_ctx): New structure.
13649 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
13651 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
13652 (SET_RESTORE_ROUNDF): Likewise.
13653 (SET_RESTORE_ROUNDL): Likewise.
13654 (SET_RESTORE_ROUND_NOEX): Likewise.
13655 (SET_RESTORE_ROUND_NOEXF): Likewise.
13656 (SET_RESTORE_ROUND_NOEXL): Likewise.
13657 (SET_RESTORE_ROUND_53BIT): Likewise.
13658 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
13659 (libc_feresetround_noexf_ctx): Likewise.
13660 (libc_feresetround_noexl_ctx): Likewise.
13661 (libc_feholdsetround_53bit_ctx): Likewise.
13662 (libc_feresetround_53bit_ctx): Likewise.
13663 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
13664 (libc_feholdexcept_setround_sse_ctx): New function.
13665 (libc_fesetenv_sse_ctx): Likewise.
13666 (libc_feupdateenv_sse_ctx): Likewise.
13667 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
13668 (libc_feholdexcept_setround_387_ctx): Likewise.
13669 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
13670 (libc_feholdsetround_387_prec_ctx): Likewise.
13671 (libc_feholdsetround_387_ctx): Likewise.
13672 (libc_feholdsetround_387_53bit_ctx): Likewise.
13673 (libc_feholdsetround_sse_ctx): Likewise.
13674 (libc_feresetround_sse_ctx): Likewise.
13675 (libc_feresetround_387_ctx): Likewise.
13676 (libc_feupdateenv_387_ctx): Likewise.
13677 (libc_feholdexcept_setroundf_ctx): Define macro.
13678 (libc_fesetenvf_ctx): Likewise.
13679 (libc_feupdateenvf_ctx): Likewise.
13680 (libc_feholdsetroundf_ctx): Likewise.
13681 (libc_feresetroundf_ctx): Likewise.
13682 (libc_feholdexcept_setround_ctx): Likewise.
13683 (libc_fesetenv_ctx): Likewise.
13684 (libc_feupdateenv_ctx): Likewise.
13685 (libc_feholdsetround_ctx): Likewise.
13686 (libc_feresetround_ctx): Likewise.
13687 (libc_feholdexcept_setroundl_ctx): Likewise.
13688 (libc_feupdateenvl_ctx): Likewise.
13689 (libc_feholdsetroundl_ctx): Likewise.
13690 (libc_feresetroundl_ctx): Likewise.
13691 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
13692 (libc_feresetround_53bit_ctx): Likewise.
13694 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13696 * locale/iso-639.def: Convert to UTF-8.
13698 2013-06-11 Joseph Myers <joseph@codesourcery.com>
13700 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
13701 (EXCEPTION_TESTS_double): Likewise.
13702 (EXCEPTION_TESTS_long_double): Likewise.
13703 (EXCEPTION_TESTS): Likewise.
13704 * math/libm-test.inc (test_exceptions): Only test exceptions if
13705 EXCEPTION_TESTS (FLOAT).
13707 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13709 * benchtests/Makefile (string-bench): Add strcpy_chk and
13711 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
13712 * benchtests/bench-stpcpy_chk.c: New file.
13713 * benchtests/bench-strcpy_chk-ifunc.c: New file.
13714 * benchtests/bench-strcpy_chk.c: New file.
13715 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
13717 (do_test): Likewise.
13719 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13721 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
13722 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
13723 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
13724 with tabs where appropriate.
13725 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
13727 [PPC_PLATFORM_PPC440]: Likewise.
13728 [PPC_PLATFORM_PPC464]: Likewise.
13729 [PPC_PLATFORM_PPC476]: Likewise.
13730 (_dl_string_platform): Add support for detecting ppc405, ppc440,
13731 ppc464, and ppc476 platform strings merging from ports/
13734 2013-06-11 Andreas Schwab <schwab@suse.de>
13737 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
13738 (from_ucs4_idx): Regenerate.
13739 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
13740 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
13741 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
13742 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
13743 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
13744 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
13745 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
13746 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
13747 from FROM_LOOP and TO_LOOP specific macros.
13748 (BODY): Handle combining characters.
13749 * iconvdata/BIG5HKSCS.irreversible: Update.
13750 * iconvdata/BIG5HKSCS.precomposed: New file.
13751 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
13753 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
13755 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13757 * include/sys/time.h: Fix indentation and add copyright header.
13759 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
13760 (do_test): Likewise.
13761 * string/test-memchr.c (do_one_test): Likewise.
13762 (do_test): Likewise.
13763 * string/test-memcmp.c (do_one_test): Likewise.
13764 (do_test): Likewise.
13765 * string/test-memcpy.c (do_one_test): Likewise.
13766 (do_test): Likewise.
13767 * string/test-memmem.c (do_one_test): Likewise.
13768 (do_test): Likewise.
13769 (do_random_tests): Likewise.
13770 * string/test-memmove.c (do_one_test): Likewise.
13771 (do_test): Likewise.
13772 * string/test-memset.c (do_one_test): Likewise.
13773 (do_test): Likewise.
13774 * string/test-rawmemchr.c (do_one_test): Likewise.
13775 (do_test): Likewise.
13776 * string/test-strcasecmp.c (do_one_test): Likewise.
13777 (do_test): Likewise.
13778 * string/test-strcasestr.c (do_one_test): Likewise.
13779 (do_test): Likewise.
13780 * string/test-strcat.c (do_one_test): Likewise.
13781 (do_test): Likewise.
13782 * string/test-strchr.c (do_one_test): Likewise.
13783 (do_test): Likewise.
13784 * string/test-strcmp.c (do_one_test): Likewise.
13785 (do_test): Likewise.
13786 * string/test-strcpy.c (do_one_test): Likewise.
13787 (do_test): Likewise.
13788 * string/test-string.h: Likewise.
13789 (test_init): Likewise.
13790 * string/test-strlen.c (do_one_test): Likewise.
13791 (do_test): Likewise.
13792 * string/test-strncasecmp.c (do_one_test): Likewise.
13793 (do_test): Likewise.
13794 * string/test-strncat.c (do_one_test): Likewise.
13795 (do_test): Likewise.
13796 * string/test-strncmp.c (do_one_test): Likewise.
13797 (do_test_limit): Likewise.
13798 (do_test): Likewise.
13799 * string/test-strncpy.c (do_one_test): Likewise.
13800 (do_test): Likewise.
13801 * string/test-strnlen.c (do_one_test): Likewise.
13802 (do_test): Likewise.
13803 * string/test-strpbrk.c (do_one_test): Likewise.
13804 (do_test): Likewise.
13805 * string/test-strrchr.c (do_one_test): Likewise.
13806 (do_test): Likewise.
13807 * string/test-strspn.c (do_one_test): Likewise.
13808 (do_test): Likewise.
13809 * string/test-strstr.c (do_one_test): Likewise.
13810 (do_test): Likewise.
13812 * benchtests/Makefile (string-bench): Add string benchmarks.
13813 * benchtests/bench-bcopy-ifunc.c: New file.
13814 * benchtests/bench-bcopy.c: New file.
13815 * benchtests/bench-bzero-ifunc.c: New file.
13816 * benchtests/bench-bzero.c: New file.
13817 * benchtests/bench-memccpy-ifunc.c: New file.
13818 * benchtests/bench-memccpy.c: New file.
13819 * benchtests/bench-memchr-ifunc.c: New file.
13820 * benchtests/bench-memchr.c: New file.
13821 * benchtests/bench-memcmp-ifunc.c: New file.
13822 * benchtests/bench-memcmp.c: New file.
13823 * benchtests/bench-memmem-ifunc.c: New file.
13824 * benchtests/bench-memmem.c: New file.
13825 * benchtests/bench-memmove-ifunc.c: New file.
13826 * benchtests/bench-memmove.c: New file.
13827 * benchtests/bench-mempcpy-ifunc.c: New file.
13828 * benchtests/bench-mempcpy.c: New file.
13829 * benchtests/bench-memset-ifunc.c: New file.
13830 * benchtests/bench-memset.c: New file.
13831 * benchtests/bench-rawmemchr-ifunc.c: New file.
13832 * benchtests/bench-rawmemchr.c: New file.
13833 * benchtests/bench-stpcpy-ifunc.c: New file.
13834 * benchtests/bench-stpcpy.c: New file.
13835 * benchtests/bench-stpncpy-ifunc.c: New file.
13836 * benchtests/bench-stpncpy.c: New file.
13837 * benchtests/bench-strcasecmp-ifunc.c: New file.
13838 * benchtests/bench-strcasecmp.c: New file.
13839 * benchtests/bench-strcasestr-ifunc.c: New file.
13840 * benchtests/bench-strcasestr.c: New file.
13841 * benchtests/bench-strcat-ifunc.c: New file.
13842 * benchtests/bench-strcat.c: New file.
13843 * benchtests/bench-strchr-ifunc.c: New file.
13844 * benchtests/bench-strchr.c: New file.
13845 * benchtests/bench-strchrnul-ifunc.c: New file.
13846 * benchtests/bench-strchrnul.c: New file.
13847 * benchtests/bench-strcmp-ifunc.c: New file.
13848 * benchtests/bench-strcmp.c: New file.
13849 * benchtests/bench-strcpy-ifunc.c: New file.
13850 * benchtests/bench-strcpy.c: New file.
13851 * benchtests/bench-strcspn-ifunc.c: New file.
13852 * benchtests/bench-strcspn.c: New file.
13853 * benchtests/bench-strlen-ifunc.c: New file.
13854 * benchtests/bench-strlen.c: New file.
13855 * benchtests/bench-strncasecmp-ifunc.c: New file.
13856 * benchtests/bench-strncasecmp.c: New file.
13857 * benchtests/bench-strncat-ifunc.c: New file.
13858 * benchtests/bench-strncat.c: New file.
13859 * benchtests/bench-strncmp-ifunc.c: New file.
13860 * benchtests/bench-strncmp.c: New file.
13861 * benchtests/bench-strncpy-ifunc.c: New file.
13862 * benchtests/bench-strncpy.c: New file.
13863 * benchtests/bench-strnlen-ifunc.c: New file.
13864 * benchtests/bench-strnlen.c: New file.
13865 * benchtests/bench-strpbrk-ifunc.c: New file.
13866 * benchtests/bench-strpbrk.c: New file.
13867 * benchtests/bench-strrchr-ifunc.c: New file.
13868 * benchtests/bench-strrchr.c: New file.
13869 * benchtests/bench-strspn-ifunc.c: New file.
13870 * benchtests/bench-strspn.c: New file.
13871 * benchtests/bench-strstr-ifunc.c: New file.
13872 * benchtests/bench-strstr.c: New file.
13874 * benchtests/Makefile: Disable parallel execution of targets.
13875 (string-bench): Add memcpy.
13876 (benchset): New variable to store a list of benchmark sets.
13877 (bench-func): Renamed from bench.
13878 (bench-set): New target.
13879 (bench): Depend on bench-func and bench-set.
13880 * benchtests/README: Add section on benchmark sets.
13881 * benchtests/bench-memcpy-ifunc.c: New file.
13882 * benchtests/bench-memcpy.c: New file.
13883 * benchtests/bench-string.h: New file.
13885 2013-06-11 Andreas Schwab <schwab@suse.de>
13888 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
13889 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
13890 values in the triple.
13891 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
13892 terminator in the group key.
13894 2013-06-11 Andreas Jaeger <aj@suse.de>
13896 * po/zh_TW.po: Update Chinese (traditional) translation from
13897 translation project.
13899 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13901 * include/time.h (__clock_gettime): Add libc_hidden_proto.
13902 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
13903 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
13904 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13905 (clock_getcpuclockid): Likewise.
13906 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
13907 Add weak_alias and libc_hidden_def.
13908 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
13909 * rt/clock_gettime.c (clock_gettime): Rename to
13910 __clock_gettime. Add weak_alias and libc_hidden_def.
13911 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
13912 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
13913 __clock_nanosleep. Add weak_alias and libc_hidden_def.
13914 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
13915 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
13917 * rt/clock_settime.c (clock_settime): Rename to
13918 __clock_settime. Add weak_alias and libc_hidden_def.
13919 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
13921 2013-06-10 Joseph Myers <joseph@codesourcery.com>
13923 * mach/err_boot.sub: Remove trailing whitespace.
13924 * mach/err_ipc.sub: Likewise.
13925 * mach/err_mach.sub: Likewise.
13927 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
13928 (ROUNDING_TESTS_double): Likewise.
13929 (ROUNDING_TESTS_long_double): Likewise.
13930 (ROUNDING_TESTS): Likewise.
13931 * math/libm-test.inc: Include <math-tests.h>.
13932 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
13933 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
13934 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
13935 (IF_ROUND_INIT_FE_UPWARD): Likewise.
13937 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13939 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
13942 2013-06-08 Joseph Myers <joseph@codesourcery.com>
13944 * sysdeps/gnu/errlist.awk: Do not generate space at end of
13945 otherwise empty TRANS lines.
13946 * sysdeps/gnu/errlist.c: Regenerated.
13948 * catgets/gencat.c (error_print): Use (void) in function
13950 * crypt/crypt_util.c (__init_des): Likewise.
13951 * crypt/speeds.c (Stop): Likewise.
13953 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
13954 * inet/ruserpass.c (token): Likewise.
13955 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
13956 * intl/localealias.c (extend_alias_table): Likewise.
13957 * intl/plural-exp.c (init_germanic_plural): Likewise.
13958 * libio/fcloseall.c (__fcloseall): Likewise.
13959 * libio/genops.c (_IO_flush_all): Likewise.
13960 (_IO_flush_all_linebuffered): Likewise.
13961 (_IO_cleanup): Likewise.
13962 (_IO_iter_begin): Likewise.
13963 (_IO_iter_end): Likewise.
13964 (_IO_list_lock): Likewise.
13965 (_IO_list_unlock): Likewise.
13966 (_IO_list_resetlock): Likewise.
13967 * libio/getchar.c (getchar): Likewise.
13968 * libio/getchar_u.c (getchar_unlocked): Likewise.
13969 * libio/getwchar.c (getwchar): Likewise.
13970 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
13971 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
13972 * login/getpt.c (__getpt): Likewise.
13973 * login/tst-utmp.c (main): Likewise.
13974 * malloc/hooks.c (__malloc_check_init): Likewise.
13975 * malloc/malloc.c (__malloc_stats): Likewise.
13976 * malloc/mtrace.c (tr_break): Likewise.
13977 (mtrace): Likewise.
13978 (muntrace): Likewise.
13979 * misc/fstab.c (endfsent): Likewise.
13980 * misc/getclktck.c (__getclktck): Likewise.
13981 * misc/getdtsz.c (__getdtablesize): Likewise.
13982 * misc/gethostid.c (gethostid): Likewise.
13983 * misc/getpagesize.c (__getpagesize): Likewise.
13984 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
13985 (__get_nprocs): Likewise.
13986 (__get_phys_pages): Likewise.
13987 (__get_avphys_pages): Likewise.
13988 * misc/getttyent.c (getttyent): Likewise.
13989 (setttyent): Likewise.
13990 (endttyent): Likewise.
13991 * misc/getusershell.c (getusershell): Likewise.
13992 (endusershell): Likewise.
13993 (setusershell): Likewise.
13994 (initshells): Likewise.
13995 * misc/hsearch.c (__hdestroy): Likewise.
13996 * misc/sync.c (sync): Likewise.
13997 * misc/syslog.c (closelog_internal): Likewise.
13998 (closelog): Likewise.
13999 * misc/ttyslot.c (ttyslot): Likewise.
14000 * misc/vhangup.c (vhangup): Likewise.
14001 * posix/fork.c (__fork): Likewise.
14002 * posix/getegid.c (__getegid): Likewise.
14003 * posix/geteuid.c (__geteuid): Likewise.
14004 * posix/getgid.c (__getgid): Likewise.
14005 * posix/getpid.c (__getpid): Likewise.
14006 * posix/getppid.c (__getppid): Likewise.
14007 * posix/getuid.c (__getuid): Likewise.
14008 * posix/pause.c (pause): Likewise.
14009 * posix/setpgrp.c (setpgrp): Likewise.
14010 * posix/setsid.c (__setsid): Likewise.
14011 * posix/test-vfork.c (noop): Likewise.
14012 * resolv/gethnamaddr.c (_endhtent): Likewise.
14013 (_gethtent): Likewise.
14014 (ht_endhostent): Likewise.
14015 (gethostent): Likewise.
14016 (dns_service): Likewise.
14017 * stdlib/drand48.c (drand48): Likewise.
14018 * stdlib/lrand48.c (lrand48): Likewise.
14019 * stdlib/mrand48.c (mrand48): Likewise.
14020 * stdlib/rand.c (rand): Likewise.
14021 * stdlib/random.c (__random): Likewise.
14022 * stdlib/setenv.c (clearenv): Likewise.
14023 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
14024 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
14025 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
14026 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
14027 (__get_nprocs): Likewise.
14028 (__get_phys_pages): Likewise.
14029 (__get_avphys_pages): Likewise.
14030 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
14031 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
14032 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
14033 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
14034 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
14035 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
14036 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
14037 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
14038 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
14039 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
14040 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
14041 * sysdeps/mach/hurd/sync.c (sync): Likewise.
14042 * sysdeps/posix/clock.c (clock): Likewise.
14043 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
14044 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
14045 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
14046 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
14047 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
14048 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
14049 (__get_nprocs_conf): Likewise.
14050 (__get_phys_pages): Likewise.
14051 (__get_avphys_pages): Likewise.
14052 * time/clock.c (clock): Likewise.
14053 * time/tzset.c (__tzname_max): Likewise.
14055 2013-06-07 Joseph Myers <joseph@codesourcery.com>
14057 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
14058 (__bswap_32): Do not use "register".
14059 * crypt/crypt.c (_ufc_doit_r): Likewise.
14060 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
14061 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
14062 * gmon/gmon.c (__monstartup): Likewise.
14063 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
14064 * hurd/hurdmalloc.c (more_memory): Likewise.
14065 (malloc): Likewise.
14067 (realloc): Likewise.
14068 (malloc_fork_prepare): Likewise.
14069 (malloc_fork_parent): Likewise.
14070 (malloc_fork_child): Likewise.
14071 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
14072 (_svcauth_des): Likewise.
14073 * inet/inet_lnaof.c (inet_lnaof): Likewise.
14074 * inet/inet_net.c (inet_network): Likewise.
14075 * inet/inet_netof.c (inet_netof): Likewise.
14076 * inet/rcmd.c (__validuser2_sa): Likewise.
14077 * io/fts.c (fts_open): Likewise.
14078 (fts_load): Likewise.
14079 (fts_close): Likewise.
14080 (fts_read): Likewise.
14081 (fts_children): Likewise.
14082 (fts_build): Likewise.
14083 (fts_stat): Likewise.
14084 (fts_sort): Likewise.
14085 (fts_alloc): Likewise.
14086 (fts_lfree): Likewise.
14087 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
14088 (_IO_file_xsgetn): Likewise.
14089 (_IO_file_xsgetn_mmap): Likewise.
14090 * libio/iofopncook.c (_IO_cookie_read): Likewise.
14091 (_IO_cookie_write): Likewise.
14092 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
14093 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
14094 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
14095 * malloc/obstack.c (_obstack_begin): Likewise.
14096 (_obstack_begin_1): Likewise.
14097 (_obstack_newchunk): Likewise.
14098 (_obstack_allocated_p): Likewise.
14099 (obstack_free): Likewise.
14100 (_obstack_memory_used): Likewise.
14101 * misc/getttyent.c (getttynam): Likewise.
14102 (getttyent): Likewise.
14105 * misc/getusershell.c (initshells): Likewise.
14106 * misc/syslog.c (__vsyslog_chk): Likewise.
14107 * misc/ttyslot.c (ttyslot): Likewise.
14108 * nis/nis_hash.c (__nis_hash): Likewise.
14109 * posix/fnmatch_loop.c (FCT): Likewise.
14110 * posix/getconf.c (print_all): Likewise.
14112 * posix/getopt.c (exchange): Likewise.
14113 * posix/glob.c (globfree): Likewise.
14114 (prefix_array): Likewise.
14115 (__glob_pattern_type): Likewise.
14116 * resolv/arpa/nameser.h (NS_GET16): Likewise.
14117 (NS_GET32): Likewise.
14118 (NS_PUT16): Likewise.
14119 (NS_PUT32): Likewise.
14120 * resolv/gethnamaddr.c (getanswer): Likewise.
14121 (gethostbyname2): Likewise.
14122 (gethostbyaddr): Likewise.
14123 (_gethtent): Likewise.
14124 (_gethtbyname2): Likewise.
14125 (_gethtbyaddr): Likewise.
14126 * resolv/ns_print.c (dst_s_get_int16): Likewise.
14127 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
14128 * resolv/res_init.c (__res_vinit): Likewise.
14129 (net_mask): Likewise.
14130 * resolv/res_mkquery.c (outchar): Likewise.
14132 * stdio-common/printf_fp.c (outchar): Likewise.
14134 * stdio-common/printf_fphex.c (outchar): Likewise.
14136 * stdio-common/printf_size.c (outchar): Likewise.
14138 * stdio-common/test_rdwr.c (main): Likewise.
14139 * stdio-common/tfformat.c (matches): Likewise.
14140 * stdio-common/vfprintf.c (outchar): Likewise.
14141 (printf_unknown): Likewise.
14142 (buffered_vfprintf): Likewise.
14143 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
14144 * stdio-common/xbug.c (AppendToBuffer): Likewise.
14145 (ReadFile): Likewise.
14146 * stdlib/qsort.c (SWAP): Likewise.
14147 (_quicksort): Likewise.
14148 * stdlib/setenv.c (__add_to_environ): Likewise.
14149 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
14150 * stdlib/strtol_l.c (__strtol_l): Likewise.
14151 * stdlib/tst-strtod.c (main): Likewise.
14152 * stdlib/tst-strtol.c (main): Likewise.
14153 * stdlib/tst-strtoll.c (main): Likewise.
14154 * string/bits/string2.h (__strcmp_cc): Likewise.
14155 (__strcmp_cg): Likewise.
14156 (__strcspn_c1): Likewise.
14157 (__strcspn_c2): Likewise.
14158 (__strcspn_c3): Likewise.
14159 (__strspn_c1): Likewise.
14160 (__strspn_c2): Likewise.
14161 (__strspn_c3): Likewise.
14162 (__strsep_1c): Likewise.
14163 (__strsep_2c): Likewise.
14164 (__strsep_3c): Likewise.
14165 * string/memccpy.c (__memccpy): Likewise.
14166 * string/stpcpy.c (__stpcpy): Likewise.
14167 * string/strcmp.c (strcmp): Likewise.
14168 * string/strrchr.c (strrchr): Likewise.
14169 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
14171 * sysdeps/mach/hurd/getcwd.c
14172 (_hurd_canonicalize_directory_name_internal): Likewise.
14173 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
14174 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
14175 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
14176 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
14177 Likewise, in both definitions.
14178 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
14180 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
14181 64] (__bswap_64): Likewise.
14182 * time/test_time.c (main): Likewise.
14183 * time/tzfile.c (__tzfile_read): Likewise.
14184 (__tzfile_compute): Likewise.
14185 * time/tzset.c (__tzset_parse_tz): Likewise.
14186 (tzset_internal): Likewise.
14187 (compute_change): Likewise.
14188 * wcsmbs/wcscat.c (__wcscat): Likewise.
14189 * wcsmbs/wcschr.c (wcschr): Likewise.
14190 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
14191 * wcsmbs/wcscspn.c (wcscspn): Likewise.
14192 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
14193 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
14194 * wcsmbs/wcsspn.c (wcsspn): Likewise.
14195 * wcsmbs/wcsstr.c (wcsstr): Likewise.
14196 * wcsmbs/wmemchr.c (wmemchr): Likewise.
14197 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
14198 * wcsmbs/wmemset.c (wmemset): Likewise.
14200 2013-06-06 Joseph Myers <joseph@codesourcery.com>
14202 * scripts/config.guess: Update to version 2013-05-16.
14203 * scripts/config.sub: Update to version 2013-04-24.
14204 * scripts/install-sh: Update to version 2011-11-20.07.
14205 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
14206 * scripts/move-if-change: Update to version 2012-01-06 07:23.
14208 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
14210 * debug/fgetws_u_chk.c: Fix leading whitespaces.
14211 * elf/sln.c: Likewise.
14212 * hurd/hurd/ioctl.h: Likewise.
14213 * hurd/hurdmalloc.c: Likewise.
14214 * hurd/xattr.c: Likewise.
14215 * include/shlib-compat.h: Likewise.
14216 * inet/ruserpass.c: Likewise.
14217 * libio/iofgets_u.c: Likewise.
14218 * libio/iofgetws_u.c: Likewise.
14219 * locale/programs/ld-identification.c: Likewise.
14220 * locale/programs/ld-time.c: Likewise.
14221 * mach/msg-destroy.c: Likewise.
14222 * nss/nss_files/files-netgrp.c: Likewise.
14223 * resolv/res_data.c: Likewise.
14224 * soft-fp/op-1.h: Likewise.
14225 * soft-fp/op-2.h: Likewise.
14226 * soft-fp/op-4.h: Likewise.
14227 * soft-fp/op-common.h: Likewise.
14228 * stdio-common/printf_fphex.c: Likewise.
14229 * stdlib/strtod_l.c: Likewise.
14230 * sunrpc/rpc/clnt.h: Likewise.
14231 * sysdeps/generic/framestate.c: Likewise.
14232 * sysdeps/i386/bsd-_setjmp.S: Likewise.
14233 * sysdeps/i386/bsd-setjmp.S: Likewise.
14234 * sysdeps/i386/__longjmp.S: Likewise.
14235 * sysdeps/i386/setjmp.S: Likewise.
14236 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14237 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
14238 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14239 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14240 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14241 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
14242 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
14243 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
14244 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
14245 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
14246 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
14247 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
14248 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
14249 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
14250 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
14251 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
14252 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
14253 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
14254 * sysdeps/ieee754/support.c: Likewise.
14255 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14256 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
14257 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
14258 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
14259 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
14260 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
14261 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
14262 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
14263 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
14264 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
14265 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
14266 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
14267 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
14268 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
14269 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
14270 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
14271 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
14272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
14274 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
14276 * posix/transbug.c: Remove executable mode.
14278 2013-06-05 Joseph Myers <joseph@codesourcery.com>
14280 * crypt/speeds.c: Remove trailing whitespace.
14281 * dlfcn/default.c: Likewise.
14282 * elf/ifuncdep2.c: Likewise.
14283 * elf/ifuncmain1.c: Likewise.
14284 * elf/ifuncmain1vis.c: Likewise.
14285 * elf/testobj.h: Likewise.
14286 * elf/tst-stackguard1.c: Likewise.
14287 * gmon/sys/gmon.h: Likewise.
14288 * hurd/hurdmsg.c: Likewise.
14289 * hurd/new-fd.c: Likewise.
14290 * hurd/ports-get.c: Likewise.
14291 * iconvdata/ibm1008_420.c: Likewise.
14292 * inet/tst-getni1.c: Likewise.
14293 * inet/tst-getni2.c: Likewise.
14294 * libio/ioungetc.c: Likewise.
14295 * libio/wfiledoalloc.c: Likewise.
14296 * manual/libm-err-tab.pl: Likewise.
14297 * math/w_dremf.c: Likewise.
14298 * misc/ftruncate.c: Likewise.
14299 * posix/bug-glob2.c: Likewise.
14300 * posix/tst-pcre.c: Likewise.
14301 * posix/wait4.c: Likewise.
14302 * resolv/README: Likewise.
14303 * resolv/res_debug.h: Likewise.
14304 * resolv/tst-inet_ntop.c: Likewise.
14305 * setjmp/bug269-setjmp.c: Likewise.
14306 * soft-fp/extended.h: Likewise.
14307 * soft-fp/op-1.h: Likewise.
14308 * soft-fp/op-2.h: Likewise.
14309 * soft-fp/op-4.h: Likewise.
14310 * soft-fp/op-8.h: Likewise.
14311 * soft-fp/testit.c: Likewise.
14312 * stdio-common/bug16.c: Likewise.
14313 * stdlib/random.c: Likewise.
14314 * sunrpc/rpcsvc/rquota.x: Likewise.
14315 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
14316 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
14317 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14318 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14319 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14320 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14321 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
14322 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14323 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
14324 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
14325 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
14326 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
14327 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14328 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
14329 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14330 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
14331 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
14332 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
14333 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
14334 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14335 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
14336 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
14337 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
14338 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
14339 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
14340 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
14341 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14342 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
14343 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
14344 * sysdeps/ieee754/s_lib_version.c: Likewise.
14345 * sysdeps/mach/hurd/check_fds.c: Likewise.
14346 * sysdeps/mach/hurd/getsockname.c: Likewise.
14347 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
14348 * sysdeps/mach/hurd/recvfrom.c: Likewise.
14349 * sysdeps/powerpc/bits/link.h: Likewise.
14350 * sysdeps/powerpc/dl-procinfo.c: Likewise.
14351 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
14352 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
14353 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
14354 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
14355 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
14356 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
14357 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
14358 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
14359 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
14360 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
14361 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
14362 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
14363 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
14364 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
14365 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
14366 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
14367 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
14368 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
14369 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14370 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14371 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
14372 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14373 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
14374 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
14375 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
14376 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
14377 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14378 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14379 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
14380 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
14381 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
14382 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14383 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
14384 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
14385 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
14386 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
14387 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
14388 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
14389 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
14390 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
14391 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
14392 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
14393 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
14394 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
14395 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
14396 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
14397 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
14398 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
14399 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
14400 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
14401 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
14402 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14403 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14404 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
14405 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
14406 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
14407 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14408 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
14409 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
14410 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
14411 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
14412 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
14413 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14414 * sysdeps/powerpc/sysdep.h: Likewise.
14415 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
14416 * sysdeps/s390/s390-64/sub_n.S: Likewise.
14417 * sysdeps/sh/dl-trampoline.S: Likewise.
14418 * sysdeps/sh/memset.S: Likewise.
14419 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
14420 * sysdeps/sh/strlen.S: Likewise.
14421 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
14422 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
14423 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
14424 * sysdeps/sparc/sparc32/rem.S: Likewise.
14425 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
14426 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
14427 * sysdeps/sparc/sparc32/strchr.S: Likewise.
14428 * sysdeps/sparc/sparc32/udiv.S: Likewise.
14429 * sysdeps/sparc/sparc32/urem.S: Likewise.
14430 * sysdeps/sparc/sparc64/add_n.S: Likewise.
14431 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
14432 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
14433 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
14434 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
14435 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
14436 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
14437 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
14438 * sysdeps/unix/bsd/times.c: Likewise.
14439 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
14440 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
14441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
14442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
14443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
14444 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
14445 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
14446 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
14447 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
14448 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
14449 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
14450 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
14451 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
14452 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
14453 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
14454 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
14455 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
14456 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
14457 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
14458 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
14459 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
14460 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
14461 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
14462 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
14463 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
14464 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
14465 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
14466 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14467 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
14468 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
14469 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
14470 * sysdeps/x86_64/strcspn.S: Likewise.
14472 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14474 * locale/C-translit.h: Revert #include <stdint.h> because this is a
14475 generated file. Regenerate properly from gen-translit.pl.
14476 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
14477 locale/C-translit.h.
14479 2013-06-05 Andreas Schwab <schwab@suse.de>
14482 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
14483 week as 6 instead of -1.
14484 * time/tst-strptime.c (day_tests): Add test case.
14486 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14488 * sysdeps/generic/math_private.h
14489 (libc_feholdexcept_setround_53bit): Replace with
14490 libc_feholdsetround_53bit.
14491 (libc_feupdateenv_53bit): Replace with
14492 libc_feresetround_53bit.
14493 (SET_RESTORE_ROUND_53BIT): Adjust.
14495 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
14497 * string/test-strchrnul.c: Add copyright header.
14499 * posix/tst-getaddrinfo4.c: Increase test timeout.
14501 2013-06-03 Carlos O'Donell <carlos@redhat.com>
14504 * math/libm-test.inc (MAX_EXP): Remove
14506 (ulp): Use MIN_EXP - MANT_DIG.
14507 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
14509 2013-05-31 Carlos O'Donell <carlos@redhat.com>
14511 * po/be.po: Revert last change.
14512 * po/zh_CN.po: Likewise.
14513 * po/header.pot: Likewise.
14515 2013-05-31 Joseph Myers <joseph@codesourcery.com>
14517 * Makefile ($(common-objpfx)linkobj/libc.so): Define
14518 link-libc-deps to empty as target-specific variable.
14519 * Makerules (link-libc-args): New variable.
14520 (libc-for-link): Likewise.
14521 (link-libc-deps): Likewise.
14522 (lib%.so): Depend on $(link-libc-deps). Link with
14524 (build-module): Link with $(link-libc-args).
14525 (build-module-asneeded): Likewise.
14526 (build-module-helper-objlist): Filter out $(link-libc-deps) from
14528 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
14529 target-specific variable.
14530 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
14531 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
14532 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
14534 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
14536 ($(objpfx)libpcprofile.so): Likewise.
14537 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
14539 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
14540 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
14541 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
14543 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
14544 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
14545 * login/Makefile ($(objpfx)libutil.so): Likewise.
14546 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
14547 * math/Makefile ($(objpfx)libm.so): Likewise.
14548 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
14549 $(objpfx)libnsl.so): Define libc-for-link as target-specific
14550 variable instead of depending directly on libc.
14551 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
14552 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
14554 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
14556 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
14557 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
14558 ($(objpfx)libanl.so): Likewise.
14559 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
14561 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
14563 * sysdeps/i386/fpu/Makefile: Remove file.
14564 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
14565 ($(objpfx)libm.so): Remove dependency on ld.so.
14567 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
14570 * nis/yp_xdr.c (XDRMAXNAME): Define.
14571 (XDRMAXRECORD): Define.
14572 (xdr_domainname): Use XDRMAXNAME.
14573 (xdr_mapname): Likewise.
14574 (xdr_peername): Likewise.
14575 (xdr_keydat): Use XDRMAXRECORD.
14576 (xdr_valdat): Likewise.
14578 2013-05-30 Jeff Law <law@redhat.com>
14581 * manual/errno.texi (ESTALE): Update to account for more than
14582 just NFS file systems.
14583 * sysdeps/gnu/errlist.c: Regenerated.
14585 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14588 * elf/Makefile (tests): Add tst-null-argv.
14589 (modules-names): Add tst-null-argv-lib.
14590 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
14591 (tst-null-argv-ENV): Set environment for tst-null-argv.
14592 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
14593 (RTLD_PROGNAME): New macro.
14594 * elf/tst-null-argv.c: New test case.
14595 * elf/tst-null-argv-lib.c: Library for test case.
14596 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
14597 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
14598 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
14599 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
14600 * elf/dl-init.c (call_init): Likewise.
14601 (_dl_init): Likewise.
14602 * elf/dl-load.c (print_search_path): Likewise.
14603 (_dl_map_object): Likewise.
14604 * elf/dl-lookup.c (do_lookup_x): Likewise.
14605 (add_dependency): Likewise.
14606 (_dl_lookup_symbol_x): Likewise.
14607 (_dl_debug_bindings): Likewise.
14608 * elf/dl-open.c (_dl_show_scope): Likewise.
14609 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
14610 * elf/dl-version.c (match_symbol): Likewise.
14611 (_dl_check_map_versions): Likewise.
14612 * elf/rtld.c (dl_main): Likewise.
14613 (print_unresolved): Use RTLD_PROGNAME.
14614 (print_missing_version): Likewise.
14615 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
14616 (elf_machine_rela): Likewise.
14617 * sysdeps/powerpc/powerpc32/dl-machine.c
14618 (__process_machine_rela): Likewise.
14619 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14621 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
14623 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
14625 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14626 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
14628 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
14630 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14632 2013-05-28 Carlos O'Donell <carlos@redhat.com>
14634 * po/be.po: Add descriptive title.
14635 * po/zh_CN.po: Likewise.
14636 * po/header.pot: Likewise.
14638 2013-05-28 Mike Frysinger <vapier@gentoo.org>
14640 * locale/programs/locarchive.c (create_archive): Inlucde fname in
14642 (enlarge_archive): Likewise.
14644 2013-05-28 Ben North <ben@redfrontdoor.org>
14646 * manual/arith.texi (frexp): It is the magnitude of the return
14647 value which lies in [0.5, 1), not the return value itself.
14649 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14651 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14653 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
14655 * stdio-common/bug26.c (main): Correct fscanf template.
14657 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
14658 declare _dl_skip_args.
14660 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
14663 * manual/platform.texi: Add missing @end deftypefun.
14665 2013-05-24 Joseph Myers <joseph@codesourcery.com>
14668 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
14669 bit of mantissa of 2^16382.
14670 * math/libm-test.inc (hypot_test_data): Add more tests.
14672 * math/libm-test.inc: Add drem and pow10 to list of tested
14674 (pow10_test): New function.
14675 (drem_test): Likewise.
14676 (drem_test_tonearest): Likewise.
14677 (drem_test_towardzero): Likewise.
14678 (drem_test_downward): Likewise.
14679 (drem_test_upward): Likewise.
14680 (main): Call the new functions.
14682 * math/libm-test.inc (finite_test_data): Remove.
14683 (finite_test): Run tests from isfinite_test_data.
14684 (gamma_test_data): Remove.
14685 (gamma_test): Run tests from lgamma_test_data.
14686 * sysdeps/i386/fpu/libm-test-ulps: Update.
14687 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14689 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14691 * manual/platform.texi: Add PowerPC PPR function set documentation.
14692 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
14695 2013-05-24 Carlos O'Donell <carlos@redhat.com>
14697 * math/libm-test.inc (MAX_EXP): Define.
14699 (ulp): New function.
14700 (check_float_internal): Use ULPDIFF.
14701 (cpow_test): Disable failing test.
14702 (check_ulp): Test ulp() implemetnation.
14703 (main): Call check_ulp before starting tests.
14705 2013-05-24 Joseph Myers <joseph@codesourcery.com>
14707 * math/gen-libm-test.pl (generate_testfile): Do not handle
14708 START_DATA and END_DATA.
14709 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
14711 (acos_tonearest_test_data): Likewise.
14712 (acos_towardzero_test_data): Likewise.
14713 (acos_downward_test_data): Likewise.
14714 (acos_upward_test_data): Likewise.
14715 (acosh_test_data): Likewise.
14716 (asin_test_data): Likewise.
14717 (asin_tonearest_test_data): Likewise.
14718 (asin_towardzero_test_data): Likewise.
14719 (asin_downward_test_data): Likewise.
14720 (asin_upward_test_data): Likewise.
14721 (asinh_test_data): Likewise.
14722 (atan_test_data): Likewise.
14723 (atanh_test_data): Likewise.
14724 (atan2_test_data): Likewise.
14725 (cabs_test_data): Likewise.
14726 (cacos_test_data): Likewise.
14727 (cacosh_test_data): Likewise.
14728 (carg_test_data): Likewise.
14729 (casin_test_data): Likewise.
14730 (casinh_test_data): Likewise.
14731 (catan_test_data): Likewise.
14732 (catanh_test_data): Likewise.
14733 (cbrt_test_data): Likewise.
14734 (ccos_test_data): Likewise.
14735 (ccosh_test_data): Likewise.
14736 (ceil_test_data): Likewise.
14737 (cexp_test_data): Likewise.
14738 (cimag_test_data): Likewise.
14739 (clog_test_data): Likewise.
14740 (clog10_test_data): Likewise.
14741 (conj_test_data): Likewise.
14742 (copysign_test_data): Likewise.
14743 (cos_test_data): Likewise.
14744 (cos_tonearest_test_data): Likewise.
14745 (cos_towardzero_test_data): Likewise.
14746 (cos_downward_test_data): Likewise.
14747 (cos_upward_test_data): Likewise.
14748 (cosh_test_data): Likewise.
14749 (cosh_tonearest_test_data): Likewise.
14750 (cosh_towardzero_test_data): Likewise.
14751 (cosh_downward_test_data): Likewise.
14752 (cosh_upward_test_data): Likewise.
14753 (cpow_test_data): Likewise.
14754 (cproj_test_data): Likewise.
14755 (creal_test_data): Likewise.
14756 (csin_test_data): Likewise.
14757 (csinh_test_data): Likewise.
14758 (csqrt_test_data): Likewise.
14759 (ctan_test_data): Likewise.
14760 (ctan_tonearest_test_data): Likewise.
14761 (ctan_towardzero_test_data): Likewise.
14762 (ctan_downward_test_data): Likewise.
14763 (ctan_upward_test_data): Likewise.
14764 (ctanh_test_data): Likewise.
14765 (ctanh_tonearest_test_data): Likewise.
14766 (ctanh_towardzero_test_data): Likewise.
14767 (ctanh_downward_test_data): Likewise.
14768 (ctanh_upward_test_data): Likewise.
14769 (erf_test_data): Likewise.
14770 (erfc_test_data): Likewise.
14771 (exp_test_data): Likewise.
14772 (exp_tonearest_test_data): Likewise.
14773 (exp_towardzero_test_data): Likewise.
14774 (exp_downward_test_data): Likewise.
14775 (exp_upward_test_data): Likewise.
14776 (exp10_test_data): Likewise.
14777 (exp2_test_data): Likewise.
14778 (expm1_test_data): Likewise.
14779 (fabs_test_data): Likewise.
14780 (fdim_test_data): Likewise.
14781 (finite_test_data): Likewise.
14782 (floor_test_data): Likewise.
14783 (fma_test_data): Likewise.
14784 (fma_towardzero_test_data): Likewise.
14785 (fma_downward_test_data): Likewise.
14786 (fma_upward_test_data): Likewise.
14787 (fmax_test_data): Likewise.
14788 (fmin_test_data): Likewise.
14789 (fmod_test_data): Likewise.
14790 (fpclassify_test_data): Likewise.
14791 (frexp_test_data): Likewise.
14792 (gamma_test_data): Likewise.
14793 (hypot_test_data): Likewise.
14794 (ilogb_test_data): Likewise.
14795 (isfinite_test_data): Likewise.
14796 (isgreater_test_data): Likewise.
14797 (isgreaterequal_test_data): Likewise.
14798 (isinf_test_data): Likewise.
14799 (isless_test_data): Likewise.
14800 (islessequal_test_data): Likewise.
14801 (islessgreater_test_data): Likewise.
14802 (isnan_test_data): Likewise.
14803 (isnormal_test_data): Likewise.
14804 (issignaling_test_data): Likewise.
14805 (isunordered_test_data): Likewise.
14806 (j0_test_data): Likewise.
14807 (j1_test_data): Likewise.
14808 (jn_test_data): Likewise.
14809 (ldexp_test_data): Likewise.
14810 (lgamma_test_data): Likewise.
14811 (lrint_test_data): Likewise.
14812 (lrint_tonearest_test_data): Likewise.
14813 (lrint_towardzero_test_data): Likewise.
14814 (lrint_downward_test_data): Likewise.
14815 (lrint_upward_test_data): Likewise.
14816 (llrint_test_data): Likewise.
14817 (llrint_tonearest_test_data): Likewise.
14818 (llrint_towardzero_test_data): Likewise.
14819 (llrint_downward_test_data): Likewise.
14820 (llrint_upward_test_data): Likewise.
14821 (log_test_data): Likewise.
14822 (log10_test_data): Likewise.
14823 (log1p_test_data): Likewise.
14824 (log2_test_data): Likewise.
14825 (logb_test_data): Likewise.
14826 (logb_downward_test_data): Likewise.
14827 (lround_test_data): Likewise.
14828 (llround_test_data): Likewise.
14829 (modf_test_data): Likewise.
14830 (nearbyint_test_data): Likewise.
14831 (nextafter_test_data): Likewise.
14832 (nexttoward_test_data): Likewise.
14833 (pow_test_data): Likewise.
14834 (pow_tonearest_test_data): Likewise.
14835 (pow_towardzero_test_data): Likewise.
14836 (pow_downward_test_data): Likewise.
14837 (pow_upward_test_data): Likewise.
14838 (remainder_test_data): Likewise.
14839 (remainder_tonearest_test_data): Likewise.
14840 (remainder_towardzero_test_data): Likewise.
14841 (remainder_downward_test_data): Likewise.
14842 (remainder_upward_test_data): Likewise.
14843 (remquo_test_data): Likewise.
14844 (rint_test_data): Likewise.
14845 (rint_tonearest_test_data): Likewise.
14846 (rint_towardzero_test_data): Likewise.
14847 (rint_downward_test_data): Likewise.
14848 (rint_upward_test_data): Likewise.
14849 (round_test_data): Likewise.
14850 (scalb_test_data): Likewise.
14851 (scalbn_test_data): Likewise.
14852 (scalbln_test_data): Likewise.
14853 (signbit_test_data): Likewise.
14854 (sin_test_data): Likewise.
14855 (sin_tonearest_test_data): Likewise.
14856 (sin_towardzero_test_data): Likewise.
14857 (sin_downward_test_data): Likewise.
14858 (sin_upward_test_data): Likewise.
14859 (sincos_test_data): Likewise.
14860 (sinh_test_data): Likewise.
14861 (sinh_tonearest_test_data): Likewise.
14862 (sinh_towardzero_test_data): Likewise.
14863 (sinh_downward_test_data): Likewise.
14864 (sinh_upward_test_data): Likewise.
14865 (sqrt_test_data): Likewise.
14866 (tan_test_data): Likewise.
14867 (tan_tonearest_test_data): Likewise.
14868 (tan_towardzero_test_data): Likewise.
14869 (tan_downward_test_data): Likewise.
14870 (tan_upward_test_data): Likewise.
14871 (tanh_test_data): Likewise.
14872 (tgamma_test_data): Likewise.
14873 (trunc_test_data): Likewise.
14874 (y0_test_data): Likewise.
14875 (y1_test_data): Likewise.
14876 (yn_test_data): Likewise.
14877 (significand_test_data): Likewise.
14879 * math/gen-libm-test.pl (@functions): Remove variable.
14880 (generate_testfile): Don't handle START and END lines.
14881 * math/libm-test.inc (START): New macro.
14883 (END_COMPLEX): Likewise.
14884 (acos_test): Use END macro without arguments.
14885 (acos_test_tonearest): Likewise.
14886 (acos_test_towardzero): Likewise.
14887 (acos_test_downward): Likewise.
14888 (acos_test_upward): Likewise.
14889 (acosh_test): Likewise.
14890 (asin_test): Likewise.
14891 (asin_test_tonearest): Likewise.
14892 (asin_test_towardzero): Likewise.
14893 (asin_test_downward): Likewise.
14894 (asin_test_upward): Likewise.
14895 (asinh_test): Likewise.
14896 (atan_test): Likewise.
14897 (atanh_test): Likewise.
14898 (atan2_test): Likewise.
14899 (cabs_test): Likewise.
14900 (cacos_test): Use END_COMPLEX macro without arguments.
14901 (cacosh_test): Likewise.
14902 (carg_test): Use END macro without arguments.
14903 (casin_test): Use END_COMPLEX macro without arguments.
14904 (casinh_test): Likewise.
14905 (catan_test): Likewise.
14906 (catanh_test): Likewise.
14907 (cbrt_test): Use END macro without arguments.
14908 (ccos_test): Use END_COMPLEX macro without arguments.
14909 (ccosh_test): Likewise.
14910 (ceil_test): Use END macro without arguments.
14911 (cexp_test): Use END_COMPLEX macro without arguments.
14912 (cimag_test): Use END macro without arguments.
14913 (clog_test): Use END_COMPLEX macro without arguments.
14914 (clog10_test): Likewise.
14915 (conj_test): Likewise.
14916 (copysign_test): Use END macro without arguments.
14917 (cos_test): Likewise.
14918 (cos_test_tonearest): Likewise.
14919 (cos_test_towardzero): Likewise.
14920 (cos_test_downward): Likewise.
14921 (cos_test_upward): Likewise.
14922 (cosh_test): Likewise.
14923 (cosh_test_tonearest): Likewise.
14924 (cosh_test_towardzero): Likewise.
14925 (cosh_test_downward): Likewise.
14926 (cosh_test_upward): Likewise.
14927 (cpow_test): Use END_COMPLEX macro without arguments.
14928 (cproj_test): Likewise.
14929 (creal_test): Use END macro without arguments.
14930 (csin_test): Use END_COMPLEX macro without arguments.
14931 (csinh_test): Likewise.
14932 (csqrt_test): Likewise.
14933 (ctan_test): Likewise.
14934 (ctan_test_tonearest): Likewise.
14935 (ctan_test_towardzero): Likewise.
14936 (ctan_test_downward): Likewise.
14937 (ctan_test_upward): Likewise.
14938 (ctanh_test): Likewise.
14939 (ctanh_test_tonearest): Likewise.
14940 (ctanh_test_towardzero): Likewise.
14941 (ctanh_test_downward): Likewise.
14942 (ctanh_test_upward): Likewise.
14943 (erf_test): Use END macro without arguments.
14944 (erfc_test): Likewise.
14945 (exp_test): Likewise.
14946 (exp_test_tonearest): Likewise.
14947 (exp_test_towardzero): Likewise.
14948 (exp_test_downward): Likewise.
14949 (exp_test_upward): Likewise.
14950 (exp10_test): Likewise.
14951 (exp2_test): Likewise.
14952 (expm1_test): Likewise.
14953 (fabs_test): Likewise.
14954 (fdim_test): Likewise.
14955 (finite_test): Likewise.
14956 (floor_test): Likewise.
14957 (fma_test): Likewise.
14958 (fma_test_towardzero): Likewise.
14959 (fma_test_downward): Likewise.
14960 (fma_test_upward): Likewise.
14961 (fmax_test): Likewise.
14962 (fmin_test): Likewise.
14963 (fmod_test): Likewise.
14964 (fpclassify_test): Likewise.
14965 (frexp_test): Likewise.
14966 (gamma_test): Likewise.
14967 (hypot_test): Likewise.
14968 (ilogb_test): Likewise.
14969 (isfinite_test): Likewise.
14970 (isgreater_test): Likewise.
14971 (isgreaterequal_test): Likewise.
14972 (isinf_test): Likewise.
14973 (isless_test): Likewise.
14974 (islessequal_test): Likewise.
14975 (islessgreater_test): Likewise.
14976 (isnan_test): Likewise.
14977 (isnormal_test): Likewise.
14978 (issignaling_test): Likewise.
14979 (isunordered_test): Likewise.
14980 (j0_test): Likewise.
14981 (j1_test): Likewise.
14982 (jn_test): Likewise.
14983 (ldexp_test): Likewise.
14984 (lgamma_test): Likewise.
14985 (lrint_test): Likewise.
14986 (lrint_test_tonearest): Likewise.
14987 (lrint_test_towardzero): Likewise.
14988 (lrint_test_downward): Likewise.
14989 (lrint_test_upward): Likewise.
14990 (llrint_test): Likewise.
14991 (llrint_test_tonearest): Likewise.
14992 (llrint_test_towardzero): Likewise.
14993 (llrint_test_downward): Likewise.
14994 (llrint_test_upward): Likewise.
14995 (log_test): Likewise.
14996 (log10_test): Likewise.
14997 (log1p_test): Likewise.
14998 (log2_test): Likewise.
14999 (logb_test): Likewise.
15000 (logb_test_downward): Likewise.
15001 (lround_test): Likewise.
15002 (llround_test): Likewise.
15003 (modf_test): Likewise.
15004 (nearbyint_test): Likewise.
15005 (nextafter_test): Likewise.
15006 (nexttoward_test): Likewise.
15007 (pow_test): Likewise.
15008 (pow_test_tonearest): Likewise.
15009 (pow_test_towardzero): Likewise.
15010 (pow_test_downward): Likewise.
15011 (pow_test_upward): Likewise.
15012 (remainder_test): Likewise.
15013 (remainder_test_tonearest): Likewise.
15014 (remainder_test_towardzero): Likewise.
15015 (remainder_test_downward): Likewise.
15016 (remainder_test_upward): Likewise.
15017 (remquo_test): Likewise.
15018 (rint_test): Likewise.
15019 (rint_test_tonearest): Likewise.
15020 (rint_test_towardzero): Likewise.
15021 (rint_test_downward): Likewise.
15022 (rint_test_upward): Likewise.
15023 (round_test): Likewise.
15024 (scalb_test): Likewise.
15025 (scalbn_test): Likewise.
15026 (scalbln_test): Likewise.
15027 (signbit_test): Likewise.
15028 (sin_test): Likewise.
15029 (sin_test_tonearest): Likewise.
15030 (sin_test_towardzero): Likewise.
15031 (sin_test_downward): Likewise.
15032 (sin_test_upward): Likewise.
15033 (sincos_test): Likewise.
15034 (sinh_test): Likewise.
15035 (sinh_test_tonearest): Likewise.
15036 (sinh_test_towardzero): Likewise.
15037 (sinh_test_downward): Likewise.
15038 (sinh_test_upward): Likewise.
15039 (sqrt_test): Likewise.
15040 (tan_test): Likewise.
15041 (tan_test_tonearest): Likewise.
15042 (tan_test_towardzero): Likewise.
15043 (tan_test_downward): Likewise.
15044 (tan_test_upward): Likewise.
15045 (tanh_test): Likewise.
15046 (tgamma_test): Likewise.
15047 (trunc_test): Likewise.
15048 (y0_test): Likewise.
15049 (y1_test): Likewise.
15050 (yn_test): Likewise.
15051 (significand_test): Likewise.
15053 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
15056 * libio/genops.c (_IO_no_init): Initialize wide struct info.
15058 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
15061 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
15062 __ppc_mdoio and __ppc_mdoom.
15063 * manual/platform.texi: Document new functions __ppc_yield,
15064 __ppc_mdoio and __ppc_mdoom.
15066 2013-05-22 Carlos O'Donell <carlos@redhat.com>
15068 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
15069 (main): Mention "tls" pseudo-hwcap is legacy.
15070 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
15072 2013-05-22 Joseph Myers <joseph@codesourcery.com>
15074 * math/gen-libm-test.pl (parse_args): Output only string of
15075 arguments as text for test name, not full call or descriptions of
15076 tests for extra outputs.
15077 (generate_testfile): Do not pass function name to parse_args.
15078 Generate this_func variable from START.
15079 * math/libm-test.inc (struct test_f_f_data): Rename test_name
15081 (struct test_ff_f_data): Likewise.
15082 (test_ff_f_data_nexttoward): Likewise.
15083 (struct test_fi_f_data): Likewise.
15084 (struct test_fl_f_data): Likewise.
15085 (struct test_if_f_data): Likewise.
15086 (struct test_fff_f_data): Likewise.
15087 (struct test_c_f_data): Likewise.
15088 (struct test_f_f1_data): Likewise. Remove field extra_name.
15089 (struct test_fF_f1_data): Likewise.
15090 (struct test_ffI_f1_data): Likewise.
15091 (struct test_c_c_data): Rename test_name field to arg_str.
15092 (struct test_cc_c_data): Likewise.
15093 (struct test_f_i_data): Likewise.
15094 (struct test_ff_i_data): Likewise.
15095 (struct test_f_l_data): Likewise.
15096 (struct test_f_L_data): Likewise.
15097 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
15099 (COMMON_TEST_SETUP): New macro.
15100 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
15101 (COMMON_TEST_CLEANUP): Likewise.
15102 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
15103 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
15105 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
15106 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
15108 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
15109 (RUN_TEST_fff_f): Take argument string. Call new setup and
15111 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
15112 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
15114 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
15115 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
15117 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
15118 (RUN_TEST_fF_f1): Take argument string. Call new setup and
15120 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
15121 (RUN_TEST_fI_f1): Take argument string. Call new setup and
15123 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
15124 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
15126 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
15127 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
15129 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
15130 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
15132 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
15133 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
15135 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
15136 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
15138 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
15139 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
15141 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
15142 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
15144 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
15145 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
15147 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
15148 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
15150 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
15151 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
15153 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
15154 (RUN_TEST_fFF_11): Take argument string. Call new setup and
15156 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
15158 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
15160 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
15161 to _sifields.sigfault.
15162 (si_addr_lsb): Define new macro.
15163 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
15164 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
15165 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
15167 2013-05-03 Carlos O'Donell <carlos at redhat.com>
15170 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
15172 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
15174 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
15175 loading the domain.
15177 2013-05-22 Joseph Myers <joseph@codesourcery.com>
15179 * math/gen-libm-test.pl (parse_args): Do not include expected
15180 result in test name.
15181 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
15182 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15183 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15184 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
15185 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15186 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15188 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15190 * benchtests/Makefile: Sort function entries.
15192 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
15193 tanh, asinh, acosh, atanh.
15194 * benchtests/acos-inputs: New file.
15195 * benchtests/acosh-inputs: New file.
15196 * benchtests/asin-inputs: New file.
15197 * benchtests/asinh-inputs: New file.
15198 * benchtests/atanh-inputs: New file.
15199 * benchtests/cosh-inputs: New file.
15200 * benchtests/log-inputs: New file.
15201 * benchtests/sinh-inputs: New file.
15202 * benchtests/tanh-inputs: New file.
15204 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
15207 * posix/tst-getaddrinfo4.c: New test.
15208 * posix/Makefile (tests): Add it.
15210 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15213 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
15214 when no services were used.
15215 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
15216 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
15218 2013-05-21 Andreas Schwab <schwab@suse.de>
15221 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
15222 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
15224 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
15225 redundant variable declarations and reallocation of buffer when
15226 parsing as IPv6 address. Always set NSS status when called from
15227 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
15228 buffer too small. Correct computation of needed size.
15229 * nss/Makefile (tests): Add test-digits-dots.
15230 * nss/test-digits-dots.c: New test.
15232 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15234 * benchtests/Makefile: Remove instructions for adding
15236 * benchtests/README: New file to explain how to execute and
15237 enhance the benchmark tests.
15239 2013-05-21 Andreas Schwab <schwab@suse.de>
15242 * setjmp/Makefile (tests): Add tst-sigsetjmp.
15243 * setjmp/tst-sigsetjmp.c: New test.
15245 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
15247 * sysdeps/x86_64/memset.S (memset): New implementation.
15248 (__bzero): Likewise.
15249 (__memset_tail): New function.
15251 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
15253 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
15254 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
15255 __memcpy_sse2_unaligned ifunc selection.
15256 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
15257 Add memcpy-sse2-unaligned.S.
15258 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15259 Add: __memcpy_sse2_unaligned.
15261 2013-05-19 Joseph Myers <joseph@codesourcery.com>
15264 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
15265 math_force_eval before restoring floating-point envrionment.
15266 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
15267 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
15269 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
15271 (__nearbyintl): Use math_force_eval before restoring
15272 floating-point environment.
15273 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
15275 * math/gen-libm-test.pl (special_functions): Remove.
15276 (parse_args): Don't handle TEST_extra. Handle functions with no
15278 * math/libm-test.inc (struct test_sincos_data): Replace with
15279 struct test_fFF_11_data.
15280 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
15281 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
15282 (sincos_test_data): Change element type to struct
15283 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
15284 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
15285 RUN_TEST_LOOP_sincos.
15286 * math/README.libm-test: Don't mention special handling of
15287 individual functions.
15288 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
15289 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15290 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15291 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
15292 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15293 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15295 * math/gen-libm-test.pl (get_variable): Remove function.
15296 (parse_args): Don't show pointer parameters to call in test
15297 names. Use "extra output N" in test names for extra outputs
15298 rather than naming variables.
15300 2013-05-18 Joseph Myers <joseph@codesourcery.com>
15303 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
15304 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
15305 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
15307 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
15309 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
15312 * math/gen-libm-test.pl (@tests): Remove variable.
15313 ($count): Likewise.
15314 (new_test): Remove function.
15315 (show_exceptions): New function.
15316 (special_functions): Use show_exceptions instead of new_test.
15317 (parse_args): Likewise.
15318 (generate_testfile): Pass only function name in generated call to
15319 print_max_error or print_complex_max_error.
15320 (get_ulps): Do not handle complex tests specially.
15321 (output_test): Rename to ...
15322 (get_all_ulps_for_test): ... this. Return a string rather than
15323 printing to a file. Require ulps to be present.
15324 (output_ulps): Generate arrays rather than #defines.
15325 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
15326 (struct ulp_data): New type.
15327 (BUILD_COMPLEX_ULP): Remove macro.
15328 (compare_ulp_data): New function.
15329 (find_ulps): Likewise.
15330 (find_test_ulps): Likewise.
15331 (find_function_ulps): Likewise.
15332 (find_complex_function_ulps): Likewise.
15333 (print_max_error): Determine allowed ulps using
15334 find_function_ulps.
15335 (print_complex_max_error): Determine allowed ulps using
15336 find_complex_function_ulps.
15337 (check_float_internal): Determine max ulps using find_test_ulps.
15338 (check_float): Do not take max_ulp parameter. Update call to
15339 check_float_internal.
15340 (check_complex): Likewise.
15341 (check_int): Do not take max_ulp parameter.
15342 (check_long): Likewise.
15343 (check_bool): Likewise.
15344 (check_longlong): Likewise.
15345 (struct test_f_f_data): Remove max_ulp field.
15346 (struct test_ff_f_data): Likewise.
15347 (struct test_ff_f_data_nexttoward): Likewise.
15348 (struct test_fi_f_data): Likewise.
15349 (struct test_fl_f_data): Likewise.
15350 (struct test_if_f_data): Likewise.
15351 (struct test_fff_f_data): Likewise.
15352 (struct test_c_f_data): Likewise.
15353 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
15354 (struct test_fF_f1_data): Likewise.
15355 (struct test_ffI_f1_data): Likewise.
15356 (struct test_c_c_data): Remove max_ulp field.
15357 (struct test_cc_c_data): Likewise.
15358 (struct test_f_i_data): Likewise.
15359 (struct test_ff_i_data): Likewise.
15360 (struct test_f_l_data): Likewise.
15361 (struct test_f_L_data): Likewise.
15362 (struct test_sincos_data): Likewise.
15363 (RUN_TEST_f_f): Do not handle ulps.
15364 (RUN_TEST_LOOP_f_f): Likewise.
15365 (RUN_TEST_2_f): Likewise.
15366 (RUN_TEST_LOOP_2_f): Likewise.
15367 (RUN_TEST_fff_f): Likewise.
15368 (RUN_TEST_LOOP_fff_f): Likewise.
15369 (RUN_TEST_c_f): Likewise.
15370 (RUN_TEST_LOOP_c_f): Likewise.
15371 (RUN_TEST_f_f1): Likewise.
15372 (RUN_TEST_LOOP_f_f1): Likewise.
15373 (RUN_TEST_fF_f1): Likewise.
15374 (RUN_TEST_LOOP_fF_f1): Likewise.
15375 (RUN_TEST_fI_f1): Likewise.
15376 (RUN_TEST_LOOP_fI_f1): Likewise.
15377 (RUN_TEST_ffI_f1): Likewise.
15378 (RUN_TEST_LOOP_ffI_f1): Likewise.
15379 (RUN_TEST_c_c): Likewise.
15380 (RUN_TEST_LOOP_c_c): Likewise.
15381 (RUN_TEST_cc_c): Likewise.
15382 (RUN_TEST_LOOP_cc_c): Likewise.
15383 (RUN_TEST_f_i): Likewise.
15384 (RUN_TEST_LOOP_f_i): Likewise.
15385 (RUN_TEST_f_i_tg): Likewise.
15386 (RUN_TEST_LOOP_f_i_tg): Likewise.
15387 (RUN_TEST_ff_i_tg): Likewise.
15388 (RUN_TEST_LOOP_ff_i_tg): Likewise.
15389 (RUN_TEST_f_b): Likewise.
15390 (RUN_TEST_LOOP_f_b): Likewise.
15391 (RUN_TEST_f_b_tg): Likewise.
15392 (RUN_TEST_LOOP_f_b_tg): Likewise.
15393 (RUN_TEST_f_l): Likewise.
15394 (RUN_TEST_LOOP_f_l): Likewise.
15395 (RUN_TEST_f_L): Likewise.
15396 (RUN_TEST_LOOP_f_L): Likewise.
15397 (RUN_TEST_sincos): Likewise.
15398 (RUN_TEST_LOOP_sincos): Likewise.
15400 2013-05-17 Joseph Myers <joseph@codesourcery.com>
15404 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
15405 main case of finite arguments, set rounding mode to FE_TONEAREST
15406 and discard exceptions.
15407 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
15409 (remainder_tonearest_test_data): New variable.
15410 (remainder_test_tonearest): New function.
15411 (remainder_towardzero_test_data): New variable.
15412 (remainder_test_towardzero): New function.
15413 (remainder_downward_test_data): New variable.
15414 (remainder_test_downward): New function.
15415 (remainder_upward_test_data): New variable.
15416 (remainder_test_upward): New function.
15417 (main): Call the new test functions.
15419 * math/libm-test.inc (struct test_f_f1_data): Remove field
15421 (struct test_fF_f1_data): Likewise.
15422 (struct test_ffI_f1_data): Likewise.
15423 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
15424 based on value of EXTRA_EXPECTED.
15425 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
15426 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
15427 EXTRA_VAR based on value of EXTRA_EXPECTED.
15428 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
15429 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
15430 EXTRA_VAR based on value of EXTRA_EXPECTED.
15431 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
15432 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
15433 EXTRA_VAR based on value of EXTRA_EXPECTED.
15434 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
15435 * math/gen-libm-test.pl (parse_args): Don't output initializers
15436 for extra output values.
15438 * math/libm-test.inc (check_int): Expect result to be exactly
15439 equal to expected value and do not handle ulps.
15440 (check_long): Likewise.
15441 (check_longlong): Likewise.
15443 * math/libm-test.inc (ceil_test_data): Test for "inexact"
15445 (cimag_test_data): Likewise.
15446 (conj_test_data): Likewise.
15447 (copysign_test_data): Likewise.
15448 (cproj_test_data): Likewise.
15449 (creal_test_data): Likewise.
15450 (fabs_test_data): Likewise.
15451 (fdim_test_data): Likewise.
15452 (finite_test_data): Likewise.
15453 (floor_test_data): Likewise.
15454 (fmax_test_data): Likewise.
15455 (fmin_test_data): Likewise.
15456 (fmod_test_data): Likewise.
15457 (fpclassify_test_data): Likewise.
15458 (frexp_test_data): Likewise.
15459 (ilogb_test_data): Likewise.
15460 (isfinite_test_data): Likewise.
15461 (isgreater_test_data): Likewise.
15462 (isgreaterequal_test_data): Likewise.
15463 (isinf_test_data): Likewise.
15464 (isless_test_data): Likewise.
15465 (islessequal_test_data): Likewise.
15466 (islessgreater_test_data): Likewise.
15467 (isnan_test_data): Likewise.
15468 (isnormal_test_data): Likewise.
15469 (issignaling_test_data): Likewise.
15470 (isunordered_test_data): Likewise.
15471 (ldexp_test_data): Likewise.
15472 (lrint_test_data): Likewise.
15473 (lrint_test_data) [TEST_FLOAT]: Disable one test.
15474 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
15475 (lrint_tonearest_test_data): Test for "inexact" exceptions.
15476 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
15477 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
15478 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
15480 (lrint_towardzero_test_data): Test for "inexact" exceptions.
15481 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
15482 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
15483 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
15485 (lrint_downward_test_data): Test for "inexact" exceptions.
15486 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
15487 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
15488 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
15490 (lrint_upward_test_data): Test for "inexact" exceptions.
15491 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
15493 (llrint_test_data): Test for "inexact" exceptions.
15494 (llrint_test_data) [TEST_FLOAT]: Disable one test.
15495 (llrint_tonearest_test_data): Test for "inexact" exceptions.
15496 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
15497 (llrint_towardzero_test_data): Test for "inexact" exceptions.
15498 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
15499 (llrint_downward_test_data): Test for "inexact" exceptions.
15500 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
15501 (llrint_upward_test_data): Test for "inexact" exceptions.
15502 (logb_test_data): Likewise.
15503 (logb_downward_test_data): Likewise.
15504 (nextafter_test_data): Likewise.
15505 (nexttoward_test_data): Likewise.
15506 (remainder_test_data): Likewise.
15507 (remquo_test_data): Likewise.
15508 (scalbn_test_data): Likewise.
15509 (scalbln_test_data): Likewise.
15510 (signbit_test_data): Likewise.
15511 (sqrt_test_data): Likewise.
15512 (significand_test_data): Likewise.
15514 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15517 * benchtests/bench-modf.c (struct args): Mark arg0 as
15519 * scripts/bench.pl: Mark members of struct args as volatile.
15521 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15524 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
15525 negative infinity on POWER6 or lower.
15526 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
15528 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
15531 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
15532 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
15533 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
15534 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
15535 (_FP_SETQNAN): New macro.
15536 (_FP_SETQNAN_SEMIRAW): Likewise.
15537 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
15538 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
15539 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
15540 (FP_EXTEND): Use _FP_FRAC_SNANP.
15541 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
15542 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
15544 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
15546 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
15549 2013-05-16 Joseph Myers <joseph@codesourcery.com>
15551 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
15552 with DIVIDE_BY_ZERO_EXCEPTION.
15553 (gamma_test_data): Likewise.
15554 (lgamma_test_data): Likewise.
15555 (log_test_data): Likewise.
15556 (log10_test_data): Likewise.
15557 (log2_test_data): Likewise.
15558 (tgamma_test_data): Likewise.
15560 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
15561 (acos_test_tonearest): Likewise.
15562 (acos_test_towardzero): Likewise.
15563 (acos_test_downward): Likewise.
15564 (acos_test_upward): Likewise.
15565 (acosh_test): Likewise.
15566 (asin_test): Likewise.
15567 (asin_test_tonearest): Likewise.
15568 (asin_test_towardzero): Likewise.
15569 (asin_test_downward): Likewise.
15570 (asin_test_upward): Likewise.
15571 (asinh_test): Likewise.
15572 (atan_test): Likewise.
15573 (atanh_test): Likewise.
15574 (atan2_test): Likewise.
15575 (cabs_test): Likewise.
15576 (cacos_test): Likewise.
15577 (cacosh_test): Likewise.
15578 (casin_test): Likewise.
15579 (casinh_test): Likewise.
15580 (catan_test): Likewise.
15581 (catanh_test): Likewise.
15582 (cbrt_test): Likewise.
15583 (ccos_test): Likewise.
15584 (ccosh_test): Likewise.
15585 (cexp_test): Likewise.
15586 (clog_test): Likewise.
15587 (clog10_test): Likewise.
15588 (cos_test): Likewise.
15589 (cos_test_tonearest): Likewise.
15590 (cos_test_towardzero): Likewise.
15591 (cos_test_downward): Likewise.
15592 (cos_test_upward): Likewise.
15593 (cosh_test): Likewise.
15594 (cosh_test_tonearest): Likewise.
15595 (cosh_test_towardzero): Likewise.
15596 (cosh_test_downward): Likewise.
15597 (cosh_test_upward): Likewise.
15598 (cpow_test): Likewise.
15599 (csin_test): Likewise.
15600 (csinh_test): Likewise.
15601 (csqrt_test): Likewise.
15602 (ctan_test): Likewise.
15603 (ctan_test_tonearest): Likewise.
15604 (ctan_test_towardzero): Likewise.
15605 (ctan_test_downward): Likewise.
15606 (ctan_test_upward): Likewise.
15607 (ctanh_test): Likewise.
15608 (ctanh_test_tonearest): Likewise.
15609 (ctanh_test_towardzero): Likewise.
15610 (ctanh_test_downward): Likewise.
15611 (ctanh_test_upward): Likewise.
15612 (erf_test): Likewise.
15613 (erfc_test): Likewise.
15614 (exp_test): Likewise.
15615 (exp_test_tonearest): Likewise.
15616 (exp_test_towardzero): Likewise.
15617 (exp_test_downward): Likewise.
15618 (exp_test_upward): Likewise.
15619 (exp10_test): Likewise.
15620 (exp2_test): Likewise.
15621 (expm1_test): Likewise.
15622 (fmod_test): Likewise.
15623 (gamma_test): Likewise.
15624 (hypot_test): Likewise.
15625 (j0_test): Likewise.
15626 (j1_test): Likewise.
15627 (jn_test): Likewise.
15628 (lgamma_test): Likewise.
15629 (log_test): Likewise.
15630 (log10_test): Likewise.
15631 (log1p_test): Likewise.
15632 (log2_test): Likewise.
15633 (logb_test_downward): Likewise.
15634 (pow_test): Likewise.
15635 (pow_test_tonearest): Likewise.
15636 (pow_test_towardzero): Likewise.
15637 (pow_test_downward): Likewise.
15638 (pow_test_upward): Likewise.
15639 (remainder_test): Likewise.
15640 (remquo_test): Likewise.
15641 (sin_test): Likewise.
15642 (sin_test_tonearest): Likewise.
15643 (sin_test_towardzero): Likewise.
15644 (sin_test_downward): Likewise.
15645 (sin_test_upward): Likewise.
15646 (sincos_test): Likewise.
15647 (sinh_test): Likewise.
15648 (sinh_test_tonearest): Likewise.
15649 (sinh_test_towardzero): Likewise.
15650 (sinh_test_downward): Likewise.
15651 (sinh_test_upward): Likewise.
15652 (sqrt_test): Likewise.
15653 (tan_test): Likewise.
15654 (tan_test_tonearest): Likewise.
15655 (tan_test_towardzero): Likewise.
15656 (tan_test_downward): Likewise.
15657 (tan_test_upward): Likewise.
15658 (tanh_test): Likewise.
15659 (tgamma_test): Likewise.
15660 (y0_test): Likewise.
15661 (y1_test): Likewise.
15662 (yn_test): Likewise.
15664 * math/gen-libm-test.pl (adjust_arg): Remove function.
15665 (special_function): Remove argument $in_func. Only handle
15666 generating output for tables of tests, not inside functions.
15667 (parse_args): Likewise.
15668 (generate_testfile): Remove variable $in_func. Update call to
15670 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
15671 (MINUS_ZERO_INIT): Rename macro to minus_zero.
15672 (PLUS_INFTY_INIT): Rename macro to plus_infty.
15673 (MINUS_INFTY_INIT): Rename macro to minus_infty.
15674 (QNAN_VALUE_INIT): Rename macro to qnan_value.
15675 (MAX_VALUE_INIT): Rename macro to max_value.
15676 (MIN_VALUE_INIT): Rename macro to min_value.
15677 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
15678 (plus_zero): Remove variable.
15679 (minus_zero): Likewise.
15680 (plus_infty): Likewise.
15681 (minus_infty): Likewise.
15682 (qnan_value): Likewise.
15683 (max_value): Likewise.
15684 (min_value): Likewise.
15685 (min_subnorm_value): Likewise.
15687 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15689 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
15690 uint64_t or uint32_t usage.
15691 * crypt/sha256-block.c: Likewise.
15692 * crypt/sha256-crypt.c: Likewise.
15693 * crypt/sha256.c: Likewise.
15694 * crypt/sha512-block.c: Likewise.
15695 * crypt/sha512-crypt.c: Likewise.
15696 * crypt/sha512.c: Likewise.
15697 * debug/backtrace-tst.c: Likewise.
15698 * debug/pcprofiledump.c: Likewise.
15699 * elf/cache.c: Likewise.
15700 * elf/dl-cache.c: Likewise.
15701 * elf/dl-misc.c: Likewise.
15702 * elf/dl-profile.c: Likewise.
15703 * elf/dl-support.c: Likewise.
15704 * elf/ldconfig.c: Likewise.
15705 * elf/sprof.c: Likewise.
15706 * iconv/dummy-repertoire.c: Likewise.
15707 * iconv/iconv_charmap.c: Likewise.
15708 * iconv/skeleton.c: Likewise.
15709 * iconvdata/8bit-generic.c: Likewise.
15710 * iconvdata/cp737.h: Likewise.
15711 * iconvdata/cp775.h: Likewise.
15712 * iconvdata/ibm1008.h: Likewise.
15713 * iconvdata/ibm1025.h: Likewise.
15714 * iconvdata/ibm1046.h: Likewise.
15715 * iconvdata/ibm1097.h: Likewise.
15716 * iconvdata/ibm1112.h: Likewise.
15717 * iconvdata/ibm1122.h: Likewise.
15718 * iconvdata/ibm1123.h: Likewise.
15719 * iconvdata/ibm1124.h: Likewise.
15720 * iconvdata/ibm1129.h: Likewise.
15721 * iconvdata/ibm1130.h: Likewise.
15722 * iconvdata/ibm1132.h: Likewise.
15723 * iconvdata/ibm1133.h: Likewise.
15724 * iconvdata/ibm1137.h: Likewise.
15725 * iconvdata/ibm1140.h: Likewise.
15726 * iconvdata/ibm1141.h: Likewise.
15727 * iconvdata/ibm1142.h: Likewise.
15728 * iconvdata/ibm1143.h: Likewise.
15729 * iconvdata/ibm1144.h: Likewise.
15730 * iconvdata/ibm1145.h: Likewise.
15731 * iconvdata/ibm1146.h: Likewise.
15732 * iconvdata/ibm1147.h: Likewise.
15733 * iconvdata/ibm1148.h: Likewise.
15734 * iconvdata/ibm1149.h: Likewise.
15735 * iconvdata/ibm1153.h: Likewise.
15736 * iconvdata/ibm1154.h: Likewise.
15737 * iconvdata/ibm1155.h: Likewise.
15738 * iconvdata/ibm1156.h: Likewise.
15739 * iconvdata/ibm1157.h: Likewise.
15740 * iconvdata/ibm1158.h: Likewise.
15741 * iconvdata/ibm1160.h: Likewise.
15742 * iconvdata/ibm1161.h: Likewise.
15743 * iconvdata/ibm1162.h: Likewise.
15744 * iconvdata/ibm1163.h: Likewise.
15745 * iconvdata/ibm1164.h: Likewise.
15746 * iconvdata/ibm1166.h: Likewise.
15747 * iconvdata/ibm1167.h: Likewise.
15748 * iconvdata/ibm12712.h: Likewise.
15749 * iconvdata/ibm1390.h: Likewise.
15750 * iconvdata/ibm1399.h: Likewise.
15751 * iconvdata/ibm16804.h: Likewise.
15752 * iconvdata/ibm4517.h: Likewise.
15753 * iconvdata/ibm4899.h: Likewise.
15754 * iconvdata/ibm4909.h: Likewise.
15755 * iconvdata/ibm4971.h: Likewise.
15756 * iconvdata/ibm5347.h: Likewise.
15757 * iconvdata/ibm803.h: Likewise.
15758 * iconvdata/ibm856.h: Likewise.
15759 * iconvdata/ibm901.h: Likewise.
15760 * iconvdata/ibm902.h: Likewise.
15761 * iconvdata/ibm9030.h: Likewise.
15762 * iconvdata/ibm9066.h: Likewise.
15763 * iconvdata/ibm921.h: Likewise.
15764 * iconvdata/ibm922.h: Likewise.
15765 * iconvdata/ibm9448.h: Likewise.
15766 * iconvdata/isiri-3342.h: Likewise.
15767 * iconvdata/jis0201.h: Likewise.
15768 * include/link.h: Likewise.
15769 * include/netdb.h: Likewise.
15770 * inet/check_native.c: Likewise.
15771 * inet/check_pf.c: Likewise.
15772 * inet/getipv4sourcefilter.c: Likewise.
15773 * inet/getnameinfo.c: Likewise.
15774 * inet/getsourcefilter.c: Likewise.
15775 * inet/htonl.c: Likewise.
15776 * inet/setipv4sourcefilter.c: Likewise.
15777 * inet/setsourcefilter.c: Likewise.
15778 * inet/test-inet6_opt.c: Likewise.
15779 * inet/tst-network.c: Likewise.
15780 * locale/C-collate.c: Likewise.
15781 * locale/C-ctype.c: Likewise.
15782 * locale/C-time.c: Likewise.
15783 * locale/C-translit.h: Likewise.
15784 * locale/loadarchive.c: Likewise.
15785 * locale/programs/3level.h: Likewise.
15786 * locale/programs/charmap.c: Likewise.
15787 * locale/programs/charmap.h: Likewise.
15788 * locale/programs/ld-address.c: Likewise.
15789 * locale/programs/ld-collate.c: Likewise.
15790 * locale/programs/ld-ctype.c: Likewise.
15791 * locale/programs/ld-identification.c: Likewise.
15792 * locale/programs/ld-measurement.c: Likewise.
15793 * locale/programs/ld-messages.c: Likewise.
15794 * locale/programs/ld-monetary.c: Likewise.
15795 * locale/programs/ld-name.c: Likewise.
15796 * locale/programs/ld-numeric.c: Likewise.
15797 * locale/programs/ld-paper.c: Likewise.
15798 * locale/programs/ld-telephone.c: Likewise.
15799 * locale/programs/ld-time.c: Likewise.
15800 * locale/programs/linereader.c: Likewise.
15801 * locale/programs/locale.c: Likewise.
15802 * locale/programs/locarchive.c: Likewise.
15803 * locale/programs/locfile.h: Likewise.
15804 * locale/programs/repertoire.c: Likewise.
15805 * locale/programs/simple-hash.c: Likewise.
15806 * locale/programs/simple-hash.h: Likewise.
15807 * malloc/memusage.c: Likewise.
15808 * malloc/memusagestat.c: Likewise.
15809 * nis/nis_defaults.c: Likewise.
15810 * nis/nis_hash.c: Likewise.
15811 * nis/nis_print.c: Likewise.
15812 * nis/nis_xdr.c: Likewise.
15813 * nscd/connections.c: Likewise.
15814 * nscd/hstcache.c: Likewise.
15815 * nscd/nscd_gethst_r.c: Likewise.
15816 * nscd/nscd_getserv_r.c: Likewise.
15817 * nscd/nscd_helper.c: Likewise.
15818 * nscd/servicescache.c: Likewise.
15819 * nss/makedb.c: Likewise.
15820 * nss/nss_db/db-XXX.c: Likewise.
15821 * nss/nss_db/db-initgroups.c: Likewise.
15822 * nss/nss_db/db-netgrp.c: Likewise.
15823 * nss/nss_files/files-network.c: Likewise.
15824 * nss/nss_files/files-parse.c: Likewise.
15825 * posix/bug-regex5.c: Likewise.
15826 * posix/fnmatch_loop.c: Likewise.
15827 * posix/regcomp.c: Likewise.
15828 * posix/regexec.c: Likewise.
15829 * posix/tst-rfc3484-2.c: Likewise.
15830 * posix/tst-rfc3484-3.c: Likewise.
15831 * posix/tst-rfc3484.c: Likewise.
15832 * resolv/nss_dns/dns-canon.c: Likewise.
15833 * resolv/nss_dns/dns-network.c: Likewise.
15834 * resolv/res_init.c: Likewise.
15835 * resolv/res_mkquery.c: Likewise.
15836 * resolv/tst-aton.c: Likewise.
15837 * stdlib/cxa_atexit.c: Likewise.
15838 * stdlib/cxa_finalize.c: Likewise.
15839 * stdlib/gen-fpioconst.c: Likewise.
15840 * stdlib/strtol_l.c: Likewise.
15841 * string/tst-endian.c: Likewise.
15842 * sunrpc/auth_des.c: Likewise.
15843 * sunrpc/clnt_udp.c: Likewise.
15844 * sunrpc/rtime.c: Likewise.
15845 * sunrpc/svcauth_des.c: Likewise.
15846 * sunrpc/xdr.c: Likewise.
15847 * sunrpc/xdr_intXX_t.c: Likewise.
15848 * sunrpc/xdr_rec.c: Likewise.
15849 * sysdeps/generic/ldconfig.h: Likewise.
15850 * sysdeps/generic/ldsodefs.h: Likewise.
15851 * sysdeps/generic/memusage.h: Likewise.
15852 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
15853 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
15854 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
15855 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
15856 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15857 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15858 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
15859 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
15860 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
15861 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15862 * sysdeps/posix/getaddrinfo.c: Likewise.
15863 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
15864 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15865 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
15866 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
15867 * sysdeps/powerpc/test-gettimebase.c: Likewise.
15868 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
15869 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
15870 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
15871 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
15872 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
15873 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
15874 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
15875 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
15876 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
15877 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
15878 * sysdeps/x86_64/dl-tls.h: Likewise.
15879 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
15880 * time/alt_digit.c: Likewise.
15881 * time/era.c: Likewise.
15882 * wcsmbs/tst-c16c32-1.c: Likewise.
15884 2013-05-16 Joseph Myers <joseph@codesourcery.com>
15886 * math/libm-test.inc (struct test_sincos_data): New type.
15887 (RUN_TEST_LOOP_sincos): New macro.
15888 (sincos_test_data): New variable.
15889 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
15891 2013-05-16 Richard Henderson <rth@redhat.com>
15893 * math/atest-exp2.c (LIMB64): New macro.
15894 (CONSTSZ): New macro.
15895 (mp_exp1, mp_exp_m1, mp_log2): New variables.
15897 (print_mpn_fp): ... to function scope.
15898 (read_mpn_hex): Remove.
15899 (get_log2): Remove.
15900 (exp2_mpn): Use mp_log2.
15901 (main): Use mp_exp1.
15903 2013-05-16 Joseph Myers <joseph@codesourcery.com>
15905 * math/libm-test.inc: Remove comment about not testing "inexact"
15907 (INEXACT_EXCEPTION): New macro.
15908 (NO_INEXACT_EXCEPTION): Likewise.
15909 (INVALID_EXCEPTION_OK): Update value.
15910 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
15911 (OVERFLOW_EXCEPTION_OK): Likewise.
15912 (UNDERFLOW_EXCEPTION_OK): Likewise.
15913 (IGNORE_ZERO_INF_SIGN): Likewise.
15914 (ERRNO_UNCHANGED): Likewise.
15915 (ERRNO_EDOM): Likewise.
15916 (ERRNO_ERANGE): Likewise.
15917 (test_exceptions): Handle testing "inexact" exceptions.
15918 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
15919 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
15920 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
15921 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
15923 (rint_towardzero_test_data): Likewise.
15924 (rint_downward_test_data): Likewise.
15925 (rint_upward_test_data): Likewise.
15927 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
15928 with OVERFLOW_EXCEPTION.
15929 (exp10_test_data): Likewise.
15930 (exp2_test_data): Likewise.
15931 (expm1_test_data): Likewise.
15932 (lgamma_test_data): Likewise.
15933 (pow_test_data): Likewise.
15934 (tgamma_test_data): Likewise.
15935 (yn_test_data): Remove duplicate test of overflow.
15937 * math/libm-test.inc (struct test_cc_c_data): New type.
15938 (RUN_TEST_LOOP_cc_c): New macro.
15939 (cpow_test_data): New variable.
15940 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
15942 * math/libm-test.inc (struct test_f_L_data): New type.
15943 (RUN_TEST_LOOP_f_L): New macro.
15944 (llrint_test_data): New variable.
15945 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
15946 (llrint_tonearest_test_data): New variable.
15947 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
15948 (llrint_towardzero_test_data): New variable.
15949 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
15950 (llrint_downward_test_data): New variable.
15951 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
15952 (llrint_upward_test_data): New variable.
15953 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
15954 (llround_test_data): New variable.
15955 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
15957 2013-05-13 Peter Collingbourne <pcc@google.com>
15959 * math/atest-exp2.c (get_log2): Remove const attribute.
15961 2013-05-15 Joseph Myers <joseph@codesourcery.com>
15963 * math/libm-test.inc (struct test_f_l_data): New type.
15964 (RUN_TEST_LOOP_f_l): New macro.
15965 (lrint_test_data): New variable.
15966 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
15967 (lrint_tonearest_test_data): New variable.
15968 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
15969 (lrint_towardzero_test_data): New variable.
15970 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
15971 (lrint_downward_test_data): New variable.
15972 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
15973 (lrint_upward_test_data): New variable.
15974 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
15975 (lround_test_data): New variable.
15976 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
15978 2013-05-15 Peter Collingbourne <pcc@google.com>
15980 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
15981 (EXTRACT_WORDS64) Use where appropriate.
15982 (INSERT_WORDS64) Likewise.
15984 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
15985 constraints with x constraints.
15986 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
15988 * malloc/obstack.c (_obstack_compat): Add initializer.
15990 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
15992 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
15993 si_trapno and add si_addr_lsb to _sifields.sigfault.
15994 (si_trapno): Remove macro.
15995 (si_addr_lsb): Define new macro.
15996 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
15998 2013-05-15 Joseph Myers <joseph@codesourcery.com>
16000 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
16001 instead of TEST_f_l.
16002 (llrint_test_tonearest): Likewise.
16003 (llrint_test_towardzero): Likewise.
16004 (llrint_test_downward): Likewise.
16005 (llrint_test_upward): Likewise.
16006 (llround_test): Likewise.
16008 * math/libm-test.inc (struct test_f_i_data): Add comment.
16009 (RUN_TEST_LOOP_f_b): New macro.
16010 (RUN_TEST_LOOP_f_b_tg): Likewise.
16011 (finite_test_data): New variable.
16012 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
16013 (isfinite_test_data): New variable.
16014 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16015 (isinf_test_data): New variable.
16016 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16017 (isnan_test_data): New variable.
16018 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16019 (isnormal_test_data): New variable.
16020 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16021 (issignaling_test_data): New variable.
16022 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16023 (signbit_test_data): New variable.
16024 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16026 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
16027 with INVALID_EXCEPTION.
16028 (acosh_test_data): Likewise.
16029 (asin_test_data): Likewise.
16030 (atanh_test_data): Likewise.
16031 (fmod_test_data): Likewise.
16032 (log_test_data): Likewise.
16033 (log10_test_data): Likewise.
16034 (log2_test_data): Likewise.
16035 (pow_test_data): Likewise.
16036 (sqrt_test_data): Likewise.
16037 (y0_test_data): Likewise.
16038 (y1_test_data): Likewise.
16039 (yn_test_data): Likewise.
16041 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
16044 * math/libm-test.inc (struct test_ff_i_data): New type.
16045 (RUN_TEST_LOOP_ff_i_tg): New macro.
16046 (isgreater_test_data): New variable.
16047 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16048 (isgreaterequal_test_data): New variable.
16049 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16050 (isless_test_data): New variable.
16051 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16052 (islessequal_test_data): New variable.
16053 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16054 (islessgreater_test_data): New variable.
16055 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16056 (isunordered_test_data): New variable.
16057 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16059 2013-05-14 David S. Miller <davem@davemloft.net>
16061 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16063 2013-05-14 Joseph Myers <joseph@codesourcery.com>
16065 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
16067 * math/libm-test.inc (struct test_fF_f1_data): Change type of
16069 (struct test_f_i_data): Change type of max_ulp to int.
16071 * math/libm-test.inc (test_ffI_f1_data): New type.
16072 (RUN_TEST_LOOP_ffI_f1): New macro.
16073 (remquo_test_data): New variable.
16074 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
16076 * setjmp/tst-setjmp-fp.c: New file.
16077 * setjmp/Makefile (tests): Add tst-setjmp-fp.
16078 (link-libm): New variable.
16079 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
16081 * math/libm-test.inc (struct test_f_i_data): New type.
16082 (RUN_TEST_LOOP_f_i): New macro.
16083 (RUN_TEST_LOOP_f_i_tg): Likewise.
16084 (fpclassify_test_data): New variable.
16085 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
16086 (ilogb_test_data): New variable.
16087 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
16089 * math/libm-test.inc (scalbln_test): Correct function name in END
16092 * math/libm-test.inc (struct test_f_f1_data): Add comment.
16093 (RUN_TEST_LOOP_fI_f1): New macro.
16094 (frexp_test_data): New variable.
16095 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
16097 * math/libm-test.inc (struct test_fF_f1_data): New type.
16098 (RUN_TEST_LOOP_fF_f1): New macro.
16099 (modf_test_data): New variable.
16100 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
16102 * math/libm-test.inc (struct test_f_f1_data): New type.
16103 (RUN_TEST_LOOP_f_f1): New macro.
16104 (gamma_test_data): New variable.
16105 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
16106 (lgamma_test_data): New variable.
16107 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
16109 2013-05-13 Carlos O'Donell <carlos@redhat.com>
16111 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
16112 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
16113 (main): Comment "tls" pseudo-hwcap.
16115 2013-05-13 Joseph Myers <joseph@codesourcery.com>
16117 * math/libm-test.inc (struct test_fl_f_data): New type.
16118 (RUN_TEST_LOOP_fl_f): New variable.
16119 (scalbln_test_data): New variable.
16120 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
16122 * math/libm-test.inc (struct test_fi_f_data): New type.
16123 (RUN_TEST_LOOP_fi_f): New macro.
16124 (ldexp_test_data): New variable.
16125 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
16126 (scalbn_test_data): New variable.
16127 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
16129 * math/libm-test.inc (struct test_c_f_data): New type.
16130 (RUN_TEST_LOOP_c_f): New macro.
16131 (cabs_test_data): New variable.
16132 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
16133 (carg_test_data): New variable.
16134 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
16135 (cimag_test_data): New variable.
16136 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
16137 (creal_test_data): New variable.
16138 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
16140 * math/libm-test.inc (struct test_if_f_data): New type.
16141 (RUN_TEST_LOOP_if_f): New macro.
16142 (jn_test_data): New variable.
16143 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
16144 (yn_test_data): New variable.
16145 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
16147 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
16149 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16151 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
16152 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
16154 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
16156 * benchtests/Makefile (CPPFLAGS-nonlib): Add
16157 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
16158 (bench-deps): Add bench-timing.h.
16159 * benchtests-bench-skeleton.c: Include bench-timing.h.
16160 (main): Use TIMING_* macros instead of clock_gettime.
16161 * benchtests/bench-timing.h: New file.
16164 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
16165 Renamed from _LIB_VERSION.
16166 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
16168 2013-05-12 Joseph Myers <joseph@codesourcery.com>
16170 * math/libm-test.inc (struct test_fff_f_data): New type.
16171 (RUN_TEST_LOOP_fff_f): New macro.
16172 (fma_test_data): New variable.
16173 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
16174 (fma_towardzero_test_data): New variable.
16175 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
16176 (fma_downward_test_data): New variable.
16177 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
16178 (fma_upward_test_data): New variable.
16179 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
16181 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
16182 (struct test_c_c_data): New type.
16183 (RUN_TEST_LOOP_c_c): New macro.
16184 (cacos_test_data): New variable.
16185 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
16186 (cacosh_test_data): New variable.
16187 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
16188 (casin_test_data): New variable.
16189 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
16190 (casinh_test_data): New variable.
16191 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
16192 (catan_test_data): New variable.
16193 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
16194 (catanh_test_data): New variable.
16195 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
16196 (ccos_test_data): New variable.
16197 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
16198 (ccosh_test_data): New variable.
16199 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
16200 (cexp_test_data): New variable.
16201 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
16202 (clog_test_data): New variable.
16203 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
16204 (clog10_test_data): New variable.
16205 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
16206 (conj_test_data): New variable.
16207 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
16208 (cproj_test_data): New variable.
16209 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
16210 (csin_test_data): New variable.
16211 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
16212 (csinh_test_data): New variable.
16213 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
16214 (csqrt_test_data): New variable.
16215 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
16216 (ctan_test_data): New variable.
16217 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
16218 (ctan_tonearest_test_data): New variable.
16219 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
16220 (ctan_towardzero_test_data): New variable.
16221 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
16222 (ctan_downward_test_data): New variable.
16223 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
16224 (ctan_upward_test_data): New variable.
16225 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
16226 (ctanh_test_data): New variable.
16227 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
16228 (ctanh_tonearest_test_data): New variable.
16229 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
16230 (ctanh_towardzero_test_data): New variable.
16231 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
16232 (ctanh_downward_test_data): New variable.
16233 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
16234 (ctanh_upward_test_data): New variable.
16235 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
16236 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
16239 * math/libm-test.inc (struct test_ff_f_data): New type.
16240 (struct test_ff_f_data_nexttoward): Likewise.
16241 (RUN_TEST_LOOP_2_f): New macro.
16242 (RUN_TEST_LOOP_ff_f): Likewise.
16243 (atan2_test_data): New variable.
16244 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
16245 (copysign_test_data): New variable.
16246 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
16247 (fdim_test_data): New variable.
16248 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
16249 (fmax_test_data): New variable.
16250 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
16251 (fmin_test_data): New variable.
16252 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
16253 (fmod_test_data): New variable.
16254 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
16255 (hypot_test_data): New variable.
16256 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
16257 (nextafter_test_data): New variable.
16258 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
16259 (nexttoward_test_data): New variable.
16260 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
16261 (pow_test_data): New variable.
16262 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
16263 (pow_tonearest_test_data): New variable.
16264 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
16265 (pow_towardzero_test_data): New variable.
16266 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
16267 (pow_downward_test_data): New variable.
16268 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
16269 (pow_upward_test_data): New variable.
16270 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
16271 (remainder_test_data): New variable.
16272 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
16273 (scalb_test_data): New variable.
16274 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
16275 * sysdeps/i386/fpu/libm-test-ulps: Update.
16277 2013-05-11 Joseph Myers <joseph@codesourcery.com>
16279 * math/libm-test.inc (fma_test): Use max_value instead of local
16281 (nextafter_test): Likewise.
16283 * math/libm-test.inc (acos_towardzero_test_data): New variable.
16284 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16285 (acos_downward_test_data): New variable.
16286 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16287 (acos_upward_test_data): New variable.
16288 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16289 (acosh_test_data): New variable.
16290 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
16291 (asin_test_data): New variable.
16292 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
16293 (asin_tonearest_test_data): New variable.
16294 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16295 (asin_towardzero_test_data): New variable.
16296 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16297 (asin_downward_test_data): New variable.
16298 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16299 (asin_upward_test_data): New variable.
16300 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16301 (asinh_test_data): New variable.
16302 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
16303 (atan_test_data): New variable.
16304 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
16305 (atanh_test_data): New variable.
16306 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
16307 (cbrt_test_data): New variable.
16308 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
16309 (ceil_test_data): New variable.
16310 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
16311 (cos_test_data): New variable.
16312 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
16313 (cos_tonearest_test_data): New variable.
16314 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16315 (cos_towardzero_test_data): New variable.
16316 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16317 (cos_downward_test_data): New variable.
16318 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16319 (cos_upward_test_data): New variable.
16320 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16321 (cosh_test_data): New variable.
16322 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
16323 (cosh_tonearest_test_data): New variable.
16324 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16325 (cosh_towardzero_test_data): New variable.
16326 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16327 (cosh_downward_test_data): New variable.
16328 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16329 (cosh_upward_test_data): New variable.
16330 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16331 (erf_test_data): New variable.
16332 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
16333 (erfc_test_data): New variable.
16334 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
16335 (exp_test_data): New variable.
16336 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
16337 (exp_tonearest_test_data): New variable.
16338 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16339 (exp_towardzero_test_data): New variable.
16340 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16341 (exp_downward_test_data): New variable.
16342 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16343 (exp_upward_test_data): New variable.
16344 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16345 (exp10_test_data): New variable.
16346 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
16347 (exp2_test_data): New variable.
16348 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
16349 (expm1_test_data): New variable.
16350 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
16351 (fabs_test_data): New variable.
16352 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
16353 (floor_test_data): New variable.
16354 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
16355 (j0_test_data): New variable.
16356 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
16357 (j1_test_data): New variable.
16358 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
16359 (log_test_data): New variable.
16360 (log_test): Run tests with RUN_TEST_LOOP_f_f.
16361 (log10_test_data): New variable.
16362 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
16363 (log1p_test_data): New variable.
16364 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
16365 (log2_test_data): New variable.
16366 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
16367 (logb_test_data): New variable.
16368 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
16369 (logb_downward_test_data): New variable.
16370 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16371 (nearbyint_test_data): New variable.
16372 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
16373 (rint_test_data): New variable.
16374 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
16375 (rint_tonearest_test_data): New variable.
16376 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16377 (rint_towardzero_test_data): New variable.
16378 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16379 (rint_downward_test_data): New variable.
16380 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16381 (rint_upward_test_data): New variable.
16382 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16383 (round_test_data): New variable.
16384 (round_test): Run tests with RUN_TEST_LOOP_f_f.
16385 (sin_test_data): New variable.
16386 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
16387 (sin_tonearest_test_data): New variable.
16388 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16389 (sin_towardzero_test_data): New variable.
16390 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16391 (sin_downward_test_data): New variable.
16392 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16393 (sin_upward_test_data): New variable.
16394 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16395 (sinh_test_data): New variable.
16396 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
16397 (sinh_tonearest_test_data): New variable.
16398 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16399 (sinh_towardzero_test_data): New variable.
16400 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16401 (sinh_downward_test_data): New variable.
16402 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16403 (sinh_upward_test_data): New variable.
16404 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16405 (sqrt_test_data): New variable.
16406 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
16407 (tan_test_data): New variable.
16408 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
16409 (tan_tonearest_test_data): New variable.
16410 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16411 (tan_towardzero_test_data): New variable.
16412 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16413 (tan_downward_test_data): New variable.
16414 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16415 (tan_upward_test_data): New variable.
16416 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16417 (tanh_test_data): New variable.
16418 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
16419 (tgamma_test_data): New variable.
16420 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
16421 (trunc_test_data): New variable.
16422 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
16423 (y0_test_data): New variable.
16424 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
16425 (y1_test_data): New variable.
16426 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
16427 (significand_test_data): New variable.
16428 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
16430 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
16433 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
16435 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
16437 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
16439 2013-05-10 Andreas Jaeger <aj@suse.de>
16442 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
16443 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
16445 2013-05-10 Joseph Myers <joseph@codesourcery.com>
16447 * math/gen-libm-test.pl (adjust_arg): New function.
16448 (special_functions): Handle generating output in both functions
16450 (parse_args): Likewise.
16451 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
16452 $in_func argument to parse_args.
16453 * math/libm-test.inc (struct test_f_f_data): New type.
16454 (IF_ROUND_INIT_): New macro.
16455 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
16456 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
16457 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
16458 (IF_ROUND_INIT_FE_UPWARD): Likewise.
16459 (ROUND_RESTORE_): Likewise.
16460 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
16461 (ROUND_RESTORE_FE_TONEAREST): Likewise.
16462 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
16463 (ROUND_RESTORE_FE_UPWARD): Likewise.
16464 (RUN_TEST_LOOP_f_f): New macro.
16465 (acos_test_data): New variable.
16466 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
16467 (acos_tonearest_test_data): New variable.
16468 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16470 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16472 * benchtests/bench-skeleton.c (startup): Fix coding style.
16474 2013-05-10 Joseph Myers <joseph@codesourcery.com>
16477 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
16478 negative infinity argument.
16479 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
16480 negative infinity argument.
16481 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
16482 negative infinity argument.
16483 * math/libm-test.inc (tgamma_test): Expect errno to be set for
16486 2013-05-10 Florian Weimer <fweimer@redhat.com>
16488 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
16489 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
16490 * iconv/iconv_prog.c (main): Likewise.
16491 * locale/programs/charmap-dir.c (charmap_readdir)
16492 (fopen_uncompressed): Likewise.
16493 * locale/programs/locfile.c (siblings_uncached)
16494 (write_locale_data): Use lstat64 instead of lstat.
16495 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
16498 2013-05-10 Andreas Jaeger <aj@suse.de>
16501 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
16503 Include <locale.h>.
16505 2013-05-09 Carlos O'Donell <carlos@redhat.com>
16507 * elf/dl-close.c (_dl_close_worker): Add comments.
16509 2013-05-09 Joseph Myers <joseph@codesourcery.com>
16512 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
16514 (__ieee754_rem_pio2l): Update comments.
16517 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
16519 (__ieee754_rem_pio2l): Update comments.
16521 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
16522 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
16524 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
16527 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
16528 (M_PI_34_LOG10El): Likewise.
16529 (M_PI2_LOG10El): Likewise.
16530 (M_PI4_LOG10El): Likewise.
16531 (M_PI_LOG10El): Likewise.
16533 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16535 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16537 2013-05-08 Joseph Myers <joseph@codesourcery.com>
16539 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
16540 (MINUS_ZERO_INIT): Likewise.
16541 (PLUS_INFTY_INIT): Likewise.
16542 (MINUS_INFTY_INIT): Likewise.
16543 (QNAN_VALUE_INIT): Likewise.
16544 (MAX_VALUE_INIT): Likewise.
16545 (MIN_VALUE_INIT): Likewise.
16546 (MIN_SUBNORM_VALUE_INIT): Likewise.
16547 (plus_zero): Initialize with PLUS_ZERO_INIT.
16548 (minus_zero): Initialize with MINUS_ZERO_INIT.
16549 (plus_infty): Initialize with PLUS_INFTY_INIT.
16550 (minus_infty): Initialize with MINUS_INFTY_INIT.
16551 (qnan_value): Initialize with QNAN_VALUE_INIT.
16552 (max_value): Initialize with MAX_VALUE_INIT.
16553 (min_value): Initialize with MIN_VALUE_INIT.
16554 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
16556 * math/libm-test.inc (RUN_TEST_if_f): New macro.
16557 (jn_test): Use TEST_if_f instead of TEST_ff_f.
16558 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
16559 (yn_test): Use TEST_if_f instead of TEST_ff_f.
16561 * math/libm-test.inc (RUN_TEST_f_f): New macro.
16562 (RUN_TEST_2_f): Likewise.
16563 (RUN_TEST_ff_f): Likewise.
16564 (RUN_TEST_fi_f): Likewise.
16565 (RUN_TEST_fl_f): Likewise.
16566 (RUN_TEST_fff_f): Likewise.
16567 (RUN_TEST_c_f): Likewise.
16568 (RUN_TEST_f_f1): Likewise.
16569 (RUN_TEST_fF_f1): Likewise.
16570 (RUN_TEST_fI_f1): Likewise.
16571 (RUN_TEST_ffI_f1): Likewise.
16572 (RUN_TEST_c_c): Likewise.
16573 (RUN_TEST_cc_c): Likewise.
16574 (RUN_TEST_f_i): Likewise.
16575 (RUN_TEST_f_i_tg): Likewise.
16576 (RUN_TEST_ff_i_tg): Likewise.
16577 (RUN_TEST_f_b): Likewise.
16578 (RUN_TEST_f_b_tg): Likewise.
16579 (RUN_TEST_f_l): Likewise.
16580 (RUN_TEST_f_L): Likewise.
16581 (RUN_TEST_sincos): Likewise.
16582 * math/gen-libm-test.pl (new_test): Take new argument to indicate
16583 whether to show exceptions. Do not include ");\n" in return
16585 (special_functions): Output call to RUN_TEST_sincos instead of
16586 check_float calls. Update calls to new_test.
16587 (parse_args): Output call to single RUN_TEST_* macro instead of
16588 check_* calls and other assignments. Update calls to new_test.
16594 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
16595 input to result for tgamma overflow.
16596 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
16597 (gamma_coeff): New variable.
16598 (NCOEFF): New macro.
16599 (gamma_positive): New function.
16600 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
16601 underflow here. Use gamma_positive instead of exp (lgamma) for
16603 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
16604 (gamma_coeff): New variable.
16605 (NCOEFF): New macro.
16606 (gammaf_positive): New function.
16607 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
16608 underflow here. Use gamma_positive instead of exp (lgamma) for
16610 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
16611 (gamma_coeff): New variable.
16612 (NCOEFF): New macro.
16613 (gammal_positive): New function.
16614 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
16615 underflow here. Use gamma_positive instead of exp (lgamma) for
16617 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
16618 (gamma_coeff): New variable.
16619 (NCOEFF): New macro.
16620 (gammal_positive): New function.
16621 (__ieee754_gammal_r): Handle positive infinity, overflow and
16622 underflow here. Handle NaN the same as positive infinity. Remove
16623 check x < 0xffffffff for negative integers. Use gamma_positive
16624 instead of exp (lgamma) for other arguments.
16625 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
16626 (gamma_coeff): New variable.
16627 (NCOEFF): New macro.
16628 (gammal_positive): New function.
16629 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
16630 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
16631 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
16632 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
16633 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
16634 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
16635 * sysdeps/generic/math_private.h (__gamma_productf): New
16637 (__gamma_product): Likewise.
16638 (__gamma_productl): Likewise.
16639 * math/Makefile (libm-calls): Add gamma_product.
16640 * math/libm-test.inc (tgamma_test): Add more tests.
16641 * sysdeps/i386/fpu/libm-test-ulps: Update.
16642 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16644 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
16646 * benchtests/bench-skeleton.c (main): Preheat CPU.
16648 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
16650 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
16652 2013-05-07 Roland McGrath <roland@hack.frob.com>
16654 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
16655 and _dl_skip_args_internal.
16657 2013-05-07 Carlos O'Donell <carlos@redhat.com>
16659 * manual/message.texi (Message Translation): Talk about users.
16660 Message to key mapping impacts design.
16662 2013-05-06 Roland McGrath <roland@hack.frob.com>
16664 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
16666 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
16668 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
16669 * sysdeps/wordsize-64/glob64.c: ... here.
16671 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
16672 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
16675 * debug/getlogin_r_chk.c: Moved to ...
16676 * login/getlogin_r_chk.c: ... here.
16677 * debug/Makefile (routines): Move getlogin_r_chk to ...
16678 * login/Makefile (routines): ... here.
16679 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
16680 * login/Versions (libc: GLIBC_2.4): ... here.
16682 * io/poll.c (__poll): Renamed from poll.
16683 Add libc_hidden_def.
16684 (poll): Define as weak alias.
16686 * debug/ptsname_r_chk.c: Moved to ...
16687 * login/ptsname_r_chk.c: ... here.
16688 * debug/Makefile (routines): Move ptsname_r_chk to ...
16689 * login/Makefile (routines): ... here.
16690 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
16691 * login/Versions (libc: GLIBC_2.4): ... here.
16693 * posix/getlogin.c: Moved to ...
16694 * login/getlogin.c: ... here.
16695 * posix/getlogin_r.c: Moved to ...
16696 * login/getlogin_r.c: ... here.
16697 * posix/getlogin_r.c: Moved to ...
16698 * login/getlogin_r.c: ... here.
16699 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
16700 * login/Makefile (routines): ... here.
16701 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
16702 * login/Versions (libc: GLIBC_2.0): ... here.
16704 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
16705 (setrlimit): Define as weak alias.
16707 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
16708 Call __ names for open, ftruncate, and close.
16709 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
16710 (truncate): Define as weak alias.
16712 2013-05-06 Joseph Myers <joseph@codesourcery.com>
16714 * math/gen-libm-test.pl (parse_args): Initialize x before each
16715 test of frexp, modf and remquo.
16717 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
16718 test signgam value.
16720 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16724 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
16726 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16728 2013-05-06 Roland McGrath <roland@hack.frob.com>
16730 * elf/dl-writev.h: New file.
16731 * elf/dl-misc.c: Include it.
16732 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
16733 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
16735 2013-05-04 Joseph Myers <joseph@codesourcery.com>
16737 * math/libm-test.inc (noXFails): Remove variable.
16738 (noXPasses): Likewise.
16739 (BUILD_COMPLEX_INT): Remove macro.
16740 (print_screen): Remove xfail argument.
16741 (print_screen_max_error): Likewise.
16742 (update_stats): Likewise.
16743 (print_max_error): Likewise. Update calls to other affected
16745 (print_complex_max_error): Likewise.
16746 (test_single_exception): Update calls to print_screen.
16747 (test_single_errno): Likewise.
16748 (check_float_internal): Remove xfail argument. Update calls to
16749 other affected functions.
16750 (check_float): Likewise.
16751 (check_complex): Likewise.
16752 (check_int): Likewise.
16753 (check_long): Likewise.
16754 (check_bool): Likewise.
16755 (check_longlong): Likewise.
16756 (main): Don't print noXFails and noXPasses.
16757 * math/gen-libm-test.pl (top level): Don't mention expected
16758 failure handling in comment.
16759 (new_test): Don't handle expected failures.
16760 (parse_args): Don't mention expected failure handling in comment.
16761 (generate_testfile): Don't handle expected failures.
16762 (parse_ulps): Likewise.
16763 (print_ulps_file): Likewise.
16764 (get_failure): Remove function.
16765 (output_test): Don't handle expected failures.
16766 * make/README.libm-test: Don't mention expected failure handling.
16768 * math/libm-test.inc (plus_zero): Make const. Add initializer.
16769 (minus_zero): Likewise.
16770 (plus_infty): Likewise.
16771 (minus_infty): Likewise.
16772 (qnan_value): Likewise.
16773 (max_value): Likewise.
16774 (min_value): Likewise.
16775 (min_subnorm_value): Likewise.
16776 (initialize): Do not initialize those variables dynamically.
16778 2013-05-03 Roland McGrath <roland@hack.frob.com>
16780 * io/open.c (__open_2): Moved to ...
16781 * io/open_2.c: ... this new file.
16782 * io/open64.c (__open64_2): Moved to ...
16783 * io/open64_2.c: ... this new file.
16784 * io/openat.c (__openat_2): Moved to ...
16785 * io/openat_2.c: ... this new file.
16786 * io/openat64.c (__openat64_2): Moved to ...
16787 * io/openat64_2.c: ... this new file.
16788 * io/Makefile (routines): Add them.
16789 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
16790 * sysdeps/unix/sysv/linux/open_2.c: File removed.
16791 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
16792 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
16793 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
16794 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
16795 (__openat64): Add hidden_ver.
16796 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
16797 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
16799 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
16800 Separately conditionalize setting of GLRO(dl_sysinfo) so
16801 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
16802 as well, but the actual setting is only under [NEED_DL_SYSINFO].
16804 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16806 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
16807 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
16809 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
16810 * sysdeps/unix/sysv/linux/powerpc/init-first.c
16811 (_libc_vdso_platform_setup): Add __vdso_time initialization.
16812 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
16813 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
16815 2013-05-03 Joseph Myers <joseph@codesourcery.com>
16817 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
16818 test signgam value.
16820 * math/libm-test.inc (hypot_test): Do not use
16821 IGNORE_ZERO_INF_SIGN.
16823 2013-05-03 Andreas Jaeger <aj@suse.de>
16825 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
16827 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
16828 (PF_MAX): Adjust for VSOCK change.
16830 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16832 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16834 2013-05-02 Carlos O'Donell <carlos@redhat.com>
16837 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
16838 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
16839 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
16841 2013-05-02 David S. Miller <davem@davemloft.net>
16843 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16845 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
16847 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
16849 2013-05-01 Roland McGrath <roland@hack.frob.com>
16851 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
16853 2013-05-01 Richard Smith <richard@metafoo.co.uk>
16856 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
16857 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
16858 Use __attribute__ ((__gnu_inline__)).
16859 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
16860 Don't use __attribute__ ((__gnu_inline__)).
16862 2013-05-01 Joseph Myers <joseph@codesourcery.com>
16865 * math/s_catan.c (__catan): Handle small real or imaginary part of
16866 input specially to avoid spurious underflow.
16867 * math/s_catanf.c (__catanf): Likewise.
16868 * math/s_catanh.c (__catanh): Likewise.
16869 * math/s_catanhf.c (__catanhf): Likewise.
16870 * math/s_catanhl.c (__catanhl): Likewise.
16871 * math/s_catanl.c (__catanl): Likewise.
16872 * math/libm-test.inc (catan_test): Add more tests.
16873 (catanh_test): Likewise.
16874 * sysdeps/i386/fpu/libm-test-ulps: Update.
16875 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16877 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16879 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16881 2013-04-30 Joseph Myers <joseph@codesourcery.com>
16884 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
16885 accurately for denominator in atan2.
16886 * math/s_catanf.c (__catanf): Likewise.
16887 * math/s_catanh.c (__catanh): Likewise.
16888 * math/s_catanhf.c (__catanhf): Likewise.
16889 * math/s_catanhl.c (__catanhl): Likewise.
16890 * math/s_catanl.c (__catanl): Likewise.
16891 * math/libm-test.inc (catan_test): Add more tests.
16892 (catanh_test): Likewise.
16893 * sysdeps/i386/fpu/libm-test-ulps: Update.
16894 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16896 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16898 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
16900 * benchtests/Makefile (bench): Remove slow benchmarks.
16901 * benchtests/atan-inputs: Add slow benchmark inputs.
16902 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
16903 (BENCH_FUNC): Accept variant offset.
16905 * benchtests/bench-skeleton.c (main): Run benchmark for each
16907 * benchtests/cos-inputs: Add slow benchmark inputs.
16908 * benchtests/exp-inputs: Likewise.
16909 * benchtests/pow-inputs: Likewise.
16910 * benchtests/sin-inputs: Likewise.
16911 * benchtests/slowatan-inputs: Remove.
16912 * benchtests/slowatan.c: Remove.
16913 * benchtests/slowcos-inputs: Remove.
16914 * benchtests/slowcos.c: Remove.
16915 * benchtests/slowexp-inputs: Remove.
16916 * benchtests/slowexp.c: Remove.
16917 * benchtests/slowpow-inputs: Remove.
16918 * benchtests/slowpow.c: Remove.
16919 * benchtests/slowsin-inputs: Remove.
16920 * benchtests/slowsin.c: Remove.
16921 * benchtests/slowtan-inputs: Remove.
16922 * benchtests/slowtan.c: Remove.
16923 * benchtests/tan-inputs: Add slow benchmark inputs.
16924 * scripts/bench.pl: Parse comments and directives.
16926 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
16928 ($(objpfx)bench-%.c): Remove *-ITER.
16929 * benchtests/bench-modf.c: Remove definition of ITER.
16930 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
16931 (main): Loop for DURATION seconds instead of fixed number of
16933 * scripts/bench.pl: Don't expect iterations in parameters.
16935 2013-04-29 Roland McGrath <roland@hack.frob.com>
16937 * io/fchdir.c (__fchdir): Renamed from fchdir.
16938 (fchdir): Define as weak alias.
16940 2013-04-29 Joseph Myers <joseph@codesourcery.com>
16942 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
16943 (ERRNO_EDOM): Likewise.
16944 (ERRNO_ERANGE): Likewise.
16945 (noErrnoTests): New variable.
16946 (init_max_error): Set errno to 0.
16947 (test_single_errno): New function.
16948 (test_errno): Likewise.
16949 (check_float_internal): Call test_errno. Set errno to 0.
16950 (check_complex): Refer to errno tests in comment.
16951 (check_int): Call test_errno. Set errno to 0.
16952 (check_long): Likewise.
16953 (check_bool): Likewise.
16954 (check_longlong): Likewise.
16955 (cos_test): Use ERRNO_* flags for errno tests instead of
16957 (expm1_test): Likewise.
16958 (fmod_test): Likewise.
16959 (ilogb_test): Likewise.
16960 (lgamma_test): Likewise.
16961 (pow_test): Likewise.
16962 (remainder_test): Likewise.
16963 (sin_test): Likewise.
16964 (tan_test): Likewise.
16965 (yn_test): Likewise.
16966 (initialize): Set errno to 0.
16967 (main): Print number of errno tests.
16968 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
16970 2013-04-29 Andreas Jaeger <aj@suse.de>
16973 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
16977 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
16978 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
16982 * stdlib/random.c (__initstate): Return NULL if
16986 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
16987 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
16990 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16992 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16994 2013-04-29 Joseph Myers <joseph@codesourcery.com>
16996 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
16997 of individual tests.
16998 (casin_test): Likewise.
16999 (casinh_test): Likewise.
17001 2013-04-27 Joseph Myers <joseph@codesourcery.com>
17004 * math/s_catan.c (__catan): Handle arguments with large real or
17005 imaginary part separately without squaring.
17006 * math/s_catanf.c (__catanf): Likewise.
17007 * math/s_catanh.c (__catanh): Likewise.
17008 * math/s_catanhf.c (__catanhf): Likewise.
17009 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
17011 (__catanhl): Handle arguments with large real or imaginary part
17012 separately without squaring.
17013 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
17015 (__catanl): Handle arguments with large real or imaginary part
17016 separately without squaring.
17017 * math/libm-test.inc (catan_test): Add more tests.
17018 (catanh_test): Likewise.
17019 * sysdeps/i386/fpu/libm-test-ulps: Update.
17020 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17022 2013-04-27 Andreas Jaeger <aj@suse.de>
17025 * stdlib/stdlib.h: Update guards for qecvt.
17026 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
17029 2013-04-27 Allan McRae <allan@archlinux.org>
17031 * sysdeps/i386/fpu/libm-test-ulps: Update.
17033 2013-04-26 Joseph Myers <joseph@codesourcery.com>
17036 * math/s_catan.c: Include <float.h>.
17037 (__catan): Ensure underflow exception occurs for underflowed
17039 * math/s_catanf.c: Include <float.h>.
17040 (__catanf): Ensure underflow exception occurs for underflowed
17042 * math/s_catanh.c: Include <float.h>.
17043 (__catanh): Ensure underflow exception occurs for underflowed
17045 * math/s_catanhf.c: Include <float.h>.
17046 (__catanhf): Ensure underflow exception occurs for underflowed
17048 * math/s_catanhl.c: Include <float.h>.
17049 (__catanhl): Ensure underflow exception occurs for underflowed
17051 * math/s_catanl.c: Include <float.h>.
17052 (__catanl): Ensure underflow exception occurs for underflowed
17054 * math/libm-test.inc (catan_test): Add more tests.
17055 (catanh_test): Likewise.
17058 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
17059 underflowed result.
17060 * math/s_ccoshf.c (__ccoshf): Likewise.
17061 * math/s_ccoshl.c (__ccoshl): Likewise.
17062 * math/s_csin.c (__csin): Likewise.
17063 * math/s_csinf.c (__csinf): Likewise.
17064 * math/s_csinh.c (__csinh): Likewise.
17065 * math/s_csinhf.c (__csinhf): Likewise.
17066 * math/s_csinhl.c (__csinhl): Likewise.
17067 * math/s_csinl.c (__csinl): Likewise.
17068 * math/libm-test.inc (ccos_test): Add more tests.
17069 (ccosh_test): Likewise.
17070 (csin_test): Likewise.
17071 (csinh_test): Likewise.
17073 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17075 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
17076 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
17077 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
17078 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
17079 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
17080 powerpc/power5+/fpu folders.
17081 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
17084 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
17086 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17088 2013-04-25 Joseph Myers <joseph@codesourcery.com>
17090 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
17091 additions to variable.
17092 [$(config-machine) = x86_64] (modules-names): Likewise.
17093 ($(objpfx)tst-audit3): Remove dependency.
17094 ($(objpfx)tst-audit3.out): Likewise.
17095 ($(objpfx)tst-audit4): Likewise.
17096 ($(objpfx)tst-audit4.out): Likewise.
17097 ($(objpfx)tst-audit5): Likewise.
17098 ($(objpfx)tst-audit5.out): Likewise.
17099 ($(objpfx)tst-audit6): Likewise.
17100 ($(objpfx)tst-audit6.out): Likewise.
17101 ($(objpfx)tst-audit7): Likewise.
17102 ($(objpfx)tst-audit7.out): Likewise.
17103 (tst-audit3-ENV): Remove variable.
17104 (tst-audit4-ENV): Likewise.
17105 (tst-audit5-ENV): Likewise.
17106 (tst-audit6-ENV): Likewise.
17107 (tst-audit7-ENV): Likewise.
17108 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
17109 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
17110 addition to variable.
17111 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
17112 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
17113 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
17114 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
17115 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
17116 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
17117 tst-audit3, tst-audit4 and tst-audit5.
17118 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
17119 tst-audit6 and tst-audit7.
17120 [$(subdir) = elf] (modules-names): Add audit modules for those
17122 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
17123 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
17124 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
17125 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
17126 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
17127 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
17128 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
17129 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
17130 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
17131 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
17132 [$(subdir) = elf] (tst-audit3-ENV): New variable.
17133 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
17134 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
17135 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
17136 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
17137 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
17139 [$(subdir) = elf && $(config-cflags-avx) = yes]
17140 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
17141 [$(subdir) = elf && $(config-cflags-avx) = yes]
17142 (CFLAGS-tst-auditmod4a.c): Likewise.
17143 [$(subdir) = elf && $(config-cflags-avx) = yes]
17144 (CFLAGS-tst-auditmod4b.c): Likewise.
17145 [$(subdir) = elf && $(config-cflags-avx) = yes]
17146 (CFLAGS-tst-auditmod6b.c): Likewise.
17147 [$(subdir) = elf && $(config-cflags-avx) = yes]
17148 (CFLAGS-tst-auditmod6c.c): Likewise.
17149 [$(subdir) = elf && $(config-cflags-avx) = yes]
17150 (CFLAGS-tst-auditmod7b.c): Likewise.
17151 * elf/tst-audit3.c: Move to ...
17152 * sysdeps/x86_64/tst-audit3.c: ... here.
17153 * elf/tst-audit4.c: Move to ...
17154 * sysdeps/x86_64/tst-audit4.c: ... here.
17155 * elf/tst-audit5.c: Move to ...
17156 * sysdeps/x86_64/tst-audit5.c: ... here.
17157 * elf/tst-audit6.c: Move to ...
17158 * sysdeps/x86_64/tst-audit6.c: ... here.
17159 * elf/tst-audit7.c: Move to ...
17160 * sysdeps/x86_64/tst-audit7.c: ... here.
17161 * elf/tst-auditmod3a.c: Move to ...
17162 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
17163 * elf/tst-auditmod3b.c: Move to ...
17164 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
17165 * elf/tst-auditmod4a.c: Move to ...
17166 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
17167 * elf/tst-auditmod4b.c: Move to ...
17168 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
17169 * elf/tst-auditmod5a.c: Move to ...
17170 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
17171 * elf/tst-auditmod5b.c: Move to ...
17172 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
17173 * elf/tst-auditmod6a.c: Move to ...
17174 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
17175 * elf/tst-auditmod6b.c: Move to ...
17176 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
17177 * elf/tst-auditmod6c.c: Move to ...
17178 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
17179 * elf/tst-auditmod7a.c: Move to ...
17180 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
17181 * elf/tst-auditmod7b.c: Move to ...
17182 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
17184 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
17187 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
17188 define unconditionally.
17189 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
17190 define unconditionally.
17191 (INT8_C, INT16_C, etc.): Likewise.
17193 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
17195 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
17196 __ehdr_start with hidden visibility.
17198 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
17200 2013-04-24 Carlos O'Donell <carlos@redhat.com>
17202 * math/libm-test.inc (cos_test): Use accurate hex constants.
17203 (sincost_test): Likewise.
17205 2013-04-24 Joseph Myers <joseph@codesourcery.com>
17207 * math/libm-test.inc (catan_test): Add more tests.
17208 (catanh_test): Likewise.
17210 * math/s_catanf.c (__catanf): Use suffixed floating-point
17212 * math/s_catanhf.c (__catanhf): Likewise.
17213 * math/s_catanhl.c (__catanhl): Likewise.
17214 * math/s_catanl.c (__catanl): Likewise.
17217 * math/s_catan.c (__catan): Calculate imaginary part of result
17218 with log1p not log unless computing log of number close to 0.
17219 * math/s_catanf.c (__catanf): Likewise.
17220 * math/s_catanl.c (__catanl): Likewise.
17221 * math/s_catanh.c (__catanh): Calculate real part of result with
17222 log1p not log unless computing log of number close to 0.
17223 * math/s_catanhf.c (__catanhf): Likewise.
17224 * math/s_catanhl.c (__catanhl): Likewise.
17225 * math/libm-test.inc (catan_test): Add more tests.
17226 (catanh_test): Likewise.
17227 * sysdeps/i386/fpu/libm-test-ulps: Update.
17228 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17230 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
17232 * benchtests/Makefile: Mention files in which fast and slow
17233 paths of math functions are implemented.
17235 2013-04-23 Roland McGrath <roland@hack.frob.com>
17237 * sysdeps/posix/timespec_get.c: New file.
17239 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17241 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
17243 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
17245 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
17246 powerpc/power5/fpu folders.
17247 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
17248 * benchtests/Makefile: Add modf testcase.
17249 * benchtests/bench-modf.c: New file: Benchmark test for mo
17251 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
17254 * time/Makefile (tests): Add tst-strptime-whitespace.
17255 * time/strptime_l.c (get_number): Use ISSPACE.
17256 (__strptime_internal): Likewise.
17257 * time/tst-strptime-whitespace.c: New test case.
17259 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
17261 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
17263 (_nss_files_init): Set it here.
17265 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
17267 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
17268 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
17271 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
17273 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
17275 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
17277 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
17280 2013-04-21 David S. Miller <davem@davemloft.net>
17282 * po/ru.po: Update Russion translation from translation project.
17284 2013-04-17 Adam Conrad <adconrad@0c3.net>
17286 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
17289 2013-04-17 Carlos O'Donell <carlos@redhat.com>
17291 * configure.in: Remove i386 configure warning. Remove i386 case.
17292 * configure: Regenerate.
17293 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
17294 Add example to error message.
17295 * sysdeps/i386/configure: Regenerate.
17297 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
17299 * benchtests/Makefile (bench): Add cos, tan, slowcos and
17301 * benchtests/cos-inputs: New file.
17302 * benchtests/slowcos-inputs: New file.
17303 * benchtests/slowcos.c: New file.
17304 * benchtests/slowtan-inputs: New file.
17305 * benchtests/slowtan.c: New file.
17306 * benchtests/tan-inputs: New file.
17308 2013-04-16 Roland McGrath <roland@hack.frob.com>
17310 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
17313 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17315 * benchtests/Makefile: Include cppflags-iterator.mk to add
17316 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
17318 * Makefile.in (bench-clean): New target.
17319 * benchtests/Makefile (bench-clean): Likewise.
17321 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
17323 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
17325 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
17327 * stdio-common/tstdiomisc.c: Fix coding-style violation.
17329 2013-04-15 Andreas Schwab <schwab@suse.de>
17331 * nscd/grpcache.c (cache_addgr): Properly check for short write.
17332 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17333 * nscd/pwdcache.c (cache_addpw): Likewise.
17334 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
17337 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17339 * benchtests/Makefile (bench): Write all output to
17340 bench-out.tmp together.
17342 2013-04-15 Andreas Schwab <schwab@suse.de>
17344 * nscd/nscd.c (main): Don't fork again after closing files.
17346 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17348 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
17350 * benchtests/Rules (bench-deps): Collect dependencies into a
17351 single variable. Add Makefile to dependencies.
17352 ($(objpfx)bench-%.c): Depend on bench-deps.
17354 2013-04-12 Roland McGrath <roland@hack.frob.com>
17355 Xavier Roche <roche+kml2@exalead.com>
17358 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
17359 just that it's a file descriptor.
17360 * manual/llio.texi (Synchronizing AIO Operations): Update description
17361 for EBADF error from aio_fsync.
17363 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
17365 * Rules (bench): Move target definition...
17366 * benchtests/Makefile: ... here.
17368 2013-04-11 Carlos O'Donell <carlos@redhat.com>
17370 * math/libm-test.inc (cos_test): Fix PI/2 test.
17371 (sincos_test): Likewise.
17372 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
17373 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
17375 2013-04-11 Andreas Schwab <schwab@suse.de>
17378 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
17379 accept exponent character only when digits were seen.
17380 * stdio-common/Makefile (tests): Add bug26.
17381 * stdio-common/bug26.c: New file.
17384 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
17387 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17389 * Makeconfig (rtld-prefix): Define built linker prefix.
17390 * Rules (run-bench): Use it.
17391 * math/Makefile (run-regen-ulps): Likewise.
17393 * Rules (bench): Remove eval.
17395 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17396 Roland McGrath <roland@hack.frob.com>
17397 Ondrej Bilka <neleai@seznam.cz>
17400 * time/getdate.c: Include ctype.h and alloca.h.
17401 (__getdate_r): Trim leading and trailing spaces of input.
17402 * time/tst-getdate.c (tests): Add tests with leading and
17405 2013-04-08 Roland McGrath <roland@hack.frob.com>
17408 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
17409 when computing value.
17411 2013-04-06 Carlos O'Donell <carlos@redhat.com>
17413 * math/README.libm-test (How can I generate "libm-test-ulps"?):
17414 Use testrun.sh to run libm tests.
17417 * elf/dl-open.c (dl_open_worker): memset all of seen array.
17419 2013-04-06 Marko Myllynen <myllynen@redhat.com>
17422 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
17424 2013-04-06 Carlos O'Donell <carlos@redhat.com>
17426 * Makefile.in (regen-ulps): New target.
17427 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
17428 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
17429 [ifneq (no,$(PERL)] (regen-ulps): New target.
17430 [ifeq (no,$(PERL)] (regen-ulps): New target.
17431 * math/libm-test.inc (ulps_file_name): Define.
17432 (output_dir): New variable.
17433 (options): Add "output-dir" option.
17434 (parse_opt): Handle 'o' case.
17435 (main): If output_dir is non-NULL use it as a prefix
17437 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
17439 2013-04-06 Carlos O'Donell <carlos@redhat.com>
17441 [BZ #10060, #10062]
17442 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
17443 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
17444 fail configure if __sync_val_compare_and_swap is not inlined.
17445 * sysdeps/i386/configure: Regenerate.
17446 * configure.in: Build for i686 when configured for i386.
17447 * configure: Regenerate.
17448 * README: Remove i386 reference.
17450 2013-04-06 Carlos O'Donell <carlos@redhat.com>
17452 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
17453 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17455 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
17457 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
17458 (lmsnanval): New variables.
17459 (F): Add conversion tests.
17460 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
17461 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
17463 * stdio-common/tstdiomisc.c (F): Properly collect individual
17466 [BZ #14686, #15336]
17467 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
17468 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
17469 Instead, use input NaN values or generate a qNaN by arithmetic
17470 operation. Also fix bugs to comply with the standard.
17471 * math/libm-test.inc (remainder_test): Add more tests.
17473 [BZ #15335, #15342]
17474 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
17475 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
17476 input NaN values or generate a qNaN by arithmetic operation.
17478 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
17481 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
17484 2013-04-03 Joseph Myers <joseph@codesourcery.com>
17487 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
17488 underflowed result.
17489 * math/s_cexpf.c (__cexpf): Likewise.
17490 * math/s_cexpl.c (__cexpl): Likewise.
17491 * math/libm-test.inc (cexp_test): Add more tests.
17493 2013-04-03 Andreas Schwab <schwab@suse.de>
17496 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
17497 order arrays from heap if bigger than alloca cutoff.
17499 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
17501 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
17502 (SNAN_TESTS_double): Refer to GCC PR56831.
17503 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
17506 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
17508 * Rules (bench): Move bench.out after the run is complete.
17510 * Rules (bench): Echo currently running benchmark.
17512 * benchtests/Makefile (bench): Add atan and slowatan.
17513 * benchtests/atan-inputs: New file.
17514 * benchtests/slowatan-inputs: New file.
17515 * benchtests/slowatan.c: New file.
17517 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
17518 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
17522 * sysdeps/unix/sysv/linux/kernel-features.h
17523 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
17524 __ASSUME_XFS_RESTRICTED_CHOWN.
17525 * sysdeps/unix/sysv/linux/pathconf.c
17526 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
17527 Save and restore errno.
17529 2013-04-02 Joseph Myers <joseph@codesourcery.com>
17532 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
17533 arguments using __kernel_casinh.
17534 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
17535 arguments using __kernel_casinhf.
17536 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
17537 arguments using __kernel_casinhl.
17538 * math/libm-test.inc (cacosh_test): Add more tests.
17539 * sysdeps/i386/fpu/libm-test-ulps: Update.
17540 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17542 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17544 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
17545 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
17547 * bench/Makefile (bench): Add sin and slowsin.
17548 * benchtests/sin-inputs: New file.
17549 * benchtests/slowsin-inputs: New file.
17550 * benchtests/slowsin.c: New file.
17552 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
17553 (bench): Add slowexp and slowpow.
17554 (exp-ITER): Increase iterations.
17555 (pow-ITER): Likewise.
17556 * benchtests/exp-inputs: Change input.
17557 * benchtests/pow-inputs: Likewise.
17558 * benchtests/slowexp-inputs: New file.
17559 * benchtests/slowexp.c: New file.
17560 * benchtests/slowpow-inputs: New file.
17561 * benchtests/slowpow.c: New file.
17563 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17565 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
17567 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
17568 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
17569 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
17570 * benchtests/Makefile: Add rint benchtest.
17571 * benchtests/rint-inputs: Input for rint benchtest.
17573 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
17575 * Versions.def (libm): Add GLIBC_2.18.
17576 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
17577 hidden libm prototypes.
17578 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
17579 * math/Makefile (libm-calls): Add s_issignaling.
17580 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
17581 __issignalingf, __issignalingl. Adjust all libm.abilist files.
17582 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
17584 * math/math.h [__USE_GNU] (issignaling): New macro.
17585 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
17586 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
17587 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
17588 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
17589 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
17590 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
17591 * manual/arith.texi (issignaling): New section.
17592 * manual/libm-err-tab.pl (@all_functions): Update comment.
17593 * math/gen-libm-test.pl (parse_args): Apply special handling for
17595 * math/libm-test.inc (print_float, issignaling_test): New
17597 (check_float_internal): Add issignaling checks.
17598 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
17599 default definition.
17600 * sysdeps/powerpc/math-tests.h: New file.
17601 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
17603 * math/test-snan.c (TEST_FUNC): Likewise.
17605 2013-03-30 David S. Miller <davem@davemloft.net>
17607 * po/de.po: Update from translation team.
17609 2013-03-30 Joseph Myers <joseph@codesourcery.com>
17612 * math/k_casinh.c (__kernel_casinh): Handle arguments with
17613 imaginary part less than 1.0 and real part less than 0.5
17615 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17616 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17617 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
17618 (cacos_test): Add more tests.
17619 (casin_test): Likewise.
17620 (casinh_test): Likewise.
17621 * sysdeps/i386/fpu/libm-test-ulps: Update.
17622 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17624 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17626 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
17627 ONE with its value.
17629 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
17630 (__pow_mp): Replace ONE and MONE with their values.
17631 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17632 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
17633 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
17634 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
17635 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17636 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
17638 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
17640 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
17641 (__pow_mp): Replace ZERO and MZERO with their values.
17642 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
17643 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17644 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
17645 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
17646 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17647 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
17650 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
17652 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
17654 2013-03-28 Roland McGrath <roland@hack.frob.com>
17656 * include/stdlib.h [!SHARED] (__call_tls_dtors):
17657 Declare with __attribute__ ((weak)).
17658 * stdlib/exit.c (__libc_atexit) [!SHARED]:
17659 Call __call_tls_dtors only if it's not NULL.
17661 2013-03-28 Roland McGrath <roland@hack.frob.com>
17663 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
17664 didn't do it already, then set _dl_phdr and _dl_phnum based on the
17665 magic __ehdr_start linker symbol if it's defined.
17666 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
17667 them up here if it was already done.
17669 * elf/dl-support.c (_dl_phdr): Make pointer to const.
17670 (_dl_aux_init): Use const in cast when setting it.
17671 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
17672 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
17673 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
17675 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
17677 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
17678 * csu/libc-tls.c: Nor here.
17679 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
17681 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
17682 (__libc_message): Never call vsyslog.
17684 2013-03-28 Alan Modra <amodra@gmail.com>
17686 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
17688 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
17691 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17694 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
17696 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17698 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17701 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
17702 Don't add gid passed as argument.
17704 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
17706 2013-03-27 Joseph Myers <joseph@codesourcery.com>
17709 * math/k_casinh.c (__kernel_casinh): Handle arguments with
17710 imaginary part between 1.0 and 1.5 and real part less than 0.5
17712 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17713 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17714 * math/libm-test.inc (cacos_test): Add more tests.
17715 (casin_test): Likewise.
17716 (casinh_test): Likewise.
17717 * sysdeps/i386/fpu/libm-test-ulps: Update.
17718 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17720 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17722 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
17725 (denorm): Likewise.
17726 (__dbl_mp): Likewise.
17727 (add_magnitudes): Likewise.
17728 (sub_magnitudes): Likewise.
17736 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
17738 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
17739 (__dubcos): Likewise.
17740 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
17741 (__ieee754_acos): Likewise.
17742 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
17743 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
17744 (__exp1): Likewise.
17745 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17746 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
17748 (my_log2): Likewise.
17749 (checkint): Likewise.
17750 * sysdeps/ieee754/dbl-64/e_remainder.c
17751 (__ieee754_remainder): Likewise.
17752 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17753 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
17754 (bsloww): Likewise.
17755 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
17757 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
17758 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
17759 MANTISSA_STORE_T to store computations on mantissa. Use
17760 macros for rounding and division.
17761 (denorm): Likewise.
17762 (__dbl_mp): Likewise.
17763 (add_magnitudes): Likewise.
17764 (sub_magnitudes): Likewise.
17767 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
17768 powers of two in terms of TWOPOW macro.
17769 (mp_no): Make type of mantissa as MANTISSA_T.
17770 [!RADIXI]: Define RADIXI.
17771 [!TWO52]: Define TWO52.
17772 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
17774 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17776 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
17777 llroundl symbol when building for PPC32.
17779 2013-03-24 Mark H Weaver <mhw@netris.org>
17781 * manual/arith.texi (Normalization Functions): Fix prototypes for
17782 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
17784 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17787 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
17788 high value to check if expl overflow.
17789 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
17790 to check for underflow and overflow.
17791 * math/libm-test.inc: Add exp test.
17793 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
17796 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
17799 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17801 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
17804 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
17806 * math/gen-libm-test.pl (parse_args, special_functions): Properly
17807 wrap blocks consisting of several statements.
17809 * sysdeps/generic/math-tests.h: New file.
17810 * sysdeps/i386/fpu/math-tests.h: Likewise.
17811 * math/test-snan.c: Include it.
17812 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
17814 2013-03-21 Joseph Myers <joseph@codesourcery.com>
17817 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
17818 (__ieee754_j0l): Do not improve calculations using cos of twice
17819 input for inputs above LDBL_MAX / 2.0L.
17820 (__ieee754_y0l): Likewise.
17821 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
17822 (__ieee754_j1l): Do not improve calculations using cos of twice
17823 input for inputs above LDBL_MAX / 2.0L.
17824 (__ieee754_y1l): Likewise.
17825 * math/libm-test.inc (j0_test): Add another test.
17826 (j1_test): Likewise.
17827 (y0_test): Likewise.
17828 (y1_test): Likewise.
17829 * sysdeps/i386/fpu/libm-test-ulps: Update.
17831 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17833 * Rules ($(objpfx)bench-%.c): Include code from a C source
17836 2013-03-21 Joseph Myers <joseph@codesourcery.com>
17839 * math/k_casinh.c (__kernel_casinh): Handle arguments with
17840 imaginary part 1.0 and real part less than 0.5 specially.
17841 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17842 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17843 * math/libm-test.inc (cacos_test): Add more tests.
17844 (casin_test): Likewise.
17845 (casinh_test): Likewise.
17846 * sysdeps/i386/fpu/libm-test-ulps: Update.
17847 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17849 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17851 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
17852 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
17854 2013-03-20 Joseph Myers <joseph@codesourcery.com>
17856 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
17857 * config.make.in (config-cflags-sse4): Remove variable.
17858 (config-cflags-avx): Likewise.
17859 (config-cflags-sse2avx): Likewise.
17860 (config-cflags-novzeroupper): Likewise.
17861 (config-asflags-i686): Likewise.
17862 (have-mfma4): Likewise.
17863 (have-as-vis3): Likewise.
17865 * configure.in (MIG): Do not AC_SUBST.
17866 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
17867 (libc_cv_cc_sse4): Do not AC_SUBST.
17868 (libc_cv_cc_avx): Likewise.
17869 (libc_cv_cc_sse2avx): Likewise.
17870 (libc_cv_cc_novzeroupper): Likewise.
17871 (libc_cv_cc_fma4): Likewise.
17872 (libc_cv_as_i686): Likewise.
17873 (libc_cv_sparc_as_vis3): Likewise.
17874 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
17876 (config-asflags-i686): Likewise.
17877 (config-cflags-avx): Likewise.
17878 (config-cflags-sse2avx): Likewise.
17879 (have-mfma4): Likewise.
17880 (config-cflags-novzeroupper): Likewise.
17881 * sysdeps/mach/configure.in (MIG): Likewise.
17882 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
17883 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
17885 (config-cflags-avx): Likewise.
17886 (config-cflags-sse2avx): Likewise.
17887 (have-mfma4): Likewise.
17888 (config-cflags-novzeroupper): Likewise.
17889 * configure: Regenerated.
17890 * sysdeps/i386/configure: Likewise.
17891 * sysdeps/mach/configure: Likewise.
17892 * sysdeps/sparc/configure: Likewise.
17893 * sysdeps/x86_64/configure: Likewise.
17895 2013-03-20 Roland McGrath <roland@hack.frob.com>
17898 * locale/programs/localedef.c (options): Put N_ translation marker
17899 on argument names, not just descriptions.
17901 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17903 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
17905 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
17908 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
17910 2013-03-19 Roland McGrath <roland@hack.frob.com>
17912 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
17913 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
17914 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
17915 [!BEFORE_ABORT] (before_abort): New function.
17916 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
17917 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
17918 (writev_for_fatal): New function.
17919 (WRITEV_FOR_FATAL): New macro; call that.
17920 (backtrace_and_maps): New function.
17921 (BEFORE_ABORT): New macro; call that.
17922 (struct str_list): Type removed.
17923 (__libc_message, __libc_fatal): Functions removed.
17924 Include <sysdeps/posix/libc_fatal.c> instead.
17926 2013-03-19 Joseph Myers <joseph@codesourcery.com>
17928 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
17930 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
17933 2013-03-19 Andreas Schwab <schwab@suse.de>
17935 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
17936 * sysdeps/gnu/configure: Regenerate.
17938 * configure.in: Substitute libc_cv_rtlddir.
17939 * configure: Regenerate.
17940 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
17941 * Makeconfig (rtlddir, inst_rtlddir): New variables.
17942 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
17943 * elf/Makefile (install-others, CFLAGS-interp.c)
17944 (ldso_install, common-ldd-rewrite): Likewise.
17945 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
17946 $(inst_slibdir)/$(rtld-installed-name).
17947 * scripts/rellns-sh: Add -p option.
17948 * Makerules (make-shlib-link): Use rellns-sh to get relative name
17951 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17953 * manual/nptl.texi: Renamed to ...
17954 * manual/threads.texi: ... this.
17955 * manual/Makefile (chapters): Update.
17957 2013-03-18 Roland McGrath <roland@hack.frob.com>
17960 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
17961 on argument names, not just descriptions.
17962 * malloc/memusagestat.c (options): Likewise.
17963 * nss/getent.c (options): Likewise.
17965 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
17968 * iconv/iconv_prog.c (options): Put N_ translation marker
17969 on argument names, not just descriptions.
17970 * iconv/iconvconfig.c (options): Likewise.
17972 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
17974 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
17975 implementation which is faster on all x86_64 architectures.
17976 Tested on AMD, Intel Nehalem, SNB, IVB.
17977 * sysdeps/x86_64/strnlen.S: Likewise.
17979 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17980 Remove all multiarch strlen and strnlen versions.
17981 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
17982 Remove strlen and strnlen related parts.
17984 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
17985 Inline strlen part.
17986 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
17988 * sysdeps/x86_64/multiarch/strlen.S: Remove.
17989 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
17990 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
17991 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
17992 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
17993 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
17995 2013-03-17 Carlos O'Donell <carlos@redhat.com>
17997 * manual/memory.texi (Malloc Tunable Parameters):
17998 Sort parameters alphabetically. Add comments for missing entries.
18000 2013-03-17 David S. Miller <davem@davemloft.net>
18002 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18004 2013-03-16 Joseph Myers <joseph@codesourcery.com>
18007 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
18008 for arguments at most half maximum finite value.
18009 * math/libm-test.inc (j0_test): Add more tests.
18010 (j1_test): Likewise.
18011 (y0_test): Likewise.
18012 (y1_test): Likewise.
18013 * sysdeps/i386/fpu/libm-test-ulps: Update.
18014 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18017 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
18018 1 / x and functions P and Q for arguments above 0x1p256L.
18019 (__ieee754_y0l): Likewise.
18020 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
18021 (__ieee754_y1l): Likewise.
18022 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
18023 (j1_test): Likewise.
18024 (y0_test): Likewise.
18025 (y1_test): Likewise.
18027 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
18029 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
18032 2013-03-15 Roland McGrath <roland@hack.frob.com>
18034 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
18035 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
18036 zero since it's initialized to EXEC_PAGESIZE.
18038 * sysdeps/unix/sysv/linux/ldsodefs.h
18039 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
18040 * sysdeps/generic/ldsodefs.h: ... here.
18042 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
18044 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
18046 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
18048 * math/test-snan.c: Renamed from
18049 sysdeps/powerpc/fpu/test-powerpc-snan.c.
18050 * math/Makefile (tests): Add test-snan.
18051 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
18054 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
18055 SUFFIX. Initialize qNaN_var with __builtin_nan family of
18057 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
18058 __builtin_nan family of functions.
18059 * math/libm-test.inc (initialize): Initialize qnan_value with
18060 __builtin_nan family of functions.
18061 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
18063 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
18065 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
18066 storage class. Initialize qNaN_var and sNaN_var with
18067 __builtin_nan and __builtin_nans families of functions,
18070 * math/libm-test.inc (acosh_test): Also test with qNaN input.
18071 (sqrt_test): Remove duplicate test with qNaN input.
18072 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
18073 (round_test, signbit_test, significand_test): Note missing +/-Inf
18074 as well as qNaN tests.
18076 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
18077 qNaN_var. Fix a few strings, too.
18078 * math/libm-test.inc (nan_value): Rename to qnan_value.
18079 * math/gen-libm-test.pl (%beautify): Adjust to that.
18080 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
18081 * math/test-misc.c (main): Likewise.
18082 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
18083 to __qnan_bytes, and __qnan_union, respectively.
18084 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
18086 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
18087 and lqnanval, respectively.
18088 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
18089 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
18090 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
18091 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
18093 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
18094 * math/test-misc.c (main) [__x86_64__]: Enable test for long
18097 * math/test-misc.c (main): Fix copy'n'pastos.
18098 * misc/tst-efgcvt.c (special): Likewise.
18100 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
18101 Remove declarations.
18103 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18105 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
18106 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
18107 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
18108 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
18110 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18112 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
18113 macro to return vdso values correctly in IFUNC implementations.
18114 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
18115 Optimization by using IFUNC.
18117 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18118 Richard Henderson <rth@redhat.com>
18119 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18121 * Makefile.in (bench): New target.
18122 * NEWS: Mention the benchmark framework.
18123 * Rules (bench): Likewise.
18124 (binaries-bench): Generate binaries for functions to
18126 * benchtests/Makefile: New makefile for benchmark tests.
18127 * benchtests/bench-skeleton.c: New skeleton file for benchmark
18129 * benchtests/exp-inputs: New input file for EXP function.
18130 * benchtests/pow-inputs: New input file for POW function.
18131 * scripts/bench.pl: New script to generate source files for
18132 benchmark programs.
18134 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18136 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
18137 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
18138 computations on mantissa. Use macros for rounding and
18140 (denorm): Likewise.
18141 (__dbl_mp): Likewise.
18142 (add_magnitudes): Likewise.
18143 (sub_magnitudes): Likewise.
18146 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
18147 powers of two in terms of TWOPOW macro.
18148 (mp_no): Make type of mantissa as MANTISSA_T.
18149 [!RADIXI]: Define RADIXI.
18150 [!TWO52]: Define TWO52.
18151 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
18153 * manual/nptl.texi (cindex): Modify threads to pthreads.
18155 2013-03-15 Joseph Myers <joseph@codesourcery.com>
18157 * sysdeps/x86_64/preconfigure: Regenerated.
18159 2013-03-14 Joseph Myers <joseph@codesourcery.com>
18162 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
18164 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
18165 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
18167 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
18168 * math/libm-test.inc (j0_test): Do not allow one spurious
18169 underflow exception.
18170 (y1_test): Likewise.
18172 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18174 * manual/Makefile (chapters): Add nptl.
18175 * manual/debug.texi (Debugging Support): Add link to Threads
18177 * manual/nptl.texi: New file.
18179 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
18181 2013-03-14 Petr Baudis <pasky@ucw.cz>
18183 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
18184 for non-NULL pointer before the memory validity test. Pointed
18185 out by Holger Brunck <holger.brunck@keymile.com>.
18187 2013-03-13 Andreas Schwab <schwab@suse.de>
18189 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
18192 2013-03-13 Joseph Myers <joseph@codesourcery.com>
18194 * timezone/zic.c: Update from tzcode 2013b.
18196 2013-03-12 Carlos O'Donell <carlos@redhat.com>
18198 * manual/install.texi (Configuring and compiling):
18199 Mention i686 and i586.
18200 * INSTALL: Regenerate.
18202 2013-03-12 Roland McGrath <roland@hack.frob.com>
18204 * sysdeps/init_array/elf-init.c: New file.
18206 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
18207 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
18209 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
18210 __gmon_start__ as global, but as static with a .preinit_array pointer.
18211 * sysdeps/init_array/gmon-start.c: New file. Use that.
18212 * sysdeps/init_array/crti.S: New file, empty except for comments.
18213 * sysdeps/init_array/crtn.S: Likewise.
18215 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
18217 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
18219 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18220 Remove Prefer_SSE_for_memop.
18221 * sysdeps/x86_64/multiarch/init-arch.h: Remove
18222 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
18223 HAS_PREFER_SSE_FOR_MEMOP.
18224 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
18226 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18227 Remove bzero, memset ifunc support.
18228 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
18229 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
18230 * sysdeps/x86_64/multiarch/memset.S: Likewise.
18231 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18233 2013-03-11 Andreas Schwab <schwab@suse.de>
18236 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
18238 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
18239 (GLIBC_2.16): Remove pthread_atfork.
18241 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
18243 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
18244 (ptestcases.h): Likewise.
18246 2013-03-08 Roland McGrath <roland@hack.frob.com>
18248 * Makeconfig ($(common-objpfx)config.status): Depend on
18249 sysdeps/*/preconfigure{,.in} too.
18251 2013-03-08 Joseph Myers <joseph@codesourcery.com>
18253 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
18254 (__free_hook): Use void * instead of __malloc_ptr_t.
18255 (__malloc_hook): Likewise.
18256 (__realloc_hook): Likewise.
18257 (__memalign_hook): Likewise.
18258 (__after_morecore_hook): Likewise.
18259 * malloc/arena.c (save_malloc_hook): Likewise.
18260 (save_free_hook): Likewise.
18261 * malloc/hooks.c (malloc_hook_ini): Likewise.
18262 (realloc_hook_ini): Likewise.
18263 (memalign_hook_ini): Likewise.
18264 * malloc/malloc.c (malloc_hook_ini): Likewise.
18265 (realloc_hook_ini): Likewise.
18266 (memalign_hook_ini): Likewise.
18267 (__free_hook): Likewise.
18268 (__malloc_hook): Likewise.
18269 (__realloc_hook): Likewise.
18270 (__memalign_hook): Likewise.
18271 (__libc_malloc): Likewise.
18272 (__libc_free): Likewise.
18273 (__libc_realloc): Likewise.
18274 (__libc_memalign): Likewise.
18275 (__libc_valloc): Likewise.
18276 (__libc_pvalloc): Likewise.
18277 (__libc_calloc): Likewise.
18278 (__posix_memalign): Likewise.
18279 * malloc/morecore.c (__sbrk): Likewise.
18280 (__default_morecore): Likewise.
18282 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
18284 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
18285 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
18286 __malloc_ptrdiff_t.
18288 * malloc/malloc.h (__malloc_size_t): Remove macro.
18289 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
18291 (old_memalign_hook): Likewise.
18292 (old_realloc_hook): Likewise.
18293 (struct hdr): Likewise.
18295 (mallochook): Likewise.
18296 (memalignhook): Likewise.
18297 (reallochook): Likewise.
18298 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
18299 (tr_old_realloc_hook): Likewise.
18300 (tr_old_memalign_hook): Likewise.
18301 (tr_mallochook): Likewise.
18302 (tr_reallochook): Likewise.
18303 (tr_memalignhook): Likewise.
18305 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18307 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
18308 default_ldbl_pack and using as default implementation.
18309 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
18311 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
18312 redundant definition.
18313 (ldbl_insert_mantissa): Likewise.
18314 (ldbl_canonicalize): Likewise.
18315 (ldbl_nearbyint): Likewise.
18316 (ldbl_pack): Rename to ldbl_pack_ppc.
18317 (ldbl_unpack): Rename to ldbl_unpack_ppc.
18318 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
18319 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
18321 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
18323 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
18324 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
18325 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
18326 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
18327 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
18328 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
18329 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
18330 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
18332 2013-03-07 Andreas Jaeger <aj@suse.de>
18334 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18337 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
18339 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
18340 Include mpa.h and declare __MPEXP.
18341 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
18342 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
18343 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
18344 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
18345 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
18346 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
18347 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
18349 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
18350 (__slowpow): Use long double EXPL and LOGL functions to
18352 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
18353 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
18354 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
18355 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
18356 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
18357 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
18359 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
18360 intermediate variable to calculate exponent.
18362 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
18366 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
18367 [!NO__SQR]: Define __sqr.
18368 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
18369 and NO__SQR. Remove all code except __mul and __sqr. Include
18370 sysdeps/ieee754/dbl-64/mpa.c.
18371 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18374 * posix/Makefile (tests): Add tst-pathconf.
18375 * posix/tst-pathconf.c: New test case.
18376 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
18378 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
18380 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
18382 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
18384 2013-03-06 Andreas Jaeger <aj@suse.de>
18386 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
18387 definition via __MAP_ANONYMOUS.
18389 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
18390 it's not part of Linux headers.
18392 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
18393 (MAP_HUGE_MASK): Define.
18395 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
18397 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18398 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
18400 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18401 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
18403 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18404 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
18406 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18408 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
18409 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
18410 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
18411 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
18412 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
18413 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
18415 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
18418 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18419 Handle f2fs and efivarfs.
18421 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
18424 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
18425 (EFIVARFS_MAGIC): Add.
18426 (F2FS_LINK_MAX): Add.
18428 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
18430 * stdio-common/vfprintf.c: Replace __builtin_expect with
18433 2013-03-06 Joseph Myers <joseph@codesourcery.com>
18436 * sysdeps/generic/bp-sym.h: Remove file.
18437 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
18438 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
18439 <bp-sym.h> and <bp-asm.h>.
18440 (__longjmp): Don't use BP_SYM.
18441 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
18443 (memcpy): Don't use BP_SYM.
18444 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
18445 <bp-sym.h> and <bp-asm.h>.
18446 (memcpy): Don't use BP_SYM.
18447 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
18449 (memcpy): Don't use BP_SYM.
18450 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
18452 (memset): Don't use BP_SYM.
18453 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18454 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18455 (__bzero): Don't use BP_SYM.
18456 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18457 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18458 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
18459 <bp-sym.h> and <bp-asm.h>.
18460 (memcmp): Don't use BP_SYM. Remove comment about bounded
18462 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
18463 <bp-sym.h> and <bp-asm.h>.
18464 (memcpy): Don't use BP_SYM.
18465 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
18466 <bp-sym.h> and <bp-asm.h>.
18467 (memset): Don't use BP_SYM.
18468 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18469 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18470 (__bzero): Don't use BP_SYM.
18471 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18472 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18473 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
18474 <bp-sym.h> and <bp-asm.h>.
18475 (strncmp): Don't use BP_SYM. Remove comment about bounded
18477 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
18478 <bp-sym.h> and <bp-asm.h>.
18479 (memcpy): Don't use BP_SYM.
18480 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
18481 <bp-sym.h> and <bp-asm.h>.
18482 (memset): Don't use BP_SYM.
18483 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18484 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18485 (__bzero): Don't use BP_SYM.
18486 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18487 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18488 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
18489 <bp-sym.h> and <bp-asm.h>.
18490 (__memchr): Don't use BP_SYM.
18491 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
18492 <bp-sym.h> and <bp-asm.h>.
18493 (memcmp): Don't use BP_SYM. Remove comment about bounded
18495 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
18496 <bp-sym.h> and <bp-asm.h>.
18497 (memcpy): Don't use BP_SYM.
18498 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
18499 <bp-sym.h> and <bp-asm.h>.
18500 (__mempcpy): Don't use BP_SYM.
18501 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
18502 <bp-sym.h> and <bp-asm.h>.
18503 (__memrchr): Don't use BP_SYM.
18504 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
18505 <bp-sym.h> and <bp-asm.h>.
18506 (memset): Don't use BP_SYM.
18507 (__bzero): Likewise.
18508 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
18509 <bp-sym.h> and <bp-asm.h>.
18510 (__rawmemchr): Don't use BP_SYM.
18511 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
18512 <bp-sym.h> and <bp-asm.h>.
18513 (__STRCMP): Don't use BP_SYM.
18514 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
18515 <bp-sym.h> and <bp-asm.h>.
18516 (strchr): Don't use BP_SYM.
18517 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
18518 <bp-sym.h> and <bp-asm.h>.
18519 (__strchrnul): Don't use BP_SYM.
18520 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
18521 <bp-sym.h> and <bp-asm.h>.
18522 (strlen): Don't use BP_SYM.
18523 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
18524 <bp-sym.h> and <bp-asm.h>.
18525 (strncmp): Don't use BP_SYM. Remove comment about bounded
18527 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
18528 <bp-sym.h> and <bp-asm.h>.
18529 (__strnlen): Don't use BP_SYM.
18530 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
18531 <bp-sym.h> and <bp-asm.h>.
18532 (__GI__setjmp): Don't use BP_SYM.
18533 (_setjmp): Likewise.
18534 (__sigsetjmp): Likewise.
18535 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
18536 (L(start_addresses)): Don't use BP_SYM.
18537 (_start): Likewise.
18538 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
18540 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
18541 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
18542 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18543 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18544 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
18546 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
18547 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
18548 about bounded pointers.
18549 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18550 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18551 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
18553 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
18554 about bounded pointers. Remove GKM FIXME comments.
18555 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18556 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
18558 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
18559 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
18560 Remove GKM FIXME comments.
18561 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18562 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18563 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
18565 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
18566 about bounded pointers. Remove GKM FIXME comment.
18567 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
18569 (strncmp): Don't use BP_SYM. Remove comment about bounded
18571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
18572 <bp-sym.h> and <bp-asm.h>.
18573 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
18574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
18575 <bp-sym.h> and <bp-asm.h>.
18576 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
18579 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
18581 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
18584 2013-03-05 David S. Miller <davem@davemloft.net>
18586 * po/es.po: Update from translation team.
18588 2013-03-05 Andreas Jaeger <aj@suse.de>
18590 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
18591 <bits/mman-linux.h>.
18592 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18594 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
18595 <bits/mman-linux.h> to end of file.
18596 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18598 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
18599 <bits/mman-linux.h> to end of file.
18600 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18602 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
18603 <bits/mman-linux.h> to end of file.
18605 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
18606 (MCL_CURRENT, MCL_FUTURE): Define here.
18608 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18611 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
18613 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
18615 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18617 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
18618 fourth parameter needed for rt_sigprocmask syscall.
18619 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
18620 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
18621 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
18622 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
18623 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
18624 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
18626 2013-03-04 Joseph Myers <joseph@codesourcery.com>
18629 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
18630 comment about bounded pointers.
18631 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
18632 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
18634 2013-03-04 Andreas Jaeger <aj@suse.de>
18636 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
18637 common definitions.
18639 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
18640 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
18641 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
18642 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
18643 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
18644 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
18646 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18649 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
18650 __ieee754_sqrl instead of __sqrl.
18652 2013-03-01 Joseph Myers <joseph@codesourcery.com>
18654 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
18655 * sysdeps/powerpc/fpu_control.h: ... here.
18656 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
18657 * sysdeps/powerpc/bits/fenvinline.h: ... here.
18658 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
18659 * sysdeps/powerpc/bits/mathinline.h: ... here.
18661 2013-03-01 Roland McGrath <roland@hack.frob.com>
18663 * elf/dl-hwcaps.c (_dl_important_hwcaps):
18664 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
18665 to just [NEED_DL_SYSINFO_DSO].
18666 * elf/dl-support.c: Likewise.
18667 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
18668 * elf/rtld.c (dl_main): Likewise.
18669 * elf/setup-vdso.h (setup_vdso): Likewise.
18670 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
18671 * sysdeps/unix/sysv/linux/dl-sysdep.c
18672 (_dl_discover_osversion): Likewise.
18674 2013-03-01 Carlos O'Donell <carlos@redhat.com>
18676 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
18677 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
18679 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
18681 * NEWS: Mention libm performance improvements and non-x86 PI
18684 * csu/libc-start.c (__pthread_initialize_minimal): Change
18685 function arguments.
18686 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
18688 2013-02-28 Joseph Myers <joseph@codesourcery.com>
18691 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
18692 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
18693 <bp-sym.h> and <bp-asm.h>.
18694 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18695 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
18697 (memcpy): Don't use BP_SYM.
18698 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
18700 (__mpn_add_n): Don't use BP_SYM.
18701 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
18702 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
18704 (__mpn_addmul_1): Don't use BP_SYM.
18705 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18706 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
18708 (_setjmp): Don't use BP_SYM.
18709 (__novmx_setjmp): Likewise.
18710 (__GI__setjmp): Likewise.
18711 (__vmx_setjmp): Likewise.
18712 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
18714 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
18715 (__bzero): Don't use BP_SYM.
18716 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18717 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18718 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
18719 <bp-sym.h> and <bp-asm.h>.
18720 (memcpy): Don't use BP_SYM.
18721 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
18722 <bp-sym.h> and <bp-asm.h>.
18723 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18724 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
18725 <bp-sym.h> and <bp-asm.h>.
18726 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18727 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
18729 (__mpn_lshift): Don't use BP_SYM.
18730 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18731 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
18733 (memset): Don't use BP_SYM.
18734 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18735 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18736 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
18738 (__mpn_mul_1): Don't use BP_SYM.
18739 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18740 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
18741 <bp-sym.h> and <bp-asm.h>.
18742 (memcmp): Don't use BP_SYM.
18743 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
18744 <bp-sym.h> and <bp-asm.h>.
18745 (memcpy): Don't use BP_SYM.
18746 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
18747 <bp-sym.h> and <bp-asm.h>.
18748 (memset): Don't use BP_SYM.
18749 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
18750 <bp-sym.h> and <bp-asm.h>.
18751 (strncmp): Don't use BP_SYM.
18752 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
18753 <bp-sym.h> and <bp-asm.h>.
18754 (memcpy): Don't use BP_SYM.
18755 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
18756 <bp-sym.h> and <bp-asm.h>.
18757 (memset): Don't use BP_SYM.
18758 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
18759 <bp-sym.h> and <bp-asm.h>.
18760 (__memchr): Don't use BP_SYM.
18761 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
18762 <bp-sym.h> and <bp-asm.h>.
18763 (memcmp): Don't use BP_SYM.
18764 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
18765 <bp-sym.h> and <bp-asm.h>.
18766 (memcpy): Don't use BP_SYM.
18767 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
18768 <bp-sym.h> and <bp-asm.h>.
18769 (__mempcpy): Don't use BP_SYM.
18770 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
18771 <bp-sym.h> and <bp-asm.h>.
18772 (__memrchr): Don't use BP_SYM.
18773 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
18774 <bp-sym.h> and <bp-asm.h>.
18775 (memset): Don't use BP_SYM.
18776 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
18777 <bp-sym.h> and <bp-asm.h>.
18778 (__rawmemchr): Don't use BP_SYM.
18779 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
18780 <bp-sym.h> and <bp-asm.h>.
18781 (__STRCMP): Don't use BP_SYM.
18782 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
18783 <bp-sym.h> and <bp-asm.h>.
18784 (strchr): Don't use BP_SYM.
18785 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
18786 <bp-sym.h> and <bp-asm.h>.
18787 (__strchrnul): Don't use BP_SYM.
18788 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
18789 <bp-sym.h> and <bp-asm.h>.
18790 (strlen): Don't use BP_SYM.
18791 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
18792 <bp-sym.h> and <bp-asm.h>.
18793 (strncmp): Don't use BP_SYM.
18794 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
18795 <bp-sym.h> and <bp-asm.h>.
18796 (__strnlen): Don't use BP_SYM.
18797 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
18799 (__mpn_rshift): Don't use BP_SYM.
18800 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18801 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
18802 <bp-sym.h> and <bp-asm.h>.
18803 (__sigsetjmp): Don't use BP_SYM.
18804 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
18805 (L(start_addresses)): Don't use BP_SYM.
18806 (_start): Likewise.
18807 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
18809 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
18810 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18811 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18812 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
18814 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
18815 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18816 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18817 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
18819 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
18821 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18822 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
18824 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
18826 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18827 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18828 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
18830 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
18832 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
18834 (strncmp): Don't use BP_SYM,
18835 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
18837 (__mpn_sub_n): Don't use BP_SYM.
18838 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18839 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
18841 (__mpn_submul_1): Don't use BP_SYM.
18842 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
18844 <bp-sym.h> and <bp-asm.h>.
18845 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
18846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
18847 <bp-sym.h> and <bp-asm.h>.
18848 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
18851 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18853 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
18854 Use ZK to minimize writes to Z.
18855 (sub_magnitudes): Simplify code a bit.
18856 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
18857 Use ZK to minimize writes to Z.
18858 (sub_magnitudes): Simplify code a bit.
18860 2013-02-27 Roland McGrath <roland@hack.frob.com>
18862 * csu/gmon-start.c: Add special exception to license text.
18864 2013-02-27 Richard Henderson <rth@redhat.com>
18866 * scripts/config.guess: Update from config.git.
18867 * scripts/config.sub: Likewise.
18869 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
18871 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
18873 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
18875 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
18877 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
18879 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
18881 2013-02-26 Roland McGrath <roland@hack.frob.com>
18883 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
18884 [$(build-shared = yes].
18886 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18888 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
18889 (__mul): Reduce iterations for calculating mantissa.
18891 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
18893 (__mpranred): Likewise.
18896 * malloc/memusagestat.c (main): Draw graphs for heap and stack
18897 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
18899 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
18901 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
18902 Define __attribute__.
18904 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18906 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
18908 * posix/regex_internal.h (__attribute): Remove.
18909 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
18910 (re_string_context_at): Likewise.
18911 (bitset_not): Use __attribute__ and mark function as possibly
18913 (bitset_merge): Likewise.
18914 (bitset_mask): Likewise.
18915 (re_string_char_size_at): Likewise.
18916 (re_string_wchar_at): Likewise.
18917 (re_string_elem_size_at): Likewise.
18919 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18921 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
18925 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
18929 (denorm): Likewise.
18930 (__dbl_mp): Likewise.
18931 (add_magnitudes): Likewise.
18932 (sub_magnitudes): Likewise.
18936 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
18939 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
18942 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
18945 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
18946 up changes with default code.
18947 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
18950 2013-02-24 Allan McRae <allan@archlinux.org>
18952 * manual/socket.texi (The Internet Namespace): Order menu items
18953 to match that in the file.
18955 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
18956 node listing of the info page menu.
18958 2013-02-21 Joseph Myers <joseph@codesourcery.com>
18961 * sysdeps/i386/bp-asm.h: Remove file.
18962 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
18963 (PARMS): Do not use macros from bp-asm.h.
18967 (__mpn_add_n): Do not use BP_SYM
18968 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
18970 (PARMS): Do not use macros from bp-asm.h.
18973 (__mpn_addmul_1): Do not use BP_SYM
18974 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
18976 (PARMS): Do not use macros from bp-asm.h.
18977 (SIGMSK): Likewise.
18978 (_setjmp): Likewise. Do not use BP_SYM.
18979 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
18981 (PARMS): Do not use macros from bp-asm.h.
18982 (SIGMSK): Likewise.
18983 (setjmp): Likewise. Do not use BP_SYM.
18984 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
18986 (PARMS): Do not use macros from bp-asm.h.
18987 (__frexp): Do not use BP_SYM.
18989 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
18991 (PARMS): Do not use macros from bp-asm.h.
18992 (__frexpf): Do not use BP_SYM.
18993 (frexpf): Likewise.
18994 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
18996 (PARMS): Do not use macros from bp-asm.h.
18997 (__frexpl): Do not use BP_SYM.
18998 (frexpl): Likewise.
18999 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
19001 (PARMS): Do not use macros from bp-asm.h.
19002 (__remquo): Do not use BP_SYM.
19003 (remquo): Likewise.
19004 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
19006 (PARMS): Do not use macros from bp-asm.h.
19007 (__remquof): Do not use BP_SYM.
19008 (remquof): Likewise.
19009 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
19011 (PARMS): Do not use macros from bp-asm.h.
19012 (__remquol): Do not use BP_SYM.
19013 (remquol): Likewise.
19014 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
19016 (PARMS): Do not use macros from bp-asm.h.
19019 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
19020 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
19022 (PARMS): Do not use macros from bp-asm.h.
19023 (strlen): Do not use BP_SYM.
19024 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
19026 (PARMS): Do not use macros from bp-asm.h.
19030 (__mpn_add_n): Do not use BP_SYM.
19031 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
19033 (PARMS): Do not use macros from bp-asm.h.
19036 (__mpn_addmul_1): Do not use BP_SYM.
19037 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
19040 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
19042 (PARMS): Do not use macros from bp-asm.h.
19045 (__mpn_lshift): Do not use BP_SYM.
19046 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
19048 (PARMS): Do not use macros from bp-asm.h.
19052 (memcpy): Likewise. Do not use BP_SYM.
19053 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
19054 libc_hidden_def and weak_alias.
19055 (mempcpy): Do not use BP_SYM in weak_alias.
19056 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
19058 (PARMS): Do not use macros from bp-asm.h.
19061 [!BZERO_P] (CHR): Likewise.
19062 (memset): Likewise. Do not use BP_SYM.
19063 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
19065 (PARMS): Do not use macros from bp-asm.h.
19068 (__mpn_mul_1): Do not use BP_SYM.
19069 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
19071 (PARMS): Do not use macros from bp-asm.h.
19074 (__mpn_rshift): Do not use BP_SYM.
19075 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
19077 (PARMS): Do not use macros from bp-asm.h.
19080 (strchr): Likewise. Do not use BP_SYM.
19081 (index): Do not use BP_SYM in weak_alias.
19082 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
19084 (PARMS): Do not use macros from bp-asm.h.
19087 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
19088 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
19090 (PARMS): Do not use macros from bp-asm.h.
19091 (strlen): Do not use BP_SYM.
19092 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
19094 (PARMS): Do not use macros from bp-asm.h.
19098 (__mpn_sub_n): Do not use BP_SYM.
19099 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
19101 (PARMS): Do not use macros from bp-asm.h.
19104 (__mpn_submul_1): Do not use BP_SYM.
19105 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
19107 (PARMS): Do not use macros from bp-asm.h.
19111 (__mpn_add_n): Do not use BP_SYM.
19112 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
19115 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
19117 (PARMS): Do not use macros from bp-asm.h.
19120 (memcmp): Do not use BP_SYM.
19121 (bcmp): Do not use BP_SYM in weak_alias.
19122 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
19124 (PARMS): Do not use macros from bp-asm.h.
19128 (memcpy): Likewise. Do not use BP_SYM.
19129 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
19131 (PARMS): Do not use macros from bp-asm.h.
19135 (memmove): Likewise. Do not use BP_SYM.
19136 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
19138 (PARMS): Do not use macros from bp-asm.h.
19142 (__mempcpy): Likewise. Do not use BP_SYM.
19143 (mempcpy): Do not use BP_SYM in weak_alias.
19144 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
19146 (PARMS): Do not use macros from bp-asm.h.
19149 [!BZERO_P] (CHR): Likewise.
19150 (memset): Likewise. Do not use BP_SYM.
19151 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
19153 (PARMS): Do not use macros from bp-asm.h.
19155 (strcmp): Do not use BP_SYM.
19156 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
19158 (PARMS): Do not use macros from bp-asm.h.
19161 [USE_AS_STRTOK_R] (SAVE): Likewise.
19162 (FUNCTION): Likewise. Do not use BP_SYM.
19163 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
19165 (strtok_r): Likewise.
19166 (__GI___strtok_r): Likewise.
19167 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
19168 (PARMS): Do not use macros from bp-asm.h.
19171 (__mpn_lshift): Do not use BP_SYM.
19172 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
19173 (PARMS): Do not use macros from bp-asm.h.
19176 (__memchr): Do not use BP_SYM.
19177 (memchr): Do not use BP_SYM in weak_alias.
19178 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
19179 (PARMS): Do not use macros from bp-asm.h.
19182 (memcmp): Do not use BP_SYM.
19183 (bcmp): Do not use BP_SYM in weak_alias.
19184 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
19185 (PARMS): Do not use macros from bp-asm.h.
19188 (__mpn_mul_1): Do not use BP_SYM.
19189 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
19191 (PARMS): Do not use macros from bp-asm.h.
19194 (__rawmemchr): Do not use BP_SYM.
19195 (rawmemchr): Do not use BP_SYM in weak_alias.
19196 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
19197 (PARMS): Do not use macros from bp-asm.h.
19200 (__mpn_rshift): Do not use BP_SYM.
19201 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
19202 (PARMS): Do not use macros from bp-asm.h.
19203 (SIGMSK): Likewise.
19204 (__sigsetjmp): Likewise. Do not use BP_SYM.
19205 * sysdeps/i386/start.S: Do not include "bp-sym.h".
19206 (_start): Do not use BP_SYM.
19207 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
19208 (PARMS): Do not use macros from bp-asm.h.
19211 (__stpcpy): Likewise. Do not use BP_SYM.
19212 (stpcpy): Do not use BP_SYM in weak_alias.
19213 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
19215 (PARMS): Do not use macros from bp-asm.h.
19219 (__stpncpy): Likewise. Do not use BP_SYM.
19220 (stpncpy): Do not use BP_SYM in weak_alias.
19221 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
19222 (PARMS): Do not use macros from bp-asm.h.
19225 (strchr): Likewise. Do not use BP_SYM.
19226 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
19228 (PARMS): Do not use macros from bp-asm.h.
19231 (__strchrnul): Likewise. Do not use BP_SYM.
19232 (strchrnul): Do not use BP_SYM in weak_alias.
19233 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
19235 (PARMS): Do not use macros from bp-asm.h.
19237 (strcspn): Do not use BP_SYM.
19238 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
19240 (PARMS): Do not use macros from bp-asm.h.
19243 (strpbrk): Likewise. Do not use BP_SYM.
19244 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
19246 (PARMS): Do not use macros from bp-asm.h.
19249 (strrchr): Likewise. Do not use BP_SYM.
19250 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
19251 (PARMS): Do not use macros from bp-asm.h.
19253 (strspn): Do not use BP_SYM.
19254 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
19255 (PARMS): Do not use macros from bp-asm.h.
19259 (FUNCTION): Likewise. Do not use BP_SYM.
19260 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
19262 (strtok_r): Likewise.
19263 (__GI___strtok_r): Likewise.
19264 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
19265 (PARMS): Do not use macros from bp-asm.h.
19269 (__mpn_sub_n): Do not use BP_SYM.
19270 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
19272 (PARMS): Do not use macros from bp-asm.h.
19275 (__mpn_submul_1): Do not use BP_SYM.
19276 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
19278 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
19280 (PARMS): Do not use macros from bp-asm.h.
19285 (__clone): Do not use BP_SYM.
19286 (clone): Do not use BP_SYM in weak_alias.
19287 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
19289 (PARMS): Do not use macros from bp-asm.h.
19291 (__mmap64): Do not use BP_SYM.
19292 (mmap64): Do not use BP_SYM in weak_alias.
19293 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
19294 <bp-sym.h> and <bp-asm.h>.
19295 (PARMS): Do not use macros from bp-asm.h.
19296 (__posix_fadvise64_l64): Do not use BP_SYM.
19297 * sysdeps/unix/sysv/linux/i386/semtimedop.S
19298 (PARMS): Do not use macros from bp-asm.h.
19300 (semtimedop): Do not use BP_SYM.
19301 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
19304 2013-02-21 Allan McRae <allan@archlinux.org>
19306 * manual/message.texi (Charset conversion in gettext):
19307 Move @end statement to beginning of line.
19309 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19311 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
19313 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
19316 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
19317 (denorm): Likewise.
19318 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
19319 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
19321 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19323 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
19324 tail-call to the resolved function if pltexit isn't needed.
19326 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19328 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
19329 or Y being zero as being unlikely.
19330 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
19333 2013-02-20 Carlos O'Donell <carlos@redhat.com>
19335 * manual/nss.texi (System Databases and Name Service Switch):
19336 Remove frobnicate @pxref.
19338 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
19340 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
19341 __attribute__ ((unused)) to __attribute__ ((__unused__)).
19343 2013-02-20 Petr Machata <pmachata@redhat.com>
19345 * elf/elf.h (R_ARM_TARGET1): New macro.
19346 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
19347 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
19348 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
19349 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
19350 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
19351 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
19352 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
19353 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
19354 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
19355 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
19356 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
19357 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
19358 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
19359 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
19360 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
19361 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
19362 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
19363 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
19364 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
19365 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
19366 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
19367 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
19368 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
19369 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
19370 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
19371 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
19372 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
19373 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
19374 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
19375 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
19376 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
19377 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
19378 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
19379 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
19380 (R_ARM_THM_GOT_BREL12): Likewise.
19381 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
19382 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
19383 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
19384 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
19385 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
19386 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
19387 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
19388 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
19389 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
19391 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
19393 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
19394 __attribute_used__ to __attribute__ ((unused)).
19396 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
19398 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
19400 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
19401 comment formatting.
19402 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
19404 2013-02-19 Joseph Myers <joseph@codesourcery.com>
19407 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
19409 (ENTER): Remove both macro definitions.
19411 (CHECK_BOUNDS_LOW): Likewise.
19412 (CHECK_BOUNDS_HIGH): Likewise.
19413 (CHECK_BOUNDS_BOTH): Likewise.
19414 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
19415 (RETURN_BOUNDED_POINTER): Likewise.
19416 (RETURN_NULL_BOUNDED_POINTER): Likewise.
19417 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
19418 (POP_ERRNO_LOCATION_RETURN): Likewise.
19419 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
19420 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19421 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
19423 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19424 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
19425 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
19426 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
19427 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
19428 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
19429 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
19430 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
19431 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
19432 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
19433 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
19434 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
19435 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19436 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
19438 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19439 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
19441 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19442 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
19443 * sysdeps/i386/i586/memset.S (memset): Likewise.
19444 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
19445 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19446 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
19448 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19449 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
19450 Change uses of L(2) to L(out).
19451 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
19452 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
19453 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
19454 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19455 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
19457 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19458 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
19460 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19461 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
19462 (RETURN): Do not use macro LEAVE.
19463 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
19464 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
19465 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
19466 * sysdeps/i386/i686/memset.S (memset): Likewise.
19467 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
19468 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
19469 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
19470 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
19472 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19473 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
19474 L(1_2) and L(1_3) into L(1).
19475 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
19476 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
19477 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19478 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
19479 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
19480 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
19481 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
19482 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19483 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
19485 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
19486 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19487 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
19488 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
19489 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
19490 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19491 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
19492 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
19493 * sysdeps/i386/strcspn.S (strcspn): Likewise.
19494 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
19495 * sysdeps/i386/strrchr.S (strrchr): Likewise.
19496 * sysdeps/i386/strspn.S (strspn): Likewise.
19497 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
19499 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19500 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
19501 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
19502 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
19503 L(1_3) into L(1_1).
19504 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
19505 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19506 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
19508 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19510 2013-02-19 Jakub Jelinek <jakub@redhat.com>
19512 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
19515 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19517 * math/atest-exp.c (exp_mpn): Remove ROUND.
19518 * math/atest-exp2.c (exp_mpn): Likewise.
19519 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
19521 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
19522 * stdlib/tst-tls-atexit-lib.c: Likewise.
19523 * stdlib/tst-tls-atexit.c: Likewise.
19525 2013-02-18 Mike Frysinger <vapier@gentoo.org>
19527 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
19528 and __attribute_alloc_size__.
19530 2013-02-18 Mike Frysinger <vapier@gentoo.org>
19532 * include/programs/xmalloc.h: Change __attribute_alloc_size to
19533 __attribute_alloc_size__.
19534 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
19535 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
19537 2013-02-18 Mike Frysinger <vapier@gentoo.org>
19539 * include/programs/xmalloc.h: New file.
19540 * catgets/gencat.c: Include it.
19541 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
19542 * elf/pldd.c: Likewise.
19543 * iconv/iconv_charmap.c: Likewise.
19544 * iconv/iconvconfig.c: Likewise.
19545 * iconv/strtab.c: Likewise.
19546 * locale/programs/locale.c: Likewise.
19547 * locale/programs/localedef.h: Likewise.
19548 * locale/programs/simple-hash.c: Likewise.
19549 * nscd/nscd.h: Likewise.
19550 * nss/makedb.c: Likewise.
19551 * sysdeps/generic/ldconfig.h: Likewise.
19553 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19555 * Versions.def: Add GLIBC_2.18.
19556 * include/link.h (struct link_map): New member l_tls_dtor_count.
19557 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
19558 (__call_tls_dtors): Likewise.
19559 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
19560 __cxa_thread_atexit_impl.
19561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19565 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19567 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19569 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
19570 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
19572 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
19574 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
19575 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
19577 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
19578 (tests): Add test case tst-tls-atexit.
19579 (modules-names): Add shared library for tst-tls-atexit.
19580 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
19581 (GLIBC_PRIVATE): Add __call_tls_dtors.
19582 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
19584 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
19585 * stdlib/tst-tls-atexit.c: New test case.
19586 * stdlib/tst-tls-atexit-lib.c: New test case.
19588 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
19590 * elf/Versions (ld): Add _dl_find_dso_for_object.
19591 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
19592 * elf/dl-open.c (_dl_find_dso_for_object): New function.
19593 (dl_open_worker): Use _dl_find_dso_for_object.
19594 * elf/dl-sym.c (do_sym): Likewise.
19595 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
19597 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19599 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
19600 Syntactic changes only.
19601 (_dl_runtime_profile): Do a tail-call to the resolved function.
19603 2013-02-17 Joseph Myers <joseph@codesourcery.com>
19606 * sysdeps/x86_64/bp-asm.h: Remove file.
19607 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
19608 <bp-sym.h> and <bp-asm.h>.
19609 (__clone): Do not use BP_SYM.
19610 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
19611 <bp-sym.h> and <bp-asm.h>.
19612 * sysdeps/unix/x86_64/sysdep.S: Likewise.
19613 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
19615 (_setjmp): Do not use BP_SYM.
19616 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
19618 (setjmp): Do not use BP_SYM.
19619 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
19621 (mempcpy): Do not use BP_SYM in weak_alias.
19622 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
19624 (strchr): Do not use BP_SYM.
19625 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
19627 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
19628 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
19629 (_start): Do not use BP_SYM.
19630 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
19632 (strcat): Do not use BP_SYM.
19633 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
19635 (STRCMP): Do not use BP_SYM.
19636 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
19638 (STRCPY): Do not use BP_SYM.
19639 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
19641 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
19643 (FUNCTION): Do not use BP_SYM.
19644 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
19646 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
19648 2013-02-17 Andreas Jaeger <aj@suse.de>
19650 * time/Versions: Sort entries.
19651 * string/Versions: Likewise.
19652 * resolv/Versions: Likewise.
19653 * posix/Versions: Likewise.
19654 * iconv/Versions: Likewise.
19655 * elf/Versions: Likewise.
19656 * wcsmbs/Versions: Likewise.
19658 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19660 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
19661 loop termination condition.
19663 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
19664 variable to calculate EZ.
19667 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
19668 the lower precision input.
19670 2013-02-15 Joseph Myers <joseph@codesourcery.com>
19673 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
19674 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
19675 (run-via-rtld-prefix): Do not handle %-bp tests.
19676 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
19677 (all-object-suffixes): Remove .ob.
19678 (bppfx): Remove variable.
19679 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
19680 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
19681 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
19682 [$(build-bounded) = yes] (libtype.ob): Likewise.
19683 * Makerules (elide-routines.ob): Remove variable.
19684 (do-tests-clean): Do not handle *-bp.out.
19685 (common-mostlyclean): Do not handle *-bp and *-bp.out.
19686 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
19687 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
19688 (tests): Do not include $(tests-bp.out).
19689 (xtests): Do not include $(xtests-bp.out).
19690 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
19691 [$(build-bounded) = yes] ($(addprefix
19692 $(objpfx),$(binaries-bounded))): Remove rule.
19693 ($(objpfx)%-bp.out): Remove rule.
19694 * config.make.in (build-bounded): Remove variable.
19695 * crypt/Makefile [$(build-bounded) = yes]
19696 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
19697 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
19698 append to variable.
19699 [$(build-bounded) = yes] (install-lib): Likewise.
19700 [$(build-bounded) = yes] (generated): Likewise.
19701 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
19703 * intl/Makefile [$(build-bounded) = yes]
19704 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
19705 * math/Makefile [$(build-bounded) = yes]
19706 ($(tests:%=$(objpfx)%-bp): Likewise.
19707 * misc/Makefile [$(build-bounded) = yes]
19708 ($(objpfx)tst-tsearch-bp): Likewise.
19709 * nptl/Makeconfig (bounded-thread-library): Remove variable.
19710 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
19712 * string/Makefile (o-objects.ob): Remove variable.
19713 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
19714 (CFLAGS-.ob): Remove variable.
19715 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
19716 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
19717 both definitions of variable.
19718 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
19719 (ASFLAGS-.ob): Remove variable.
19721 2013-02-14 Joseph Myers <joseph@codesourcery.com>
19724 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
19725 Remove __BOUNDED_POINTERS__ from condition.
19726 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
19727 * string/bits/string2.h [!__NO_STRING_INLINES &&
19728 !__BOUNDED_POINTERS__]: Likewise.
19729 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
19731 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
19732 Remove conditional code.
19733 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
19734 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
19735 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
19739 * csu/libc-start.c: Do not include <bp-sym.h>.
19740 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
19741 * elf/dl-open.c: Do not include <bp-sym.h>.
19742 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
19743 * math/fegetenv.c: Do not include <bp-sym.h>.
19744 (fegetenv): Do not use BP_SYM in versioned symbols.
19745 * nptl/sysdeps/pthread/bits/libc-lockP.h
19746 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
19748 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19749 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
19750 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19751 (__pthread_mutex_destroy): Likewise.
19752 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19753 (__pthread_mutex_lock): Likewise.
19754 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19755 (__pthread_mutex_trylock): Likewise.
19756 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19757 (__pthread_mutex_unlock): Likewise.
19758 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19759 (__pthread_mutexattr_init): Likewise.
19760 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19761 (__pthread_mutexattr_destroy): Likewise.
19762 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19763 (__pthread_mutexattr_settype): Likewise.
19764 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19765 (__pthread_rwlock_init): Likewise.
19766 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19767 (__pthread_rwlock_destroy): Likewise.
19768 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19769 (__pthread_rwlock_rdlock): Likewise.
19770 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19771 (__pthread_rwlock_tryrdlock): Likewise.
19772 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19773 (__pthread_rwlock_wrlock): Likewise.
19774 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19775 (__pthread_rwlock_trywrlock): Likewise.
19776 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19777 (__pthread_rwlock_unlock): Likewise.
19778 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19779 (__pthread_key_create): Likewise.
19780 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19781 (__pthread_setspecific): Likewise.
19782 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19783 (__pthread_getspecific): Likewise.
19784 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
19786 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19787 (_pthread_cleanup_push_defer): Likewise.
19788 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19789 (_pthread_cleanup_pop_restore): Likewise.
19790 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19791 (pthread_setcancelstate): Likewise.
19792 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
19794 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
19795 (memchr): Do not use BP_SYM in weak_alias.
19796 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
19797 (fegetenv): Do not use BP_SYM in versioned symbols.
19798 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
19799 (fesetenv): Do not use BP_SYM in versioned symbols.
19800 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
19801 (feupdateenv): Do not use BP_SYM in versioned symbols.
19802 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
19803 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
19804 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
19805 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
19806 (open64): Do not use BP_SYM in weak_alias.
19807 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
19808 (fegetenv): Do not use BP_SYM in versioned symbols.
19809 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
19810 (fesetenv): Do not use BP_SYM in versioned symbols.
19811 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
19812 (feupdateenv): Do not use BP_SYM in versioned symbols.
19813 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
19814 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
19815 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
19816 (feraiseexcept): Do not use BP_SYM in versioned symbols.
19817 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
19818 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
19819 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
19821 (__libc_start_main): Do not use BP_SYM.
19823 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19825 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
19826 redundant return line.
19828 (denorm): Likewise.
19829 (dbl_mp): Likewise.
19830 (sub_magnitudes): Likewise.
19836 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
19838 (denorm): Likewise.
19839 (dbl_mp): Likewise.
19840 (sub_magnitudes): Likewise.
19847 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
19849 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
19850 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
19853 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
19854 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
19855 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
19856 of __mul for squares.
19857 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
19859 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
19861 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
19862 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
19864 2013-02-13 Joseph Myers <joseph@codesourcery.com>
19867 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
19869 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
19870 prototype or function definition. Rename ubp_* variables and
19871 parameters. Remove argv definitions conditional on
19872 [__BOUNDED_POINTERS__].
19873 * debug/backtrace.c (__backtrace): Do not use __unbounded.
19874 * elf/dl-runtime.c (_dl_fixup): Likewise.
19875 * include/set-hooks.h (RUN_HOOK): Likewise.
19876 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
19878 * string/strcpy.c (strcpy): Do not use __unbounded.
19879 * sysdeps/generic/frame.h (struct layout): Likewise.
19880 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
19881 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
19882 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
19883 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
19884 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
19885 (__backtrace): Likewise.
19886 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
19888 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
19889 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
19890 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
19892 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
19893 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
19894 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
19895 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
19896 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
19897 Do not use __unbounded.
19898 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
19899 Rename __unboundedrlimits parameter to rlimits in prototype.
19900 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
19901 Do not use __unbounded.
19902 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
19903 not use __ptrvalue.
19904 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
19905 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
19906 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
19907 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
19908 __ptrvalue or __unbounded.
19909 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
19910 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
19912 (__new_msgctl): Do not use __ptrvalue.
19913 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
19915 (__libc_msgrcv): Do not use __ptrvalue.
19916 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
19917 startup_info): Do not use __unbounded.
19918 (__libc_start_main): Likewise. Rename ubp_* variables and
19919 parameters. Remove argv definitions conditional on
19920 [__BOUNDED_POINTERS__].
19921 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
19923 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
19925 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
19927 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
19929 (__new_shmctl): Do not use __ptrvalue.
19930 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
19931 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
19933 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
19934 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
19935 (__libc_sigaction): Likewise.
19936 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
19937 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
19939 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
19941 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
19943 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
19945 * string/mempcpy.c: Implement by calling memcpy.
19947 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
19949 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
19951 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
19954 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
19955 values in the mantissa.
19957 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
19958 minimize writes to Z.
19959 (sub_magnitudes): Simplify code a bit.
19961 2013-02-12 Roland McGrath <roland@hack.frob.com>
19963 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
19964 from the message. The linker prefixes all warnings with that already.
19966 2013-02-12 Andreas Schwab <schwab@suse.de>
19969 * posix/regexec.c (extend_buffers): Add parameter min_len.
19970 (check_matching): Pass minimum needed length.
19971 (clean_state_log_if_needed): Likewise.
19972 (get_subexp): Likewise.
19973 * posix/Makefile (tests): Add bug-regex34.
19974 (bug-regex34-ENV): Define.
19975 * posix/bug-regex34.c: New file.
19978 * posix/regcomp.c (parse_bracket_exp): When looking up collating
19979 elements compare against the byte sequence of it, not its name.
19980 * posix/Makefile (tests): Add bug-regex35.
19981 (bug-regex35-ENV): Define.
19982 * posix/bug-regex35.c: New file.
19984 2013-02-11 Tom de Vries <tom@codesourcery.com>
19986 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
19988 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
19989 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
19990 (CHECK_EOL): Add undef.
19992 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
19994 * bits/stdlib-bsearch.h: New file.
19995 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
19996 * stdlib/stdlib.h: Likewise.
19998 2013-02-11 Roland McGrath <roland@hack.frob.com>
20000 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
20001 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
20003 * manual/search.texi (Array Search Function): Add missing const in
20005 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
20006 declaration to use rlim_t.
20007 (Basic Scheduling Functions): Remove erroneous const from
20008 sched_getparam prototype. Remove erroneous * from
20009 sched_get_priority_max and sched_get_priority_min prototypes.
20010 (Resource Usage): Fix summary @comment on vtimes to refer to
20011 sys/vtimes.h rather than vtimes.h.
20012 Add missing *s in vtimes prototype.
20013 (Limits on Resources): Fix ulimit prototype to return long int.
20014 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
20015 prototypes to use long int rather than double.
20016 (BSD Random): Fix initstate and setstate to use char *, not void *.
20017 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
20018 prototype to make second argument 'struct aiocb64 *const[]'.
20019 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
20020 (Status of AIO Operations): Remove erroneous const in aio_return and
20021 aio_return64 prototypes.
20022 (Synchronizing I/O): Fix sync prototype to return void.
20023 * manual/startup.texi (Suboptions): Remove an erroneous const in
20024 getsubopt prototype.
20025 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
20026 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
20027 use size_t rather than int.
20028 (Scanning All Users): Likewise for getpwent_r.
20029 (Setting Groups): Add missing const to setgroups prototype.
20030 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
20031 * manual/socket.texi (Host Names): Fix gethostbyaddr and
20032 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
20033 'const void *' rather than 'const char *'.
20034 (Host Address Functions): Likewise for inet_ntop.
20035 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
20036 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
20037 ssize_t for return value.
20038 (Sending Data): Likewise for send, sendto, sendmsg.
20039 (Socket Option Functions): Add a missing const in setsockopt prototype.
20040 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
20041 use wchar_t for the argument.
20042 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
20043 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
20045 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
20046 double/float/long double for second argument.
20047 Fix return types of significand, significandf, significandl.
20048 * manual/filesys.texi (Setting Permissions): Use mode_t for second
20049 argument in fchmod prototype.
20050 (File Owner): Use uid_t and gid_t in fchown prototype.
20051 (File Times): Add const to utimes, futimes, and lutimes prototypes.
20052 (Making Special Files): Use mode_t and dev_t in mknod prototype.
20053 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
20054 use 'const struct dirent **' as argument types to CMP function pointer
20056 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
20057 (File Times): Fix summary magic @comment for struct utimbuf and utime
20058 to refer to utime.h, not time.h.
20059 * manual/string.texi (Argz Functions): Add missing const in
20060 argz_extract and argz_next prototypes.
20061 (Finding Tokens in a String): Likewise for basename.
20062 (String/Array Comparison): Fix typo in wcscasecmp prototype.
20063 (Copying and Concatenation): Fix typo in wmemmove prototype.
20064 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
20065 (Signal Stack): Remove erroneous const in sigstack prototype.
20066 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
20068 (Simple Calendar Time): Likewise for stime.
20069 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
20071 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
20072 say sys/sysctl.h instead.
20073 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
20074 and vsyslog prototypes.
20076 2013-02-11 Tom de Vries <tom@codesourcery.com>
20078 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
20081 2013-02-11 Roland McGrath <roland@hack.frob.com>
20083 * misc/sys/mman.h: Fix typo in mremap comment.
20085 2013-02-08 Roland McGrath <roland@hack.frob.com>
20087 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
20088 the '\0' terminator.
20090 2013-02-08 Joseph Myers <joseph@codesourcery.com>
20093 * debug/segfault.c: Don't include <bp-checks.h>.
20094 * sysdeps/generic/bp-checks.h: Remove file.
20095 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
20096 (__GETDENTS): Don't use CHECK_N.
20097 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
20098 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
20099 (__getgroups): Don't use CHECK_N.
20100 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
20101 (setgroups): Don't use CHECK_N.
20102 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
20103 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
20104 (__libc_msgrcv): Don't use CHECK_N.
20105 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
20106 (__libc_msgsnd): Don't use CHECK_N.
20107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
20109 (__libc_pread): Don't use CHECK_N.
20110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
20111 include <bp-checks.h>.
20112 (__libc_pread64): Don't use CHECK_N.
20113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
20114 include <bp-checks.h>.
20115 (__libc_pwrite): Don't use CHECK_N.
20116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
20117 include <bp-checks.h>.
20118 (__libc_pwrite64): Don't use CHECK_N.
20119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
20121 (__libc_pread): Don't use CHECK_N.
20122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
20123 include <bp-checks.h>.
20124 (__libc_pread64): Don't use CHECK_N.
20125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
20126 include <bp-checks.h>.
20127 (__libc_pwrite): Don't use CHECK_N.
20128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
20129 include <bp-checks.h>.
20130 (__libc_pwrite64): Don't use CHECK_N.
20131 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
20132 (do_pread): Don't use CHECK_N.
20133 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
20134 (do_pread64): Don't use CHECK_N.
20135 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
20136 (do_pwrite): Don't use CHECK_N.
20137 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
20138 (do_pwrite64): Don't use CHECK_N.
20139 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
20140 (__libc_readv): Don't use CHECK_N.
20141 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
20142 (semop): Don't use CHECK_N.
20143 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
20145 (semtimedop): Don't use CHECK_N.
20146 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
20147 (__libc_pread): Don't use CHECK_N.
20148 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
20150 (__libc_pread64): Don't use CHECK_N.
20151 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
20153 (__libc_pwrite): Don't use CHECK_N.
20154 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
20156 (__libc_pwrite64): Don't use CHECK_N.
20157 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
20159 (__libc_msgrcv): Don't use CHECK_N.
20160 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
20161 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
20162 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
20163 (__libc_writev): Don't use CHECK_N.
20165 2013-02-08 Roland McGrath <roland@hack.frob.com>
20167 * string/strcpy.c: Removed unused variable.
20169 * Makeconfig (+sysdep-includes): Define with := rather than =.
20170 Use an existing include/ subdir of each sysdeps dir before it.
20172 2013-02-08 Carlos O'Donell <carlos@redhat.com>
20174 * nscd/connection.c (register_traced_file): Comment function.
20175 [HAVE_INOTIFY] (union __inev): Define.
20176 [HAVE_INOTIFY] (inotify_check_files): New function.
20177 [HAVE_INOTIFY] (clear_db_cache): Likewise.
20178 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
20180 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
20182 2013-02-08 Carlos O'Donell <carlos@redhat.com>
20184 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
20185 loaded if not already and that a failure is permanent.
20187 2013-02-08 Carlos O'Donell <carlos@redhat.com>
20190 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
20191 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
20193 2013-02-08 Joseph Myers <joseph@codesourcery.com>
20196 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
20197 (CHECK_1_NULL_OK): Likewise.
20198 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
20199 (__fxstat): Do not use CHECK_1.
20200 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
20202 (___fxstat64): Do not use CHECK_1.
20203 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
20205 (__fxstatat): Do not use CHECK_1.
20206 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
20208 (__fxstatat64): Do not use CHECK_1.
20209 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
20211 (__fxstat): Do not use CHECK_1.
20212 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
20214 (__fxstatat): Do not use CHECK_1.
20215 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
20217 (__getresgid): Do not use CHECK_1.
20218 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
20220 (__getresuid): Do not use CHECK_1.
20221 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
20223 (__lxstat): Do not use CHECK_1.
20224 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
20226 (__old_msgctl): Do not use CHECK_1.
20227 (__new_msgctl): Likewise.
20228 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
20230 (__new_setrlimit): Do not use CHECK_1.
20231 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
20233 (__old_shmctl): Do not use CHECK_1.
20234 (__new_shmctl): Likewise.
20235 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
20237 (__xstat): Do not use CHECK_1.
20238 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
20239 (__lxstat): Do not use CHECK_1.
20240 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
20242 (___lxstat64): Do not use CHECK_1.
20243 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
20244 (__old_msgctl): Do not use CHECK_1.
20245 (__new_msgctl): Likewise.
20246 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
20248 (__gettimeofday): Do not use CHECK_1.
20249 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
20250 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
20251 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
20253 (__gettimeofday): Do not use CHECK_1.
20254 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
20255 (__old_shmctl): Do not use CHECK_1_NULL_OK.
20256 (__new_shmctl): Do not use CHECK_1.
20257 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
20259 (do_sigtimedwait): Do not use CHECK_1.
20260 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
20262 (do_sigwaitinfo): Do not use CHECK_1.
20263 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
20265 (msgctl): Do not use CHECK_1.
20266 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
20268 (shmctl): Do not use CHECK_1.
20269 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
20270 (ustat): Do not use CHECK_1.
20271 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
20273 (__fxstat): Do not use CHECK_1.
20274 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
20276 (__fxstatat): Do not use CHECK_1.
20277 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
20279 (__lxstat): Do not use CHECK_1.
20280 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
20282 (__xstat): Do not use CHECK_1.
20283 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
20284 (__xstat): Do not use CHECK_1.
20285 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
20286 (___xstat64): Do not use CHECK_1.
20289 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
20291 (CHECK_BOUNDS_HIGH): Likewise.
20292 * string/strcpy.c: Do not include <bp-checks.h>.
20293 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
20295 2013-02-07 Roland McGrath <roland@hack.frob.com>
20297 * nscd/nscd-client.h (__nscd_drop_map_ref):
20298 Add __attribute__ ((unused)).
20299 * nis/nss-nisplus.h (niserr2nss): Likewise.
20301 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
20302 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
20304 * csu/libc-tls.c (init_static_tls, init_slotinfo):
20305 Remove inline keyword.
20306 * include/rounding-mode.h (round_away): Likewise.
20307 * libio/wfileops.c (adjust_wide_data): Likewise.
20308 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
20309 (__m128i_strloadu_tolower): Likewise.
20310 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
20311 (__m128i_strloadu_tolower): Likewise.
20312 * time/mktime.c (ydhms_diff): Likewise.
20313 * locale/elem-hash.h (elem_hash): Likewise.
20314 * locale/setlocale.c (setdata): Likewise.
20315 * posix/regex_internal.h (re_string_char_size_at): Likewise.
20316 (re_string_wchar_at): Likewise.
20317 (bitset_not, bitset_merge, bitset_mask): Likewise.
20318 [!(__GNUC__ > 3)] (inline): Remove macro.
20319 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
20320 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
20321 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
20322 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
20323 * string/memcmp.c (memcmp_bytes): Likewise.
20324 * locale/programs/locarchive.c (compute_hashval): Likewise.
20325 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
20326 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
20327 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
20328 * nss/getent.c (print_rpc, print_protocols): Likewise.
20329 (print_passwd, print_group, print_aliases): Likewise.
20330 * nis/nss-nisplus.h (niserr2nss): Likewise.
20331 * nscd/connections.c (restart_p): Likewise.
20332 Change return type to bool.
20334 2013-02-05 Roland McGrath <roland@hack.frob.com>
20336 * Makeconfig (all-Depend-files): Add existing
20337 $(sorted-subdirs:=/Depend) files.
20338 (all-subdirs): Remove nss.
20339 * sysdeps/unix/inet/Subdirs: Add it here instead.
20340 * hesiod/Depend: New file.
20342 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
20343 instead of calling alloca.
20345 * io/lseek.c (__lseek): Rename to __libc_lseek.
20346 Define __lseek as an alias.
20348 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
20350 2013-02-04 Carlos O'Donell <carlos@redhat.com>
20352 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
20353 else clause and remove check for non-standard endianness.
20355 2013-02-04 David S. Miller <davem@davemloft.net>
20357 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20359 2013-02-04 Joseph Myers <joseph@codesourcery.com>
20362 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
20363 (__ubp_memchr): Remove prototype.
20364 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
20365 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
20366 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
20367 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
20368 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
20370 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
20371 (__ubp_memchr): Likewise.
20372 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
20373 (__ubp_memchr): Likewise.
20374 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
20375 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
20376 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
20377 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
20379 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
20380 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
20381 (__getcwd): Do not use CHECK_STRING.
20382 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
20384 (__real_chown): Do not use CHECK_STRING.
20385 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
20387 (fchownat): Do not use CHECK_STRING.
20388 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
20390 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
20392 (__lchown): Do not use CHECK_STRING.
20393 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
20394 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
20395 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
20396 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
20397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
20398 include <bp-checks.h>.
20399 (truncate64): Do not use CHECK_STRING.
20400 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
20402 (__real_chown): Do not use CHECK_STRING.
20403 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
20405 (__lchown): Do not use CHECK_STRING.
20406 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
20408 (__chown): Do not use CHECK_STRING.
20409 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
20411 (truncate64): Do not use CHECK_STRING.
20412 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
20414 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
20415 (__xmknod): Do not use CHECK_STRING.
20416 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
20418 (__xmknodat): Do not use CHECK_STRING.
20419 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
20420 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
20422 2013-02-04 Andreas Schwab <schwab@suse.de>
20425 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
20426 * include/netdb.h: Likewise for h_errno.
20427 * elf/tst-stackguard1.c: Include <tls.h>.
20429 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
20431 * elf/link.h (struct link_map): Extend the l_addr comment.
20432 * include/link.h (struct link_map): Likewise.
20434 2013-02-01 Joseph Myers <joseph@codesourcery.com>
20437 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
20438 (BOUNDED_1): Remove macro.
20439 * debug/backtrace.c: Don't include <bp-checks.h>.
20440 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
20441 (__backtrace): Likewise.
20442 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
20444 (__backtrace): Don't use BOUNDED_1.
20445 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
20447 (__backtrace): Don't use BOUNDED_1.
20448 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
20449 (__backtrace): Don't use BOUNDED_1.
20450 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
20451 (shmat): Don't use BOUNDED_N.
20453 2013-01-31 Joseph Myers <joseph@codesourcery.com>
20456 * sysdeps/generic/bp-start.h: Remove file.
20457 * csu/libc-start.c: Don't include <bp-start.h>.
20458 (LIBC_START_MAIN): Set up __environ directly instead of using
20459 INIT_ARGV_and_ENVIRON.
20460 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
20464 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
20466 (CHECK_FCNTL): Likewise.
20467 (CHECK_N_PAGES): Likewise.
20470 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
20472 (CHECK_SIGSET_NULL_OK): Likewise.
20473 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
20475 (sigpending): Don't use CHECK_SIGSET.
20476 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
20478 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
20479 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
20481 (do_sigsuspend): Don't use CHECK_SIGSET.
20482 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
20484 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
20485 (do_sigwait): Don't use CHECK_SIGSET.
20486 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
20488 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
20489 include <bp-checks.h>.
20490 (sigpending): Don't use CHECK_SIGSET.
20491 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
20492 include <bp-checks.h>.
20493 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
20494 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
20496 (sigpending): Don't use CHECK_SIGSET.
20497 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
20499 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
20502 * sysdeps/generic/bp-semctl.h: Remove file.
20503 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
20504 <bp-checks.h> and <bp-semctl.h>.
20505 (__old_semctl): Don't use CHECK_SEMCTL.
20506 (__new_semctl): Likewise.
20507 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
20509 (__old_semctl): Don't use CHECK_SEMCTL.
20510 (__new_semctl): Likewise.
20511 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
20512 <bp-checks.h> and <bp-semctl.h>.
20513 (__old_semctl): Don't use CHECK_SEMCTL.
20514 (__new_semctl): Likewise.
20515 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
20516 <bp-checks.h> and <bp-semctl.h>.
20517 (semctl): Don't use CHECK_SEMCTL.
20520 * Makerules (elide-bp-thunks): Remove variable.
20521 (elide-routines.oS): Don't use $(elide-bp-thunks).
20522 (elide-routines.os): Likewise.
20523 (elide-routines.o): Likewise.
20524 (elide-routines.op): Likewise.
20525 (elide-routines.og): Likewise.
20526 (objects): Don't use $(bp-thunks).
20527 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
20529 (common-generated): Do not add s-proto-bp.d.
20530 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
20533 Do not generate makefile rules for bounded-pointer thunks.
20534 * sysdeps/generic/bp-thunks.h: Remove file.
20535 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
20536 * sysdeps/unix/s-proto-bp.S: Likewise.
20539 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
20540 parts of result separately when argument is not close to line from
20541 -i to i and one part of argument is small.
20542 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20543 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20544 * math/libm-test.inc (cacos_test): Add more tests.
20545 (casin_test): Likewise.
20546 (casinh_test): Likewise.
20547 * sysdeps/i386/fpu/libm-test-ulps: Update.
20548 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20550 2013-01-31 David S. Miller <davem@davemloft.net>
20552 * po/de.po: Update from translation team.
20554 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
20556 * time/tzfile.c: Include stdint.h for SIZE_MAX.
20558 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
20560 * configure.in (_AC_PROG_CC_C89): New definition.
20561 * configure: Regenerate.
20563 * configure.in (AC_PROG_CPP): New definition.
20564 * configure: Regenerate.
20566 2013-01-23 Joseph Myers <joseph@codesourcery.com>
20568 * debug/tst-backtrace.h: New file.
20569 * debug/tst-backtrace2.c: Include tst-backtrace.h.
20570 (ret): Remove variable.
20572 (FAIL): Remove macro.
20573 (NO_INLINE): Likewise.
20574 (fn1): Use match function instead of strstr.
20575 * debug/tst-backtrace3.c: Include tst-backtrace.h.
20576 (ret): Remove variable.
20578 (FAIL): Remove macro.
20579 (NO_INLINE): Likewise.
20580 (fn): Use match function instead of strstr.
20581 * debug/tst-backtrace4.c: Include tst-backtrace.h.
20582 (ret): Remove variable.
20584 (FAIL): Remove macro.
20585 (NO_INLINE): Likewise.
20586 (handle_signal): Use match function instead of strstr.
20587 * debug/tst-backtrace5.c: Include tst-backtrace.h.
20588 (ret): Remove variable.
20590 (FAIL): Remove macro.
20591 (NO_INLINE): Likewise.
20592 (handle_signal): Use match function instead of strstr.
20594 2013-01-23 Roland McGrath <roland@hack.frob.com>
20596 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
20598 2013-01-23 David S. Miller <davem@davemloft.net>
20600 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
20601 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
20602 argument of CAS if possible.
20603 * sysdeps/sparc/sparc64/bits/atomic.h
20604 (__arch_compare_and_exchange_val_32_acq): Likewise.
20605 (__arch_compare_and_exchange_val_64_acq): Likewise.
20607 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
20609 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
20610 * sysdeps/posix/ulimit.c: ... this.
20611 Include <limits.h>.
20612 * sysdeps/unix/bsd/ulimit.c: Remove file.
20614 2013-01-23 Adam Conrad <adconrad@0c3.net>
20616 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
20617 (LDFLAGS-tst-array5): Likewise.
20619 2013-01-23 Joseph Myers <joseph@codesourcery.com>
20622 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
20623 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
20624 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
20625 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
20627 2013-01-21 David S. Miller <davem@davemloft.net>
20629 * sysdeps/sparc/backtrace.c: New file.
20630 * sysdeps/sparc/sparc32/backtrace.h: New file.
20631 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
20632 * sysdeps/sparc/sparc64/backtrace.h: New file.
20633 * sysdeps/sparc/sparc64/backtrace.c: Delete.
20634 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
20637 2013-01-21 Andreas Schwab <schwab@suse.de>
20640 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
20643 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
20645 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
20647 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20649 2013-01-18 Joseph Myers <joseph@codesourcery.com>
20650 Mark Mitchell <mark@codesourcery.com>
20651 Tom de Vries <tom@codesourcery.com>
20652 Paul Pluzhnikov <ppluzhnikov@google.com>
20654 * debug/tst-backtrace2.c: New file.
20655 * debug/tst-backtrace3.c: Likewise.
20656 * debug/tst-backtrace4.c: Likewise.
20657 * debug/tst-backtrace5.c: Likewise.
20658 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
20659 (CFLAGS-tst-backtrace3.c): Likewise.
20660 (CFLAGS-tst-backtrace4.c): Likewise.
20661 (CFLAGS-tst-backtrace5.c): Likewise.
20662 (LDFLAGS-tst-backtrace2): Likewise.
20663 (LDFLAGS-tst-backtrace3): Likewise.
20664 (LDFLAGS-tst-backtrace4): Likewise.
20665 (LDFLAGS-tst-backtrace5): Likewise.
20666 (tests): Add new tests tst-backtrace2, tst-backtrace3,
20667 tst-backtrace4 and tst-backtrace5.
20669 2013-01-18 Anton Blanchard <anton@samba.org>
20670 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20672 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
20673 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
20674 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
20675 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
20676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20677 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
20678 "+r" and remove output regs list as redundant. Add explicit inline
20679 asm to specify register of return val to work around compiler codegen
20680 bug. Remove (int) cast on return value. Add return type parameter to
20681 use in macro so that this macro does not truncate return value for
20683 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
20684 pass to INTERNAL_VSYSCALL_NCS.
20685 (INLINE_VSYSCALL): Add 'long int' as return type to
20686 INTERNAL_VSYSCALL_NCS macro invocation.
20687 (INTERNAL_VSYSCALL): Add 'long int' as return type to
20688 INTERNAL_VSYSCALL_NCS macro invocation.
20689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20691 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
20694 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
20695 Fix application of SIMD FP exception mask.
20697 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
20698 mp_no from a power of two.
20699 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
20700 __mpexp_twomm1. Use __pow_mp.
20702 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
20705 2013-01-17 David S. Miller <davem@davemloft.net>
20707 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20709 2013-01-17 Joseph Myers <joseph@codesourcery.com>
20712 * include/complex.h: Condition contents on [!_COMPLEX_H].
20713 (__kernel_casinhf): New prototype.
20714 (__kernel_casinh): Likewise.
20715 (__kernel_casinhl): Likewise.
20716 * math/Makefile (libm_calls): Add k_casinh.
20717 * math/k_casinh.c: New file.
20718 * math/k_casinhf.c: Likewise.
20719 * math/k_casinhl.c: Likewise.
20720 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
20721 finite nonzero arguments.
20722 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
20723 finite nonzero arguments.
20724 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
20725 finite nonzero arguments.
20726 * math/s_casinh.c: Do not include <float.h>.
20727 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
20728 * math/s_casinhf.c: Do not include <float.h>.
20729 (__casinhf): Move code for finite nonzero arguments to
20731 * math/s_casinhl.c: Do not include <float.h>.
20732 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
20734 (__casinhl): Move code for finite nonzero arguments to
20736 * math/libm-test.inc (cacos_test): Add more tests.
20737 * sysdeps/i386/fpu/libm-test-ulps: Update.
20738 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20740 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
20742 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
20743 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
20744 [!HAVE_MREMAP]: Remove [defined linux] case.
20745 * malloc/arena.c: Do not include <malloc-sysdep.h>.
20747 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
20749 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
20751 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
20753 * elf/elf.h (R_386_SIZE32): New relocation.
20754 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
20756 (elf_machine_rela): Likewise.
20757 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
20758 R_X86_64_SIZE64 and R_X86_64_SIZE32.
20760 2013-01-17 Joseph Myers <joseph@codesourcery.com>
20762 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
20763 (FP_FAST_FMA): Do not define.
20764 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
20765 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
20766 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
20767 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
20768 !_SOFT_FLOAT]: Likewise.
20769 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
20770 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
20772 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
20773 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
20774 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
20775 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
20776 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
20777 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
20780 2013-01-16 Andreas Schwab <schwab@suse.de>
20783 * include/stdlib.h (__mktemp): Add declaration.
20784 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
20785 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
20787 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20789 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
20791 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
20792 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
20793 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
20795 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
20796 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
20798 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
20800 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
20801 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
20802 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
20804 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
20805 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
20807 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
20809 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
20811 2013-01-15 David S. Miller <davem@davemloft.net>
20813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20814 trunc{,f} to libm-sysdep_routes.
20815 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
20818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
20819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
20821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
20823 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
20824 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
20825 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
20826 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
20827 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
20828 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
20829 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
20830 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
20832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20833 nearbyint{,f} to libm-sysdep_routes.
20834 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
20837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
20839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
20841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
20843 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
20844 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
20845 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
20847 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
20848 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
20850 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
20851 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
20852 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
20854 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
20855 libc_feholdexcept and libc_fesetenv.
20857 2013-01-15 Mike Frysinger <vapier@gentoo.org>
20859 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
20861 2013-01-14 David S. Miller <davem@davemloft.net>
20863 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
20864 (SPARC_ASM_VIS2_IFUNC): Likewise.
20865 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
20866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
20867 use of 'siam' instruction.
20868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
20870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
20872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
20874 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
20875 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
20876 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
20877 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
20878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
20880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
20882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
20884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
20886 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
20887 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
20888 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
20889 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
20890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
20892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
20893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
20894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
20896 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
20897 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
20898 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
20899 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
20900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
20901 routines to libm-sysdep_routines.
20902 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20905 fdim/fdimf to libm-sysdep_routines.
20906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
20908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
20909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
20911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
20912 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
20913 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
20914 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
20915 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
20916 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
20917 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
20919 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
20921 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
20922 to optimize copies.
20924 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
20925 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
20926 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20928 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
20929 local variable MPTWO.
20930 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
20933 2013-01-13 Mike Frysinger <vapier@gentoo.org>
20935 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
20938 2013-01-13 Mike Frysinger <vapier@gentoo.org>
20940 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
20942 2013-01-13 Mike Frysinger <vapier@gentoo.org>
20944 * manual/pattern.texi (glob_t): Document gl_flags.
20945 (glob64_t): Likewise.
20947 2013-01-11 David S. Miller <davem@davemloft.net>
20949 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
20950 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
20951 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
20952 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
20953 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
20954 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
20955 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
20956 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
20957 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
20958 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
20959 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
20960 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
20961 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
20963 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
20964 sparc V9 rather than using V8 code.
20965 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
20966 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
20968 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
20970 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
20973 2013-01-11 Roland McGrath <roland@hack.frob.com>
20975 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
20976 not in the main loop.
20977 * configure: Regenerated.
20979 2013-01-11 Joseph Myers <joseph@codesourcery.com>
20981 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
20982 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
20984 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
20985 [!__GLIBC_HAVE_LONG_LONG] case.
20986 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
20987 condition to just #else.
20988 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
20989 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
20990 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
20991 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
20993 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
20994 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
20995 #elif condition to just #else.
20996 * sysdeps/unix/sysv/linux/sys/sysmacros.h
20997 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
20998 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
20999 #elif condition to just #else.
21001 2013-01-11 Steve Ellcey <sellcey@mips.com>
21003 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
21004 (EF_MIPS_ARCH_64): Fix value.
21005 (EF_MIPS_ARCH_32R2): New.
21006 (EF_MIPS_ARCH_64R2): New.
21008 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
21010 * Makeconfig (+link-pie-before-libc): New.
21011 (+link-pie-after-libc): Likewise.
21012 (+link-pie-tests): Likewise.
21013 (+link-pie): Rewritten.
21014 (link-before-libc): Remove $(config-LDFLAGS).
21015 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
21016 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
21017 (config-LDFLAGS): Renamed to ...
21018 (rtld-LDFLAGS): This.
21019 (rtld-tests-LDFLAGS): New macro.
21020 (link-libc-rpath-link): Likewise.
21021 (link-libc-tests-rpath-link): Likewise.
21022 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
21023 (link-libc): Prepand $(link-libc-rpath-link).
21024 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
21025 (test-program-prefix): New macro.
21026 (test-via-rtld-prefix): Likewise.
21027 (test-program-cmd): Likewise.
21028 (host-test-program-cmd): Likewise.
21029 * Makefile ($(common-objpfx)testrun.sh): Replace
21030 $(run-program-prefix) with $(test-program-prefix).
21031 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
21033 ($(common-objpfx)shlib.lds): Likewise.
21034 (build-module-helper): Likewise.
21035 ($(common-objpfx)format.lds): Likewise.
21036 * Rules (binaries-pie-tests): New.
21037 (binaries-pie-notests): Likewise.
21038 (binaries-pie): Rewritten.
21039 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
21040 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
21041 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
21042 (make-test-out): Replace $(host-built-program-cmd) with
21043 $(host-test-program-cmd).
21044 * config.make.in (build-hardcoded-path-in-tests): New variable.
21045 * configure.in (--enable-hardcoded-path-in-tests): New configure
21047 (hardcoded_path_in_tests): New AC_SUBST.
21048 * configure: Regenerated.
21049 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
21050 $(built-program-cmd) with $(test-program-cmd).
21051 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
21052 (test_program_cmd): This.
21053 * elf/Makefile ($(objpfx)order.out): Run test with
21054 $(test-program-prefix).
21055 ($(objpfx)order2.out): Likewise.
21056 ($(objpfx)tst-initorder.out): Likewise.
21057 ($(objpfx)tst-initorder2.out): Likewise.
21058 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
21059 $(test-program-cmd).
21060 ($(objpfx)tst-array1-static.out): Likewise.
21061 ($(objpfx)tst-array2.out): Likewise.
21062 ($(objpfx)tst-array3.out): Likewise.
21063 ($(objpfx)tst-array4.out): Likewise.
21064 ($(objpfx)tst-array5.out): Likewise.
21065 ($(objpfx)tst-array5-static.out): Likewise.
21066 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
21067 $(test-program-cmd).
21068 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
21069 $(run-program-prefix) with $(test-program-prefix).
21070 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
21071 (test_program_prefix): This.
21072 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
21073 $(run-program-prefix) with $(test-program-prefix).
21074 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
21075 (test_program_prefix): This.
21076 * iconvdata/tst-tables.sh: Likewise.
21077 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
21078 $(run-program-prefix) with $(test-program-prefix).
21079 ($(objpfx)tst-translit.out): Likewise.
21080 ($(objpfx)tst-gettext2.out): Likewise.
21081 ($(objpfx)tst-gettext4.out): Likewise.
21082 ($(objpfx)tst-gettext6.out): Likewise.
21083 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
21084 (test_program_prefix): This.
21085 * intl/tst-gettext2.sh: Likewise.
21086 * intl/tst-gettext4.sh Likewise.
21087 * intl/tst-gettext6.sh: Likewise.
21088 * intl/tst-translit.sh: Likewise.
21089 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
21090 with $(test-program-cmd).
21091 * libio/Makefile ($(objpfx)test-freopen.out): Replace
21092 $(run-program-prefix) with $(test-program-prefix).
21093 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
21094 (test_program_prefix): This.
21095 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
21096 $(run-program-prefix) with $(test-program-prefix).
21097 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
21098 (test_program_prefix): This.
21099 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
21100 * posix/Makefile ($(objpfx)globtest.out): Replace
21101 $(run-via-rtld-prefix) and $(test-wrapper) with
21102 $(test-program-prefix) and $(test-via-rtld-prefix).
21103 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
21104 $(test-program-prefix).
21105 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
21106 $(host-test-program-cmd).
21107 (tst-spawn-ARGS): Likewise.
21108 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
21109 $(test-program-prefix).
21110 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
21111 (test_via_rtld_prefix): This.
21112 (test_wrapper): Renamed to ...
21113 (test_program_prefix): This.
21114 (run_program_prefix): Replaced by test_program_prefix.
21115 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
21116 (test_program_prefix): This.
21117 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
21118 with $(host-test-program-cmd).
21119 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
21120 $(run-program-prefix) with $(test-program-prefix).
21121 ($(objpfx)tst-printf.out): Likewise.
21122 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
21123 $(test-program-cmd).
21124 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
21125 (test_program_prefix): This.
21126 * stdio-common/tst-unbputc.sh: Likewise.
21127 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
21128 $(run-program-prefix) with $(test-program-prefix).
21129 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
21130 (test_program_prefix): This.
21131 * string/Makefile ($(objpfx)tst-svc.out): Replace
21132 $(built-program-cmd) with $(test-program-cmd).
21134 2013-01-11 Andreas Jaeger <aj@suse.de>
21137 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
21138 value. Sync with Linux 3.7.
21140 2013-01-10 David S. Miller <davem@davemloft.net>
21142 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
21143 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
21144 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
21146 2013-01-10 Roland McGrath <roland@hack.frob.com>
21148 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
21150 * configure: Regenerated.
21152 2013-01-10 David S. Miller <davem@davemloft.net>
21154 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
21155 sparc V9 rather than using V8 code.
21156 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
21157 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
21159 2013-01-10 Roland McGrath <roland@hack.frob.com>
21161 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
21162 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
21163 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
21164 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
21165 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
21166 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
21167 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
21168 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
21169 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
21170 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
21171 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
21172 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
21173 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
21174 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
21175 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
21176 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
21177 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
21178 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
21179 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
21180 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
21181 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
21182 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
21183 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
21184 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
21185 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
21186 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
21187 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
21189 2013-01-10 David S. Miller <davem@davemloft.net>
21191 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21193 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
21195 * posix/Makefile (tests-static): New variable.
21196 (tests): Add $(tests-static).
21197 (tst-exec-static-ARGS): New variable.
21198 (tst-spawn-static-ARGS): Likewise.
21199 * posix/tst-exec-static.c: New file.
21200 * posix/tst-spawn-static.c: Likewise.
21201 * posix/tst-exec.c: Support run directly.
21202 * posix/tst-spawn.c: Likewise.
21204 2013-01-10 Joseph Myers <joseph@codesourcery.com>
21206 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
21208 * math/bits/mathcalls.h (llrint): Likewise.
21209 (llround): Likewise.
21210 * stdlib/stdlib.h (struct drand48_data): Likewise.
21211 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
21212 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
21213 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
21215 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
21217 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
21218 (elf_greg_t): Likewise.
21219 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
21220 (__jmp_buf): Likewise.
21221 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
21223 (llrint): Likewise, for all definitions.
21224 (llrintl): Likewise.
21226 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
21227 Remove [__GNUC__] condition.
21228 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
21229 condition to just [__USE_ISOC99].
21230 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
21232 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
21235 * sysdeps/unix/sysv/linux/x86/bits/environments.h
21236 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
21238 (_POSIX_V6_ILP32_OFF32): Likewise.
21239 (_XBS5_ILP32_OFF32): Likewise.
21240 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
21241 (__ILP32_OFFBIG_LDFLAGS): Likewise.
21243 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21245 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
21247 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
21248 doubles __mpexp_twomm1. Adjust usage.
21249 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
21252 2013-01-10 Andreas Schwab <schwab@suse.de>
21255 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
21256 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
21258 2013-01-09 David S. Miller <davem@davemloft.net>
21261 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
21262 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
21263 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
21264 (TCP_FASTOPEN): Define.
21265 (tcp_repair_opt): New structure.
21266 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
21268 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
21269 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
21270 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
21271 (tcp_cookie_transactions): New structure.
21273 2013-01-09 Anton Blanchard <anton@samba.org>
21275 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
21276 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
21277 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
21278 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
21280 2013-01-09 Joseph Myers <joseph@codesourcery.com>
21282 * include/features.h (__USE_ANSI): Remove.
21284 2013-01-09 Roland McGrath <roland@hack.frob.com>
21286 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
21288 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
21290 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
21292 * sysdeps/s390/fpu/libm-test-ulps: Update.
21294 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21296 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
21300 (denorm): Likewise.
21301 (__mp_dbl): Likewise.
21302 (__dbl_mp): Likewise.
21303 (add_magnitudes): Likewise.
21304 (sub_magnitudes): Likewise.
21310 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
21314 (denorm): Likewise.
21315 (__mp_dbl): Likewise.
21316 (__dbl_mp): Likewise.
21317 (add_magnitudes): Likewise.
21318 (sub_magnitudes): Likewise.
21324 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
21328 (denorm): Likewise.
21329 (__mp_dbl): Likewise.
21330 (__dbl_mp): Likewise.
21331 (add_magnitudes): Likewise.
21332 (sub_magnitudes): Likewise.
21339 2013-01-08 Joseph Myers <joseph@codesourcery.com>
21341 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
21342 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
21343 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
21344 2 && __USE_EXTERN_INLINES]: Likewise.
21346 2013-01-08 Andreas Jaeger <aj@suse.de>
21349 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
21351 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
21352 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
21354 2013-01-07 Anton Blanchard <anton@samba.org>
21356 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
21357 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
21358 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
21359 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
21360 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
21361 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21362 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
21363 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
21364 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
21365 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
21366 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21367 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21368 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
21369 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21370 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
21371 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21372 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21373 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21374 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
21375 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
21376 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
21377 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
21378 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
21379 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
21380 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
21381 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
21382 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
21383 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
21384 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
21385 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
21386 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
21387 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21388 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
21389 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
21390 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
21391 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
21392 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21393 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
21394 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
21395 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
21396 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
21397 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21398 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
21400 2013-01-07 Joseph Myers <joseph@codesourcery.com>
21402 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
21403 (__MALLOC_PMT): Likewise.
21404 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
21405 [__GNUC__], only on [_LIBC].
21406 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
21407 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
21408 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
21409 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
21410 forward declaration.
21411 (realloc_hook_ini): Likewise.
21412 (memalign_hook_ini): Likewise.
21413 (__libc_memalign): Do not use __MALLOC_PMT in variable
21415 (__libc_valloc): Likewise.
21416 (__libc_pvalloc): Likewise.
21417 (__libc_calloc): Likewise.
21418 (__posix_memalign): Likewise.
21421 * math/s_casinh.c: Include <float.h>.
21422 (__casinh): Do not do computation with squaring and square root
21423 for large arguments.
21424 * math/s_casinhf.c: Include <float.h>.
21425 (__casinhf): Do not do computation with squaring and square root
21426 for large arguments.
21427 * math/s_casinhl.c: Include <float.h>.
21428 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
21429 (__casinhl): Do not do computation with squaring and square root
21430 for large arguments.
21431 * math/libm-test.inc (casin_test): Add more tests.
21432 (casinh_test): Likewise.
21433 * sysdeps/i386/fpu/libm-test-ulps: Update.
21434 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21436 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
21438 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
21439 (__x86_64_raw_data_cache_size): Likewise.
21440 (__x86_64_data_cache_size_half): Likewise.
21441 (__x86_64_raw_data_cache_size_half): Likewise.
21442 (__x86_64_shared_cache_size): Likewise.
21443 (__x86_64_raw_shared_cache_size): Likewise.
21444 (__x86_64_shared_cache_size_half): Likewise.
21445 (__x86_64_raw_shared_cache_size_half): Likewise.
21446 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
21448 (__x86_data_cache_size): This.
21449 (__x86_64_raw_data_cache_size): Renamed to ...
21450 (__x86_raw_data_cache_size): This.
21451 (__x86_64_data_cache_size_half): Renamed to ...
21452 (__x86_data_cache_size_half): This.
21453 (__x86_64_raw_data_cache_size_half): Renamed to ...
21454 (__x86_raw_data_cache_size_half): This.
21455 (__x86_64_shared_cache_size): Renamed to ...
21456 (__x86_shared_cache_size): This.
21457 (__x86_64_raw_shared_cache_size): Renamed to ...
21458 (__x86_raw_shared_cache_size): This.
21459 (__x86_64_shared_cache_size_half): Renamed to ...
21460 (__x86_shared_cache_size_half): This.
21461 (__x86_64_raw_shared_cache_size_half): Renamed to ...
21462 (__x86_raw_shared_cache_size_half): This.
21463 * sysdeps/x86_64/memcpy.S: Updated.
21464 * sysdeps/x86_64/memset.S: Likewise.
21465 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
21466 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21467 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21469 2013-01-04 David S. Miller <davem@davemloft.net>
21471 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21473 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
21475 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
21476 1 to avoid redefinition warning.
21477 (__USE_GNU): Don't define.
21478 (init_signaling_nan): Protoize.
21480 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21482 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21484 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
21485 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
21486 (__cpymn): Likewise.
21487 (norm): Remove commented code.
21488 (denorm): Likewise.
21489 (__mp_dbl): Likewise.
21491 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
21492 (__cpymn): Likewise.
21493 (norm): Remove commented code.
21494 (denorm): Likewise.
21495 (__mp_dbl): Likewise.
21498 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
21499 mp_no value for 1.0 and 2.0.
21500 (norm): Use RADIXI instead of radixi.d.
21501 (denorm): Likewise.
21502 (__mul): Use 0.0 instead of zero.d.
21503 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
21504 mp_no value for 1.0 and 2.0.
21505 (norm): Use RADIXI instead of radixi.d.
21506 (denorm): Likewise.
21507 (__mul): Use 0.0 instead of zero.d.
21509 2013-01-04 Joseph Myers <joseph@codesourcery.com>
21512 * math/s_casinh.c (__casinh): Reduce finite argument to first
21513 quadrant then set signs of results at the end.
21514 * math/s_casinhf.c (__casinhf): Likewise.
21515 * math/s_casinhl.c (__casinhl): Likewise.
21516 * math/libm-test.inc (casin_test): Add more tests.
21517 (casinh_test): Likewise.
21518 * sysdeps/i386/fpu/libm-test-ulps: Update.
21519 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21521 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21523 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
21525 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
21527 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
21529 (denorm): Likewise.
21530 (__mp_dbl): Likewise.
21533 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
21534 and adjust the header comment.
21536 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
21537 variable name from declaration.
21539 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
21541 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21542 Initialize COMMON_CPUID_INDEX_7 element.
21543 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
21544 (CPUID_RTM): Likewise.
21545 (HAS_RTM): Likewise.
21546 (COMMON_CPUID_INDEX_7): New enum.
21548 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
21551 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
21552 size is zero, record memory as freed.
21554 2013-01-03 Andreas Jaeger <aj@suse.de>
21556 * po/ia.po: Add new Interlingua translation.
21558 2012-01-03 Allan McRae <allan@archlinux.org>
21560 * locale/programs/localedef.c: Fix description of '--posix' flag.
21562 2013-01-02 Joseph Myers <joseph@codesourcery.com>
21564 * NEWS: Update dates in second copyright notice.
21565 * README: Update copyright dates in example.
21566 * manual/libc.texinfo: Update copyright dates.
21567 * scripts/test-installation.pl: Update copyright date in --version
21570 * hurd/ctty-input.c: Fix copyright notice formatting.
21571 * hurd/ctty-output.c: Likewise.
21572 * hurd/dtable.c: Likewise.
21573 * hurd/hurd-raise.c: Likewise.
21574 * hurd/hurdprio.c: Likewise.
21575 * hurd/msgportdemux.c: Likewise.
21576 * misc/sys/file.h: Likewise.
21577 * misc/sys/ioctl.h: Likewise.
21578 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
21579 * sysdeps/mach/hurd/chdir.c: Likewise.
21580 * sysdeps/mach/hurd/fchdir.c: Likewise.
21581 * sysdeps/mach/hurd/rename.c: Likewise.
21582 * sysdeps/mach/hurd/rmdir.c: Likewise.
21583 * sysdeps/mach/hurd/seekdir.c: Likewise.
21584 * sysdeps/mach/hurd/setsid.c: Likewise.
21585 * sysdeps/posix/wait3.c: Likewise.
21587 * All files with FSF copyright notices: Update copyright dates
21588 using scripts/update-copyrights.
21589 * intl/plural.c: Regenerated.
21590 * locale/programs/charmap-kw.h: Likewise.
21591 * locale/programs/locfile-kw.h: Likewise.
21593 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
21595 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
21598 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
21599 calculation loop and add branch prediction.
21601 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
21602 check access beyond bounds of m1np.
21604 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
21606 (__inv): Remove local variable MPTWO to use the global
21608 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
21609 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
21611 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
21612 MP3HALFS static const.
21614 2013-01-01 David S. Miller <davem@davemloft.net>
21616 * po/ca.po: Update from translation team.
21618 2013-01-01 Joseph Myers <joseph@codesourcery.com>
21620 * scripts/update-copyrights: New file.
21621 * Makeconfig: Reformat copyright notice.
21622 * ctype/ctype.h: Likewise.
21623 * debug/swprintf_chk.c: Likewise.
21624 * elf/dl-cache.c: Likewise.
21625 * elf/dl-debug.c: Likewise.
21626 * elf/dl-object.c: Likewise.
21627 * grp/initgroups.c: Likewise.
21628 * hurd/Makefile: Likewise.
21629 * hurd/hurd/signal.h: Likewise.
21630 * hurd/hurdfault.c: Likewise.
21631 * hurd/hurdioctl.c: Likewise.
21632 * hurd/hurdlookup.c: Likewise.
21633 * hurd/intr-msg.c: Likewise.
21634 * iconv/gconv_open.c: Likewise.
21635 * libio/swprintf.c: Likewise.
21636 * locale/lc-ctype.c: Likewise.
21637 * locale/nl_langinfo.c: Likewise.
21638 * mach/Machrules: Likewise.
21639 * mach/Makefile: Likewise.
21640 * malloc/obstack.h: Likewise.
21641 * manual/Makefile: Likewise.
21642 * manual/tsort.awk: Likewise.
21643 * misc/bits/stab.def: Likewise.
21644 * nis/nis_print_group_entry.c: Likewise.
21645 * nis/nis_table.c: Likewise.
21646 * nis/nss_compat/compat-pwd.c: Likewise.
21647 * nis/nss_compat/compat-spwd.c: Likewise.
21648 * po/Makefile: Likewise.
21649 * posix/fnmatch.c: Likewise.
21650 * posix/regex.h: Likewise.
21651 * resolv/Makefile: Likewise.
21652 * resolv/nss_dns/dns-network.c: Likewise.
21653 * resolv/res_hconf.c: Likewise.
21654 * scripts/gen-sorted.awk: Likewise.
21655 * soft-fp/soft-fp.h: Likewise.
21656 * stdio-common/printf.h: Likewise.
21657 * stdlib/monetary.h: Likewise.
21658 * stdlib/random.c: Likewise.
21659 * stdlib/random_r.c: Likewise.
21660 * sysdeps/generic/Makefile: Likewise.
21661 * sysdeps/gnu/Makefile: Likewise.
21662 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21663 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21664 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21665 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21666 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21667 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21668 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21669 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21670 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21671 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21672 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21673 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21674 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
21675 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
21676 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
21677 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
21678 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21679 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21680 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21681 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21682 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
21683 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
21684 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21685 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
21686 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
21687 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
21688 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
21689 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
21690 * sysdeps/mach/hurd/errnos.awk: Likewise.
21691 * sysdeps/mach/hurd/fork.c: Likewise.
21692 * sysdeps/mach/hurd/getcwd.c: Likewise.
21693 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
21694 * sysdeps/mach/hurd/mmap.c: Likewise.
21695 * sysdeps/mach/hurd/utimes.c: Likewise.
21696 * sysdeps/mach/hurd/xmknod.c: Likewise.
21697 * sysdeps/posix/profil.c: Likewise.
21698 * sysdeps/posix/readdir_r.c: Likewise.
21699 * sysdeps/powerpc/bits/mathdef.h: Likewise.
21700 * sysdeps/powerpc/bits/setjmp.h: Likewise.
21701 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
21702 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
21703 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
21704 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
21705 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
21706 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21707 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21708 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
21709 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
21710 * sysdeps/pthread/lio_listio.c: Likewise.
21711 * sysdeps/sparc/dl-procinfo.h: Likewise.
21712 * sysdeps/unix/i386/sysdep.S: Likewise.
21713 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
21714 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
21715 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
21716 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
21717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21718 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
21719 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
21720 * sysdeps/unix/sysv/linux/speed.c: Likewise.
21721 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
21722 * sysdeps/wordsize-32/divdi3.c: Likewise.
21723 * time/sys/time.h: Likewise.
21724 * wcsmbs/Makefile: Likewise.
21726 2013-01-01 David S. Miller <davem@davemloft.net>
21728 * po/fr.po: Update from translation team.
21730 * catgets/gencat.c: Update copyright year.
21731 * csu/version.c: Likewise.
21732 * debug/catchsegv.sh: Likewise.
21733 * debug/pcprofiledump.c: Likewise.
21734 * debug/xtrace.sh: Likewise.
21735 * elf/ldconfig.c: Likewise.
21736 * elf/ldd.bash.in: Likewise.
21737 * elf/pldd.c: Likewise.
21738 * elf/sotruss.ksh: Likewise.
21739 * elf/sprof.c: Likewise.
21740 * iconv/iconv_prog.c: Likewise.
21741 * iconv/iconvconfig.c: Likewise.
21742 * locale/programs/locale.c: Likewise.
21743 * locale/programs/localedef.c: Likewise.
21744 * login/programs/pt_chown.c: Likewise.
21745 * malloc/memusage.sh: Likewise.
21746 * malloc/memusagestat.c: Likewise.
21747 * malloc/mtrace.pl: Likewise.
21748 * nscd/nscd.c: Likewise.
21749 * nss/getent.c: Likewise.
21750 * nss/makedb.c: Likewise.
21751 * posix/getconf.c: Likewise.
21753 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
21755 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
21758 2012-12-30 Mike Frysinger <vapier@gentoo.org>
21760 * math/bits/mathcalls.h (modf): Use __nonnull.
21762 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21764 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
21765 (split): Use macro CN instead of the bare value.
21766 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
21768 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
21769 instead of the bare value.
21770 (power1): Likewise.
21772 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21774 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
21776 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21778 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
21780 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
21781 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21782 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
21783 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
21785 2012-12-28 Andreas Jaeger <aj@suse.de>
21787 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
21788 values are from Linux 3.7.
21790 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
21791 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
21793 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21795 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
21798 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
21800 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
21801 variables with preprocessor constants.
21802 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21803 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
21804 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
21806 2012-12-27 Bruno Haible <bruno@clisp.org>
21809 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
21812 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21814 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
21815 and use variable directly.
21816 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
21818 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
21820 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
21821 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
21823 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21824 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
21825 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
21826 include directive. Remove local variable MPONE.
21827 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
21828 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
21829 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21831 2012-12-25 David S. Miller <davem@davemloft.net>
21833 * version.h (RELEASE): Set to "development".
21834 (VERSION): Set to "2.17.90".
21835 * NEWS: Add 2.18 section.
21837 2012-12-21 David S. Miller <davem@davemloft.net>
21839 * po/hr.po: Update from translation team.
21841 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21843 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
21845 2012-12-19 Steve Ellcey <sellcey@mips.com>
21847 * NEWS: Mention new memcpy for MIPS.
21849 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21851 * manual/contrib.texi (Contributors): Spelling correction.
21853 2012-12-15 David S. Miller <davem@davemloft.net>
21855 * po/ru.po: Update from translation team.
21857 2012-12-13 David S. Miller <davem@davemloft.net>
21859 * NEWS: Mention IFUNC testsuite enhancements.
21861 * po/pl.po: Update from translation team.
21862 * po/bg.po: Likewise.
21864 * manual/contrib.texi (Contributors): Update entries for Hongjiu
21865 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
21867 2012-12-11 David S. Miller <davem@davemloft.net>
21869 * po/sv.po: Update from translation team.
21871 * po/vi.po: Update from translation team.
21873 * po/cs.po: Update from translation team.
21875 * po/de.po: Update from translation team.
21876 * po/eo.po: Likewise.
21877 * po/nl.po: Likewise.
21879 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21882 * manual/argp.texi (Argp Helper Functions): Move node to follow
21883 Argp Parsing State.
21886 * manual/conf.texi (Limits on File System Capacity): Mention if
21887 terminating null is included in the max size.
21889 2012-12-10 Andreas Jaeger <aj@suse.de>
21891 * po/cs.po: Update from translation team.
21893 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
21895 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
21896 void pointer and cast to uintptr_t.
21897 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
21899 * sysdeps/s390/s390-64/memcpy.S: Likewise.
21900 * sysdeps/s390/s390-64/memset.S: Likewise.
21902 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
21905 * menual/message.texi (Message Translation): Fix typos.
21906 (Helper programs for gettext): Likewise.
21908 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
21911 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
21914 2012-12-07 David S. Miller <davem@davemloft.net>
21916 * po/libc.pot: Update.
21918 2012-12-07 Richard Henderson <rth@redhat.com>
21921 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
21922 normal/normal case to before the switch.
21923 (_FP_DIV): Likewise.
21925 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
21926 Mike Frysinger <vapier@gentoo.org>
21928 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
21929 check for __NR_fadvise64_64.
21931 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
21933 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
21934 0, not just to plain "0" as a statement.
21935 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
21938 2012-12-06 Joseph Myers <joseph@codesourcery.com>
21940 * NEWS: Use sourceware.org in Bugzilla URL.
21942 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
21944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
21945 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
21947 * stdio-common/tst-put-error.c (do_test): Add newline to the
21948 padded test to ensure flush.
21950 2012-12-05 Jeff Law <law@redhat.com>
21952 * sunrpc/etc.rpc (fedfs_admin): Add entry.
21954 2012-12-05 Joseph Myers <joseph@codesourcery.com>
21956 * README: Don't refer to ports add-on as distributed separately.
21957 Mention AArch64 in list of systems supported in the ports add-on.
21959 * LICENSES: Add more non-FSF copyright and license notices.
21961 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
21964 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
21966 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
21967 10000 as width of padded output.
21969 2012-12-04 Joseph Myers <joseph@codesourcery.com>
21971 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
21973 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
21974 variable LX with __attribute__ ((unused)).
21975 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
21977 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
21978 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21979 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
21980 with __attribute__ ((unused)).
21982 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
21984 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
21986 2012-12-04 Joseph Myers <joseph@codesourcery.com>
21988 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
21989 (CFLAGS-nldbl-acos.c): New variable.
21990 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
21991 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
21992 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
21993 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
21994 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
21995 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
21996 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
21997 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
21998 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
21999 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
22000 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
22001 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
22002 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
22003 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
22004 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
22005 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
22006 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
22007 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
22008 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
22009 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
22010 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
22011 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
22012 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
22013 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
22014 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
22015 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
22016 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
22017 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
22018 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
22019 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
22020 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
22021 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
22022 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
22023 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
22024 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
22025 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
22026 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
22027 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
22028 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
22029 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
22030 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
22031 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
22032 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
22033 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
22034 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
22035 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
22036 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
22037 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
22038 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
22039 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
22040 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
22041 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
22042 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
22043 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
22044 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
22045 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
22046 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
22047 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
22048 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
22049 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
22050 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
22051 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
22052 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
22053 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
22054 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
22055 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
22056 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
22057 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
22058 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
22059 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
22060 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
22061 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
22062 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
22063 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
22064 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
22065 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
22066 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
22067 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
22068 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
22069 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
22070 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
22071 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
22072 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
22073 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
22074 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
22075 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
22076 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
22077 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
22078 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
22079 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
22080 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
22081 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
22082 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
22083 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
22084 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
22085 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
22086 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
22088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22089 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
22092 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
22093 whole low double instead of just low 47 bits when splitting values
22096 2012-12-03 Allan McRae <allan@archlinux.org>
22098 * manual/stdio.texi (Predefined Printf Handlers): Remove
22099 @hsep and @vsep usage.
22101 2012-12-03 Mike Frysinger <vapier@gentoo.org>
22103 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
22104 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
22106 2012-12-03 Jeff Law <law@redhat.com>
22108 * time/sys/time.h (settimeofday): Do not mark TV argument
22111 2012-12-01 Mike Frysinger <vapier@gentoo.org>
22113 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
22114 when currently writing and seek to current position when not.
22115 * libio/Makefile (tests): Remove bug-fclose1.
22116 * libio/bug-fclose1.c: Delete.
22118 2012-12-01 Joseph Myers <joseph@codesourcery.com>
22120 * manual/arith.texi (feenableexcept): Fix typo.
22121 (fedisableexcept): Likewise.
22123 2012-11-30 Roland McGrath <roland@hack.frob.com>
22125 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
22126 second, differently-typed declaration, rather than a cast.
22128 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22130 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
22131 * include/rpc/svc.h: ... here.
22133 2012-11-30 Aurelien Jarno <aurel32@debian.org>
22136 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
22137 depending n and resplen2 to catch cases where answer
22140 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
22142 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
22143 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
22145 2012-11-29 Mike Frysinger <vapier@gentoo.org>
22147 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
22149 2012-11-29 Roland McGrath <roland@hack.frob.com>
22151 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
22153 2012-11-28 Jeff Law <law@redhat.com>
22156 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
22157 dataset_temporary. Track alloca usage into alloca_used.
22158 If dataset is large allocate and release it via malloc/free.
22160 2012-06-04 Florian Weimer <fweimer@redhat.com>
22163 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
22165 2012-11-28 David S. Miller <davem@davemloft.net>
22167 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22169 2012-11-28 Joseph Myers <joseph@codesourcery.com>
22172 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
22173 of pi/2 rounded to nearest to 64 bits.
22174 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
22175 nearest to 64 bits.
22176 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
22179 2012-11-28 Jeff Law <law@redhat.com>
22180 Martin Osvald <mosvald@redhat.com>
22183 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
22184 * sunrpc/svc.c: Include time.h.
22185 (__svc_accept_failed): New function.
22186 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
22187 any reason other than EINTR, call __svc_accept_failed.
22188 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
22189 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
22191 2012-11-28 Andreas Schwab <schwab@suse.de>
22193 * scripts/abilist.awk: Also handle indirect functions in .opd
22196 2012-11-28 Joseph Myers <joseph@codesourcery.com>
22199 * sysdeps/x86/fpu/powl_helper.c: New file.
22200 * sysdeps/x86/fpu/Makefile: Likewise.
22201 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
22203 (__ieee754_powl): Use __powl_helper for finite arguments except
22204 integer exponents below 8.
22205 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
22207 (__ieee754_powl): Use __powl_helper for finite arguments except
22208 integer exponents below 8.
22209 * math/libm-test.inc (pow_test): Add more tests and enable some
22210 previously disabled tests.
22211 * sysdeps/i386/fpu/libm-test-ulps: Update.
22212 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22214 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22215 Carlos O'Donell <carlos_odonell@mentor.com>
22217 * nss/makedb.c (is_prime): Assert that input is odd and greater
22218 than 4. Note that fact in a comment too.
22219 (next_prime): Add 4 to input.
22221 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22224 * libio/Makefile (tests): Add test case tst-fwrite-error.
22225 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
22226 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
22227 * libio/tst-fwrite-error.c: New test case.
22229 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
22231 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
22232 before casting to void *.
22233 * include/libc-internal.h (__pointer_type): New macro.
22234 (__integer_if_pointer_type_sub): Likewise.
22235 (__integer_if_pointer_type): Likewise.
22236 (cast_to_integer): Likewise.
22237 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
22238 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
22239 before casting to atomic64_t.
22240 (atomic_exchange_acq): Likewise.
22241 (__arch_exchange_and_add_body): Likewise.
22242 (__arch_add_body): Likewise.
22243 (atomic_add_negative): Likewise.
22244 (atomic_add_zero): Likewise.
22246 2012-11-26 Joseph Myers <joseph@codesourcery.com>
22248 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
22249 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
22250 (add_fdes): Likewise.
22251 (linear_search_fdes): Likewise.
22252 (binary_search_unencoded_fdes): Likewise.
22254 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
22256 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
22258 2012-11-24 Adam Conrad <adconrad@0c3.net>
22260 * configure.in: Autodetect C++ header directories.
22261 * configure: Regenerated.
22263 2012-11-23 Mike Frysinger <vapier@gentoo.org>
22265 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
22267 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
22269 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22271 2012-11-22 Joseph Myers <joseph@codesourcery.com>
22273 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
22274 LDBL_MANT_DIG == 106]: Disable some tests.
22275 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
22277 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
22281 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
22282 input for small inputs. Return +/- pi/2 for large inputs.
22283 * math/libm-test.inc (atan_test): Add more tests.
22285 * sysdeps/generic/unwind-dw2-fde-glibc.c
22286 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
22287 __attribute__ ((unused)).
22290 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
22291 x * y if x and y are nonzero and z is zero.
22294 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
22295 nonzero exponents with absolute value below 0x1p-117 to +/-
22299 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
22300 up arguments below 2**-450, not just those below 2**-500.
22301 * math/libm-test.inc (hypot_test): Add another test.
22304 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
22305 Return a+b for ratio over 2**120, not 2**60.
22306 * math/libm-test.inc (hypot_test): Add another test.
22308 * math/libm-test.inc (clog_test): Use
22309 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
22310 (clog10_test): Likewise.
22313 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
22315 2012-11-22 Andreas Schwab <schwab@suse.de>
22317 * sysdeps/i386/fpu/libm-test-ulps: Update.
22319 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
22321 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
22322 printf output with newline.
22324 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
22327 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
22328 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
22329 -z nodlopen, -z initfirst and -z execstack support.
22330 * configure: Regenerated.
22332 * elf/elf.h (DF_1_NODIRECT): New macro.
22333 (DF_1_IGNMULDEF): Likewise.
22334 (DF_1_NOKSYMS): Likewise.
22335 (DF_1_NOHDR): Likewise.
22336 (DF_1_EDITED): Likewise.
22337 (DF_1_NORELOC): Likewise.
22338 (DF_1_SYMINTPOSE): Likewise.
22339 (DF_1_GLOBAUDIT): Likewise.
22340 (DF_1_SINGLETON): Likewise.
22341 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
22342 DT_1_SUPPORTED_MASK bits.
22343 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
22345 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
22347 * sysdeps/unix/make-syscalls.sh: Document prefixes.
22349 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
22351 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
22354 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
22355 (sendmmsg): Move declarations...
22356 * socket/sys/socket.h: ... here.
22357 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
22358 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
22360 * socket/recvmmsg.c: ... this new file.
22361 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
22362 (sendmmsg): Rename to __sendmmsg, create weak alias and make
22363 definition of __sendmmsg hidden.
22364 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
22365 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
22366 Move ENOSYS stub into and include it from...
22367 * socket/sendmmsg.c: ... this new file.
22368 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
22369 (sysdep_routines): Move recvmmsg and sendmmsg...
22370 * socket/Makefile (routines): ... here.
22371 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
22372 (GLIBC_PRIVATE): Add __sendmmsg.
22373 * include/sys/socket.h (__sendmmsg): Add declarations.
22374 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
22377 2012-11-20 Joseph Myers <joseph@codesourcery.com>
22379 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
22380 variable I1 with __attribute__ ((unused)).
22381 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
22383 2012-11-19 Joseph Myers <joseph@codesourcery.com>
22385 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
22386 DUMMY variables with __attribute__ ((unused)).
22388 * bits/byteswap.h: Include <bits/types.h>.
22389 (__bswap_64): Use __uint64_t instead of unsigned long long int.
22391 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
22393 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
22394 string_t. Do not manually set errno.
22395 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
22396 length with __strnlen. Make sure to both set errno and return it on
22399 2012-11-19 David S. Miller <davem@davemloft.net>
22401 With help from Joseph Myers.
22402 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
22403 very large arguments properly.
22404 * math/libm-test.inc (atan_test): New tests.
22405 (atan2_test): New tests.
22406 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22407 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22409 2012-11-19 Joseph Myers <joseph@codesourcery.com>
22412 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
22415 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
22416 [POSIX] (EADDRNOTAVAIL): Likewise.
22417 [POSIX] (EAFNOSUPPORT): Likewise.
22418 [POSIX] (EALREADY): Likewise.
22419 [POSIX] (ECONNABORTED): Likewise.
22420 [POSIX] (ECONNREFUSED): Likewise.
22421 [POSIX] (ECONNRESET): Likewise.
22422 [POSIX] (EDESTADDRREQ): Likewise.
22423 [POSIX] (EDQUOT): Likewise.
22424 [POSIX] (EHOSTUNREACH): Likewise.
22425 [POSIX] (EIDRM): Likewise.
22426 [POSIX] (EISCONN): Likewise.
22427 [POSIX] (ELOOP): Likewise.
22428 [POSIX] (EMULTIHOP): Likewise.
22429 [POSIX] (ENETDOWN): Likewise.
22430 [POSIX] (ENETUNREACH): Likewise.
22431 [POSIX] (ENOBUFS): Likewise.
22432 [POSIX] (ENODATA): Likewise.
22433 [POSIX] (ENOLINK): Likewise.
22434 [POSIX] (ENOMSG): Likewise.
22435 [POSIX] (ENOPROTOOPT): Likewise.
22436 [POSIX] (ENOSR): Likewise.
22437 [POSIX] (ENOSTR): Likewise.
22438 [POSIX] (ENOTCONN): Likewise.
22439 [POSIX] (ENOTSOCK): Likewise.
22440 [POSIX] (EOPNOTSUPP): Likewise.
22441 [POSIX] (EOVERFLOW): Likewise.
22442 [POSIX] (EPROTO): Likewise.
22443 [POSIX] (EPROTONOSUPPORT): Likewise.
22444 [POSIX] (EPROTOTYPE): Likewise.
22445 [POSIX] (ESTALE): Likewise.
22446 [POSIX] (ETIME): Likewise.
22447 [POSIX] (ETXTBSY): Likewise.
22448 [POSIX] (EWOULDBLOCK): Likewise.
22449 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
22450 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
22451 [POSIX] (SEEK_CUR): Likewise.
22452 [POSIX] (SEEK_END): Likewise.
22453 [POSIX || UNIX98] (mode_t): Do not require.
22454 [POSIX] (off_t): Likewise.
22455 [POSIX] (pid_t): Likewise.
22456 [POSIX] (sys/stat.h): Do not allow header.
22457 [POSIX] (unistd.h): Likewise.
22458 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
22459 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
22460 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
22461 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
22463 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
22464 sigevent): Specify elements.
22465 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
22467 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
22468 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
22470 * conform/data/cpio.h-data [POSIX]: Disable whole file.
22471 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
22472 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
22473 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
22474 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
22475 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
22476 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
22477 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
22478 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
22479 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
22480 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
22481 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
22482 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
22483 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
22485 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
22487 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
22489 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
22491 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
22492 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
22493 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
22494 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
22495 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
22496 Specify lower bound on value.
22497 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
22498 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
22499 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
22500 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
22501 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
22502 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
22503 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
22504 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
22506 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
22508 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
22509 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
22510 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
22511 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
22512 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
22513 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
22514 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
22515 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
22516 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
22517 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
22518 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
22519 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
22520 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
22521 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
22522 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
22523 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
22525 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
22527 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
22528 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
22529 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
22530 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
22531 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
22532 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
22534 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
22535 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
22536 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
22537 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
22538 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
22539 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
22540 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
22542 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
22543 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
22544 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
22545 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
22546 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
22547 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
22548 specify as optional.
22549 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
22550 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
22551 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
22552 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
22553 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
22554 [XPG3] (NL_LANGMAX): Likewise.
22555 [POSIX || XPG3] (NL_MSGMAX): Likewise.
22556 [POSIX || XPG3] (NL_NMAX): Likewise.
22557 [POSIX || XPG3] (NL_SETMAX): Likewise.
22558 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
22559 [XPG3] (NZERO): Likewise.
22560 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
22561 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
22562 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
22563 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
22564 (REG_ERANGE): Expect.
22565 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
22567 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
22568 Use (void) in prototype.
22569 [POSIX] (*_t): Allow.
22570 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
22571 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
22572 (WRDE_BADVAL): Expect.
22574 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
22576 [XPG3 || XPG4] (O_RSYNC): Likewise.
22577 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
22579 [XPG3 || XPG4] (pthread_sigmask): Likewise.
22580 [XPG3 || XPG4] (sigqueue): Likewise.
22581 [XPG3 || XPG4] (sigtimedwait): Likewise.
22582 [XPG3 || XPG4] (sigwaitinfo): Likewise.
22583 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
22584 [XPG3 || XPG4] (vsnprintf): Likewise.
22585 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
22587 [XPG3 || XPG4] (blksize_t): Likewise.
22588 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
22590 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
22591 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
22592 [XPG3 || XPG4] (struct itimerspec): Likewise.
22593 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
22594 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
22595 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
22596 [XPG3 || XPG4] (clockid_t): Likewise.
22597 [XPG3 || XPG4] (timer_t): Likewise.
22598 [XPG3 || XPG4] (clock_getres): Likewise.
22599 [XPG3 || XPG4] (clock_gettime): Likewise.
22600 [XPG3 || XPG4] (clock_settime): Likewise.
22601 [XPG3 || XPG4] (nanosleep): Likewise.
22602 [XPG3 || XPG4] (timer_create): Likewise.
22603 [XPG3 || XPG4] (timer_delete): Likewise.
22604 [XPG3 || XPG4] (timer_gettime): Likewise.
22605 [XPG3 || XPG4] (timer_getoverrun): Likewise.
22606 [XPG3 || XPG4] (timer_settime): Likewise.
22607 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
22608 [XPG3 || XPG4] (getlogin_r): Likewise.
22609 [XPG3 || XPG4] (pread): Likewise.
22610 [XPG3 || XPG4] (pthread_atfork): Likewise.
22611 [XPG3 || XPG4] (pwrite): Likewise.
22614 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
22617 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
22619 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
22620 finalizing MALLSTREAM.
22622 * sysdeps/mach/hurd/syncfs.c: New file.
22624 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22627 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
22628 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
22629 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
22630 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
22631 (_nss_dns_gethostbyname4_r): Likewise.
22632 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
22633 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
22635 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
22638 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
22640 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
22642 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
22643 * elf/cache.c (print_entry): Print ",AArch64" for
22646 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
22647 * elf/cache.c (print_entry): Print ",hard-float" for
22650 2012-11-18 David S. Miller <davem@davemloft.net>
22652 With help from Joseph Myers.
22653 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
22655 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
22657 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
22658 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
22660 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
22661 * math/libm-test.inc (y0_test): New tests.
22662 (y1_test): New tests.
22663 * sysdeps/i386/fpu/libm-test-ulps: Update.
22664 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22665 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22667 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
22669 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
22671 * configure: Regenerated.
22673 2012-11-17 David S. Miller <davem@davemloft.net>
22676 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
22677 nonzero exponents with absolute value below 0x1p-128 to +/-
22680 2012-11-17 Joseph Myers <joseph@codesourcery.com>
22682 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
22684 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
22686 * posix/getconf-speclist.c: New file.
22687 * posix/posix-envs.def: Likewise.
22688 * posix/confstr.c (START_ENV_GROUP): New macro.
22689 (END_ENV_GROUP): Likewise.
22690 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
22691 (KNOWN_PRESENT_ENV_STRING): Likewise.
22692 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
22693 (UNKNOWN_ENVIRONMENT): Likewise.
22694 (confstr): Include posix-envs.def instead of handling
22695 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
22696 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
22697 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
22698 (END_ENV_GROUP): Likewise.
22699 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
22700 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
22701 (UNKNOWN_ENVIRONMENT): Likewise.
22702 (__sysconf): Include posix-envs.def instead of handling associated
22703 cases directly here.
22704 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
22705 preprocessing getconf-speclist.c rather than running getconf or
22706 generating empty file.
22708 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
22710 * scripts/check-local-headers.sh: Ignore 'mach' headers.
22712 2012-11-16 Andrej Lajovic <natrij@gmail.com>
22715 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
22717 2012-11-16 David S. Miller <davem@davemloft.net>
22719 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
22720 smaller than LDBL_EPSILON/2.0L, just return xm1.
22722 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
22724 * elf/tst-array1.c (init): Set constructor priority to 1000.
22725 (fini): Set destructor priority to 1000.
22726 * elf/tst-array2dep.c: Likewise.
22728 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22731 * libio/fileops.c (_IO_new_file_write): Correctly return error.
22732 (_IO_new_file_xsputn): Also return EOF if none of the input
22733 data was written when overflow failed.
22734 * libio/iopadn.c (_IO_padn): Likewise.
22735 * libio/iowpadn.c (_IO_wpadn): Likewise.
22736 * stdio-common/tst-put-error.c: Add copyright notice.
22737 (do_test): Add case for printing padded string.
22738 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
22739 _IO_padn returned error.
22740 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
22741 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
22744 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22746 * libio/libioP.h: Add comment note that the references to C++
22747 bits are now obsolete.
22749 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22751 * math/libm-test.inc (check_complex): Use asprintf.
22753 2012-11-14 Joseph Myers <joseph@codesourcery.com>
22755 * debug/pcprofiledump.c (print_version): Update copyright year.
22756 * malloc/memusagestat.c (print_version): Likewise.
22758 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
22761 * elf/Makefile (tests): Add tst-audit8.
22762 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
22763 ($(objpfx)tst-audit8.out): New target.
22764 (tst-audit8-ENV): New variable.
22765 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
22766 audit if l_reloc_result is NULL.
22767 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
22768 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
22769 * elf/tst-audit8.c: New file.
22771 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22773 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
22774 * misc/Makefile (CFLAGS-select.c): Define.
22775 * posix/Makefile (CFLAGS-pause.c): Define.
22777 2012-11-13 David S. Miller <davem@davemloft.net>
22779 * crypt/Makefile: Move test targets after toplevel Rules
22780 inclusion. Grab any necessary sysdep routines when linking.
22781 * crypt/md5.c (md5_process_block): Remove define, we will always
22782 name it __md5_process_block.
22783 (md5_finish_ctx): Update md5_process_block call.
22784 (md5_stream): Likewise.
22785 (md5_process_bytes): Likewise.
22786 (md5_process_block): Rename to __md5_process_block and move to ...
22787 * crypt/md5-block.c: ... here.
22788 * crypt/sha256.c (sha256_process_block): Move to ...
22789 * crypt/sha256-block.c: ... here.
22790 * crypt/sha512.c (sha512_process_block): Move to ...
22791 * crypt/sha512-block.c: ... here.
22792 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
22794 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
22795 * sysdeps/sparc/sparc64/multiarch/Makefile
22796 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
22798 (localedef-aux): Add md5 crypto assembler when in locale subdir.
22799 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
22801 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
22802 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
22803 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
22804 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
22805 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
22806 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
22807 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
22808 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
22809 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
22811 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
22812 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
22814 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
22816 2012-11-13 Joseph Myers <joseph@codesourcery.com>
22818 * timezone/tzselect.ksh: Update from tzcode git revision
22819 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
22820 * timezone/zdump.c: Likewise.
22821 * timezone/zic.c: Likewise.
22822 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
22823 in TZVERSION setting, not $(PKGVERSION).
22824 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
22825 REPORT_BUGS_TO settings.
22828 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
22831 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22833 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
22834 detection to immediately after _FP_ROUND().
22835 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
22838 2012-11-11 David S. Miller <davem@davemloft.net>
22840 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
22842 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
22843 __close rather than their public counterparts.
22845 2012-11-10 Joseph Myers <joseph@codesourcery.com>
22847 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
22849 [UNIX98] (sem_timedwait): Do not expect.
22850 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
22851 [XPG4 || UNIX98] (sockatmark): Do not expect.
22852 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
22853 (clock_getcpuclockid): Do not expect.
22854 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
22855 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
22857 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
22858 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
22859 [UNIX98] (vwscanf): Likewise.
22860 [UNIX98] (vswscanf): Likewise.
22862 2012-11-09 Joseph Myers <joseph@codesourcery.com>
22864 * timezone/version.h: Remove file.
22865 * timezone/README: Do not refer to version.h.
22866 * timezone/Makefile ($(objpfx)zic.o): New dependency on
22867 $(objpfx)version.h.
22868 ($(objpfx)zdump.o): Likewise.
22869 ($(objpfx)version.h): New target.
22871 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
22873 * timezone/README: Don't mention modification to tzselect.ksh.
22874 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
22875 work on unmodified tzselect.ksh. Substitute version numbers in
22878 * Makefile (format-me): Remove.
22879 (INSTALL): Adjust indentation. Use commands directly instead of
22880 using $(format-me).
22882 * aclocal.m4 (ACX_PKGVERSION): New macro.
22883 (ACX_BUGURL): Likewise.
22884 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
22885 (PKGVERSION): New AC_DEFINE_UNQUOTED.
22886 (REPORT_BUGS_TO): Likewise.
22887 * configure: Regenerated.
22888 * config.h.in (PKGVERSION): New macro.
22889 (REPORT_BUGS_TO): Likewise.
22890 * config.make.in (PKGVERSION): New variable.
22891 (PKGVERSION_TEXI): Likewise.
22892 (REPORT_BUGS_TO): Likewise.
22893 (REPORT_BUGS_TEXI): Likewise.
22894 * Makefile (format-me): Use -I$(common-objpfx)manual.
22895 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
22896 ($(common-objpfx)manual/%): New target.
22897 (manual/%): Remove target.
22898 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
22899 (print_version): Use PKGVERSION.
22900 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
22901 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
22902 and REPORT_BUGS_TO.
22903 ($(objpfx)xtrace): Likewise.
22904 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
22905 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
22906 (print_version): Use PKGVERSION.
22907 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
22908 (do_version): Use PKGVERSION.
22909 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
22911 (common-ldd-rewrite): Likewise.
22912 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
22913 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
22914 (print_version): Use PKGVERSION.
22915 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
22916 * elf/pldd.c (argp_program_bug_address): Remove variable.
22917 (more_help): New function.
22918 (argp): Use more_help.
22919 (print_version): Use PKGVERSION.
22920 * elf/sln.c (main): Use PKGVERSION.
22921 (usage): Use REPORT_BUGS_TO.
22922 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
22923 (top level): Use PKGVERSION.
22924 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
22925 (print_version): Use PKGVERSION.
22926 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
22927 (print_version): Use PKGVERSION.
22928 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
22929 (print_version): Use PKGVERSION.
22930 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
22931 (print_version): Use PKGVERSION.
22932 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
22933 (print_version): Use PKGVERSION.
22934 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
22935 (print_version): Use PKGVERSION.
22936 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
22938 ($(objpfx)memusage): Likewise.
22939 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
22940 (do_version): Use PKGVERSION.
22941 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
22942 (print_version): Use PKGVERSION.
22943 * malloc/mtrace.pl ($PACKAGE): Remove variable.
22944 ($PKGVERSION): New variable.
22945 ($REPORT_BUGS_TO): Likewise.
22946 (usage): Use $REPORT_BUGS_TO.
22947 (top level): Use $PKGVERSION.
22948 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
22949 ($(objpfx)pkgvers.texi): New rule.
22950 ($(objpfx)stamp-pkgvers): Likewise.
22951 * manual/install.texi: Include pkgvers.texi.
22952 (--with-pkgversion): Document new configure option.
22953 (--with-bugurl): Likewise.
22954 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
22955 than necessarily for this particular distribution. Use
22956 REPORT_BUGS_TO for where to report bugs.
22957 * INSTALL: Regenerated.
22958 * manual/libc.texinfo: Include pkgvers.texi.
22959 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
22960 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
22961 (print_version): Use PKGVERSION.
22962 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
22963 (print_version): Use PKGVERSION.
22964 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
22965 (print_version): Use PKGVERSION.
22966 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
22967 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
22969 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
22970 (print_version): Use PKGVERSION.
22971 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
22972 (print_version): Use PKGVERSION.
22973 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
22976 * timezone/checktab.awk: Update from tzcode 2012i.
22977 * timezone/ialloc.c: Likewise.
22978 * timezone/private.h: Likewise.
22979 * timezone/scheck.c: Likewise.
22980 * timezone/tzfile.h: Likewise.
22981 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
22982 (TZVERSION): Hardcode tzcode version number.
22983 * timezone/zdump.c: Update from tzcode 2012i.
22984 * timezone/zic.c: Likewise.
22985 * timezone/version.h: New file.
22986 * timezone/README: Describe version.h. Update upstream location.
22989 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
22990 (mktemp): Enable declaration.
22991 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
22992 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
22993 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
22994 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
22996 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
22998 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
23000 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
23002 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
23004 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
23008 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
23009 offset in buffer as u_int32_t not u_long. Consistently use memcpy
23010 for copies of such integer values.
23011 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
23012 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
23014 2012-11-09 Andreas Jaeger <aj@suse.de>
23016 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
23017 definitions and declarations that are provided by
23018 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
23020 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23022 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
23023 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
23024 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
23027 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23029 * elf/elf.h: Update comment before AArch64 relocations.
23031 2012-11-07 David S. Miller <davem@davemloft.net>
23033 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
23034 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
23035 (__start_context): Declare.
23036 (__makecontext_ret): Delete.
23037 (__makecontext): Hook up __start_context instead of
23039 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
23040 (sysdep_routines): Add __start_context when in stdlib.
23042 2012-11-07 Joseph Myers <joseph@codesourcery.com>
23044 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
23045 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
23046 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
23048 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
23049 (READELF): New variable. Use it instead of hardcoded "readelf".
23051 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
23053 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
23054 * sysdeps/x86/Makefile: Here.
23055 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
23056 * sysdeps/x86/tst-xmmymm.sh: This.
23058 2012-11-07 Joseph Myers <joseph@codesourcery.com>
23060 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
23062 [UNIX98] (pthread_barrier_t): Do not expect.
23063 [UNIX98] (pthread_barrierattr_t): Likewise.
23064 [UNIX98] (pthread_spinlock_t): Likewise.
23065 [UNIX98] (pthread_barrier_destroy): Likewise.
23066 [UNIX98] (pthread_barrier_init): Likewise.
23067 [UNIX98] (pthread_barrier_wait): Likewise.
23068 [UNIX98] (pthread_barrierattr_destroy): Likewise.
23069 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
23070 [UNIX98] (pthread_barrierattr_init): Likewise.
23071 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
23072 [UNIX98] (pthread_getcpuclockid): Likewise.
23073 [UNIX98] (pthread_mutex_timedlock): Likewise.
23074 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
23075 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
23076 [UNIX98] (pthread_sigmask): Likewise.
23077 [UNIX98] (pthread_spin_destroy): Likewise.
23078 [UNIX98] (pthread_spin_init): Likewise.
23079 [UNIX98] (pthread_spin_lock): Likewise.
23080 [UNIX98] (pthread_spin_trylock): Likewise.
23081 [UNIX98] (pthread_spin_unlock): Likewise.
23082 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
23084 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
23085 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
23086 [XPG3 || XPG4] (pthread_cond_t): Likewise.
23087 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
23088 [XPG3 || XPG4] (pthread_key_t): Likewise.
23089 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
23090 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
23091 [XPG3 || XPG4] (pthread_once_t): Likewise.
23092 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
23093 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
23094 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
23095 [XPG3 || XPG4] (pthread_t): Likewise.
23097 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
23099 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
23101 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
23102 Change function return type to int.
23104 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
23105 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
23106 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
23107 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
23108 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
23109 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
23110 [!POSIX] (posix_madvise): Likewise.
23111 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
23113 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
23114 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
23115 (mode_t): Likewise.
23116 (posix_mem_offset): Likewise.
23117 (posix_typed_mem_get_info): Likewise.
23118 (posix_typed_mem_open): Likewise.
23120 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
23121 Change condition to [XOPEN2K8].
23123 * conform/conformtest.pl: Preprocess allow-header data with -x c
23124 instead of from stdin.
23125 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
23126 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
23127 [C99-based standards] (cerfc): Likewise.
23128 [C99-based standards] (cexp2): Likewise.
23129 [C99-based standards] (cexpm1): Likewise.
23130 [C99-based standards] (clog10): Likewise.
23131 [C99-based standards] (clog1p): Likewise.
23132 [C99-based standards] (clog2): Likewise.
23133 [C99-based standards] (clgamma): Likewise.
23134 [C99-based standards] (ctgamma): Likewise.
23135 [C99-based standards] (cerff): Likewise.
23136 [C99-based standards] (cerfcf): Likewise.
23137 [C99-based standards] (cexp2f): Likewise.
23138 [C99-based standards] (cexpm1f): Likewise.
23139 [C99-based standards] (clog10f): Likewise.
23140 [C99-based standards] (clog1pf): Likewise.
23141 [C99-based standards] (clog2f): Likewise.
23142 [C99-based standards] (clgammaf): Likewise.
23143 [C99-based standards] (ctgammaf): Likewise.
23144 [C99-based standards] (cerfl): Likewise.
23145 [C99-based standards] (cerfcl): Likewise.
23146 [C99-based standards] (cexp2l): Likewise.
23147 [C99-based standards] (cexpm1l): Likewise.
23148 [C99-based standards] (clog10l): Likewise.
23149 [C99-based standards] (clog1pl): Likewise.
23150 [C99-based standards] (clog2l): Likewise.
23151 [C99-based standards] (clgammal): Likewise.
23152 [C99-based standards] (ctgammal): Likewise.
23153 * conform/data/inttypes.h-data [C99-based standards]: Include
23154 stdint.h-data. Remove all expectations for stdint.h contents.
23155 [C99-based standards] (PRI*): Do not allow.
23156 [C99-based standards] (SCN*): Likewise.
23157 [C99-based standards] (*_t): Likewise.
23158 [C99-based-standards] (PRId8): Expect macro.
23159 [C99-based-standards] (PRIi8): Likewise.
23160 [C99-based-standards] (PRIo8): Likewise.
23161 [C99-based-standards] (PRIu8): Likewise.
23162 [C99-based-standards] (PRIx8): Likewise.
23163 [C99-based-standards] (PRIX8): Likewise.
23164 [C99-based-standards] (SCNd8): Likewise.
23165 [C99-based-standards] (SCNi8): Likewise.
23166 [C99-based-standards] (SCNo8): Likewise.
23167 [C99-based-standards] (SCNu8): Likewise.
23168 [C99-based-standards] (SCNx8): Likewise.
23169 [C99-based-standards] (PRIdLEAST8): Likewise.
23170 [C99-based-standards] (PRIiLEAST8): Likewise.
23171 [C99-based-standards] (PRIoLEAST8): Likewise.
23172 [C99-based-standards] (PRIuLEAST8): Likewise.
23173 [C99-based-standards] (PRIxLEAST8): Likewise.
23174 [C99-based-standards] (PRIXLEAST8): Likewise.
23175 [C99-based-standards] (SCNdLEAST8): Likewise.
23176 [C99-based-standards] (SCNiLEAST8): Likewise.
23177 [C99-based-standards] (SCNoLEAST8): Likewise.
23178 [C99-based-standards] (SCNuLEAST8): Likewise.
23179 [C99-based-standards] (SCNxLEAST8): Likewise.
23180 [C99-based-standards] (PRIdFAST8): Likewise.
23181 [C99-based-standards] (PRIiFAST8): Likewise.
23182 [C99-based-standards] (PRIoFAST8): Likewise.
23183 [C99-based-standards] (PRIuFAST8): Likewise.
23184 [C99-based-standards] (PRIxFAST8): Likewise.
23185 [C99-based-standards] (PRIXFAST8): Likewise.
23186 [C99-based-standards] (SCNdFAST8): Likewise.
23187 [C99-based-standards] (SCNiFAST8): Likewise.
23188 [C99-based-standards] (SCNoFAST8): Likewise.
23189 [C99-based-standards] (SCNuFAST8): Likewise.
23190 [C99-based-standards] (SCNxFAST8): Likewise.
23191 [C99-based-standards] (PRId16): Likewise.
23192 [C99-based-standards] (PRIi16): Likewise.
23193 [C99-based-standards] (PRIo16): Likewise.
23194 [C99-based-standards] (PRIu16): Likewise.
23195 [C99-based-standards] (PRIx16): Likewise.
23196 [C99-based-standards] (PRIX16): Likewise.
23197 [C99-based-standards] (SCNd16): Likewise.
23198 [C99-based-standards] (SCNi16): Likewise.
23199 [C99-based-standards] (SCNo16): Likewise.
23200 [C99-based-standards] (SCNu16): Likewise.
23201 [C99-based-standards] (SCNx16): Likewise.
23202 [C99-based-standards] (PRIdLEAST16): Likewise.
23203 [C99-based-standards] (PRIiLEAST16): Likewise.
23204 [C99-based-standards] (PRIoLEAST16): Likewise.
23205 [C99-based-standards] (PRIuLEAST16): Likewise.
23206 [C99-based-standards] (PRIxLEAST16): Likewise.
23207 [C99-based-standards] (PRIXLEAST16): Likewise.
23208 [C99-based-standards] (SCNdLEAST16): Likewise.
23209 [C99-based-standards] (SCNiLEAST16): Likewise.
23210 [C99-based-standards] (SCNoLEAST16): Likewise.
23211 [C99-based-standards] (SCNuLEAST16): Likewise.
23212 [C99-based-standards] (SCNxLEAST16): Likewise.
23213 [C99-based-standards] (PRIdFAST16): Likewise.
23214 [C99-based-standards] (PRIiFAST16): Likewise.
23215 [C99-based-standards] (PRIoFAST16): Likewise.
23216 [C99-based-standards] (PRIuFAST16): Likewise.
23217 [C99-based-standards] (PRIxFAST16): Likewise.
23218 [C99-based-standards] (PRIXFAST16): Likewise.
23219 [C99-based-standards] (SCNdFAST16): Likewise.
23220 [C99-based-standards] (SCNiFAST16): Likewise.
23221 [C99-based-standards] (SCNoFAST16): Likewise.
23222 [C99-based-standards] (SCNuFAST16): Likewise.
23223 [C99-based-standards] (SCNxFAST16): Likewise.
23224 [C99-based-standards] (PRId32): Likewise.
23225 [C99-based-standards] (PRIi32): Likewise.
23226 [C99-based-standards] (PRIo32): Likewise.
23227 [C99-based-standards] (PRIu32): Likewise.
23228 [C99-based-standards] (PRIx32): Likewise.
23229 [C99-based-standards] (PRIX32): Likewise.
23230 [C99-based-standards] (SCNd32): Likewise.
23231 [C99-based-standards] (SCNi32): Likewise.
23232 [C99-based-standards] (SCNo32): Likewise.
23233 [C99-based-standards] (SCNu32): Likewise.
23234 [C99-based-standards] (SCNx32): Likewise.
23235 [C99-based-standards] (PRIdLEAST32): Likewise.
23236 [C99-based-standards] (PRIiLEAST32): Likewise.
23237 [C99-based-standards] (PRIoLEAST32): Likewise.
23238 [C99-based-standards] (PRIuLEAST32): Likewise.
23239 [C99-based-standards] (PRIxLEAST32): Likewise.
23240 [C99-based-standards] (PRIXLEAST32): Likewise.
23241 [C99-based-standards] (SCNdLEAST32): Likewise.
23242 [C99-based-standards] (SCNiLEAST32): Likewise.
23243 [C99-based-standards] (SCNoLEAST32): Likewise.
23244 [C99-based-standards] (SCNuLEAST32): Likewise.
23245 [C99-based-standards] (SCNxLEAST32): Likewise.
23246 [C99-based-standards] (PRIdFAST32): Likewise.
23247 [C99-based-standards] (PRIiFAST32): Likewise.
23248 [C99-based-standards] (PRIoFAST32): Likewise.
23249 [C99-based-standards] (PRIuFAST32): Likewise.
23250 [C99-based-standards] (PRIxFAST32): Likewise.
23251 [C99-based-standards] (PRIXFAST32): Likewise.
23252 [C99-based-standards] (SCNdFAST32): Likewise.
23253 [C99-based-standards] (SCNiFAST32): Likewise.
23254 [C99-based-standards] (SCNoFAST32): Likewise.
23255 [C99-based-standards] (SCNuFAST32): Likewise.
23256 [C99-based-standards] (SCNxFAST32): Likewise.
23257 [C99-based-standards] (PRId64): Likewise.
23258 [C99-based-standards] (PRIi64): Likewise.
23259 [C99-based-standards] (PRIo64): Likewise.
23260 [C99-based-standards] (PRIu64): Likewise.
23261 [C99-based-standards] (PRIx64): Likewise.
23262 [C99-based-standards] (PRIX64): Likewise.
23263 [C99-based-standards] (SCNd64): Likewise.
23264 [C99-based-standards] (SCNi64): Likewise.
23265 [C99-based-standards] (SCNo64): Likewise.
23266 [C99-based-standards] (SCNu64): Likewise.
23267 [C99-based-standards] (SCNx64): Likewise.
23268 [C99-based-standards] (PRIdLEAST64): Likewise.
23269 [C99-based-standards] (PRIiLEAST64): Likewise.
23270 [C99-based-standards] (PRIoLEAST64): Likewise.
23271 [C99-based-standards] (PRIuLEAST64): Likewise.
23272 [C99-based-standards] (PRIxLEAST64): Likewise.
23273 [C99-based-standards] (PRIXLEAST64): Likewise.
23274 [C99-based-standards] (SCNdLEAST64): Likewise.
23275 [C99-based-standards] (SCNiLEAST64): Likewise.
23276 [C99-based-standards] (SCNoLEAST64): Likewise.
23277 [C99-based-standards] (SCNuLEAST64): Likewise.
23278 [C99-based-standards] (SCNxLEAST64): Likewise.
23279 [C99-based-standards] (PRIdFAST64): Likewise.
23280 [C99-based-standards] (PRIiFAST64): Likewise.
23281 [C99-based-standards] (PRIoFAST64): Likewise.
23282 [C99-based-standards] (PRIuFAST64): Likewise.
23283 [C99-based-standards] (PRIxFAST64): Likewise.
23284 [C99-based-standards] (PRIXFAST64): Likewise.
23285 [C99-based-standards] (SCNdFAST64): Likewise.
23286 [C99-based-standards] (SCNiFAST64): Likewise.
23287 [C99-based-standards] (SCNoFAST64): Likewise.
23288 [C99-based-standards] (SCNuFAST64): Likewise.
23289 [C99-based-standards] (SCNxFAST64): Likewise.
23290 [C99-based-standards] (PRIdMAX): Likewise.
23291 [C99-based-standards] (PRIiMAX): Likewise.
23292 [C99-based-standards] (PRIoMAX): Likewise.
23293 [C99-based-standards] (PRIuMAX): Likewise.
23294 [C99-based-standards] (PRIxMAX): Likewise.
23295 [C99-based-standards] (PRIXMAX): Likewise.
23296 [C99-based-standards] (SCNdMAX): Likewise.
23297 [C99-based-standards] (SCNiMAX): Likewise.
23298 [C99-based-standards] (SCNoMAX): Likewise.
23299 [C99-based-standards] (SCNuMAX): Likewise.
23300 [C99-based-standards] (SCNxMAX): Likewise.
23301 [C99-based-standards] (PRIdPTR): Likewise.
23302 [C99-based-standards] (PRIiPTR): Likewise.
23303 [C99-based-standards] (PRIoPTR): Likewise.
23304 [C99-based-standards] (PRIuPTR): Likewise.
23305 [C99-based-standards] (PRIxPTR): Likewise.
23306 [C99-based-standards] (PRIXPTR): Likewise.
23307 [C99-based-standards] (SCNdPTR): Likewise.
23308 [C99-based-standards] (SCNiPTR): Likewise.
23309 [C99-based-standards] (SCNoPTR): Likewise.
23310 [C99-based-standards] (SCNuPTR): Likewise.
23311 [C99-based-standards] (SCNxPTR): Likewise.
23312 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
23314 * conform/data/stdint.h-data: Update comments to clarify
23316 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
23318 [C99-based standards] (INT8_MAX): Likewise.
23319 [C99-based standards] (INT16_MIN): Likewise.
23320 [C99-based standards] (INT16_MAX): Likewise.
23321 [C99-based standards] (INT32_MIN): Likewise.
23322 [C99-based standards] (INT32_MAX): Likewise.
23323 [C99-based standards] (INT64_MIN): Likewise.
23324 [C99-based standards] (INT64_MAX): Likewise.
23325 [C99-based standards] (UINT8_MAX): Likewise.
23326 [C99-based standards] (UINT16_MAX): Likewise.
23327 [C99-based standards] (UINT32_MAX): Likewise.
23328 [C99-based standards] (UINT64_MAX): Likewise.
23329 [C99-based standards] (INT_LEAST8_MIN): Likewise.
23330 [C99-based standards] (INT_LEAST8_MAX): Likewise.
23331 [C99-based standards] (INT_LEAST16_MIN): Likewise.
23332 [C99-based standards] (INT_LEAST16_MAX): Likewise.
23333 [C99-based standards] (INT_LEAST32_MIN): Likewise.
23334 [C99-based standards] (INT_LEAST32_MAX): Likewise.
23335 [C99-based standards] (INT_LEAST64_MIN): Likewise.
23336 [C99-based standards] (INT_LEAST64_MAX): Likewise.
23337 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
23338 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
23339 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
23340 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
23341 [C99-based standards] (INT_FAST8_MIN): Likewise.
23342 [C99-based standards] (INT_FAST8_MAX): Likewise.
23343 [C99-based standards] (INT_FAST16_MIN): Likewise.
23344 [C99-based standards] (INT_FAST16_MAX): Likewise.
23345 [C99-based standards] (INT_FAST32_MIN): Likewise.
23346 [C99-based standards] (INT_FAST32_MAX): Likewise.
23347 [C99-based standards] (INT_FAST64_MIN): Likewise.
23348 [C99-based standards] (INT_FAST64_MAX): Likewise.
23349 [C99-based standards] (UINT_FAST8_MAX): Likewise.
23350 [C99-based standards] (UINT_FAST16_MAX): Likewise.
23351 [C99-based standards] (UINT_FAST32_MAX): Likewise.
23352 [C99-based standards] (UINT_FAST64_MAX): Likewise.
23353 [C99-based standards] (INTPTR_MIN): Likewise.
23354 [C99-based standards] (INTPTR_MAX): Likewise.
23355 [C99-based standards] (UINTPTR_MAX): Likewise.
23356 [C99-based standards] (INTMAX_MIN): Likewise.
23357 [C99-based standards] (INTMAX_MAX): Likewise.
23358 [C99-based standards] (UINTMAX_MAX): Likewise.
23359 [C99-based standards] (PTRDIFF_MIN): Likewise.
23360 [C99-based standards] (PTRDIFF_MAX): Likewise.
23361 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
23362 [C99-based standards] (SIZE_MAX): Likewise.
23363 [C99-based standards] (WCHAR_MAX): Likewise.
23364 [C99-based standards] (WINT_MAX): Likewise.
23365 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
23366 constraint on value.
23367 [C99-based standards] (WCHAR_MIN): Likewise.
23368 [C99-based standards] (WINT_MIN): Likewise.
23369 [C99-based standards] (*_t): Allow.
23370 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
23371 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
23372 Include math.h-data and complex.h-data. Remove all expectations
23373 of math.h and complex.h contents.
23374 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
23376 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
23377 (struct tm): Expect tag.
23378 [C99-based-standards] (wcstof): Expect function.
23379 [C99-based-standards] (wcstold): Likewise.
23380 [C99-based-standards] (wcstoll): Likewise.
23381 [C99-based-standards] (wcstoull): Likewise.
23382 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
23383 macro-int-constant. Specify type.
23384 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
23385 constraint on value.
23386 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
23388 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
23390 [ISO C standards]: Do not allow headers.
23391 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
23392 wcs[abcdefghijklmnopqrstuvwxyz]*.
23393 [ISO C standards] (*_t): Do not allow.
23394 * conform/data/wctype.h-data [C99-based standards] (iswblank):
23396 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
23397 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
23399 [ISO C standards]: Do not allow headers.
23400 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
23401 is[abcdefghijklmnopqrstuvwxyz]*.
23402 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
23403 to[abcdefghijklmnopqrstuvwxyz]*.
23404 [ISO C standards] (*_t): Do not allow.
23405 * conform/data/stdalign.h-data: New file.
23406 * conform/data/stdbool.h-data: Likewise.
23407 * conform/data/stdnoreturn.h-data: Likewise.
23409 2012-11-07 Roland McGrath <roland@hack.frob.com>
23412 * manual/filesys.texi (Directory Entries): Typo fix.
23413 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
23415 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23417 * elf/elf.h (EM_AARCH64): New macro.
23418 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
23419 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
23420 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
23421 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
23422 (R_AARCH64_TLSDESC): Likewise.
23423 (NT_ARM_TLS): Likewise.
23424 (NT_ARM_HW_BREAK): Likewise.
23425 (NT_ARM_HW_WATCH): Likewise.
23427 2012-11-07 Joseph Myers <joseph@codesourcery.com>
23430 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
23431 (__ieee754_powl): Saturate nonzero exponents with absolute value
23432 below 0x1p-79 to +/- 0x1p-79.
23433 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
23434 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
23435 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
23436 nonzero exponents with absolute value below 0x1p-32 to +/-
23438 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
23439 (__ieee754_powl): Saturate nonzero exponents with absolute value
23440 below 0x1p-79 to +/- 0x1p-79.
23441 * math/libm-test.inc (pow_test): Add more tests.
23443 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23445 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
23446 _dl_s390_cap_flags with kernel. Increase string length.
23447 (_dl_s390_platforms): Add z196 and zEC12.
23449 2012-11-07 Joseph Myers <joseph@codesourcery.com>
23451 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
23452 Change XOPEN21K to XOPEN2K.
23454 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
23456 * string/memmove.c: Use memcpy when possible.
23458 2012-11-06 Andreas Jaeger <aj@suse.de>
23460 * po/eo.po: Update from translation team.
23462 2012-11-06 Joseph Myers <joseph@codesourcery.com>
23465 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
23466 exponent and small x and y exponents, scale x or y up. Increase
23467 by 2 the exponent used in scaling up.
23468 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23469 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23470 * math/libm-test.inc (fma_test): Add more tests.
23471 (fma_test_towardzero): Likewise.
23472 (fma_test_downward): Likewise.
23473 (fma_test_upward): Likewise.
23475 2012-11-05 Joseph Myers <joseph@codesourcery.com>
23478 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
23482 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
23483 namespace for names of struct fields.
23484 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
23486 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
23487 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
23489 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
23492 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
23494 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
23496 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
23500 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
23503 2012-11-04 Joseph Myers <joseph@codesourcery.com>
23506 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
23507 definitely overflow as x * y not x * y + z.
23508 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23509 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23510 * math/libm-test.inc (fma_test): Add more tests.
23511 (fma_test_towardzero): Likewise.
23512 (fma_test_downward): Likewise.
23513 (fma_test_upward): Likewise.
23515 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
23519 * include/stub-tag.h: Remove file.
23520 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
23522 * manual/maint.texi (Porting): Don't reference it.
23523 * Makerules ($(objpfx)stubs): Likewise.
23524 * dirent/closedir.c: Don't include <stub-tag.h>.
23525 * dirent/dirfd.c: Likewise.
23526 * dirent/fdopendir.c: Likewise.
23527 * dirent/getdents.c: Likewise.
23528 * dirent/getdents64.c: Likewise.
23529 * dirent/opendir.c: Likewise.
23530 * dirent/readdir.c: Likewise.
23531 * dirent/readdir64.c: Likewise.
23532 * dirent/readdir64_r.c: Likewise.
23533 * dirent/readdir_r.c: Likewise.
23534 * dirent/rewinddir.c: Likewise.
23535 * dirent/seekdir.c: Likewise.
23536 * dirent/telldir.c: Likewise.
23537 * gmon/profil.c: Likewise.
23538 * grp/setgroups.c: Likewise.
23539 * inet/if_index.c: Likewise.
23540 * io/access.c: Likewise.
23541 * io/chdir.c: Likewise.
23542 * io/chmod.c: Likewise.
23543 * io/chown.c: Likewise.
23544 * io/close.c: Likewise.
23545 * io/dup.c: Likewise.
23546 * io/dup2.c: Likewise.
23547 * io/dup3.c: Likewise.
23548 * io/euidaccess.c: Likewise.
23549 * io/faccessat.c: Likewise.
23550 * io/fchdir.c: Likewise.
23551 * io/fchmod.c: Likewise.
23552 * io/fchmodat.c: Likewise.
23553 * io/fchown.c: Likewise.
23554 * io/fchownat.c: Likewise.
23555 * io/fcntl.c: Likewise.
23556 * io/flock.c: Likewise.
23557 * io/fstatfs.c: Likewise.
23558 * io/fstatfs64.c: Likewise.
23559 * io/fstatvfs.c: Likewise.
23560 * io/fstatvfs64.c: Likewise.
23561 * io/futimens.c: Likewise.
23562 * io/fxstat.c: Likewise.
23563 * io/fxstat64.c: Likewise.
23564 * io/fxstatat.c: Likewise.
23565 * io/fxstatat64.c: Likewise.
23566 * io/getcwd.c: Likewise.
23567 * io/isatty.c: Likewise.
23568 * io/lchmod.c: Likewise.
23569 * io/lchown.c: Likewise.
23570 * io/link.c: Likewise.
23571 * io/linkat.c: Likewise.
23572 * io/lseek.c: Likewise.
23573 * io/lseek64.c: Likewise.
23574 * io/lxstat64.c: Likewise.
23575 * io/mkdir.c: Likewise.
23576 * io/mkdirat.c: Likewise.
23577 * io/mkfifo.c: Likewise.
23578 * io/mkfifoat.c: Likewise.
23579 * io/open.c: Likewise.
23580 * io/open64.c: Likewise.
23581 * io/openat.c: Likewise.
23582 * io/openat64.c: Likewise.
23583 * io/pipe.c: Likewise.
23584 * io/pipe2.c: Likewise.
23585 * io/poll.c: Likewise.
23586 * io/posix_fadvise.c: Likewise.
23587 * io/posix_fadvise64.c: Likewise.
23588 * io/posix_fallocate.c: Likewise.
23589 * io/posix_fallocate64.c: Likewise.
23590 * io/read.c: Likewise.
23591 * io/readlink.c: Likewise.
23592 * io/readlinkat.c: Likewise.
23593 * io/rmdir.c: Likewise.
23594 * io/sendfile.c: Likewise.
23595 * io/sendfile64.c: Likewise.
23596 * io/statfs.c: Likewise.
23597 * io/statfs64.c: Likewise.
23598 * io/statvfs.c: Likewise.
23599 * io/statvfs64.c: Likewise.
23600 * io/symlink.c: Likewise.
23601 * io/symlinkat.c: Likewise.
23602 * io/ttyname.c: Likewise.
23603 * io/ttyname_r.c: Likewise.
23604 * io/umask.c: Likewise.
23605 * io/unlink.c: Likewise.
23606 * io/unlinkat.c: Likewise.
23607 * io/utime.c: Likewise.
23608 * io/utimensat.c: Likewise.
23609 * io/write.c: Likewise.
23610 * io/xmknod.c: Likewise.
23611 * io/xmknodat.c: Likewise.
23612 * io/xstat.c: Likewise.
23613 * io/xstat64.c: Likewise.
23614 * login/getpt.c: Likewise.
23615 * login/grantpt.c: Likewise.
23616 * login/unlockpt.c: Likewise.
23617 * math/e_acoshl.c: Likewise.
23618 * math/e_acosl.c: Likewise.
23619 * math/e_asinl.c: Likewise.
23620 * math/e_atan2l.c: Likewise.
23621 * math/e_atanhl.c: Likewise.
23622 * math/e_coshl.c: Likewise.
23623 * math/e_expl.c: Likewise.
23624 * math/e_fmodl.c: Likewise.
23625 * math/e_gammal_r.c: Likewise.
23626 * math/e_hypotl.c: Likewise.
23627 * math/e_j0l.c: Likewise.
23628 * math/e_j1l.c: Likewise.
23629 * math/e_jnl.c: Likewise.
23630 * math/e_lgammal_r.c: Likewise.
23631 * math/e_log10l.c: Likewise.
23632 * math/e_log2l.c: Likewise.
23633 * math/e_logl.c: Likewise.
23634 * math/e_powl.c: Likewise.
23635 * math/e_rem_pio2l.c: Likewise.
23636 * math/e_sinhl.c: Likewise.
23637 * math/e_sqrtl.c: Likewise.
23638 * math/fclrexcpt.c: Likewise.
23639 * math/fedisblxcpt.c: Likewise.
23640 * math/feenablxcpt.c: Likewise.
23641 * math/fegetenv.c: Likewise.
23642 * math/fegetexcept.c: Likewise.
23643 * math/fegetround.c: Likewise.
23644 * math/feholdexcpt.c: Likewise.
23645 * math/fesetenv.c: Likewise.
23646 * math/fesetround.c: Likewise.
23647 * math/feupdateenv.c: Likewise.
23648 * math/fgetexcptflg.c: Likewise.
23649 * math/fraiseexcpt.c: Likewise.
23650 * math/fsetexcptflg.c: Likewise.
23651 * math/ftestexcept.c: Likewise.
23652 * math/k_cosl.c: Likewise.
23653 * math/k_rem_pio2l.c: Likewise.
23654 * math/k_sinl.c: Likewise.
23655 * math/k_tanl.c: Likewise.
23656 * math/s_asinhl.c: Likewise.
23657 * math/s_atanl.c: Likewise.
23658 * math/s_cbrtl.c: Likewise.
23659 * math/s_erfl.c: Likewise.
23660 * math/s_expm1l.c: Likewise.
23661 * math/s_log1pl.c: Likewise.
23662 * math/s_tanhl.c: Likewise.
23663 * misc/acct.c: Likewise.
23664 * misc/brk.c: Likewise.
23665 * misc/chflags.c: Likewise.
23666 * misc/chroot.c: Likewise.
23667 * misc/fchflags.c: Likewise.
23668 * misc/fgetxattr.c: Likewise.
23669 * misc/flistxattr.c: Likewise.
23670 * misc/fremovexattr.c: Likewise.
23671 * misc/fsetxattr.c: Likewise.
23672 * misc/fsync.c: Likewise.
23673 * misc/ftruncate.c: Likewise.
23674 * misc/futimes.c: Likewise.
23675 * misc/futimesat.c: Likewise.
23676 * misc/getdomain.c: Likewise.
23677 * misc/getdtsz.c: Likewise.
23678 * misc/gethostid.c: Likewise.
23679 * misc/gethostname.c: Likewise.
23680 * misc/getloadavg.c: Likewise.
23681 * misc/getpagesize.c: Likewise.
23682 * misc/getsysstats.c: Likewise.
23683 * misc/getxattr.c: Likewise.
23684 * misc/gtty.c: Likewise.
23685 * misc/ioctl.c: Likewise.
23686 * misc/lgetxattr.c: Likewise.
23687 * misc/listxattr.c: Likewise.
23688 * misc/llistxattr.c: Likewise.
23689 * misc/lremovexattr.c: Likewise.
23690 * misc/lsetxattr.c: Likewise.
23691 * misc/lutimes.c: Likewise.
23692 * misc/madvise.c: Likewise.
23693 * misc/mincore.c: Likewise.
23694 * misc/mlock.c: Likewise.
23695 * misc/mlockall.c: Likewise.
23696 * misc/mmap.c: Likewise.
23697 * misc/mprotect.c: Likewise.
23698 * misc/msync.c: Likewise.
23699 * misc/munlock.c: Likewise.
23700 * misc/munlockall.c: Likewise.
23701 * misc/munmap.c: Likewise.
23702 * misc/preadv.c: Likewise.
23703 * misc/preadv64.c: Likewise.
23704 * misc/ptrace.c: Likewise.
23705 * misc/pwritev.c: Likewise.
23706 * misc/pwritev64.c: Likewise.
23707 * misc/readv.c: Likewise.
23708 * misc/reboot.c: Likewise.
23709 * misc/remap_file_pages.c: Likewise.
23710 * misc/removexattr.c: Likewise.
23711 * misc/revoke.c: Likewise.
23712 * misc/select.c: Likewise.
23713 * misc/setdomain.c: Likewise.
23714 * misc/setegid.c: Likewise.
23715 * misc/seteuid.c: Likewise.
23716 * misc/sethostid.c: Likewise.
23717 * misc/sethostname.c: Likewise.
23718 * misc/setregid.c: Likewise.
23719 * misc/setreuid.c: Likewise.
23720 * misc/setxattr.c: Likewise.
23721 * misc/sstk.c: Likewise.
23722 * misc/stty.c: Likewise.
23723 * misc/swapoff.c: Likewise.
23724 * misc/swapon.c: Likewise.
23725 * misc/sync.c: Likewise.
23726 * misc/syncfs.c: Likewise.
23727 * misc/syscall.c: Likewise.
23728 * misc/truncate.c: Likewise.
23729 * misc/ualarm.c: Likewise.
23730 * misc/usleep.c: Likewise.
23731 * misc/ustat.c: Likewise.
23732 * misc/utimes.c: Likewise.
23733 * misc/vhangup.c: Likewise.
23734 * misc/writev.c: Likewise.
23735 * posix/_exit.c: Likewise.
23736 * posix/alarm.c: Likewise.
23737 * posix/execve.c: Likewise.
23738 * posix/fexecve.c: Likewise.
23739 * posix/fork.c: Likewise.
23740 * posix/fpathconf.c: Likewise.
23741 * posix/getaddrinfo.c: Likewise.
23742 * posix/getegid.c: Likewise.
23743 * posix/geteuid.c: Likewise.
23744 * posix/getgid.c: Likewise.
23745 * posix/getgroups.c: Likewise.
23746 * posix/getlogin.c: Likewise.
23747 * posix/getlogin_r.c: Likewise.
23748 * posix/getpgid.c: Likewise.
23749 * posix/getpid.c: Likewise.
23750 * posix/getppid.c: Likewise.
23751 * posix/getresgid.c: Likewise.
23752 * posix/getresuid.c: Likewise.
23753 * posix/getsid.c: Likewise.
23754 * posix/getuid.c: Likewise.
23755 * posix/glob64.c: Likewise.
23756 * posix/nanosleep.c: Likewise.
23757 * posix/pathconf.c: Likewise.
23758 * posix/pause.c: Likewise.
23759 * posix/posix_madvise.c: Likewise.
23760 * posix/pread.c: Likewise.
23761 * posix/pread64.c: Likewise.
23762 * posix/pwrite.c: Likewise.
23763 * posix/pwrite64.c: Likewise.
23764 * posix/sched_getaffinity.c: Likewise.
23765 * posix/sched_getp.c: Likewise.
23766 * posix/sched_gets.c: Likewise.
23767 * posix/sched_primax.c: Likewise.
23768 * posix/sched_primin.c: Likewise.
23769 * posix/sched_rr_gi.c: Likewise.
23770 * posix/sched_setaffinity.c: Likewise.
23771 * posix/sched_setp.c: Likewise.
23772 * posix/sched_sets.c: Likewise.
23773 * posix/sched_yield.c: Likewise.
23774 * posix/setgid.c: Likewise.
23775 * posix/setlogin.c: Likewise.
23776 * posix/setpgid.c: Likewise.
23777 * posix/setresgid.c: Likewise.
23778 * posix/setresuid.c: Likewise.
23779 * posix/setsid.c: Likewise.
23780 * posix/setuid.c: Likewise.
23781 * posix/sleep.c: Likewise.
23782 * posix/spawni.c: Likewise.
23783 * posix/sysconf.c: Likewise.
23784 * posix/times.c: Likewise.
23785 * posix/wait.c: Likewise.
23786 * posix/wait3.c: Likewise.
23787 * posix/wait4.c: Likewise.
23788 * posix/waitpid.c: Likewise.
23789 * resolv/gai_sigqueue.c: Likewise.
23790 * resource/getpriority.c: Likewise.
23791 * resource/getrlimit.c: Likewise.
23792 * resource/getrusage.c: Likewise.
23793 * resource/nice.c: Likewise.
23794 * resource/setpriority.c: Likewise.
23795 * resource/setrlimit.c: Likewise.
23796 * resource/ulimit.c: Likewise.
23797 * rt/aio_cancel.c: Likewise.
23798 * rt/aio_fsync.c: Likewise.
23799 * rt/aio_read.c: Likewise.
23800 * rt/aio_sigqueue.c: Likewise.
23801 * rt/aio_suspend.c: Likewise.
23802 * rt/aio_write.c: Likewise.
23803 * rt/clock_getres.c: Likewise.
23804 * rt/clock_gettime.c: Likewise.
23805 * rt/clock_nanosleep.c: Likewise.
23806 * rt/clock_settime.c: Likewise.
23807 * rt/lio_listio.c: Likewise.
23808 * rt/mq_close.c: Likewise.
23809 * rt/mq_getattr.c: Likewise.
23810 * rt/mq_notify.c: Likewise.
23811 * rt/mq_open.c: Likewise.
23812 * rt/mq_receive.c: Likewise.
23813 * rt/mq_send.c: Likewise.
23814 * rt/mq_setattr.c: Likewise.
23815 * rt/mq_timedreceive.c: Likewise.
23816 * rt/mq_timedsend.c: Likewise.
23817 * rt/mq_unlink.c: Likewise.
23818 * rt/shm_open.c: Likewise.
23819 * rt/shm_unlink.c: Likewise.
23820 * rt/timer_create.c: Likewise.
23821 * rt/timer_delete.c: Likewise.
23822 * rt/timer_getoverr.c: Likewise.
23823 * rt/timer_gettime.c: Likewise.
23824 * rt/timer_settime.c: Likewise.
23825 * setjmp/__longjmp.c: Likewise.
23826 * setjmp/setjmp.c: Likewise.
23827 * signal/kill.c: Likewise.
23828 * signal/killpg.c: Likewise.
23829 * signal/raise.c: Likewise.
23830 * signal/sigaction.c: Likewise.
23831 * signal/sigaltstack.c: Likewise.
23832 * signal/sigblock.c: Likewise.
23833 * signal/sigignore.c: Likewise.
23834 * signal/sigintr.c: Likewise.
23835 * signal/signal.c: Likewise.
23836 * signal/sigpause.c: Likewise.
23837 * signal/sigpending.c: Likewise.
23838 * signal/sigqueue.c: Likewise.
23839 * signal/sigreturn.c: Likewise.
23840 * signal/sigset.c: Likewise.
23841 * signal/sigsetmask.c: Likewise.
23842 * signal/sigstack.c: Likewise.
23843 * signal/sigsuspend.c: Likewise.
23844 * signal/sigtimedwait.c: Likewise.
23845 * signal/sigvec.c: Likewise.
23846 * signal/sigwait.c: Likewise.
23847 * signal/sigwaitinfo.c: Likewise.
23848 * signal/sysv_signal.c: Likewise.
23849 * socket/accept.c: Likewise.
23850 * socket/accept4.c: Likewise.
23851 * socket/bind.c: Likewise.
23852 * socket/connect.c: Likewise.
23853 * socket/getpeername.c: Likewise.
23854 * socket/getsockname.c: Likewise.
23855 * socket/getsockopt.c: Likewise.
23856 * socket/isfdtype.c: Likewise.
23857 * socket/listen.c: Likewise.
23858 * socket/recv.c: Likewise.
23859 * socket/recvfrom.c: Likewise.
23860 * socket/recvmsg.c: Likewise.
23861 * socket/send.c: Likewise.
23862 * socket/sendmsg.c: Likewise.
23863 * socket/sendto.c: Likewise.
23864 * socket/setsockopt.c: Likewise.
23865 * socket/shutdown.c: Likewise.
23866 * socket/sockatmark.c: Likewise.
23867 * socket/socket.c: Likewise.
23868 * socket/socketpair.c: Likewise.
23869 * stdio-common/ctermid.c: Likewise.
23870 * stdio-common/cuserid.c: Likewise.
23871 * stdio-common/remove.c: Likewise.
23872 * stdio-common/rename.c: Likewise.
23873 * stdio-common/renameat.c: Likewise.
23874 * stdio-common/tempname.c: Likewise.
23875 * stdlib/getcontext.c: Likewise.
23876 * stdlib/makecontext.c: Likewise.
23877 * stdlib/setcontext.c: Likewise.
23878 * stdlib/swapcontext.c: Likewise.
23879 * stdlib/system.c: Likewise.
23880 * streams/fattach.c: Likewise.
23881 * streams/fdetach.c: Likewise.
23882 * streams/getmsg.c: Likewise.
23883 * streams/getpmsg.c: Likewise.
23884 * streams/putmsg.c: Likewise.
23885 * streams/putpmsg.c: Likewise.
23886 * sysdeps/unix/bsd/getpt.c: Likewise.
23887 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
23888 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
23889 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
23890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
23892 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
23893 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
23894 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
23895 * sysvipc/msgctl.c: Likewise.
23896 * sysvipc/msgget.c: Likewise.
23897 * sysvipc/msgrcv.c: Likewise.
23898 * sysvipc/msgsnd.c: Likewise.
23899 * sysvipc/semctl.c: Likewise.
23900 * sysvipc/semget.c: Likewise.
23901 * sysvipc/semop.c: Likewise.
23902 * sysvipc/semtimedop.c: Likewise.
23903 * sysvipc/shmat.c: Likewise.
23904 * sysvipc/shmctl.c: Likewise.
23905 * sysvipc/shmdt.c: Likewise.
23906 * sysvipc/shmget.c: Likewise.
23907 * termios/tcdrain.c: Likewise.
23908 * termios/tcflow.c: Likewise.
23909 * termios/tcflush.c: Likewise.
23910 * termios/tcgetattr.c: Likewise.
23911 * termios/tcgetpgrp.c: Likewise.
23912 * termios/tcsendbrk.c: Likewise.
23913 * termios/tcsetattr.c: Likewise.
23914 * termios/tcsetpgrp.c: Likewise.
23915 * time/adjtime.c: Likewise.
23916 * time/clock.c: Likewise.
23917 * time/getitimer.c: Likewise.
23918 * time/gettimeofday.c: Likewise.
23919 * time/setitimer.c: Likewise.
23920 * time/settimeofday.c: Likewise.
23921 * time/stime.c: Likewise.
23922 * time/time.c: Likewise.
23924 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
23926 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
23929 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
23931 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
23933 2012-11-03 Joseph Myers <joseph@codesourcery.com>
23936 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
23937 FE_TONEAREST before applying Dekker multiplication and Knuth
23938 addition. Clear inexact exceptions and check for exact zero
23939 results afterwards.
23940 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23941 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23942 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23943 * math/libm-test.inc (fma_test): Add more tests.
23944 (fma_test_towardzero): Likewise.
23945 (fma_test_downward): Likewise.
23946 (fma_test_upward): Likewise.
23947 * sysdeps/generic/math_private.h (default_libc_fesetround): New
23949 (libc_fesetround): New macro.
23950 (libc_fesetroundf): Likewise.
23951 (libc_fesetroundl): Likewise.
23952 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
23954 (libc_fesetround_387): Likewise.
23955 (libc_fesetroundf): New macro.
23956 (libc_fesetround): Likewise.
23957 (libc_fesetroundl): Likewise.
23958 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
23960 (libc_fesetroundf): New macro.
23961 (libc_fesetround): Likewise.
23962 (libc_fesetroundl): Likewise.
23963 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
23964 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
23965 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
23967 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
23968 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
23970 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
23971 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
23973 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
23977 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
23978 integer constant usable in #if and use that to give value to enum
23980 (FE_DIVBYZERO): Likewise.
23981 (FE_UNDERFLOW): Likewise.
23982 (FE_OVERFLOW): Likewise.
23983 (FE_INVALID): Likewise.
23984 (FE_INVALID_SNAN): Likewise.
23985 (FE_INVALID_ISI): Likewise.
23986 (FE_INVALID_IDI): Likewise.
23987 (FE_INVALID_ZDZ): Likewise.
23988 (FE_INVALID_IMZ): Likewise.
23989 (FE_INVALID_COMPARE): Likewise.
23990 (FE_INVALID_SOFTWARE): Likewise.
23991 (FE_INVALID_SQRT): Likewise.
23992 (FE_INVALID_INTEGER_CONVERSION): Likewise.
23993 (FE_TONEAREST): Likewise.
23994 (FE_TOWARDZERO): Likewise.
23995 (FE_UPWARD): Likewise.
23996 (FE_DOWNWARD): Likewise.
23997 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
23998 (FE_DIVBYZERO): Likewise.
23999 (FE_OVERFLOW): Likewise.
24000 (FE_UNDERFLOW): Likewise.
24001 (FE_INEXACT): Likewise.
24002 (FE_TONEAREST): Likewise.
24003 (FE_DOWNWARD): Likewise.
24004 (FE_UPWARD): Likewise.
24005 (FE_TOWARDZERO): Likewise.
24006 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
24007 (FE_UNDERFLOW): Likewise.
24008 (FE_OVERFLOW): Likewise.
24009 (FE_DIVBYZERO): Likewise.
24010 (FE_INVALID): Likewise.
24011 (FE_TONEAREST): Likewise.
24012 (FE_TOWARDZERO): Likewise.
24013 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
24014 (FE_OVERFLOW): Likewise.
24015 (FE_UNDERFLOW): Likewise.
24016 (FE_DIVBYZERO): Likewise.
24017 (FE_INEXACT): Likewise.
24018 (FE_TONEAREST): Likewise.
24019 (FE_TOWARDZERO): Likewise.
24020 (FE_UPWARD): Likewise.
24021 (FE_DOWNWARD): Likewise.
24022 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
24023 (FE_DIVBYZERO): Likewise.
24024 (FE_OVERFLOW): Likewise.
24025 (FE_UNDERFLOW): Likewise.
24026 (FE_INEXACT): Likewise.
24027 (FE_TONEAREST): Likewise.
24028 (FE_DOWNWARD): Likewise.
24029 (FE_UPWARD): Likewise.
24030 (FE_TOWARDZERO): Likewise.
24032 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
24034 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
24036 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
24038 * scripts/cross-test-ssh.sh (command): Use newlines to separate
24039 commands. Quote $PWD.
24040 (blacklist_exports): Don't use remove_newlines. Replace "declare
24042 (remove_newlines): Remove.
24044 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
24046 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
24047 * stdlib/stdlib.h (atof): Moved to ...
24048 * include/bits/stdlib-float.h: Here. New file.
24049 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
24050 * stdlib/bits/stdlib-float.h: New file.
24051 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
24053 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
24056 2012-11-02 Joseph Myers <joseph@codesourcery.com>
24058 * conform/conformtest.pl (@headers): Add fenv.h.
24059 * conform/data/fenv.h-data: New file.
24060 * include/fenv.h [_ISOMAC]: Disable all contents of file except
24061 include of <math/fenv.h>.
24063 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
24064 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
24065 && !UNIX98]. Enables tests for XOPEN2K8.
24066 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
24067 POSIX2008]: Likewise.
24069 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
24070 (struct rusage): Do not expect type or its members.
24073 * math/math.h (FP_NAN): Define macro to integer constant usable in
24074 #if and use that to give value to enum constant.
24075 (FP_INFINITE): Likewise.
24076 (FP_ZERO): Likewise.
24077 (FP_SUBNORMAL): Likewise.
24078 (FP_NORMAL): Likewise.
24080 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
24082 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
24083 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
24086 2012-11-02 Roland McGrath <roland@hack.frob.com>
24088 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
24089 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
24090 autoconf-time if not.
24091 * configure.in: Remove AC_PREREQ.
24093 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24095 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
24096 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
24097 of the internal implementation.
24099 2012-11-02 Joseph Myers <joseph@codesourcery.com>
24101 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
24102 except include of <misc/sys/syslog.h>.
24104 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
24106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
24107 function returns with a NULL context exit with zero.
24109 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24111 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
24113 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
24115 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
24116 (run_program_cmd): This.
24117 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
24118 (tst_langinfo): New variable. Use it.
24120 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
24122 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
24123 floating point opcodes.
24125 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
24127 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
24130 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
24132 * sysdeps/mach/hurd/powerpc: Remove directory.
24133 * sysdeps/mach/powerpc: Likewise.
24135 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
24137 * scripts/check-local-headers.sh: Ignore c++ headers.
24139 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
24141 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
24142 __libc_cleanup_region_start argument.
24144 2012-11-01 Joseph Myers <joseph@codesourcery.com>
24148 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
24149 x * y using scaling, not as x * y + z.
24150 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24151 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24152 * math/libm-test.inc (fma_test): Add more tests.
24153 (fma_test_towardzero): Likewise.
24154 (fma_test_downward): Likewise.
24155 (fma_test_upward): Likewise.
24157 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
24159 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
24161 2012-10-31 Joseph Myers <joseph@codesourcery.com>
24163 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
24166 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
24168 * rt/tst-shm.c (worker): Correct checking for mmap failure.
24170 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
24172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24177 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24180 Fix the order of the list for glibc 2.17.
24181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24184 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
24186 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24188 2012-10-31 Joseph Myers <joseph@codesourcery.com>
24191 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
24192 for low part of x being zero before using __atanl (y).
24193 * math/libm-test.inc (atan2_test): Add another test.
24195 * manual/install.texi (Configuring and compiling): Document
24196 general use of test-wrapper and test-wrapper-env.
24197 * INSTALL: Regenerated.
24199 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
24200 (__fma): Do not extract and scale down low bits on after-rounding
24201 systems when result rounded to normal precision would have normal
24203 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
24204 (__fmal): Do not extract and scale down low bits on after-rounding
24205 systems when result rounded to normal precision would have normal
24207 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
24208 (__fmal): Do not extract and scale down low bits on after-rounding
24209 systems when result rounded to normal precision would have normal
24211 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
24213 (fma_test): Add more tests.
24214 (fma_test_towardzero): Likewise.
24215 (fma_test_downward): Likewise.
24216 (fma_test_upward): Likewise.
24218 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
24220 * sysdeps/i386/tininess.h: Renamed to ...
24221 * sysdeps/x86/tininess.h: This.
24222 * sysdeps/x86_64/tininess.h: Removed.
24224 2012-10-30 Joseph Myers <joseph@codesourcery.com>
24226 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
24227 input. Use $(build-program-cmd).
24228 ($(objpfx)tst-array1-static.out): Likewise.
24229 ($(objpfx)tst-array2.out): Likewise.
24230 ($(objpfx)tst-array3.out): Likewise.
24231 ($(objpfx)tst-array4.out): Likewise.
24232 ($(objpfx)tst-array5.out): Likewise.
24233 ($(objpfx)tst-array5-static.out): Likewise.
24235 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
24237 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
24240 * nss/nsswitch.h (nss_interface_function): Provide new
24241 macro for use with NSS functions.
24242 * grp/initgroups.c: Use new macro.
24243 * nss/getXXbyYY.c: Likewise.
24244 * nss/getXXbyYY_r.c: Likewise.
24245 * nss/getXXent.c: Likewise.
24246 * nss/getXXent_r.c: Likewise.
24247 * sysdeps/posix/getaddrinfo.c: Likewise.
24249 2012-10-30 Andreas Jaeger <aj@suse.de>
24251 * po/ru.po: Update Russion translation from translation project.
24253 2012-10-30 Joseph Myers <joseph@codesourcery.com>
24257 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
24258 result and shift together with sticky bit instead of replicating
24259 round-to-nearest rounding.
24260 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24261 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24262 * math/libm-test.inc (fma_test): Add more tests. Do not permit
24263 missing underflow exceptions.
24264 (fma_test_towardzero): Add more tests.
24265 (fma_test_downward): Likewise.
24266 (fma_test_upward): Likewise.
24269 * sysdeps/generic/tininess.h: New file.
24270 * sysdeps/i386/tininess.h: Likewise.
24271 * sysdeps/sh/tininess.h: Likewise.
24272 * sysdeps/x86_64/tininess.h: Likewise.
24273 * stdlib/tst-strtod-underflow.c: Likewise.
24274 * stdlib/tst-tininess.c: Likewise.
24275 * stdlib/strtod_l.c: Include <tininess.h>.
24276 (round_and_return): Do not set errno for exact underflow cases.
24277 Force an underflow exception when setting errno for underflow.
24278 Determine underflow based on rounding to normal precision if
24279 TININESS_AFTER_ROUNDING.
24280 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
24281 ERANGE for exact underflow cases.
24282 * stdlib/Makefile (tests): Add tst-tininess and
24283 tst-strtod-underflow.
24284 ($(objpfx)tst-tininess): Use $(link-libm).
24285 ($(objpfx)tst-strtod-underflow): Likewise.
24287 2012-10-30 Andreas Jaeger <aj@suse.de>
24290 * elf/Makefile (tests): Remove conditional for have-initfini-array
24291 since this is now always required and the variable does not exist
24293 (tests-static): Likewise.
24294 (modules-names): Likewise.
24296 * po/eo.po: Add Esperanto translation from translation project.
24298 * elf/tst-array1.c (fini_array): Make writeable so that it can be
24299 merged with constructor/destructor.
24300 (init_array): Likewise.
24301 * elf/tst-array2dep.c (fini_array): Likewise.
24302 (init_array): Likewise.
24304 2012-10-29 Mike Frysinger <vapier@gentoo.org>
24306 * manual/message.texi: Delete @cartouche tags.
24308 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
24310 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
24312 * sysdeps/mach/hurd/fsync.c: Likewise.
24314 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
24315 [_POSIX_REALTIME_SIGNALS]: Change condition to
24316 [_POSIX_REALTIME_SIGNALS > 0].
24318 2012-10-27 Andreas Jaeger <aj@suse.de>
24320 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
24321 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
24322 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
24323 [__WORDSIZE != 64]: Likewise.
24325 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
24327 * iconvdata/tst-table.sh: Remove ${SHELL}.
24328 * iconvdata/tst-tables.sh: Likewise.
24330 2012-10-25 David S. Miller <davem@davemloft.net>
24332 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24333 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
24336 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
24338 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24339 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
24340 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
24343 2012-10-25 Roland McGrath <roland@hack.frob.com>
24345 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24346 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
24349 2012-10-25 Joseph Myers <joseph@codesourcery.com>
24350 Jim Blandy <jimb@codesourcery.com>
24352 * scripts/cross-test-ssh.sh: New file.
24353 * manual/install.texi (Configuring and compiling): Document use of
24355 * INSTALL: Regenerated.
24357 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
24359 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
24362 2012-10-25 Joseph Myers <joseph@codesourcery.com>
24364 * Makeconfig (run-program-prefix): Fix comment.
24366 2012-10-24 Joseph Myers <joseph@codesourcery.com>
24367 Jim Blandy <jimb@codesourcery.com>
24369 * Makeconfig (test-wrapper): New variable,
24370 (test-wrapper-env): Likewise.
24371 [$(cross-compiling) = yes && $(test-wrapper) != ""]
24372 (run-built-tests): Define to yes.
24373 (run-program-prefix): Use $(test-wrapper).
24374 (built-program-cmd): Likewise.
24375 * Rules (make-test-out): Use $(test-wrapper-env) and
24376 $(host-built-program-cmd).
24377 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
24378 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
24380 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
24381 $(test-wrapper-env) to tst-rtld-load-self.sh.
24382 ($(objpfx)order2.out): Use $(test-wrapper).
24383 ($(objpfx)tst-initorder.out): Likewise.
24384 ($(objpfx)tst-initorder2.out): Likewise.
24385 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
24386 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
24387 (test_wrapper_env): New variable. Use it to run ld.so.
24388 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
24389 Use it to run ld.so.
24390 (test_wrapper_env): Likewise.
24391 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
24392 $(test-wrapper) to run-iconv-test.sh.
24393 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
24394 (ICONV): Use $test_wrapper.
24395 * posix/Makefile ($(objpfx)globtest.out): Pass
24396 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
24397 globtest.sh, not $(run-program-prefix).
24398 * posix/globtest.sh (run_via_rtld_prefix): New variable.
24399 (test_wrapper): Likewise.
24400 (test_wrapper_env): Likewise. Use it to run globtest with HOME
24401 set together with run_via_rtld_prefix.
24402 (run_program_prefix): Define in terms of test_wrapper and
24403 run_via_rtld_prefix.
24405 2012-10-24 Roland McGrath <roland@hack.frob.com>
24407 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
24408 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
24412 * include/time.h: Remove librt_hidden_proto (clock_gettime).
24413 Declare __clock_getres, __clock_gettime, __clock_settime,
24414 __clock_nanosleep, and __clock_getcpuclockid.
24415 * rt/clock_gettime.c: Define __clock_gettime as an alias.
24416 Remove librt_hidden_def (clock_gettime).
24417 * sysdeps/unix/clock_gettime.c: Likewise.
24418 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
24419 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
24420 * rt/clock_getres.c: Define __clock_getres as an alias.
24421 * sysdeps/posix/clock_getres.c: Likewise.
24422 * rt/clock_settime.c: Define __clock_settime as an alias.
24423 * sysdeps/unix/clock_settime.c: Likewise.
24424 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
24425 * sysdeps/unix/clock_nanosleep.c: Likewise.
24426 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
24427 * rt/clock-compat.c: New file.
24428 * rt/Makefile (librt-routines): Add clock-compat and move
24429 $(clock-routines) to ...
24430 (routines): ... here, new variable.
24431 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
24432 Don't add get_clockfreq here.
24433 * rt/Versions (libc: GLIBC_2.17): New version set.
24434 Add clock_* symbols here.
24435 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
24436 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
24437 (GLIBC_2.17): Add clock_* symbols.
24438 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
24439 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
24440 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
24441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24445 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
24446 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
24447 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
24448 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
24449 * NEWS: Mention the move.
24451 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
24452 Use __open, __read, __close rather than their public counterparts.
24453 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24454 (__get_clockfreq_via_cpuinfo): Likewise.
24455 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
24456 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
24458 * config.h.in (HAVE_IFUNC): New #undef.
24459 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
24461 * configure: Regenerated.
24463 2012-10-24 Mike Frysinger <vapier@gentoo.org>
24465 * configure.in: Move READELF check to start of file.
24466 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
24467 libc_cv_asm_gnu_indirect_function in the process.
24468 * configure: Regenerated.
24470 2012-10-24 Mike Frysinger <vapier@gentoo.org>
24472 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
24473 send the output to /dev/null.
24474 (libc_cv_cc_with_libunwind): Likewise.
24475 (libc_cv_as_noexecstack): Likewise.
24476 * configure: Regenerate.
24478 2012-10-24 Joseph Myers <joseph@codesourcery.com>
24480 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
24482 * posix/globtest.sh (TMPDIR): Do not set.
24483 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
24484 (testout): Likewise.
24486 2012-10-24 Andreas Jaeger <aj@suse.de>
24488 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
24489 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
24490 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
24491 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
24492 posix_fadvise64, posix_fallocate64.
24494 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
24495 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
24496 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
24498 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
24500 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
24502 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
24503 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
24504 <bits/fcntl-linux.h>.
24505 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
24507 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
24508 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
24509 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
24510 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
24511 [__WORDSIZE != 64]: Likewise.
24513 2012-10-23 Joseph Myers <joseph@codesourcery.com>
24515 * Makeconfig (run-built-tests): New variable.
24516 * Rules [$(cross-compiling) = yes]: Change condition to
24517 [$(run-built-tests) = no].
24518 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
24519 to [$(run-built-tests) = yes].
24520 * elf/Makefile [$(cross-compiling) = no]: Likewise
24521 * grp/Makefile [$(cross-compiling) = no]: Likewise.
24522 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
24523 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
24524 * intl/Makefile [$(cross-compiling) = no]: Likewise.
24525 * io/Makefile [$(cross-compiling) = no]: Likewise.
24526 * libio/Makefile [$(cross-compiling) = no]: Likewise.
24527 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
24528 * misc/Makefile [$(cross-compiling) = no]: Likewise.
24529 * posix/Makefile [$(cross-compiling) = no]: Likewise.
24530 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
24531 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
24532 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
24533 * string/Makefile [$(cross-compiling) = no]: Likewise.
24535 * posix/Makefile ($(objpfx)globtest.out): Pass
24536 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
24537 $(rtld-installed-name).
24538 * posix/globtest.sh (elf_objpfx): Remove variable.
24539 (rtld_installed_name): Likewise.
24540 (library_path): Likewise.
24541 (run_program_prefix): New variable. Use for running globtest
24544 2012-10-23 Jim Blandy <jimb@codesourcery.com>
24545 Joseph Myers <joseph@codesourcery.com>
24547 * Makeconfig (host-built-program-cmd): New variable.
24548 * elf/Makefile (tst-stackguard1-ARGS): Use
24549 $(host-built-program-cmd).
24550 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
24551 (tst-spawn-ARGS): Likewise.
24552 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
24554 2012-10-23 Joseph Myers <joseph@codesourcery.com>
24555 Jim Blandy <jimb@codesourcery.com>
24557 * Makeconfig (run-via-rtld-prefix): New variable.
24558 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
24559 (built-program-cmd): Likewise.
24561 2012-10-22 Andreas Jaeger <aj@suse.de>
24563 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
24564 __O_RSYNC if it exists, otherwise to O_SYNC.
24566 2012-10-22 Jim Blandy <jimb@codesourcery.com>
24567 Joseph Myers <joseph@codesourcery.com>
24569 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
24571 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
24573 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
24576 2012-10-22 Andreas Jaeger <aj@suse.de>
24578 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
24580 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
24582 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24583 bits/fcntl-linux.h.
24585 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
24586 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
24588 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
24590 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
24593 2012-10-21 Jim Blandy <jimb@codesourcery.com>
24594 Joseph Myers <joseph@codesourcery.com>
24596 * config.make.in (NM): New variable.
24598 2012-10-21 Andreas Jaeger <aj@suse.de>
24600 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
24601 definitions and declarations that are provided by
24602 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
24604 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
24607 * elf/Makefile (tests-static): Add tst-leaks1-static.
24608 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
24609 ($(objpfx)tst-leaks1-static): New rule.
24610 ($(objpfx)tst-leaks1-static-mem): Likewise.
24611 (tst-leaks1-static-ENV): New macro.
24612 * elf/dl-open.c (dl_open_worker): Check the main application
24613 only if SHARED is defined.
24614 * elf/tst-leaks1-static.c: New file.
24616 2012-10-20 Andreas Jaeger <aj@suse.de>
24618 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
24619 generic values for Linux.
24620 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
24621 and declarations that are provided by <bits/fcntl-linux.h> and
24622 include <bits/fcntl-linux.h>.
24623 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24624 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24626 2012-10-20 Roland McGrath <roland@hack.frob.com>
24628 * io/fcntl.h: Move include of <bits/types.h> to the top and
24629 include it unconditionally.
24631 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
24633 * wcsmbs/Makefile (tests-ifunc): New variable.
24634 (tests): Add $(tests-ifunc).
24635 * wcsmbs/test-wcschr-ifunc.c: New file.
24636 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
24637 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
24638 * wcsmbs/test-wcslen-ifunc.c: Likewise.
24639 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
24640 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
24642 * string/Makefile (tests-ifunc): New variable.
24643 (tests): Add $(tests-ifunc).
24644 * string/test-memccpy.c (TEST_NAME): New macro.
24645 * string/test-memchr.c (TEST_NAME): Likewise.
24646 * string/test-memcmp.c (TEST_NAME): Likewise.
24647 * string/test-memcpy.c (TEST_NAME): Likewise.
24648 * string/test-memmem.c (TEST_NAME): Likewise.
24649 * string/test-memmove.c (TEST_NAME): Likewise.
24650 * string/test-memset.c (TEST_NAME): Likewise.
24651 * string/test-rawmemchr.c (TEST_NAME): Likewise.
24652 * string/test-stpcpy.c (TEST_NAME): Likewise.
24653 * string/test-stpncpy.c (TEST_NAME): Likewise.
24654 * string/test-strcasecmp.c (TEST_NAME): Likewise.
24655 * string/test-strcasestr.c (TEST_NAME): Likewise.
24656 * string/test-strcat.c (TEST_NAME): Likewise.
24657 * string/test-strchr.c (TEST_NAME): Likewise.
24658 * string/test-strcmp.c(TEST_NAME): Likewise.
24659 * string/test-strcpy.c (TEST_NAME): Likewise.
24660 * string/test-strcspn.c (TEST_NAME): Likewise.
24661 * string/test-strlen.c (TEST_NAME): Likewise.
24662 * string/test-strncasecmp.c (TEST_NAME): Likewise.
24663 * string/test-strncmp.c (TEST_NAME): Likewise.
24664 * string/test-strncpy.c (TEST_NAME): Likewise.
24665 * string/test-strnlen.c (TEST_NAME): Likewise.
24666 * string/test-strpbrk.c (TEST_NAME): Likewise.
24667 * string/test-strrchr.c (TEST_NAME): Likewise.
24668 * string/test-strspn.c (TEST_NAME): Likewise.
24669 * string/test-strstr.c (TEST_NAME): Likewise.
24670 * string/test-bcopy-ifunc.c: New file.
24671 * string/test-bzero-ifunc.c: Likewise.
24672 * string/test-memccpy-ifunc.c: Likewise.
24673 * string/test-memchr-ifunc.c: Likewise.
24674 * string/test-memcmp-ifunc.c: Likewise.
24675 * string/test-memcpy-ifunc.c: Likewise.
24676 * string/test-memmem-ifunc.c: Likewise.
24677 * string/test-memmove-ifunc.c: Likewise.
24678 * string/test-mempcpy-ifunc.c: Likewise.
24679 * string/test-memset-ifunc.c: Likewise.
24680 * string/test-rawmemchr-ifunc.c: Likewise.
24681 * string/test-stpcpy-ifunc.c: Likewise.
24682 * string/test-stpncpy-ifunc.c: Likewise.
24683 * string/test-strcasecmp-ifunc.c: Likewise.
24684 * string/test-strcasestr-ifunc.c: Likewise.
24685 * string/test-strcat-ifunc.c: Likewise.
24686 * string/test-strchr-ifunc.c: Likewise.
24687 * string/test-strchrnul-ifunc.c: Likewise.
24688 * string/test-strcmp-ifunc.c: Likewise.
24689 * string/test-strcpy-ifunc.c: Likewise.
24690 * string/test-strcspn-ifunc.c: Likewise.
24691 * string/test-strlen-ifunc.c: Likewise.
24692 * string/test-strncasecmp-ifunc.c: Likewise.
24693 * string/test-strncat-ifunc.c: Likewise.
24694 * string/test-strncmp-ifunc.c: Likewise.
24695 * string/test-strncpy-ifunc.c: Likewise.
24696 * string/test-strnlen-ifunc.c: Likewise.
24697 * string/test-strpbrk-ifunc.c: Likewise.
24698 * string/test-strrchr-ifunc.c: Likewise.
24699 * string/test-strspn-ifunc.c: Likewise.
24700 * string/test-strstr-ifunc.c: Likewise.
24702 * debug/Makefile (tests-ifunc): New variable.
24703 (tests): Add $(tests-ifunc).
24704 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
24705 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
24706 * debug/test-stpcpy_chk-ifunc.c: New file.
24707 * debug/test-strcpy_chk-ifunc.c: Likewise.
24709 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
24712 * elf/dl-load.c (open_verify): Retry read if the entire ELF
24713 header is not read in.
24715 2012-10-19 Joseph Myers <joseph@codesourcery.com>
24717 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
24718 script to $(SHELL) as $<. Pass $(common-objpfx) to script
24719 directly. Pass built executable to script as
24720 $(built-program-cmd).
24721 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
24722 $testprogram without using LD_LIBRARY_PATH and $ldso.
24724 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
24725 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
24726 $(rtld-installed-name).
24727 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
24728 (rtld_installed_name): Likewise.
24729 (library_path): Likewise.
24730 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
24731 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
24732 $(run-program-prefix) to tst-tables.sh.
24733 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
24734 it to run tst-table-from and tst-table-to.
24735 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
24736 Pass it to tst-table.sh.
24737 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
24738 $(run-program-prefix) to tst-gettext.sh.
24739 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
24741 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
24743 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
24744 to run tst-gettext.
24745 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
24746 to run tst-gettext2.
24747 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
24748 to run tst-translit.
24749 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
24750 $(run-program-prefix) to tst-mtrace.sh.
24751 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
24753 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
24754 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
24755 $(rtld-installed-name).
24756 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
24757 (rtld_installed_name): Likewise.
24758 (run_program_prefix): New variable. Use it to run wordexp-test.
24760 * Makeconfig (ARCH): Remove all definitions.
24761 (machine): Likewise.
24762 [ARCH]: Remove conditional code.
24763 [!objdir]: Give error.
24764 [!objdir] (objpfx): Remove.
24765 [!objdir] (common-objpfx): Likewise.
24766 [!objdir] (common-objdir): Likewise.
24767 * configure.in (config_makefile): Remove. Hardcode Makefile in
24768 AC_CONFIG_FILES call.
24769 * configure: Regenerated.
24772 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
24774 (testout): Likewise.
24776 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
24777 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
24778 $(rtld-installed-name).
24779 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
24780 (rtld_installed_name): Likwise.
24781 (runit): Remove function.
24782 (run_getconf): New variable, Use it for running getconf binary.
24784 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
24787 * string/test-memmem.c (check_result): New function.
24788 (do_one_test): Use it.
24789 (check1): New function.
24790 (test_main): Use it.
24792 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
24794 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
24796 2012-10-18 Joseph Myers <joseph@codesourcery.com>
24798 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
24799 (_G_LSEEK64): Likewise.
24800 (_G_MMAP64): Likewise.
24801 (_G_FSTAT64): Likewise.
24802 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
24803 (_G_LSEEK64): Likewise.
24804 (_G_MMAP64): Likewise.
24805 (_G_FSTAT64): Likewise.
24806 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
24807 unconditional. Call __mmap64 directly.
24808 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
24809 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
24810 __lseek64 directly.
24811 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
24812 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
24814 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
24815 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
24816 __lseek64 directly.
24817 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
24818 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
24819 __lseek64 directly.
24820 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
24821 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
24822 __lseek64 directly.
24823 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
24824 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
24825 __fxstat64 directly.
24826 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
24827 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
24829 (freopen64) [!_G_OPEN64]: Remove conditional code.
24830 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
24832 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
24833 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
24835 (ftello64) [!_G_LSEEK64]: Remove conditional code.
24836 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
24838 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
24839 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
24841 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
24842 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
24844 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
24845 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
24847 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
24848 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
24850 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
24852 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24855 * manual/memory.texi (Malloc Tunable Parameters): Add note
24856 about free list pointers overwriting some perturb bytes.
24857 Wording suggested by Roland McGrath.
24859 2012-10-17 Joseph Myers <joseph@codesourcery.com>
24861 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
24862 (lgamma_test): Likewise.
24863 (tgamma_test): Likewise.
24865 2012-10-16 Florian Weimer <fweimer@redhat.com>
24868 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
24869 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
24871 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
24873 * NEWS: Mention BZ #14716.
24874 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
24875 when removing AVAILABLE1_USES_J macro.
24877 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
24879 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
24880 (__bswap_64): __uint64_t for unsigned 64-bit int.
24882 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
24884 * include/string.h (memmem): Declare libc hidden alias.
24885 * string/memmem.c (memmem): Define libc hidden alias.
24886 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
24887 __read, __close instead of open, read, close.
24889 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
24891 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
24892 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
24894 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
24895 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
24896 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
24898 (__rawmemchr_sse2): Likewise.
24899 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
24900 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
24901 (__strchr_sse2): Likewise.
24902 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
24903 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
24904 (__strcasecmp_sse2): Likewise.
24905 (__strncasecmp_sse2): Likewise.
24906 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
24907 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
24908 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
24909 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
24910 (__strrchr_sse2): Likewise.
24911 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
24913 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
24914 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
24915 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
24916 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
24917 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
24918 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
24919 * sysdeps/x86_64/multiarch/memset.S: Likewise.
24920 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24921 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
24922 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
24923 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
24924 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
24925 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
24926 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
24927 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
24928 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
24929 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
24930 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
24931 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
24932 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
24933 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
24934 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
24935 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
24936 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
24937 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
24938 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24939 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
24940 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
24941 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
24942 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
24944 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
24946 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
24947 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
24948 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
24949 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
24951 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
24953 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
24954 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
24955 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
24956 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
24958 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
24959 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
24960 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
24961 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24962 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24963 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24964 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24965 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24966 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24967 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
24968 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
24969 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
24970 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
24971 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
24972 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
24973 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24974 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
24975 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
24976 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
24977 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
24978 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24979 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
24980 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
24981 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
24982 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24983 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
24984 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
24985 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
24986 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
24987 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
24988 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
24989 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
24990 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
24991 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
24992 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
24993 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
24994 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
24995 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
24996 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
24997 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
24998 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
25000 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
25001 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
25002 * include/ifunc-impl-list.h: New file.
25003 * misc/ifunc-impl-list.c: Likewise.
25004 * misc/Makefile (routines): Add ifunc-impl-list.
25005 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
25006 * string/test-string.h: Include <ifunc-impl-list.h>.
25007 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
25008 TEST_NAME]: New variables.
25009 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
25011 (test_init): Call __libc_ifunc_impl_list to initialize
25012 func_list if TEST_IFUNC and TEST_NAME are defined.
25014 * string/Makefile (strop-tests): Add bcopy and bzero.
25015 * string/test-bcopy.c: New file.
25016 * string/test-bzero.c: Likewise.
25017 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
25019 * string/test-memset.c: Support bzero test if TEST_BZERO is
25021 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
25023 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
25025 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
25028 2012-10-10 Joseph Myers <joseph@codesourcery.com>
25030 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
25031 * configure: Regenerated.
25033 * Makeconfig (+link-static-before-libc): Don't include
25034 $(link-static-libc).
25036 * libio/libio.h (_IO_pos_t): Remove.
25038 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
25040 * NEWS: Add note about FIPS mode. Wording suggested by Roland
25043 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
25045 * crypt/crypt-entry.c: Include fips-private.h.
25046 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
25047 * crypt/md5c-test.c (main): Tolerate disabled MD5.
25048 * sysdeps/unix/sysv/linux/fips-private.h: New file.
25049 * sysdeps/generic/fips-private.h: New file, dummy fallback.
25051 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
25053 * crypt/crypt-private.h: Include stdbool.h.
25054 (_ufc_setup_salt_r): Return bool.
25055 * crypt/crypt-entry.c: Include errno.h.
25056 (__crypt_r): Return NULL with EINVAL for bad salt.
25057 * crypt/crypt_util.c (bad_for_salt): New.
25058 (_ufc_setup_salt_r): Check that salt is long enough and within
25059 the specified alphabet.
25060 * crypt/badsalttest.c: New file.
25061 * crypt/Makefile (tests): Add it.
25062 ($(objpfx)badsalttest): New.
25064 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
25066 * NEWS: Add entry for BZ #14602.
25068 2012-10-09 Joseph Myers <joseph@codesourcery.com>
25070 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
25072 * math/libm-test.inc: Update comment listing what functions and
25074 (isgreater_test): New function.
25075 (isgreaterequal_test): Likewise.
25076 (isless_test): Likewise.
25077 (islessequal_test): Likewise.
25078 (islessgreater_test): Likewise.
25079 (isunordered_test): Likewise.
25080 (main): Call the new functions.
25082 2012-10-09 Roland McGrath <roland@hack.frob.com>
25084 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
25085 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
25086 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
25087 * sysdeps/i386/configure: Regenerated.
25088 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
25089 * sysdeps/mach/configure: Regenerated.
25090 * sysdeps/mach/hurd/configure: Regenerated.
25091 * sysdeps/powerpc/configure: Regenerated.
25092 * sysdeps/powerpc/powerpc32/configure: Regenerated.
25093 * sysdeps/powerpc/powerpc64/configure: Regenerated.
25094 * sysdeps/s390/s390-32/configure: Regenerated.
25095 * sysdeps/s390/s390-64/configure: Regenerated.
25096 * sysdeps/sh/configure: Regenerated.
25097 * sysdeps/sparc/configure: Regenerated.
25098 * sysdeps/unix/sysv/linux/configure: Regenerated.
25099 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
25100 * sysdeps/x86_64/configure: Regenerated.
25102 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
25103 defined. Don't check if MAP is NULL.
25105 2012-10-09 Joseph Myers <joseph@codesourcery.com>
25107 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
25108 (_G_stat64): Likewise.
25109 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
25110 (_G_stat64): Likewise.
25111 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
25112 instead of struct _G_stat64.
25113 * libio/fileops.c (mmap_remap_check): Likewise.
25114 (decide_maybe_mmap): Likewise.
25115 (_IO_new_file_seekoff): Likewise.
25116 (_IO_file_stat): Likewise.
25117 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
25119 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
25120 instead of struct _G_stat64.
25121 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
25123 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
25126 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
25128 (CHECK_EOL): New macro.
25129 (two_way_short_needle): Check beginning of haystack for EOL. Use
25131 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
25132 Replace with CHECK_EOL.
25133 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
25134 Replace with CHECK_EOL.
25136 2012-10-08 Joseph Myers <joseph@codesourcery.com>
25138 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
25140 * math/libm-test.inc: Update comment listing what functions and
25142 (finite_test): New function.
25143 (isinf_test): Likewise.
25144 (isnan_test): Likewise.
25145 (fpclassify_test): Test subnormal input.
25146 (isfinite_test): Likewise.
25147 (isnormal_test): Likewise.
25148 (main): Call the new functions.
25150 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
25153 * Makerules (%.dynsym): Force C locale when running
25154 $(OBJDUMP) --dynamic-syms.
25156 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
25158 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
25161 2012-10-06 David S. Miller <davem@davemloft.net>
25163 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
25164 upper 32-bits of the length value in %o2 since we use branch-on-register
25165 tests which consider the entire 64-bit register.
25167 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
25169 * string/test-strstr.c (check2): Add a test for page boundary.
25171 2012-10-05 David S. Miller <davem@davemloft.net>
25173 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
25174 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
25176 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
25178 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
25179 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
25180 and bzero when HWCAP_SPARC_CRYPTO is present.
25182 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
25185 * string/test-strstr.c (check2): New function.
25186 (test_main): Call check2.
25188 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
25190 * string/bug-strcasestr1.c (do_test): Moved to ...
25191 * string/test-strcasestr.c (check1): Here. New function.
25192 (do_one_test): Break out result checking code into ...
25193 (check_result): This. New function.
25194 (do_one_test): Call check_result.
25195 (test_main): Call check1.
25196 * string/bug-strchr1.c (do_test): Moved to ...
25197 * string/test-strchr.c (check1): Here. New function.
25198 (do_one_test): Break out result checking code into ...
25199 (check_result): This. New function.
25200 (do_one_test): Call check_result.
25201 (test_main): Call check1.
25202 * string/bug-strstr1.c (main): Moved to ...
25203 * string/test-strstr.c (check1): Here. New function.
25204 (do_one_test): Break out result checking code into ...
25205 (check_result): This. New function.
25206 (do_one_test): Call check_result.
25207 (test_main): Call check1.
25208 * string/bug-strcasestr1.c: Removed.
25209 * string/bug-strchr1.c: Likewise.
25210 * string/bug-strstr1.c: Likewise.
25212 * elf/Makefile (dl-routines): Add hwcaps.
25213 * elf/dl-support.c (_dl_important_hwcaps): Removed.
25214 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
25215 (_dl_important_hwcaps): Moved to ...
25216 * elf/dl-hwcaps.c: Here. New file.
25217 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
25220 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
25221 if IS_IN_rtld isn't defined.
25223 * elf/dl-support.c (_dl_sysinfo_map): New.
25224 Include "get-dynamic-info.h" and "setup-vdso.h".
25225 (_dl_non_dynamic_init): Call setup_vdso.
25226 * elf/dynamic-link.h: Don't include <assert.h>.
25227 (elf_get_dynamic_info): Moved to ...
25228 * elf/get-dynamic-info.h: Here. New file.
25229 * elf/dynamic-link.h: Include "get-dynamic-info.h".
25230 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
25231 * elf/setup-vdso.h: Here. New file.
25232 * elf/rtld.c: Include "setup-vdso.h".
25233 (dl_main): Call setup_vdso.
25235 2012-10-05 Joseph Myers <joseph@codesourcery.com>
25237 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
25238 creal in comment listing functions tested. List finite, isinf,
25239 isnan, isless, islessequal, isgreater, isgreaterequal,
25240 islessgreater, isunordered, lgamma_r and pow10 as functions and
25241 macros not tested. Mention which functions not tested are aliases
25242 for other functions. Fix typo. Note that signs of NaNs are not
25245 * scripts/config.guess: Update from config.git.
25246 * scripts/config.sub: Likewise.
25248 2012-10-04 Roland McGrath <roland@hack.frob.com>
25250 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
25251 * misc/madvise.c (madvise): Renamed to __madvise.
25252 Make madvise a weak alias.
25253 * include/sys/mman.h: Declare __madvise.
25254 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
25255 * sysdeps/unix/syscalls.list
25256 (madvise): Make __madvise the strong name, and madvise a weak alias.
25257 * sysdeps/unix/sysv/linux/syscalls.list
25258 (madvise, mmap): Remove redundant entries.
25259 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
25260 * malloc/malloc.c (mtrim): Likewise.
25261 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
25263 2012-10-03 Roland McGrath <roland@hack.frob.com>
25265 * sysdeps/mach/hurd/dl-cache.c: File removed.
25266 * config.h.in (USE_LDCONFIG): New #undef.
25267 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
25268 * configure: Regenerated.
25269 * elf/Makefile (dl-routines): Add dl-cache only under
25270 [$(use-ldconfig) = yes].
25271 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
25272 cache on [USE_LDCONFIG].
25273 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
25275 * elf/rtld.c (dl_main): Likewise.
25277 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
25279 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
25280 _SC_LEVEL4_CACHE_LINESIZE.
25282 2012-10-03 Roland McGrath <roland@hack.frob.com>
25284 * sysdeps/unix/bsd/confstr.h: File removed.
25286 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
25288 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
25291 2012-10-02 Roland McGrath <roland@hack.frob.com>
25293 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
25294 Make 'mapoff' field ElfW(Off) rather than off_t.
25296 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
25298 * nscd/Makefile: Remove nscd-cflags and all its users.
25299 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
25300 (CFLAGS-nonlib): Add compiler flags for nscd modules.
25303 * malloc.c (malloc_printerr): Clarify error message.
25305 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
25308 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25309 Set bit_FMA_Usable if FMA is supported.
25310 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
25312 (bit_FMA4_Usable): Updated.
25313 (index_FMA_Usable): New macro.
25314 (CPUID_FMA): Likewise
25315 (HAS_FMA): Defined with bit_FMA_Usable.
25317 2012-10-01 Roland McGrath <roland@hack.frob.com>
25319 * bits/types.h (__swblk_t): Type removed.
25320 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
25321 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
25322 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25323 (__SWBLK_T_TYPE): Likewise.
25324 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25325 (__SWBLK_T_TYPE): Likewise.
25326 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25327 (__SWBLK_T_TYPE): Likewise.
25328 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25329 (__SWBLK_T_TYPE): Likewise.
25331 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
25332 Honza Horak <hhorak@redhat.com>
25334 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
25335 (xdr_mapname): Use YPMAXMAP as maxsize.
25336 (xdr_peername): Use YPMAXPEER as maxsize.
25337 (xdr_keydat): Use YPAXRECORD as maxsize.
25338 (xdr_valdat): Use YPMAXRECORD as maxsize.
25340 2012-10-01 Roland McGrath <roland@hack.frob.com>
25342 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
25344 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
25345 * csu/init-first.c: ... here.
25346 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
25347 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
25348 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
25349 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
25350 * sysdeps/i386/init-first.c: File removed.
25351 * sysdeps/sh/init-first.c: File removed.
25353 2012-10-01 Joseph Myers <joseph@codesourcery.com>
25356 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
25357 if x * y might underflow to zero and z is zero.
25358 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25359 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25360 * math/libm-test.inc (min_subnorm_value): New variable.
25361 (fma_test): Add more tests.
25362 (fma_test_towardzero): Likewise.
25363 (fma_test_downward): Likewise
25364 (fma_test_upward): Likewise.
25365 (initialize): Set min_subnorm_value.
25367 2012-09-29 Joseph Myers <joseph@codesourcery.com>
25370 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
25372 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
25373 mode for addition resulting in exact zero.
25374 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
25375 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
25377 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25378 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25379 * math/libm-test.inc (fma_test): Add more tests.
25380 (fma_test_towardzero): New function.
25381 (fma_test_downward): Likewise.
25382 (fma_test_upward): Likewise.
25383 (main): Call the new functions.
25385 2012-09-28 David S. Miller <davem@davemloft.net>
25387 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
25389 2012-09-28 Roland McGrath <roland@hack.frob.com>
25391 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
25392 instead of SIGALRM.
25394 * sysdeps/gnu/_G_config.h: Moved to ...
25395 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
25396 * sysdeps/mach/hurd/_G_config.h: Moved to ...
25397 * sysdeps/generic/_G_config.h: ... here.
25399 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
25401 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
25403 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
25404 Conditionalize target on [libnss_test1.so-version].
25406 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
25408 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
25409 (elfobjdir): Move out of conditionals.
25411 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
25412 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
25413 (__nss_lookup_function): Conditionalize label remove_from_tree on
25414 [!DO_STATIC_NSS || SHARED], matching its only use.
25416 2012-09-28 David S. Miller <davem@davemloft.net>
25418 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
25419 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
25421 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
25423 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
25424 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
25425 when HWCAP_SPARC_CRYPTO is present.
25427 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
25429 * io/tst-mknodat.c: Create a FIFO instead of a socket.
25431 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
25434 * stdio-common/vfprintf.c (process_string_arg): Revert
25437 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
25439 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
25441 * stdio-common/tst-sprintf.c: Include <locale.h>
25442 (main): Test sprintf's handling of incomplete multibyte
25445 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
25447 * elf/dl-runtime.c (VERSYMIDX): Removed.
25448 * elf/dl-version.c (VERSYMIDX): Likewise.
25449 * elf/do-rel.h (VERSYMIDX): Likewise.
25450 (VALIDX): Likewise.
25451 * elf/dynamic-link.h (VERSYMIDX): Likewise.
25452 * elf/rtld.c (VALIDX): Likewise.
25453 (ADDRIDX): Likewise.
25454 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
25455 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
25456 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
25457 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
25458 (VALIDX): Likewise.
25459 (ADDRIDX): Likewise.
25461 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
25463 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
25465 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
25468 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
25470 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
25471 addresses are in the same scope as 192.0.2/24.
25472 * posix/gai.conf: Document new scope table defaults.
25474 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25477 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
25478 for ftell. Compute offsets from write pointers instead.
25479 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
25481 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25484 * libio/Makefile (tests): New test case tst-fseek.
25485 * libio/tst-fseek.c: New test case to verify that fseek/ftell
25486 combination works in wide mode.
25487 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
25488 state when the external buffer state changes.
25490 2012-09-27 David S. Miller <davem@davemloft.net>
25493 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
25494 pass reloc->r_addend in as the 'high' argument to
25495 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
25497 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25499 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
25501 * rt/tst-aio2.c: Include <pthread.h>.
25502 * rt/tst-aio3.c: Likewise.
25504 2012-09-27 Steve Ellcey <sellcey@mips.com>
25506 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
25508 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
25510 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
25511 contents on [SHARED].
25513 2012-09-26 Marek Polacek <polacek@redhat.com>
25517 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
25518 for C++ and GCC <4.3 as well as for non GCC compilers.
25520 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
25522 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25524 2012-09-25 Roland McGrath <roland@hack.frob.com>
25526 * Makefile.in (all, install): Declare with .PHONY.
25527 Reported by Michael Hope <michael.hope@linaro.org>.
25529 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25531 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
25532 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
25534 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
25536 (sydep_routines): Add the new and the internal functions.
25537 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
25538 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
25539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
25540 (GLIBC_2.17): Add the new function.
25541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
25542 (GLIBC_2.17): Likewise.
25543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
25544 (GLIBC_2.17): Likewise.
25545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
25546 (GLIBC_2.17): Likewise.
25547 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
25549 2012-09-25 Alan Modra <amodra@gmail.com>
25551 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
25552 Add release barrier before setting once_control to say
25553 initialisation is done. Add hints on lwarx. Use macro in
25555 (clear_once_control): Add release barrier.
25557 2012-09-25 Joseph Myers <joseph@codesourcery.com>
25560 * math/s_clog.c (__clog): Handle more values close to |z| = 1
25562 * math/s_clog10.c (__clog10): Likewise.
25563 * math/s_clog10f.c (__clog10f): Likewise.
25564 * math/s_clog10l.c (__clog10l): Likewise.
25565 * math/s_clogf.c (__clogf): Likewise.
25566 * math/s_clogl.c (__clogl): Likewise.
25567 * math/Makefile (libm-calls): Add x2y2m1.
25568 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
25569 (__x2y2m1): Likewise.
25570 (__x2y2m1l): Likewise.
25571 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
25572 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
25573 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
25574 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
25575 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
25576 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
25577 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
25578 * sysdeps/i386/fpu/libm-test-ulps: Update.
25579 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25582 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
25583 int as type of variable DEPTH.
25584 (glob): Use size_t instead of int as type of variables NEWCOUNT
25587 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25589 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
25590 Add s_sincosf-sse2.
25591 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
25592 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
25593 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
25594 macros for using routine as __sincosf_ia32.
25595 Use macro for function declaration and weak_alias.
25596 * sysdeps/i386/fpu/libm-test-ulps: Update.
25598 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
25599 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25601 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
25602 subnormal argument.
25603 * math/s_cexpf.c (__cexpf): Likewise.
25604 * math/s_csinf.c (__csinf): Likewise.
25605 * math/s_csinhf.c (__csinhf): Likewise.
25606 * math/s_ctanf.c (__ctanf): Likewise.
25607 * math/s_ctanhf.c (__ctanhf): Likewise.
25608 * math/s_ccosh.c (__ccoshf): Likewise.
25609 * math/s_cexp.c (__cexpl): Likewise.
25610 * math/s_csin.c (__csin): Likewise.
25611 * math/s_csinh.c (__csinh): Likewise.
25612 * math/s_ctan.c (__ctan): Likewise.
25613 * math/s_ctanh.c (ctanh): Likewise.
25614 * math/s_ccoshl.c (__ccoshl): Likewise.
25615 * math/s_cexpl.c (__cexpl): Likewise.
25616 * math/s_csinl.c (__csinl): Likewise.
25617 * math/s_csinhl.c (__csinhl): Likewise.
25618 * math/s_ctanl.c (__ctanl): Likewise.
25619 * math/s_ctanhl.c (__ctanhl): Likewise.
25621 2012-09-25 Joseph Myers <joseph@codesourcery.com>
25623 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
25624 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
25625 (_IO_off_t): Define to __off_t, not _G_off_t.
25626 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
25627 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
25628 (_IO_wint_t): Define to wint_t, not _G_wint_t.
25629 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
25630 type of __dummy and __dummy2 fields.
25631 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
25632 (_G_ssize_t): Likewise.
25633 (_G_off_t): Likewise.
25634 (_G_pid_t): Likewise.
25635 (_G_uid_t): Likewise.
25636 (_G_wchar_t): Likewise.
25637 (_G_wint_t): Likewise.
25638 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
25639 (_G_ssize_t): Likewise.
25640 (_G_off_t): Likewise.
25641 (_G_pid_t): Likewise.
25642 (_G_uid_t): Likewise.
25643 (_G_wchar_t): Likewise.
25644 (_G_wint_t): Likewise.
25645 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
25646 (_G_ssize_t): Likewise.
25647 (_G_off_t): Likewise.
25648 (_G_pid_t): Likewise.
25649 (_G_uid_t): Likewise.
25650 (_G_wchar_t): Likewise.
25651 (_G_wint_t): Likewise.
25653 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25655 * malloc/arena.c: Include malloc-sysdep.h.
25656 (shrink_heap): Use check_may_shrink_heap to decide if madvise
25657 is sufficient to shrink the heap or an unmap is needed.
25658 * sysdeps/generic/malloc-sysdep.h: New file. Define
25659 new function check_may_shrink_heap.
25660 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
25661 new function check_may_shrink_heap.
25663 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25665 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
25668 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
25670 * catgets/test-gencat.sh: Add "set -e".
25671 * elf/tst-pathopt.sh: Likewise.
25672 * grp/tst_fgetgrent.sh: Likewise.
25673 * iconvdata/run-iconv-test.sh: Likewise.
25674 * intl/tst-gettext.sh: Likewise.
25675 * intl/tst-gettext2.sh: Likewise.
25676 * intl/tst-gettext4.sh: Likewise.
25677 * intl/tst-gettext6.sh: Likewise.
25678 * intl/tst-translit.sh: Likewise.
25679 * io/ftwtest-sh: Likewise.
25680 * libio/test-freopen.sh: Likewise.
25681 * malloc/tst-mtrace.sh: Likewise.
25682 * posix/globtest.sh: Likewise.
25683 * posix/tst-getconf.sh: Likewise.
25684 * posix/wordexp-tst.sh: Likewise.
25685 * stdio-common/tst-printf.sh: Likewise.
25686 * stdio-common/tst-unbputc.sh: Likewise.
25687 * stdlib/tst-fmtmsg.sh: Likewise.
25688 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
25689 * catgets/Makefile: Do not specify -e option when running
25690 testsuite shell scripts.
25691 * elf/Makefile: Likewise.
25692 * grp/Makefile: Likewise.
25693 * iconvdata/Makefile: Likewise.
25694 * intl/Makefile: Likewise.
25695 * io/Makefile: Likewise.
25696 * libio/Makefile: Likewise.
25697 * malloc/Makefile: Likewise.
25698 * posix/Makefile: Likewise.
25699 * stdio-common/Makefile: Likewise.
25700 * stdlib/Makefile: Likewise.
25701 * sysdeps/x86_64/Makefile: Likewise.
25703 * io/ftwtest-sh: Add copyright header.
25704 * posix/globtest.sh: Likewise.
25705 * posix/tst-getconf.sh: Likewise.
25706 * posix/wordexp-tst.sh: Likewise.
25707 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
25709 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
25712 * Makeconfig (+link): Defined as $(+link-static) if
25713 $(build-shared) isn't yes.
25714 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
25716 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
25718 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
25721 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
25722 new chunk size with MALLOC_ALIGN_MASK.
25724 2012-09-24 Joseph Myers <joseph@codesourcery.com>
25727 * stdio-common/printf_fphex.c: Include <stdbool.h> and
25729 (__printf_fphex): Determine rounding using get_rounding_mode and
25731 * stdio-common/tst-printf-round.c (struct hex_test): New
25733 (hex_tests): New variable.
25734 (test_hex_in_one_mode): New function.
25735 (do_test): Also run tests for hex float output.
25737 2012-09-21 Joseph Myers <joseph@codesourcery.com>
25739 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
25740 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
25741 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
25742 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
25743 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
25744 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
25745 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
25746 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
25748 2012-09-20 Joseph Myers <joseph@codesourcery.com>
25750 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
25751 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
25752 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
25753 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
25755 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
25758 * elf/rtld.c (dl_main): Limit the check for self loading to normal
25760 * elf/tst-rtld-load-self.sh: New test.
25761 * elf/Makefile: Run it.
25763 2012-09-18 Joseph Myers <joseph@codesourcery.com>
25765 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
25766 (tst-writev-ENV): Remove.
25767 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
25769 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
25771 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
25773 2012-09-17 Joseph Myers <joseph@codesourcery.com>
25775 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
25777 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
25779 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
25780 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
25781 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
25784 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
25787 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
25788 * config.make.in (have-cpp-asm-debuginfo): Removed.
25789 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
25790 * configure: Regenerated.
25792 2012-09-14 Joseph Myers <joseph@codesourcery.com>
25795 * stdio-common/printf_fp.c: Include <stdbool.h> and
25797 (___printf_fp): Determine rounding using get_rounding_mode and
25799 * stdio-common/tst-printf-round.c: New file.
25800 * stdio-common/Makefile (tests): Add tst-printf-round.
25801 (link-libm): New variable.
25802 ($(objpfx)tst-printf-round): Depend in $(link-libm).
25804 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
25807 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
25808 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
25810 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
25813 2012-09-13 Joseph Myers <joseph@codesourcery.com>
25815 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
25816 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25817 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25818 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25820 2012-09-12 Joseph Myers <joseph@codesourcery.com>
25823 * include/rounding-mode.h: New file.
25824 * sysdeps/generic/get-rounding-mode.h: Likewise.
25825 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
25826 * stdlib/strtod_l.c: Include <rounding-mode.h>.
25827 (MAX_VALUE): New macro.
25828 (MIN_VALUE): Likewise.
25829 (overflow_value): New function.
25830 (underflow_value): Likewise.
25831 (round_and_return): Use overflow_value and underflow_value to
25832 determine return values in overflow and underflow cases. Use
25833 round_away to determine rounding depending on rounding mode.
25834 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
25835 determine return values in overflow and underflow cases.
25836 * stdlib/tst-strtod-round.c: Include <fenv.h>.
25837 (struct test_results): New structure.
25838 (struct test): Use struct test_results to store expected results
25839 for all rounding modes.
25840 (TEST): Include expected results for all rounding modes.
25841 (test_in_one_mode): New function.
25842 (do_test): Use test_in_one_mode to compute and check results.
25843 Check results for all rounding modes.
25844 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
25847 2012-12-09 Allan McRae <allan@archlinux.org>
25849 * sysdeps/i386/fpu/libm-test-ulps: Update
25851 2012-09-11 Joseph Myers <joseph@codesourcery.com>
25853 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
25854 (_G_int32_t): Likewise.
25855 (_G_uint16_t): Likewise.
25856 (_G_uint32_t): Likewise.
25857 (_G_HAVE_BOOL): Likewise.
25858 (_G_HAVE_ATEXIT): Likewise.
25859 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25860 (_G_HAVE_IO_FILE_OPEN): Likewise.
25861 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
25862 (_G_int32_t): Likewise.
25863 (_G_uint16_t): Likewise.
25864 (_G_uint32_t): Likewise.
25865 (_G_HAVE_BOOL): Likewise.
25866 (_G_HAVE_ATEXIT): Likewise.
25867 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25868 (_G_HAVE_IO_FILE_OPEN): Likewise.
25869 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
25870 (_G_int32_t): Likewise.
25871 (_G_uint16_t): Likewise.
25872 (_G_uint32_t): Likewise.
25873 (_G_HAVE_BOOL): Likewise.
25874 (_G_HAVE_ATEXIT): Likewise.
25875 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25876 (_G_HAVE_IO_FILE_OPEN): Likewise.
25878 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
25880 * csu/libc-tls.c: Update copyright years.
25882 2012-09-10 Joseph Myers <joseph@codesourcery.com>
25884 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
25885 [!_G_USING_THUNKS]: Remove conditional code.
25886 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
25887 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
25889 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
25890 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
25891 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25892 (_G_VTABLE_LABEL_PREFIX): Likewise.
25893 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25894 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25895 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25896 (_G_VTABLE_LABEL_PREFIX): Likewise.
25897 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
25898 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25899 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25900 (_G_VTABLE_LABEL_PREFIX): Likewise.
25901 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
25903 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
25905 * libio/Makefile: Include ../Makeconfig before tests.
25906 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
25907 only if $(build-shared) is yes.
25909 * iconv/gconv_db.c: Update copyright years.
25911 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25913 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
25914 unwind info if defined PIC. Fix special cases description.
25915 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
25917 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
25919 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
25921 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
25923 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
25925 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
25928 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
25929 (LDLIBS-tst-chk4): This.
25930 (LDFLAGS-tst-chk5): Renamed to ...
25931 (LDLIBS-tst-chk5): This.
25932 (LDFLAGS-tst-chk6): Renamed to ...
25933 (LDLIBS-tst-chk6): This.
25934 (LDFLAGS-tst-lfschk4): Renamed to ...
25935 (LDLIBS-tst-lfschk4): This.
25936 (LDFLAGS-tst-lfschk5): Renamed to ...
25937 (LDLIBS-tst-lfschk5): This.
25938 (LDFLAGS-tst-lfschk6): Renamed to ...
25939 (LDLIBS-tst-lfschk6): This.
25941 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
25942 on $(common-objpfx)soversions.mk.
25944 2012-09-07 Joseph Myers <joseph@codesourcery.com>
25947 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
25950 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
25952 * malloc/arena.c (arena_get_retry): New function that gets
25953 another arena for the caller to try its request on.
25954 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
25955 current arena cannot fulfill the request.
25956 (__libc_memalign): Likewise.
25957 (__libc_memalign): Likewise.
25958 (__libc_pvalloc): Likewise.
25959 (__libc_calloc): Likewise.
25961 2012-09-05 John Tobey <john.tobey@gmail.com>
25964 * manual/arith.texi (Operations on Complex): Fix description
25965 of carg branch cut.
25967 2012-09-06 Joseph Myers <joseph@codesourcery.com>
25970 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
25974 * manual/memory.texi (Memory): Make order of menu items match
25977 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
25979 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
25980 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
25981 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
25983 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
25985 * csu/libc-tls.c (static_dtv): Renamed to ...
25986 (_dl_static_dtv): This. Make it global.
25987 (_dl_initial_dtv): Removed.
25988 (__libc_setup_tls): Updated.
25989 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
25990 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
25993 2012-09-06 Petr Machata <pmachata@redhat.com>
25995 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
25996 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
25997 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
25998 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
26000 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
26003 * csu/libc-tls.c (_dl_initial_dtv): New variable.
26004 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
26007 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
26010 * Makeconfig (link-static-before-libc): Replace $(+prector)
26012 (link-static-after-libc): Replace $(+postctor) with
26014 (link-bounded): Replace $(+prector)/$(+postctor) with
26015 $(+prectorT)/$(+postctorT).
26016 (+prectorT): New macro.
26017 (+postctorT): Likewise.
26019 2012-09-06 Joseph Myers <joseph@codesourcery.com>
26021 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
26022 (round_str): Handle values above the maximum for IBM long double
26024 * stdlib/tst-strtod-round.c (tests): Regenerated.
26026 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26028 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
26030 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
26031 zarch_nohighgprs around the zarch optimized routines.
26032 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
26033 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
26034 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
26037 2012-09-05 David S. Miller <davem@davemloft.net>
26039 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26041 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
26042 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
26043 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
26044 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
26047 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
26049 * malloc/arena.c: Fold copyright years.
26050 * malloc/mcheck.c, malloc/memusage.c: Likewise.
26052 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
26054 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
26056 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
26058 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
26060 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
26062 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
26063 change internal state upon failure.
26065 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
26067 * malloc/mcheck.c (mcheck_check_all): Fix typo.
26068 * malloc/memusage.c (mmap): Likewise.
26069 (mmap64, mremap): Likewise. Adjust name in comment.
26071 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
26073 * libio/fileops.c: Fix typos in comments.
26074 * libio/oldfileops.c: Likewise.
26075 * libio/wfileops.c: Likewise.
26077 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
26080 * malloc/Makefile (tests): Add tst-malloc-usable test case.
26081 (tst-malloc-usable-ENV): Set environment for test case.
26082 * malloc/hooks.c (malloc_check_get_size): New function to get
26084 * malloc/malloc.c (musable): Use malloc_check_get_size.
26085 * malloc/tst-malloc-usable.c: New test case.
26087 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
26089 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
26091 2012-09-05 Allan McRae <allan@archlinux.org>
26094 * configure.in (CXX_SYSINCLUDES): Use compiler output to
26095 determine header location.
26096 * configure: Regenerated.
26098 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
26100 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
26102 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
26103 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
26105 (test): Regenerate.
26107 2012-09-04 David S. Miller <davem@davemloft.net>
26109 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
26110 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
26111 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
26113 2012-09-04 Florian Weimer <fweimer@redhat.com>
26115 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
26118 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
26120 2012-09-04 Joseph Myers <joseph@codesourcery.com>
26123 * libio/iogetdelim.c: Include <limits.h>.
26124 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
26125 + len + 1 would overflow.
26127 2012-09-03 Andreas Jaeger <aj@suse.de>
26129 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26130 * sysdeps/i386/fpu/libm-test-ulps: Update.
26132 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26134 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
26135 Add s_sinf-sse2, s_conf-sse2.
26137 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
26138 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
26139 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
26140 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
26142 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
26143 for using routine as __sinf_ia32.
26144 Use macro for function declaration and weak_alias.
26145 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
26146 for using routine as __cosf_ia32.
26147 Use macro for function declaration and weak_alias.
26149 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
26150 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
26152 * sysdeps/x86_64/fpu/s_sinf.S: New file.
26153 * sysdeps/x86_64/fpu/s_cosf.S: New file.
26154 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26156 * math/libm-test.inc (cos_test): Add more test cases.
26157 (sin_test): Likewise.
26158 (sincos_test): Likewise.
26160 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26162 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
26163 (IFUNC_RESOLVE): Make pointers to the specialized implementations
26165 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
26167 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
26170 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
26171 first element of the GOT.
26172 (elf_machine_load_address): Return the difference between
26173 the runtime address of _DYNAMIC and elf_machine_dynamic ().
26175 2012-09-01 Allan McRae <allan@archlinux.org>
26178 * configure.in (AWK): Require gawk version 3.0 or later.
26179 * configure: Regenerated.
26181 2012-09-01 Joseph Myers <joseph@codesourcery.com>
26183 * sysdeps/unix/sysv/linux/kernel-features.h
26184 (__ASSUME_POSIX_CPU_TIMERS): Remove.
26185 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
26186 [__NR_clock_getres]: Make code unconditional.
26187 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
26188 (clock_getcpuclockid): Remove code left unreachable by removal of
26190 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
26191 code unconditional.
26192 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
26193 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
26194 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
26195 Make code unconditional.
26196 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
26197 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
26198 * sysdeps/unix/sysv/linux/clock_settime.c
26199 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
26201 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
26202 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
26204 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
26207 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
26208 scripts/test-installation.pl.
26210 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
26211 and $ld_so_version if it is set.
26213 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26216 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
26217 failure if reading from procfs failed.
26218 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
26220 2012-08-27 Joseph Myers <joseph@codesourcery.com>
26222 * sysdeps/unix/sysv/linux/kernel-features.h
26223 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
26224 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
26225 Remove conditional code.
26226 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26227 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
26228 Remove conditional code.
26229 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26230 * sysdeps/unix/sysv/linux/i386/fxstat.c
26231 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
26232 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26233 * sysdeps/unix/sysv/linux/i386/fxstatat.c
26234 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
26235 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26236 * sysdeps/unix/sysv/linux/i386/lxstat.c
26237 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
26238 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26239 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
26240 Remove conditional code.
26241 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26242 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
26243 Remove conditional code.
26244 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26245 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
26246 <kernel-features.h>.
26247 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
26249 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
26250 Remove conditional code.
26251 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26252 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
26253 Remove conditional.
26255 2012-08-27 Mike Frysinger <vapier@gentoo.org>
26258 * NEWS: Add fixed bug number.
26260 2012-08-27 Joseph Myers <joseph@codesourcery.com>
26263 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
26264 underflowing exponent in case of negative sign.
26265 * stdlib/tst-strtod-round-data: Add more tests.
26266 * stdlib/tst-strtod-round.c (tests): Regenerated.
26269 * stdlib/strtod_l.c (NDIG): Remove.
26270 (HEXNDIG): Likewise.
26271 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
26272 smallest representable value.
26273 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
26274 lie within an exact representation of 1/2 ulp of the result.
26275 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
26277 (TENS_P9_IDX): Define unconditionally.
26278 (TENS_P9_SIZE): Likewise.
26279 (TENS_P10_IDX): Likewise.
26280 (TENS_P10_SIZE): Likewise.
26281 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
26282 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
26283 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
26284 entries for 10^2^13 and 10^2^14.
26285 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
26286 (TENS_P13_IDX): Define.
26287 (TENS_P13_SIZE): Likewise.
26288 (TENS_P14_IDX): Likewise.
26289 (TENS_P14_SIZE): Likewise.
26290 (_fpioconst_pow10): Change array size to
26291 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
26293 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
26294 1024]: Add entries for 10^2^13 and 10^2^14.
26295 [LAST_POW10 > _LAST_POW10]: Remove #error.
26296 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
26297 (_fpioconst_pow10): Change array size to
26298 FPIOCONST_POW10_ARRAY_SIZE.
26299 * stdlib/gen-fpioconst.c: New file.
26300 * stdlib/gen-tst-strtod-round.c: Likewise.
26301 * stdlib/tst-strtod-round-data: Likewise.
26302 * stdlib/tst-strtod-round.c: Likewise.
26303 * stdlib/Makefile (tests): Add tst-strtod-round.
26306 * stdlib/strtod_l.c: Include <stdint.h>.
26307 (NDEBUG): Do not define.
26308 (round_and_return): Change EXPONENT parameter to type intmax_t.
26309 Rearrange calculations to avoid internal overflow possibilities.
26310 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
26311 Rearrange calculations to avoid internal overflow possibilities.
26312 Assert that number fits inside MPNSIZE limbs.
26313 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
26314 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
26315 calculations and add assertions to avoid internal overflow
26316 possibilities. Add casts to avoid signed/unsigned operations.
26317 * stdlib/tst-strtod-overflow.c: New file.
26318 * stdlib/Makefile (tests): Add tst-strtod-overflow.
26320 2012-08-25 Marek Polacek <polacek@redhat.com>
26322 * time/time.h: Fix some typos in comments.
26324 2012-08-23 Roland McGrath <roland@hack.frob.com>
26326 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
26327 * posix/tst-rfc3484-2.c: Likewise.
26328 * posix/tst-rfc3484-3.c: Likewise.
26330 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
26332 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
26333 (EF_ARM_ABI_FLOAT_HARD): Likewise.
26335 2012-08-23 Joseph Myers <joseph@codesourcery.com>
26337 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
26338 #include of fxstatat64.c.
26340 2012-08-22 Roland McGrath <roland@hack.frob.com>
26342 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
26343 * shadow/getspent_r.c: Likewise.
26344 * shadow/getspnam.c: Likewise.
26345 * shadow/getspnam_r.c: Likewise.
26346 * gshadow/getsgent.c: Likewise.
26347 * gshadow/getsgent_r.c: Likewise.
26348 * gshadow/getsgnam.c: Likewise.
26349 * gshadow/getsgnam_r.c: Likewise.
26350 * inet/getnetbyad.c: Likewise.
26351 * inet/getnetbyad_r.c: Likewise.
26352 * inet/getnetbynm.c: Likewise.
26353 * inet/getnetbynm_r.c: Likewise.
26354 * inet/getnetent.c: Likewise.
26355 * inet/getnetent_r.c: Likewise.
26356 * inet/getproto.c: Likewise.
26357 * inet/getproto_r.c: Likewise.
26358 * inet/getprtent.c: Likewise.
26359 * inet/getprtent_r.c: Likewise.
26360 * inet/getprtname.c: Likewise.
26361 * inet/getprtname_r.c: Likewise.
26362 * inet/getrpcbyname.c: Likewise.
26363 * inet/getrpcbyname_r.c: Likewise.
26364 * inet/getrpcbynumber.c: Likewise.
26365 * inet/getrpcbynumber_r.c: Likewise.
26366 * inet/getrpcent.c: Likewise.
26367 * inet/getrpcent_r.c: Likewise.
26368 * inet/getaliasent.c: Likewise.
26369 * inet/getaliasent_r.c: Likewise.
26370 * inet/getaliasname.c: Likewise.
26371 * inet/getaliasname_r.c: Likewise.
26372 * nscd/getgrgid_r.c: Likewise.
26373 * nscd/getgrnam_r.c: Likewise.
26374 * nscd/gethstbyad_r.c: Likewise.
26375 * nscd/gethstbynm3_r.c: Likewise.
26376 * nscd/getpwnam_r.c: Likewise.
26377 * nscd/getpwuid_r.c: Likewise.
26378 * nscd/getsrvbynm_r.c: Likewise.
26379 * nscd/getsrvbypt_r.c: Likewise.
26380 * nscd/gai.c: Likewise.
26382 * configure.in (build_nscd): New substituted variable, set
26383 by --disable-build-nscd and defaults to $use_nscd.
26384 * configure: Regenerated.
26385 * config.make.in (build-nscd): New substituted variable.
26386 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
26387 Change conditional to require [$(build-nscd) = yes] as well.
26388 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
26391 * configure.in (use_nscd): New substituted variable, set by
26392 --disable-nscd. If enabled, define USE_NSCD.
26393 * configure: Regenerated.
26394 * config.h.in: Add USE_NSCD.
26395 * config.make.in (use-nscd): New substituted variable.
26396 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
26397 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
26398 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
26399 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
26400 (CFLAGS-getgrnam_r.c): Likewise.
26401 (CFLAGS-initgroups.c): Likewise.
26402 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
26403 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
26405 * inet/getnetgrent_r.c
26406 (nscd_setnetgrent): New function, broken out of ...
26407 (setnetgrent): ... here. Call it.
26408 (innetgr): Conditionalize nscd bits on [USE_NSCD].
26409 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
26410 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
26411 * nscd/Makefile (routines, aux): Move definitions after include of
26412 Makeconfig. Conditionalize on [$(use-nscd) != no].
26413 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
26414 Conditionalize on [USE_NSCD].
26415 (is_nscd, nscd_init_cb): Likewise.
26416 (nss_load_library): Conditionalize init callback on [USE_NSCD].
26417 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
26418 * nss/nss_db/db-init.c: Likewise.
26419 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
26421 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
26422 (make_request): Use it.
26423 (cache_valid_p): New function.
26424 (__check_pf): Use it.
26425 * NEWS: Add item for --disable-nscd.
26427 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
26429 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
26430 to support sed >= 4.2.1-20-ga9bf076.
26431 * configure: Regenerated.
26433 2012-08-22 Roland McGrath <roland@hack.frob.com>
26435 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
26436 Conditionalize whole body on [IREL].
26438 2012-08-22 Jeff Law <law@redhat.com>
26441 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
26442 if the family is PF_UNSPEC.
26444 2012-08-22 Mike Frysinger <vapier@gentoo.org>
26446 * Makerules (lib-version): Rename from V.
26447 (install-lib-nosubdir): Change V to lib-version.
26449 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
26452 * powerpc32/power6/wcschr.c: New file.
26453 * powerpc32/power6/wcscpy.c: New file.
26454 * powerpc32/power6/wcsrchr.c: New file.
26455 * powerpc64/power6/wcschr.c: New file.
26456 * powerpc64/power6/wcscpy.c: New file.
26457 * powerpc64/power6/wcsrchr.c: New file.
26459 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
26461 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
26462 (two_way_short_needle): Use it.
26463 * string/strstr.c (AVAILABLE1_USES_J): Define.
26464 * string/strcasestr.c: Likewise.
26466 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
26468 * string/strcasestr.c (TOLOWER): Make side-effect safe.
26471 * NEWS: Add an entry.
26472 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
26473 define their defaults.
26474 (two_way_short_needle): Detect end-of-string on-the-fly.
26475 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
26476 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
26477 * string/bug-strcasestr1.c: New test.
26478 * string/Makefile: Run it.
26480 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
26483 * string/str-two-way.h (two_way_short_needle): Optimize matching of
26484 the first character.
26486 2012-08-21 Roland McGrath <roland@hack.frob.com>
26488 * csu/elf-init.c (__libc_csu_irel): Function removed.
26489 * csu/libc-start.c (apply_irel): New function.
26490 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
26492 2012-08-21 Joseph Myers <joseph@codesourcery.com>
26494 * sysdeps/unix/sysv/linux/kernel-features.h
26495 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
26496 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
26497 <kernel-features.h>.
26498 [__NR_fadvise64_64]: Make code unconditional.
26499 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
26500 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
26501 !__NR_fadvise64_64)]: Likewise.
26502 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
26503 !__NR_fadvise64_64))]: Likewise.
26504 [__NR_fadvise64]: Make code unconditional.
26505 [!__NR_fadvise64]: Remove conditional code.
26506 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
26507 <kernel-features.h>.
26508 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26510 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
26513 not include <kernel-features.h>.
26514 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26516 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26518 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
26519 include <kernel-features.h>.
26520 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26522 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26525 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
26527 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
26528 slight instruction rearrangements per scrollpipe analysis.
26529 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
26531 2012-08-20 Roland McGrath <roland@hack.frob.com>
26533 * manual/syslog.texi (syslog; vsyslog, closelog):
26534 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
26535 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
26537 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
26538 DSOCAPS to match condition on defining it.
26540 2012-08-20 Joseph Myers <joseph@codesourcery.com>
26542 * sysdeps/unix/sysv/linux/kernel-features.h
26543 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
26544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
26545 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26546 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
26548 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26549 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
26551 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26552 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26554 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
26555 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
26557 * sysdeps/unix/sysv/linux/kernel-features.h
26558 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
26559 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
26561 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26562 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
26563 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
26564 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26565 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
26566 Make code unconditional.
26567 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26568 (__mmap64) [!__NR_mmap2]: Likewise.
26569 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
26570 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
26571 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26572 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
26573 [__NR_mmap2]: Make code unconditional.
26574 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26575 (__mmap64) [!__NR_mmap2]: Likewise.
26577 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26579 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
26581 2012-08-18 Andreas Jaeger <aj@suse.de>
26583 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
26585 2012-08-18 Mike Frysinger <vapier@gentoo.org>
26587 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
26588 * include/unistd.h (__have_sock_cloexec): Likewise.
26589 (__have_pipe2): Likewise.
26590 (__have_dup3): Likewise.
26592 2012-08-18 Mike Frysinger <vapier@gentoo.org>
26595 * include/unistd.h (__have_pipe2): Change define into an extern int.
26596 (__have_dup3): Likewise.
26597 * socket/have_sock_cloexec.c: Include fcntl.h.
26598 (__have_pipe2): New variable.
26599 (__have_dup3): Likewise.
26601 2012-08-17 Mike Frysinger <vapier@gentoo.org>
26603 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
26605 2012-08-17 Marek Polacek <polacek@redhat.com>
26607 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
26608 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
26610 2012-08-17 Roland McGrath <roland@hack.frob.com>
26612 * configure.in: Add AC_SUBST for sysheaders.
26613 * configure: Regenerated.
26614 * config.make.in (sysheaders): New substituted variable.
26616 * sysdeps/unix/mkfifo.c: Moved ...
26617 * sysdeps/posix/mkfifo.c: ... here.
26618 * sysdeps/unix/mkfifoat.c: Moved ...
26619 * sysdeps/posix/mkfifoat.c: ... here.
26621 * sysdeps/unix/utime.c: Moved ...
26622 * sysdeps/posix/utime.c: ... here.
26624 * sysdeps/unix/time.c: Moved ...
26625 * sysdeps/posix/time.c: ... here.
26626 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
26627 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
26629 * sysdeps/unix/nice.c: Moved ...
26630 * sysdeps/posix/nice.c: ... here.
26632 * sysdeps/unix/alarm.c: Moved ...
26633 * sysdeps/posix/alarm.c: ... here.
26635 * intl/Makefile ($(codeset_mo)): Depend on the input file.
26637 2012-08-17 Jeff Law <law@redhat.com>
26639 * intl/Makefile (codeset_mo): New variable.
26640 ($(codeset_mo)): New target.
26641 (tst-codeset.out): Depend on that. Remove explicit rule.
26642 (tst-gettext3.out, tst-gettext5.out): Likewise.
26643 (LOCPATH-ENV, tst-codeset-ENV): New variables.
26644 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
26645 * intl/tst-codeset.sh: Remove.
26646 * intl/tst-gettext3.sh: Likewise.
26647 * intl/tst-gettext5.sh: Likewise.
26649 2012-08-17 Roland McGrath <roland@hack.frob.com>
26651 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
26652 * sysdeps/unix/syscalls.list: ... here.
26654 * sysdeps/posix/getaddrinfo.c
26655 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
26656 (gaiconf_init, gaiconf_reload): Use them.
26657 [!_STATBUF_ST_NSEC]
26658 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
26659 Define using time_t rather than struct timespec.
26661 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
26662 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
26664 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
26666 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
26667 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
26670 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
26671 __libc_cleanup_push argument.
26673 * bits/param.h: New file.
26674 * misc/sys/param.h: New file.
26675 * include/sys/param.h: New file.
26676 * misc/Makefile (headers): Add bits/param.h.
26677 * sysdeps/generic/sys/param.h: File removed.
26678 * sysdeps/unix/sysv/linux/bits/param.h: New file.
26679 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
26680 * sysdeps/mach/hurd/bits/param.h: New file.
26681 * sysdeps/mach/hurd/sys/param.h: File removed.
26683 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
26686 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
26688 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
26689 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
26692 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
26693 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
26694 rather than -D_IO_MTSAFE_IO conditionally.
26695 * stdio-common/Makefile (CPPFLAGS): Likewise.
26696 * wcsmbs/Makefile (CPPFLAGS): Likewise.
26697 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
26698 Use $(libio-mtsafe).
26699 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
26700 of -D_IO_MTSAFE_IO.
26701 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
26702 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
26703 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
26704 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
26705 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
26706 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
26707 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
26708 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
26709 (CFLAGS-fread_u_chk.c): Likewise.
26710 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
26711 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
26712 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
26713 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
26714 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
26715 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
26716 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
26717 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
26718 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
26720 * libio/Makefile: Test [$(libc-reentrant) = yes]
26721 instead of [$(filter %REENTRANT, $(defines)) nonempty].
26724 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
26725 * sysdeps/pthread/configure: File removed.
26726 * sysdeps/pthread/Makeconfig: New file.
26727 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
26728 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
26730 2012-08-16 Gary Benson <gbenson@redhat.com>
26732 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
26733 unmapping the first object in a namespace.
26735 2012-08-16 Roland McGrath <roland@hack.frob.com>
26737 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
26738 (__internal_setnetgrent): ... this. Add internal_function to
26739 definition. Add libc_hidden_def.
26740 (setnetgrent): Update caller.
26741 (internal_endnetgrent): Renamed to ...
26742 (__internal_endnetgrent): ... this. Add internal_function to
26743 definition. Add libc_hidden_def.
26744 (endnetgrent): Update caller.
26745 (internal_getnetgrent_r): Renamed to ...
26746 (__internal_getnetgrent_r): ... this. Add internal_function to
26747 definition. Add libc_hidden_def.
26748 (__getnetgrent_r): Update caller.
26749 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
26751 2012-08-16 Joseph Myers <joseph@codesourcery.com>
26753 * stdlib/longlong.h: Update from GCC.
26755 2012-08-16 Roland McGrath <roland@hack.frob.com>
26757 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
26758 on _QL, which is set by umul_ppmm but never used.
26759 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
26760 variables, which are set by GMP macros but never used.
26761 * stdio-common/_itowa.c (_itowa): Likewise.
26762 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
26763 * stdlib/mod_1.c (mpn_mod_1): Likewise.
26765 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
26767 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
26768 struct La_sh_regs is not constant.
26769 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
26770 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
26771 and struct La_sparc64_regs are not constant.
26773 2012-08-16 Joseph Myers <joseph@codesourcery.com>
26775 * sysdeps/unix/sysv/linux/kernel-features.h
26776 (__ASSUME_POSIX_TIMERS): Remove.
26777 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
26778 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26779 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
26780 Make code unconditional.
26781 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26782 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
26783 Make code unconditional.
26784 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26785 * sysdeps/unix/sysv/linux/clock_nanosleep.c
26786 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
26787 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26788 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
26789 Make code unconditional.
26790 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26791 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
26792 (__libc_missing_posix_timers): Remove.
26794 2012-08-15 Roland McGrath <roland@hack.frob.com>
26796 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
26797 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
26799 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
26801 * elf/dl-sym.c: Include <stdlib.h>.
26803 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
26804 constants, which avoids warnings in 32-bit builds.
26806 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
26807 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
26809 * misc/lseek.c: File moved to ...
26810 * io/lseek.c: ... here.
26812 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
26814 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
26815 shifting LEN more than 31 bits at once.
26817 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26820 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
26821 segmentation fault for a case of two empty input strings.
26822 * string/test-strncasecmp.c (check1): Renamed to...
26823 (bz12205): ...this.
26824 (bz14195): Add new testcase for two empty input strings and N > 0.
26825 (test_main): Call new testcase, adapt for renamed function.
26827 2012-08-15 Andreas Jaeger <aj@suse.de>
26830 * crypt/md5test2.c: New test, based on test supplied by Serge
26831 Belyshev <belyshev@depni.sinp.msu.ru>.
26832 * crypt/Makefile (xtests): Add md5test-giant..
26833 * crypt/Makefile ($(objpfx)md5test-giant): Add.
26835 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
26838 * crypt/md5.c (md5_process_block): Don't assume the buffer
26839 length is less than 2**32.
26840 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
26841 length is less than 2**64.
26843 2012-08-15 Roland McGrath <roland@hack.frob.com>
26845 * string/str-two-way.h: Include <sys/param.h>.
26846 (MAX): Macro removed.
26848 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
26849 Move #define and #undef of memmove to just before and after
26850 including <string.h>.
26852 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
26853 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
26854 and after including <string.h>. Move declarations of
26855 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
26856 to before #include "string/memmove.c".
26858 * include/dirent.h: Declare __getdirentries.
26860 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
26861 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
26863 2012-08-14 Mike Frysinger <vapier@gentoo.org>
26865 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
26866 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
26867 * sysdeps/i386/configure: Regenerated.
26868 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
26869 STABS_CURRENT_FILE, and STABS_FUN.
26870 (END): Remove call to STABS_FUN_END.
26871 (STABS_CURRENT_FILE1): Delete.
26872 (STABS_CURRENT_FILE): Likewise.
26873 (STABS_FUN): Likewise.
26874 (STABS_FUN_END): Likewise.
26875 (STABS_FUN2): Likewise.
26876 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
26877 * sysdeps/x86_64/configure: Regenerated.
26879 2012-08-14 Roland McGrath <roland@hack.frob.com>
26881 * elf/dl-open.c: Include <atomic.h>.
26882 * elf/dl-lookup.c: Likewise.
26884 2012-08-14 Joseph Myers <joseph@codesourcery.com>
26886 * sysdeps/unix/sysv/linux/kernel-features.h
26887 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
26888 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
26890 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
26892 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
26893 condition on __ASSUME_CLONE_THREAD_FLAGS.
26895 2012-08-14 Andreas Jaeger <aj@suse.de>
26897 * sysdeps/i386/fpu/libm-test-ulps: Update.
26899 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
26901 * include/atomic.h (atomic_exchange_and_add): Split into ...
26902 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
26905 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
26907 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26909 2012-08-13 Jeff Law <law@redhat.com>
26911 * manual/stdio.texi (snprintf): Clarify handling of the trailing
26912 null byte in the output string.
26914 2012-08-10 Joseph Myers <joseph@codesourcery.com>
26916 * sysdeps/unix/sysv/linux/kernel-features.h
26917 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
26918 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
26919 (__ASSUME_ARG_MAX_STACK_BASED): Define.
26920 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
26921 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
26922 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
26923 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
26925 2012-08-09 Jeff Law <law@redhat.com>
26928 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
26929 When avoid_arena is set, don't retry in the that arena. Pick the
26930 next one, whatever it might be.
26931 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
26932 (arena_lock): Pass in new parameter to arena_get2.
26933 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
26935 (__libc_malloc): Unify retrying after main arena failure with
26936 __libc_memalign version.
26937 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
26939 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
26942 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
26943 to __redirect_strstr.
26944 (__strstr_sse42): Use typeof __redirect_strstr.
26945 (__strstr_ia32): Likewise.
26946 (__libc_strstr): New prototype.
26947 (strstr): Renamed to ...
26948 (__libc_strstr): This.
26949 (strstr): New strong alias of __libc_strstr.
26950 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
26951 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
26954 (__libc_time): New prototype.
26955 (time_ifunc): Replace time with __libc_time.
26956 (time): New strong alias and hidden definition of __libc_time.
26957 (__GI_time): Remove strong alias.
26958 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
26959 Include <stddef.h>.
26960 (memmove): Redefined to __redirect_memmove.
26961 (__memmove_sse2): Use typeof __redirect_memmove.
26962 (__memmove_ssse3): Likewise.
26963 (__memmove_ssse3_back): Likewise.
26964 (__libc_memmove): New prototype.
26965 (memmove): Renamed to ...
26966 (__libc_memmove): This.
26967 (memmove): New strong alias of __libc_memmove.
26969 2012-08-08 Mark Salter <msalter@redhat.com>
26972 (R_MN10300_TLS_GD): Define.
26973 (R_MN10300_TLS_LD): Likewise.
26974 (R_MN10300_TLS_LDO): Likewise.
26975 (R_MN10300_TLS_GOTIE): Likewise.
26976 (R_MN10300_TLS_IE): Likewise.
26977 (R_MN10300_TLS_LE): Likewise.
26978 (R_MN10300_TLS_DTPMOD): Likewise.
26979 (R_MN10300_TLS_DTPOFF): Likewise.
26980 (R_MN10300_TLS_TPOFF): Likewise.
26981 (R_MN10300_SYM_DIFF): Likewise.
26982 (R_MN10300_ALIGN): Likewise.
26983 (R_MN10300_NUM): Update.
26985 2012-08-08 Joseph Myers <joseph@codesourcery.com>
26987 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
26990 2012-08-08 Roland McGrath <roland@hack.frob.com>
26992 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
26994 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
26995 sysdeps/unix -> sysdeps/posix move.
26996 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
26998 2012-08-07 Allan McRae <allan@archlinux.org>
27001 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
27002 (SUNOS_CPP): Likewise.
27003 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
27005 (open_input): Call CPP using execvp.
27007 2012-08-07 Joseph Myers <joseph@codesourcery.com>
27009 * sysdeps/unix/sysv/linux/kernel-features.h
27010 (__ASSUME_PROT_GROWSUPDOWN): Remove.
27011 (__ASSUME_NO_CLONE_DETACHED): Likewise.
27012 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
27013 (__ASSUME_WAITID_SYSCALL): Likewise.
27014 * sysdeps/unix/sysv/linux/dl-execstack.c
27015 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
27016 code unconditional.
27017 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
27019 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
27020 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
27021 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
27023 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
27025 [__ASSUME_WAITID_SYSCALL]: Likewise.
27026 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
27028 2012-08-07 Roland McGrath <roland@hack.frob.com>
27030 * sysdeps/unix/closedir.c: Renamed to ...
27031 * sysdeps/posix/closedir.c: ... here.
27032 * sysdeps/unix/dirfd.c: Renamed to ...
27033 * sysdeps/posix/dirfd.c: ... here.
27034 * sysdeps/unix/dirstream.h: Renamed to ...
27035 * sysdeps/posix/dirstream.h: ... here.
27036 * sysdeps/unix/fdopendir.c: Renamed to ...
27037 * sysdeps/posix/fdopendir.c: ... here.
27038 * sysdeps/unix/opendir.c: Renamed to ...
27039 * sysdeps/posix/opendir.c: ... here.
27040 * sysdeps/unix/readdir.c: Renamed to ...
27041 * sysdeps/posix/readdir.c: ... here.
27042 * sysdeps/unix/readdir_r.c: Renamed to ...
27043 * sysdeps/posix/readdir_r.c: ... here.
27044 * sysdeps/unix/rewinddir.c: Renamed to ...
27045 * sysdeps/posix/rewinddir.c: ... here.
27046 * sysdeps/unix/seekdir.c: Renamed to ...
27047 * sysdeps/posix/seekdir.c: ... here.
27048 * sysdeps/unix/telldir.c: Renamed to ...
27049 * sysdeps/posix/telldir.c: ... here.
27050 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
27051 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
27052 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
27053 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
27055 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
27056 * bits/fcntl.h: ... here.
27058 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
27060 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
27061 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
27062 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
27063 (struct flock): Move l_start, l_len to the beginning.
27064 Use __pid_t for l_pid.
27065 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
27066 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
27067 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
27068 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
27069 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
27070 [__USE_LARGEFILE64] (struct flock64): New type.
27071 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
27073 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
27074 * bits/dirent.h: ... here.
27076 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
27077 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
27079 2012-08-07 Joseph Myers <joseph@codesourcery.com>
27081 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27082 Change from 2.6.0 to 2.6.16.
27083 * sysdeps/unix/sysv/linux/configure: Regenerated.
27084 * sysdeps/unix/sysv/linux/kernel-features.h
27085 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
27086 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
27088 (__ASSUME_UTIMES): Likewise.
27089 (__ASSUME_CLONE_STOPPED): Remove.
27090 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
27091 architectures, not kernel version.
27092 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
27093 (__ASSUME_NO_CLONE_DETACHED): Likewise.
27094 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
27095 (__ASSUME_WAITID_SYSCALL): Likewise.
27096 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
27097 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
27098 * README: State 2.6.16 as minimum Linux kernel version. Do not
27099 refer to older versions.
27101 2012-08-06 Roland McGrath <roland@hack.frob.com>
27103 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
27104 Define alphasort64 as an alias.
27105 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
27106 Define versionsort64 as an alias.
27107 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
27108 Define scandir64 as an alias.
27109 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
27110 Define scandirat64 as an alias.
27111 * dirent/alphasort64.c (alphasort64):
27112 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
27113 * dirent/versionsort64.c: Likewise.
27114 * dirent/scandir64.c: Likewise.
27115 * dirent/scandirat64.c: Likewise.
27116 * sysdeps/wordsize-64/alphasort.c: File removed.
27117 * sysdeps/wordsize-64/alphasort64.c: File removed.
27118 * sysdeps/wordsize-64/scandir.c: File removed.
27119 * sysdeps/wordsize-64/scandir64.c: File removed.
27120 * sysdeps/wordsize-64/scandirat.c: File removed.
27121 * sysdeps/wordsize-64/scandirat64.c: File removed.
27122 * sysdeps/wordsize-64/versionsort.c: File removed.
27123 * sysdeps/wordsize-64/versionsort64.c: File removed.
27124 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
27125 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
27126 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
27127 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
27128 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
27129 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
27130 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
27131 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
27133 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
27134 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
27135 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
27136 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27137 [defined __arch64__ || defined __sparcv9]
27138 (__INO_T_MATCHES_INO64_T): New macro.
27139 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
27140 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
27141 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
27142 * sysdeps/unix/sysv/linux/bits/dirent.h
27143 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
27144 (_DIRENT_MATCHES_DIRENT64): New macro.
27146 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
27147 Define lockf64 as an alias.
27148 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
27149 Define fseeko64 as an alias.
27150 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
27151 Define ftello64 as an alias.
27152 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
27153 Define _IO_fgetpos64 and fgetpos64 as aliases.
27154 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
27155 Define _IO_fsetpos64 and fsetpos64 as aliases.
27156 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
27157 Conditionalize body on this.
27158 * libio/fseeko64.c: Likewise.
27159 * libio/ftello64.c: Likewise.
27160 * libio/iofgetpos64.c: Likewise.
27161 * libio/iofsetpos64.c: Likewise.
27162 * sysdeps/wordsize-64/lockf.c: File removed.
27163 * sysdeps/wordsize-64/lockf64.c: File removed.
27164 * sysdeps/wordsize-64/fseeko.c: File removed.
27165 * sysdeps/wordsize-64/fseeko64.c: File removed.
27166 * sysdeps/wordsize-64/ftello.c: File removed.
27167 * sysdeps/wordsize-64/ftello64.c: File removed.
27168 * sysdeps/wordsize-64/iofgetpos.c: File removed.
27169 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
27170 * sysdeps/wordsize-64/iofsetpos.c: File removed.
27171 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
27172 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
27173 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
27174 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
27175 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
27176 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
27177 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
27178 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
27179 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
27180 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
27181 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
27183 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
27184 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
27185 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
27186 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27187 [defined __arch64__ || defined __sparcv9]
27188 (__OFF_T_MATCHES_OFF64_T): New macro.
27189 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
27190 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
27191 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27192 (__OFF_T_MATCHES_OFF64_T): New macro.
27194 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
27196 * stdlib/secure-getenv.c (__secure_getenv): Replace
27197 GLIBC_2_16 with GLIBC_2_17.
27199 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
27201 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
27202 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
27204 2012-08-03 David S. Miller <davem@davemloft.net>
27206 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27208 2012-08-03 Joseph Myers <joseph@codesourcery.com>
27210 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
27212 (__ASSUME_CORRECT_SI_PID): Likewise.
27213 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
27214 (__ASSUME_TMPFS_NAME): Likewise.
27215 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
27216 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
27217 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
27218 (HAVE_AUX_SECURE): Make definition unconditional.
27219 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
27220 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
27222 2012-08-03 Roland McGrath <roland@hack.frob.com>
27224 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
27225 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
27226 * sysdeps/mach/hurd/eloop-threshold.h: New file.
27227 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
27228 __eloop_threshold instead of SYMLOOP_MAX.
27230 * sysdeps/generic/eloop-threshold.h: New file.
27231 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
27233 * elf/chroot_canon.c (chroot_canon): Likewise.
27235 2012-08-03 Joseph Myers <joseph@codesourcery.com>
27238 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27239 Change to 2.6.0 everywhere.
27240 * sysdeps/unix/sysv/linux/configure: Regenerated.
27241 * sysdeps/unix/sysv/linux/kernel-features.h
27242 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
27243 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
27245 (__ASSUME_POSIX_TIMERS): Define unconditionally.
27246 (__ASSUME_FUTEX_REQUEUE): Remove.
27247 (__ASSUME_STATFS64): Define unconditionally.
27248 (__ASSUME_AT_SECURE): Likewise.
27249 (__ASSUME_CORRECT_SI_PID): Likewise.
27250 (__ASSUME_TGKILL): Define without depending on kernel version for
27252 (__ASSUME_UTIMES): Likewise.
27253 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
27255 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
27256 (__ASSUME_TMPFS_NAME): Likewise.
27257 * README: Update reference to Linux kernel versions.
27259 2012-08-02 Marek Polacek <polacek@redhat.com>
27262 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
27263 libc_cv_asm_type_prefix with %.
27264 * configure: Regenerated.
27265 * include/libc-symbols.h: Remove comment about
27266 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
27267 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
27268 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
27269 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
27270 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
27271 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
27272 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
27273 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
27274 * elf/tst-unique2mod1.c: Likewise.
27275 * elf/tst-unique1mod2.c: Likewise.
27276 * elf/tst-unique1mod1.c: Likewise.
27277 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
27278 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
27279 Replace ASM_TYPE_DIRECTIVE with .type.
27280 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27281 * sysdeps/i386/sysdep.h: Likewise.
27282 * sysdeps/x86_64/sysdep.h: Likewise.
27283 * sysdeps/sh/sysdep.h: Likewise.
27284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
27285 Do not define ASM_TYPE_DIRECTIVE.
27286 * sysdeps/powerpc/sysdep.h: Likewise.
27287 * sysdeps/powerpc/powerpc32/sysdep.h:
27288 Replace ASM_TYPE_DIRECTIVE with .type.
27289 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
27290 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
27291 * sysdeps/i386/fpu/e_powf.S: Likewise.
27292 * sysdeps/i386/fpu/e_expl.S: Likewise.
27293 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27294 * sysdeps/i386/fpu/e_acosh.S: Likewise.
27295 * sysdeps/i386/fpu/e_pow.S: Likewise.
27296 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
27297 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27298 * sysdeps/i386/fpu/s_expm1.S: Likewise.
27299 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
27300 * sysdeps/i386/fpu/e_log2.S: Likewise.
27301 * sysdeps/i386/fpu/e_log2l.S: Likewise.
27302 * sysdeps/i386/fpu/e_scalb.S: Likewise.
27303 * sysdeps/i386/fpu/e_powl.S: Likewise.
27304 * sysdeps/i386/fpu/e_log10f.S: Likewise.
27305 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
27306 * sysdeps/i386/fpu/e_logl.S: Likewise.
27307 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
27308 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
27309 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
27310 * sysdeps/i386/fpu/e_log2f.S: Likewise.
27311 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27312 * sysdeps/i386/fpu/e_log.S: Likewise.
27313 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27314 * sysdeps/i386/fpu/e_logf.S: Likewise.
27315 * sysdeps/i386/fpu/e_log10l.S: Likewise.
27316 * sysdeps/i386/fpu/e_atanh.S: Likewise.
27317 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
27318 * sysdeps/i386/fpu/e_log10.S: Likewise.
27319 * sysdeps/i386/fpu/s_frexp.S: Likewise.
27320 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27321 * sysdeps/i386/fpu/s_asinh.S: Likewise.
27322 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
27323 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27324 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
27325 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
27326 * sysdeps/i386/i686/strtok.S: Likewise.
27327 * sysdeps/i386/i386-mcount.S: Likewise.
27328 * sysdeps/i386/strtok.S: Likewise.
27329 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
27330 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27331 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27332 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27333 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
27334 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27335 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
27336 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
27337 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27338 * sysdeps/x86_64/_mcount.S: Likewise.
27339 * sysdeps/x86_64/strtok.S: Likewise.
27340 * sysdeps/sh/_mcount.S: Likewise.
27342 2012-08-01 Roland McGrath <roland@hack.frob.com>
27344 * libio/iofopen.c: Include <fcntl.h>.
27345 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
27346 (_IO_fopen64, fopen64): Define as aliases.
27347 * libio/iofopen64.c: Include <fcntl.h>.
27348 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
27349 Conditionalize body on this.
27350 * sysdeps/wordsize-64/iofopen.c: File removed.
27351 * sysdeps/wordsize-64/iofopen64.c: File removed.
27353 2012-08-01 Marek Polacek <polacek@redhat.com>
27355 * libc/Makeconfig: Use elf in place of binfmt-subdir.
27356 Use dlfcn directly instead of a variable.
27357 (binfmt-subdir): Do not define.
27360 2012-08-01 Joseph Myers <joseph@codesourcery.com>
27362 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
27363 Remove all definitions.
27364 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
27365 <kernel-features.h>.
27366 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
27367 (miss_F_GETOWN_EX): Remove all definitions.
27368 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
27370 [!__ASSUME_FCNTL64]: Remove conditional code.
27371 [__ASSUME_FCNTL64]: Make code unconditional.
27372 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
27373 <kernel-features.h>.
27374 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
27375 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
27376 (lockf64) [__NR_fcntl64]: Make code unconditional.
27377 (lockf64) [__ASSUME_FCNTL64]: Likewise.
27379 * sysdeps/unix/sysv/linux/kernel-features.h
27380 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
27381 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
27382 Make code unconditional.
27383 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
27384 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
27385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
27386 [__NR_vfork]: Make code unconditional.
27387 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
27388 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
27389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
27390 [__NR_vfork]: Make code unconditional.
27391 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
27392 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
27394 2012-08-01 Roland McGrath <roland@hack.frob.com>
27396 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
27397 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
27399 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27400 Define mkstemp64 as an alias.
27401 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27402 Define mkstemps64 as an alias.
27403 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27404 Define mkostemp64 as an alias.
27405 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27406 Define mkostemps64 as an alias.
27407 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
27408 Conditionalize body on this.
27409 * misc/mkostemp64.c: Likewise.
27410 * misc/mkostemps64.c: Likewise.
27411 * misc/mkstemps64.c: Likewise.
27412 * sysdeps/wordsize-64/mkstemp64.c: File removed.
27413 * sysdeps/wordsize-64/mkostemp64.c: File removed.
27414 * sysdeps/wordsize-64/mkostemp.c: File removed.
27415 * sysdeps/wordsize-64/mkstemp.c: File removed.
27416 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
27417 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
27418 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
27419 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
27422 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
27423 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
27424 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
27425 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
27427 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
27428 compat_symbol macros from <shlib-compat.h> rather than the underlying
27429 default_symbol_version and symbol_version macros, so that DEFAULT
27430 lines in shlib-versions are respected.
27431 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
27433 2012-08-01 Florian Weimer <fweimer@redhat.com>
27435 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
27436 Declare with warn_unused_result.
27437 (setgid, setregid, setegid, setresgid): Likewise.
27438 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
27440 * WUR-REPORT: Remove set*id functions.
27442 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
27444 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
27446 2012-07-31 Roland McGrath <roland@hack.frob.com>
27449 * include/sys/socket.h (__libc_accept, __libc_accept4):
27450 Add attribute_hidden.
27451 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
27453 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
27455 * inet/getnetgrent_r.c (setup): Likewise.
27457 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
27459 2012-07-31 David S. Miller <davem@davemloft.net>
27461 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27463 2012-07-31 Joseph Myers <joseph@codesourcery.com>
27466 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
27467 value between 1.0 and 2.0 and smaller part has absolute value less
27469 * math/s_clog10.c (__clog10): Likewise.
27470 * math/s_clog10f.c (__clog10f): Likewise.
27471 * math/s_clog10l.c (__clog10l): Likewise.
27472 * math/s_clogf.c (__clogf): Likewise.
27473 * math/s_clogl.c (__clogl): Likewise.
27474 * math/libm-test.inc (clog_test): Add more tests.
27475 (clog10_test): Likewise.
27476 * sysdeps/i386/fpu/libm-test-ulps: Update.
27477 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27479 2012-07-31 Florian Weimer <fweimer@redhat.com>
27481 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
27482 Exit with zero in case no suitable GID is found, and write a
27483 message to standard error.
27485 2012-07-30 Roland McGrath <roland@hack.frob.com>
27487 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
27489 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
27490 (MAXPATHLEN): Removed.
27491 (NOGROUP, NODEV): New macros.
27492 (setbit, clrbit, isset, isclr): New macros.
27493 (howmany, roundup, powerof2): New macros.
27494 (DEV_BSIZE): New macro.
27496 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
27497 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
27499 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
27500 definition on [!__NO_LONG_DOUBLE_MATH].
27502 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
27503 PTR_MANGLE and PTR_DEMANGLE.
27505 * socket/accept4.c (accept4): Rename to __libc_accept4.
27506 Define accept4 as a weak alias.
27508 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
27509 on [_DIRENT_HAVE_D_TYPE].
27510 * io/ftw.c (ftw_dir): Likewise.
27512 * io/xmknod.c (__xmknod): Don't check PATH for being null.
27514 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
27516 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
27517 Use the BSD numbers rather than the arbitrary ones we had.
27518 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
27519 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
27520 (SIGXCPU, SIGXFSZ): New macros.
27523 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
27524 initializer on [_LIBC_REENTRANT].
27526 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
27527 definitions inside [_POSIX_MAPPED_FILES].
27529 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
27531 * dirent/opendir.c: Include <fcntl.h>.
27533 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
27534 (__libc_getspecific): Likewise.
27535 (__libc_key_create): Likewise.
27537 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
27538 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
27539 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
27540 (tmpfile64): Define as alias.
27541 * sysdeps/wordsize-64/tmpfile.c: File removed.
27542 * sysdeps/wordsize-64/tmpfile64.c: File removed.
27543 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
27544 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
27546 * stdio-common/vfscanf.c: Include <stdbool.h>.
27547 * nss/makedb.c: Likewise.
27548 * stdio-common/_i18n_number.h: Likewise.
27549 * argp/argp-help.c: Likewise.
27550 * posix/wordexp.c: Likewise.
27551 * sysdeps/posix/spawni.c: Likewise.
27552 * nss/nss_files/files-initgroups.c: Likewise.
27553 * stdio-common/reg-modifier.c: Include <stdlib.h>.
27554 * nss/nss_files/files-initgroups.c: Likewise.
27555 * nss/nss_db/db-netgrp.c: Likewise.
27556 * nss/nss_db/db-initgroups.c: Likewise.
27557 * io/fchmodat.c: Include <sys/stat.h>.
27559 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
27560 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
27562 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
27565 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
27566 Add multiple inclusion protection.
27568 2012-07-27 David S. Miller <davem@davemloft.net>
27570 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27572 2012-07-27 Gary Benson <gbenson@redhat.com>
27575 * elf/rtld.c: Include <stap-probe.h>.
27576 (dl_main): Added static probes "init_start" and "init_complete".
27577 * elf/dl-load.c: Include <stap-probe.h>.
27578 (lose): Take new parameter "nsid".
27579 Added static probe "map_failed".
27580 (_dl_map_object_from_fd): Pass namespace id to lose.
27581 Added static probe "map_start".
27582 (open_verify): Pass namespace id to lose.
27583 * elf/dl-open.c: Include <stap-probe.h>.
27584 (dl_open_worker) Added static probes "map_complete", "reloc_start"
27585 and "reloc_complete".
27586 * elf/dl-close.c: Include <stap-probe.h>.
27587 (_dl_close_worker): Added static probes "unmap_start" and
27589 * elf/rtld-debugger-interface.txt: New file documenting the above.
27591 2012-07-26 Roland McGrath <roland@hack.frob.com>
27593 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
27594 rather than a string variable.
27595 * sunrpc/rpc_main.c (h_output): Likewise.
27596 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
27598 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
27600 * inet/check_native.c: New file.
27602 2012-07-26 Joseph Myers <joseph@codesourcery.com>
27605 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
27606 if larger part has absolute value 1.0.
27607 * math/s_clog10.c (__clog10): Likewise.
27608 * math/s_clog10f.c (__clog10f): Likewise.
27609 * math/s_clog10l.c (__clog10l): Likewise.
27610 * math/s_clogf.c (__clogf): Likewise.
27611 * math/s_clogl.c (__clogl): Likewise.
27612 * math/libm-test.inc (clog_test): Add more tests.
27613 (clog10_test): Likewise.
27614 * sysdeps/i386/fpu/libm-test-ulps: Update.
27615 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27617 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
27618 (pltexit): Likewise.
27619 (La_regs): Likewise.
27620 (La_retval): Likewise.
27621 (int_retval): Likewise.
27622 Update #error for removed macros to refer only to definitions in
27624 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
27626 (pltexit): Likewise.
27627 (La_regs): Likewise.
27628 (La_retval): Likewise.
27629 (int_retval): Likewise.
27630 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
27632 (pltexit): Likewise.
27633 (La_regs): Likewise.
27634 (La_retval): Likewise.
27635 (int_retval): Likewise.
27636 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
27638 (pltexit): Likewise.
27639 (La_regs): Likewise.
27640 (La_retval): Likewise.
27641 (int_retval): Likewise.
27642 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
27644 (pltexit): Likewise.
27645 (La_regs): Likewise.
27646 (La_retval): Likewise.
27647 (int_retval): Likewise.
27648 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
27650 (pltexit): Likewise.
27651 (La_regs): Likewise.
27652 (La_retval): Likewise.
27653 (int_retval): Likewise.
27654 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
27656 (pltexit): Likewise.
27657 (La_regs): Likewise.
27658 (La_retval): Likewise.
27659 (int_retval): Likewise.
27660 * sysdeps/generic/tst-audit.h: Update comment to refer only to
27661 macro definitions in tst-audit.h.
27662 * sysdeps/i386/tst-audit.h: New file.
27663 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
27664 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
27665 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
27666 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
27667 * sysdeps/sh/tst-audit.h: Likewise.
27668 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
27669 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
27670 * sysdeps/x86_64/tst-audit.h: Likewise.
27672 2012-07-26 Andreas Jaeger <aj@suse.de>
27674 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
27677 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
27678 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
27679 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
27681 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
27682 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
27683 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
27685 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
27688 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
27690 (si_call_addr, si_syscall, si_arch): Define new macro.
27691 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
27693 (si_call_addr, si_syscall, si_arch): Define new marcro.
27694 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
27696 (si_call_addr, si_syscall, si_arch): Define new macro.
27697 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
27699 (si_call_addr, si_syscall, si_arch): Define new macro.
27701 2012-07-25 Joseph Myers <joseph@codesourcery.com>
27704 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27705 Change to 2.4.21 where previously 2.4.1.
27706 * sysdeps/unix/sysv/linux/configure: Regenerated.
27707 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
27708 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
27709 Linux kernel version.
27710 (__ASSUME_STD_AUXV): Remove.
27711 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
27713 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
27714 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
27715 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
27716 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
27717 (__ASSUME_NETLINK_SUPPORT): Likewise.
27718 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
27719 (__no_netlink_support): Remove conditional definition.
27720 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
27722 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
27723 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
27724 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
27725 (if_nameindex_ioctl): Remove.
27726 (if_nameindex_netlink): Do not handle __no_netlink_support.
27727 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
27729 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
27730 Remove conditional code.
27731 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
27733 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
27735 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
27736 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
27737 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
27739 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
27740 [!__ASSUME_STD_AUXV]: Remove conditional code.
27741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
27742 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
27743 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
27744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
27745 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
27746 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
27748 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
27749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27750 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
27751 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
27753 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
27754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
27755 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
27757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27758 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
27760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
27761 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27762 code unconditional.
27763 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27765 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27767 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27770 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27772 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
27775 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27776 code unconditional.
27777 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27779 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27781 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
27784 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27785 code unconditional.
27786 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27788 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27790 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27793 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
27795 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
27796 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
27797 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
27798 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
27799 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
27800 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
27801 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
27802 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
27803 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
27804 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
27805 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
27806 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
27807 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
27808 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
27809 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
27810 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
27811 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
27812 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
27813 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
27814 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
27815 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
27816 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
27817 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
27819 2012-07-25 Florian Weimer <fweimer@redhat.com>
27821 * Versions.def: Add GLIBC_2.17.
27822 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
27823 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
27824 Introduce __libc_secure_getenv.
27825 * stdlib/Versions (2.17): Add secure_getenv
27826 (GLIBC_PRIVATE): Add __libc_secure_getenv.
27827 * stdlib/secure-getenv.c: Rename __secure_getenv to
27828 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
27829 symbol __secure_getenv for GLIBC_2.0.
27830 * stdlib/tst-secure-getenv.c: New.
27831 * stdlib/Makefile (tests): Add testcase.
27832 * manual/startup.texi (Environment Access): Document
27834 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
27835 __libc_secure_getenv.
27836 * inet/ruserpass.c (ruserpass): Likewise.
27837 * malloc/mtrace.c (mtrace): Likewise.
27838 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
27839 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
27840 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
27841 * sysdeps/posix/tempname.c: Likewise. Evaluate
27842 HAVE_SECURE_GETENV.
27843 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
27844 __secure_getenv to __libc_secure_getenv.
27845 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
27846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27850 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
27851 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
27852 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27853 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
27854 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
27855 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27856 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
27858 2012-07-25 Joseph Myers <joseph@codesourcery.com>
27860 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
27861 (struct La_i86_retval): Likewise.
27862 (struct La_x86_64_regs): Likewise.
27863 (struct La_x86_64_retval): Likewise.
27864 (struct La_x32_regs): Likewise.
27865 (struct La_x32_retval): Likewise.
27866 (struct La_ppc32_regs): Likewise.
27867 (struct La_ppc32_retval): Likewise.
27868 (struct La_ppc64_regs): Likewise.
27869 (struct La_ppc64_retval): Likewise.
27870 (struct La_sh_regs): Likewise.
27871 (struct La_sh_retval): Likewise.
27872 (struct La_s390_32_regs): Likewise.
27873 (struct La_s390_32_retval): Likewise.
27874 (struct La_s390_64_regs): Likewise.
27875 (struct La_s390_64_retval): Likewise.
27876 (struct La_sparc32_regs): Likewise.
27877 (struct La_sparc32_retval): Likewise.
27878 (struct La_sparc64_regs): Likewise.
27879 (struct La_sparc64_retval): Likewise.
27880 (struct audit_ifaces): Remove architecture-specific pltenter and
27882 * sysdeps/i386/ldsodefs.h: New file.
27883 * sysdeps/powerpc/ldsodefs.h: Likewise.
27884 * sysdeps/s390/ldsodefs.h: Likewise.
27885 * sysdeps/sh/ldsodefs.h: Likewise.
27886 * sysdeps/sparc/ldsodefs.h: Likewise.
27887 * sysdeps/x86_64/ldsodefs.h: Likewise.
27889 2012-07-25 Marek Polacek <polacek@redhat.com>
27892 * math/libm-test.inc (yn_test): Add another test.
27893 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
27894 to ERANGE when the result is +-Inf.
27895 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
27896 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
27897 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
27898 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
27900 2012-07-24 Joseph Myers <joseph@codesourcery.com>
27902 * conform/data/time.h-data (NULL): Use macro-constant. Require
27904 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
27906 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
27908 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
27910 * configure.in <sysdeps resolving>: Correct printing
27912 * configure: Regenerate.
27914 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
27916 * math/w_ilogb.c: Include <limits.h>.
27917 * math/w_ilogbl.c: Likewise.
27919 2012-07-20 Joseph Myers <joseph@codesourcery.com>
27921 * manual/lang.texi (__va_copy): Document primarily as ISO C99
27922 va_copy. Document allowing for unavailable va_copy only as
27923 pre-C99 compatibility.
27924 * manual/string.texi (Copying and Concatenation): Use va_copy
27925 instead of __va_copy in concat example.
27927 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
27929 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
27930 (__sendto): Use create_address_port. Initialize APORT and deallocate
27933 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
27934 with O_NOLINK passed to __file_name_lookup.
27936 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
27937 with O_NOLINK passed to __file_name_lookup.
27939 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
27940 negative N or less than NGIDS.
27942 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
27943 type to string_t. Set ERANGE as errno and return it if NAME is not big
27944 enough. Use memcpy instead of strncpy.
27946 2012-07-20 Joseph Myers <joseph@codesourcery.com>
27948 * elf/Makefile (check-data): Remove.
27949 (localplt.data): New vpath directive.
27950 ($(objpfx)check-localplt.out): Use localplt.data from vpath
27951 instead of $(check-data).
27952 * scripts/data/localplt-generic.data: Move to ...
27953 * sysdeps/generic/localplt.data: ... here.
27954 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
27955 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
27956 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
27957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
27959 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
27960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
27962 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
27963 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
27965 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
27966 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
27968 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
27969 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
27971 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
27972 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
27975 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27977 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
27978 PPC32 and PPC64 files.
27979 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
27980 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
27982 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27984 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
27985 __makecontext_ret to ...
27986 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
27987 ... here and call exit if uc_link is NULL. New file.
27988 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
27989 __makecontext_ret.S.
27990 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
27991 __makecontext_ret to ...
27992 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
27993 ... here and call exit if uc_link is NULL. New file.
27994 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
27995 __makecontext_ret.S.
27997 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27999 * elf/elf.h (R_390_IRELATIVE): New definition.
28000 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
28001 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
28002 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
28003 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
28004 (elf_machine_lazy_rel): Likewise.
28005 * sysdeps/s390/dl-irel.h: New file.
28006 * sysdeps/s390/s390-64/memcpy.S: New asm code.
28007 * sysdeps/s390/s390-64/memset.S: New asm code.
28008 * sysdeps/s390/s390-64/memcmp.S: New asm code.
28009 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
28010 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
28011 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
28012 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
28013 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
28014 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
28015 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
28016 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
28017 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
28018 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
28019 * sysdeps/s390/s390-32/memcpy.S: New asm code.
28020 * sysdeps/s390/s390-32/memset.S: New asm code.
28021 * sysdeps/s390/s390-32/memcmp.S: New asm code.
28023 2012-07-17 Marek Polacek <polacek@redhat.com>
28026 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
28027 * sysdeps/s390/s390-64/configure.in: Likewise.
28028 * sysdeps/sparc/configure.in: Likewise.
28029 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
28030 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
28031 * sysdeps/i386/configure.in: Likewise.
28032 * sysdeps/x86_64/configure.in: Likewise.
28033 * sysdeps/sh/configure.in: Likewise.
28034 * sysdeps/s390/s390-32/configure: Regenerated.
28035 * sysdeps/s390/s390-64/configure: Likewise.
28036 * sysdeps/x86_64/configure: Likewise.
28037 * sysdeps/sh/configure: Likewise.
28038 * sysdeps/powerpc/powerpc64/configure: Likewise.
28039 * sysdeps/powerpc/powerpc32/configure: Likewise.
28040 * sysdeps/sparc/configure: Likwise.
28041 * sysdeps/i386/configure: Likewise.
28043 * elf/dl-open.c: Comment fixes.
28045 2012-07-17 Joseph Myers <joseph@codesourcery.com>
28047 * Makefile [CXX] (check-data): Remove.
28048 [CXX] (c++-types.data): New vpath directive.
28049 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
28050 vpath. Do not allow for C++ type data being missing.
28051 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
28052 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
28053 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
28054 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
28055 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
28056 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
28057 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
28058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
28060 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
28061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
28063 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
28064 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
28066 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
28067 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
28069 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
28070 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
28072 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
28073 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
28075 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
28076 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
28078 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
28079 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
28081 * elf/tls-macros.h (TLS_LE): Move architecture-specific
28082 definitions to architecture-specific files.
28083 (TLS_IE): Likewise.
28084 (TLS_LD): Likewise.
28085 (TLS_GD): Likewise.
28086 * sysdeps/i386/tls-macros.h: New file.
28087 * sysdeps/powerpc/tls-macros.h: Likewise.
28088 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
28089 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
28090 * sysdeps/sh/tls-macros.h: Likewise.
28091 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
28092 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
28093 * sysdeps/x86_64/tls-macros.h: Likewise.
28095 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
28097 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
28098 zero value for regular exit case.
28100 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
28101 (__start_context): Preserve zero value for regular exit case.
28103 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
28104 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28106 * manual/setjmp.texi (setcontext): Clarify normal process
28107 termination when uc_link is the null pointer.
28108 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
28111 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
28113 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
28114 preprocessor. Test for each exception mask separately.
28116 2012-07-16 Andreas Jaeger <aj@suse.de>
28118 * po/ru.po: Update from translation team.
28120 2012-07-15 Joseph Myers <joseph@codesourcery.com>
28122 * conform/data/string.h-data (NULL): Use macro-constant. Require
28124 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
28125 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
28126 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
28127 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
28128 [ISO || ISO99 || ISO11] (*_t): Do not allow.
28130 2012-07-13 Andreas Jaeger <aj@suse.de>
28132 * po/fr.po: Update from translation team.
28134 2012-07-12 Marek Polacek <polacek@redhat.com>
28137 * math/libm-test.inc (yn_test): Add test for BZ #14173.
28138 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
28141 2012-07-12 Joseph Myers <joseph@codesourcery.com>
28144 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28145 Change to 2.4.1 where previously 2.4.0.
28146 * sysdeps/unix/sysv/linux/configure: Regenerated.
28147 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
28148 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
28150 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
28151 (__ASSUME_AT_CLKTCK): Remove.
28152 (__ASSUME_AT_PAGESIZE): Likewise.
28153 (__ASSUME_AT_XID): Likewise.
28154 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
28155 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
28156 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
28158 (HAVE_AUX_PAGESIZE): Likewise.
28159 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
28160 [__ASSUME_AT_CLKTCK]: Make code unconditional.
28161 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
28163 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
28166 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
28167 the temporary buffer used to invoke __gethostbyname2_r,
28168 __gethostbyaddr_r and gethostbyname4_r to make room for struct
28169 host_data / struct gaih_addrtuple.
28170 * resolv/nss_dns/dns-host.c (global scope): Move definition of
28171 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
28172 header file nss/nsswitch.h.
28173 * nss/nsswitch.h (global scope): Add definition of implementation
28174 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
28175 resolv/nss_dns/dns-host.c).
28177 2012-07-11 Andreas Jaeger <aj@suse.de>
28179 * po/fr.po: Update from translation team.
28181 * po/sv.po: Update from translation team
28182 * po/fr.po: Another update from translation team.
28184 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28186 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
28187 for subnormals or multiply small sinh result by itself.
28188 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
28189 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28191 2012-07-11 David S. Miller <davem@davemloft.net>
28193 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28195 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
28198 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
28199 (INTERNAL_MARK): Shift it here.
28201 2012-07-10 Marek Polacek <polacek@redhat.com>
28204 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
28205 libc_cv_asm_global_directive with .globl.
28206 * configure: Regenerated.
28207 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
28209 * sysdeps/i386/configure: Regenerated.
28210 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
28212 * sysdeps/x86_64/configure: Regenerated.
28213 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
28214 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
28215 * elf/tst-unique2mod2.c: Likewise.
28216 * elf/tst-unique2mod1.c: Likewise.
28217 * elf/tst-unique1mod2.c: Likewise.
28218 * elf/tst-unique1mod1.c: Likewise.
28219 * sysdeps/s390/s390-32/sysdep.h: Likewise.
28220 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
28221 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28222 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
28223 * sysdeps/mach/sysdep.h: Likewise.
28224 * sysdeps/i386/sysdep.h: Likewise.
28225 * sysdeps/i386/i386-mcount.S: Likewise.
28226 * sysdeps/x86_64/_mcount.S: Likewise.
28227 * sysdeps/x86_64/sysdep.h: Likewise.
28228 * sysdeps/sh/_mcount.S: Likewise.
28229 * sysdeps/sh/sysdep.h: Likewise.
28230 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
28231 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
28232 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
28233 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
28234 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
28235 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
28236 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
28237 * locale/localeinfo.h: Likewise.
28238 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
28239 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
28241 2012-07-09 Roland McGrath <roland@hack.frob.com>
28244 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
28246 * manual/message.texi (The Uniforum approach): Likewise.
28247 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
28248 (glibc iconv Implementation): Likewise.
28250 2012-07-09 Joseph Myers <joseph@codesourcery.com>
28253 * math/s_clog.c (__clog): Avoid scaling a value down where that
28254 could result in underflow.
28255 * math/s_clog10.c (__clog10): Likewise.
28256 * math/s_clog10f.c (__clog10f): Likewise.
28257 * math/s_clog10l.c (__clog10l): Likewise.
28258 * math/s_clogf.c (__clogf): Likewise.
28259 * math/s_clogl.c (__clogl): Likewise.
28260 * math/libm-test.inc (clog_test): Add more tests.
28261 (clog10_test): Likewise.
28262 * sysdeps/i386/fpu/libm-test-ulps: Update.
28263 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28265 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
28268 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
28269 by 7 not 8 to examine high bit of fractional part.
28272 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
28273 for call to __mcount_internal.
28274 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
28275 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
28276 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
28278 2012-07-06 Joseph Myers <joseph@codesourcery.com>
28281 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
28282 approximation for values within 0x1p-13f of an odd multiple of
28284 * math/libm-test.inc (tan_test): Do not allow spurious underflow
28285 exception. Add more tests.
28286 * sysdeps/i386/fpu/libm-test-ulps: Update.
28289 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
28290 inputs and return -1 for them. Do not check for +Inf in case not
28291 reachable for +Inf.
28292 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
28293 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
28294 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
28295 and return -1 for them. Do not check for +Inf in case not
28296 reachable for +Inf.
28297 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
28299 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
28300 and return -1 for them. Do not check for +Inf in case not
28301 reachable for +Inf.
28302 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
28303 spurious underflow.
28304 * sysdeps/i386/fpu/libm-test-ulps: Update.
28305 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28307 2012-07-06 Mike Frysinger <vapier@gentoo.org>
28309 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
28311 2012-07-05 Joseph Myers <joseph@codesourcery.com>
28315 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
28316 could result in spurious underflow. Scale down values above
28317 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
28318 * math/s_csqrtf.c (__csqrtf): Likewise.
28319 * math/s_csqrtl.c (__csqrtl): Likewise.
28320 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
28321 spurious underflow.
28322 * sysdeps/i386/fpu/libm-test-ulps: Update.
28323 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28325 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
28327 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
28329 * catgets/xopen-msg.awk: New file.
28330 * catgets/xopen-msg.sed: Removed.
28332 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
28334 * intl/po2test.awk: New file.
28335 * intl/po2test.sed: Removed.
28337 2012-07-04 Joseph Myers <joseph@codesourcery.com>
28340 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
28341 or multiply small sinh result by itself.
28342 * math/s_ctanf.c (__ctanf): Likewise.
28343 * math/s_ctanh.c (__ctanh): Likewise.
28344 * math/s_ctanhf.c (__ctanhf): Likewise.
28345 * math/s_ctanhl.c (__ctanhl): Likewise.
28346 * math/s_ctanl.c (__ctanl): Likewise.
28347 * math/libm-test.inc (ctan_test_tonearest): New function.
28348 (ctan_test_towardzero): Likewise.
28349 (ctan_test_downward): Likewise.
28350 (ctan_test_upward): Likewise.
28351 (ctanh_test_tonearest): Likewise.
28352 (ctanh_test_towardzero): Likewise.
28353 (ctanh_test_downward): Likewise.
28354 (ctanh_test_upward): Likewise.
28355 (main): Call these new functions.
28356 * sysdeps/i386/fpu/libm-test-ulps: Update.
28357 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28359 2012-07-03 Mike Frysinger <vapier@gentoo.org>
28361 * .gitignore: Delete /ports entry.
28363 2012-07-03 Andreas Jaeger <aj@suse.de>
28365 * po/bg.po: Update from translation team.
28366 * po/cs.po: Likewise.
28367 * po/de.po: Likewise.
28368 * po/hr.po: Likewise.
28369 * po/nl.pl: Likewise.
28370 * po/pl.po: Likewise.
28371 * po/vi.po: Likewise.
28373 2012-07-03 Joseph Myers <joseph@codesourcery.com>
28375 * Makeconfig [!+link] (+link-before-libc): New variable.
28376 [!+link] (+link-after-libc): Likewise.
28377 [!+link] (+link-tests): Likewise.
28378 [!+link] (+link): Define in terms of $(+link-before-libc) and
28379 $(+link-after-libc).
28380 [!+link-static] (+link-static-before-libc): New variable.
28381 [!+link-static] (+link-static-after-libc): Likewise.
28382 [!+link-static] (+link-static-tests): Likewise.
28383 [!+link-static] (+link-static): Define in terms of
28384 $(+link-static-before-libc) and $(+link-static-after-libc).
28385 [build-shared] (link-libc-before-gnulib): New variable.
28386 [build-shared] (link-libc-tests): Likewise.
28387 [build-shared] (link-libc): Define in terms of
28388 $(link-libc-before-gnulib).
28389 [!build-shared] (link-libc-tests): New variable.
28390 (link-libc-static-tests): New variable.
28391 [!gnulib] (gnulib-arch): New variable.
28392 [!gnulib] (gnulib-tests): Likewise.
28393 [!gnulib] (static-gnulib-arch): Likewise.
28394 [!gnulib] (static-gnulib-tests): Likewise.
28395 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
28396 Define with "=" instead of ":=".
28397 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
28398 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
28399 * Rules (binaries-all-notests): New variable.
28400 (binaries-all-tests): Likewise.
28401 (binaries-static-notests): Likewise.
28402 (binaries-static-tests): Likewise.
28403 (binaries-all): Define using $(binaries-all-notests) and
28404 $(binaries-all-tests).
28405 (binaries-static): Define using $(binaries-static-notests) and
28406 $(binaries-static-tests).
28407 (binaries-shared-tests): New variable.
28408 (binaries-shared-notests): Likewise.
28409 (binaries-shared): Remove variable.
28410 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
28411 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
28412 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
28413 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
28414 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
28415 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
28416 * elf/Makefile (sln-modules): New variable.
28417 (extra-objs): Add $(sln-modules:=.o).
28418 (ldconfig-modules): Add static-stubs.
28419 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
28420 * elf/static-stubs.c: New file.
28423 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
28424 by 7 not 8 to examine high bit of fractional part. Use volatile
28425 variables when splitting into final array of floats if
28426 __FLT_EVAL_METHOD__ != 0.
28427 * math/libm-test.inc (cos_test): Add another test.
28428 (sin_test): Likewise.
28429 * sysdeps/i386/fpu/libm-test-ulps: Update.
28432 * math/libm-test.inc (cosh_test): Add more tests.
28434 * version.h (RELEASE): Set to "development".
28435 (VERSION): Set to "2.16.90".
28437 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
28439 * NEWS: Update copyright. Remove last-updated date.
28440 Mention math library bug fixes and timezone data changes.
28441 * README: Mention GNU/Hurd, x32, and HPPA support status.
28443 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
28445 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
28447 2012-06-27 Andreas Jaeger <aj@suse.de>
28449 * manual/contrib.texi (Contributors): Add Samuel Thibault.
28451 2012-06-25 Andreas Jaeger <aj@suse.de>
28453 * sysdeps/s390/fpu/libm-test-ulps: Update.
28455 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
28456 Thomas Schwinge <thomas@codesourcery.com>
28458 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
28459 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
28460 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
28463 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
28465 * sysdeps/mach/start.c: Remove file.
28466 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
28467 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
28468 * sysdeps/sh/init-first.c: Likewise.
28470 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
28471 registers for frame unwinding purposes, add CFI directives.
28472 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
28473 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
28474 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
28477 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
28478 __fortify_fail returning.
28479 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
28481 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
28482 sysdeps/sh/____longjmp_chk.S.
28483 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
28484 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
28485 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
28486 (gen-as-const-headers): Append sigaltstack-offsets.sym.
28488 * sysdeps/sh/abort-instr.h: New file.
28489 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
28490 process in case exit returns.
28492 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
28493 initialize the GOT register before use.
28495 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
28496 calculation of ARGC > 4.
28498 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
28499 meaningful names to some local labels.
28501 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28502 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28504 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
28505 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
28506 (__arch_compare_and_exchange_val_16_acq): Likewise.
28507 (__arch_compare_and_exchange_val_32_acq): Likewise.
28508 (atomic_exchange_and_add): Fix gUSA sequence.
28509 (atomic_add): Likewise.
28510 (atomic_add_negative): Likewise.
28511 (atomic_add_zero): Likewise.
28512 (atomic_bit_test_set): Likewise.
28514 2012-06-22 Andreas Schwab <schwab@redhat.com>
28517 * include/link.h (struct link_map): Add l_free_initfini.
28518 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
28520 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
28521 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
28522 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
28525 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
28527 * configure.in: Use AC_LANG_SOURCE.
28528 * configure: Regenerate.
28530 2012-06-22 Roland McGrath <roland@hack.frob.com>
28532 * configure.in (libc_cv_localstatedir): New substituted variable.
28533 * configure: Regenerated.
28534 * config.make.in (localstatedir): New variable, substituted from
28535 libc_cv_localstatedir.
28536 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
28537 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
28538 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
28539 * sysdeps/gnu/configure: Regenerated.
28541 2012-06-21 Jeff Law <law@redhat.com>
28544 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
28545 free. Simplify list management for _LIBC case.
28547 2012-06-21 Joseph Myers <joseph@codesourcery.com>
28550 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
28551 Clear sign bit of 64-bit integer value before comparing against
28554 * sysdeps/mach/configure: Regenerated.
28556 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
28559 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
28561 2012-06-21 Jeff Law <law@redhat.com>
28564 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
28565 uint16_t for elements in the "seen" array to avoid char overflows.
28566 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28567 * elf/dl-open.c (dl_open_worker): Likewise.
28569 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
28571 * scripts/list-sources.sh: Scan PORTS for translations.
28572 * po/libc.pot: Regenerated.
28574 2012-06-21 Andreas Jaeger <aj@suse.de>
28577 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
28579 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
28580 * bits/byteswap-16.h (__bswap_16): Likewise.
28581 * bits/byteswap.h (__bswap_constant_16): Likewise.
28583 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
28586 * sysdeps/i386/fpu_control.h: Removed.
28587 * sysdeps/x86_64/fpu_control.h: Moved to ...
28588 * sysdeps/x86/fpu_control.h: Here.
28590 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
28591 (_FPU_SETCW): Likewise.
28593 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
28596 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
28597 * sysdeps/x86/fpu/bits/mathinline.h: This.
28598 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
28602 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
28603 functions if __x86_64__ is defined.
28605 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
28607 * string/endian.h: Add !__ASSEMBLER__ condition for including
28608 conversion interfaces.
28610 2012-06-15 Joseph Myers <joseph@codesourcery.com>
28613 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
28614 of ABS(x) in calculating zero to negative powers other than odd
28616 * math/libm-test.inc (pow_test): Add more tests.
28618 2012-06-15 Andreas Jaeger <aj@suse.de>
28620 * manual/contrib.texi (Contributors): Update entry of Liubov
28621 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
28624 2012-06-15 Cyril Hrubis <metan@ucw.cz>
28626 * string/string.h: Add __wur to GNU version of strerror_r.
28628 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
28631 * string/Makefile (tests): Add tst-strtok_r.
28632 * string/tst-strtok_r.c: New file.
28633 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
28634 RAX_LP/RDX_LP on SAVE_PTR.
28636 2012-06-14 Roland McGrath <roland@hack.frob.com>
28638 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
28640 2012-06-14 Joseph Myers <joseph@codesourcery.com>
28642 * libm_test.inc (csqrt_test): Allow more spurious underflow
28644 (j0_test): Likewise.
28645 (j1_test): Likewise.
28646 (y0_test): Likewise.
28647 (y1_test): Likewise.
28649 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
28651 * po/Makefile (libc.pot): Use UTF-8 charset.
28653 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
28656 Suppress sign-conversion warning from FD_SET.
28657 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
28658 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
28659 not unsigned long int.
28660 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
28662 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
28666 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
28667 __extern_always_inline instead of __extern_inline.
28668 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
28669 (__signbit): Likewise.
28670 (__signbitl): Support C++ namespace.
28671 (lrintf): New inline function.
28673 (llrintf): Likewise.
28674 (llrint): Likewise.
28684 (floorf): Likewise.
28685 (nearbyint): Likewise.
28686 (nearbyintf): Likewise.
28688 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
28690 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
28691 non-default versions.
28693 2012-06-11 Roland McGrath <roland@hack.frob.com>
28696 * manual/argp.texi (Argp): Reword argp_parse description slightly.
28698 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
28700 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
28701 (FE_UPWARD, FE_DOWNWARD): Don't define.
28702 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
28703 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
28705 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
28707 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
28708 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
28710 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28712 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
28713 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
28714 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
28715 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
28717 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
28720 * sysdeps/i386/fpu/bits/fenv.h: Removed.
28721 * sysdeps/i386/fpu/Implies: New file.
28722 * sysdeps/x86_64/fpu/Implies: Likewise.
28723 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
28724 * sysdeps/x86/fpu/bits/fenv.h: This.
28726 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
28729 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
28732 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
28733 character 0xffff that matches the last element of the
28736 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28738 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
28741 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28743 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
28744 values higher than 25.6283.
28746 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28748 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
28749 subnormal exponent extraction and add some __builtin_expect.
28750 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
28751 Fix for subnormal mantissa calculation.
28753 2012-06-04 Mike Frysinger <vapier@gentoo.org>
28755 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
28756 cpu2 is -1 and errno is not ENOSYS.
28758 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
28761 * sysdeps/i386/i486/bits/string.h: Renamed to ...
28762 * sysdeps/x86/bits/string.h: This.
28763 * sysdeps/x86_64/bits/string.h: Removed.
28765 * sysdeps/i386/i486/bits/string.h: Define inline functions only
28766 if not compiling for x86-64, but compiling for >= i486.
28768 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
28769 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
28771 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
28772 New macro from Linux kernel 3.4.0.
28773 (FP_XSTATE_MAGIC2): Likewise.
28774 (FP_XSTATE_MAGIC2_SIZE): Likewise.
28775 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
28776 (struct _fpx_sw_bytes): New struct.
28777 (struct _xsave_hdr): Likewise.
28778 (struct _ymmh_state): Likewise.
28779 (struct _xstate): Likewise.
28781 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
28782 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
28783 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
28784 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
28785 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
28786 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
28788 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
28789 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
28790 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
28791 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
28792 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
28793 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
28795 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28798 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
28799 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
28800 (sysdep_headers): Include sys/platform/ppc.h.
28801 * sysdeps/powerpc/test-gettimebase.c: Test for
28802 __ppc_get_timebase() to catch future ISA opcode/insn changes.
28803 * manual/Makefile (appendices): Include platform.texi.
28804 * manual/contrib.texi (Contributors): Update @node pointers.
28805 * manual/maint.texi (Maintenance): Likewise.
28806 (Platform): New node.
28807 * manual/platform.texi: New file. Document the new features.
28809 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
28810 Jakub Jelinek <jakub@redhat.com>
28813 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
28814 where __builtin_expect is unavailable.
28816 2012-06-03 David S. Miller <davem@davemloft.net>
28818 * stdlib/longlong.h: Updated from GCC.
28820 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
28823 * sysdeps/powerpc/powerpc32/mcount.c: New file.
28824 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
28826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
28827 (GLIBC_2.16): Likewise.
28829 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
28831 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
28833 2012-06-01 Joseph Myers <joseph@codesourcery.com>
28835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
28836 (default-abi): New variable.
28837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
28838 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
28840 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
28842 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
28844 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
28847 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
28848 definition. Document in comment.
28850 2012-06-01 David S. Miller <davem@davemloft.net>
28852 * stdlib/longlong.h: Updated from GCC.
28854 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
28857 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
28858 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
28859 sys/debugreg.h sys/io.h here.
28860 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
28861 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
28863 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
28864 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
28865 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
28866 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
28867 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
28868 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
28870 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
28871 Define only if __x86_64__ is defined.
28873 2012-06-01 Joseph Myers <joseph@codesourcery.com>
28876 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
28877 Use int64_t for variable i.
28878 * math/libm-test.inc (fmod_test): Add more tests.
28880 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
28881 z computation is not scheduled after fetestexcept.
28882 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
28883 Use math_force_eval instead of asm to ensure calculation scheduled
28884 before exception test.
28885 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
28886 Ensure a1 + u.d computation is not scheduled after fetestexcept.
28888 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
28890 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
28891 computation is not scheduled after fetestexcept.
28893 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
28896 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
28897 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
28899 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28901 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
28902 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
28904 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
28907 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
28909 (__WCHAR_MIN): Support __WORDSIZE == 64.
28910 (__WCHAR_MAX): Likewise.
28912 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
28913 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
28916 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
28917 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
28920 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
28921 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
28923 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
28924 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
28926 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
28927 Defined to 1 if __x86_64__ isn't defined.
28928 (_STAT_VER_LINUX_OLD): New.
28929 (st_atime): Remove duplicate.
28930 (st_mtime): Likewise.
28931 (st_ctime): Likewise.
28933 2012-05-31 David S. Miller <davem@davemloft.net>
28935 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
28938 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
28940 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
28944 * elf/dl-reloc.c: Include <_itoa.h>.
28945 (_dl_reloc_bad_type): Remove use of INTUSE.
28946 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
28947 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
28948 * stdio-common/psiginfo.c (psiginfo): Likewise.
28949 * stdio-common/psignal.c (psignal): Likewise.
28950 * string/strsignal.c (strsignal): Likewise.
28951 * include/signal.h (_sys_siglist): Declare hidden proto.
28952 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
28953 INTVARDEF with libc_hidden_data_def.
28954 * stdio-common/itoa-udigits.c: Likewise.
28955 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
28956 (_itoa_lower_digits_internal): Remove declaration.
28957 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
28958 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
28959 (_sys_sigabbrev_internal): Remove aliases.
28960 (_sys_siglist): Define hidden alias.
28962 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
28964 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28967 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
28970 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
28971 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
28973 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
28974 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
28975 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
28976 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
28977 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
28978 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
28980 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
28981 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
28982 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
28984 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
28992 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
28993 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
28994 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
28996 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
28997 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
28998 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
28999 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
29000 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
29001 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
29003 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
29004 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
29006 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
29007 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
29009 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
29010 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
29011 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
29013 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
29014 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
29016 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
29018 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
29019 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
29020 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
29022 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
29024 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
29026 2012-05-31 Joseph Myers <joseph@codesourcery.com>
29028 * math/math.h (M_El): Use two more decimal places.
29029 (M_LOG2El): Likewise.
29030 (M_LOG10El): Likewise.
29031 (M_LN2l): Likewise.
29032 (M_LN10l): Likewise.
29034 (M_PI_2l): Likewise.
29035 (M_PI_4l): Likewise.
29036 (M_1_PIl): Likewise.
29037 (M_2_PIl): Likewise.
29038 (M_2_SQRTPIl): Likewise.
29039 (M_SQRT2l): Likewise.
29040 (M_SQRT1_2l): Likewise.
29042 2012-05-31 David S. Miller <davem@davemloft.net>
29044 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
29045 values between float registers.
29046 * sysdeps/sparc/sparc64/memset.S: Likewise.
29047 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
29049 2012-05-31 Mike Frysinger <vapier@gentoo.org>
29051 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
29052 -D_FORTIFY_SOURCE=1.
29053 (CPPFLAGS-tst-longjmp_chk.c): Define.
29054 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
29055 (CPPFLAGS-tst-longjmp_chk2.c): Define.
29056 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
29057 CFLAGS-tst-wchar-h.c.
29059 2012-05-31 Marek Polacek <polacek@redhat.com>
29062 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
29063 __endmntent_internal): Remove declaration.
29064 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
29065 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
29066 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
29068 2012-05-30 David S. Miller <davem@davemloft.net>
29070 * sysdeps/sparc/sparc32/soft-fp/q_util.c
29071 (___Q_simulate_exceptions): Use real FP ops rather than writing
29073 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
29076 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
29079 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
29080 * sysdeps/x86/bits/xtitypes.h: This.
29082 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
29083 * sysdeps/x86/bits/wordsize.h: This.
29085 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
29086 * sysdeps/x86/bits/huge_vall.h: This.
29088 * sysdeps/i386/bits/select.h: Removed.
29089 * sysdeps/x86_64/bits/select.h: Renamed to ...
29090 * sysdeps/x86/bits/select.h: This.
29092 * sysdeps/i386/bits/setjmp.h: Removed.
29093 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
29094 * sysdeps/x86/bits/setjmp.h: This.
29096 * sysdeps/i386/bits/mathdef.h: Removed.
29097 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
29098 * sysdeps/x86/bits/mathdef.h: This.
29100 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
29103 * include/sys/socket.h (__connect_internal)
29104 (__libc_sa_len_internal): Remove declaration.
29105 (__connect, __libc_sa_len): Declare hidden_proto.
29106 (SA_LEN): Remove use of INTUSE.
29107 * socket/connect.c: Add libc_hidden_def.
29108 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
29109 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
29110 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
29112 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
29113 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
29114 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
29115 of adding _internal alias.
29117 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
29120 * sysdeps/i386/bits/link.h: Removed.
29121 * sysdeps/i386/bits/linkmap.h: Likewise.
29122 * sysdeps/x86_64/bits/link.h: Renamed to ...
29123 * sysdeps/x86/bits/link.h: This.
29124 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
29125 * sysdeps/x86/bits/linkmap.h: This.
29127 * sysdeps/i386/bits/endian.h: Removed.
29128 * sysdeps/x86_64/bits/endian.h: Renamed to ...
29129 * sysdeps/x86/bits/endian.h: This.
29131 * sysdeps/i386/bits/byteswap.h: Removed.
29132 * sysdeps/i386/bits/byteswap-16.h: Likewise.
29133 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
29134 * sysdeps/x86/bits/byteswap.h: This.
29135 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
29136 * sysdeps/x86/bits/byteswap-16.h: This.
29137 * sysdeps/i386/Implies: Add x86.
29138 * sysdeps/x86_64/Implies: Likewise.
29140 2012-05-30 David S. Miller <davem@davemloft.net>
29142 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
29143 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
29144 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
29145 (FP_TRAPPING_EXCEPTIONS): Define.
29146 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
29147 (FP_TRAPPING_EXCEPTIONS): Define.
29148 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
29149 subnormals only when inexact has been signalled or underflow
29150 exceptions are enabled.
29151 (_FP_PACK_CANONICAL): Likewise.
29153 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
29156 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
29157 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
29159 2012-05-30 Richard Henderson <rth@twiddle.net>
29161 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
29162 with #ifndef NOT_IN_libc.
29164 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
29165 marked to avoid plt entry.
29167 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
29170 * Makeconfig (default-abi): New macro.
29171 (abi-includes): Likewise.
29172 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
29173 $(abi-$(default-abi)-lib-soname) for soname if defined.
29174 ($(common-objpfx)gnu/lib-names.stmp): Generate from
29176 * Makefile (installed-stubs): Likewise.
29177 * include/stubs-biarch.h: Removed.
29178 * scripts/lib-names.awk: Only handle one library at a time.
29179 * scripts/soversions.awk: Remove WORDSIZE support.
29180 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
29182 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
29184 (syscall-list-default-condition): Likewise.
29185 (syscall-list-default-condition): Likewise.
29186 (syscall-list-includes): Likewise.
29187 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
29188 syscall-list-* with abi-*. Handle undefined abi-variants.
29189 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
29190 * sysdeps/unix/sysv/linux/i386/Implies: New file.
29191 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
29192 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
29193 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
29194 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
29196 (syscall-list-32-options): Likewise.
29197 (syscall-list-32-condition): Likewise.
29198 (syscall-list-64-options): Likewise.
29199 (syscall-list-64-condition): Likewise.
29200 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
29202 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
29205 (abi-64-ld-soname): New macro.
29206 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
29207 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
29210 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
29211 * sysdeps/x86_64/x32/shlib-versions: Likewise.
29213 2012-05-30 Joseph Myers <joseph@codesourcery.com>
29215 * sysdeps/unix/sysv/linux/kernel-features.h
29216 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
29217 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
29218 include <kernel-features.h>.
29219 [!__NR_ftruncate64]: Remove conditional code.
29220 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29221 [__NR_ftruncate64]: Make code unconditional.
29222 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29223 * sysdeps/unix/sysv/linux/truncate64.c: Do not
29224 include <kernel-features.h>.
29225 [!__NR_ftruncate64]: Remove conditional code.
29226 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29227 [__NR_ftruncate64]: Make code unconditional.
29228 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
29230 include <kernel-features.h>.
29231 [!__NR_ftruncate64]: Remove conditional code.
29232 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29233 [__NR_ftruncate64]: Make code unconditional.
29234 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
29236 include <kernel-features.h>.
29237 [!__NR_ftruncate64]: Remove conditional code.
29238 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29239 [__NR_ftruncate64]: Make code unconditional.
29240 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29242 * configure.in (libc_cv_fpie): Weaken to a compile test using
29243 LIBC_TRY_CC_OPTION.
29244 * configure: Regenerated.
29246 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29248 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
29249 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
29250 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
29251 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
29253 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
29254 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
29255 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
29256 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
29257 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
29258 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
29261 2012-05-27 David S. Miller <davem@davemloft.net>
29263 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
29265 (__Q_simulate_exceptions): Return void. Change to simulate
29266 exceptions by writing into the %fsr.
29267 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
29268 (__Qp_handle_exceptions): Likewise.
29270 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
29271 __Qp_handle_exceptions.
29272 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
29273 __Qp_handle_exceptions.
29274 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
29275 as unused and give dummy FP_RND_NEAREST initializer.
29276 (FP_INHIBIT_RESULTS): Define.
29277 (___Q_simulate_exceptions): Update declaration.
29278 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
29280 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
29281 as unused and give dummy FP_RND_NEAREST initializer.
29282 (__Qp_handle_exceptions): Update declaration.
29283 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
29286 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
29288 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
29289 the temporary FPU control word.
29290 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
29291 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
29292 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
29293 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
29294 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
29295 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
29296 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
29297 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
29298 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
29299 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
29300 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
29302 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29304 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
29307 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
29309 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
29310 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
29311 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
29312 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
29314 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
29315 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
29318 2012-05-27 Ulrich Drepper <drepper@gmail.com>
29320 * po/h.po: Update from translation team.
29322 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
29324 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
29326 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
29327 handling of denormals.
29328 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
29329 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
29330 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
29331 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
29332 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29333 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
29334 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
29337 2012-05-26 Marek Polacek <polacek@redhat.com>
29340 * math/libm-test.inc (fma_test): Don't always expect underflow
29343 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29346 * elf/tst-execstack.c: Include stackinfo.h.
29347 (do_test): Adjust test case to ensure that pthread_getattr_np
29348 behaviour remains the same after marking stack executable.
29350 2012-05-25 Joseph Myers <joseph@codesourcery.com>
29352 * sysdeps/unix/sysv/linux/kernel-features.h
29353 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
29354 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
29356 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
29357 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
29358 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
29360 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
29361 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
29363 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
29365 * configure.in: Define the default includes to being none.
29366 * configure: Regenerated.
29368 2012-05-25 Roland McGrath <roland@hack.frob.com>
29370 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
29371 * sysdeps/x86_64/setjmp.S: Likewise.
29372 * sysdeps/i386/bsd-setjmp.S: Likewise.
29373 * sysdeps/i386/bsd-_setjmp.S: Likewise.
29374 * sysdeps/i386/setjmp.S: Likewise.
29375 * sysdeps/i386/__longjmp.S: Likewise.
29376 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
29377 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
29379 * include/stap-probe.h: New file.
29380 * configure.in: Handle --enable-systemtap.
29381 * configure: Regenerated.
29382 * config.h.in (USE_STAP_PROBE): New #undef.
29383 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
29384 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
29385 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
29387 2012-05-25 Joseph Myers <joseph@codesourcery.com>
29390 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
29391 to 2.4.0 where earlier.
29392 * sysdeps/unix/sysv/linux/configure: Regenerated.
29393 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
29394 <kernel-features.h>.
29395 [__ASSUME_32BITUIDS]: Make code unconditional.
29396 [!__ASSUME_32BITUIDS]: Remove conditional code.
29397 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
29398 <kernel-features.h>.
29399 [__ASSUME_32BITUIDS]: Make code unconditional.
29400 [!__ASSUME_32BITUIDS]: Remove conditional code.
29401 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
29402 [__ASSUME_32BITUIDS]: Make code unconditional.
29403 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
29404 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
29405 <kernel-features.h>.
29406 [__ASSUME_32BITUIDS]: Make code unconditional.
29407 [!__ASSUME_32BITUIDS]: Remove conditional code.
29408 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
29409 <kernel-features.h>.
29410 [__ASSUME_32BITUIDS]: Make code unconditional.
29411 [!__ASSUME_32BITUIDS]: Remove conditional code.
29412 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
29413 <kernel-features.h>.
29414 [__ASSUME_32BITUIDS]: Make code unconditional.
29415 [!__ASSUME_32BITUIDS]: Remove conditional code.
29416 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
29417 <kernel-features.h>.
29418 [__ASSUME_32BITUIDS]: Make code unconditional.
29419 [!__ASSUME_32BITUIDS]: Remove conditional code.
29420 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
29421 <kernel-features.h>.
29422 [__ASSUME_32BITUIDS]: Make code unconditional.
29423 [!__ASSUME_32BITUIDS]: Remove conditional code.
29424 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
29425 <kernel-features.h>.
29426 [__ASSUME_32BITUIDS]: Make code unconditional.
29427 [!__ASSUME_32BITUIDS]: Remove conditional code.
29428 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
29429 <kernel-features.h>.
29430 [__ASSUME_32BITUIDS]: Make code unconditional.
29431 [!__ASSUME_32BITUIDS]: Remove conditional code.
29432 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
29433 <kernel-features.h>.
29434 [__ASSUME_32BITUIDS]: Make code unconditional.
29435 [!__ASSUME_32BITUIDS]: Remove conditional code.
29436 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
29437 <kernel-features.h>.
29438 [__ASSUME_32BITUIDS]: Make code unconditional.
29439 [!__ASSUME_32BITUIDS]: Remove conditional code.
29440 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
29441 <kernel-features.h>.
29442 [__ASSUME_32BITUIDS]: Make code unconditional.
29443 [!__ASSUME_32BITUIDS]: Remove conditional code.
29444 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
29445 <kernel-features.h>.
29446 [__NR_setresgid] (__setresgid): Do not declare.
29447 [__ASSUME_32BITUIDS]: Make code unconditional.
29448 [!__ASSUME_32BITUIDS]: Remove conditional code.
29449 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
29450 <kernel-features.h>.
29451 [__NR_setresuid] (__setresuid): Do not declare.
29452 [__ASSUME_32BITUIDS]: Make code unconditional.
29453 [!__ASSUME_32BITUIDS]: Remove conditional code.
29454 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
29455 <kernel-features.h>.
29456 [__ASSUME_32BITUIDS]: Make code unconditional.
29457 [!__ASSUME_32BITUIDS]: Remove conditional code.
29458 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
29459 <kernel-features.h>.
29460 [__ASSUME_32BITUIDS]: Make code unconditional.
29461 [!__ASSUME_32BITUIDS]: Remove conditional code.
29462 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
29463 <kernel-features.h>.
29464 [__ASSUME_32BITUIDS]: Make code unconditional.
29465 [!__ASSUME_32BITUIDS]: Remove conditional code.
29466 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
29467 <kernel-features.h>.
29468 [__ASSUME_32BITUIDS]: Make code unconditional.
29469 [!__ASSUME_32BITUIDS]: Remove conditional code.
29470 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
29471 <kernel-features.h>.
29472 [__ASSUME_32BITUIDS]: Make code unconditional.
29473 [!__ASSUME_32BITUIDS]: Remove conditional code.
29474 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
29475 <kernel-features.h>.
29476 [__ASSUME_32BITUIDS]: Make code unconditional.
29477 [!__ASSUME_32BITUIDS]: Remove conditional code.
29478 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
29479 <kernel-features.h>.
29480 [__ASSUME_32BITUIDS]: Make code unconditional.
29481 [!__ASSUME_32BITUIDS]: Remove conditional code.
29482 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
29483 <kernel-features.h>.
29484 [__ASSUME_32BITUIDS]: Make code unconditional.
29485 [!__ASSUME_32BITUIDS]: Remove conditional code.
29486 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
29487 <kernel-features.h>.
29488 [__ASSUME_32BITUIDS]: Make code unconditional.
29489 [!__ASSUME_32BITUIDS]: Remove conditional code.
29490 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
29491 <kernel-features.h>.
29492 [__ASSUME_32BITUIDS]: Make code unconditional.
29493 [!__ASSUME_32BITUIDS]: Remove conditional code.
29494 * sysdeps/unix/sysv/linux/kernel-features.h
29495 (__ASSUME_SETRESUID_SYSCALL): Remove.
29496 (__ASSUME_SETRESGID_SYSCALL): Likewise.
29497 (__ASSUME_32BITUIDS): Likewise.
29498 (__ASSUME_LDT_WORKS): Likewise.
29499 (__ASSUME_O_DIRECTORY): Likewise.
29500 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
29501 architecture but not kernel version.
29502 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
29503 (__ASSUME_MMAP2_SYSCALL): Likewise.
29504 (__ASSUME_STAT64_SYSCALL): Likewise.
29505 (__ASSUME_IPC64): Likewise.
29506 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
29507 <kernel-features.h>.
29508 [__ASSUME_32BITUIDS]: Make code unconditional.
29509 [!__ASSUME_32BITUIDS]: Remove conditional code.
29510 * sysdeps/unix/sysv/linux/opendir.c: Do not include
29511 <kernel-features.h>.
29512 [__ASSUME_O_DIRECTORY]: Make code unconditional.
29513 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
29514 132096]: Remove conditional code.
29515 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
29516 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
29517 <kernel-features.h>.
29518 [__ASSUME_32BITUIDS]: Make code unconditional.
29519 [!__ASSUME_32BITUIDS]: Remove conditional code.
29520 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
29521 <kernel-features.h>.
29522 [__ASSUME_32BITUIDS]: Make code unconditional.
29523 [!__ASSUME_32BITUIDS]: Remove conditional code.
29524 * sysdeps/unix/sysv/linux/setegid.c: Do not include
29525 <kernel-features.h>.
29526 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
29528 (__setresgid): Do not declare.
29529 [__ASSUME_32BITUIDS]: Make code unconditional.
29530 [!__ASSUME_32BITUIDS]: Remove conditional code.
29531 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
29532 <kernel-features.h>.
29533 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
29535 (__setresuid): Do not declare.
29536 [__ASSUME_32BITUIDS]: Make code unconditional.
29537 [!__ASSUME_32BITUIDS]: Remove conditional code.
29538 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
29539 <kernel-features.h>.
29540 [__ASSUME_32BITUIDS]: Make code unconditional.
29541 [!__ASSUME_32BITUIDS]: Remove conditional code.
29542 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
29543 <kernel-features.h>.
29544 [__ASSUME_32BITUIDS]: Make code unconditional.
29545 [!__ASSUME_32BITUIDS]: Remove conditional code.
29547 2012-05-25 Richard Henderson <rth@twiddle.net>
29549 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
29550 dl_hwcap to ifunc resolver.
29551 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
29553 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
29554 dl_hwcap to ifunc resolver.
29555 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
29557 2012-05-24 Joseph Myers <joseph@codesourcery.com>
29560 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
29561 for |x| <= 2**-26, not 2**-57.
29562 * math/libm-test.inc (acos_test): Do not allow spurious underflow
29565 2012-05-24 Jeff Law <law@redhat.com>
29567 * stdio-common/Makefile (tests): Add bug25.
29568 * stdio-common/bug25.c: New test.
29570 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
29573 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
29574 multiple of MALLOC_ALIGNMENT in size.
29575 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
29577 2012-05-24 Joseph Myers <joseph@codesourcery.com>
29579 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
29581 (FILENAME_MAX): Use macro-int-constant.
29582 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
29583 (_IOFBF): Use macro-int-constant.
29584 (_IOLBF): Likewise.
29585 (_IONBF): Likewise.
29586 (SEEK_CUR): Likewise.
29587 (SEEK_END): Likewise.
29588 (SEEK_SET): Likewise.
29589 (TMP_MAX): Likewise.
29590 (EOF): Use macro-int-constant. Require < 0.
29591 (NULL): Use macro-constant. Require == 0.
29592 (stdin): Require type to be FILE *.
29593 (stdout): Likewise.
29594 (stderr): Likewise.
29595 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
29596 macro-int-constant.
29597 (EXIT_SUCCESS): Likewise.
29598 (NULL): Use macro-constant. Require == 0.
29599 (RAND_MAX): Use macro-int-constant.
29600 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
29601 [C99-based standards] (strtof): Require function.
29602 [C99-based standards] (strtold): Likewise.
29603 [C99-based standards] (strtoll): Likewise.
29604 [C99-based standards] (strtoull): Likewise.
29605 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
29606 [ISO || ISO99 || ISO11] (limits.h): Likewise.
29607 [ISO || ISO99 || ISO11] (math.h): Likewise.
29608 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
29609 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
29610 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29612 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
29615 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
29616 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
29617 * intl/dgettext.c (DCGETTEXT): Likewise.
29618 * intl/gettext.c (DCGETTEXT): Likewise.
29619 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
29620 * posix/regex_internal.h (gettext): Likewise.
29621 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
29622 Remove declaration.
29623 * include/argz.h (__argz_count_internal)
29624 (__argz_stringify_internal): Remove declaration.
29625 (__argz_count, __argz_stringify): Declare hidden proto.
29626 * intl/dcgettext.c: Remove use of INTDEF.
29627 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
29628 * string/argz-stringify.c: Likewise.
29629 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
29630 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
29631 Declare hidden proto.
29632 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
29633 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
29634 Declare hidden proto.
29635 * include/stdio.h (__asprintf_internal): Don't declare.
29636 (__asprintf): Don't define as macro. Declare hidden proto.
29637 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
29638 (__fsetlocking): Declare hidden proto.
29639 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
29640 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
29642 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
29643 (_IO_setlinebuf): Remove use of INTUSE.
29644 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
29645 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
29646 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
29647 Remove declaration.
29648 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
29649 (_IO_do_flush): Remove use of INTUSE.
29650 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
29651 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
29652 (_IO_adjust_column, _IO_least_wmarker)
29653 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
29654 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
29655 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
29656 (_IO_default_doallocate, _IO_wdefault_doallocate)
29657 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
29658 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
29659 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
29660 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
29661 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
29662 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
29663 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
29664 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
29665 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
29666 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
29667 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
29668 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
29669 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
29671 (_IO_flush_all_internal, _IO_adjust_column_internal)
29672 (_IO_default_uflow_internal, _IO_default_finish_internal)
29673 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
29674 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
29675 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
29676 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
29677 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
29678 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
29679 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
29680 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
29681 (_IO_file_close_internal, _IO_file_close_it_internal)
29682 (_IO_file_underflow_internal, _IO_file_overflow_internal)
29683 (_IO_file_init_internal, _IO_file_attach_internal)
29684 (_IO_file_fopen_internal, _IO_file_read_internal)
29685 (_IO_file_sync_internal, _IO_file_seek_internal)
29686 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
29687 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
29688 (_IO_str_underflow_internal, _IO_str_overflow_internal)
29689 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
29690 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
29691 (_IO_list_all_internal, _IO_link_in_internal)
29692 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
29693 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
29694 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
29695 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
29696 (_IO_do_write_internal, _IO_padn_internal)
29697 (_IO_getline_info_internal, _IO_getline_internal)
29698 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
29699 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
29700 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
29701 (_IO_vfscanf_internal, _IO_vfprintf_internal)
29702 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
29703 (_IO_init_internal, _IO_un_link_internal): Don't declare.
29704 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
29705 with libc_hidden_ver, remove use of INTUSE.
29706 * libio/genops.c: Likewise.
29707 * libio/freopen.c: Likewise.
29708 * libio/freopen64.c: Likewise.
29709 * libio/iofclose.c: Likewise.
29710 * libio/iofdopen.c: Likewise.
29711 * libio/iofflush.c: Likewise.
29712 * libio/iofflush_u.c: Likewise.
29713 * libio/iofgets.c: Likewise.
29714 * libio/iofgets_u.c: Likewise.
29715 * libio/iofopen.c: Likewise.
29716 * libio/iofopncook.c: Likewise.
29717 * libio/iofread.c: Likewise.
29718 * libio/iofread_u.c: Likewise.
29719 * libio/ioftell.c: Likewise.
29720 * libio/iofwrite.c: Likewise.
29721 * libio/iogetline.c: Likewise.
29722 * libio/iogets.c: Likewise.
29723 * libio/iogetwline.c: Likewise.
29724 * libio/iopadn.c: Likewise.
29725 * libio/iopopen.c: Likewise.
29726 * libio/ioseekoff.c: Likewise.
29727 * libio/ioseekpos.c: Likewise.
29728 * libio/iosetbuffer.c: Likewise.
29729 * libio/iosetvbuf.c: Likewise.
29730 * libio/ioungetc.c: Likewise.
29731 * libio/ioungetwc.c: Likewise.
29732 * libio/iovdprintf.c: Likewise.
29733 * libio/iovsprintf.c: Likewise.
29734 * libio/iovsscanf.c: Likewise.
29735 * libio/memstream.c: Likewise.
29736 * libio/obprintf.c: Likewise.
29737 * libio/oldfileops.c: Likewise.
29738 * libio/oldiofclose.c: Likewise.
29739 * libio/oldiofdopen.c: Likewise.
29740 * libio/oldiofopen.c: Likewise.
29741 * libio/oldiopopen.c: Likewise.
29742 * libio/oldstdfiles.c: Likewise.
29743 * libio/putc.c: Likewise.
29744 * libio/setbuf.c: Likewise.
29745 * libio/setlinebuf.c: Likewise.
29746 * libio/stdfiles.c: Likewise.
29747 * libio/strops.c: Likewise.
29748 * libio/vasprintf.c: Likewise.
29749 * libio/vscanf.c: Likewise.
29750 * libio/vsnprintf.c: Likewise.
29751 * libio/vswprintf.c: Likewise.
29752 * libio/wfiledoalloc.c: Likewise.
29753 * libio/wfileops.c: Likewise.
29754 * libio/wgenops.c: Likewise.
29755 * libio/wmemstream.c: Likewise.
29756 * libio/wstrops.c: Likewise.
29757 * libio/__fpurge.c: Likewise.
29758 * libio/__fsetlocking.c: Likewise.
29759 * assert/assert.c: Likewise.
29760 * debug/fgets_chk.c: Likewise.
29761 * debug/fgets_u_chk.c: Likewise.
29762 * debug/fread_chk.c: Likewise.
29763 * debug/fread_u_chk.c: Likewise.
29764 * debug/gets_chk.c: Likewise.
29765 * debug/obprintf_chk.c: Likewise.
29766 * debug/vasprintf_chk.c: Likewise.
29767 * debug/vdprintf_chk.c: Likewise.
29768 * debug/vsnprintf_chk.c: Likewise.
29769 * debug/vsprintf_chk.c: Likewise.
29770 * malloc/mtrace.c: Likewise.
29771 * misc/error.c: Likewise.
29772 * misc/syslog.c: Likewise.
29773 * stdio-common/asprintf.c: Likewise.
29774 * stdio-common/fxprintf.c: Likewise.
29775 * stdio-common/getw.c: Likewise.
29776 * stdio-common/isoc99_fscanf.c: Likewise.
29777 * stdio-common/isoc99_scanf.c: Likewise.
29778 * stdio-common/isoc99_vfscanf.c: Likewise.
29779 * stdio-common/isoc99_vscanf.c: Likewise.
29780 * stdio-common/isoc99_vsscanf.c: Likewise.
29781 * stdio-common/printf-prs.c: Likewise.
29782 * stdio-common/printf_fp.c: Likewise.
29783 * stdio-common/printf_fphex.c: Likewise.
29784 * stdio-common/printf_size.c: Likewise.
29785 * stdio-common/putw.c: Likewise.
29786 * stdio-common/scanf.c: Likewise.
29787 * stdio-common/sprintf.c: Likewise.
29788 * stdio-common/tmpfile.c: Likewise.
29789 * stdio-common/vfprintf.c: Likewise.
29790 * stdio-common/vfscanf.c: Likewise.
29791 * stdlib/strfmon_l.c: Likewise.
29792 * sunrpc/openchild.c: Likewise.
29793 * sunrpc/xdr_stdio.c: Likewise.
29794 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
29795 * sysdeps/mach/hurd/tmpfile.c: Likewise.
29797 2012-05-24 Roland McGrath <roland@hack.frob.com>
29799 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
29801 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
29802 in the third column, to generate for the shared library an IFUNC
29803 that uses _dl_vdso_vsym.
29804 * Makerules (COMPILE.c, compile-stdin.c): New variables.
29805 * Makeconfig (object-suffixes-noshared): New variable.
29807 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
29808 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
29809 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
29810 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
29813 * include/sys/time.h (__gettimeofday): Remove macro.
29814 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
29815 * time/gettimeofday.c (__gettimeofday): Remove #undef.
29817 (__gettimeofday): Add libc_hidden_def.
29818 (gettimeofday): Add libc_hidden_weak.
29819 * sysdeps/mach/gettimeofday.c: Likewise.
29820 * sysdeps/posix/gettimeofday.c: Likewise.
29821 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
29822 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
29823 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
29824 (__gettimeofday_internal): Remove strong_alias.
29825 (__gettimeofday): Add libc_hidden_def.
29826 (gettimeofday): Add libc_hidden_weak.
29827 * sysdeps/unix/syscalls.list (gettimeofday):
29828 Remove __gettimeofday_internal alias.
29830 2012-05-24 Daniel Jacobowitz <drow@false.org>
29831 H.J. Lu <hongjiu.lu@intel.com>
29834 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
29835 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
29836 (largebin_index_32_big): New.
29837 (largebin_index): Use it for 16-byte alignment.
29838 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
29839 correction with front_misalign.
29841 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
29843 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
29844 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
29846 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
29848 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
29850 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
29852 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
29854 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
29856 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
29858 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
29860 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
29862 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
29864 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
29866 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
29869 * scripts/data/c++-types-x32-linux-gnu.data: New file.
29870 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
29872 2012-05-24 Joseph Myers <joseph@codesourcery.com>
29876 * math/libm-test.inc (exp_test): Add test from bug 14036.
29877 (pow_test): Add test from bug 10846.
29879 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
29881 (special_function): Do not include flags in test name.
29882 (parse_args): Likewise.
29883 * sysdeps/i386/fpu/libm-test-ulps: Update.
29884 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29885 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
29886 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
29887 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29889 * math/gen-libm-test.pl (%beautify): Add entries for underflow
29891 * math/libm-test.inc ("Philosophy"): Update comment about
29893 (UNDERFLOW_EXCEPTION): New macro.
29894 (UNDERFLOW_EXCEPTION_OK): Likewise.
29895 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
29896 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
29897 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
29898 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
29899 (INVALID_EXCEPTION_OK): Update value.
29900 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
29901 (OVERFLOW_EXCEPTION_OK): Likewise.
29902 (IGNORE_ZERO_INF_SIGN): Likewise.
29903 (test_exceptions): Handle underflow exceptions.
29904 (acos_test): Update for underflow exception expectations.
29905 (cexp_test): Likewise.
29906 (clog_test): Likewise.
29907 (clog10_test): Likewise.
29908 (csqrt_test): Likewise.
29909 (ctan_test): Likewise.
29910 (ctanh_test): Likewise.
29911 (exp_test): Likewise.
29912 (exp10_test): Likewise.
29913 (exp2_test): Likewise.
29914 (expm1_test): Likewise.
29915 (fma_test): Likewise.
29916 (j0_test): Likewise.
29917 (jn_test): Likewise.
29918 (nexttoward_test): Likewise.
29919 (pow_test): Likewise.
29920 (scalbn_test): Likewise.
29921 (scalbln_test): Likewise.
29922 (tan_test): Likewise.
29923 (y1_test): Likewise.
29924 * sysdeps/i386/fpu/libm-test-ulps: Update.
29925 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29927 2012-05-23 David S. Miller <davem@davemloft.net>
29929 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
29930 (__libc_sigaction): Remove unused local variables.
29932 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
29934 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
29936 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
29938 mktime: avoid signed integer overflow
29939 * time/mktime.c (__mktime_internal): Do not mishandle the case
29940 where diff == INT_MIN.
29942 mktime: simplify computation of average
29943 * time/mktime.c (ranged_convert): Use new time_t_avg function
29944 instead of rolling our own (probably-slower) code.
29946 mktime: do not assume signed right shift propagates sign bit
29947 * time/mktime.c (isdst_differ): New static function.
29948 (__mktime_internal): No need to normalize tm_isdst now.
29949 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
29952 mktime: merge another wrapv change from gnulib
29953 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
29954 from some compilers.
29956 mktime: remove incorrect attempt at unusual arithmetics
29957 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
29958 The code didn't really work on such machines anyway.
29959 (TYPE_MINIMUM): Assume two's complement.
29960 (twos_complement_arithmetic): Verify that long_int and time_t
29961 are two's complement (or unsigned, in the latter case).
29963 mktime: check signed shifts on long_int and time_t, too
29964 * time/mktime.c (SHR): Check that shifts work as desired
29965 on the types long_int and time_t too, as SHR is used on
29968 mktime: do not assume 'long' is wide enough
29969 * time/mktime.c (verify): Move decl up.
29970 (long_int): New type.
29971 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
29972 to remove assumption in the code that 'long' is wide enough to
29973 store year values. This assumption is not true on x32 and on
29974 some non-glibc platforms.
29976 mktime: merge wrapv change from gnulib
29977 * time/mktime.c (WRAPV): New macro.
29978 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
29979 (guess_time_tm, __mktime_internal): Do not assume that signed
29980 integer overflow wraps around; modern compilers generate code
29981 where this assumption is no longer valid.
29983 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
29985 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
29986 Replace "jmp L(pseudo_end)" with "ret".
29987 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
29990 2012-05-23 Andreas Jaeger <aj@suse.de>
29992 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
29993 * sysdeps/unix/sysv/linux/poll.c: Remove file.
29995 2012-05-23 Andreas Jaeger <aj@suse.de>
29996 Maximilian Attems <max@stro.at>
29998 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
30001 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
30003 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
30004 code so that pseudo_end is just ret and the stack pointer is
30005 correct also for static library in error case.
30007 2012-05-23 Joseph Myers <joseph@codesourcery.com>
30009 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
30010 move to syscalls.list.
30011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
30012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
30013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
30014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
30016 * manual/install.texi (Running make install): Do not mention Linux
30017 kernel version for which pt_chown is not needed.
30018 (Linux): Do not mention problems with nscd with 2.0 kernels.
30019 * INSTALL: Regenerated.
30021 2012-05-23 Andreas Jaeger <aj@suse.de>
30023 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
30024 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
30026 * sysdeps/unix/sysv/linux/s390/bits/mman.h
30027 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30028 * sysdeps/unix/sysv/linux/sh/bits/mman.h
30029 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30030 * sysdeps/unix/sysv/linux/i386/bits/mman.h
30031 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30032 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
30033 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30034 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
30035 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30036 * sysdeps/unix/sysv/linux/bits/in.h
30037 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
30039 2012-05-22 Roland McGrath <roland@hack.frob.com>
30041 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
30042 (PREPARE_VERSION): Just use assert instead, it will be elided
30043 under [NDEBUG] anyway.
30045 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
30047 * sysdeps/unix/sysv/linux/Makefile: Include
30048 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
30049 (sysdep_routines): Remove sysctl.
30050 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
30051 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
30052 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
30053 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
30054 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
30056 2012-05-22 Andreas Jaeger <aj@suse.de>
30058 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
30059 that pseudo_end is just ret and the stack pointer is correct also
30060 for static library in error case.
30062 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
30065 * nss/nsswitch.c (defconfig_entries): New variable.
30066 (__nss_database_lookup): Don't leak defconfig entries.
30067 (nss_parse_service_list): Don't leak on error paths.
30068 (free_database_entries): New function.
30069 (free_defconfig): New function.
30070 (free_mem): Move common code to free_database_entries.
30072 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
30074 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
30076 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
30078 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
30079 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
30080 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
30082 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
30083 (INTERNAL_SYSCALL_TYPES): Likewise.
30084 (LOAD_ARGS_TYPES_[1-6]): Likewise.
30085 (LOAD_REGS_TYPES_[1-6]): Likewise.
30086 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
30087 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
30089 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30091 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
30092 copysignl for GLIBC_2_0.
30093 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
30094 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
30095 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
30096 logbl for GLIBC_2_0.
30097 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
30098 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
30100 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
30102 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
30103 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
30105 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
30108 * time/mktime.c: Update copyright years.
30110 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
30112 mktime: merge comment-quoting-style change from gnulib
30113 * time/mktime.c: Quote 'like this' in comments.
30114 The GNU coding standards suggest that we no longer quote `like this',
30115 as "`" and "'" are typically rendered asymmetrically nowadays.
30116 The typical gnulib style is to quote 'like this' when quoting
30117 code, and "like this" when quoting English.
30119 * time/mktime.c (compile-command): Add "-I.".
30121 mktime: merge mktime-internal.h change from gnulib
30122 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
30124 mktime: merge time_r change from gnulib
30125 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
30127 mktime: merge DEBUG change from gnulib
30128 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
30129 case system <time.h> has a #define.
30131 mktime: merge <sys/types.h> change from gnulib
30132 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
30133 since <time.t> is now guaranteed to define time_t.
30135 mktime: merge HAVE_CONFIG_H change from gnulib
30136 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
30138 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
30140 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
30143 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
30145 (struct rusage): Use anonymous union to pad each field to
30148 2012-05-21 David S. Miller <davem@davemloft.net>
30150 * Makefules (o-iterator): Remove .s cases.
30151 (compile-command.s): Delete.
30152 (COMPILE.s): Delete.
30153 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
30155 2012-05-21 Joseph Myers <joseph@codesourcery.com>
30157 * configure.in (libc_cv_predef_stack_protector): Only consider
30158 "foobar" and "__stack_chk_fail" lines in libc_undefs.
30159 * configure: Regenerated.
30161 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
30163 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
30164 New macro. Use R*LP on int and pointer.
30165 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
30166 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
30167 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
30168 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
30170 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
30171 [__WORDSIZE_TIME64_COMPAT32] instead of
30172 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
30173 (struct utmp): Likewise.
30174 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
30175 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
30177 (__WORDSIZE_TIME64_COMPAT32): This.
30178 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
30179 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
30180 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
30181 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
30182 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
30183 (__WORDSIZE_TIME64_COMPAT32): New macro.
30185 2012-05-21 Andreas Jaeger <aj@suse.de>
30187 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
30188 only if [SHARED]. Add prototype for __wcschr_ia32.
30190 2012-05-21 Roland McGrath <roland@hack.frob.com>
30192 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
30193 of %rbp unmolested in the jmp_buf while mangling the low bits.
30194 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
30195 unmolested high bits of %rbp while demangling the low bits.
30196 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
30198 2012-05-21 Andreas Jaeger <aj@suse.de>
30200 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
30201 * sunrpc/svc_simple.c: Use it for registerrpc.
30202 * sunrpc/xcrypt.c: Use it for passwd2des.
30204 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
30206 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
30208 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
30209 Don't define if [__SYSCALL_WORDSIZE != 32].
30210 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
30213 2012-05-21 Bruno Haible <bruno@clisp.org>
30214 Andreas Jaeger <aj@suse.de>
30216 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
30217 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
30218 inptr and inend for must_buffer_ch.
30219 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
30220 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
30221 * stdio-common/Makefile (tests): Remove bug15.
30222 (bug15-ENV): Remove macro.
30223 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
30226 2012-05-19 Andreas Jaeger <aj@suse.de>
30227 Roland McGrath <roland@hack.frob.com>
30229 * manual/contrib.texi: Completely rewritten. It contains now an
30230 alphabetical list of contributors and their contributions.
30232 2012-05-21 Richard Henderson <rth@twiddle.net>
30234 * misc/getauxval.c (__getauxval): Use unsigned long int.
30235 * misc/sys/auxv.h: Include <sys/cdefs.h>.
30236 (getauxval): Use unsigned long int.
30238 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
30240 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
30242 2012-05-21 Roland McGrath <roland@hack.frob.com>
30244 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
30245 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
30246 __alignof__ (long double).
30248 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30250 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30252 2012-05-20 Richard Henderson <rth@twiddle.net>
30254 * misc/getauxval.c: New file.
30255 * misc/sys/auxv.h: New file.
30256 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
30257 (routines): Add getauxval.
30258 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
30259 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
30260 * elf/dl-sysdep.c (_dl_auxv): Remove.
30261 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
30262 * elf/dl-support.c (_dl_auxv): New variable.
30263 (_dl_aux_init): Initialize it.
30264 * manual/startup.texi (Auxiliary Vector): New node.
30265 * sysdeps/generic/bits/hwcap.h: New file.
30266 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
30267 * sysdeps/powerpc/sysdep.h: ... here. Include it.
30268 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
30269 * sysdeps/sparc/sysdep.h: ... here. Include it.
30270 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
30271 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
30272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
30275 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
30276 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
30277 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
30278 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
30279 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
30280 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
30281 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
30283 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30285 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30287 2012-05-19 David S. Miller <davem@davemloft.net>
30289 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30291 2012-05-19 Joseph Myers <joseph@codesourcery.com>
30294 * math/s_ccosh.c: Include <float.h>
30295 (__ccosh): Avoid internal overflow calculating sinh and cosh
30296 values before multiplying by sin and cos values.
30297 * math/s_ccoshf.c: Likewise.
30298 * math/s_ccoshl.c: Likewise.
30299 * math/s_csin.c: Likewise.
30300 * math/s_csinf.c: Likewise.
30301 * math/s_csinl.c: Likewise.
30302 * math/s_csinh.c: Likewise.
30303 * math/s_csinhf.c: Likewise.
30304 * math/s_csinhl.c: Likewise.
30305 * math/libm-test.inc (ccos_test): Add more tests.
30306 (ccosh_test): Likewise.
30307 (csin_test): Likewise.
30308 (csinh_test): Likewise.
30309 * sysdeps/i386/fpu/libm-test-ulps: Update.
30310 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30312 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
30314 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
30315 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
30317 * sysdeps/x86_64/x32/_itoa.h: Add comment.
30319 2012-05-19 Joseph Myers <joseph@codesourcery.com>
30321 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
30322 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
30323 * sysdeps/powerpc/soft-fp/Versions: Likewise.
30324 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
30325 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
30326 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
30327 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
30328 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
30329 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
30330 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
30331 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
30332 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
30333 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
30334 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
30335 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
30336 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
30337 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
30338 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
30339 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
30340 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
30341 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
30342 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
30343 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
30344 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
30345 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
30346 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
30347 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
30348 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
30349 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
30350 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
30351 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
30353 2012-05-18 Andreas Jaeger <aj@suse.de>
30355 * csu/.gitignore: Delete.
30357 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
30359 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
30360 (timex): Use __syscall_slong_t.
30362 2012-05-18 Andreas Jaeger <aj@suse.de>
30363 Carlos O'Donell <carlos_odonell@mentor.com>
30365 * manual/install.texi (Configuring and compiling): Update
30366 description about files modified in the source directory.
30367 * INSTALL: Regenerated.
30369 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
30371 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
30372 value. Use "or" to set return value to -1.
30373 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
30374 negate return value.
30376 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30378 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
30379 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
30380 failure if the compiler has Graphite support disabled.
30381 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
30383 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
30384 (CFLAGS-memmove.c): Likewise.
30385 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
30388 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
30390 * sysdeps/x86_64/x32/_itoa.h: New file.
30392 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
30393 getdents system call only if kernel and user dirents have the
30394 same d_ino and d_off.
30396 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
30397 LLONG_MAX != LONG_MAX.
30398 (_itoa_word): Use _ITOA_WORD_TYPE on value.
30399 (_fitoa_word): Likewise.
30401 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
30403 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
30404 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
30405 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
30407 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
30408 include <bits/wordsize.h>. Check __x86_64__ instead of
30410 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
30411 if __x86_64__ is defined. Use anonymous union on fpstate.
30413 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
30416 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
30418 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
30419 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
30420 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
30421 Refer to _rtld_local_ro instead of _rtld_global_ro.
30422 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
30424 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
30426 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
30428 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
30429 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
30430 of _rtld_global, and rtld_progname instead of _dl_argv[0].
30432 * sysdeps/powerpc/powerpc32/dl-machine.c
30433 (__elf_machine_runtime_setup) [PROF]: Don't reference
30436 2012-05-18 Andreas Jaeger <aj@suse.de>
30438 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
30439 function only available for GCCs before 3.4 since GCC 3.4
30440 introduced a builtin.
30442 (llrintf): Likewise.
30443 (llrint): Likewise.
30450 (nearbyint): Likewise.
30451 (nearbyintf): Likewise.
30455 (floorf): Likewise.
30457 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
30459 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
30460 on both fields and cast pointer to __syscall_ulong_t.
30462 * bits/types.h (__fsword_t): New type.
30463 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
30464 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
30465 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30466 (__FSWORD_T_TYPE): Likewise.
30467 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30468 (__FSWORD_T_TYPE): Likewise.
30469 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30470 (__FSWORD_T_TYPE): Likewise.
30471 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
30472 (__FSWORD_T_TYPE): Likewise.
30473 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
30474 __SWORD_TYPE with __fsword_t.
30475 (statfs64): Likewise.
30477 2012-05-17 David S. Miller <davem@davemloft.net>
30479 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
30481 2012-05-17 Andreas Jaeger <aj@suse.de>
30483 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
30486 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
30488 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
30490 2012-05-17 Andreas Jaeger <aj@suse.de>
30492 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
30495 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
30497 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
30499 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
30501 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
30502 * sysdeps/x86_64/tst-mallocalign1.c: New file.
30504 2012-05-17 Andreas Jaeger <aj@suse.de>
30505 Carlos O'Donell <carlos_odonell@mentor.com>
30508 * sysdeps/x86_64/multiarch/init-arch.h
30509 (bit_YMM_Usable): Rename to...
30510 (bit_AVX_Usable): ... this.
30511 (bit_FMA4_Usable): New macro.
30512 (bit_XMM_state): New macro.
30513 (bit_YMM_state): New macro.
30514 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
30515 [__ASSEMBLER__] (index_AVX_Usable): ... this.
30516 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
30517 (CPUID_OSXSAVE): New macro.
30518 (CPUID_AVX): New macro.
30519 (CPUID_FMA4): New macro.
30520 (index_YMM_Usable): Rename to...
30521 (index_AVX_Usable): ... this.
30522 (HAS_AVX): Use HAS_ARCH_FEATURE.
30523 (HAS_FMA4): Likewise.
30524 (HAS_YMM_USABLE): Remove.
30525 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30526 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
30528 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
30529 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
30530 * sysdeps/x86_64/multiarch/Makefile: Likewise.
30531 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
30532 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
30534 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
30536 * math/libm-test.c: Support platforms without multiple rounding modes.
30537 * math/bug-nextafter.c: Support platforms without FP exceptions.
30538 * math/bug-nexttoward.c: Likewise.
30539 * math/test-fenv.c: Likewise.
30540 * math/test-misc.c: Likewise.
30541 * stdlib/bug-getcontext.c: Likewise.
30543 2012-05-17 Andreas Jaeger <aj@suse.de>
30545 * manual/examples/search.c (critter_cmp): Change signature to
30547 * manual/string.texi (Collation Functions): Likewise.
30549 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30551 * bits/types.h: Fold copyright years.
30552 * bits/typesizes.h: Likewise.
30553 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
30554 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
30555 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
30556 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
30557 * time/time.h: Likewise.
30559 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
30562 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
30563 in instead of returning them. Return void.
30564 (__libc_mallinfo): Accumulate over all arenas.
30565 (__malloc_stats): Adjust for change in int_mallinfo interface.
30567 2012-05-16 Roland McGrath <roland@hack.frob.com>
30570 * configure.in (NM): Add AC_CHECK_TOOL for it.
30571 (libc_extra_cflags): New substituted variable.
30572 Check for -fstack-protector being used implicitly.
30573 * configure: Regenerated.
30574 * config.make.in (config-extra-cflags): New variable,
30575 gets @libc_extra_cflags@.
30576 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
30579 * configure.in: Check for _FORTIFY_SOURCE being predefined.
30580 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
30581 * configure: Regenerated.
30582 * config.make.in (CPPUNDEFS): New substituted variable.
30583 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
30584 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
30585 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
30587 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30589 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
30590 (mq_attr): Use __syscall_slong_t.
30592 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30594 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
30595 Check __x86_64__ instead of __WORDSIZE.
30596 (_STAT_VER_LINUX): Likewise.
30597 (stat): Check __x86_64__ instead of __WORDSIZE. Use
30598 __syscall_ulong_t and __syscall_slong_t.
30599 (stat64): Likewise.
30601 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30603 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
30605 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30607 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
30609 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30611 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
30614 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
30615 include <bits/wordsize.h>. Check __x86_64__ instead of
30617 (greg_t): Use "__extension__ long long int" if __x86_64__ is
30619 (mcontext_t): Replace "unsigned long" with "unsigned long long".
30621 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
30622 include <bits/wordsize.h>. Check __x86_64__ instead of
30624 (user_regs_struct): Use "__extension__ unsigned long long"
30625 instead of "unsigned long" if __x86_64__ is defined.
30626 (user): Likewise. Pad after pointer field if __ILP32__ is
30629 2012-05-16 Joseph Myers <joseph@codesourcery.com>
30631 * configure.in (makeinfo): Require version 4.5 or later. Allow
30633 * configure: Regenerated.
30634 * manual/install.texi (texinfo): Increase version requirement to
30636 * INSTALL: Regenerated.
30638 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
30640 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30642 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
30644 * sysdeps/x86_64/x32/ffs.c: New file.
30646 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
30648 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
30649 defined. Use __syscall_ulong_t.
30650 (shminfo): Use __syscall_ulong_t.
30651 (shm_info): Likewise.
30653 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
30656 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
30658 (msgqnum_t): Use __syscall_ulong_t.
30659 (msglen_t): Likewise.
30660 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
30663 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
30664 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
30666 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
30668 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
30669 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
30671 * sysvipc/sys/msg.h (msgbuf): Replace long int with
30674 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
30675 include <bits/wordsize.h>. Check __x86_64__ instead of
30678 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
30679 "unsigned long long int" if __x86_64__ is defined.
30680 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
30682 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
30683 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
30684 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
30686 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
30688 (GET_PC): Cast to uintptr_t first.
30689 (GET_FRAME): Likewise.
30690 (GET_STACK): Likewise.
30692 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
30693 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
30694 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
30695 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
30696 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
30697 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
30698 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
30699 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
30700 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
30701 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
30702 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
30703 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
30704 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
30705 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
30706 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
30707 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
30708 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
30709 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
30710 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
30711 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
30712 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
30713 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
30714 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
30715 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
30716 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
30717 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
30718 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
30719 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
30720 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
30722 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
30724 * Makerules (+depfiles): Also collect depfiles from .oS in
30726 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
30727 .oS, $(libnldbl-routines)).
30729 * Makerules (native-compile-mkdep-flags): Define.
30730 * sunrpc/Makefile (extra-objs): Add $(addprefix
30731 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
30732 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
30733 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
30734 calling $(make-target-directory).
30736 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30738 * bits/types.h (__snseconds_t): Removed.
30739 * time/time.h (struct timespec): Replace __snseconds_t with
30741 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
30742 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
30744 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30745 (__SNSECONDS_T_TYPE): Likewise.
30746 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30747 (__SNSECONDS_T_TYPE): Likewise.
30748 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30749 (__SNSECONDS_T_TYPE): Likewise.
30751 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30753 * sysdeps/mach/hurd/bits/typesizes.h
30754 (__SYSCALL_SLONG_TYPE): New macro.
30755 (__SYSCALL_ULONG_TYPE): Likewise.
30757 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30759 * bits/types.h (__syscall_slong_t): New type.
30760 (__syscall_ulong_t): Likewise.
30762 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
30763 (__SYSCALL_ULONG_TYPE): Likewise.
30764 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30765 (__SYSCALL_SLONG_TYPE): Likewise.
30766 (__SYSCALL_ULONG_TYPE): Likewise.
30767 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30768 (__SYSCALL_SLONG_TYPE): Likewise.
30769 (__SYSCALL_ULONG_TYPE): Likewise.
30770 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30771 (__SYSCALL_SLONG_TYPE): Likewise.
30772 (__SYSCALL_ULONG_TYPE): Likewise.
30774 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30776 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
30777 Add sigaltstack-offsets.sym.
30778 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
30779 <sigaltstack-offsets.h>.
30780 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
30781 longjmp_msg pointer.
30782 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
30783 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
30785 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
30787 2012-05-15 Joseph Myers <joseph@codesourcery.com>
30789 * elf/stackguard-macros.h: Remove file.
30790 * sysdeps/generic/stackguard-macros.h: New file.
30791 * sysdeps/i386/stackguard-macros.h: Likewise.
30792 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
30793 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
30794 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
30795 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
30796 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
30797 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
30798 * sysdeps/x86_64/stackguard-macros.h: Likewise.
30799 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
30800 <elf/stackguard-macros.h>.
30803 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
30804 __aligned__ in attribute.
30805 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
30806 (gregset_t): Likewise.
30808 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30810 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
30811 * sysdeps/x86_64/64/Implies-after: Here. New file.
30812 * sysdeps/x86_64/x32/Implies-after: New file.
30814 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30816 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
30817 and access return value for _dl_profile_fixup. Use R10_LP to
30820 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30822 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
30824 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30826 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
30827 * sysdeps/x86_64/x32/sysdep.h: New file.
30829 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30831 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
30832 * sysdeps/x86_64/setjmp.S: Likewise.
30834 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30836 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
30837 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
30838 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
30839 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
30840 remove unused global constant.
30842 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
30844 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
30845 include of <not-cancel.h>.
30847 2012-05-15 Roland McGrath <roland@hack.frob.com>
30849 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
30851 2012-05-15 Jeff Law <law@redhat.com>
30852 Andreas Jaeger <aj@suse.de>
30855 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
30857 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
30858 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
30859 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
30860 code changing __hst_map_handle.map.
30862 2012-05-15 Roland McGrath <roland@hack.frob.com>
30864 * configure.in (sysnames): Look for Implies-before and Implies-after
30866 * configure: Regenerated.
30868 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30870 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
30871 8-byte data alignment with LP_SIZE alignment.
30873 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30875 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
30878 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30880 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
30882 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30884 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
30885 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
30886 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
30888 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
30890 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30892 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
30893 (stackinfo_sub_sp): Likewise.
30895 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30897 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
30900 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30902 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
30905 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30907 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
30910 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30912 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
30914 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30916 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
30917 into R11_LP and load __x86_64_shared_cache_size_half into
30920 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30922 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
30925 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30927 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
30929 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
30931 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
30933 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
30934 powerpc32/power7/fpu/s_logb.c via #include.
30935 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
30936 powerpc32/power7/fpu/s_logbf.c via #include.
30937 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
30938 powerpc32/power7/fpu/s_logbl.c via #include.
30940 2012-05-15 Joseph Myers <joseph@codesourcery.com>
30942 * README.libm: Remove file.
30944 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30946 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
30947 count for x32. Use R*_LP and omit operand-size suffix.
30949 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30951 * shlib-versions: Move x86_64-.*-linux.* entries to ...
30952 * sysdeps/x86_64/64/shlib-versions: Here. New file.
30953 * sysdeps/x86_64/x32/shlib-versions: New file.
30955 2012-05-14 Roland McGrath <roland@hack.frob.com>
30957 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
30958 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
30959 Use _dl_fatal_printf instead.
30961 2012-05-14 Joseph Myers <joseph@codesourcery.com>
30963 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
30964 set if not set by the user. Do not allow for being unset.
30965 * sysdeps/unix/sysv/linux/configure: Regenerated.
30967 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30969 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
30970 the `q' suffix from lea and replace .quad with ASM_ADDR.
30972 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30974 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
30975 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
30977 (PTR_DEMANGLE): Likewise.
30979 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30981 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
30983 (ASM_ADDR): Likewise.
30984 (RAX_LP): Likewise.
30985 (RBP_LP): Likewise.
30986 (RBX_LP): Likewise.
30987 (RCX_LP): Likewise.
30988 (RDI_LP): Likewise.
30989 (RSI_LP): Likewise.
30990 (RSP_LP): Likewise.
30993 (R10_LP): Likewise.
30994 (R10_LP): Likewise.
30995 (R11_LP): Likewise.
30996 (R12_LP): Likewise.
30997 (R13_LP): Likewise.
30998 (R14_LP): Likewise.
30999 (R15_LP): Likewise.
31001 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31003 * sysdeps/x86_64/x32/dl-machine.h: New file.
31005 2012-05-14 Andreas Jaeger <aj@suse.de>
31007 * manual/Makefile (subdir): Remove export of subdir.
31008 (all): Remove target.
31009 (.PHONY): Remove all from list.
31010 (mkinstalldirs): Remove.
31011 (.PHONY): Remove installdirs from list.
31012 ($(inst_infodir)/libc.info): Use make-target-directory.
31013 (installdirs): Remove.
31014 (subdir_%): Remove.
31015 (glibc-targets): Remove.
31018 ($(objpfx)stubs ../po/manual.pot): Remove.
31019 ($(objpfx)stamp%): Remove.
31020 (make-target-directory): Remove.
31021 (subdir_install): Remove.
31022 (routines): Remove.
31029 * manual/.gitignore: Remove, it's not needed anymore.
31030 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
31032 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
31034 (texis): Renamed to $(objpfx)texis.
31035 (texis-path): New, contains path to generated files.
31036 (chapters.%): Use texis-path for complete path, add extra argument
31038 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
31039 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
31040 (summary,texi, stamp-summary): Use complete path of
31041 files. Generate files in build dir.
31042 (dir-add.texi): Build in build dir.
31043 (libm-err.texi,stamp-libm-err): Likewise.
31044 (version.texi, stamp-version): Likewise.
31045 (.%c.texi): Likewise.
31046 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
31047 (mostlyclean): Remove target.
31048 (realclean): Remove target.
31049 (generated): Add new variable with contents from mostlyclean and
31050 realclean, remove entries duplicated in common-mostlyclean, add
31051 stamp-libm-err and stamp-version.
31052 (generated-dirs): Add libc directory.
31053 ($(inst_infodir)/libc.info): Install files from build dir.
31055 * manual/install.texi (Configuring and compiling): Adjust since
31056 the info files are not part of the tar ball anymore.
31058 2012-05-14 Andreas Jaeger <aj@suse.de>
31060 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
31063 2012-05-14 Joseph Myers <joseph@codesourcery.com>
31066 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
31067 to 2.2.0 where earlier.
31068 * sysdeps/unix/sysv/linux/configure: Regenerated.
31069 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
31070 Remove conditional code.
31071 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
31072 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
31073 Remove conditional code.
31074 [!__NR_lchown]: Likewise.
31075 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
31076 [__NR_lchown]: Likewise.
31077 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
31078 comment referencing __ASSUME_LCHOWN_SYSCALL.
31079 * sysdeps/unix/sysv/linux/i386/sigaction.c
31080 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31081 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31082 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
31083 Remove conditional code.
31084 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
31085 (__protocol_available): Remove #if 0 code.
31086 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
31088 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
31089 * sysdeps/unix/sysv/linux/kernel-features.h
31090 (__ASSUME_GETCWD_SYSCALL): Don't define.
31091 (__ASSUME_REALTIME_SIGNALS): Likewise.
31092 (__ASSUME_PREAD_SYSCALL): Likewise.
31093 (__ASSUME_PWRITE_SYSCALL): Likewise.
31094 (__ASSUME_POLL_SYSCALL): Likewise.
31095 (__ASSUME_LCHOWN_SYSCALL): Likewise.
31096 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
31098 (__ASSUME_SIOCGIFNAME): Don't define.
31099 (__ASSUME_MSG_NOSIGNAL): Likewise.
31100 (__ASSUME_SENDFILE): Define unconditionally.
31101 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
31102 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
31104 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
31105 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
31106 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
31107 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
31108 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
31109 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
31110 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
31111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
31112 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31113 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
31115 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31116 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
31118 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31119 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
31121 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31122 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
31124 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31125 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
31127 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31128 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
31130 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31131 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
31133 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31134 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31135 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
31136 Remove conditional code.
31137 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31138 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
31139 Remove conditional code.
31140 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31141 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
31142 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
31143 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
31144 Remove conditional code.
31145 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31146 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
31147 Remove conditional code.
31148 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31149 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
31150 Remove conditional code.
31151 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31152 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
31153 Remove conditional code.
31154 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31155 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
31156 Remove conditional code.
31157 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31158 * sysdeps/unix/sysv/linux/sh/pwrite64.c
31159 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31160 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31161 * sysdeps/unix/sysv/linux/sigaction.c
31162 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31163 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31164 * sysdeps/unix/sysv/linux/sigpending.c
31165 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31166 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31167 * sysdeps/unix/sysv/linux/sigprocmask.c
31168 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31169 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31170 * sysdeps/unix/sysv/linux/sigsuspend.c
31171 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31172 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31173 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
31174 (__libc_missing_rt_sigs): Remove.
31175 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
31176 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
31177 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
31178 Remove conditional code.
31179 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
31180 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
31182 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
31183 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
31184 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
31185 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
31187 2012-05-14 Andreas Jaeger <aj@suse.de>
31189 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
31190 it's not used in glibc.
31191 (__coshm1): Likewise.
31192 (__acosh1p): Likewise.
31195 * manual/string.texi (Copying and Concatenation): Add missing
31196 variable in concat example.
31197 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
31199 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31202 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
31203 __builtin_clzl with __builtin_clzll.
31205 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31208 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
31211 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31213 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
31214 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
31215 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
31216 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
31218 2012-05-14 Mike Frysinger <vapier@gentoo.org>
31220 * NEWS: Update ia64 info.
31222 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
31224 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
31227 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
31229 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
31230 * sysdeps/unix/syscalls.list (dup3): Likewise.
31231 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
31232 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
31234 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
31236 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
31237 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
31239 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
31241 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
31243 (TLS_IE): Use mov/add instead of movq/addq to load thread
31245 (TLS_GD_PREFIX): New.
31248 2012-05-11 David S. Miller <davem@davemloft.net>
31250 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
31251 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
31252 (_FPU_SETCW): Likewise.
31254 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31256 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
31257 is 32-byte aligned.
31259 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
31262 * iconvdata/gb18030.c: Update tables.
31263 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
31264 characters specially.
31265 (BODY for TO_LOOP): Add encoding of missing ranges.
31267 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
31270 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
31271 * sysdeps/mach/hurd/dup3.c: Likewise.
31272 * sysdeps/mach/hurd/readlinkat.c: Likewise.
31273 * sysdeps/powerpc/memmove.c:: Likewise.
31275 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31277 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
31278 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
31280 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31282 * elf/elf.h (R_X86_64_RELATIVE64): New.
31283 (R_X86_64_NUM): Updated.
31284 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
31285 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
31286 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
31287 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
31288 tst-quad1pie tst-quad2pie
31289 (modules-names): Add tst-quadmod1 tst-quadmod2.
31290 ($(objpfx)tst-quad1): New dependency.
31291 ($(objpfx)tst-quad2): Likewise.
31292 ($(objpfx)tst-quad1pie): Likewise.
31293 ($(objpfx)tst-quad2pie): Likewise.
31294 * sysdeps/x86_64/tst-quad1.c: New file.
31295 * sysdeps/x86_64/tst-quad1pie.c: New file.
31296 * sysdeps/x86_64/tst-quad2.c: Likewise.
31297 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
31298 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
31299 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
31300 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
31301 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
31303 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31305 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
31306 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
31307 * streams/stropts.h (t_scalar_t): Define type.
31309 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
31310 (_PATH_PRESERVE): Set to "/var/lib".
31311 (_PATH_RWHODIR): Set to "/var/spool/rwho".
31313 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
31316 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
31317 if __dir_mkfile succeeded.
31319 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
31320 checking for _hurd_dtablesize. Unlock it right after having
31321 finished _hurd_dtable allocation.
31323 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31325 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
31326 * sysdeps/mach/hurd/configure: Regenerated.
31327 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
31328 special-casing to...
31329 * sysdeps/gnu/configure.in: ... this new file.
31330 * sysdeps/unix/sysv/linux/configure: Regenerated.
31331 * sysdeps/gnu/configure: New generated file.
31333 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
31334 for Linux: use nsec instead of usec, as well as:
31335 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
31336 members of type struct timespec.
31337 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
31339 (struct stat64): Likewise.
31340 (_STATBUF_ST_NSEC): New macro.
31341 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
31343 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
31344 __strtoul_internal rather than strtoul.
31346 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
31348 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
31351 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31353 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
31354 which preserves existing values.
31355 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
31357 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
31359 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
31360 TIMEOUT values. Return EINVAL for NFDS values either negative or
31361 greater than FD_SETSIZE.
31363 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31365 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
31366 allocated, call __vm_protect to finish enabling the existing space, and
31367 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
31368 allocate the remainder.
31370 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
31372 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
31373 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
31375 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31377 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
31378 sysdeps/mach/hurd/readlink.c.
31380 * posix/tst-sysconf.c (posix_options): Only use
31381 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
31382 _POSIX_SYNCHRONIZED_IO when they are defined
31383 * sysdeps/mach/hurd/bits/posix_opt.h:
31384 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
31385 (_XOPEN_REALTIME): Undefine macro.
31386 (_XOPEN_REALTIME_THREADS): Undefine macro.
31387 (_XOPEN_SHM): Undefine macro.
31388 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
31390 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
31392 (_POSIX_ASYNC_IO): Undefine macro.
31393 (_POSIX_PRIORITIZED_IO): Undefine macro.
31394 (_POSIX_SPIN_LOCKS): Define macro to -1.
31396 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
31397 SA_NODEFER, SA_RESETHAND.
31398 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
31399 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
31402 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31404 * elf/Makefile (pldd-modules): Define unconditionally.
31406 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31408 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
31410 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31412 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
31413 Return ENOENT when name is empty.
31414 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
31416 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31418 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
31420 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
31422 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31424 Fix mlock in all cases except non-readable pages.
31425 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
31426 instead of VM_PROT_ALL as parameter to __vm_wire function.
31428 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
31429 (__mkdir): When path is `/', just fail with EEXIST.
31430 * sysdeps/mach/hurd/mkdirat.c: Likewise.
31432 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31434 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
31435 <sys/uio.h> (for writev).
31436 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
31437 and <sys/param.h> (for MIN).
31439 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
31441 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
31442 REQUESTED_TIME. Properly set the remaining time and return EINTR
31445 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31447 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
31448 Depend on against $(link-rpcuserlibs).
31450 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31452 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
31453 (__libc_stack_end): Do not use attribute_relro.
31454 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
31455 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
31456 to libthread-provided value.
31457 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
31460 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31463 * bits/libc-lock.h (__libc_once_get): New macro.
31464 * sysdeps/mach/bits/libc-lock.h: Likewise.
31465 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
31466 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
31467 instead of using implementation details.
31469 * libio/fileops.c: Unconditionally include <kernel-features.h>.
31470 * libio/freopen.c: Likewise.
31471 * libio/freopen64.c: Likewise.
31472 * misc/syslog.c: Likewise.
31473 * nscd/connections.c: Likewise.
31474 * nscd/netgroupcache.c: Likewise.
31475 * sysdeps/posix/getcwd.c: Likewise.
31477 2012-05-10 Roland McGrath <roland@hack.frob.com>
31479 * math/w_ilogbf.c: Add #include <limits.h>.
31481 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31483 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
31484 path instead of returning without unlocking.
31486 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
31487 immediate-write ioctls.
31488 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
31490 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31492 * sysdeps/mach/hurd/i386/init-first.c (init): Use
31493 __builtin_frame_address instead of making assumptions about the
31494 location of the return address relative to DATA. Force early load of
31495 the return address.
31496 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
31497 __builtin_frame_address.
31500 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
31501 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
31502 implement dup3 and do some further code clean-ups.
31503 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
31504 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
31506 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31508 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
31510 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
31511 HURD_CRITICAL_END around holding _hurd_dtable_lock.
31512 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
31513 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
31514 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
31517 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
31518 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
31519 when handler == SIG_ERR, not when handler != SIG_ERR.
31521 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31523 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
31524 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
31527 accept4 for GNU Hurd.
31528 * include/sys/socket.h (__libc_accept4): New prototype.
31529 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
31530 to implement __libc_accept4.
31531 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
31533 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
31535 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
31536 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
31537 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
31538 signal-defines.sym.
31540 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31542 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
31544 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31546 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
31547 assertion on O_CLOEXEC flag.
31548 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
31549 * hurd/intern-fd.c: Likewise.
31550 * hurd/port2fd.c: Likewise.
31552 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31555 * bits/in.h (IPV6_PKTINFO): Define new macro.
31556 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
31558 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31563 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
31564 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
31565 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
31566 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
31567 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31568 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
31569 * math/libm-test.inc (logb_test) : Additional logb tests.
31571 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
31572 Andreas Jaeger <aj@suse.de>
31574 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
31575 * configure: Regenerated.
31576 * config.h.in (LINK_OBSOLETE_RPC): New macro.
31577 * config.make.in (link-obsolete-rpc): New substituted variable.
31578 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
31579 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
31580 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
31581 (shared-only-routines): Don't set it under [link-obsolete-rpc],
31582 so that libc.a contains the symbols.
31583 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
31584 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
31585 * sunrpc/auth_none.c: Likewise.
31586 * sunrpc/auth_unix.c: Likewise.
31587 * sunrpc/authdes_prot.c: Likewise.
31588 * sunrpc/authuxprot.c: Likewise.
31589 * sunrpc/clnt_gen.c: Likewise.
31590 * sunrpc/clnt_perr.c: Likewise.
31591 * sunrpc/clnt_raw.c: Likewise.
31592 * sunrpc/clnt_simp.c: Likewise.
31593 * sunrpc/clnt_tcp.c: Likewise.
31594 * sunrpc/clnt_udp.c: Likewise.
31595 * sunrpc/clnt_unix.c: Likewise.
31596 * sunrpc/des_crypt.c: Likewise.
31597 * sunrpc/des_soft.c: Likewise.
31598 * sunrpc/get_myaddr.c: Likewise.
31599 * sunrpc/key_call.c: Likewise.
31600 * sunrpc/key_prot.c: Likewise.
31601 * sunrpc/netname.c: Likewise.
31602 * sunrpc/pm_getmaps.c: Likewise.
31603 * sunrpc/pm_getport.c: Likewise.
31604 * sunrpc/pmap_clnt.c: Likewise.
31605 * sunrpc/pmap_prot.c: Likewise.
31606 * sunrpc/pmap_prot2.c: Likewise.
31607 * sunrpc/pmap_rmt.c: Likewise.
31608 * sunrpc/publickey.c: Likewise.
31609 * sunrpc/rpc_cmsg.c: Likewise.
31610 * sunrpc/rpc_common.c: Likewise.
31611 * sunrpc/rpc_dtable.c: Likewise.
31612 * sunrpc/rpc_prot.c: Likewise.
31613 * sunrpc/rpc_thread.c: Likewise.
31614 * sunrpc/rtime.c: Likewise.
31615 * sunrpc/svc.c: Likewise.
31616 * sunrpc/svc_auth.c: Likewise.
31617 * sunrpc/svc_raw.c: Likewise.
31618 * sunrpc/svc_run.c: Likewise.
31619 * sunrpc/svc_tcp.c: Likewise.
31620 * sunrpc/svc_udp.c: Likewise.
31621 * sunrpc/svc_unix.c: Likewise.
31622 * sunrpc/svcauth_des.c: Likewise.
31623 * sunrpc/xcrypt.c: Likewise.
31624 * sunrpc/xdr.c: Likewise.
31625 * sunrpc/xdr_array.c: Likewise.
31626 * sunrpc/xdr_float.c: Likewise.
31627 * sunrpc/xdr_intXX_t.c: Likewise.
31628 * sunrpc/xdr_mem.c: Likewise.
31629 * sunrpc/xdr_rec.c: Likewise.
31630 * sunrpc/xdr_ref.c: Likewise.
31631 * sunrpc/xdr_sizeof.c: Likewise.
31632 * sunrpc/xdr_stdio.c: Likewise.
31634 2012-05-10 Roland McGrath <roland@hack.frob.com>
31636 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
31637 change. Update copyright years.
31639 2012-05-10 Joseph Myers <joseph@codesourcery.com>
31641 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
31643 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
31644 Joseph Myers <joseph@codesourcery.com>
31645 Paul Pluzhnikov <ppluzhnikov@google.com>
31648 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
31650 [cross-compiling] (extra-libs): Likewise.
31651 [cross-compiling] (extra-libs-others): Likewise.
31652 [cross-compiling] (librpcsvc-routines): Likewise.
31653 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
31654 [cross-compiling] (omit-deps): Likewise.
31655 (sunrpc-CPPFLAGS): New variable.
31656 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
31657 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
31658 (cross-rpcgen-objs): New variable.
31659 (extra-objs): Append $(cross-rpcgen-objs).
31660 ($(cross-rpcgen-objs)): New rule.
31661 ($(objpfx)cross-rpcgen): Likewise.
31662 (rpcgen-cmd): Define to use $(built-program-file). Expand
31664 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
31665 ($(objpfx)x%.stmp): Likewise.
31666 * sunrpc/proto.h [IS_IN_build] (_): Define.
31667 [IS_IN_build] (_libc_intl_domainname): Likewise.
31669 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31671 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
31672 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
31673 and R_X86_64_TPOFF64.
31675 2012-05-10 Joseph Myers <joseph@codesourcery.com>
31677 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
31678 sysdeps/unix/sysv/syscalls.list.
31681 * sysdeps/unix/sysv/syscalls.list: Remove file.
31683 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
31686 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
31687 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
31688 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
31689 (__LC_IDENTIFICATION): Make these macros useful in #if
31690 expressions, as required by C99.
31692 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
31694 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
31695 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
31698 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
31700 * stdlib/longlong.h: Updated from GCC.
31702 2012-05-09 Andreas Jaeger <aj@suse.de>
31704 * nscd/nscd.c (run_modes): Make named enum, reorder so that
31705 default is first entry.
31706 (run_mode): Set type.
31707 (main): Remove informal message about syslog.
31708 (options): Fix typo.
31711 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
31714 (llrintf): Likewise.
31715 (llrint): Likewise.
31718 (nearbyint): Likewise.
31719 (nearbyintf): Likewise.
31721 2012-05-09 Andreas Jaeger <aj@suse.de>
31722 Pedro Alves <palves@redhat.com>
31724 * nscd/nscd.c (run_mode): Use enum.
31725 (main): Cleanup coding style issue.
31727 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
31728 Andreas Jaeger <aj@suse.de>
31730 * nscd/nscd.c (go_background): Replaced with...
31731 (run_mode): ... this.
31732 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
31733 (options): Add -F --foreground.
31734 (main): Implement it.
31735 (parse_opt): Parse it.
31737 2012-05-09 Andreas Jaeger <aj@suse.de>
31740 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
31741 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
31742 -Wconversion warning.
31743 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
31746 2012-05-09 Joseph Myers <joseph@codesourcery.com>
31748 * conform/data/locale.h-data (NULL): Use macro-constant. Require
31750 (LC_ALL): Use macro-int-constant.
31751 (LC_COLLATE): Likewise.
31752 (LC_CTYPE): Likewise.
31753 (LC_MESSAGES): Likewise.
31754 (LC_MONETARY): Likewise.
31755 (LC_NUMERIC): Likewise.
31756 (LC_TIME): Likewise.
31757 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
31758 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
31759 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31760 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
31762 [C99-based standards] (float_t): Expect type.
31763 [C99-based standards] (double_t): Expect type.
31764 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
31766 [C99-based standards] (HUGE_VALL): Likewise.
31767 [C99-based standards] (INFINITY): Likewise.
31768 [C99-based standards] (NAN): Likewise.
31769 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
31770 [C99-based standards] (FP_NAN): Likewise.
31771 [C99-based standards] (FP_NORMAL): Likewise.
31772 [C99-based standards] (FP_SUBNORMAL): Likewise.
31773 [C99-based standards] (FP_ZERO): Likewise.
31774 [C99-based standards] (FP_FAST_FMA): Use
31775 optional-macro-int-constant. Specify type. Require == 1.
31776 [C99-based standards] (FP_FAST_FMAF): Likewise.
31777 [C99-based standards] (FP_FAST_FMAL): Likewise.
31778 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
31779 [C99-based standards] (FP_ILOGBNAN): Likewise.
31780 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
31782 [C99-based standards] (MATH_ERREXCEPT): Likewise.
31783 [C99-based standards] (math_errhandling): Specify type.
31784 [ISO99 || ISO11] (signgam): Do not allow.
31785 [non-C99-based standards] (copysignf): Do not allow.
31786 [non-C99-based standards] (exp2f): Likewise.
31787 [non-C99-based standards] (log2f): Likewise.
31788 [non-C99-based standards] (modff): Allow.
31789 [non-C99-based standards] (erff): Do not allow.
31790 [non-C99-based standards] (erfcf): Likewise.
31791 [non-C99-based standards] (gammaf): Likewise.
31792 [non-C99-based standards] (hypotf): Likewise.
31793 [non-C99-based standards] (j0f): Likewise.
31794 [non-C99-based standards] (j1f): Likewise.
31795 [non-C99-based standards] (jnf): Likewise.
31796 [non-C99-based standards] (lgammaf): Likewise.
31797 [non-C99-based standards] (tgammaf): Likewise.
31798 [non-C99-based standards] (y0f): Likewise.
31799 [non-C99-based standards] (y1f): Likewise.
31800 [non-C99-based standards] (ynf): Likewise.
31801 [non-C99-based standards] (isnanf): Likewise.
31802 [non-C99-based standards] (acoshf): Likewise.
31803 [non-C99-based standards] (asinhf): Likewise.
31804 [non-C99-based standards] (atanhf): Likewise.
31805 [non-C99-based standards] (cbrtf): Likewise.
31806 [non-C99-based standards] (expm1f): Likewise.
31807 [non-C99-based standards] (ilogbf): Likewise.
31808 [non-C99-based standards] (log1pf): Likewise.
31809 [non-C99-based standards] (logbf): Likewise.
31810 [non-C99-based standards] (nextafterf): Likewise.
31811 [non-C99-based standards] (remainderf): Likewise.
31812 [non-C99-based standards] (rintf): Likewise.
31813 [non-C99-based standards] (scalbf): Likewise.
31814 [non-C99-based standards] (copysignl): Likewise.
31815 [non-C99-based standards] (exp2l): Likewise.
31816 [non-C99-based standards] (log2l): Likewise.
31817 [non-C99-based standards] (modfl): Allow.
31818 [non-C99-based standards] (erfl): Do not allow.
31819 [non-C99-based standards] (erfcl): Likewise.
31820 [non-C99-based standards] (gammal): Likewise.
31821 [non-C99-based standards] (hypotl): Likewise.
31822 [non-C99-based standards] (j0l): Likewise.
31823 [non-C99-based standards] (j1l): Likewise.
31824 [non-C99-based standards] (jnl): Likewise.
31825 [non-C99-based standards] (lgammal): Likewise.
31826 [non-C99-based standards] (tgammal): Likewise.
31827 [non-C99-based standards] (y0l): Likewise.
31828 [non-C99-based standards] (y1l): Likewise.
31829 [non-C99-based standards] (ynl): Likewise.
31830 [non-C99-based standards] (isnanl): Likewise.
31831 [non-C99-based standards] (acoshl): Likewise.
31832 [non-C99-based standards] (asinhl): Likewise.
31833 [non-C99-based standards] (atanhl): Likewise.
31834 [non-C99-based standards] (cbrtl): Likewise.
31835 [non-C99-based standards] (expm1l): Likewise.
31836 [non-C99-based standards] (ilogbl): Likewise.
31837 [non-C99-based standards] (log1pl): Likewise.
31838 [non-C99-based standards] (logbl): Likewise.
31839 [non-C99-based standards] (nextafterl): Likewise.
31840 [non-C99-based standards] (remainderl): Likewise.
31841 [non-C99-based standards] (rintl): Likewise.
31842 [non-C99-based standards] (scalbl): Likewise.
31843 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31844 [non-C99-based standards] (FP_*): Do not allow.
31845 [C99-based standards] (FP_*): Change to
31846 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
31847 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
31849 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
31850 (SIG_ERR): Likewise.
31851 [X/Open-based standards] (SIG_HOLD): Likewise.
31852 (SIG_IGN): Likewise.
31853 (SIGABRT): Use macro-int-constant. Specify type. Require
31855 (SIGFPE): Likewise.
31856 (SIGILL): Likewise.
31857 (SIGINT): Likewise.
31858 (SIGSEGV): Likewise.
31859 (SIGTER): Likewise.
31860 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
31861 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
31862 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
31863 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
31864 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
31865 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
31866 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
31867 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
31868 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
31869 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
31870 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
31871 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
31872 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
31873 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
31874 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
31875 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
31876 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
31877 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
31878 [X/Open-based standards] (SIGTRAP): Likewise.
31879 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
31880 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
31881 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
31882 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
31883 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
31886 2012-05-08 Ian Wienand <ianw@vmware.com>
31889 * time/tzset.c (__tzset_parse_tz): Update default rules for
31890 daylight time changes in the Energy Policy Act of 2005.
31892 2012-05-09 Andreas Jaeger <aj@suse.de>
31895 * elf/ldconfig.c (parse_conf): Change string to make clear that
31896 ldconfig only issued a warning if ld.so.conf does not exist.
31898 2012-05-08 David S. Miller <davem@davemloft.net>
31900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
31901 movxtod instead of popping the value on the stack.
31903 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31905 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
31907 * config.h.in: Add HAVE_ARM_PCS_VFP.
31909 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
31912 * include/features.h: Warn if user requests __FORTIFY_SOURCE
31913 checking but the checks are disabled for any reason.
31915 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
31917 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
31918 and ELF64_R_TYPE with ELFW(R_TYPE).
31920 2012-05-08 Joseph Myers <joseph@codesourcery.com>
31922 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
31923 (ulimit): Likewise.
31925 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
31926 (settimeofday): Likewise.
31928 2012-05-08 Mike Frysinger <vapier@gentoo.org>
31930 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
31931 a struct th_u2 inside the union, and move tu_block/tu_code into
31932 a new th_u3 union of tu_block/tu_code inside of that. Move
31933 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
31934 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
31935 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
31936 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
31937 (th_stuff): Change to th_u1.tu_stuff.
31939 (th_msg): Change to th_u1.th_u2.tu_data.
31941 2012-05-07 David S. Miller <davem@davemloft.net>
31943 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31946 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
31947 (SETUP_PIC_REG): Use it.
31948 (SETUP_PIC_REG_LEAF): Use it.
31950 2012-05-07 Joseph Myers <joseph@codesourcery.com>
31954 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31956 (EXPL_FINITE): Likewise.
31957 (FLDLOG): Likewise.
31958 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
31959 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
31961 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31963 (EXPL_FINITE): Likewise.
31964 (FLDLOG): Likewise.
31965 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
31966 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
31968 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
31969 test of -max_value argument for long double.
31970 * sysdeps/i386/fpu/libm-test-ulps: Update.
31971 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31973 2012-05-06 David S. Miller <davem@davemloft.net>
31975 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
31976 quad soft-float symbols whose references which are compiler
31978 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
31980 2012-05-06 Joseph Myers <joseph@codesourcery.com>
31984 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31986 (EXPL_FINITE): Likewise.
31987 (FLDLOG): Likewise.
31990 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
31991 Adjust comments for base varying.
31992 (__expl_finite): Change alias to EXPL_FINITE.
31993 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
31995 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
31996 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
31997 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
31998 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
31999 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
32001 (EXPL_FINITE): Likewise.
32002 (FLDLOG): Likewise.
32005 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
32006 Adjust comments for base varying.
32007 (__expl_finite): Change alias to EXPL_FINITE.
32008 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
32010 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32013 * math/libm-test.inc (check_float_internal): Correct ulp
32014 calculation for subnormal expected results.
32016 2012-05-06 Andreas Jaeger <aj@suse.de>
32018 * Makeconfig (+math-flags): New, set to -frounding-math.
32019 (+cflags): Add +math-flags so that all of glibc gets compiled with
32022 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
32024 2012-05-05 Joseph Myers <joseph@codesourcery.com>
32026 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
32032 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
32033 (__ieee754_expl): Allow for and saturate large arguments.
32034 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
32035 (u_threshold): Likewise.
32036 (__exp): Call __ieee754_exp before checking for overflow and
32038 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
32039 (u_threshold): Likewise.
32040 (__expf): Call __ieee754_expf before checking for overflow and
32042 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
32043 (u_threshold): Likewise.
32044 (__expl): Call __ieee754_expl before checking for overflow and
32046 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
32047 (__ieee754_expl): Allow for and saturate large arguments.
32048 * math/libm-test.inc (exp_test): Add another test. Do not allow
32049 missing overflow exception on overflow.
32050 (expm1_test): Do not allow missing overflow exception on overflow.
32052 * sysdeps/i386/fpu/e_expl.c: Move to ...
32053 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
32054 rather than using inline asm.
32055 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
32056 * sysdeps/x86_64/fpu/e_expl.S: Copy from
32057 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
32059 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
32062 (signal): Likewise.
32066 2012-05-04 Joseph Myers <joseph@codesourcery.com>
32068 * sysdeps/unix/syscalls.list (adjtime): Add entry from
32069 sysdeps/unix/common/syscalls.list.
32070 (fchmod): Likewise.
32071 (fchown): Likewise.
32072 (ftruncate): Likewise.
32073 (getrusage): Likewise.
32074 (gettimeofday): Likewise.
32075 (setpgid): Likewise.
32076 (setregid): Likewise.
32077 (setreuid): Likewise.
32078 (sigaction): Likewise.
32079 (truncate): Likewise.
32080 (vhangup): Likewise.
32081 * sysdeps/unix/common/syscalls.list: Remove file.
32082 * sysdeps/unix/bsd/Implies: Don't include unix/common.
32083 * sysdeps/unix/sysv/linux/Implies: Likewise.
32085 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
32087 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
32088 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
32089 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
32091 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
32093 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
32095 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
32096 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
32098 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
32099 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
32101 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
32102 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
32104 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
32105 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
32107 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
32108 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
32110 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
32111 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
32113 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
32115 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
32117 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
32119 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
32121 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
32122 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
32124 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
32126 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
32128 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
32130 2012-05-04 Joseph Myers <joseph@codesourcery.com>
32132 * sysdeps/unix/common/bits/dirent.h: Remove file.
32133 * sysdeps/unix/common/bits/fcntl.h: Likewise.
32135 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
32136 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
32137 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
32138 * sysdeps/unix/bsd/isatty.c: Likewise.
32139 * sysdeps/unix/bsd/tcdrain.c: Likewise.
32140 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
32141 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
32143 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32146 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
32147 long double comparison inaccuracies.
32148 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
32149 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32151 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
32153 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
32154 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
32156 2012-05-04 Joseph Myers <joseph@codesourcery.com>
32159 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
32160 nonzero digits before rounding a hex value.
32161 * stdlib/tst-strtod.c (tests): Add another test.
32163 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32165 * sysdeps/s390/fpu/libm-test-ulps: Update.
32167 2012-05-03 Andreas Jaeger <aj@suse.de>
32169 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
32170 does not get optimized out.
32171 (malloc_opt_barrier): New.
32173 2012-05-03 Andreas Jaeger <aj@suse.de>
32174 Roland McGrath <roland@hack.frob.com>
32176 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
32177 intermediate file deletion.
32178 (generated): Add .symlist files.
32180 2012-05-03 Joseph Myers <joseph@codesourcery.com>
32183 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
32184 Redirect under this condition.
32185 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
32186 [__USE_GNU] (__dprintf_chk): Not under this condition.
32187 [__USE_GNU] (__vdprintf_chk): Likewise.
32188 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
32189 under this condition.
32190 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
32191 [__USE_XOPEN2K8] (dprintf): Define under this condition.
32192 [__USE_XOPEN2K8] (vdprintf): Likewise.
32193 [__USE_GNU] (__dprintf_chk): Not under this condition.
32194 [__USE_GNU] (__vdprintf_chk): Likewise.
32195 [__USE_GNU] (dprintf): Likewise.
32196 [__USE_GNU] (vdprintf): Likewise.
32198 2012-05-03 Roland McGrath <roland@hack.frob.com>
32200 * elf/Makefile (common-generated): Set this instead of generated for
32201 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
32202 $(all-built-dso)-derived lists.
32204 2012-05-03 Andreas Jaeger <aj@suse.de>
32206 * sysdeps/i386/fpu/libm-test-ulps: Update.
32209 * FAQ.in: Likewise.
32210 * scripts/gen-FAQ.pl: Likewise.
32211 * manual/install.texi (Installation): Point to online location of
32213 * Makefile (files-for-dist): Remove FAQ.
32216 2012-05-02 Allan McRae <allan@archlinux.org>
32218 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
32219 (LDFLAGS-reldepmod5.so): Likewise.
32220 (LDFLAGS-reldep6mod1.so): Likewise.
32221 (LDFLAGS-reldep6mod4.so): Likewise.
32222 (LDFLAGS-reldep8mod3.so): Likewise.
32223 (LDFLAGS-unload4mod1.so): Likewise.
32224 (LDFLAGS-unload4mod2.so): Likewise.
32225 (LDFLAGS-tst-initorder): Likewise.
32226 (LDFLAGS-tst-initordera2.so): Likewise.
32227 (LDFLAGS-tst-initordera3.so): Likewise.
32228 (LDFLAGS-tst-initordera4.so): Likewise.
32229 (LDFLAGS-tst-initorderb2.so): Likewise.
32230 (LDFLAGS-noload): Likewise.
32231 (LDFLAGS-next): Likewise.
32232 (LDFLAGS-order2mod1.so): Likewise.
32233 (LDFLAGS-order2mod2.so): Likewise.
32234 (LDFLAGS-tst-initorder2): Likewise.
32235 (LDFLAGS-tst-initorder2a.so): Likewise.
32236 (LDFLAGS-tst-initorder2b.so): Likewise.
32237 (LDFLAGS-tst-initorder2c.so): Likewise.
32238 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
32240 2012-05-02 David S. Miller <davem@davemloft.net>
32242 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32244 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
32247 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
32249 2012-05-02 Andreas Jaeger <aj@suse.de>
32251 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
32252 since we manipulate rounding mode.
32253 (CPPFLAGS-test-idouble.c): Likewise.
32254 (CPPFLAGS-test-ifloat.c): Likewise.
32255 (CFLAGS-test-ldouble.c): Likewise.
32256 (CFLAGS-test-double.c): Likewise.
32257 (CFLAGS-test-float.c): Likewise.
32258 (CFLAGS-test-misc.c): Likewise.
32259 (CFLAGS-test-test-fenv.c): Likewise.
32261 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32265 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
32266 comparisons to determine direction to adjust input.
32268 2012-05-01 Roland McGrath <roland@hack.frob.com>
32270 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
32271 output to the target.
32273 * scripts/localplt.awk: New file.
32274 * elf/Makefile ($(objpfx)check-localplt): Target removed.
32275 (check-localplt-CFLAGS): Variable removed.
32276 ($(all-built-dso:=.jmprel)): New static pattern rule.
32277 (generated): Add those targets.
32278 (localplt-built-dso): New variable.
32279 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
32281 * elf/check-localplt.c: File removed.
32283 * scripts/check-execstack.awk: New file.
32284 * elf/Makefile ($(objpfx)check-execstack): Target removed.
32285 (check-execstack-CFLAGS): Variable removed.
32286 ($(objpfx)check-execstack.h): Target removed.
32287 ($(objpfx)execstack-default): New target.
32288 (generated): Add that instead of check-execstack.h.
32289 ($(all-built-dso:=.phdr)): New static pattern rule.
32290 (generated): Add those targets.
32291 * elf/check-execstack.c: File removed.
32293 * scripts/check-textrel.awk: New file.
32294 * elf/Makefile ($(objpfx)check-textrel): Target removed.
32295 (check-textrel-CFLAGS): Variable removed.
32296 (all-built-dso): Use := to define.o
32297 ($(all-built-dso:=.dyn)): New static pattern rule.
32298 (generated): Add those targets.
32299 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
32300 * config.make.in (READELF): New substituted variable.
32301 * elf/check-textrel.c: File removed.
32303 2012-05-01 Joseph Myers <joseph@codesourcery.com>
32305 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
32307 * conform/data/ctype.h-data [C99-based standards] (isblank):
32309 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
32310 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
32311 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32312 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
32313 Specify type. Require positive value.
32314 (EILSEQ): Likewise.
32315 (ERANGE): Likewise.
32316 [ISO || POSIX] (EILSEQ): Do not expect.
32317 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
32318 Specify type. Require positive value.
32319 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
32320 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
32321 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
32322 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
32323 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
32324 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
32325 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
32326 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
32327 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
32328 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
32329 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
32330 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
32331 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
32332 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
32333 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
32334 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
32335 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
32336 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
32337 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
32338 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
32339 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
32340 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
32341 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
32342 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
32343 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
32344 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
32345 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
32346 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
32347 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
32348 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
32349 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
32350 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
32351 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
32352 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
32353 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
32354 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
32355 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
32356 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
32357 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
32358 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
32359 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
32360 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
32361 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
32362 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
32363 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
32364 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
32365 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
32366 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
32367 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
32368 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
32369 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
32370 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
32371 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
32372 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
32373 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
32374 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
32375 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
32376 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
32377 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
32378 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
32379 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
32380 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
32381 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
32382 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
32383 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
32384 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
32385 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
32386 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
32387 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
32388 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
32389 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
32390 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
32391 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
32392 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
32393 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
32394 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
32395 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
32397 (FLT_ROUNDS): Expect as macro, not constant.
32398 (FLT_MANT_DIG): Use macro-int-constant.
32399 (DBL_MANT_DIG): Likewise.
32400 (LDBL_MANT_DIG): Likewise.
32401 (FLT_DIG): Likewise.
32402 (DBL_DIG): Likewise.
32403 (LDBL_DIG): Likewise.
32404 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
32405 (DBL_MIN_EXP): Likewise.
32406 (LDBL_MIN_EXP): Likewise.
32407 (FLT_MAX_EXP): Use macro-int-constant.
32408 (DBL_MAX_EXP): Likewise.
32409 (LDBL_MAX_EXP): Likewise.
32410 (FLT_MAX_10_EXP): Likewise.
32411 (DBL_MAX_10_EXP): Likewise.
32412 (LDBL_MAX_10_EXP): Likewise.
32413 (FLT_MAX): Use macro-constant.
32414 (DBL_MAX): Likewise.
32415 (LDBL_MAX): Likewise.
32416 (FLT_EPSILON): Use macro-constant. Give upper bound.
32417 (DBL_EPSILON): Likewise.
32418 (LDBL_EPSILON): Likewise.
32419 (FLT_MIN): Likewise.
32420 (DBL_MIN): Likewise.
32421 (LDBL_MIN): Likewise.
32422 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
32423 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
32424 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
32425 [ISO11] (FLT_HAS_SUBNORM): Likewise.
32426 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
32427 [ISO11] (DBL_DECIMAL_DIG): Likewise.
32428 [ISO11] (FLT_DECIMAL_DIG): Likewise.
32429 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
32430 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
32431 [ISO11] (FLT_TRUE_MIN): Likewise.
32432 [ISO11] (LDBL_TRUE_MIN): Likewise.
32433 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32434 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
32435 (SCHAR_MIN): Use macro-int-constant. Specify type.
32436 (SCHAR_MAX): Likewise.
32437 (UCHAR_MAX): Likewise.
32438 (CHAR_MIN): Likewise.
32439 (CHAR_MAX): Likewise.
32440 (MB_LEN_MAX): Use macro-int-constant.
32441 (SHRT_MIN): Use macro-int-constant. Specify type.
32442 (SHRT_MAX): Likewise.
32443 (USHRT_MAX): Likewise.
32444 (INT_MAX): Likewise.
32445 (INT_MIN): Use macro-int-constant. Specify type. Make upper
32447 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
32449 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
32451 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
32452 bound negative. Suffix upper bound with "L".
32453 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
32455 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
32457 [C99-based standards] (LLONG_MAX): Likewise.
32458 [C99-based standards] (ULLONG_MAX): Likewise.
32459 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
32461 [ISO11] (max_align_t): Require type.
32462 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32464 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
32465 from $CFLAGS, without defining away __attribute__ calls.
32466 (checknamespace): Use $CFLAGS_namespace.
32468 * conform/conformtest.pl (@keywords): Only include C99 keywords
32469 for standards based on C99 or C11.
32471 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
32473 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
32476 * conform/conformtest.pl: Handle "macro-int-constant" and test for
32477 usability of symbols in #if.
32479 * conform/conformtest.pl: If macro or constant types start
32480 "promoted:", expect the symbol to be of the following type
32481 promoted by the integer promotions.
32483 * conform/conformtest.pl: Parse all "constant" and "macro" lines
32484 in one place. Also handle "macro-constant".
32486 * conform/conformtest.pl: Only accept expected macro values with
32487 "==". Parse all "macro" lines in one place.
32488 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
32490 * conform/conformtest.pl: Handle braced types on "constant" lines
32491 instead of handling "typed-constant".
32492 * conform/data/signal.h-data: Use "constant" instead of
32495 * conform/conformtest.pl: Handle "optional-" at start of lines in
32496 one place rather than duplicating several cases. Handle each
32497 format of "macro" line with initial "optional-".
32499 * conform/conformtest.pl: Only accept expected constant or
32500 optional-constant values with "==". Parse all "constant" lines in
32501 one place. Parse all "optional-constant" lines in one place.
32502 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
32503 * conform/data/fmtmsg.h-data: Likewise.
32504 * conform/data/netinet/in.h-data: Likewise.
32505 * conform/data/tar.h-data: Likewise.
32506 * conform/data/limits.h-data: Use "==" form on "constant" and
32507 "optional-constant" lines.
32509 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
32510 Use -std=c99 for XOPEN2K.
32511 (@knownproblems): Remove.
32512 (newtoken): Don't check %isknown.
32514 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
32515 Do not expect macro.
32516 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
32517 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
32518 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
32519 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
32520 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
32521 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
32522 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
32523 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
32524 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
32525 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
32526 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
32527 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
32528 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
32529 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
32530 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
32531 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
32532 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
32533 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
32534 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
32535 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
32536 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
32537 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
32538 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
32539 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
32540 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
32541 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
32542 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
32543 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
32544 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
32545 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
32546 [XPG3] (acosh): Likewise.
32547 [XPG3] (asinh): Likewise.
32548 [XPG3] (atanh): Likewise.
32549 [XPG3] (cbrt): Likewise.
32550 [XPG3] (expm1): Likewise.
32551 [XPG3] (ilogb): Likewise.
32552 [XPG3] (log1p): Likewise.
32553 [XPG3] (logb): Likewise.
32554 [XPG3] (nextafter): Likewise.
32555 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
32556 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
32557 [XPG3] (remainder): Likewise.
32558 [XPG3] (rint): Likewise.
32559 [XPG3 || XPG4 || UNIX98] (round): Likewise.
32560 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
32561 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
32562 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
32563 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
32564 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
32565 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
32566 [UNIX98 || XOPEN2K] (scalb): Expect.
32567 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
32568 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
32569 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
32570 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
32571 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
32572 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
32573 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
32574 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
32575 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
32576 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
32577 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
32578 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
32579 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
32580 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
32581 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
32582 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
32583 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
32584 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
32585 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
32586 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
32587 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
32588 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
32589 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
32590 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
32591 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
32592 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
32593 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
32594 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
32595 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
32596 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
32597 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
32598 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
32599 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
32600 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
32601 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
32602 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
32603 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
32604 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
32605 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
32606 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
32607 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
32608 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
32609 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
32610 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
32611 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
32612 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
32613 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
32614 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
32615 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
32616 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
32617 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
32618 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
32619 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
32620 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
32621 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
32622 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
32623 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
32624 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
32625 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
32626 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
32627 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
32628 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
32629 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
32630 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
32631 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
32632 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
32633 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
32634 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
32635 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
32636 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
32637 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
32638 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
32639 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
32640 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
32641 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
32642 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
32643 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
32644 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
32645 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
32646 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
32647 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
32648 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
32649 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
32650 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
32651 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
32652 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
32653 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
32654 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
32655 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
32656 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
32657 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
32658 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
32659 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
32660 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
32661 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
32662 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
32663 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
32664 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
32665 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
32666 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
32667 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
32668 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
32669 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
32670 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
32671 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
32672 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
32673 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
32674 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
32675 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
32676 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
32677 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
32678 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
32679 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
32680 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
32681 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
32682 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
32683 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
32684 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
32685 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
32686 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
32687 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
32688 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
32689 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
32690 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
32691 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
32692 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
32693 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
32694 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
32695 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
32696 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
32697 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
32698 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
32699 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
32700 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
32701 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
32702 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
32703 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
32705 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
32706 _XOPEN_SOURCE_EXTENDED for XPG4.
32708 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
32710 * Makeconfig (localtime): Remove variable.
32711 (inst_localtime-file): Likewise.
32713 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
32715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
32717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
32721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
32723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
32725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
32727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
32731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32734 2012-05-01 Joseph Myers <joseph@codesourcery.com>
32738 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
32739 comparisons to determine direction to adjust input.
32740 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
32741 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
32742 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
32744 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
32746 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
32748 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
32749 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
32751 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
32753 * math/libm-test.inc (nexttoward_test): Add more tests.
32755 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
32758 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
32759 in version GLIBC_2.1, not GLIBC_2.0.
32760 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
32763 2012-04-30 Joseph Myers <joseph@codesourcery.com>
32766 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
32768 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
32769 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
32770 * math/libm-test.inc (acos_test): Add more tests.
32771 (asin_test): Likewise.
32772 * sysdeps/i386/fpu/libm-test-ulps: Update.
32773 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32776 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
32778 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
32779 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
32780 * math/libm-test.inc (acos_test_tonearest): New function.
32781 (acos_test_towardzero): Likewise.
32782 (acos_test_downward): Likewise.
32783 (acos_test_upward): Likewise.
32784 (asin_test_tonearest): Likewise.
32785 (asin_test_towardzero): Likewise.
32786 (asin_test_downward): Likewise.
32787 (asin_test_upward): Likewise.
32788 (main): Call the new functions.
32789 * sysdeps/i386/fpu/libm-test-ulps: Update.
32790 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32794 * math/e_exp10.c: Include <float.h>.
32795 (__ieee754_exp10): Handle underflow here rather than multiplying
32796 large negative argument by M_LN10.
32797 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
32799 * math/e_exp10l.c: Include <float.h>.
32800 (__ieee754_exp10l): Handle underflow here rather than multiplying
32801 large negative argument by M_LN10l.
32802 * math/libm-test.inc (exp10_test): Add another test. Do not allow
32803 spurious overflow exception on underflow.
32805 2012-04-29 Marek Polacek <polacek@redhat.com>
32807 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
32808 (__fortify_function): New macro.
32809 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
32810 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
32811 __extern_always_inline.
32812 * libio/bits/stdio2.h: Likewise.
32813 * libio/bits/stdio.h: Likewise.
32814 * string/string.h: Likewise.
32815 * string/bits/string3.h: Likewise.
32816 * include/stdio.h: Likewise.
32817 * stdlib/bits/stdlib.h: Likewise.
32818 * stdlib/stdlib.h: Likewise.
32819 * rt/bits/mqueue2.h: Likewise.
32820 * rt/mqueue.h: Likewise.
32821 * posix/bits/unistd.h: Likewise.
32822 * posix/unistd.h: Likewise.
32823 * io/bits/poll2.h: Likewise.
32824 * io/bits/fcntl2.h: Likewise.
32825 * io/fcntl.h: Likewise.
32826 * io/sys/poll.h: Likewise.
32827 * misc/bits/syslog.h: Likewise.
32828 * misc/bits/syslog-ldbl.h: Likewise.
32829 * misc/sys/syslog.h: Likewise.
32830 * socket/bits/socket2.h: Likewise.
32831 * socket/sys/socket.h: Likewise.
32832 * debug/tst-chk1.c: Likewise.
32833 * wcsmbs/bits/wchar2.h: Likewise.
32834 * wcsmbs/bits/wchar-ldbl.h: Likewise.
32835 * wcsmbs/wchar.h: Likewise.
32837 2012-04-29 Andreas Jaeger <aj@suse.de>
32839 * Makerules (tests): Remove enable-check-abi protection.
32840 (check-abi-warn): Remove.
32841 (check-abi-%): Remove check-abi-warn usage.
32843 * configure.in: Remove check-abi configure option.
32844 * configure: Regenerated.
32845 * config.make.in (enable-check-abi): Remove.
32847 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
32850 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
32851 double functions to double *_finite functions.
32854 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
32855 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
32857 * stdio-common/Makefile (tests): Add tst-sprintf3.
32858 * stdio-common/tst-sprintf3.c: New file.
32860 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
32861 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
32863 2012-04-28 Joseph Myers <joseph@codesourcery.com>
32865 * conform/conformtest.pl: Remove duplicate typed-constant
32868 2012-04-28 David S. Miller <davem@davemloft.net>
32870 * Makerules (%.abilist): Add vpath on sysdep_dirs.
32871 (check-abi-%): Remove AWK script prerequisite and explicit
32873 (check-abi): Rewrite to just diff the symlist with the abilist.
32874 (config-tls, config-abi-config): Delete, no longer used.
32875 (update-abi-%): Remove AWK script and explicit abilist directory.
32876 (update-abi): Rewrite to simply compare and conditionally copy the
32877 symlist and the sysdep abilist file. Remove update-abi-config
32879 * abilist/ld.abilist: Remove.
32880 * abilist/libBrokenLocale.abilist: Remove.
32881 * abilist/libanl.abilist: Remove.
32882 * abilist/libcrypt.abilist: Remove.
32883 * abilist/libdl.abilist: Remove.
32884 * abilist/librt.abilist: Remove.
32885 * abilist/libthread_db.abilist: Remove.
32886 * abilist/libutil.abilist: Remove.
32887 * scripts/extract-abilist.awk: Remove.
32888 * scripts/merge-abilist.awk: Remove.
32889 * sysdeps/generic/libcidn.abilist: New file.
32890 * sysdeps/generic/libnss_compat.abilist: New file.
32891 * sysdeps/generic/libnss_db.abilist: New file.
32892 * sysdeps/generic/libnss_dns.abilist: New file.
32893 * sysdeps/generic/libnss_files.abilist: New file.
32894 * sysdeps/generic/libnss_hesiod.abilist: New file.
32895 * sysdeps/generic/libnss_nis.abilist: New file.
32896 * sysdeps/generic/libnss_nisplus.abilist: New file.
32897 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
32898 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
32899 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
32901 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
32902 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
32903 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
32904 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
32905 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
32906 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
32907 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
32908 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
32909 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
32911 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
32912 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
32913 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
32914 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
32916 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
32917 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
32918 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
32919 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
32920 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
32921 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
32923 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
32924 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
32925 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
32927 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
32928 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
32930 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
32932 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
32934 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
32936 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
32938 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
32940 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
32942 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
32944 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
32946 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
32948 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
32950 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
32952 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
32954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
32956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
32958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
32960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
32962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
32964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
32966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
32968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
32970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
32974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
32976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
32978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
32980 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
32981 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
32983 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
32985 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
32987 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
32989 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
32991 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
32993 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
32995 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32997 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
32999 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
33001 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
33003 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
33005 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
33006 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
33008 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
33010 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
33012 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
33014 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
33016 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
33018 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
33020 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33022 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
33024 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
33026 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
33028 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
33030 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
33031 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
33032 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
33034 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
33035 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
33036 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
33037 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
33038 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
33039 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
33040 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
33041 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
33042 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
33043 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
33044 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
33045 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
33047 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
33049 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
33051 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
33053 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
33055 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
33057 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
33059 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
33061 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
33063 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
33065 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
33067 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
33069 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
33070 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
33072 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
33074 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
33076 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
33078 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
33080 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
33082 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
33084 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
33086 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
33088 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
33090 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
33092 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
33095 2012-04-28 Joseph Myers <joseph@codesourcery.com>
33097 * conform/conformtest.pl: Fix typo in handling typed-constant from
33100 2012-04-27 Joseph Myers <joseph@codesourcery.com>
33102 * README: Cut down references to pre-2.6 Linux kernels and
33103 Linuxthreads. Update lists of configurations in libc and ports
33104 and sort alphabetically. Say "or newer" with Linux kernel version
33107 * config.h.in [IS_IN_build]: Allow compiling without optimization.
33109 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33112 * math/libm-test.inc (logb_test_downward): New test to expose
33113 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
33116 2012-04-27 Joseph Myers <joseph@codesourcery.com>
33119 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
33121 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
33122 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
33124 2012-04-26 Joseph Myers <joseph@codesourcery.com>
33126 * sysdeps/unix/i386/brk.S: Remove file.
33127 * sysdeps/unix/i386/dl-brk.S: Likewise.
33128 * sysdeps/unix/i386/pipe.S: Likewise.
33129 * sysdeps/unix/i386/sigreturn.S: Likewise.
33130 * sysdeps/unix/i386/syscall.S: Likewise.
33131 * sysdeps/unix/i386/vfork.S: Likewise.
33132 * sysdeps/unix/i386/wait.S: Likewise.
33134 * sysdeps/unix/common/tcsendbrk.c: Move to ...
33135 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
33137 * configure.in (arm*-none*): Do not allow without
33138 --enable-hacker-mode.
33139 (netbsd*): Remove case setting base_os.
33140 (386bsd*): Likewise.
33141 (freebsd*): Likewise.
33144 (sunos*): Likewise.
33145 (ultrix*): Likewise.
33146 (newsos*): Likewise.
33147 (dynix*): Likewise.
33153 (minix*): Likewise.
33154 (irix4*): Likewise.
33155 (irix6*): Likewise.
33156 (solaris[2-9]*): Likewise.
33158 * configure: Regenerated.
33160 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33163 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
33164 overflow or cancellation in calculating denominator.
33165 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
33166 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
33167 down expression to avoid unexpected rounding in newer GCCs.
33168 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
33170 2012-04-26 David S. Miller <davem@davemloft.net>
33172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
33173 long-double compat symbols.
33174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
33175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
33176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
33177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
33178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
33179 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
33180 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
33181 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
33182 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
33183 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
33184 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
33185 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
33186 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
33188 2012-04-25 David S. Miller <davem@davemloft.net>
33190 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
33191 HWCAP_* values only after the memory barriers have been defined.
33192 (atomic_full_barrier): Define.
33193 (atomic_read_barrier): Define.
33194 (atomic_write_barrier): Define.
33196 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33198 * shlib-versions: Add libgcc_s version information.
33199 * sysdeps/generic/libgcc_s.h: Remove.
33200 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
33202 * sysdeps/gnu/unwind-resume.c: Likewise.
33203 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
33205 2012-04-25 David S. Miller <davem@davemloft.net>
33207 * sysdeps/unix/sparc/brk.S: Delete.
33208 * sysdeps/unix/sparc/dl-brk.S: Delete.
33209 * sysdeps/unix/sparc/pipe.S: Delete.
33210 * sysdeps/unix/sparc/sysdep.S: Delete.
33211 * sysdeps/unix/sparc/sysdep.h: Delete.
33212 * sysdeps/unix/sparc/vfork.S: Delete.
33213 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
33214 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
33215 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
33216 (ret_ERRVAL, r0, r1, MOVE): Define.
33217 (JUMPTARGET): Remove.
33218 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
33219 sysdeps/unix/sparc/sysdep.h
33220 (ENTRY, END): Remove.
33221 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33223 2012-04-25 Joseph Myers <joseph@codesourcery.com>
33225 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
33226 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
33229 * timezone/README: Update upstream location and email address for
33231 * timezone/zdump.c: Update from tzcode 2012b.
33232 * timezone/zic.c: Likewise.
33234 * configure.in (libc_cv_as_needed): Remove test.
33235 * configure: Regenerated.
33236 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
33237 conditional definition.
33238 [$(have-as-needed) != yes] (no-as-needed): Likewise.
33239 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
33240 * config.make.in (have-as-needed): Remove variable.
33242 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
33243 Paul Pluzhnikov <ppluzhnikov@google.com>
33245 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
33248 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
33250 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
33251 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
33252 * sysdeps/sh/strlen.S: Likewise.
33254 2012-04-24 Joseph Myers <joseph@codesourcery.com>
33256 * sysdeps/unix/fork.S: Remove file.
33257 * sysdeps/unix/i386/fork.S: Likewise.
33258 * sysdeps/unix/sparc/fork.S: Likewise.
33260 * sysdeps/unix/system.c: Remove file.
33261 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
33263 * sysdeps/unix/getegid.S: Remove file.
33264 * sysdeps/unix/geteuid.S: Likewise.
33266 2012-04-24 Roland McGrath <roland@hack.frob.com>
33268 * scripts/check-localplt.awk: New file.
33269 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
33271 * scripts/data/localplt-generic.data: Add a comment.
33273 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
33274 NODE when __dir_mkfile failed.
33275 * sysdeps/mach/hurd/symlinkat.c: Likewise.
33276 Reported by Ludovic Courtès <ludo@gnu.org>.
33278 2012-04-24 Andreas Jaeger <aj@suse.de>
33280 * Makerules (common-clean): Also remove gen-as-const-headers
33283 2012-04-24 Joseph Myers <joseph@codesourcery.com>
33285 * Makerules (native-compile): Do not change working directory for
33286 build. Use $(OUTPUT_OPTION) in command.
33287 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
33289 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33292 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
33293 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
33294 * math/libm-test.inc (floor_test): Add more tests.
33295 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
33297 2012-04-24 Joseph Myers <joseph@codesourcery.com>
33299 * sysdeps/unix/getdents.c: Remove file.
33300 * sysdeps/unix/sysv/getdents.c: Likewise.
33301 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
33303 * sysdeps/unix/syscalls.list (madvise): Add syscall from
33304 sysdeps/unix/mman/syscalls.list.
33306 (mprotect): Likewise.
33308 (munmap): Likewise.
33309 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
33310 * sysdeps/unix/mman/syscalls.list: Remove.
33311 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
33313 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
33314 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
33315 * configure: Regenerated.
33316 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
33317 $(libgcc_s_suffix).
33318 * config.make.in (libgcc_s_suffix): Remove variable.
33320 2012-04-23 Joseph Myers <joseph@codesourcery.com>
33322 * sysdeps/unix/sysv/gethostname.c: Move to ...
33323 * sysdeps/posix/gethostname.c: ... here.
33325 * sysdeps/unix/execve.S: Remove file.
33327 * sysdeps/unix/_exit.S: Remove file.
33329 2012-04-23 Andreas Jaeger <aj@suse.de>
33332 * manual/Makefile: Remove make dist support, there's no
33333 need for a stand-alone documentation tar ball.
33334 (TEXI2DVI): Define always, it's not in Makeconfig.
33337 (edition): Removed.
33338 (glibc-doc-$(edition).tar): Removed
33342 (ETAGS): Remove, it's in Makeconfig.
33343 (move-if-change): Remove, it's in Makeconfig.
33345 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
33348 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
33349 (strtod, strtof, strtold, strtol, strtoul, strtoq)
33350 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
33351 (strtod_l, strtof_l, strtold_l): Remove __wur.
33352 It is not necessarily an error to ignore strtol's return value.
33353 One can reliably look at the stored endptr to decide whether
33354 the number had valid syntax.
33356 2012-04-21 Andreas Jaeger <aj@suse.de>
33359 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
33361 2012-04-21 Joseph Myers <joseph@codesourcery.com>
33363 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
33364 * sysdeps/unix/sysv/Versions: Remove file.
33366 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
33369 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33371 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
33374 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
33375 version from __vm86.
33377 2012-04-20 Joseph Myers <joseph@codesourcery.com>
33379 * sysdeps/unix/common/lxstat.c: Remove file.
33380 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
33382 * sysdeps/unix/sysv/Makefile: Remove file.
33384 * sysdeps/unix/sysv/direct.h: Remove file.
33386 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
33387 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
33388 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
33389 * sysdeps/unix/sysv/bits/signum.h: Likewise.
33390 * sysdeps/unix/sysv/bits/stat.h: Likewise.
33391 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
33392 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
33394 * sysdeps/unix/sysv/setrlimit.c: Remove file.
33396 * sysdeps/unix/xmknod.c: Remove file.
33397 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
33399 * sysdeps/unix/sysv/settimeofday.c: Remove file.
33401 * sysdeps/unix/sysv/i386/time.S: Remove file.
33403 * sysdeps/unix/fxstat.c: Remove file.
33404 * sysdeps/unix/xstat.c: Likewise.
33405 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
33407 * sysdeps/unix/sysv/sigaction.c: Remove file.
33409 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
33410 (sysdep_headers): Remove variable.
33411 [termio.h not in sysdep_headers] (generated): Likewise.
33412 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
33413 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
33414 * sysdeps/unix/sysv/tcdrain.c: Likewise.
33415 * sysdeps/unix/sysv/tcflow.c: Likewise.
33416 * sysdeps/unix/sysv/tcflush.c: Likewise.
33417 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
33418 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
33419 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
33420 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
33421 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
33423 * sysdeps/unix/siglist.c: Remove file.
33425 * sysdeps/unix/getppid.S: Remove file.
33427 * sysdeps/unix/mkdir.c: Remove file.
33428 * sysdeps/unix/rmdir.c: Likewise.
33430 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
33432 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
33434 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
33435 errlist-compat value.
33437 2012-04-18 David S. Miller <davem@davemloft.net>
33439 * sysdeps/generic/memcopy.h (reg_char): Delete.
33440 * debug/strcat_chk.c: Use char, not reg_char.
33441 * debug/strcpy_chk.c: Likewise.
33442 * debug/strncat_chk.c: Likewise.
33443 * debug/strncpy_chk.c: Likewise.
33444 * string/memchr.c: Likewise.
33445 * string/memrchr.c: Likewise.
33446 * string/rawmemchr.c: Likewise.
33447 * string/strcat.c: Likewise.
33448 * string/strchr.c: Likewise.
33449 * string/strchrnul.c: Likewise.
33450 * string/strcmp.c: Likewise.
33451 * string/strcpy.c: Likewise.
33452 * string/strncat.c: Likewise.
33453 * string/strncmp.c: Likewise.
33454 * string/strncpy.c: Likewise.
33456 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
33458 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
33459 __builtin_memcopy is called when src and dest ranges are known to not
33462 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
33464 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
33465 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
33466 fwd_align_merge macro call.
33467 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
33468 bwd_align_merge macro call.
33469 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
33471 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
33473 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
33474 bwd_align_merge macros.
33475 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
33476 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
33477 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
33479 2012-04-18 David S. Miller <davem@davemloft.net>
33481 * sysdeps/sparc/sparc64/memcopy.h: Delete.
33483 2012-04-18 Andreas Jaeger <aj@suse.de>
33486 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
33487 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
33488 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33490 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
33491 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
33492 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33494 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
33495 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
33496 Adjust for changed ldbl-128 files.
33498 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
33499 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
33500 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33502 2012-04-17 David S. Miller <davem@davemloft.net>
33504 * sysdeps/sparc/sparc32/memcopy.h: Delete.
33506 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
33508 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
33509 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
33510 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
33511 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
33512 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
33513 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
33515 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33518 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
33519 * math/libm-test.inc: Add ilogb errno and exception tests.
33520 * math/w_ilogb.c: New file: ilogb wrapper.
33521 * math/w_ilogbf.c: New file: ilogbf wrapper.
33522 * math/w_ilogbl.c: New file: ilogbl wrapper.
33523 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
33524 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
33525 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
33526 exception being thrown with 0.0 as argument.
33527 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
33528 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
33529 exception being thrown with 0.0 as argument.
33530 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
33531 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
33532 exception being thrown with 0.0 as argument.
33533 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
33534 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
33535 exception being thrown with 0.0 as argument.
33536 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
33537 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
33538 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
33539 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
33540 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
33541 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
33542 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
33543 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
33544 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
33546 2012-04-17 Petr Baudis <pasky@ucw.cz>
33548 * include/sys/uio.h: Change __vector to __iovec to avoid clash
33551 2012-04-16 Marek Polacek <polacek@redhat.com>
33553 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
33555 2012-04-16 Marek Polacek <polacek@redhat.com>
33557 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
33558 operands of fdivp instruction.
33560 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
33562 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
33563 * elf/tst-auditmod3b.c: Likewise.
33564 * elf/tst-auditmod4b.c: Likewise.
33565 * elf/tst-auditmod5b.c: Likewise.
33566 * elf/tst-auditmod6b.c: Likewise.
33567 * elf/tst-auditmod6c.c: Likewise.
33568 * elf/tst-auditmod7b.c: Likewise.
33569 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
33570 * sysdeps/x86_64/preconfigure.in: Likewise.
33571 * sysdeps/x86_64/preconfigure: Regenerated.
33573 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
33575 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
33578 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
33580 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33581 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
33583 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
33586 * locale/iso-639.def: Fix gl language name. Spotted by
33589 2012-04-12 Roland McGrath <roland@hack.frob.com>
33592 * libio/libio.h (__io_write_fn): Update comment.
33594 2012-04-12 Petr Baudis <pasky@ucw.cz>
33597 * stdio.texi (Hook Functions): The user provided writer function
33598 is not allowed to return -1.
33600 2012-04-11 David S. Miller <davem@davemloft.net>
33602 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33604 2012-04-11 Mike Frysinger <vapier@gentoo.org>
33606 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
33607 Add a leading slash to rtkaio.
33609 2012-04-11 Jim Meyering <meyering@redhat.com>
33612 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
33613 It is not necessarily an error to ignore fwrite's return
33614 value. One can reliably use ferror to test for errors after
33617 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
33619 * bits/types.h (__snseconds_t): New type.
33620 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
33622 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
33623 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33624 (__SNSECONDS_T_TYPE): Likewise.
33625 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33626 (__SNSECONDS_T_TYPE): Likewise.
33627 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33628 (__SNSECONDS_T_TYPE): Likewise.
33630 2012-04-10 Andreas Jaeger <aj@suse.de>
33633 * manual/time.texi (Processor Time): Return type of times is
33634 elapsed real time since an arbitrary point in the past.
33635 (CPU Time): Move CLK_TCK from here...
33636 (Processor Time): ...to here. Correct description.
33637 * manual/conf.texi (Constants for Sysconf): Correct description of
33640 2012-04-10 David S. Miller <davem@davemloft.net>
33643 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
33644 where the is a gap between DT_REL(A) and DT_JMPREL.
33646 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
33648 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
33649 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
33650 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
33652 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
33654 * elf/dl-support.c (_dl_inhibit_cache): New variable.
33655 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
33656 (dl_main): Handle --inhibit-cache.
33657 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
33659 * elf/dl-load.c (_dl_map_object): Use it.
33660 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
33662 2012-04-09 Joseph Myers <joseph@codesourcery.com>
33665 * sysdeps/i386/fpu/e_powl.S (p78): New object.
33666 (__ieee754_powl): Saturate large exponents rather than testing for
33667 overflow of y*log2(x).
33668 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33669 * math/libm-test.inc (pow_test): Do not permit spurious overflow
33673 * math/s_ctan.c: Include <float.h>.
33674 (__ctan): Avoid internal overflow or cancellation in calculating
33676 * math/s_ctanf.c: Likewise.
33677 * math/s_ctanl.c: Likewise.
33678 * math/s_ctanh.c: Likewise.
33679 * math/s_ctanhf.c: Likewise.
33680 * math/s_ctanhl.c: Likewise.
33681 * math/libm-test.inc (ctan_test): Add more tests.
33682 (ctanh_test): Likewise.
33683 * sysdeps/i386/fpu/libm-test-ulps: Update.
33684 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33686 2012-04-09 Andreas Jaeger <aj@suse.de>
33689 * manual/filesys.texi (Directory Entries): Mention that d_namlen
33690 is an optional BSD extension.
33693 * manual/stdio.texi (Opening Streams): Document additional fopen
33696 2012-04-09 Roland McGrath <roland@hack.frob.com>
33698 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
33699 %eax without telling the compiler.
33701 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
33704 * manual/install.texi: Use sourceware.org.
33706 2012-04-09 Joseph Myers <joseph@codesourcery.com>
33709 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
33710 (__ieee754_pow): Generate overflow and underflow using huge*huge
33711 and tiny*tiny rather than just returning constant infinity or zero
33712 for large exponents.
33713 * math/libm-test.inc (pow_test): Require overflow exceptions for
33714 applicable cases of large exponents.
33717 * sysdeps/i386/fpu/e_pow.S (p10): New object.
33718 (__ieee754_pow): Use iterative multiplication algorithm only for
33719 integer exponents with absolute value below 1024. Check for odd
33720 integer exponents when using algorithm for real exponents.
33721 * math/libm-test.inc (pow_test): Add more tests.
33722 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33724 2012-04-08 Joseph Myers <joseph@codesourcery.com>
33727 * math/libm-test.inc (exp_test): Do not allow overflow exception
33730 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
33733 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
33734 instead of __kernel_standard_f.
33736 2012-04-08 Mike Frysinger <vapier@gentoo.org>
33738 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
33739 * sysdeps/x86_64/memset_chk.S: Likewise.
33741 2012-04-08 Andreas Jaeger <aj@suse.de>
33744 * manual/startup.texi (Environment Access): Describe return value
33745 for putenv and setenv.
33748 * manual/filesys.texi (Directory Entries): Add description for
33752 * manual/filesys.texi (Directory Entries): Clarify that it's file
33753 system not operating system in the description of DT_UNKNOWN.
33756 * manual/syslog.texi (closelog): Fix reference, it's openlog.
33758 2012-04-08 Stephen Compall <s11@member.fsf.org>
33761 * manual/llio.texi (Opening and Closing Files): Add cross
33762 reference to explain mode argument.
33764 2012-04-07 Mike Frysinger <vapier@gentoo.org>
33766 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
33767 * sysdeps/x86_64/memset_chk.S: Likewise.
33769 2012-04-07 David S. Miller <davem@davemloft.net>
33771 * elf/elf.h (R_SPARC_WDISP10): Define.
33772 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
33774 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
33775 R_SPARC_SIZE64 and R_SPARC_H34.
33777 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
33779 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
33780 conditions and remove no longer applicable assertion.
33782 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
33784 * bits/byteswap.h: Include <features.h>.
33785 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
33786 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
33788 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
33790 * bits/byteswap.h (__bswap_16): Removed.
33791 Include <bits/byteswap-16.h> to get __bswap_16.
33792 * sysdeps/i386/bits/byteswap.h: Likewise.
33793 * sysdeps/s390/bits/byteswap.h: Likewise.
33794 * sysdeps/x86_64/bits/byteswap.h: Likewise.
33795 * bits/byteswap-16.h: New file.
33796 * sysdeps/i386/bits/byteswap-16.h: Likewise.
33797 * sysdeps/s390/bits/byteswap-16.h: Likewise.
33798 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
33799 * string/Makefile (headers): Add bits/byteswap-16.h.
33801 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
33804 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
33806 * nss/Makefile (tests-static, tests): Add tst-nss-static.
33807 * nss/tst-nss-static.c: New.
33809 2012-04-06 Robert Millan <rmh@gnu.org>
33812 * manual/llio.texi (File Position Primitive): lseek
33813 refers to WHENCE when it really means OFFSET.
33815 2012-04-06 Andreas Jaeger <aj@suse.de>
33817 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
33818 strncmp declarations.
33820 * abilist/libc.abilist: Add __poll and __ppoll.
33822 2012-04-05 David S. Miller <davem@davemloft.net>
33824 * scripts/check-local-headers.sh: Accept a host triplet in the
33825 path matched by the exclude regexp.
33827 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
33829 * sysdeps/powerpc/powerpc32/dl-machine.h
33830 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
33831 * sysdeps/s390/s390-32/dl-machine.h
33832 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33833 * sysdeps/sparc/sparc32/dl-machine.h
33834 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33835 * sysdeps/sparc/sparc64/dl-machine.h
33836 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33838 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
33840 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
33841 undefined symbol errors.
33843 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
33846 2012-04-05 Michael Matz <matz@suse.de>
33849 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
33851 2012-04-05 Andreas Jaeger <aj@suse.de>
33854 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
33857 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33859 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
33860 which ROUND is no valid rounding mode.
33862 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33864 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
33866 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
33868 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33870 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
33871 an exception using FPU order intentionally.
33873 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33875 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
33876 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
33877 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
33878 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
33880 2012-04-05 Simon Josefsson <simon@josefsson.org>
33883 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
33884 EINVAL when BUFLEN is too smal.
33886 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
33889 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
33890 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
33892 2012-04-03 Andreas Jaeger <aj@suse.de>
33895 * manual/setjmp.texi (System V contexts): Fix sentence.
33898 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
33899 New macro for this case.
33900 [!__GNUC__] (__bswap_64): New inline function for this case.
33901 * sysdeps/x86_64/bits/byteswap.h: Likewise.
33902 * bits/byteswap.h: Likewise.
33903 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
33904 ull, guard with __GLIBC_HAVE_LONG_LONG.
33906 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
33907 __GLIBC_HAVE_LONG_LONG.
33909 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
33910 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
33912 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33915 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
33916 inptr and inend, rather than using last_ch.
33918 2012-04-02 David S. Miller <davem@davemloft.net>
33920 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
33921 * stdio-common/printf-parse.h (read_int): Change return type to
33922 'int', return -1 on INT_MAX overflow.
33923 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
33924 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
33925 overflows INT_MAX. Check for overflow of in-format-string precision
33926 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
33927 SIZE_MAX not INT_MAX for integer overflow test.
33928 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
33929 skip the construct in the format string but do not record anything.
33930 * stdio-common/bug22.c: Adjust to test both width/prevision
33931 INT_MAX overflow as well as total length INT_MAX overflow. Check
33932 explicitly for proper errno values.
33934 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
33936 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
33938 * string/test-strcmp.c [! WIDE]: Likewise.
33939 * time/tst-mktime2.c: Likewise for INT_MAX.
33940 * string/test-string.h: #include <sys/param.h> for MIN.
33942 * csu/init-first.c (__libc_init_first): Call __ctype_init.
33943 * sysdeps/i386/init-first.c (init): Likewise.
33944 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
33945 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
33946 * sysdeps/sh/init-first.c (init): Likewise.
33948 2012-04-01 Ulrich Drepper <drepper@gmail.com>
33950 * po/ru.po: Update from translation team.
33951 * po/vi.po: Likewise.
33953 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
33955 * resolv/nss_dns/dns-host.c: Merge copyright years.
33957 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33959 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
33960 Optimize memcpy with prefetch if
33961 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
33962 src, dst pointers have unequal 16 byte alignments.
33964 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
33967 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
33968 from a CNAME entry and return the minimum ttl for the query.
33969 (gaih_getanswer_slice): Likewise.
33971 2012-03-30 Jeff Law <law@redhat.com>
33973 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
33975 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
33976 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
33978 * resolv/nss_dns/dns-host.c: Update copyright year.
33980 2012-03-30 Ulrich Drepper <drepper@gmail.com>
33982 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
33983 requests to save a system call. Fix check that all bytes are sent.
33985 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
33986 comments for sendmmsg.
33988 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33991 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
33992 with only 1 character between 0x0041 and 0x01b0.
33993 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
33994 * wcsmbs/tst-mbsnrtowcs.c: New file.
33996 2012-03-29 David S. Miller <davem@davemloft.net>
33998 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
33999 small copies by hand.
34001 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34004 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
34005 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
34008 2012-03-28 David S. Miller <davem@davemloft.net>
34010 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
34011 that branches into memcpy.
34012 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
34013 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
34014 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
34015 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
34016 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
34018 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
34019 implementation too.
34020 * sysdeps/sparc/mempcpy.S: New file.
34022 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
34023 the IFUNC routine in the libc case.
34024 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
34026 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
34027 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
34028 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
34029 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
34030 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
34031 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
34032 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
34033 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
34035 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
34036 loop to 256 bytes instead of 64 bytes and fix test signedness.
34038 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
34039 * sysdeps/sparc/sparc32/Makefile: rather than here...
34040 * sysdeps/sparc/sparc64/Makefile: and here.
34042 2012-03-28 Ulrich Drepper <drepper@gmail.com>
34044 * malloc/mallocbug.c: Avoid warnings about unused variables.
34046 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
34049 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
34050 in the right place. Discard and retry query if response is
34051 larger than input buffer size.
34053 2012-03-28 Joseph Myers <joseph@codesourcery.com>
34058 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
34059 x for large integer exponent.
34060 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
34061 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
34062 sign of result as needed afterwards.
34063 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
34064 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
34065 result for underflowing pow the same as for overflow.
34066 (__kernel_standard_l): Handle powl overflow and underflow here
34067 rather than calling __kernel_standard.
34068 * math/libm-test.inc (pow_test): Add more tests.
34083 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
34084 * sysdeps/ieee754/k_standard.c: Include <float.h>.
34085 (__kernel_standard_l): New function.
34086 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
34088 * math/w_acosl.c (__acosl): Likewise.
34089 * math/w_asinl.c (__asinl): Likewise.
34090 * math/w_atan2l.c (__atan2l): Likewise.
34091 * math/w_atanhl.c (__atanhl): Likewise.
34092 * math/w_coshl.c (__coshl): Likewise.
34093 * math/w_exp10l.c (__exp10l): Likewise.
34094 * math/w_exp2l.c (__exp2l): Likewise.
34095 * math/w_fmodl.c (__fmodl): Likewise.
34096 * math/w_hypotl.c (__hypotl): Likewise.
34097 * math/w_j0l.c (__j0l, __y0l): Likewise.
34098 * math/w_j1l.c (__j1l, __y1l): Likewise.
34099 * math/w_jnl.c (__jnl, __ynl): Likewise.
34100 * math/w_lgammal.c (__lgammal): Likewise.
34101 * math/w_log10l.c (__log10l): Likewise.
34102 * math/w_log2l.c (__log2l): Likewise.
34103 * math/w_logl.c (__logl): Likewise.
34104 * math/w_powl.c (__powl): Likewise.
34105 * math/w_remainderl.c (__remainderl): Likewise.
34106 * math/w_scalbl.c (sysv_scalbl): Likewise.
34107 * math/w_sinhl.c (__sinhl): Likewise.
34108 * math/w_sqrtl.c (__sqrtl): Likewise.
34109 * math/w_tgammal.c (__tgammal): Likewise.
34110 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
34111 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
34112 * math/libm-test.inc (acos_test): Add more tests.
34113 (acosh_test): Likewise.
34114 (asin_test): Likewise.
34115 (atanh_test): Likewise.
34116 (exp_test): Likewise.
34117 (exp10_test): Likewise.
34118 (exp2_test): Likewise.
34119 (expm1_test): Likewise.
34120 (lgamma_test): Likewise.
34121 (log_test): Likewise.
34122 (log10_test): Likewise.
34123 (log1p_test): Likewise.
34124 (log2_test): Likewise.
34125 (pow_test): Do not allow some spurious overflow exceptions.
34126 (sqrt_test): Add more tests.
34127 (tgamma_test): Likewise.
34128 (y0_test): Likewise.
34129 (y1_test): Likewise.
34130 (yn_test): Likewise.
34132 2012-03-27 Anton Blanchard <anton@samba.org>
34134 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
34136 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
34137 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
34138 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
34140 2012-03-27 David S. Miller <davem@davemloft.net>
34142 * conform/Makefile: Run run-conformtest.sh using $(BASH).
34144 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
34145 have-as-vis3 check.
34147 2012-03-27 Andreas Jaeger <aj@suse.de>
34149 * sysdeps/x86_64/elf/configure.in: Moved to ...
34150 * sysdeps/x86_64/configure.in: ... here.
34151 * sysdeps/x86_64/elf/start.S: Moved to ...
34152 * sysdeps/x86_64/start.S: ... here.
34153 * sysdeps/x86_64/elf/configure: Delete.
34155 * sysdeps/x86_64/configure.in: Merge contents from
34156 sysdeps/i386/configure.in (without i686 check).
34158 * sysdeps/i386/elf/Versions: Merge into ...
34159 * sysdeps/i386/Versions: ... this.
34160 * sysdeps/i386/elf/Versions: Delete file.
34161 * sysdeps/i386/elf/start.S: Moved to ...
34162 * sysdeps/i386/start.S: ...here.
34163 * sysdeps/i386/elf/configure.in: Merge into...
34164 * sysdeps/i386/configure.in: ...here.
34165 * sysdeps/i386/elf/configure.in: Delete file.
34166 * sysdeps/i386/elf/configure: Delete file.
34168 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
34169 * debug/backtracesyms.c: ... here.
34170 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
34171 * debug/backtracesymsfd.c: ... here.
34172 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
34173 * sysdeps/generic/ifunc-sel.h: ... here.
34175 * sysdeps/unix/i386/start.c: Delete file.
34176 * sysdeps/unix/sparc/start.c: Delete file.
34177 * sysdeps/unix/start.c: Delete file.
34179 * sysdeps/sh/elf/configure.in: Moved to ...
34180 * sysdeps/sh/configure.in: ... here.
34181 * sysdeps/sh/elf/start.S: Moved to ...
34182 * sysdeps/sh/start.S: ... here.
34183 * sysdeps/sh/elf/configure: Delete file.
34185 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
34186 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
34187 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
34188 * sysdeps/powerpc/powerpc64/entry.h: ... here.
34189 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
34190 * sysdeps/powerpc/powerpc64/start.S: here.
34191 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
34192 * sysdeps/powerpc/powerpc64/Makefile: ... this.
34193 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
34194 * sysdeps/powerpc/powerpc64/configure.in: ... this.
34195 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
34197 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
34198 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
34199 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
34200 * sysdeps/powerpc/powerpc32/start.S: ... here.
34201 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
34202 * sysdeps/powerpc/powerpc32/configure.in: ... this.
34203 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
34205 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
34206 * sysdeps/powerpc/ifunc-sel.h: ... here.
34207 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
34208 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
34210 * sysdeps/sparc/elf/configure.in: Moved to ...
34211 * sysdeps/sparc/configure.in: ... here.
34212 * sysdeps/sparc/elf/configure: Delete file.
34213 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
34214 * sysdeps/sparc/sparc32/start.S: ... here.
34215 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
34216 * sysdeps/sparc/sparc64/start.S: ... here.
34217 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
34218 * sysdeps/sparc/sparc32/Makefile: ... this.
34219 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
34220 * sysdeps/sparc/sparc64/Makefile: ... this.
34222 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
34223 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
34224 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
34225 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
34226 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
34227 * sysdeps/s390/s390-32/setjmp.S: ... here.
34228 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
34229 * sysdeps/s390/s390-32/configure.in: ... here.
34230 * sysdeps/s390/s390-32/elf/configure: Delete file.
34231 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
34232 * sysdeps/s390/s390-32/start.S: ... here.
34234 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
34235 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
34236 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
34237 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
34238 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
34239 * sysdeps/s390/s390-64/setjmp.S: ... here.
34240 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
34241 * sysdeps/s390/s390-64/configure.in: ... here
34242 * sysdeps/s390/s390-64/elf/configure: Delete file.
34243 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
34244 * sysdeps/s390/s390-64/start.S: ... here.
34245 * sysdeps/s390/s390-64/elf/configure: Delete.
34247 * configure.in: Remove support for elf directories in sysdeps.
34249 * configure: Regenerated.
34250 * sysdeps/i386/configure: Regenerated.
34251 * sysdeps/powerpc/powerpc32/configure: Regenerated.
34252 * sysdeps/powerpc/powerpc64/configure: Regenerated.
34253 * sysdeps/s390/s390-32/configure: Regenerated.
34254 * sysdeps/s390/s390-64/configure: Regenerated.
34255 * sysdeps/sh/configure: Regenerated.
34256 * sysdeps/sparc/configure: Regenerated.
34257 * sysdeps/x86_64/configure: Regenerated.
34259 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
34261 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34263 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
34264 denormal result into account.
34266 2012-03-25 Roland McGrath <roland@hack.frob.com>
34268 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
34269 Reported by Allan McRae <allan@archlinux.org>.
34271 2012-03-23 Jeff Law <law@redhat.com>
34273 * nss/getnssent.c (__nss_getent): Fix typo.
34275 2012-03-23 David S. Miller <davem@davemloft.net>
34277 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34279 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
34281 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
34282 to pad to uint64_t for each field.
34283 (dl_tls_index): Replace unsigned long with uint64_t.
34285 2012-03-23 Daniel Jacobowitz <dmj@google.com>
34286 Paul Pluzhnikov <ppluzhnikov@google.com>
34289 * grp/Makefile (otherlibs): Don't set it.
34290 * inet/Makefile (otherlibs): Likewise.
34291 * login/Makefile (otherlibs): Likewise.
34292 * nscd/Makefile (otherlibs): Likewise.
34293 * posix/Makefile (otherlibs): Likewise.
34294 * pwd/Makefile (otherlibs): Likewise.
34295 * rt/Makefile (otherlibs): Likewise.
34296 * sunrpc/Makefile (otherlibs): Likewise.
34297 * nss/Makefile (otherlibs): Likewise.
34298 Add libnss_files to routines and static-only-routines.
34299 ($(objpfx)getent): Remove rule.
34300 * resolv/Makefile: Add libnss_dns and libresolv to routines and
34301 static-only-routines.
34303 2012-03-22 Joseph Myers <joseph@codesourcery.com>
34306 * math/s_cexp.c: Include <float.h>.
34307 (__cexp): Handle exp result overflowing not necessarily
34308 overflowing both real and imaginary parts of result.
34309 * math/s_cexpf.c: Likewise.
34310 * math/s_cexpl.c: Likewise.
34311 * math/libm-test.inc (cexp_test): Add more tests.
34312 * sysdeps/i386/fpu/libm-test-ulps: Update.
34313 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34315 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34317 * include/link.h (ELFW): New macro.
34318 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
34319 Replace ELF64_R_TYPE with ELFW(R_TYPE).
34321 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34323 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
34326 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34328 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
34330 (struct La_x32_retval): Likewise.
34332 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34334 * sysdeps/x86_64/preconfigure.in: New file.
34335 * sysdeps/x86_64/preconfigure: New generated file.
34337 2012-03-22 Joseph Myers <joseph@codesourcery.com>
34340 * math/e_exp2l.c: Include <float.h>.
34341 (__ieee754_exp2l): Handle overflow and underflow cases
34342 separately. Only pass fractional part of argument to
34344 * math/libm-test.inc (exp2_test): Add more tests.
34346 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
34347 negating x to take absolute value.
34348 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
34350 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
34351 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
34353 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
34354 computing low part if x was negated.
34355 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
34357 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
34359 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
34360 la_x32_gnu_pltexit.
34361 (pltexit): Cast int_retval to ptrdiff_t.
34362 * elf/tst-auditmod3b.c: Likewise.
34363 * elf/tst-auditmod4b.c: Likewise.
34364 * elf/tst-auditmod5b.c: Likewise.
34365 * elf/tst-auditmod6b.c: Likewise.
34366 * elf/tst-auditmod6c.c: Likewise.
34367 * elf/tst-auditmod7b.c: Likewise.
34369 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
34370 and x32_gnu_pltexit.
34372 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
34373 __ELF_NATIVE_CLASS.
34374 (La_x32_regs): New macro.
34375 (La_x32_retval): Likewise.
34376 (la_x32_gnu_pltenter): New function prototype.
34377 (la_x32_gnu_pltexit): Likewise.
34379 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
34381 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
34384 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34386 * configure.in (libc_cv_cc_nofma): Check for option to disable
34387 generation of FMA instructions.
34388 * configure: Regenerate.
34389 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
34390 * sysdeps/ieee754/dbl-64/Makefile: New file.
34391 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
34392 Remove brandred-fma4.
34393 (CFLAGS-brandred-fma4.c): Remove.
34394 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
34395 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
34397 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
34400 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
34402 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
34403 LLONG_MAX != LONG_MAX.
34404 (_itoa_word): Use _ITOA_WORD_TYPE on value.
34405 (_fitoa_word): Likewise.
34406 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
34407 LLONG_MAX != LONG_MAX.
34408 * stdio-common/_itowa.h: Include <_itoa.h>.
34409 (_itowa_word): Use _ITOA_WORD_TYPE on value.
34410 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
34411 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
34412 only if not defined.
34413 (_ITOA_WORD_TYPE): Likewise.
34414 (_itoa_word): Use _ITOA_WORD_TYPE on value.
34415 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
34417 2012-03-21 David S. Miller <davem@davemloft.net>
34419 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34421 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
34423 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
34424 of x86_64 when setting libc_cv_slibdir, libdir and
34426 * sysdeps/unix/sysv/linux/configure: Regenerated.
34428 2012-03-21 Joseph Myers <joseph@codesourcery.com>
34430 * manual/lang.texi (Old Varargs): Remove section.
34431 (How Variadic): Update menu.
34432 (va_start): Do not mention varargs.h.
34434 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
34435 Joseph Myers <joseph@codesourcery.com>
34437 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
34439 * configure: Regenerated.
34441 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
34443 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
34444 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
34447 2012-03-21 Joseph Myers <joseph@codesourcery.com>
34450 * Makefile (files-for-dist): Remove NOTES.
34451 (NOTES): Remove rule.
34452 * README: Don't refer to NOTES.
34453 * manual/creature.texi: Don't include macros.texi.
34454 * manual/intro.texi (creature.texi): Remove comment referring to
34457 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
34458 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
34459 * configure: Regenerated.
34460 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
34461 LIBC_TRY_CC_OPTION.
34462 (libc_cv_as_i686): Likewise.
34463 (libc_cv_cc_avx): Likewise.
34464 (libc_cv_cc_sse2avx): Likewise.
34465 (libc_cv_cc_fma4): Likewise.
34466 (libc_cv_cc_novzeroupper): Likewise.
34467 * sysdeps/i386/configure: Regenerated.
34470 * sysdeps/i386/fpu/s_cexp.S: Remove.
34471 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
34472 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
34473 * math/libm-test.inc (cexp_test): Add more tests.
34474 * sysdeps/i386/fpu/libm-test-ulps: Update.
34475 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34477 2012-03-21 Allan McRae <allan@archlinux.org>
34479 * timezone/Makefile: Do not install iso3166.tab and zone.tab
34481 2012-03-21 Joseph Myers <joseph@codesourcery.com>
34484 * math/w_exp2.c: Do not include <float.h>.
34485 (o_threshold, u_threshold): Remove.
34486 (__exp2): Calculate result before checking finiteness and calling
34488 * math/w_exp2f.c: Likewise.
34489 * math/w_exp2l.c: Likewise.
34490 * math/libm-test.inc (exp2_test): Require overflow exception for
34494 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
34495 range of signed 64-bit integers before using fistpll. Remove
34496 checks for whether integers fit in mantissa bits.
34497 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
34498 the range of signed 32-bit integers before using fistpl. Remove
34499 checks for whether integers fit in mantissa bits.
34500 * sysdeps/i386/fpu/e_powl.S (p64): New object.
34501 (__ieee754_powl): Test for y outside the range of signed 64-bit
34502 integers before using fistpll. Reduce 64-bit values to 63-bit
34504 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
34505 divide-by-zero is raised for zero to large negative powers.
34506 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
34507 (__ieee754_powl): Test for y outside the range of signed 64-bit
34508 integers before using fistpll. Reduce 64-bit values to 63-bit
34510 * math/libm-test.inc (pow_test): Add more tests.
34512 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
34514 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
34515 <stdio-common/_itoa.h>.
34516 * debug/segfault.c: Likewise.
34517 * elf/dl-cache.c: Likewise.
34518 * elf/dl-minimal.c: Likewise.
34519 * elf/dl-misc.c: Likewise.
34520 * elf/dl-sysdep.c: Likewise.
34521 * elf/dl-version.c: Likewise.
34522 * elf/rtld.c: Likewise.
34523 * hurd/hurdsock.c: Likewise.
34524 * hurd/lookup-retry.c: Likewise.
34525 * malloc/malloc.c: Likewise.
34526 * malloc/mtrace.c: Likewise.
34527 * nscd/nscd_getgr_r.c: Likewise.
34528 * nscd/nscd_getpw_r.c: Likewise.
34529 * nscd/nscd_getserv_r.c: Likewise.
34530 * posix/getopt_init.c: Likewise.
34531 * posix/wordexp.c: Likewise.
34532 * stdio-common/_itoa.c: Likewise.
34533 * stdio-common/printf_fphex.c: Likewise.
34534 * stdio-common/vfprintf.c: Likewise.
34535 * string/_strerror.c: Likewise.
34536 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
34537 * sysdeps/i386/i686/hp-timing.h: Likewise.
34538 * sysdeps/mach/_strerror.c: Likewise.
34539 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
34540 * sysdeps/mach/hurd/sethostid.c: Likewise.
34541 * sysdeps/mach/hurd/xmknodat.c: Likewise.
34542 * sysdeps/mach/xpg-strerror.c: Likewise.
34543 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
34544 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
34545 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
34546 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
34547 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
34548 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
34549 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
34550 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
34551 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
34552 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
34553 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
34554 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
34555 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
34556 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
34557 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
34558 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
34559 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
34560 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
34561 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
34562 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
34563 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
34565 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
34567 * stdio-common/_itoa.h: Moved to ...
34568 * sysdeps/generic/_itoa.h: Here.
34570 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
34572 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
34573 instead of "_itoa.h" and "_itowa.h".
34574 * stdio-common/vfprintf.: Likewise.
34576 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
34578 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
34580 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
34581 (__signbit): Likwise.
34582 (llrintf): Likwise.
34585 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
34587 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
34590 2012-03-20 Joseph Myers <joseph@codesourcery.com>
34592 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
34593 OVERFLOW_EXCEPTION_OK.
34594 * math/libm-test.inc ("Philosophy"): Update comment about
34596 (OVERFLOW_EXCEPTION): Define.
34597 (OVERFLOW_EXCEPTION_OK): Likewise.
34598 (INVALID_EXCEPTION_OK): Renumber.
34599 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34600 (IGNORE_ZERO_INF_SIGN): Likewise.
34601 (test_exceptions): Handle FE_OVERFLOW.
34602 (exp10_test): Expect overflow exceptions.
34603 (exp2_test): Likewise.
34604 (expm1_test): Likewise.
34605 (nextafter_test): Likewise.
34606 (pow_test): Likewise.
34607 (scalbn_test): Likewise.
34608 (scalbln_test): Likewise.
34610 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34612 * sysdeps/x86_64/bits/atomic.h
34613 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
34615 (atomic_exchange_acq): Likewise.
34616 (__arch_exchange_and_add_body): Likewise.
34617 (__arch_add_body): Likewise.
34618 (atomic_add_negative): Likewise.
34619 (atomic_add_zero): Likewise.
34621 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34623 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
34624 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
34626 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34628 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
34629 Check __x86_64__ instead of __WORDSIZE.
34631 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34633 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
34635 2012-03-19 David S. Miller <davem@davemloft.net>
34637 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34639 * sysdeps/sparc/fpu/fenv_private.h: New file.
34640 * sysdeps/sparc/fpu/math_private.h: Use it.
34641 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
34643 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
34644 (libc_feholdexcept_setroundl): Remove.
34645 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
34647 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
34648 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
34650 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34652 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
34653 int64_t instead of long int.
34654 (INSERT_WORDS64): Likwise.
34656 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34658 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
34659 _Unwind_GetCFA return to _Unwind_Ptr first.
34661 2012-03-19 Joseph Myers <joseph@codesourcery.com>
34664 * math/s_clog.c: Include <float.h>.
34665 (__clog): Scale large or subnormal inputs.
34666 * math/s_clogf.c: Likewise.
34667 * math/s_clogl.c: Likewise.
34668 * math/s_clog10.c: Include <float.h>.
34669 (M_LOG10_2): Define.
34670 (__clog10): Scale large or subnormal inputs.
34671 * math/s_clog10f.c: Likewise.
34672 * math/s_clog10l.c: Likewise.
34673 * math/libm-test.inc (clog_test): Add more tests.
34674 (clog10_test): Likewise.
34675 * sysdeps/i386/fpu/libm-test-ulps: Update.
34676 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34679 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
34681 * math/libm-test.inc (atan2_test): Add another test.
34683 * Makerules (common-objdir-compile): Remove.
34684 * sysdeps/unix/Makefile (config-generated): Do not add
34685 $(unix-generated) to variable.
34686 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
34687 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
34689 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
34691 [generic bits/local_lim.h] (before-compile): Do not append to
34693 [generic bits/local_lim.h] (common-generated): Likewise.
34694 [generic sys/param.h] (before-compile): Do not append to variable.
34695 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
34696 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
34697 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
34698 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
34700 [generic sys/param.h] (sys/param.h-includes): Remove variable.
34701 [generic sys/param.h] (sys/param.h-includes): Remove rule.
34702 [generic sys/param.h] ($(addprefix
34703 $(common-objpfx),$(sys/param.h-includes))): Likewise.
34704 [generic sys/param.h] (common-generated): Do not append to
34706 [generic sys/param.h] (sysdep_headers): Likewise.
34707 [generic bits/errno.h] (before-compile): Do not append to
34709 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
34711 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
34712 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
34713 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
34714 [generic bits/errno.h] (common-generated): Do not append to
34716 [generic bits/ioctls.h] (before-compile): Do not append to
34718 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
34720 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
34721 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
34722 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
34724 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
34725 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
34726 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
34727 [generic bits/ioctls.h] (common-generated): Do not append to
34729 [generic sys/syscall.h] (syscall.h): Remove variable.
34730 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
34732 [generic sys/syscall.h] (before-compile): Do not append to
34734 [generic sys/syscall.h] (common-generated): Likewise.
34735 * sysdeps/unix/errnos-tmpl.c: Remove file.
34736 * sysdeps/unix/errnos.awk: Likewise.
34737 * sysdeps/unix/ioctls-tmpl.c: Likewise.
34738 * sysdeps/unix/ioctls.awk: Likewise.
34739 * sysdeps/unix/mk-local_lim.c: Likewise.
34740 * sysdeps/unix/snarf-ioctls: Likewise.
34742 2012-03-19 Richard Henderson <rth@twiddle.net>
34744 * sysdeps/i386/fpu/fenv_private.h: New file.
34745 * sysdeps/i386/fpu/math_private.h: Use it.
34746 (math_opt_barrier, math_force_eval): Remove.
34747 (libc_feholdexcept_setround_53bit): Remove.
34748 (libc_feupdateenv_53bit): Remove.
34749 * sysdeps/x86_64/fpu/math_private.h: Likewise.
34750 (math_opt_barrier, math_force_eval): Remove.
34751 (libc_feholdexcept): Remove.
34752 (libc_feholdexcept_setround): Remove.
34753 (libc_fetestexcept, libc_fesetenv): Remove.
34754 (libc_feupdateenv_test): Remove.
34755 (libc_feupdateenv, libc_feholdsetround): Remove.
34756 (libc_feresetround): Remove.
34758 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
34759 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
34761 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
34762 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
34763 (libc_feupdateenv_testl): New.
34764 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
34765 (libc_feupdateenv_testf): New.
34766 (libc_feupdateenv): Use libc_feupdateenv_test.
34767 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
34768 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
34770 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
34771 (libc_feholdsetroundf, libc_feholdsetroundl): New.
34772 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
34773 (libc_feresetround_noex): New.
34774 (libc_feresetround_noexf): New.
34775 (libc_feresetround_noexl): New.
34776 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
34777 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
34778 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
34779 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
34781 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
34782 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
34784 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
34785 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
34786 SET_RESTORE_ROUND_NOEX.
34787 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
34788 SET_RESTORE_ROUND_NOEXF.
34789 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
34790 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
34791 (libc_feholdsetroundf): New.
34792 (libc_feresetround, libc_feresetroundf): New.
34794 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
34795 (libc_feholdexcept_setround_53bit): Convert from macro to function.
34796 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
34798 * sysdeps/generic/math_private.h: Include <fenv.h>.
34799 (default_libc_feholdexcept): New.
34800 (default_libc_feholdexcept_setround): New.
34801 (default_libc_fesetenv, default_libc_feupdateenv): New.
34802 (libc_feholdexcept): Only define if undefined.
34803 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
34804 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
34805 (libc_feholdexcept_setroundl): Likewise.
34806 (libc_feholdexcept_setround_53bit): Likewise.
34807 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
34808 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
34809 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
34810 (libc_feupdateenv_53bit): Likewise.
34811 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
34812 (libc_feholdexcept): Convert from macro to inline function.
34813 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
34814 (libc_fesetenv, libc_feupdateenv): Likewise.
34816 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
34817 not previously defined.
34818 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
34819 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
34820 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
34821 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
34822 * sysdeps/ieee754/flt-32/math_private.h: New file.
34823 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
34824 math_private.h below SET_FLOAT_WORD.
34825 (__isnan, __isinf_ns, __finite): Remove.
34826 (__isnanf, __isinf_nsf, __finitef): Remove.
34828 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
34830 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34832 2012-03-17 David S. Miller <davem@davemloft.net>
34835 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
34838 2012-03-16 David S. Miller <davem@davemloft.net>
34840 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
34844 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
34846 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
34847 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
34848 sysdep_routines when subdir is sysvipc.
34849 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
34850 __getshmlba helper.
34852 * sysdeps/sparc/fpu/libm-test/ulps: Update.
34854 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34856 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
34859 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34861 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
34862 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
34863 (__lround): Renamed to ...
34864 (__llround): This. Replace long int with long long int.
34865 Define lround functions as aliases of llround functions.
34866 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
34868 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34870 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
34871 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
34872 adresses to uintptr_t. Replace "long int" and "unsigned long
34873 int" with "greg_t" on va_arg.
34875 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34877 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
34878 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
34880 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
34881 Move e_machine check before EI_CLASS check. Handle x32
34882 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
34883 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
34884 SKIP_EM_IA_64 and include
34885 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
34887 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
34888 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
34889 (add_system_dir): New macro.
34891 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
34892 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
34894 2012-03-16 Joseph Myers <joseph@codesourcery.com>
34905 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
34907 * math/w_j0f.c (j0f): Likewise.
34909 * math/w_j0l.c (__j0l): Likewise.
34911 * math/w_j1.c (j1): Likewise.
34913 * math/w_j1f.c (j1f): Likewise.
34915 * math/w_j1l.c (__j1l): Likewise.
34917 * math/w_jn.c (jn): Likewise.
34919 * math/w_jnf.c (jnf): Likewise.
34921 * math/w_jnl.c (__jnl): Likewise.
34923 * math/libm-test.inc (j0_test): Add more tests.
34924 (j1_test): Likewise.
34925 (jn_test): Likewise. Add trailing semicolon to existing test.
34926 (y0_test): Likewise.
34927 (y1_test): Likewise.
34928 * sysdeps/i386/fpu/libm-test-ulps: Update.
34929 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34933 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
34934 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
34935 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
34936 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
34937 (__tanl): Set errno for infinite argument.
34938 * sysdeps/i386/fpu/mptan.c: Remove.
34939 * sysdeps/i386/fpu/s_tan.S: Likewise.
34940 * sysdeps/i386/fpu/s_tanl.S: Likewise.
34941 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
34942 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
34943 * math/libm-test.inc (tan_test): Add more tests and enable more
34944 tests for double and long double.
34945 * sysdeps/i386/fpu/libm-test-ulps: Update.
34946 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34948 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
34950 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
34951 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
34953 2012-03-16 Roland McGrath <roland@hack.frob.com>
34955 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
34956 * configure.in: Use it for both main tree and add-ons.
34957 * configure: Regenerated.
34959 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34961 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
34963 2012-03-16 Joseph Myers <joseph@codesourcery.com>
34965 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
34969 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
34970 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
34971 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
34972 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
34973 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
34975 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
34976 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
34977 != 0 for prec == 2.
34978 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
34979 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
34980 * sysdeps/i386/fpu/s_cosl.S: Likewise.
34981 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
34982 * sysdeps/i386/fpu/s_sinl.S: Likewise.
34983 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
34984 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
34985 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
34986 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
34987 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
34988 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
34989 * math/libm-test.inc (cos_test): Add more tests and enable more
34990 tests for long double.
34991 (sin_test): Likewise.
34992 (sincos_test): Likewise.
34993 * sysdeps/i386/fpu/libm-test-ulps: Update.
34994 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34996 2012-03-16 David S. Miller <davem@davemloft.net>
34998 * sysdeps/sparc/fpu/math_private.h: New file.
35000 2012-03-15 David S. Miller <davem@davemloft.net>
35002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
35004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
35005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
35007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
35008 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
35009 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
35010 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
35011 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
35012 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
35014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
35016 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
35017 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
35019 * sysdeps/sparc/sparc-ifunc.h: New file.
35020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
35022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
35023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
35025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
35027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
35028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
35029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
35030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
35032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
35033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
35034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
35035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
35036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
35038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
35040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
35041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
35042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
35043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
35044 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
35045 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
35046 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
35047 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
35048 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
35049 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
35050 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
35051 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
35052 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
35053 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
35054 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
35055 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
35056 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
35057 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
35058 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
35059 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
35060 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
35061 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
35062 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
35063 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
35065 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
35067 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
35069 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35071 2012-03-15 Andreas Jaeger <aj@suse.de>
35074 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
35075 ieee754/flt-32 implementation for sin, cos and sincos.
35076 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
35077 * sysdeps/i386/fpu/s_cosf.S: Likewise.
35078 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
35079 * sysdeps/i386/fpu/s_sinf.S: Likewise.
35080 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
35081 ieee754/flt-32 implementation for tan.
35083 * math/libm-test.inc (cos_test): Enable some large input tests for
35085 (sin_test): Likewise.
35086 (sincos_test): Likewise.
35087 (tan_test): Add tests for large input.
35089 * sysdeps/i386/fpu/libm-test-ulps: Update.
35091 2012-03-15 Andreas Jaeger <aj@suse.de>
35094 * math/libm-test.inc (cos_test): Add more test cases.
35095 (sin_test): Likewise.
35096 (sincos_test): Likewise.
35098 2012-03-15 Andreas Jaeger <aj@suse.de>
35101 * math/libm-test.inc (cos_test): Add a test case for large input
35103 (sin_test): Likewise.
35104 (sincos_test): Likewise.
35106 2012-03-15 Andreas Jaeger <aj@suse.de>
35107 Joseph Myers <joseph@codesourcery.com>
35110 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
35111 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
35112 * sysdeps/i386/fpu/branred.c: Likewise.
35113 * sysdeps/i386/fpu/dosincos.c: Likewise.
35114 * sysdeps/i386/fpu/mpa.c: Likewise.
35115 * sysdeps/i386/fpu/s_cos.S: Likewise.
35116 * sysdeps/i386/fpu/s_sin.S: Likewise.
35117 * sysdeps/i386/fpu/s_sincos.S: Likewise.
35118 * sysdeps/i386/fpu/sincos32.c: Likewise.
35120 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
35122 (libc_feupdateenv_53bit): Define.
35123 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
35125 (libc_feupdateenv_53bit): Define.
35127 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
35128 53 bit (without extend i386 double precision).
35130 * math/libm-test.inc (sincos_test): Add tests for large input.
35134 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
35136 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
35138 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35140 2012-03-15 David S. Miller <davem@davemloft.net>
35142 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
35143 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
35144 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
35145 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
35146 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
35147 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
35148 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
35149 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
35150 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
35151 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
35152 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
35153 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
35154 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
35155 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
35156 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
35157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
35159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
35160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
35162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
35163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
35165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
35166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
35168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
35169 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
35170 fmin/fmax sysdep routines.
35171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
35173 2012-03-14 David S. Miller <davem@davemloft.net>
35175 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
35176 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
35177 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
35178 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
35179 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
35180 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
35181 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
35182 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
35183 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
35184 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
35185 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
35186 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
35187 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
35188 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
35189 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
35190 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
35191 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
35192 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
35193 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
35194 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
35195 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
35196 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
35197 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
35198 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
35199 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
35200 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
35201 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
35202 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
35203 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
35205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
35207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
35208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
35210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
35211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
35213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
35214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
35216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
35217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
35219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
35220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
35222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
35224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
35226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
35228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
35230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
35232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
35234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
35235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
35237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
35238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
35240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
35241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
35243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
35244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
35247 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
35250 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35252 * sysdeps/sparc/configure.in: New file.
35253 * sysdeps/sparc/configure: Generate.
35254 * configure.in (libc_cv_sparc_as_vis3): Substitute.
35255 * configure: Regenerate.
35256 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
35257 * config.make.in (have-as-vis3): New.
35258 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
35259 available use -Av9d instead of -Av9a.
35260 * sysdeps/sparc/sparc64/Makefile: Likewise.
35261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
35262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
35264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
35266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
35268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
35270 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
35271 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
35272 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
35273 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
35274 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
35276 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
35277 fzeros/fnegs to load 0x80000000 into a float register instead of
35279 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
35281 2012-03-14 Joseph Myers <joseph@codesourcery.com>
35283 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35285 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
35286 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
35287 ($(inst_includedir)/bits/syscall.h): Remove rule.
35288 ($(objpfx)bits/syscall.d): Include instead of
35289 $(objpfx)syscall-list.d.
35290 (generated): Change syscall-list.h and syscall-list.d to
35291 bits/syscall.h and bits/syscall.d.
35293 2012-03-14 Roland McGrath <roland@hack.frob.com>
35296 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
35298 2012-03-14 Joseph Myers <joseph@codesourcery.com>
35301 * math/s_csqrt.c: Include <float.h>.
35302 (__csqrt): Scale large or subnormal inputs.
35303 * math/s_csqrtf.c: Likewise.
35304 * math/s_csqrtl.c: Likewise.
35305 * math/libm-test.inc (csqrt_test): Add more tests.
35306 * sysdeps/i386/fpu/libm-test-ulps: Update.
35307 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35310 * math/libm-test.inc (hypot_test): Add more tests.
35312 2012-03-13 David S. Miller <davem@davemloft.net>
35315 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
35316 double-precision for the calculation instead of scaling.
35318 2012-03-13 Joseph Myers <joseph@codesourcery.com>
35320 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
35321 manipulate bits before adding and subtracting TWO52[sx].
35322 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
35323 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
35325 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
35327 2012-03-13 David S. Miller <davem@davemloft.net>
35329 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
35330 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
35331 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
35332 rtld-global-offsets.h
35333 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35335 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
35338 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
35340 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
35341 'err' in the ifdef scope in which it is actually used.
35343 * nss/nss_db/db-init.c: Include string.h
35345 2012-03-12 David S. Miller <davem@davemloft.net>
35347 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
35348 masking out of the most significant byte of random value used.
35349 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35350 Fix coding style in previous change.
35352 * sysdeps/unix/sysv/linux/kernel-features.h
35353 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
35354 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
35356 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
35359 2012-03-11 David S. Miller <davem@davemloft.net>
35361 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
35362 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
35363 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
35364 for 'resultvar' otherwise things get truncated on 64-bit.
35366 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35367 Fix masking out of the most significant byte of random value used.
35369 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35371 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
35373 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35375 2012-03-09 David S. Miller <davem@davemloft.net>
35377 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
35378 variables with appropriate CPP guards.
35379 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
35380 from the frame pointer, not the stack pointer. Correct layout
35381 comments. Fix test on resulting framesize and the management of
35382 the outregs buffer for pltexit. Preserve floating point return
35383 values across _dl_call_pltexit call.
35384 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
35385 framesize and the management of the outregs buffer for pltexit.
35386 Preserve floating point return values across _dl_call_pltexit
35388 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
35389 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
35390 (la_sparc64_gnu_pltexit): New functions.
35391 (print_exit): Fix format string for return register value.
35393 2012-03-10 Joseph Myers <joseph@codesourcery.com>
35395 * sunrpc/Makefile (others): Add rpcgen.
35396 ($(objpfx)rpcgen): Remove special build rule and dependency on
35398 * sunrpc/rpcgen.c: New file.
35400 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
35403 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
35404 * stdio-common/bug-vfprintf-nargs.c: Likewise.
35405 * sysdeps/i386/crti.S: Likewise.
35406 * sysdeps/i386/crtn.S: Likewise.
35407 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
35408 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
35409 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
35410 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
35411 * sysdeps/sh/crti.S: Likewise.
35412 * sysdeps/sh/crtn.S: Likewise.
35413 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
35416 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
35418 * locale/programs/locfile-kw.gperf: Likewise.
35419 * locale/programs/charmap-kw.h: Regenerated.
35420 * locale/programs/locfile-kw.h: Likewise.
35423 * intl/plural.y: Replace FSF snail mail address with URL.
35424 * intl/plural.c: Regenerated.
35426 2012-03-09 Richard Henderson <rth@twiddle.net>
35428 * include/math_private.h: Remove file.
35429 * math/math_private.h: Move file ...
35430 * sysdeps/generic/math_private.h: ... here.
35432 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
35433 * sysdeps/powerpc/fpu/math_private.h: Likewise.
35434 * sysdeps/x86_64/fpu/math_private.h: Likewise.
35436 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
35437 and <math_private.h>.
35438 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
35439 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
35440 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
35441 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
35442 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
35443 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
35444 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
35445 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
35446 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
35447 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
35448 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
35449 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35450 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
35451 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
35452 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
35453 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
35454 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
35455 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
35456 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
35457 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
35458 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
35459 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
35460 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
35461 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
35462 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
35463 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
35464 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
35465 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
35466 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
35467 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35468 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
35469 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
35470 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
35471 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
35472 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
35473 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
35474 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
35475 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
35476 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
35477 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35478 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
35479 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
35480 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
35481 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
35482 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
35483 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
35484 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
35485 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
35486 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
35487 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
35488 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
35489 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
35490 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
35491 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
35492 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
35493 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
35494 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
35495 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
35496 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
35497 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
35498 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
35499 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
35500 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
35501 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
35502 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
35503 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
35504 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
35505 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
35506 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
35507 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
35508 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
35509 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
35510 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
35511 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
35512 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
35513 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
35514 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
35515 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35516 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
35517 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
35518 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
35519 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
35520 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
35521 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
35522 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
35523 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
35524 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
35525 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
35526 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
35527 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35528 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35529 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
35530 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35531 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
35532 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
35533 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
35534 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
35535 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
35536 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
35537 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
35538 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
35539 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
35540 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
35541 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
35542 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35543 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
35544 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
35545 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
35546 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35547 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35548 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35549 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35550 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
35551 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35552 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
35553 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
35554 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35555 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
35556 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35557 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
35558 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35559 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
35560 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
35561 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
35562 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35563 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
35564 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
35565 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
35566 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
35567 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
35568 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
35569 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
35570 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35571 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
35572 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
35573 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
35574 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
35575 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
35576 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
35577 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
35578 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
35579 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
35580 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
35581 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
35582 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
35583 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
35584 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
35585 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
35586 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
35587 * sysdeps/ieee754/k_standard.c: Likewise.
35588 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
35589 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
35590 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35591 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
35592 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
35593 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
35594 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
35595 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
35596 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
35597 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
35598 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
35599 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
35600 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
35601 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
35602 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
35603 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
35604 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
35605 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
35606 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
35607 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
35608 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
35609 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
35610 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35611 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
35612 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
35613 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
35614 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
35615 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
35616 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
35617 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35618 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
35619 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
35620 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
35621 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
35622 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
35623 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
35624 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
35625 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
35626 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
35627 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
35628 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
35629 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
35630 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
35631 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
35632 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
35633 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
35634 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
35635 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
35636 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
35637 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35638 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35639 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
35640 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
35641 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
35642 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35643 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35644 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
35645 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
35646 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
35647 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
35648 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35649 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
35650 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
35651 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
35652 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35653 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35654 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
35655 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
35656 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
35657 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
35658 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
35659 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35660 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
35661 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
35662 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
35663 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
35664 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
35665 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
35666 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
35667 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
35668 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
35669 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
35670 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
35671 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
35672 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
35673 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
35674 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
35675 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
35676 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
35677 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
35678 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
35679 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
35680 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
35681 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
35682 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
35683 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
35684 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
35685 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
35686 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
35687 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
35688 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
35689 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
35690 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35691 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
35692 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
35693 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35694 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35695 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
35696 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
35697 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
35698 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
35699 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
35700 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
35701 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35702 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
35703 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
35704 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
35705 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35706 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
35707 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
35708 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
35709 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
35710 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
35711 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
35712 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35713 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
35714 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
35715 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
35716 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
35717 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35718 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
35719 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
35720 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
35721 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
35722 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
35723 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
35724 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
35725 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
35726 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
35727 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
35728 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
35729 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
35730 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
35731 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
35732 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
35733 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
35734 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
35735 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
35736 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
35737 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
35738 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
35739 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
35740 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
35741 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
35742 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
35743 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
35744 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
35745 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
35746 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
35747 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
35748 * sysdeps/ieee754/s_lib_version.c: Likewise.
35749 * sysdeps/ieee754/s_matherr.c: Likewise.
35750 * sysdeps/ieee754/s_signgam.c: Likewise.
35751 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
35752 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
35753 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
35754 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
35755 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
35756 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
35757 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
35758 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
35759 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
35760 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
35761 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
35762 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
35763 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
35764 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
35765 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
35766 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
35767 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
35768 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
35769 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
35770 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35771 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
35773 2012-03-09 Joseph Myers <joseph@codesourcery.com>
35775 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
35776 * sunrpc/rpc_main.c: Likewise.
35777 * sunrpc/rpc_svcout.c: Likewise.
35779 2012-03-09 David S. Miller <davem@davemloft.net>
35781 * include/math_private.h: New file.
35783 2012-03-09 Joseph Myers <joseph@codesourcery.com>
35785 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
35786 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
35787 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
35788 from <bits/socket_type.h>.
35789 (enum __socket_type): Don't define here.
35790 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
35791 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35792 bits/socket_type.h.
35795 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
35796 checking __USE_GNU.
35798 * Makerules ($(inst_includedir)/%.h): New rule.
35799 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
35800 (install-others): Remove variable setting.
35801 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
35803 2012-03-08 Richard Henderson <rth@twiddle.net>
35805 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
35806 from macro to inline function; merge with the
35807 !__LIBC_INTERNAL_MATH_INLINES version.
35808 (__ieee754_sqrtf): Likewise.
35810 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
35811 to inline function.
35812 (__rintf, __floor, __floorf): Likewise.
35814 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
35815 macro to inline function.
35816 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
35818 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
35819 not <math/math_private.h>.
35821 2012-03-08 David S. Miller <davem@davemloft.net>
35823 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
35825 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
35827 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
35829 * resolv/gai_misc.c (handle_requests): Fix struct timespec
35831 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
35832 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
35834 2012-03-08 Ulrich Drepper <drepper@gmail.com>
35836 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
35837 be defined individually, they must be defined as a block. Define
35838 S for printing a string instead of hidint the different by using a
35839 macro for adding the 'l'.
35840 * stdio-common/tst-fphex-wide.c: Adjust.
35842 2012-03-07 Marek Polacek <polacek@redhat.com>
35844 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
35846 2012-03-08 Marek Polacek <polacek@redhat.com>
35849 * stdio-common/Makefile (tests): Add tst-fphex-wide.
35850 * stdio-common/tst-fphex.c: Define a few macros to make the
35851 test reusable. Use them.
35852 * stdio-common/tst-fphex-wide.c: New file.
35854 2012-03-08 Joseph Myers <joseph@codesourcery.com>
35857 * manual/macros.texi (gnusystems): New macro.
35858 (nongnusystems): Likewise.
35859 (gnulinuxhurdsystems): Likewise.
35860 (gnuhurdsystems): Likewise..
35861 (gnulinuxsystems): Likewise.
35862 * manual/charset.texi: Use new macros or @theglibc{} to refer to
35863 variants of the GNU system, not "GNU system".
35864 * manual/conf.texi: Likewise.
35865 * manual/errno.texi: Likewise. Update example of errno macro
35867 * manual/filesys.texi: Likewise.
35868 (getumask): Document as specific to GNU/Hurd.
35869 * manual/install.texi: Likewise. Reword some references to
35871 * manual/intro.texi: Likewise.
35872 * manual/io.texi: Likewise.
35873 (File Name Portability): Detail which constraints are inapplicable
35874 to all GNU systems and which are only inapplicable to GNU/Hurd.
35875 * manual/job.texi: Likewise.
35876 * manual/llio.texi: Likewise.
35877 (O_NOCTTY): Document as present on GNU/Linux.
35878 * manual/maint.texi: Likewise.
35879 * manual/memory.texi: Likewise.
35880 * manual/pattern.texi: Likewise.
35881 * manual/pipe.texi: Likewise.
35882 * manual/process.texi: Likewise.
35883 * manual/resource.texi: Likewise.
35884 (RUSAGE_CHILDREN): Remove statement about specifying a particular
35886 * manual/setjmp.texi: Likewise.
35887 * manual/signal.texi: Likewise.
35888 * manual/startup.texi: Likewise.
35889 * manual/stdio.texi: Likewise.
35890 * manual/terminal.texi: Likewise.
35891 (ONLCR): Document as POSIX.
35892 (OXTABS): Document availability on GNU/Linux as XTABS.
35893 (ONOEOT): Document availability separately from other bits.
35894 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
35895 * manual/time.texi: Likewise.
35896 * manual/users.texi: Likewise.
35897 * INSTALL: Regenerated.
35898 * sysdeps/gnu/errlist.c: Regenerated.
35900 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
35901 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
35902 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
35904 * configure: Regenerated.
35906 2012-03-07 Joseph Myers <joseph@codesourcery.com>
35908 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
35909 default includes instead of AC_HEADER_CHECK.
35910 * sysdeps/i386/configure: Regenerated.
35913 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
35914 * math/s_cacoshf.c (__cacoshf): Likewise.
35915 * math/s_cacoshl.c (__cacoshl): Likewise.
35916 * math/s_casinh.c (__casinh): Set signs of result from argument.
35917 * math/s_casinhf.c (__casinhf): Likewise.
35918 * math/s_casinhl.c (__casinhl): Likewise.
35919 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
35920 (casinh_test): Add more tests.
35921 * sysdeps/i386/fpu/libm-test-ulps: Update.
35922 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35924 2012-03-07 Ulrich Drepper <drepper@gmail.com>
35926 * po/zh_TW.po: Update from translation team.
35928 * login/Makefile (distribute): Remove variable.
35929 * catgets/Makefile: Likewise.
35930 * mach/Makefile: Likewise.
35931 * malloc/Makefile: Likewise.
35932 * misc/Makefile: Likewise.
35933 * iconv/Makefile: Likewise.
35934 * nscd/Makefile: Likewise.
35935 * hurd/Makefile: Likewise.
35936 * manual/Makefile: Likewise.
35937 * locale/Makefile: Likewise.
35938 * intl/Makefile: Likewise.
35939 * conform/Makefile: Likewise.
35940 * nss/Makefile: Likewise.
35941 * time/Makefile: Likewise.
35942 * soft-fp/Makefile: Likewise.
35943 * dirent/Makefile: Likewise.
35944 * gmon/Makefile: Likewise.
35945 * po/Makefile: Likewise.
35946 * rt/Makefile: Likewise.
35947 * socket/Makefile: Likewise.
35948 * math/Makefile: Likewise.
35949 * signal/Makefile: Likewise.
35950 * debug/Makefile: Likewise.
35951 * elf/Makefile: Likewise.
35952 * timezone/Makefile: Likewise.
35953 * stdlib/Makefile: Likewise.
35954 * iconvdata/Makefile: Likewise.
35955 * sunrpc/Makefile: Likewise.
35956 * io/Makefile: Likewise.
35957 * argp/Makefile: Likewise.
35958 * inet/Makefile: Likewise.
35959 * hesiod/Makefile: Likewise.
35960 * grp/Makefile: Likewise.
35961 * csu/Makefile: Likewise.
35962 * wctype/Makefile: Likewise.
35963 * crypt/Makefile: Likewise.
35964 * libio/Makefile: Likewise.
35965 * string/Makefile: Likewise.
35966 * nis/Makefile: Likewise.
35967 * resolv/Makefile: Likewise.
35968 * stdio-common/Makefile: Likewise.
35969 * wcsmbs/Makefile: Likewise.
35970 * dlfcn/Makefile: Likewise.
35971 * posix/Makefile: Likewise.
35974 * timezone/Makefile: Don't install timezone files, just the programs
35977 2012-03-06 Ulrich Drepper <drepper@gmail.com>
35979 * nss/databases.def: Add missing gshadow entry.
35981 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
35983 2012-03-06 Marek Polacek <polacek@redhat.com>
35986 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
35987 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
35988 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
35989 * stdio-common/tst-long-dbl-fphex.c: New file.
35991 2012-03-06 David S. Miller <davem@davemloft.net>
35993 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35994 (set_obp_int): New function.
35995 (get_obp_int): New function.
35996 (__get_clockfreq_via_dev_openprom): Likewise.
35997 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
35998 Avoid unused variable warnings on 'val' and use builtin_expect.
35999 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
36001 (INLINE_CLONE_SYSCALL): Likewise.
36003 2012-03-05 David S. Miller <davem@davemloft.net>
36005 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36007 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
36009 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36011 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
36012 only for |x| >= 40.
36013 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
36015 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
36017 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
36018 Replace gettimeofday with __vdso_gettimeofday.
36020 * sysdeps/unix/sysv/linux/x86_64/init-first.c
36021 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
36022 __vdso_clock_gettime and __vdso_getcpu.
36024 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
36025 time with __vdso_time.
36027 2012-03-05 Joseph Myers <joseph@codesourcery.com>
36029 * manual/lang.texi (size_t): Note types to which size_t may be
36030 equivalent with the GNU C Library, but do not describe when
36031 differences between them are significant.
36033 2012-03-05 Andreas Jaeger <aj@suse.de>
36035 * sysdeps/i386/fpu/libm-test-ulps: Update.
36037 2012-03-05 Joseph Myers <joseph@codesourcery.com>
36040 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
36041 (__ieee754_pow): Save and restore rounding mode and use
36042 round-to-nearest for main computations.
36043 * math/libm-test.inc (pow_test_tonearest): New function.
36044 (pow_test_towardzero): Likewise.
36045 (pow_test_downward): Likewise.
36046 (pow_test_upward): Likewise.
36047 (main): Call the new functions.
36048 * sysdeps/i386/fpu/libm-test-ulps: Update.
36049 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36052 * math/libm-test.inc (cosh_test_tonearest): New function.
36053 (cosh_test_towardzero): Likewise.
36054 (cosh_test_downward): Likewise.
36055 (cosh_test_upward): Likewise.
36056 (sinh_test_tonearest): Likewise.
36057 (sinh_test_towardzero): Likewise.
36058 (sinh_test_downward): Likewise.
36059 (sinh_test_upward): Likewise.
36060 (main): Call the new functions.
36061 * sysdeps/i386/fpu/libm-test-ulps: Update.
36062 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36064 2012-03-05 Tom de Vries <tom@codesourcery.com>
36066 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
36067 default stack guard is set in last bytes.
36068 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
36070 2012-03-05 Kees Cook <keescook@chromium.org>
36072 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
36075 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
36076 possibly allocate from heap instead of stack.
36077 * stdio-common/bug-vfprintf-nargs.c: New file.
36078 * stdio-common/Makefile (tests): Add nargs overflow test.
36080 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
36082 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36084 2012-03-03 Marek Polacek <polacek@redhat.com>
36086 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
36087 * math/math_private.h: Likewise.
36088 * stdlib/tst-strtod.c: Likewise.
36089 * sysdeps/i386/i486/bits/atomic.h: Likewise.
36090 * sysdeps/x86_64/bits/atomic.h: Likewise.
36092 2012-03-02 David S. Miller <davem@davemloft.net>
36094 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
36095 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
36096 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
36097 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
36098 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
36099 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
36100 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
36101 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
36103 2012-03-02 Roland McGrath <roland@hack.frob.com>
36106 * manual/examples/README: New file, says the example source files
36107 can be used under GPL>=2.
36108 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
36109 line containing just "*/".
36110 * manual/examples/add.c: Add copyright header (GPL>=2).
36111 * manual/examples/argp-ex1.c: Likewise.
36112 * manual/examples/argp-ex2.c: Likewise.
36113 * manual/examples/argp-ex3.c: Likewise.
36114 * manual/examples/argp-ex4.c: Likewise.
36115 * manual/examples/atexit.c: Likewise.
36116 * manual/examples/db.c: Likewise.
36117 * manual/examples/dir.c: Likewise.
36118 * manual/examples/dir2.c: Likewise.
36119 * manual/examples/execinfo.c: Likewise.
36120 * manual/examples/filecli.c: Likewise.
36121 * manual/examples/filesrv.c: Likewise.
36122 * manual/examples/fmtmsgexpl.c: Likewise.
36123 * manual/examples/genpass.c: Likewise.
36124 * manual/examples/inetcli.c: Likewise.
36125 * manual/examples/inetsrv.c: Likewise.
36126 * manual/examples/isockad.c: Likewise.
36127 * manual/examples/longopt.c: Likewise.
36128 * manual/examples/memopen.c: Likewise.
36129 * manual/examples/memstrm.c: Likewise.
36130 * manual/examples/mkfsock.c: Likewise.
36131 * manual/examples/mkisock.c: Likewise.
36132 * manual/examples/mygetpass.c: Likewise.
36133 * manual/examples/pipe.c: Likewise.
36134 * manual/examples/popen.c: Likewise.
36135 * manual/examples/rprintf.c: Likewise.
36136 * manual/examples/search.c: Likewise.
36137 * manual/examples/select.c: Likewise.
36138 * manual/examples/setjmp.c: Likewise.
36139 * manual/examples/sigh1.c: Likewise.
36140 * manual/examples/sigusr.c: Likewise.
36141 * manual/examples/stpcpy.c: Likewise.
36142 * manual/examples/strdupa.c: Likewise.
36143 * manual/examples/strftim.c: Likewise.
36144 * manual/examples/strncat.c: Likewise.
36145 * manual/examples/subopt.c: Likewise.
36146 * manual/examples/swapcontext.c: Likewise.
36147 * manual/examples/termios.c: Likewise.
36148 * manual/examples/testopt.c: Likewise.
36149 * manual/examples/testpass.c: Likewise.
36150 * manual/examples/timeval_subtract.c: Likewise.
36153 * manual/time.texi (Elapsed Time): Move timeval_subtract example
36155 * manual/timeval_subtract.c.texi: ... here, new file.
36157 2012-03-02 David S. Miller <davem@davemloft.net>
36159 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
36161 2012-03-02 Joseph Myers <joseph@codesourcery.com>
36164 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
36165 (__sin): Save and restore rounding mode and use round-to-nearest
36166 for all computations.
36167 (__cos): Save and restore rounding mode and use round-to-nearest
36168 for all computations.
36169 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
36171 (tan): Save and restore rounding mode and use round-to-nearest for
36173 * math/libm-test.inc (cos_test_tonearest): New function.
36174 (cos_test_towardzero): Likewise.
36175 (cos_test_downward): Likewise.
36176 (cos_test_upward): Likewise.
36177 (sin_test_tonearest): Likewise.
36178 (sin_test_towardzero): Likewise.
36179 (sin_test_downward): Likewise.
36180 (sin_test_upward): Likewise.
36181 (tan_test_tonearest): Likewise.
36182 (tan_test_towardzero): Likewise.
36183 (tan_test_downward): Likewise.
36184 (tan_test_upward): Likewise.
36185 (main): Call the new functions.
36186 * sysdeps/i386/fpu/libm-test-ulps: Update.
36187 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36190 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
36191 small n, then large n, before computing and testing k+n.
36192 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
36193 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
36195 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
36197 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
36198 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
36199 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
36200 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
36201 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
36202 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
36203 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
36204 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
36205 * math/libm-test.inc (scalbn_test): Add more tests.
36206 (scalbln_test): Likewise.
36208 * manual/filesys.texi (mode_t): Describe constraints on size and
36209 signedness, not exact equivalence to a particular type.
36211 (ino64_t): Likewise.
36213 (nlink_t): Likewise.
36214 (blkcnt_t): Likewise.
36215 (blkcnt64_t): Likewise.
36216 * manual/llio.texi (off_t): Likewise.
36219 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
36220 (__ieee754_exp): Save and restore rounding mode and use
36221 round-to-nearest for all computations.
36222 * math/libm-test.inc (exp_test_tonearest): New function.
36223 (exp_test_towardzero): Likewise.
36224 (exp_test_downward): Likewise.
36225 (exp_test_upward): Likewise.
36226 (main): Call the new functions.
36227 * sysdeps/i386/fpu/libm-test-ulps: Update.
36228 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36230 2012-03-01 Chris Demetriou <cgd@google.com>
36232 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
36233 have predictable order.
36235 2012-03-01 David S. Miller <davem@davemloft.net>
36237 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
36239 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
36240 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
36241 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
36242 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
36244 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
36245 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
36246 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
36247 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
36248 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
36249 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
36250 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
36251 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
36252 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
36254 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36256 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
36257 * sysdeps/sparc/fpu/libm-test-ulps: to here.
36258 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
36260 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
36261 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
36262 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
36263 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
36264 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
36265 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
36266 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
36267 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
36268 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
36269 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
36270 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
36271 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36272 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
36273 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
36274 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
36275 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36276 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
36277 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
36278 * sysdeps/sparc/elf/configure: Regenerated.
36280 2012-03-01 Joseph Myers <joseph@codesourcery.com>
36282 * configure.in (AS, LD): Require binutils 2.20 or later.
36283 * configure: Regenerated.
36284 * manual/install.texi (Tools for Compilation): Give binutils 2.20
36285 as required minimum version.
36286 * INSTALL: Regenerated.
36290 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
36291 before squaring exponent.
36292 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
36293 bottom long double and 27 bits of top long double before squaring
36295 * math/libm-test.inc (erfc_test): Add more tests.
36296 * sysdeps/i386/fpu/libm-test-ulps: Update.
36297 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36298 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36300 2012-03-01 Kai Tietz <ktietz@redhat.com>
36302 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
36303 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
36304 containing bit-fields.
36305 * soft-fp/extended.h (_FP_UNION_E): Likewise.
36306 * soft-fp/single.h (_FP_UNION_S): Likewise.
36307 * soft-fp/double.h (_FP_UNION_D): Likewise.
36309 2012-02-29 Joseph Myers <joseph@codesourcery.com>
36312 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
36313 not include ../strcmp.S.
36314 [USE_AS_STRNCASECMP_L]: Likewise.
36315 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
36316 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
36317 * sysdeps/i386/i686/multiarch/strncase_l-c.c
36318 (__strncasecmp_l_ia32): Define as alias to
36319 __strncasecmp_l_nonascii.
36322 * math/libm-test.inc (expm1_test): Add test for bug 5794.
36323 * sysdeps/i386/fpu/libm-test-ulps: Update.
36324 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36326 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
36327 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36329 2012-02-29 Jeff Law <law@redhat.com>
36331 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
36332 out of bounds read.
36334 2012-02-29 Marek Polacek <polacek@redhat.com>
36337 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
36338 * elf/Makefile: Add rules to run tst-unused-dep.out.
36340 2012-02-28 David S. Miller <davem@davemloft.net>
36342 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
36343 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
36344 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
36345 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
36346 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
36347 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
36349 2012-02-29 Joseph Myers <joseph@codesourcery.com>
36351 * math/libm-test.inc (llround_test): Move one test from
36352 lround_test. Use TEST_f_L in moved test.
36353 (lround_test): Move misplaced test to llround_test. Add testcase
36356 2012-02-28 Ulrich Drepper <drepper@gmail.com>
36358 * sysdeps/x86_64/fpu/e_expf.S: New file.
36359 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
36361 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
36364 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
36365 of remain_len that may cause incomplete multi-byte character and
36367 * posix/bug-regex33.c: New file.
36368 * posix/Makefile (tests): Add bug-regex33.
36370 2012-02-28 Joseph Myers <joseph@codesourcery.com>
36372 * manual/macros.texi: New file.
36373 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
36374 * manual/libc.texinfo: Include macros.texi.
36375 * manual/creatute.texi: Likewise.
36376 * manual/install.texi: Likewise.
36377 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
36378 @glibcadj{} in references to the GNU C Library.
36379 * manual/charset.texi: Likewise.
36380 * manual/conf.texi: Likewise.
36381 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
36382 when not using those macros.
36383 * manual/creature.texi: Likewise.
36384 * manual/crypt.texi: Likewise.
36385 * manual/errno.texi: Likewise.
36386 * manual/filesys.texi: Likewise.
36387 * manual/header.texi: Likewise.
36388 * manual/install.texi: Likewise.
36389 * manual/intro.texi: Likewise.
36390 * manual/io.texi: Likewise.
36391 * manual/job.texi: Likewise.
36392 * manual/lang.texi: Likewise.
36393 * manual/libc.texiinfo: Likewise.
36394 * manual/llio.texi: Likewise.
36395 * manual/locale.texi: Likewise.
36396 * manual/maint.texi: Likewise.
36397 * manual/math.texi: Likewise.
36398 * manual/memory.texi: Likewise.
36399 * manual/message.texi: Likewise.
36400 * manual/nss.texi: Likewise.
36401 * manual/pattern.texi: Likewise.
36402 * manual/process.texi: Likewise.
36403 * manual/resource.texi: Likewise.
36404 * manual/search.texi: Likewise.
36405 * manual/setjmp.texi: Likewise.
36406 * manual/signal.texi: Likewise.
36407 * manual/socket.texi: Likewise.
36408 * manual/startup.texi: Likewise.
36409 * manual/stdio.texi: Likewise.
36410 * manual/string.texi: Likewise.
36411 * manual/sysinfo.texi: Likewise.
36412 * manual/syslog.texi: Likewise.
36413 * manual/terminal.texi: Likewise.
36414 * manual/time.texi: Likewise.
36415 * manual/users.texi: Likewise.
36416 * INSTALL: Regenerated.
36417 * NOTES: Regenerated.
36418 * sysdeps/gnu/errlist.c: Regenerated.
36420 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
36422 * include/dirent.h: Include <dirstream.h> before
36425 2012-02-28 David S. Miller <davem@davemloft.net>
36427 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
36428 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
36429 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
36430 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
36432 2012-02-27 David S. Miller <davem@davemloft.net>
36434 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
36435 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
36436 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
36437 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
36439 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
36440 frame pointer instead of stack pointer relative arg slot.
36441 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
36442 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
36443 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
36445 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
36448 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
36450 2012-02-27 David S. Miller <davem@davemloft.net>
36452 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
36453 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
36454 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
36455 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
36456 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
36457 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
36458 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
36459 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
36461 2012-02-27 Joseph Myers <joseph@codesourcery.com>
36463 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
36464 later. Allow versions 5-9.
36465 * configure: Regenerated.
36466 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
36467 required minimum version and 4.6 as recommended version. Do not
36468 mention bugs in GCC 2.7 and 2.8.
36469 * INSTALL: Regenerated.
36471 2012-02-27 David S. Miller <davem@davemloft.net>
36473 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
36474 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
36475 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
36476 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
36477 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
36478 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
36479 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
36480 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
36482 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
36483 manipulate bits before adding and subtracting TWO112[sx].
36484 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
36486 2012-02-27 Roland McGrath <roland@hack.frob.com>
36489 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
36490 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
36491 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
36492 being in POSIX, because they are in 1003.1-2008.
36494 * rt/tst-aio.c: Include <fcntl.h>.
36495 * rt/tst-aio7.c: Likewise.
36496 * rt/tst-aio64.c: Likewise.
36498 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
36500 2012-02-27 Joseph Myers <joseph@codesourcery.com>
36502 * manual/install.texi (--with-headers): Describe headers as
36503 interface headers, not private headers.
36504 (Specific advice for GNU/Linux systems): Describe use of headers
36505 from "make headers_install", not private headers from older
36507 * INSTALL: Regenerated.
36508 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
36510 * sysdeps/unix/sysv/linux/configure: Regenerated.
36512 * manual/llio.texi (fclean): Remove documentation.
36514 * manual/Makefile (libc-texi-generated): New variable. Include
36516 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
36517 $(libc-texi-generated), not duplicated list of files.
36518 (version.texi, stamp-version): New rules.
36519 (realclean): Remove $(libc-texi-generated), not individual files
36520 from that list. Do not remove dir-add.texinfo.
36521 * manual/libc.texinfo: Comment out uses of edition numbers and
36522 references to printed manual. Remove last-updated dates.
36523 (EDITION): Comment out.
36525 (VERSION, UPDATED): Remove.
36526 (version.texi): Include.
36528 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
36530 * sysdeps/posix/spawni.c: Include <signal.h>.
36531 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
36532 * sysdeps/pthread/aio_fsync.c: Likewise.
36534 2012-02-26 Ulrich Drepper <drepper@gmail.com>
36536 * conform/Makefile (tests): Run only when not cross-compiling and
36537 when fast-check is not defined.
36539 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
36540 * conform/data/limits.h-data: Fixes for POSIX2008.
36541 * conform/run-conformtest.sh: Run all tests.
36542 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
36544 * include/bits/dlfcn.h: Likewise.
36545 * include/langinfo.h: Likewise.
36546 * include/monetary.h: Likewise.
36547 * include/sys/poll.h: Likewise.
36549 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
36551 * posix/spawn.h: Define __need_sigset_t.
36552 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
36553 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
36554 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
36555 to get sigevent_t only.
36556 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
36557 only for __USE_GNU.
36558 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36559 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
36560 process_vm_writev only for __USE_GNU.
36561 * termios/termios.h: Declare tcgetsid also for POSIX2008.
36563 * conform/Makefile: For now ignore errors from run-conformtest.
36564 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
36565 POSIX to avoid namespace pollution. Don't prepend headers.
36566 * conform/data/aio.h-data: Fixes for POSIX testing.
36567 * conform/data/fcntl.h-data: Likewise.
36568 * conform/data/glob.h-data: Likewise.
36569 * conform/data/grp.h-data: Likewise.
36570 * conform/data/pthread.h-data: Likewise.
36571 * conform/data/pwd.h-data: Likewise.
36572 * conform/data/signal.h-data: Likewise.
36573 * conform/data/spawn.h-data: Likewise.
36574 * conform/data/stdio.h-data: Likewise.
36575 * conform/data/stdlib.h-data: Likewise.
36576 * conform/data/stropts.h-data: Likewise.
36577 * conform/data/sys/mman.h-data: Likewise.
36578 * conform/data/sys/stat.h-data: Likewise.
36579 * conform/data/sys/types.h-data: Likewise.
36580 * conform/data/sys/wait.h-data: Likewise.
36581 * conform/data/time.h-data: Likewise.
36582 * conform/data/unistd.h-data: Likewise.
36583 * conform/data/utime.h-data: Likewise.
36585 * io/sys/stat.h: fchmod was always in POSIX.
36586 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
36587 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
36588 * rt/aio.h: Define __need_timespec before including <time.h>.
36589 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
36590 struct. Add forward declaration of pthread_attr_t and use it in
36592 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
36593 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
36594 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
36595 always remove CLK_TCK definition.
36597 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
36599 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
36601 2012-02-25 Ulrich Drepper <drepper@gmail.com>
36603 * conform/run-conformtest.sh: New file.
36604 * conform/Makefile: Run run-conformtest for tests.
36605 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
36608 * conform/data/uchar.h-data: New file.
36609 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
36610 * conform/data/arpa/inet.h-data: Likewise.
36611 * conform/data/assert.h-data: Likewise.
36612 * conform/data/complex.h-data: Likewise.
36613 * conform/data/cpio.h-data: Likewise.
36614 * conform/data/ctype.h-data: Likewise.
36615 * conform/data/dirent.h-data: Likewise.
36616 * conform/data/dlfcn.h-data: Likewise.
36617 * conform/data/errno.h-data: Likewise.
36618 * conform/data/fcntl.h-data: Likewise.
36619 * conform/data/float.h-data: Likewise.
36620 * conform/data/fmtmsg.h-data: Likewise.
36621 * conform/data/fnmatch.h-data: Likewise.
36622 * conform/data/ftw.h-data: Likewise.
36623 * conform/data/glob.h-data: Likewise.
36624 * conform/data/grp.h-data: Likewise.
36625 * conform/data/iconv.h-data: Likewise.
36626 * conform/data/inttypes.h-data: Likewise.
36627 * conform/data/langinfo.h-data: Likewise.
36628 * conform/data/libgen.h-data: Likewise.
36629 * conform/data/limits.h-data: Likewise.
36630 * conform/data/locale.h-data: Likewise.
36631 * conform/data/math.h-data: Likewise.
36632 * conform/data/monetary.h-data: Likewise.
36633 * conform/data/mqueue.h-data: Likewise.
36634 * conform/data/ndbm.h-data: Likewise.
36635 * conform/data/net/if.h-data: Likewise.
36636 * conform/data/netdb.h-data: Likewise.
36637 * conform/data/netinet/in.h-data: Likewise.
36638 * conform/data/nl_types.h-data: Likewise.
36639 * conform/data/poll.h-data: Likewise.
36640 * conform/data/pthread.h-data: Likewise.
36641 * conform/data/pwd.h-data: Likewise.
36642 * conform/data/regex.h-data: Likewise.
36643 * conform/data/sched.h-data: Likewise.
36644 * conform/data/search.h-data: Likewise.
36645 * conform/data/semaphore.h-data: Likewise.
36646 * conform/data/setjmp.h-data: Likewise.
36647 * conform/data/signal.h-data: Likewise.
36648 * conform/data/spawn.h-data: Likewise.
36649 * conform/data/stdarg.h-data: Likewise.
36650 * conform/data/stdio.h-data: Likewise.
36651 * conform/data/stdlib.h-data: Likewise.
36652 * conform/data/string.h-data: Likewise.
36653 * conform/data/strings.h-data: Likewise.
36654 * conform/data/stropts.h-data: Likewise.
36655 * conform/data/sys/ipc.h-data: Likewise.
36656 * conform/data/sys/mman.h-data: Likewise.
36657 * conform/data/sys/msg.h-data: Likewise.
36658 * conform/data/sys/resource.h-data: Likewise.
36659 * conform/data/sys/select.h-data: Likewise.
36660 * conform/data/sys/sem.h-data: Likewise.
36661 * conform/data/sys/shm.h-data: Likewise.
36662 * conform/data/sys/socket.h-data: Likewise.
36663 * conform/data/sys/stat.h-data: Likewise.
36664 * conform/data/sys/statvfs.h-data: Likewise.
36665 * conform/data/sys/time.h-data: Likewise.
36666 * conform/data/sys/timeb.h-data: Likewise.
36667 * conform/data/sys/times.h-data: Likewise.
36668 * conform/data/sys/types.h-data: Likewise.
36669 * conform/data/sys/uio.h-data: Likewise.
36670 * conform/data/sys/un.h-data: Likewise.
36671 * conform/data/sys/utsname.h-data: Likewise.
36672 * conform/data/sys/wait.h-data: Likewise.
36673 * conform/data/syslog.h-data: Likewise.
36674 * conform/data/tar.h-data: Likewise.
36675 * conform/data/termios.h-data: Likewise.
36676 * conform/data/utime.h-data: Likewise.
36677 * conform/data/utmpx.h-data: Likewise.
36678 * conform/data/varargs.h-data: Likewise.
36679 * conform/data/wchar.h-data: Likewise.
36680 * conform/data/wctype.h-data: Likewise.
36681 * conform/data/wordexp.h-data: Likewise.
36683 * include/stropts.h: New file.
36684 * include/uchar.h: New file.
36685 * include/aio.h: Changes to allow conformtest.pl to use the headers.
36686 * include/assert.h: Likewise.
36687 * include/ctype.h: Likewise.
36688 * include/dirent.h: Likewise.
36689 * include/dlfcn.h: Likewise.
36690 * include/fcntl.h: Likewise.
36691 * include/fnmatch.h: Likewise.
36692 * include/glob.h: Likewise.
36693 * include/grp.h: Likewise.
36694 * include/libio.h: Likewise.
36695 * include/locale.h: Likewise.
36696 * include/math.h: Likewise.
36697 * include/net/if.h: Likewise.
36698 * include/netdb.h: Likewise.
36699 * include/netinet/in.h: Likewise.
36700 * include/pthread.h: Likewise.
36701 * include/pwd.h: Likewise.
36702 * include/regex.h: Likewise.
36703 * include/sched.h: Likewise.
36704 * include/search.h: Likewise.
36705 * include/setjmp.h: Likewise.
36706 * include/signal.h: Likewise.
36707 * include/stdio.h: Likewise.
36708 * include/stdlib.h: Likewise.
36709 * include/string.h: Likewise.
36710 * include/sys/cdefs.h: Likewise.
36711 * include/sys/mman.h: Likewise.
36712 * include/sys/msg.h: Likewise.
36713 * include/sys/resource.h: Likewise.
36714 * include/sys/select.h: Likewise.
36715 * include/sys/socket.h: Likewise.
36716 * include/sys/stat.h: Likewise.
36717 * include/sys/statvfs.h: Likewise.
36718 * include/sys/time.h: Likewise.
36719 * include/sys/times.h: Likewise.
36720 * include/sys/uio.h: Likewise.
36721 * include/sys/utsname.h: Likewise.
36722 * include/sys/wait.h: Likewise.
36723 * include/termios.h: Likewise.
36724 * include/time.h: Likewise.
36725 * include/ulimit.h: Likewise.
36726 * include/unistd.h: Likewise.
36727 * include/utime.h: Likewise.
36728 * include/wchar.h: Likewise.
36729 * include/wctype.h: Likewise.
36730 * include/wordexp.h: Likewise.
36732 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
36734 * time/time.h: TIME_UTC must be a macro.
36735 Make timespec_get available for ISO C11 only as well.
36737 2012-02-24 Ulrich Drepper <drepper@gmail.com>
36739 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
36740 Reported by Peng Haitao <penght@cn.fujitsu.com>.
36742 2012-02-24 Joseph Myers <joseph@codesourcery.com>
36744 * configure.in: Use -o not -a in test for unsupported multi-arch.
36746 2012-02-24 Joseph Myers <joseph@codesourcery.com>
36748 * manual/texinfo.tex: Update to version 2012-01-19.16.
36750 2012-02-24 Joseph Myers <joseph@codesourcery.com>
36752 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
36754 2012-02-24 Roland McGrath <roland@hack.frob.com>
36757 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
36758 * manual/fdl-1.3.texi: New file.
36759 * manual/fdl-1.1.texi: File removed.
36762 * manual/libc.texinfo (FDL_VERSION): New @set.
36763 Use it for mention of FDL in cover text.
36764 (Documentation License): Use it in @include file name.
36766 2012-02-22 Joseph Myers <joseph@codesourcery.com>
36767 Roland McGrath <roland@hack.frob.com>
36770 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
36771 (not LONG_LONG_MAX and LONG_LONG_MIN.
36772 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
36773 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
36775 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
36777 2012-02-22 Joseph Myers <joseph@codesourcery.com>
36781 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
36782 manipulate bits before adding and subtracting TWO23[sx].
36783 * math/libm-test.inc (nearbyint_test): Add more tests.
36785 2012-02-22 Joseph Myers <joseph@codesourcery.com>
36788 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
36789 bits before adding and subtracting TWO23[sx].
36790 * math/libm-test.inc (rint_test): Add more tests.
36791 (rint_test_tonearest): Likewise.
36792 (rint_test_towardzero): Likewise.
36793 (rint_test_downward): Likewise.
36794 (rint_test_upward: Likewise.
36796 2012-02-22 Joseph Myers <joseph@codesourcery.com>
36799 * include/stdc-predef.h: New file. Extracted from features.h.
36800 * include/features.h: Include stdc-predef.h.
36801 * Makefile (headers): Add stdc-predef.h.
36802 * CONFORMANCE (Compiler limitations): Update.
36804 2012-02-22 Joseph Myers <joseph@codesourcery.com>
36806 * manual/libc.texinfo (VERSION, UPDATED): Revert.
36808 2012-02-21 David S. Miller <davem@davemloft.net>
36810 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
36811 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
36813 2012-02-20 David S. Miller <davem@davemloft.net>
36815 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
36816 using a normal save/restore sequence, rather than allocating a
36817 dummy stack frame just to store a frame pointer and restore.
36818 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36820 2012-02-21 Joseph Myers <joseph@codesourcery.com>
36822 * manual/install.texi: Fix stray word in line-wrapped comment.
36824 2012-02-20 David S. Miller <davem@davemloft.net>
36826 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
36827 both binutils and gcc support GOTDATA.
36829 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
36830 "rd %pc" in the PIC register setup sequences.
36832 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
36833 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
36834 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
36835 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
36836 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
36837 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
36838 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36839 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36840 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
36841 (SYSCALL_ERROR_HANDLER): Likewise.
36842 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
36843 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
36844 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
36845 (SYSCALL_ERROR_HANDLER): Likewise.
36847 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
36848 (HAVE_GCC_GOTDATA): New.
36849 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
36850 relocation support in both binutils and gcc.
36851 * sysdeps/sparc/elf/configure: Regenerate.
36853 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
36854 * sysdeps/sparc/sparc32/elf/configure: Delete.
36855 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
36856 * sysdeps/sparc/sparc64/elf/configure: Delete.
36857 * sysdeps/sparc/elf/configure.in: New file.
36858 * sysdeps/sparc/elf/configure: Generate.
36860 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
36861 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
36862 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
36863 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
36864 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
36866 2012-02-21 Joseph Myers <joseph@codesourcery.com>
36868 * manual/install.texi: Do not mention specific glibc version
36870 * manual/libc.texinfo (VERSION, UPDATED): Update.
36871 (@copying): Use @copyright{} and range of years.
36873 2012-02-21 Joseph Myers <joseph@codesourcery.com>
36876 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
36877 [crti.S not in sysdirs] (generated): Do not append.
36878 [crti.S not in sysdirs] (omit-deps): Likewise.
36879 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
36880 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
36881 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
36882 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
36883 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
36885 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
36886 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
36887 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
36888 * csu/defs.awk: Remove file.
36889 * sysdeps/generic/initfini.c: Likewise.
36890 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
36892 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
36895 2012-02-20 Joseph Myers <joseph@codesourcery.com>
36897 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
36898 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
36899 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
36900 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
36901 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36902 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
36904 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
36905 (__EPOLL_PACKED): Define to empty if not defined by
36907 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
36908 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36911 2012-02-20 Joseph Myers <joseph@codesourcery.com>
36913 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
36914 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
36915 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
36916 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
36918 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
36919 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36922 2012-02-20 Joseph Myers <joseph@codesourcery.com>
36924 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
36926 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36927 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
36928 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
36929 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36931 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
36933 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
36934 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
36936 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
36938 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
36939 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
36941 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
36943 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
36946 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
36948 * math/w_acos.c: Use non-signaling floating-point comparisons.
36949 * math/w_acosf.c: Likewise.
36950 * math/w_acosh.c: Likewise.
36951 * math/w_acoshf.c: Likewise.
36952 * math/w_acoshl.c: Likewise.
36953 * math/w_acosl.c: Likewise.
36954 * math/w_asin.c: Likewise.
36955 * math/w_asinf.c: Likewise.
36956 * math/w_asinl.c: Likewise.
36957 * math/w_atanh.c: Likewise.
36958 * math/w_atanhf.c: Likewise.
36959 * math/w_atanhl.c: Likewise.
36960 * math/w_exp2.c: Likewise.
36961 * math/w_exp2f.c: Likewise.
36962 * math/w_exp2l.c: Likewise.
36963 * math/w_j0.c: Likewise.
36964 * math/w_j0f.c: Likewise.
36965 * math/w_j0l.c: Likewise.
36966 * math/w_j1.c: Likewise.
36967 * math/w_j1f.c: Likewise.
36968 * math/w_j1l.c: Likewise.
36969 * math/w_jn.c: Likewise.
36970 * math/w_jnf.c: Likewise.
36971 * math/w_log.c: Likewise.
36972 * math/w_log10.c: Likewise.
36973 * math/w_log10f.c: Likewise.
36974 * math/w_log10l.c: Likewise.
36975 * math/w_log2.c: Likewise.
36976 * math/w_log2f.c: Likewise.
36977 * math/w_log2l.c: Likewise.
36978 * math/w_logf.c: Likewise.
36979 * math/w_logl.c: Likewise.
36980 * math/w_sqrt.c: Likewise.
36981 * math/w_sqrtf.c: Likewise.
36982 * math/w_sqrtl.c: Likewise.
36983 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
36984 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
36985 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36986 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
36987 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
36989 2012-02-19 Joseph Myers <joseph@codesourcery.com>
36992 * manual/string.texi (strnlen): Use correct parameter name in
36993 equivalent expression.
36995 2012-02-19 Joseph Myers <joseph@codesourcery.com>
36998 * manual/users.texi (seteuid): Consistently use neweuid for
37001 2012-02-19 Joseph Myers <joseph@codesourcery.com>
37004 * manual/nss.texi (Services in the NSS configuration): Correct
37005 list of services in example configuration file.
37007 2012-02-19 Nick Bowler <nbowler@draconx.ca>
37010 * manual/arith.texi: Remove statements about negative zero
37011 behaving identically to zero.
37013 2012-02-18 Joseph Myers <joseph@codesourcery.com>
37016 * manual/install.texi: Do not document upgrading from libc5.
37018 2012-02-18 Joseph Myers <joseph@codesourcery.com>
37021 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
37023 2012-02-18 David S. Miller <davem@davemloft.net>
37025 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
37026 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
37027 %o7 across the call.
37028 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
37030 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
37031 SETUP_PIC_REG_LEAF.
37032 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37033 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
37034 * sysdeps/sparc/crtn.S: Likewise.
37036 2012-02-17 Ulrich Drepper <drepper@gmail.com>
37038 * aout/Makefile: Remove.
37040 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
37043 * manual/examples/argp-ex1.c (main): Format definition in GNU
37045 * manual/examples/argp-ex2.c (main): Likewise.
37046 * manual/examples/argp-ex3.c (main): Likewise.
37047 * manual/examples/argp-ex4.c (main): Likewise.
37048 * manual/examples/longopt.c (main): Use new-style prototype
37050 * manual/examples/strncat.c (main): Specify return type and use
37051 (void) for arguments.
37052 * manual/examples/subopt.c (main): Use char **argv argument.
37054 2012-02-17 Joseph Myers <joseph@codesourcery.com>
37057 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
37060 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
37063 * manual/string.texi (strchr): Change when strchrnul is
37066 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
37069 * manual/locale.texi (setlocale): Document LOCPATH.
37071 2012-02-17 Joseph Myers <joseph@codesourcery.com>
37074 * manual/process.texi (execle): Move @dots{} before last argument.
37076 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
37079 * manual/charset.texi (Generic Charset Conversion): Fix typo
37080 (LC_TYPE -> LC_CTYPE).
37082 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
37085 * manual/arith.texi (scalbn): Use @var{} on parameter names.
37086 (scalbnf): Likewise.
37087 (scalbnl): Likewise.
37088 (scalbln): Likewise.
37089 (scalblnf): Likewise.
37090 (scalblnl): Likewise.
37091 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
37092 (vwarnx): Likewise.
37095 * manual/filesys.texi (telldir): Use braces around return type.
37096 * manual/llio.texi (mmap): Add space after comma.
37097 (mmap64): Likewise.
37098 * manual/math.texi (jn): Use @var{} on parameter names.
37104 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
37106 * manual/resource.texi (ulimit): Use @dots{} instead of literal
37108 (sched_get_priority_min): Remove semicolon on @deftypefun line.
37109 (sched_get_priority_max): Likewise.
37110 * manual/signal.texi (sigvec): Add space after comma.
37111 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
37113 (if_indextoname): Likewise.
37114 (if_freenameindex): Likewise.
37115 (sendto): Use ',' instead of '.' in prototype.
37116 * manual/startup.texi (syscall): Use @dots{} instead of literal
37118 * manual/stdio.texi (__fpending): Separate initial words of
37119 paragraph from @deftypefun line.
37120 * manual/syslog.texi (syslog): Use @dots{} instead of literal
37122 (vsyslog): Use @var{} on parameter names.
37123 * manual/terminal.texi (stty): Use @var{} on parameter names.
37124 * manual/users.texi (getutmp): Use @var{} on parameter names.
37125 (getutmpx): Likewise.
37127 2012-02-17 Joseph Myers <joseph@codesourcery.com>
37130 * manual/stdio.texi (fopen): Fix typos in description of
37133 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
37136 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
37137 get clock_id definition.
37139 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
37142 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
37143 (madvise): Cast every argument to void on its own.
37145 2012-02-17 Joseph Myers <joseph@codesourcery.com>
37148 * manual/startup.texi (Exit Status): Fix typo.
37150 2012-02-17 Joseph Myers <joseph@codesourcery.com>
37153 * manual/examples/argp-ex1.c: Include <stdlib.h>.
37154 * manual/examples/argp-ex2.c: Likewise.
37155 * manual/examples/argp-ex3.c: Likewise.
37157 2012-02-16 Richard Henderson <rth@redhat.com>
37159 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
37160 * sysdeps/s390/s390-32/initfini.c: Remove.
37161 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
37162 * sysdeps/s390/s390-64/initfini.c: Remove.
37164 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
37166 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
37167 compiler output for sysdeps/generic/initfini.c.
37168 * sysdeps/sh/elf/initfini.c: Remove file.
37170 2012-02-16 David S. Miller <davem@davemloft.net>
37173 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
37175 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
37176 * sysdeps/sparc/crti.S: New file.
37177 * sysdeps/sparc/crtn.S: New file.
37178 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
37179 * sysdeps/sparc/sparc64/Makefile: Likewise.
37181 2012-02-15 Mike Frysinger <vapier@gentoo.org>
37184 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
37186 2012-02-15 Roland McGrath <roland@hack.frob.com>
37189 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
37191 * mach/devstream.c (cookie_io_functions_t): Macro removed.
37192 (write, read, close): Likewise.
37193 Patch by Aurelien Jarno <aurelien@aurel32.net>.
37195 2012-02-15 Joseph Myers <joseph@codesourcery.com>
37197 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
37198 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
37199 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
37200 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
37202 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
37203 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37206 2012-02-14 Marek Polacek <polacek@redhat.com>
37208 * sysdeps/x86_64/crti.S: New file.
37209 * sysdeps/x86_64/crtn.S: New file.
37210 * sysdeps/x86_64/elf/initfini.c: Remove file.
37212 2012-02-13 Joseph Myers <joseph@codesourcery.com>
37214 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
37215 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
37216 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
37217 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
37219 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
37220 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37223 2012-02-13 Joseph Myers <joseph@codesourcery.com>
37225 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
37226 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
37227 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
37228 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
37230 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
37231 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37234 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
37236 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
37237 __feraiseexcept instead of feraiseexcept.
37239 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
37240 nanosleep invocations.
37241 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
37242 strings, and add error checking for a nanosleep invocations.
37244 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
37246 Replace FSF snail mail address with URLs, as per GNU coding standards.
37247 Most of the snail mail addresses were wrong anyway, and omitting
37248 them makes the source code easier to maintain. Almost all of the
37249 changes are to license notices and to locale LC_IDENTIFICATION
37250 addresses, except for this one:
37251 * manual/libc.texinfo: In "Published by", give the FSF's URL,
37252 not its snail mail address.
37254 2012-02-09 Richard Henderson <rth@twiddle.net>
37256 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
37257 of kernel-features.h.
37259 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
37261 2012-02-08 Marek Polacek <polacek@redhat.com>
37263 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
37264 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
37265 * sysdeps/gnu/_G_config.h: Likewise.
37266 * sysdeps/generic/_G_config.h: Likewise.
37268 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
37270 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
37272 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37274 * sysdeps/powerpc/powerpc32/crti.S: New file.
37275 * sysdeps/powerpc/powerpc32/crtn.S: New file.
37276 * sysdeps/powerpc/powerpc64/crti.S: New file.
37277 * sysdeps/powerpc/powerpc64/crtn.S: New file.
37279 * Makeconfig (have-initfini): Don't set.
37280 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
37281 * configure.in (nopic_initfini): Don't substitute.
37282 * config.h.in (HAVE_INITFINI): Don't #undef.
37283 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
37284 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
37286 2012-02-08 Joseph Myers <joseph@codesourcery.com>
37288 Support crti.S and crtn.S provided directly by architectures.
37289 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
37290 [crti.S in sysdirs] (omit-deps): Likewise.
37291 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
37292 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
37293 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
37294 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
37295 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
37296 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
37297 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
37298 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
37299 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
37300 compiler output for sysdeps/generic/initfini.c.
37301 * sysdeps/i386/elf/Makefile: Remove file.
37302 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
37304 2012-02-07 Marek Polacek <polacek@redhat.com>
37306 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
37307 * sysdeps/gnu/_G_config.h: Likewise.
37308 * sysdeps/mach/hurd/_G_config.h: Likewise.
37310 2012-02-07 Marek Polacek <polacek@redhat.com>
37312 * math/Makefile (tests): Add tst-CMPLX2.
37313 * math/tst-CMPLX2.c: New file.
37315 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
37317 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37319 * math/libm-test.inc (jn_test): Add missing L suffix.
37321 2012-02-06 Marek Polacek <polacek@redhat.com>
37323 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
37324 * sysdeps/i386/fpu/e_powf.S: Likewise.
37325 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
37326 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
37327 * sysdeps/i386/fpu/e_acosh.S: Likewise.
37328 * sysdeps/i386/fpu/e_pow.S: Likewise.
37329 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
37330 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
37331 * sysdeps/i386/fpu/s_expm1.S: Likewise.
37332 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
37333 * sysdeps/i386/fpu/e_log2.S: Likewise.
37334 * sysdeps/i386/fpu/e_log2l.S: Likewise.
37335 * sysdeps/i386/fpu/e_scalb.S: Likewise.
37336 * sysdeps/i386/fpu/e_powl.S: Likewise.
37337 * sysdeps/i386/fpu/s_log1p.S: Likewise.
37338 * sysdeps/i386/fpu/e_log10f.S: Likewise.
37339 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
37340 * sysdeps/i386/fpu/e_logl.S: Likewise.
37341 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
37342 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
37343 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
37344 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
37345 * sysdeps/i386/fpu/e_log2f.S: Likewise.
37346 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
37347 * sysdeps/i386/fpu/e_log.S: Likewise.
37348 * sysdeps/i386/fpu/s_cexp.S: Likewise.
37349 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
37350 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
37351 * sysdeps/i386/fpu/e_logf.S: Likewise.
37352 * sysdeps/i386/fpu/e_log10l.S: Likewise.
37353 * sysdeps/i386/fpu/e_atanh.S: Likewise.
37354 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
37355 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
37356 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
37357 * sysdeps/i386/fpu/e_log10.S: Likewise.
37358 * sysdeps/i386/fpu/s_frexp.S: Likewise.
37359 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
37360 * sysdeps/i386/fpu/s_asinh.S: Likewise.
37361 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
37362 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
37363 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
37364 * sysdeps/i386/asm-syntax.h: Likewise.
37365 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
37366 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37367 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
37368 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
37369 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
37370 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
37371 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
37372 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
37373 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
37374 * sysdeps/powerpc/sysdep.h: Likewise.
37375 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
37376 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
37378 2012-02-06 Joseph Myers <joseph@codesourcery.com>
37381 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
37383 2012-02-06 Joseph Myers <joseph@codesourcery.com>
37385 * sysdeps/i386/sysdep.h: Include <features.h>.
37386 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
37389 2012-02-05 Joseph Myers <joseph@codesourcery.com>
37391 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
37393 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
37396 2012-02-03 Joseph Myers <joseph@codesourcery.com>
37398 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
37399 (SETUP_PIC_REG): Use GET_PC_THUNK.
37400 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
37403 2012-02-03 Joseph Myers <joseph@codesourcery.com>
37405 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
37406 for non-PIC compilation.
37407 (SETUP_PIC_REG): Add .p2align directive.
37408 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
37409 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
37410 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
37411 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
37412 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
37413 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
37414 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
37415 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
37416 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
37417 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
37418 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
37419 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
37420 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
37421 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
37422 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
37423 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
37424 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
37425 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
37426 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
37427 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
37428 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
37429 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
37430 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
37431 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
37432 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
37433 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
37434 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37435 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
37436 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
37437 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
37438 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
37439 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37440 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
37441 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
37442 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
37443 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
37444 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
37445 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
37446 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
37447 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
37448 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
37450 2012-02-03 Joseph Myers <joseph@codesourcery.com>
37452 * math/tst-CMPLX.c: Include <stdio.h>.
37454 2012-01-31 Joseph Myers <joseph@codesourcery.com>
37456 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
37458 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
37459 * sysdeps/sparc/bits/mathdef.h: Likewise.
37461 2012-01-31 Marek Polacek <polacek@redhat.com>
37463 * libio/libio.h: Don't define _PARAMS.
37464 * locale/programs/config.h: Don't define PARAMS.
37465 * stdlib/strtol_l.c: Likewise.
37466 (__strtol_l): Remove PARAMS from the prototype.
37468 2012-01-31 Ulrich Drepper <drepper@gmail.com>
37470 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
37471 names. Just use the correct names. Remove unnecessary wrapper
37473 * malloc/arena.c: Likewise.
37474 * malloc/hooks.c: Likewise.
37476 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
37477 ARENA_TEST says not to. Simplify test for creation of a new arena.
37478 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
37480 2012-01-30 Ulrich Drepper <drepper@gmail.com>
37482 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
37484 (update_get_addr): New function.
37485 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
37486 GET_ADDR_MODULE parameter.
37488 2012-01-30 Joseph Myers <joseph@codesourcery.com>
37490 * crypt/cert.c: Remove __STDC__ conditionals.
37491 * crypt/crypt-entry.c: Likewise.
37492 * crypt/crypt_util.c: Likewise.
37493 * libio/filedoalloc.c: Likewise.
37494 * libio/fileops.c: Likewise.
37495 * libio/genops.c: Likewise.
37496 * libio/iofclose.c: Likewise.
37497 * libio/iofdopen.c: Likewise.
37498 * libio/iofopen.c: Likewise.
37499 * libio/iofopen64.c: Likewise.
37500 * libio/iogetdelim.c: Likewise.
37501 * libio/iopopen.c: Likewise.
37502 * libio/obprintf.c: Likewise.
37503 * libio/oldfileops.c: Likewise.
37504 * libio/oldiofclose.c: Likewise.
37505 * libio/oldiofdopen.c: Likewise.
37506 * libio/oldiofopen.c: Likewise.
37507 * libio/oldiopopen.c: Likewise.
37508 * libio/wfiledoalloc.c: Likewise.
37509 * libio/wgenops.c: Likewise.
37510 * locale/programs/xmalloc.c: Likewise.
37511 * misc/syslog.c: Likewise.
37512 * stdio-common/xbug.c: Likewise.
37513 * string/memchr.c: Likewise.
37514 * string/memcmp.c: Likewise.
37515 * string/memrchr.c: Likewise.
37516 * string/rawmemchr.c: Likewise.
37517 * sysdeps/posix/getcwd.c: Likewise.
37518 * time/strftime_l.c: Likewise.
37520 2012-01-30 Joseph Myers <joseph@codesourcery.com>
37522 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
37523 * config.make.in (config-cflags-sse2avx): Define.
37524 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
37527 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
37529 * scripts/config.guess: Update from upstream config git repository.
37530 * scripts/config.sub: Likewise.
37532 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
37534 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
37536 (R_TILEPRO_*, R_TILEGX_*): New macros.
37538 * scripts/firstversions.awk: Fix bug in version range handling.
37540 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
37542 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
37544 * include/sys/epoll.h: New file.
37545 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
37548 2012-01-28 Ulrich Drepper <drepper@gmail.com>
37550 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
37551 Avoid unnecessary __WORDSIZE == 64 test.
37552 (fmaxf): Use VEX format if possible.
37557 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
37558 * math/math_private.h: Remove libc_fegetround* and
37560 * sysdeps/i386/configure.in: Check for -msse2avx.
37561 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
37562 also if SSE2AVX is defined.
37563 Remove libc_fegetround* and libc_fesetround*.
37564 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
37565 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
37566 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
37568 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37569 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37570 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37571 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37572 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37574 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
37576 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37578 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
37580 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
37582 2012-01-27 Ulrich Drepper <drepper@gmail.com>
37585 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
37587 * Makeconfig (libm): Define.
37588 * elf/Makefile: Add rules to build and run tst-relsort1.
37589 * elf/tst-relsort1.c: New file.
37590 * elf/tst-relsort1mod1.c: New file.
37591 * elf/tst-relsort1mod2.c: New file.
37593 2012-01-27 Joseph Myers <joseph@codesourcery.com>
37595 * math/s_ldexp.c: Remove __STDC__ conditionals.
37596 * math/s_ldexpf.c: Likewise.
37597 * math/s_ldexpl.c: Likewise.
37598 * math/s_nextafter.c: Likewise.
37599 * math/s_nexttowardf.c: Likewise.
37600 * math/s_significand.c: Likewise.
37601 * math/s_significandf.c: Likewise.
37602 * math/s_significandl.c: Likewise.
37603 * math/w_jnl.c: Likewise.
37604 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
37605 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
37606 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
37607 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
37608 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
37609 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
37610 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
37611 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
37612 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
37613 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
37614 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
37615 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37616 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
37617 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
37618 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
37619 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
37620 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
37621 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
37622 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
37623 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37624 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37625 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
37626 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
37627 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
37628 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
37629 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
37630 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
37631 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
37632 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
37633 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
37634 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
37635 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
37636 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
37637 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
37638 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
37639 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
37640 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
37641 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
37642 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
37643 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
37644 * sysdeps/ieee754/k_standard.c: Likewise.
37645 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37646 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
37647 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
37648 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
37649 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
37650 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
37651 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
37652 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
37653 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
37654 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
37655 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
37656 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
37657 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
37658 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
37659 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
37660 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
37661 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
37662 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
37663 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
37664 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
37665 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
37666 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
37667 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
37668 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
37669 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
37670 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
37671 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37672 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37673 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
37674 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
37675 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
37676 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
37677 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
37678 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
37679 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
37680 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
37681 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
37682 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
37683 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
37684 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
37685 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
37686 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
37687 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
37688 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
37689 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
37690 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
37691 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
37692 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
37693 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
37694 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
37695 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
37696 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
37697 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
37698 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
37699 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
37700 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
37701 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
37702 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37703 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37704 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37705 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
37706 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
37707 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
37708 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
37709 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
37710 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
37711 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
37712 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
37713 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
37714 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
37715 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
37716 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
37717 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
37718 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
37719 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
37720 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
37721 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
37722 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
37723 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
37724 * sysdeps/ieee754/s_matherr.c: Likewise.
37725 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
37726 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
37727 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
37728 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
37730 2012-01-26 Joseph Myers <joseph@codesourcery.com>
37732 * crypt/md5.h: Remove __STDC__ conditionals.
37733 * libio/libioP.h: Likewise.
37734 * locale/programs/config.h: Likewise.
37735 * sysdeps/generic/sysdep.h: Likewise.
37736 * sysdeps/i386/asm-syntax.h: Likewise.
37737 * sysdeps/s390/asm-syntax.h: Likewise.
37738 * sysdeps/unix/sysdep.h: Likewise.
37739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
37740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
37742 2012-01-26 Joseph Myers <joseph@codesourcery.com>
37744 * libio/libio.h: Remove __STDC__ conditionals.
37745 * malloc/obstack.h: Likewise.
37746 * math/complex.h: Likewise.
37747 * math/math.h: Likewise.
37748 * sysdeps/generic/_G_config.h: Likewise.
37749 * sysdeps/gnu/_G_config.h: Likewise.
37750 * sysdeps/mach/hurd/_G_config.h: Likewise.
37751 * sysdeps/powerpc/bits/mathdef.h: Likewise.
37752 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
37753 * sysdeps/sparc/bits/mathdef.h: Likewise.
37755 2012-01-26 Ulrich Drepper <drepper@gmail.com>
37758 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
37759 Clean up HAS_* macros.
37760 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
37761 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
37763 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
37765 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37766 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37767 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37768 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37769 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37771 2012-01-25 Joseph Myers <joseph@codesourcery.com>
37773 * elf/tst-unique3.cc (gets): Remove declaration.
37774 * elf/tst-unique3lib.cc (gets): Likewise.
37775 * elf/tst-unique3lib2.cc (gets): Likewise.
37776 * elf/tst-unique4.cc (gets): Likewise.
37778 2012-01-24 Ulrich Drepper <drepper@gmail.com>
37780 * include/stdio.h: Add C++ protection. Add gets declarations and
37782 * debug/tst-chk1.c: Don't declare gets here.
37783 * stdio-common/tst-gets.c: Likewise.
37785 2012-01-24 Joseph Myers <joseph@codesourcery.com>
37787 * posix/glob: Remove directory.
37789 2012-01-24 Joseph Myers <joseph@codesourcery.com>
37791 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
37793 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
37795 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
37796 of the non-standard EPFNOSUPPORT.
37798 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
37800 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
37801 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
37802 ANYWHERE set to 1 only on KERN_NO_SPACE error.
37804 2012-01-21 Ulrich Drepper <drepper@gmail.com>
37806 * wcsmbs/uchar.h: Test __STDC_VERSION__.
37808 2012-01-20 Ulrich Drepper <drepper@gmail.com>
37810 * nscd/aicache.c (addhstaiX): Do not cache negative results of
37812 * nscd/grpcache.c (cache_addgr): Likewise.
37813 * nscd/hstcache.c (cache_addhst): Likewise.
37814 * nscd/initgrcache.c (addinitgroupsX): Likewise.
37815 * nscd/pwdcache.c (cache_addpw): Likewise.
37816 * nscd/servicescache.c (cache_addserv): Likewise.
37818 2012-01-16 Ulrich Drepper <drepper@gmail.com>
37820 * malloc/malloc.c: Various cleanups.
37821 * malloc/hooks.c: Likewise.
37823 * stdlib/Makefile (tests): Add bug-fmtmsg1.
37824 * stdlib/bug-fmtmsg1.c: New file.
37826 * stdlib/fmtmsg.c (init): Add missing unlock.
37827 Patch by Peng Haitao <penght@cn.fujitsu.com>.
37829 2012-01-12 Marek Polacek <polacek@redhat.com>
37831 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
37834 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
37836 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
37837 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
37838 macro to ensure uniqueness of label name.
37839 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
37840 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
37842 2012-01-11 Ulrich Drepper <drepper@gmail.com>
37844 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
37846 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
37847 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
37848 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
37849 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
37851 2012-01-10 Ulrich Drepper <drepper@gmail.com>
37853 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
37855 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
37856 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
37857 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
37859 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
37861 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
37862 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
37863 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
37864 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
37866 * math/bits/math-finite.h: Add ldexp support.
37868 2012-01-10 Marek Polacek <polacek@redhat.com>
37870 * locale/programs/localedef.h (show_archive_content): Add noreturn
37873 2012-01-09 Ulrich Drepper <drepper@gmail.com>
37875 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
37877 2012-01-08 Ulrich Drepper <drepper@gmail.com>
37879 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
37881 * io/Makefile (headers): Add bits/poll2.h.
37883 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
37885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
37886 typo #include statement.
37888 2012-01-08 Ulrich Drepper <drepper@gmail.com>
37890 * include/sys/cdefs.h: Define __attribute_alloc_size.
37891 * catgets/gencat.c: Add alloc_size attribute and apply consistently
37892 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
37893 * elf/pldd.c: Likewise.
37894 * iconv/iconv_charmap.c: Likewise.
37895 * iconv/iconvconfig.c: Likewise.
37896 * iconv/strtab.c: Likewise.
37897 * locale/programs/locale.c: Likewise.
37898 * locale/programs/localedef.h: Likewise.
37899 * locale/programs/simple-hash.c: Likewise.
37900 * nscd/nscd.h: Likewise.
37901 * nss/makedb.c: Likewise.
37902 * sysdeps/generic/ldconfig.h: Likewise.
37903 * locale/programs/localedef.c: Remove xmalloc prototype.
37904 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
37906 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
37908 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
37911 2012-01-08 Ulrich Drepper <drepper@gmail.com>
37913 * math/Makefile (tests): Add tst-CMPLX.
37914 * math/tst-CMPLX.c: New file.
37916 * math/complex.h (CMPLXL): Fix typo.
37918 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
37919 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
37921 * debug/tst-chk1.c: Add poll and ppoll tests.
37922 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
37923 * include/sys/poll.h: Add hidden proto for ppoll.
37924 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
37925 * sysdeps/mach/hurd/ppoll.c: Likewise.
37926 * io/ppoll.c: Likewise.
37927 * debug/poll_chk.c: New file.
37928 * debug/ppoll_chk.c: New file.
37929 * include/bits/poll2.h: New file.
37930 * io/bits/poll2.h: New file.
37933 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
37935 * configure.in: static is always set to yes. Remove.
37936 * config.make.in: Don't set build-static.
37937 * Makeconfig: Remove use of build-static.
37938 * dlfcn/Makefile: Likewise.
37939 * elf/Makefile: Likewise.
37940 * math/Makefile: Likewise.
37941 * misc/Makefile: Likewise.
37942 * nptl/Makefile: Likewise.
37943 * sysdeps/mach/hurd/Makefile: Likewise.
37945 * configure.in: PWD_P is not used anymore.
37946 * config.make.in: Remove PWD_P entry.
37948 * configure.in: Remove last remnants of RANLIB.
37949 No need to check for signed size_t anymore.
37950 Don't set libc_commonpagesize and libc_relro_required here for Alpha
37952 Remove __builtin_expect test because we require at least gcc 3.4.
37953 * aclocal.m4: Likewise.
37955 * wcsmbs/mbrtoc16.c: Implement using towc function.
37956 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
37957 * wcsmbs/wcsmbsload.c: Likewise.
37958 * iconv/gconv_simple.c: Likewise.
37959 * iconv/gconv_int.h: Likewise.
37960 * iconv/gconv_builtin.h: Likewise.
37961 * iconv/iconv_prog.c: Remove CHAR16 handling.
37963 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
37965 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
37967 * configure.in: Remove --with-elf and --enable-bounded options.
37968 Dont set base_machine for ia64. More non-ELF conditions removed.
37969 Remove testing and setting of leading underscore information.
37970 * config.make.in (build-bounded): Set to no.
37971 * config.h.in: Remove NO_UNDERSCORES entry.
37972 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
37974 * csu/start.c: Remove !NO_UNDERSCORE code.
37975 * locale/localeinfo.h: Likewise.
37976 * sysdeps/generic/machine-gmon.h: Likewise.
37977 * sysdeps/generic/sysdep.h: Likewise.
37978 * sysdeps/i386/sysdep.h: Likewise.
37979 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
37980 * sysdeps/mach/sysdep.h: Likewise.
37981 * sysdeps/s390/s390-32/sysdep.h: Likewise.
37982 * sysdeps/s390/s390-64/sysdep.h: Likewise.
37983 * sysdeps/sh/sysdep.h: Likewise.
37984 * sysdeps/sparc/sparc32/alloca.S: Likewise.
37985 * sysdeps/unix/i386/sysdep.S: Likewise.
37986 * sysdeps/unix/sparc/start.c: Likewise.
37987 * sysdeps/unix/sparc/sysdep.S: Likewise.
37988 * sysdeps/unix/sparc/sysdep.h: Likewise.
37989 * sysdeps/unix/start.c: Likewise.
37990 * sysdeps/unix/x86_64/sysdep.S: Likewise.
37991 * sysdeps/x86_64/sysdep.h: Likewise.
37993 2012-01-07 Ulrich Drepper <drepper@gmail.com>
37996 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
37998 * argp/argp-fmtstream.h: Use const instead __const.
37999 * argp/argp.h: Likewise.
38000 * assert/assert.h: Likewise.
38001 * bits/fenv.h: Likewise.
38002 * bits/sched.h: Likewise.
38003 * bits/sigset.h: Likewise.
38004 * bits/sigthread.h: Likewise.
38005 * catgets/nl_types.h: Likewise.
38006 * conform/data/pthread.h-data: Likewise.
38007 * crypt/crypt-private.h: Likewise.
38008 * crypt/crypt.h: Likewise.
38009 * crypt/crypt_util.c: Likewise.
38010 * ctype/ctype.h: Likewise.
38011 * debug/execinfo.h: Likewise.
38012 * debug/mbsnrtowcs_chk.c: Likewise.
38013 * debug/mbsrtowcs_chk.c: Likewise.
38014 * debug/wcsnrtombs_chk.c: Likewise.
38015 * debug/wcsrtombs_chk.c: Likewise.
38016 * debug/wcstombs_chk.c: Likewise.
38017 * dirent/dirent.h: Likewise.
38018 * dlfcn/dlfcn.h: Likewise.
38019 * elf/neededtest4.c: Likewise.
38020 * grp/grp.h: Likewise.
38021 * gshadow/gshadow.h: Likewise.
38022 * iconv/gconv.h: Likewise.
38023 * iconv/gconv_int.h: Likewise.
38024 * iconv/gconv_simple.c: Likewise.
38025 * iconv/iconv.h: Likewise.
38026 * iconv/loop.c: Likewise.
38027 * iconv/skeleton.c: Likewise.
38028 * include/aio.h: Likewise.
38029 * include/aliases.h: Likewise.
38030 * include/argz.h: Likewise.
38031 * include/arpa/inet.h: Likewise.
38032 * include/assert.h: Likewise.
38033 * include/dirent.h: Likewise.
38034 * include/dlfcn.h: Likewise.
38035 * include/execinfo.h: Likewise.
38036 * include/fcntl.h: Likewise.
38037 * include/fenv.h: Likewise.
38038 * include/glob.h: Likewise.
38039 * include/grp.h: Likewise.
38040 * include/libintl.h: Likewise.
38041 * include/mntent.h: Likewise.
38042 * include/netdb.h: Likewise.
38043 * include/pwd.h: Likewise.
38044 * include/rpc/netdb.h: Likewise.
38045 * include/sched.h: Likewise.
38046 * include/search.h: Likewise.
38047 * include/shadow.h: Likewise.
38048 * include/signal.h: Likewise.
38049 * include/stdio.h: Likewise.
38050 * include/stdlib.h: Likewise.
38051 * include/string.h: Likewise.
38052 * include/sys/socket.h: Likewise.
38053 * include/sys/stat.h: Likewise.
38054 * include/sys/statfs.h: Likewise.
38055 * include/sys/statvfs.h: Likewise.
38056 * include/sys/syslog.h: Likewise.
38057 * include/sys/time.h: Likewise.
38058 * include/sys/uio.h: Likewise.
38059 * include/time.h: Likewise.
38060 * include/unistd.h: Likewise.
38061 * include/utmp.h: Likewise.
38062 * include/wchar.h: Likewise.
38063 * include/wctype.h: Likewise.
38064 * inet/aliases.h: Likewise.
38065 * inet/arpa/inet.h: Likewise.
38066 * inet/netinet/ether.h: Likewise.
38067 * inet/netinet/in.h: Likewise.
38068 * intl/libintl.h: Likewise.
38069 * io/bits/fcntl2.h: Likewise.
38070 * io/fcntl.h: Likewise.
38071 * io/ftw.h: Likewise.
38072 * io/sys/poll.h: Likewise.
38073 * io/sys/stat.h: Likewise.
38074 * io/sys/statfs.h: Likewise.
38075 * io/sys/statvfs.h: Likewise.
38076 * io/utime.h: Likewise.
38077 * libio/bits/stdio.h: Likewise.
38078 * libio/bits/stdio2.h: Likewise.
38079 * libio/libio.h: Likewise.
38080 * libio/libioP.h: Likewise.
38081 * libio/stdio.h: Likewise.
38082 * locale/lc-ctype.c: Likewise.
38083 * locale/locale.h: Likewise.
38084 * login/utmp.h: Likewise.
38085 * malloc/arena.c: Likewise.
38086 * malloc/malloc.c: Likewise.
38087 * malloc/malloc.h: Likewise.
38088 * malloc/mcheck.c: Likewise.
38089 * malloc/mtrace.c: Likewise.
38090 * math/bits/mathcalls.h: Likewise.
38091 * math/fenv.h: Likewise.
38092 * math/math_private.h: Likewise.
38093 * misc/bits/error.h: Likewise.
38094 * misc/bits/syslog.h: Likewise.
38095 * misc/err.h: Likewise.
38096 * misc/error.h: Likewise.
38097 * misc/fstab.h: Likewise.
38098 * misc/mntent.h: Likewise.
38099 * misc/regexp.h: Likewise.
38100 * misc/search.h: Likewise.
38101 * misc/sgtty.h: Likewise.
38102 * misc/sys/mman.h: Likewise.
38103 * misc/sys/syslog.h: Likewise.
38104 * misc/sys/uio.h: Likewise.
38105 * misc/sys/xattr.h: Likewise.
38106 * misc/ttyent.h: Likewise.
38107 * nis/rpcsvc/ypclnt.h: Likewise.
38108 * nss/nss.h: Likewise.
38109 * posix/bits/unistd.h: Likewise.
38110 * posix/fnmatch.h: Likewise.
38111 * posix/glob.h: Likewise.
38112 * posix/sched.h: Likewise.
38113 * posix/spawn.h: Likewise.
38114 * posix/sys/wait.h: Likewise.
38115 * posix/unistd.h: Likewise.
38116 * posix/wordexp.h: Likewise.
38117 * pwd/pwd.h: Likewise.
38118 * resolv/netdb.h: Likewise.
38119 * resource/sys/resource.h: Likewise.
38120 * rt/aio.h: Likewise.
38121 * rt/bits/mqueue2.h: Likewise.
38122 * rt/mqueue.h: Likewise.
38123 * shadow/shadow.h: Likewise.
38124 * signal/signal.h: Likewise.
38125 * socket/send.c: Likewise.
38126 * socket/sendto.c: Likewise.
38127 * socket/sys/socket.h: Likewise.
38128 * stdio-common/printf.h: Likewise.
38129 * stdlib/bits/stdlib.h: Likewise.
38130 * stdlib/fmtmsg.h: Likewise.
38131 * stdlib/monetary.h: Likewise.
38132 * stdlib/stdlib.h: Likewise.
38133 * stdlib/ucontext.h: Likewise.
38134 * streams/stropts.h: Likewise.
38135 * string/argz.h: Likewise.
38136 * string/bits/string2.h: Likewise.
38137 * string/string.h: Likewise.
38138 * string/strings.h: Likewise.
38139 * sunrpc/rpc/auth.h: Likewise.
38140 * sunrpc/rpc/auth_des.h: Likewise.
38141 * sunrpc/rpc/clnt.h: Likewise.
38142 * sunrpc/rpc/netdb.h: Likewise.
38143 * sunrpc/rpc/pmap_clnt.h: Likewise.
38144 * sunrpc/rpc/xdr.h: Likewise.
38145 * sysdeps/generic/inttypes.h: Likewise.
38146 * sysdeps/generic/net/if.h: Likewise.
38147 * sysdeps/generic/sys/swap.h: Likewise.
38148 * sysdeps/gnu/net/if.h: Likewise.
38149 * sysdeps/gnu/utmpx.h: Likewise.
38150 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
38151 * sysdeps/i386/i486/bits/string.h: Likewise.
38152 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
38153 * sysdeps/s390/bits/string.h: Likewise.
38154 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
38155 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
38156 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
38157 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
38158 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
38159 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
38160 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
38161 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
38162 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
38163 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
38164 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
38165 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
38166 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
38167 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
38168 * sysdeps/unix/sysv/linux/readv.c: Likewise.
38169 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
38170 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
38171 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38172 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
38173 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
38174 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
38175 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
38176 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
38177 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
38178 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
38179 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
38180 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
38181 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
38182 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
38183 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
38184 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
38185 * sysvipc/sys/ipc.h: Likewise.
38186 * sysvipc/sys/msg.h: Likewise.
38187 * sysvipc/sys/sem.h: Likewise.
38188 * sysvipc/sys/shm.h: Likewise.
38189 * termios/termios.h: Likewise.
38190 * time/sys/time.h: Likewise.
38191 * time/time.h: Likewise.
38192 * wcsmbs/bits/wchar2.h: Likewise.
38193 * wcsmbs/uchar.h: Likewise.
38194 * wcsmbs/wchar.h: Likewise.
38195 * wctype/wctype.h: Likewise.
38198 * Makeconfig: Remove all but ELF support including AIX support.
38199 * Makerules: Likewise.
38200 * config.h.in: Likewise.
38201 * config.make.in: Likewise.
38202 * configure: Likewise.
38203 * configure.in: Likewise.
38204 * csu/Makefile: Likewise.
38205 * csu/version.c: Likewise.
38206 * debug/Makefile: Likewise.
38207 * dlfcn/Makefile: Likewise.
38208 * elf/Makefile: Likewise.
38209 * extra-lib.mk: Likewise.
38210 * iconv/Makefile: Likewise.
38211 * include/libc-symbols.h: Likewise.
38212 * include/shlib-compat.h: Likewise.
38213 * resolv/Makefile: Likewise.
38214 * resolv/res_libc.c: Likewise.
38215 * rt/Makefile: Likewise.
38216 * sysdeps/i386/asm-syntax.h: Likewise.
38217 * sysdeps/i386/sysdep.h: Likewise.
38218 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
38219 * sysdeps/mach/sysdep.h: Likewise.
38220 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
38221 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
38222 * sysdeps/s390/asm-syntax.h: Likewise.
38223 * sysdeps/s390/s390-32/sysdep.h: Likewise.
38224 * sysdeps/s390/s390-64/sysdep.h: Likewise.
38225 * sysdeps/sh/sysdep.h: Likewise.
38226 * sysdeps/unix/sparc/sysdep.h: Likewise.
38227 * sysdeps/wordsize-32/divdi3.c: Likewise.
38228 * sysdeps/x86_64/sysdep.h: Likewise.
38230 * argp/Versions: Remove _argp_unlock_xxx.
38233 * abilist/ld.abilist: Update. Adjust for removal of tls option.
38234 * abilist/libBrokenLocale.abilist: Likewise.
38235 * abilist/libanl.abilist: Likewise.
38236 * abilist/libc.abilist: Likewise.
38237 * abilist/libcrypt.abilist: Likewise.
38238 * abilist/libdl.abilist: Likewise.
38239 * abilist/libm.abilist: Likewise.
38240 * abilist/libnsl.abilist: Likewise.
38241 * abilist/libpthread.abilist: Likewise.
38242 * abilist/libresolv.abilist: Likewise.
38243 * abilist/librt.abilist: Likewise.
38244 * abilist/libthread_db.abilist: Likewise.
38245 * abilist/libutil.abilist: Likewise.
38246 * abilist/libnss_db.abilist: New file.
38248 * scripts/abilist.awk: Add support for indirect functions.
38250 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
38252 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
38254 * shlib-versions: Remove entries for ports architectures.
38256 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
38258 * elf/stackguard-macros.h: Remove support for IA-64.
38259 * elf/tst-auditmod1.c: Likewise.
38260 * sysdeps/generic/ldsodefs.h: Likewise.
38262 * sysdeps/unix/sysv/linux/configure.in: Ports should define
38263 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
38267 * configure.in: Remove --enable-omitfp support.
38269 * config.make.in: Likewise.
38270 * Makeconfig: Likewise.
38271 * manual/install.texi: Likewise.
38273 In case anyone cares, the IA-64 architecture could move to ports.
38274 * sysdeps/ia64/*: Removed.
38275 * sysdeps/unix/sysv/linux/ia64/*: Removed.
38276 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
38279 * configure.in: Remove entries for unsupported architectures.
38282 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
38283 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
38285 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
38286 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
38287 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
38288 fall back to using wcrtomb.
38289 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
38290 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
38292 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
38293 * wcsmbs/tst-c16c32-1.c: New file.
38295 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
38298 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
38300 * elf/tst-unique3.cc: Add explicit declaration of gets.
38301 * elf/tst-unique3lib.cc: Likewise.
38302 * elf/tst-unique3lib2.cc: Likewise.
38303 * elf/tst-unique4.cc: Likewise.
38305 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
38307 2012-01-06 Joseph Myers <joseph@codesourcery.com>
38310 * assert/assert.h (static_assert): Don't define for C++.
38311 * libio/stdio.h (gets): Do declare for C++ <= C++11.
38312 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
38314 2012-01-03 Ulrich Drepper <drepper@gmail.com>
38316 * iconv/loop.c (single loop): Fix assertion in storing of
38319 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
38321 2012-01-01 Ulrich Drepper <drepper@gmail.com>
38323 * posix/getconf.c: Update copyright year.
38324 * nss/getent.c: Likewise.
38325 * nss/makedb.c: Likewise.
38326 * iconv/iconvconfig.c: Likewise.
38327 * iconv/iconv_prog.c: Likewise.
38328 * elf/ldconfig.c: Likewise.
38329 * elf/pldd.c: Likewise.
38330 * elf/sotruss.ksh: Likewise.
38331 * catgets/gencat.c: Likewise.
38332 * csu/version.c: Likewise.
38333 * elf/ldd.bash.in: Likewise.
38334 * elf/sprof.c (print_version): Likewise.
38335 * locale/programs/locale.c: Likewise.
38336 * locale/programs/localedef.c: Likewise.
38337 * login/programs/pt_chown.c: Likewise.
38338 * nscd/nscd.c (print_version): Likewise.
38339 * debug/xtrace.sh: Likewise.
38340 * malloc/memusage.sh: Likewise.
38341 * malloc/mtrace.pl: Likewise.
38342 * debug/catchsegv.sh: Likewise.
38344 2011-12-30 Jakub Jelinek <jakub@redhat.com>
38346 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
38349 2011-12-24 Ulrich Drepper <drepper@gmail.com>
38352 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
38353 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
38355 * iconv/gconv_int.h: Likewise.
38356 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
38357 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
38358 from libc for GLIBC_2.16.
38359 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
38360 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
38361 * wcsmbs/uchar.h: Really define mbstate_t.
38362 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
38363 * wcsmbs/c16rtomb.c: New file.
38364 * wcsmbs/mbrtoc16.c: New file.
38365 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
38366 for C/POSIX locale.
38367 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
38368 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
38370 * wcsmbs/wchar.h: Add missing __restrict.
38372 2011-12-23 Ulrich Drepper <drepper@gmail.com>
38375 * time/Makefile (routines): Add timespec_get.
38376 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
38377 * time/time.h: Define TIME_UTC and declare timespec_get. Define
38378 timespec for ISO C11.
38379 * time/timespec_get.c: New file.
38380 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
38381 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
38384 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
38385 * stdlib/stdlib.h: Declare aligned_alloc.
38386 * Versions.def: Add GLIBC_2.16 for libc.
38387 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
38390 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
38393 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
38397 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
38400 * assert/assert.h (static_assert): Define.
38402 * version.h: Update for 2.16 development version.
38405 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
38408 * version.h (RELEASE): Bump for 2.15 release.
38409 * include/features.h (__GLIBC_MINOR__): Bump to 15.
38411 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
38412 Patch by Marek Polacek <mpolacek@redhat.com>.
38414 * bits/byteswap.h: Protect long long constants with __extension__.
38415 * sysdeps/i386/bits/byteswap.h: Likewise.
38416 * sysdeps/ia64/bits/byteswap.h: Likewise.
38417 * sysdeps/s390/bits/byteswap.h: Likewise.
38418 * sysdeps/x86_64/bits/byteswap.h: Likewise.
38420 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38423 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
38424 destination buffer.
38425 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
38427 2011-12-23 Marek Polacek <polacek@redhat.com>
38429 * elf/dl-addr.c (determine_info): Add inline keyword.
38430 * elf/tst-auditmod4b.c (check_avx): Likewise.
38431 * elf/tst-auditmod6b.c (check_avx): Likewise.
38432 * elf/tst-auditmod6c.c (check_avx): Likewise.
38433 * elf/tst-auditmod7b.c (check_avx): Likewise.
38435 2011-12-23 Ulrich Drepper <drepper@gmail.com>
38437 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
38440 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38443 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
38444 processing for last bytes.
38446 2011-08-06 Bruno Haible <bruno@clisp.org>
38449 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
38450 U+0385, not to U+1FEE.
38453 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
38454 entry for U+00A5 U+0301.
38456 2011-12-22 Ulrich Drepper <drepper@gmail.com>
38459 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
38460 buffer for the output is too small.
38462 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
38466 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
38467 SSE flags if possible.
38469 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38472 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
38473 processing for last bytes.
38475 2011-12-22 Joseph Myers <joseph@codesourcery.com>
38477 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
38478 (syscall-list-default-options, syscall-list-default-condition)
38479 (syscall-list-includes): Define.
38480 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
38481 list of ABIs and options and #if conditions for each ABI. Do not
38482 handle common syscalls between ABIs specially.
38483 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
38485 (syscall-list-variants, syscall-list-32bit-options)
38486 (syscall-list-32bit-condition, syscall-list-64bit-options)
38487 (syscall-list-64bit-condition): Define.
38488 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
38489 (syscall-list-variants, syscall-list-32bit-options)
38490 (syscall-list-32bit-condition, syscall-list-64bit-options)
38491 (syscall-list-64bit-condition): Define.
38492 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
38494 (syscall-list-variants, syscall-list-32bit-options)
38495 (syscall-list-32bit-condition, syscall-list-64bit-options)
38496 (syscall-list-64bit-condition): Define.
38497 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
38499 (syscall-list-variants, syscall-list-32bit-options)
38500 (syscall-list-32bit-condition, syscall-list-64bit-options)
38501 (syscall-list-64bit-condition): Define.
38503 2011-12-22 Ulrich Drepper <drepper@gmail.com>
38505 * locale/iso-639.def: Add brx entry.
38508 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
38509 Proposed by Mariusz_Cukr <marcukr@op.pl>.
38511 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
38512 __feraiseexcept_renamed.
38514 2011-12-21 Ulrich Drepper <drepper@gmail.com>
38517 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
38518 EPOLLET with unsigned values.
38519 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
38520 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
38522 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
38523 to large cancellation.
38524 * math/s_cacoshf.c: Likewise.
38525 * math/s_cacoshl.c: Likewise.
38527 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
38531 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
38532 * math/s_cacoshf.c: Likewise.
38533 * math/s_cacoshl.c: Likewise.
38535 2011-12-21 Ulrich Drepper <drepper@gmail.com>
38538 * iconv/gconv.h: Define __GCONV_SWAP.
38539 * iconvdata/unicode.c: The swap bit must be stored in __flags.
38540 * iconvdata/utf-16.c: Likewise.
38541 * iconvdata/utf-32.c: Likewise.
38543 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
38546 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
38547 numerator after shifting it by one limb.
38549 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
38551 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
38552 under [__USE_EXTERN_INLINES].
38554 2011-12-17 Ulrich Drepper <drepper@gmail.com>
38557 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
38559 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38561 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
38562 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
38564 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
38565 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
38566 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
38567 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
38568 for strncasecmp/strncasecmp_l compilation.
38569 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
38570 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
38572 2011-12-08 Marek Polacek <mpolacek@redhat.com>
38575 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
38578 2011-12-17 Ulrich Drepper <drepper@gmail.com>
38581 * time/tzfile.c (__tzfile_read): Check values from file header.
38583 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
38585 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
38586 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
38587 * powerpc/powerpc32/dl-start.S: Likewise.
38588 * powerpc/powerpc32/elf/start.S: Likewise.
38589 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
38590 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
38591 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
38592 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
38593 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
38594 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
38595 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
38596 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
38597 * powerpc/powerpc32/fpu/s_round.S: Likewise.
38598 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
38599 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
38600 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
38601 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
38602 * powerpc/powerpc32/memset.S: Likewise.
38603 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
38604 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
38605 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
38606 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
38607 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
38608 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
38609 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
38610 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
38611 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
38612 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
38613 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
38614 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
38615 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
38617 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38619 * math/libm-test.inc: Added more nearbyint tests.
38620 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
38621 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
38622 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
38623 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
38625 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
38627 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
38630 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38632 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
38633 Add wcscpy-ssse3 wcscpy-c.
38634 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
38635 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
38636 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
38637 * sysdeps/x86_64/wcschr.S: New file.
38638 * sysdeps/x86_64/wcsrchr.S: New file.
38639 * string/test-strcmp.c: Remove checking of wcscmp function for
38641 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
38642 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
38643 wcsrchr-sse2 wcsrchr-c.
38644 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
38645 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
38646 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
38647 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
38648 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
38649 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
38650 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
38651 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
38652 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
38653 * wcsmbc/wcschr.c (WCSCHR): New macro.
38655 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38657 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
38658 * wcsmbs/test-wcsrchr.c: New file.
38659 * string/test-strrchr.c: Add wcsrchr support.
38661 * wcsmbs/test-wcscpy.c: New file.
38662 * string/test-strcpy.c: Add wcscpy support.
38665 2011-12-10 Ulrich Drepper <drepper@gmail.com>
38667 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
38670 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
38673 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
38675 2011-12-04 Ulrich Drepper <drepper@gmail.com>
38677 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
38678 Minor optimizations.
38680 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
38681 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
38682 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
38684 2011-12-03 Ulrich Drepper <drepper@gmail.com>
38686 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
38687 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
38688 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
38689 for gcc to avoid warnings.
38690 * inet/Makefile (tests): Add tst-checks.
38691 * inet/tst-checks.c: New file.
38693 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
38696 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
38699 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
38700 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
38702 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
38704 2011-12-02 Ulrich Drepper <drepper@gmail.com>
38706 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
38709 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
38711 2011-11-29 Joseph Myers <joseph@codesourcery.com>
38713 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
38714 conditional on GCC version.
38715 (__arch_compare_and_exchange_val_8_acq)
38716 (__arch_compare_and_exchange_val_16_acq)
38717 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
38718 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
38719 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
38721 2011-12-02 Joseph Myers <joseph@codesourcery.com>
38723 * sysdeps/sh/backtrace.c: New file.
38725 2011-12-02 Andreas Schwab <schwab@redhat.com>
38727 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
38730 2011-12-01 Andreas Schwab <schwab@redhat.com>
38732 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
38733 falling back to utime.
38735 2011-11-30 Andreas Schwab <schwab@redhat.com>
38737 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
38738 expectations for float.
38740 2011-11-29 Andreas Schwab <schwab@redhat.com>
38742 * locale/weight.h (findidx): Add parameter len.
38743 * locale/weightwc.h (findidx): Likewise.
38744 * posix/fnmatch_loop.c (FCT): Adjust caller.
38745 * posix/regcomp.c (build_equiv_class): Likewise.
38746 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
38747 * posix/regexec.c (check_node_accept_bytes): Likewise.
38748 * string/strcoll_l.c (STRCOLL): Likewise.
38749 * string/strxfrm_l.c (STRXFRM): Likewise.
38751 2011-11-17 Ulrich Drepper <drepper@gmail.com>
38753 * Makefile.in: Remove CVSOPT handling.
38754 * configure.in: Remove use of AC_REVISION.
38755 * iconvdata/Makefile (distribute): No need to filter out CVS.
38756 * scripts/list-sources.sh: Remove CVS, subversion and monotone
38759 2011-11-16 Andreas Schwab <schwab@redhat.com>
38761 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
38762 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
38763 [USE_AS_STRNCASECMP_L]: Likewise.
38764 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
38765 NO_TLS_DIRECT_SEG_REFS.
38766 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
38767 Fix argument offsets for non-PIC.
38768 [USE_AS_STRNCASECMP_L]: Likewise.
38769 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
38770 NO_TLS_DIRECT_SEG_REFS.
38772 2011-11-15 Ulrich Drepper <drepper@gmail.com>
38774 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
38776 * locale/loadlocale.c (_nl_load_locale): Likewise.
38778 2011-11-15 Andreas Schwab <schwab@redhat.com>
38780 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
38781 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
38782 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
38783 (SYSCALL_GETTIME): Set errno on error.
38785 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
38786 count references to noai6ai_cached.
38788 2011-11-15 Ulrich Drepper <drepper@gmail.com>
38790 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
38792 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
38793 FD_CLOEXEC for /proc/self/maps.
38795 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
38796 FD_CLOEXEC for /proc/meminfo.
38798 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
38801 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
38802 FD_CLOEXEC for given file.
38804 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
38806 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
38807 FD_CLOEXEC for /etc/hosts.
38808 (_gethtent): Likewise.
38810 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
38812 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
38813 cancellation and set FD_CLOEXEC for /etc/netgroup.
38815 * nss/nss_files/files-key.c (search): Don't allow cancellation when
38816 reading /etc/publickey.
38818 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
38819 allow cancellation when reading /etc/group.
38821 * nss/nss_files/files-alias.c (internal_setent): Don't allow
38823 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
38825 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
38826 when using data file.
38828 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
38830 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
38831 (write_nis_obj): Use "c" and "e" in fopen.
38833 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
38835 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
38837 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
38839 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
38841 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
38844 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
38846 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
38848 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
38850 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
38851 file parsing and set FD_CLOEXEC.
38853 2011-11-14 Ulrich Drepper <drepper@gmail.com>
38855 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
38857 2011-11-14 Andreas Schwab <schwab@redhat.com>
38859 * malloc/arena.c (arena_get2): Don't call reused_arena when
38860 _int_new_arena failed.
38862 2011-11-14 Ulrich Drepper <drepper@gmail.com>
38864 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
38865 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
38866 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
38867 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
38868 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
38869 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
38870 to compile strcasecmp and strncasecmp.
38871 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
38872 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
38874 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
38876 2011-11-13 Ulrich Drepper <drepper@gmail.com>
38878 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
38879 locale-defines.sym to gen-as-const-headers.
38880 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
38881 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
38882 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
38883 to compile strcasecmp and strncasecmp.
38884 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
38885 strcasecmp_l and strncasecmp_l.
38886 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
38887 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
38888 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
38889 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
38890 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
38891 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
38892 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
38893 * sysdeps/i386/i686/multiarch/strncase.S: New file.
38894 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
38895 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
38896 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
38898 2011-11-12 Ulrich Drepper <drepper@gmail.com>
38900 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
38901 result of SYSDEP_GETTIME_CPU to retval.
38902 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
38903 parameter list to macro. Remove trailing semicolon. Adjust users.
38905 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
38908 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
38910 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
38912 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
38913 from unused variable.
38915 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
38917 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
38920 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
38923 * sunrpc/rpc_prot.c (rejected): Fix case value.
38925 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
38926 unsigned long long int to avoid warnings in shift.
38928 * posix/regex_internal.c (re_string_reconstruct): Actually use result
38930 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
38933 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
38934 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
38935 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
38937 * nis/nis_table.c (nis_list): Use variable of correct type for
38938 result of __follow_path call.
38940 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38942 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
38943 of math functions ceil, trunc, floor, round, and sqrt, when
38944 avaliable on the platform.
38945 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
38947 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
38948 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
38949 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
38951 2011-10-30 Marek Polacek <mpolacek@redhat.com>
38953 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
38954 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
38956 2011-11-11 Roland McGrath <roland@hack.frob.com>
38958 * include/unistd.h: Fix __readlink return type.
38959 Reported by Chris Metcalf <cmetcalf@tilera.com>.
38961 2011-11-11 Ulrich Drepper <drepper@gmail.com>
38963 * stdlib/ucontext.h: Undo last change for makecontext.
38965 2011-11-11 Andreas Schwab <schwab@redhat.com>
38967 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
38969 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
38970 * setjmp/setjmp.h: Mark functions as non-leaf.
38971 * setjmp/bits/setjmp2.h: Likewise.
38972 * stdlib/ucontext.h: Likewise.
38974 2011-11-10 Andreas Schwab <schwab@redhat.com>
38976 * malloc/arena.c (_int_new_arena): Don't increment narenas.
38977 (reused_arena): Don't check arena limit.
38978 (arena_get2): Atomically check arena limit.
38980 2011-11-08 Ulrich Drepper <drepper@gmail.com>
38982 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
38983 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
38985 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
38988 2011-11-07 Andreas Schwab <schwab@redhat.com>
38990 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
38991 handler when locking.
38993 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
38994 Fix size of allocated buffer.
38996 2011-11-04 Andreas Schwab <schwab@redhat.com>
38999 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
39000 declarations for long double functions.
39001 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
39003 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
39005 2011-11-03 Andreas Schwab <schwab@redhat.com>
39007 * nscd/nscd.c (main): Don't start AVC thread until credentials are
39010 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
39013 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
39015 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
39017 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
39019 * include/alloca.h (stackinfo_alloca_round): Define.
39020 (extend_alloca): Use it.
39021 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
39022 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
39025 * scripts/check-local-headers.sh: Ignore libaudit.h.
39027 * nscd/Makefile (extra-objs): Make recursively expanded.
39029 2011-11-01 Ulrich Drepper <drepper@gmail.com>
39031 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
39032 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
39034 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
39035 * posix/tst-rfc3484-2.c: Likewise.
39036 * posix/tst-rfc3484-3.c: Likewise.
39038 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
39040 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
39042 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
39043 process_vm_writev from libc using GLIBC_2.15 version.
39045 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
39047 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
39049 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
39052 2011-10-31 Ulrich Drepper <drepper@gmail.com>
39055 * nss/getent.c (initgroups_keys): Show error message in case no group
39058 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
39059 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
39060 __bump_nl_timestamp.
39061 * nscd/connections (nscd_init): When host database is served open
39062 netlink socket and request notification about configuration changes.
39063 (main_loop_poll): Track netlink file descriptor and bump timestamp
39064 in case data becomes available.
39065 (main_loop_epoll): Likewise.
39066 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
39067 (database_pers_head): Add extra_data fileds.
39068 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
39069 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
39070 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
39072 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
39073 in6ai data, call __free_in6ai.
39074 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
39075 Add -DHAVE_NETLINK.
39076 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
39077 interface information. Reuse previous data if netlink timestamp
39079 (__bump_nl_timestamp): New function.
39080 (__free_in6ai): New function.
39082 2011-10-30 Ulrich Drepper <drepper@gmail.com>
39084 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
39085 close_not_cancel_no_status here.
39086 (__check_pf): Reorganize code a bit to not call close twice if OOM.
39088 2011-10-29 Ulrich Drepper <drepper@gmail.com>
39091 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
39094 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
39095 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
39096 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
39098 2011-07-03 Andreas Jaeger <aj@suse.de>
39101 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
39102 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
39103 * math/libm-test.inc (sin_test): Add test case.
39105 2011-10-29 Ulrich Drepper <drepper@gmail.com>
39108 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
39109 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
39111 * elf/chroot_canon.c (chroot_canon): Cleanups.
39113 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
39116 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
39117 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
39119 * string/test-strchr.c: Make usable for strchrnul testing.
39120 * string/test-strchrnul.c: New file.
39121 * string/Makefile (strop-tests): Add strchrnul.
39123 * po/it.po: Update from translation team.
39124 * po/es.po: Likewise.
39126 2011-10-28 Ulrich Drepper <drepper@gmail.com>
39128 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
39129 the three constants needed as parameters. Drop the others.
39130 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
39131 __m128i_strloadu_tolower.
39132 Create and initialize variable zero and use it in all the places
39133 where _mm_setzero_si128 was used.
39135 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
39136 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
39137 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
39138 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
39140 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
39141 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
39142 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
39143 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
39144 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
39145 __mpranred, __mptan.
39146 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
39147 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
39148 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
39149 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
39150 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
39151 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
39152 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
39153 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
39154 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
39156 2011-10-28 Andreas Schwab <schwab@redhat.com>
39158 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
39159 redefine if SHARED.
39160 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
39162 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
39163 wide char related routines to wcsmbs subdir.
39165 2011-10-27 Andreas Schwab <schwab@redhat.com>
39168 * misc/sys/cdefs.h (__THROWNL): Define.
39169 * posix/unistd.h: Use __THREADNL instead of __THREAD
39170 for memory synchronization functions.
39172 2011-10-26 Roland McGrath <roland@hack.frob.com>
39175 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
39177 * manual/stdio.texi (Obstack Streams): Node removed.
39179 2011-10-26 Andreas Schwab <schwab@redhat.com>
39181 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
39182 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
39183 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
39185 * math/math_private.h (math_force_eval): Allow non-addressable
39187 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
39189 2011-10-25 Ulrich Drepper <drepper@gmail.com>
39191 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
39192 file is not needed.
39194 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
39195 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
39196 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
39197 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
39198 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
39199 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
39200 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
39201 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
39203 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
39204 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
39205 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
39206 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
39207 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
39208 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
39209 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
39210 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
39211 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
39212 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
39213 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
39214 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
39215 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
39216 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
39217 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
39218 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
39219 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
39220 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
39221 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
39223 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
39224 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
39226 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
39227 place. Use VEX encoding when compiling for AVX.
39229 2011-10-25 Andreas Schwab <schwab@redhat.com>
39231 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
39232 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
39234 * string/test-strchr.c (do_test): Don't generate NUL bytes.
39236 2011-10-25 Ulrich Drepper <drepper@gmail.com>
39238 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
39239 useless if() expression.
39240 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
39241 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
39242 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
39243 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39244 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
39245 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
39246 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39247 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39248 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
39249 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39250 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
39251 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39252 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
39253 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39254 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
39255 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
39256 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39257 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39258 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
39260 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
39262 2011-10-25 Andreas Schwab <schwab@redhat.com>
39264 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
39266 * elf/dl-fini.c (_dl_sort_fini): Likewise.
39268 2011-10-25 Ulrich Drepper <drepper@gmail.com>
39270 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
39271 .text section. Avoid duplicate constants.
39272 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
39273 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39274 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39275 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39276 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39277 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39278 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39279 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39280 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
39281 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
39282 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
39283 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
39284 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
39285 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
39286 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
39287 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
39288 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
39289 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
39290 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39291 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39292 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
39293 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
39294 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
39295 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
39296 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
39297 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
39298 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
39299 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
39300 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
39301 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
39302 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
39303 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
39304 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
39305 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
39306 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
39307 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
39308 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
39309 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
39310 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
39311 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
39312 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
39313 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
39314 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
39315 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
39316 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
39318 2011-10-24 Ulrich Drepper <drepper@gmail.com>
39320 * sysdeps/x86_64/dla.h: Move to ...
39321 * sysdeps/x86_64/fpu/dla.h: ...here.
39322 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
39323 situations. Use __builtin_fma only for gcc 4.6 and up.
39325 * config.make.in: Add have-mfma4 entry.
39326 * configure.in: Substitute libc_cv_cc_fma4.
39327 * math/Makefile (dbl-only-routines): Add sincostab.
39328 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
39329 Use __sincostab not sincos.
39330 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
39332 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39333 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39334 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39335 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
39337 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
39338 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
39339 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
39340 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
39342 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
39343 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
39345 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
39346 define aliases when function name is a macro.
39347 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
39348 sysdeps/ieee754/dbl-64/sincos.tbl.
39349 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
39350 fma4-enabled routines.
39351 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
39352 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
39353 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
39354 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
39355 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
39356 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
39357 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
39358 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
39359 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
39360 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
39361 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
39362 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
39363 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
39364 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
39365 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
39366 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
39367 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
39368 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
39369 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
39370 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
39371 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
39372 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
39373 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
39374 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
39375 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
39376 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
39377 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
39378 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
39379 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
39380 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
39382 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
39384 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39385 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39386 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39387 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39388 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39389 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39390 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39391 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39393 2011-10-24 Andreas Schwab <schwab@redhat.com>
39395 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
39397 2011-10-23 Ulrich Drepper <drepper@gmail.com>
39399 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
39401 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
39403 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
39405 * string/strnlen.c: Don't define STRNLEN, reverse logic.
39406 Remove unused variable magic_bits.
39407 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
39409 * string/strnlen.c: Define and use STRNLEN macro.
39410 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
39411 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
39412 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
39413 * wcsmbs/wcslen.c: Define and use WCSLEN.
39414 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
39415 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
39416 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
39417 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
39418 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
39419 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
39420 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
39422 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39424 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39425 strnlen-sse2-no-bsf.
39426 Rename strlen-no-bsf to strlen-sse2-no-bsf.
39427 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
39428 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
39429 Add strnlen support.
39430 (USE_AS_STRNLEN): New macro.
39431 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
39432 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
39433 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
39434 * sysdeps/x86_64/wcslen.S: New file.
39436 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
39438 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
39439 XMM-moves are used for copying on small sizes.
39441 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39443 * wcsmbs/Makefile (strop-tests): Add wcschr.
39444 * wcsmbs/test-wcschr.c: New file.
39445 * string/test-strchr.c: Update.
39446 Add wcschr support.
39449 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39451 * wcsmbs/Makefile (strop-tests): Add wcslen.
39452 * wcsmbs/test-wcslen.c: New file.
39453 * string/test-strlen.c: Update.
39454 Add wcslen support.
39457 2011-10-23 Ulrich Drepper <drepper@gmail.com>
39459 * po/it.po: Update from translation team.
39461 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39463 * sysdeps/x86_64/wcscmp.S: Update.
39464 Fix wrong comparison semantics.
39465 wcscmp shall use signed comparison not unsigned.
39466 Don't use substraction to avoid overflow bug.
39467 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
39468 * wcsmbc/wcscmp.c: Likewise.
39469 * string/test-strcmp.c: Likewise.
39470 Add new tests to check cases with negative values.
39472 2011-10-23 Ulrich Drepper <drepper@gmail.com>
39474 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
39475 * sysdeps/x86_64/dla.h: ...here. New file.
39476 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
39477 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39478 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39479 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39480 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39481 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39482 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39483 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39484 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39486 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
39488 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
39489 __ynl_finite aliases.
39491 2011-10-22 Ulrich Drepper <drepper@gmail.com>
39493 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39495 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
39497 [DLA_FMA] (EMULV): Use DLA_FMA.
39498 [DLA_FMA] (MUL12): Use EMULV.
39499 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
39500 that are not needed.
39501 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39502 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39503 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39504 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39505 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39506 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39507 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39509 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
39511 * math/s_nan.c: Undef __nan.
39512 * math/s_nanf.c: Undef __nanf.
39513 * math/s_nanl.c: Undef __nanl.
39514 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
39517 2011-10-22 Ulrich Drepper <drepper@gmail.com>
39519 * math/s_catan.c: Add branch predictions.
39520 * math/s_catanf.c: Likewise.
39521 * math/s_catanh.c: Likewise.
39522 * math/s_catanhf.c: Likewise.
39523 * math/s_catanhl.c: Likewise.
39524 * math/s_catanl.c: Likewise.
39525 * math/s_cexp.c: Likewise.
39526 * math/s_cexpf.c: Likewise.
39527 * math/s_cexpl.c: Likewise.
39528 * math/s_clog.c: Likewise.
39529 * math/s_clog10.c: Likewise.
39530 * math/s_clog10f.c: Likewise.
39531 * math/s_clog10l.c: Likewise.
39532 * math/s_clogf.c: Likewise.
39533 * math/s_clogl.c: Likewise.
39534 * math/s_csqrt.c: Likewise.
39535 * math/s_csqrtf.c: Likewise.
39536 * math/s_csqrtl.c: Likewise.
39537 * math/s_ctanf.c: Likewise.
39538 * math/s_ctanh.c: Likewise.
39539 * math/s_ctanhf.c: Likewise.
39540 * math/s_ctanhl.c: Likewise.
39541 * math/s_ctanl.c: Likewise.
39543 * math/math_private.h: Define __nan, __nanf, __nanl.
39544 * math/s_cacosh.c: Include <math_private.h>.
39545 * math/s_cacoshl.c: Likewise.
39546 * math/s_casinh.c: Likewise.
39547 * math/s_casinhf.c: Likewise.
39548 * math/s_casinhl.c: Likewise.
39549 * math/s_ccos.c: Rely entire on ccosh.
39550 * math/s_ccosf.c: Rely entire on ccoshf.
39551 * math/s_ccosl.c: Rely entirely on ccoshl.
39552 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
39553 Remove tests for FE_INVALID.
39554 * math/s_ccoshf.c: Likewise.
39555 * math/s_ccoshl.c: Likewise.
39556 * math/s_csin.c: Likewise.
39557 * math/s_csinf.c: Likewise.
39558 * math/s_csinh.c Likewise.
39559 * math/s_csinhf.c: Likewise.
39560 * math/s_csinhl.c: Likewise.
39561 * math/s_csinl.c: Likewise.
39562 * math/s_ctan.c: Likewise.
39563 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
39564 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
39565 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
39567 2011-10-21 Ulrich Drepper <drepper@gmail.com>
39569 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
39570 compilation problems.
39572 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
39575 2011-10-20 Ulrich Drepper <drepper@gmail.com>
39577 * sysdeps/i386/configure.in: Test for -mfma4 option.
39578 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
39579 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
39580 COMMON_CPUID_INDEX_80000001.
39581 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
39582 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
39583 use it if FMA3 is not supported.
39584 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
39586 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
39587 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
39589 2011-10-20 Andreas Schwab <schwab@redhat.com>
39592 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
39593 it would create a cycle with a link time dependency.
39595 2011-10-19 Ulrich Drepper <drepper@gmail.com>
39597 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
39599 * string/Makefile (strop-tests): Add rawmemchr.
39600 * string/test-rawmemchr.c: New file.
39602 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
39603 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
39604 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
39605 when compiling str{,n}casecmp and when AVX is available. Hook up
39606 new optimized code in initializers.
39608 2011-10-19 Andreas Schwab <schwab@redhat.com>
39610 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
39611 __feraiseexcept instead of feraiseexcept.
39613 2011-10-18 Ulrich Drepper <drepper@gmail.com>
39615 * math/math_private.h: Define defaults for libc_fetestexcept and
39617 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
39618 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
39619 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
39620 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
39621 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
39622 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
39623 libc_fetestexcept and libc_feupdateenv.
39625 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
39626 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
39627 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
39628 * sysdeps/x86_64/fpu/math_private.h: Define special version of
39629 libc_feholdexcept_setround.
39631 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
39632 Add s_nearbyint-c and s_nearbyintf-c.
39633 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
39634 nearbyintf inlines.
39635 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
39636 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
39637 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
39638 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
39640 * math/math_private.h: Define defaults for libc_fegetround,
39641 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
39642 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
39643 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
39644 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
39645 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
39646 standard functions.
39647 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
39648 Remove comments and hacks for old compiler versions.
39649 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
39650 libc_fegetround, libc_fesetround, libc_feholdexcept, and
39651 libc_feholdexceptl.
39653 2011-10-18 Andreas Schwab <schwab@redhat.com>
39655 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
39656 (__feraiseexcept_renamed): Add __NTH.
39657 (feraiseexcept): Add __NTH. Rename local variables to fix
39658 namespace violations.
39660 2011-10-17 Ulrich Drepper <drepper@gmail.com>
39662 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
39664 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
39666 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
39667 recently added interfaces.
39668 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
39670 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
39671 about macro parameter expansion.
39673 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
39674 __NO_MATH_INLINES is defined. Cleanups.
39676 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
39677 and __floorf is target has SSE4.1.
39678 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
39679 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
39680 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
39681 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
39683 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
39685 (floorf): Likewise.
39687 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
39689 2011-10-17 Andreas Schwab <schwab@redhat.com>
39691 * misc/sys/cdefs.h: Fix last change.
39693 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
39696 2011-10-16 Ulrich Drepper <drepper@gmail.com>
39698 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
39700 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
39701 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39702 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
39703 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39704 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39705 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
39706 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39707 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39708 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
39709 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
39710 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
39711 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
39712 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
39713 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
39714 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
39715 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
39716 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
39717 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
39718 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
39719 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
39720 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
39721 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
39723 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
39724 ceil, ceilf, floor, floorf.
39726 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
39727 Perform IRELATIVE relocations last.
39729 * elf/do-rel.h: Add another parameter nrelative, replacing the
39730 local variable with the same name. Change name of the function
39731 to end in Rel or Rela (uppercase).
39732 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
39733 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
39734 elf_dynamic_do_##reloc function.
39736 2011-10-15 Ulrich Drepper <drepper@gmail.com>
39738 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
39739 is sufficient, at least on modern CPUs.
39741 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
39743 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
39744 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
39746 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
39748 * math/bits/math-finite.h: Add entries for exp.
39749 * math/e_expl.c: Add __*_finite alias.
39750 * sysdeps/i386/fpu/e_exp.S: Likewise.
39751 * sysdeps/i386/fpu/e_expf.S: Likewise.
39752 * sysdeps/i386/fpu/e_expl.c: Likewise.
39753 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39754 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
39755 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
39756 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
39757 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
39758 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
39759 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
39761 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
39762 is sufficient, at least on modern CPUs.
39764 * ctype/ctype-info.c (__ctype_init): Define.
39765 * include/ctype.h (__ctype_init): Declare.
39766 (__ctype_b_loc): The variable is always initialized.
39767 (__ctype_toupper_loc): Likewise.
39768 (__ctype_tolower_loc): Likewise.
39769 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
39770 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
39772 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
39774 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
39776 * configure.in: Also look in $cxxmachine/include for C++ system
39779 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39781 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
39782 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
39783 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
39784 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
39785 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
39786 (USE_AS_WMEMCMP): New macro.
39788 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
39789 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
39790 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
39791 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
39792 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39793 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
39794 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
39795 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
39796 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
39797 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
39798 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
39799 (USE_AS_WMEMCMP): New macro.
39800 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
39801 * sysdeps/string/test-memcmp.c: Update.
39802 Fix simple_wmemcmp.
39804 * wcsmbs/wmemcmp.c: Update.
39805 (WMEMCMP): New macro.
39808 2011-10-12 Andreas Jaeger <aj@suse.de>
39811 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
39813 2011-10-15 Ulrich Drepper <drepper@gmail.com>
39815 * libio/iofwide.c (do_length): Avoid warning.
39817 * ctype/ctype.h (__isctype_f): Add missing __THROW.
39819 2011-10-14 Ulrich Drepper <drepper@gmail.com>
39821 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
39823 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
39824 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
39825 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
39826 * sysdeps/i386/i686/fpu/e_log.S: New file.
39827 * sysdeps/i386/i686/fpu/e_logf.S: New file.
39828 * sysdeps/i386/i686/fpu/e_logl.S: New file.
39830 * ctype/ctype.h: Add support for inlined isXXX functions when
39831 compiling C++ code.
39833 2011-10-14 Andreas Schwab <schwab@redhat.com>
39835 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39837 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
39839 2011-10-13 Roland McGrath <roland@hack.frob.com>
39842 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
39844 2011-10-13 Andreas Schwab <schwab@redhat.com>
39846 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
39847 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
39850 * sysdeps/x86_64/memrchr.S: Check for zero size.
39852 * string/stratcliff.c: Add memrchr tests.
39854 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39856 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39857 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
39858 rawmemchr-sse2 rawmemchr-sse2-bsf.
39859 * sysdeps/i386/i686/multiarch/memchr.S: New file.
39860 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
39861 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
39862 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
39863 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
39864 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
39865 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
39866 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
39867 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
39868 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
39869 * string/memrchr.c (MEMRCHR): New macro.
39871 2011-10-12 Ulrich Drepper <drepper@gmail.com>
39873 Add integration with gcc's -ffinite-math-only and optimize wrapper
39875 * Versions.def: Define GLIBC_2.15 version for libm.
39876 * math/Makefile (headers): Add bits/math-finite.h.
39877 * math/bits/math-finite.h: New file.
39878 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
39879 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
39880 * math/e_acoshl.c: Add __*_finite alias.
39881 * math/e_acosl.c: Likewise.
39882 * math/e_asinl.c: Likewise.
39883 * math/e_atan2l.c: Likewise.
39884 * math/e_atanhl.c: Likewise.
39885 * math/e_coshl.c: Likewise.
39886 * math/e_exp10.c: Likewise.
39887 * math/e_exp10f.c: Likewise.
39888 * math/e_exp10l.c: Likewise.
39889 * math/e_exp2l.c: Likewise.
39890 * math/e_fmodl.c: Likewise.
39891 * math/e_gammal_r.c: Likewise.
39892 * math/e_hypotl.c: Likewise.
39893 * math/e_j0l.c: Likewise.
39894 * math/e_j1l.c: Likewise.
39895 * math/e_jnl.c: Likewise.
39896 * math/e_lgammal_r.c: Likewise.
39897 * math/e_log10l.c: Likewise.
39898 * math/e_log2l.c: Likewise.
39899 * math/e_logl.c: Likewise.
39900 * math/e_powl.c: Likewise.
39901 * math/e_sinhl.c: Likewise.
39902 * math/e_sqrtl.c: Likewise.
39903 * math/e_scalb.c: Completely rewritten and optimized.
39904 * math/e_scalbf.c: Likewise.
39905 * math/e_scalbl.c: Likewise.
39906 * math/w_acos.c: Likewise.
39907 * math/w_acosf.c: Likewise.
39908 * math/w_acosl.c: Likewise.
39909 * math/w_acosh.c: Likewise.
39910 * math/w_acoshf.c: Likewise.
39911 * math/w_acoshl.c: Likewise.
39912 * math/w_asin.c: Likewise.
39913 * math/w_asinf.c: Likewise.
39914 * math/w_asinl.c: Likewise.
39915 * math/w_atan2.c: Likewise.
39916 * math/w_atan2f.c: Likewise.
39917 * math/w_atan2l.c: Likewise.
39918 * math/w_atanh.c: Likewise.
39919 * math/w_atanhf.c: Likewise.
39920 * math/w_atanhl.c: Likewise.
39921 * math/w_exp10.c: Likewise.
39922 * math/w_exp10f.c: Likewise.
39923 * math/w_exp10l.c: Likewise.
39924 * math/w_fmod.c: Likewise.
39925 * math/w_fmodf.c: Likewise.
39926 * math/w_fmodl.c: Likewise.
39927 * math/w_j0.c: Likewise.
39928 * math/w_j0f.c: Likewise.
39929 * math/w_j0l.c: Likewise.
39930 * math/w_j1.c: Likewise.
39931 * math/w_j1f.c: Likewise.
39932 * math/w_j1l.c: Likewise.
39933 * math/w_jn.c: Likewise.
39934 * math/w_jnf.c: Likewise.
39935 * math/w_log.c: Likewise.
39936 * math/w_logf.c: Likewise.
39937 * math/w_logl.c: Likewise.
39938 * math/w_log10.c: Likewise.
39939 * math/w_log10f.c: Likewise.
39940 * math/w_log10l.c: Likewise.
39941 * math/w_log2.c: Likewise.
39942 * math/w_log2f.c: Likewise.
39943 * math/w_log2l.c: Likewise.
39944 * math/w_pow.c: Likewise.
39945 * math/w_powf.c: Likewise.
39946 * math/w_powl.c: Likewise.
39947 * math/w_remainder.c: Likewise.
39948 * math/w_remainderf.c: Likewise.
39949 * math/w_remainderl.c: Likewise.
39950 * math/w_scalb.c: Likewise.
39951 * math/w_scalbf.c: Likewise.
39952 * math/w_scalbl.c: Likewise.
39953 * math/w_sqrt.c: Likewise.
39954 * math/w_sqrtf.c: Likewise.
39955 * math/w_sqrtl.c: Likewise.
39956 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
39957 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
39959 * math/math_private.h: Declare __kernel_standard_f.
39960 * math/w_cosh.c: Remove cruft and optimize a bit.
39961 * math/w_coshf.c: Likewise.
39962 * math/w_coshl.c: Likewise.
39963 * math/w_exp2.c: Likewise.
39964 * math/w_exp2f.c: Likewise.
39965 * math/w_exp2l.c: Likewise.
39966 * math/w_hypot.c: Likewise.
39967 * math/w_hypotf.c: Likewise.
39968 * math/w_hypotl.c: Likewise.
39969 * math/w_lgamma.c: Likewise.
39970 * math/w_lgamma_r.c: Likewise.
39971 * math/w_lgammaf.c: Likewise.
39972 * math/w_lgammaf_r.c: Likewise.
39973 * math/w_lgammal.c: Likewise.
39974 * math/w_lgammal_r.c: Likewise.
39975 * math/w_sinh.c: Likewise.
39976 * math/w_sinhf.c: Likewise.
39977 * math/w_sinhl.c: Likewise.
39978 * math/w_tgamma.c: Likewise.
39979 * math/w_tgammaf.c: Likewise.
39980 * math/w_tgammal.c: Likewise.
39981 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39982 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39983 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
39984 Minor optimizations. Pretty printing. Remove cruft.
39985 * sysdeps/i386/fpu/e_acosf.S: Likewise.
39986 * sysdeps/i386/fpu/e_acosh.S: Likewise.
39987 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
39988 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
39989 * sysdeps/i386/fpu/e_acosl.c: Likewise.
39990 * sysdeps/i386/fpu/e_asin.S: Likewise.
39991 * sysdeps/i386/fpu/e_asinf.S: Likewise.
39992 * sysdeps/i386/fpu/e_atan2.S: Likewise.
39993 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
39994 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
39995 * sysdeps/i386/fpu/e_atanh.S: Likewise.
39996 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
39997 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
39998 * sysdeps/i386/fpu/e_exp10.S: Likewise.
39999 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
40000 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
40001 * sysdeps/i386/fpu/e_exp2.S: Likewise.
40002 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
40003 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
40004 * sysdeps/i386/fpu/e_fmod.S: Likewise.
40005 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
40006 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
40007 * sysdeps/i386/fpu/e_hypot.S: Likewise.
40008 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
40009 * sysdeps/i386/fpu/e_log.S: Likewise.
40010 * sysdeps/i386/fpu/e_log10.S: Likewise.
40011 * sysdeps/i386/fpu/e_log10f.S: Likewise.
40012 * sysdeps/i386/fpu/e_log10l.S: Likewise.
40013 * sysdeps/i386/fpu/e_log2.S: Likewise.
40014 * sysdeps/i386/fpu/e_log2f.S: Likewise.
40015 * sysdeps/i386/fpu/e_log2l.S: Likewise.
40016 * sysdeps/i386/fpu/e_logf.S: Likewise.
40017 * sysdeps/i386/fpu/e_logl.S: Likewise.
40018 * sysdeps/i386/fpu/e_pow.S: Likewise.
40019 * sysdeps/i386/fpu/e_powf.S: Likewise.
40020 * sysdeps/i386/fpu/e_powl.S: Likewise.
40021 * sysdeps/i386/fpu/e_remainder.S: Likewise.
40022 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
40023 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
40024 * sysdeps/i386/fpu/e_scalb.S: Likewise.
40025 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40026 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40027 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
40028 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
40029 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
40030 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
40031 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40032 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40033 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
40034 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
40035 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
40036 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
40037 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
40038 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40039 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
40040 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
40041 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
40042 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40043 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
40044 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
40045 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40046 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40047 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
40048 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40049 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40050 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
40051 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
40052 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40053 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40054 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
40055 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
40056 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
40057 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
40058 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
40059 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
40060 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40061 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
40062 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40063 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
40064 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
40065 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
40066 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
40067 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
40068 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
40069 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
40070 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
40071 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
40072 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
40073 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
40074 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40075 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
40076 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
40077 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
40078 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
40079 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
40080 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
40081 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
40082 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
40083 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40084 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
40085 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
40086 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
40087 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
40088 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
40089 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
40090 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
40091 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
40092 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40093 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40094 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
40095 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
40096 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
40097 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
40098 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
40099 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
40100 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
40101 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
40102 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
40103 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
40104 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
40105 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40106 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
40107 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
40108 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40109 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
40110 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40111 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
40112 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
40113 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40114 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40115 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
40116 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40117 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
40118 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
40119 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
40120 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40121 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
40122 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
40123 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
40124 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
40125 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
40126 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
40127 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
40128 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
40129 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
40130 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
40131 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
40132 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
40133 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
40134 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40135 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40136 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40137 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40138 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
40139 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40140 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
40141 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
40142 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
40143 (__isnanf): Likewise.
40144 (__isinf_ns): Likewise.
40145 (__isinf_nsf): Likewise.
40146 (__finite): Likewise.
40147 (__finitef): Likewise.
40148 (__ieee754_sqrt): Define as macro.
40149 (__ieee754_sqrtf): Define as macro.
40150 (__ieee754_sqrtl): Define as macro.
40151 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
40153 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
40154 __FINITE_MATH_ONLY__ consistent.
40155 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
40157 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
40159 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
40162 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
40164 2011-10-09 Ulrich Drepper <drepper@gmail.com>
40166 * po/ja.po: Update from translation team.
40168 2011-10-08 Roland McGrath <roland@hack.frob.com>
40170 * locale/programs/locarchive.c (prepare_address_space): New function.
40171 (create_archive, enlarge_archive, open_archive): Use it.
40173 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
40174 inside [SHARED], where it is used.
40176 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
40178 * nss/getent.c (netgroup_keys): Remove unused variable.
40179 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
40181 2011-10-08 Ulrich Drepper <drepper@gmail.com>
40183 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
40184 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
40185 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
40186 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
40187 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
40188 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
40189 * math/Makefile (libm-calls): Add s_isinf_ns.
40190 * math/divtc3.c: Use __isinf_nsl instead of isinf.
40191 * math/multc3.c: Likewise.
40192 * math/s_casin.c: Likewise.
40193 * math/s_casinf.c: Likewise.
40194 * math/s_casinl.c: Likewise.
40195 * math/s_ccos.c: Likewise.
40196 * math/s_ccosf.c: Likewise.
40197 * math/s_ccosl.c: Likewise.
40198 * math/s_ctan.c: Likewise.
40199 * math/s_ctanf.c: Likewise.
40200 * math/s_ctanh.c: Likewise.
40201 * math/s_ctanhf.c: Likewise.
40202 * math/s_ctanhl.c: Likewise.
40203 * math/s_ctanl.c: Likewise.
40204 * math/w_fmod.c: Likewise.
40205 * math/w_fmodf.c: Likewise.
40206 * math/w_fmodl.c: Likewise.
40207 * math/w_remainder.c: Likewise.
40208 * math/w_remainderf.c: Likewise.
40209 * math/w_remainderl.c: Likewise.
40210 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
40211 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
40212 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
40213 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
40214 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
40215 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
40216 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
40217 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
40219 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
40221 * stdio-common/printf_fphex.c: Likewise.
40222 * stdio-common/printf_size.c: Likewise.
40224 * math/e_exp10.c: Include math_private.h using <...> not "...".
40225 * math/e_exp10f.c: Likewise.
40226 * math/e_exp10l.c: Likewise.
40227 * math/e_exp2l.c: Likewise.
40228 * math/e_j0l.c: Likewise.
40229 * math/e_j1l.c: Likewise.
40230 * math/e_jnl.c: Likewise.
40231 * math/e_lgammal_r.c: Likewise.
40232 * math/e_rem_pio2l.c: Likewise.
40233 * math/e_scalb.c: Likewise.
40234 * math/e_scalbf.c: Likewise.
40235 * math/e_scalbl.c: Likewise.
40236 * math/k_cosl.c: Likewise.
40237 * math/k_sinl.c: Likewise.
40238 * math/k_tanl.c: Likewise.
40239 * math/s_cacoshf.c: Likewise.
40240 * math/s_catan.c: Likewise.
40241 * math/s_catanf.c: Likewise.
40242 * math/s_catanh.c: Likewise.
40243 * math/s_catanhf.c: Likewise.
40244 * math/s_catanhl.c: Likewise.
40245 * math/s_catanl.c: Likewise.
40246 * math/s_ccosh.c: Likewise.
40247 * math/s_ccoshf.c: Likewise.
40248 * math/s_ccoshl.c: Likewise.
40249 * math/s_cexp.c: Likewise.
40250 * math/s_cexpf.c: Likewise.
40251 * math/s_cexpl.c: Likewise.
40252 * math/s_clog.c: Likewise.
40253 * math/s_clog10.c: Likewise.
40254 * math/s_clog10f.c: Likewise.
40255 * math/s_clog10l.c: Likewise.
40256 * math/s_clogf.c: Likewise.
40257 * math/s_clogl.c: Likewise.
40258 * math/s_csin.c: Likewise.
40259 * math/s_csinf.c: Likewise.
40260 * math/s_csinh.c: Likewise.
40261 * math/s_csinhf.c: Likewise.
40262 * math/s_csinhl.c: Likewise.
40263 * math/s_csinl.c: Likewise.
40264 * math/s_csqrt.c: Likewise.
40265 * math/s_csqrtf.c: Likewise.
40266 * math/s_csqrtl.c: Likewise.
40267 * math/s_ctan.c: Likewise.
40268 * math/s_ctanf.c: Likewise.
40269 * math/s_ctanh.c: Likewise.
40270 * math/s_ctanhf.c: Likewise.
40271 * math/s_ctanhl.c: Likewise.
40272 * math/s_ctanl.c: Likewise.
40273 * math/s_ldexp.c: Likewise.
40274 * math/s_ldexpf.c: Likewise.
40275 * math/s_ldexpl.c: Likewise.
40276 * math/s_significand.c: Likewise.
40277 * math/s_significandf.c: Likewise.
40278 * math/s_significandl.c: Likewise.
40279 * math/w_acos.c: Likewise.
40280 * math/w_acosf.c: Likewise.
40281 * math/w_acosh.c: Likewise.
40282 * math/w_acoshf.c: Likewise.
40283 * math/w_acoshl.c: Likewise.
40284 * math/w_acosl.c: Likewise.
40285 * math/w_asin.c: Likewise.
40286 * math/w_asinf.c: Likewise.
40287 * math/w_asinl.c: Likewise.
40288 * math/w_atan2.c: Likewise.
40289 * math/w_atan2f.c: Likewise.
40290 * math/w_atan2l.c: Likewise.
40291 * math/w_atanh.c: Likewise.
40292 * math/w_atanhf.c: Likewise.
40293 * math/w_atanhl.c: Likewise.
40294 * math/w_cosh.c: Likewise.
40295 * math/w_coshf.c: Likewise.
40296 * math/w_coshl.c: Likewise.
40297 * math/w_dremf.c: Likewise.
40298 * math/w_exp10.c: Likewise.
40299 * math/w_exp10f.c: Likewise.
40300 * math/w_exp10l.c: Likewise.
40301 * math/w_exp2.c: Likewise.
40302 * math/w_exp2f.c: Likewise.
40303 * math/w_fmod.c: Likewise.
40304 * math/w_fmodf.c: Likewise.
40305 * math/w_fmodl.c: Likewise.
40306 * math/w_hypot.c: Likewise.
40307 * math/w_hypotf.c: Likewise.
40308 * math/w_hypotl.c: Likewise.
40309 * math/w_j0.c: Likewise.
40310 * math/w_j0f.c: Likewise.
40311 * math/w_j0l.c: Likewise.
40312 * math/w_j1.c: Likewise.
40313 * math/w_j1f.c: Likewise.
40314 * math/w_j1l.c: Likewise.
40315 * math/w_jn.c: Likewise.
40316 * math/w_jnf.c: Likewise.
40317 * math/w_jnl.c: Likewise.
40318 * math/w_lgamma.c: Likewise.
40319 * math/w_lgamma_r.c: Likewise.
40320 * math/w_lgammaf.c: Likewise.
40321 * math/w_lgammaf_r.c: Likewise.
40322 * math/w_lgammal.c: Likewise.
40323 * math/w_lgammal_r.c: Likewise.
40324 * math/w_log.c: Likewise.
40325 * math/w_log10.c: Likewise.
40326 * math/w_log10f.c: Likewise.
40327 * math/w_log10l.c: Likewise.
40328 * math/w_log2.c: Likewise.
40329 * math/w_log2f.c: Likewise.
40330 * math/w_log2l.c: Likewise.
40331 * math/w_logf.c: Likewise.
40332 * math/w_logl.c: Likewise.
40333 * math/w_pow.c: Likewise.
40334 * math/w_powf.c: Likewise.
40335 * math/w_powl.c: Likewise.
40336 * math/w_remainder.c: Likewise.
40337 * math/w_remainderf.c: Likewise.
40338 * math/w_remainderl.c: Likewise.
40339 * math/w_scalb.c: Likewise.
40340 * math/w_scalbf.c: Likewise.
40341 * math/w_scalbl.c: Likewise.
40342 * math/w_sinh.c: Likewise.
40343 * math/w_sinhf.c: Likewise.
40344 * math/w_sinhl.c: Likewise.
40345 * math/w_sqrt.c: Likewise.
40346 * math/w_sqrtf.c: Likewise.
40347 * math/w_sqrtl.c: Likewise.
40348 * math/w_tgamma.c: Likewise.
40349 * math/w_tgammaf.c: Likewise.
40350 * math/w_tgammal.c: Likewise.
40352 * po/ja.po: Update from translation team.
40354 2011-09-29 Andreas Jaeger <aj@suse.de>
40357 * sunrpc/netname.c (netname2host): Fix logic.
40361 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
40363 * math/w_remainder.c (__remainder): Likewise.
40364 * math/w_remainderf.c (__remainderf): Likewise.
40365 * math/libm-test.inc (remainder_test): Add test cases.
40367 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40369 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
40372 2011-10-07 Ulrich Drepper <drepper@gmail.com>
40374 * string/test-memcmp.c: Avoid unncessary #defines.
40375 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
40377 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40379 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
40380 Use new sse2 version for core i3 - i7 as it's faster
40381 than sse42 version.
40382 (bit_Prefer_PMINUB_for_stringop): New.
40383 * sysdeps/x86_64/rawmemchr.S: Update.
40384 Replace with faster SSE2 version.
40385 * sysdeps/x86_64/memrchr.S: New file.
40386 * sysdeps/x86_64/memchr.S: Update.
40387 Replace with faster SSE2 version.
40389 2011-09-12 Marek Polacek <mpolacek@redhat.com>
40391 * elf/dl-load.c (lose): Add cast to avoid warning.
40393 2011-10-07 Ulrich Drepper <drepper@gmail.com>
40395 * po/ca.po: Update from translation team.
40397 * inet/getnetgrent_r.c: Hook up nscd.
40398 * nscd/Makefile (routines): Add nscd_netgroup.
40399 (nscd-modules): Add netgroupcache.
40400 (CFLAGS-netgroupcache.c): Define.
40401 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
40402 (cache_search): Add const to second parameter.
40403 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
40405 (dbs): Add netgrdb entry.
40406 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
40407 (verify_persistent_db): Handle netgrdb.
40408 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
40409 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
40411 (netgroup_response_header): Define.
40412 (innetgroup_response_header): Define.
40413 (datahead): Add netgroup_response_header and innetgroup_response_header
40415 * nscd/nscd.conf: Add entries for netgroup cache.
40416 * nscd/nscd.h (dbtype): Add netgrdb.
40417 (_PATH_NSCD_NETGROUP_DB): Define.
40418 (netgroup_iov_disabled): Declare.
40419 (xmalloc, xcalloc, xrealloc): Move declarations here.
40420 (cache_search): Adjust prototype.
40421 Add netgroup-related prototypes.
40422 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
40423 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
40424 (__nscd_innetgr): Declare.
40425 * nscd/selinux.c (perms): Use access_vector_t as element type and
40426 add netgroup-related initializers.
40427 * nscd/netgroupcache.c: New file.
40428 * nscd/nscd_netgroup.c: New file.
40429 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
40430 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
40431 For four parameters use innetgr.
40432 * nss/nss_files/files-init.c: Add definition and callback for netgr.
40433 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
40434 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
40435 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
40437 * nscd/connections.c (register_traced_file): Don't register file
40438 for disabled databases.
40440 2011-10-06 Ulrich Drepper <drepper@gmail.com>
40442 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
40444 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
40445 from tree and freeing node.
40447 2011-09-25 Jiri Olsa <jolsa@redhat.com>
40449 * nss/nsswitch.c (__nss_database_lookup): Handle
40450 nss_parse_service_list out of memory case.
40452 2011-09-15 Jiri Olsa <jolsa@redhat.com>
40454 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
40455 out of memory case.
40457 2011-10-04 Andreas Schwab <schwab@redhat.com>
40459 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
40460 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
40462 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
40463 elf_machine_rela, elf_machine_lazy_rel.
40464 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
40465 (ELF_DYNAMIC_DO_REL): Likewise.
40466 (ELF_DYNAMIC_DO_RELA): Likewise.
40467 (ELF_DYNAMIC_RELOCATE): Likewise.
40468 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
40469 to ELF_DYNAMIC_DO_REL.
40470 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
40471 (dl_main): In trace mode always set __RTLD_NOIFUNC.
40472 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
40474 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
40475 skip_ifunc, don't call ifunc function if non-zero.
40476 (elf_machine_rela): Likewise.
40477 (elf_machine_lazy_rel): Likewise.
40478 (elf_machine_lazy_rela): Likewise.
40479 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
40480 (elf_machine_lazy_rel): Likewise.
40481 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
40483 (elf_machine_lazy_rel): Likewise.
40484 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
40486 (elf_machine_lazy_rel): Likewise.
40487 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
40488 (elf_machine_lazy_rel): Likewise.
40489 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
40490 (elf_machine_lazy_rel): Likewise.
40491 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
40492 (elf_machine_lazy_rel): Likewise.
40493 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
40494 (elf_machine_lazy_rel): Likewise.
40495 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
40496 (elf_machine_lazy_rel): Likewise.
40497 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
40498 (elf_machine_lazy_rel): Likewise.
40500 2011-09-28 Ulrich Drepper <drepper@gmail.com>
40502 * nss/nss_files/files-init.c (_nss_files_init): Use static
40503 initialization for all the *_traced_file variables.
40505 2011-09-28 Andreas Schwab <schwab@redhat.com>
40507 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40509 2011-09-27 Roland McGrath <roland@hack.frob.com>
40512 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
40514 2011-09-27 Andreas Schwab <schwab@redhat.com>
40516 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
40517 Reread the line before reparsing it.
40519 2011-09-26 Andreas Schwab <schwab@redhat.com>
40521 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
40523 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
40524 Maxim Kuvyrkov <maxim@codesourcery.com>
40525 Joseph Myers <joseph@codesourcery.com>
40527 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
40528 if needed for __stack_chk_guard.
40530 2011-09-19 Roland McGrath <roland@hack.frob.com>
40532 * sysdeps/posix/spawni.c (script_execute): Always define it.
40533 It will be optimized away if unused.
40534 (maybe_script_execute): New function.
40535 (__spawni): Call it.
40537 * Makerules: Don't include tls.make.
40538 (config-tls): Always set to thread.
40539 * tls.make.c: File removed.
40541 2011-09-19 Mike Frysinger <vapier@gentoo.org>
40543 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
40544 * config.make.in (CPPFLAGS-config): New substituted variable.
40546 2011-09-15 Ulrich Drepper <drepper@gmail.com>
40548 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
40551 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
40552 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
40554 2011-09-15 Roland McGrath <roland@hack.frob.com>
40556 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
40557 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
40558 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
40559 (CALL_FAIL): Likewise.
40560 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
40561 (CALL_FAIL): Macro removed.
40562 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
40564 2011-09-15 Ulrich Drepper <drepper@gmail.com>
40566 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
40567 for __FINITE_MATH_ONLY__ == 1.
40569 2011-09-15 Andreas Schwab <schwab@redhat.com>
40571 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
40572 __ieee754_sqrt instead of sqrt.
40573 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
40574 __ieee754_sqrtf instead of sqrtf.
40575 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
40576 __floorf instead of floorf.
40577 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
40578 __floorf, __truncf instead of floorf, truncf.
40580 2011-09-14 Ulrich Drepper <drepper@gmail.com>
40582 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
40584 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
40585 __extern_always_inline.
40586 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
40589 2011-09-14 Andreas Schwab <schwab@redhat.com>
40591 * elf/rtld.c (dl_main): Also relocate in dependency order when
40592 doing symbol dependency testing.
40594 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
40596 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
40597 Always define `refsym'.
40599 2011-09-13 Andreas Schwab <schwab@redhat.com>
40601 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
40602 (__FD_ELT): Renamed from __FDELT.
40603 * misc/bits/select2.h (__FD_ELT): Likewise.
40604 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
40605 __FD_MASK instead of __FDELT, __FDMASK.
40606 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
40608 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
40611 * elf/Makefile (gen-ldd): Fix pattern.
40613 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
40614 (init_tls): Likewise.
40616 2011-09-12 Ulrich Drepper <drepper@gmail.com>
40618 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
40620 2011-09-12 Andreas Schwab <schwab@redhat.com>
40622 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
40623 `struct cmsghdr *' instead of `void *'.
40624 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
40627 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
40629 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
40631 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
40632 ldd_rewrite_script.
40634 2011-09-11 Ulrich Drepper <drepper@gmail.com>
40636 * configure.in: Remove --with-tls option.
40637 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
40638 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
40639 out in case it is missing.
40640 * sysdeps/ia64/elf/configure.in: Likewise.
40641 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
40642 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
40643 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
40644 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
40645 * sysdeps/sh/elf/configure.in: Likewise.
40646 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
40647 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
40648 * sysdeps/x86_64/elf/configure.in: Likewise.
40649 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
40650 * sysdeps/mach/hurd/tls.h: Likewise.
40653 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
40656 * configure.in: Fix use of AC_INIT.
40658 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
40660 2011-09-10 Ulrich Drepper <drepper@gmail.com>
40662 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
40664 * malloc/hooks.c: Likewise.
40667 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
40668 variables statically.
40669 (narenas): Initialize.
40670 (list_lock): Initialize.
40671 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
40672 initializtion of main_arena and list_lock. Small cleanups.
40673 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
40674 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
40675 Add initializers to main_arena and mp_.
40676 (malloc_state): Remove pagesize member. Change all users to use
40679 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
40680 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
40681 is always initialized.
40683 * malloc/malloc.c: Removed unused configurations and dead code.
40684 * malloc/arena.c: Likewise.
40685 * malloc/hooks.c: Likewise.
40686 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
40688 * include/tls.h: Removed. USE___THREAD must always be defined.
40689 * bits/libc-tsd.h: Don't handle !USE___THREAD.
40690 * elf/dl-libc.c: Likewise.
40691 * elf/dl-tsd.c: Likewise.
40692 * include/errno.h: Likewise.
40693 * include/netdb.h: Likewise.
40694 * include/resolv.h: Likewise.
40695 * inet/herrno-loc.c: Likewise.
40696 * inet/herrno.c: Likewise.
40697 * malloc/arena.c: Likewise.
40698 * malloc/hooks.c: Likewise.
40699 * malloc/malloc.c: Likewise.
40700 * resolv/res-state.c: Likewise.
40701 * resolv/res_libc.c: Likewise.
40702 * sysdeps/i386/dl-machine.h: Likewise.
40703 * sysdeps/ia64/dl-machine.h: Likewise.
40704 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
40705 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
40706 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
40707 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
40708 * sysdeps/sh/dl-machine.h: Likewise.
40709 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
40710 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
40711 * sysdeps/unix/i386/sysdep.S: Likewise.
40712 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
40713 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
40714 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
40715 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
40716 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
40717 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
40718 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
40719 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40720 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40721 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
40722 * sysdeps/unix/x86_64/sysdep.S: Likewise.
40723 * sysdeps/x86_64/dl-machine.h: Likewise.
40724 * tls.make.c: Likewise.
40726 * configure.in: Remove --with-__thread option. Make tests for
40727 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
40728 tls_model attribute fail if no support is available. Remove
40730 * Makeconfig: Adjust for dropped configure option. All features are
40732 * Makerules: Likewise.
40733 * Versions.def: Likewise.
40734 * argp/argp-fmtstream.c: Likewise.
40735 * argp/argp-fmtstream.h: Likewise.
40736 * argp/argp-help.c: Likewise.
40737 * assert/assert.c: Likewise.
40738 * config.h.in: Likewise.
40739 * config.make.in: Likewise.
40740 * configure: Likewise.
40741 * configure.in: Likewise.
40742 * csu/Versions: Likewise.
40743 * csu/init.c: Likewise.
40744 * elf/tst-audit2.c: Likewise.
40745 * elf/tst-tls10.c: Likewise.
40746 * elf/tst-tls10.h: Likewise.
40747 * elf/tst-tls11.c: Likewise.
40748 * elf/tst-tls12.c: Likewise.
40749 * elf/tst-tls14.c: Likewise.
40750 * elf/tst-tlsmod11.c: Likewise.
40751 * elf/tst-tlsmod12.c: Likewise.
40752 * elf/tst-tlsmod13.c: Likewise.
40753 * elf/tst-tlsmod13a.c: Likewise.
40754 * elf/tst-tlsmod14a.c: Likewise.
40755 * elf/tst-tlsmod15b.c: Likewise.
40756 * elf/tst-tlsmod16a.c: Likewise.
40757 * elf/tst-tlsmod16b.c: Likewise.
40758 * elf/tst-tlsmod7.c: Likewise.
40759 * elf/tst-tlsmod8.c: Likewise.
40760 * elf/tst-tlsmod9.c: Likewise.
40761 * gmon/gmon.c: Likewise.
40762 * grp/fgetgrent_r.c: Likewise.
40763 * grp/putgrent.c: Likewise.
40764 * hurd/fopenport.c: Likewise.
40765 * include/libc-symbols.h: Likewise.
40766 * include/tls.h: Likewise.
40767 * intl/gettextP.h: Likewise.
40768 * intl/loadinfo.h: Likewise.
40769 * locale/global-locale.c: Likewise.
40770 * locale/localeinfo.h: Likewise.
40771 * mach/devstream.c: Likewise.
40772 * malloc/arena.c: Likewise.
40773 * malloc/set-freeres.c: Likewise.
40774 * misc/err.c: Likewise.
40775 * misc/getttyent.c: Likewise.
40776 * misc/mntent_r.c: Likewise.
40777 * posix/getopt.c: Likewise.
40778 * posix/wordexp.c: Likewise.
40779 * pwd/fgetpwent_r.c: Likewise.
40780 * resolv/Versions: Likewise.
40781 * resolv/res_hconf.c: Likewise.
40782 * shadow/fgetspent_r.c: Likewise.
40783 * shadow/putspent.c: Likewise.
40784 * stdio-common/printf_fphex.c: Likewise.
40785 * stdio-common/tmpfile.c: Likewise.
40786 * stdlib/abort.c: Likewise.
40787 * stdlib/fmtmsg.c: Likewise.
40788 * sunrpc/auth_unix.c: Likewise.
40789 * sunrpc/clnt_perr.c: Likewise.
40790 * sunrpc/clnt_tcp.c: Likewise.
40791 * sunrpc/clnt_udp.c: Likewise.
40792 * sunrpc/clnt_unix.c: Likewise.
40793 * sunrpc/openchild.c: Likewise.
40794 * sunrpc/svc_simple.c: Likewise.
40795 * sunrpc/svc_tcp.c: Likewise.
40796 * sunrpc/svc_udp.c: Likewise.
40797 * sunrpc/svc_unix.c: Likewise.
40798 * sunrpc/xdr.c: Likewise.
40799 * sunrpc/xdr_array.c: Likewise.
40800 * sunrpc/xdr_rec.c: Likewise.
40801 * sunrpc/xdr_ref.c: Likewise.
40802 * sunrpc/xdr_stdio.c: Likewise.
40804 2011-09-09 Ulrich Drepper <drepper@gmail.com>
40806 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40808 2011-07-03 Andreas Jaeger <aj@suse.de>
40810 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
40811 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
40812 regenerate with gen-libm-tests.pl.
40814 2010-05-12 Petr Baudis <pasky@suse.cz>
40817 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
40818 around j0() zero points by switching to j1().
40819 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40820 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40821 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40822 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40824 2011-09-09 Ulrich Drepper <drepper@gmail.com>
40826 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
40828 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
40830 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40831 Patch in part by Pavel Roskin <proski@gnu.org>.
40834 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
40836 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
40837 Free memory block if necessary.
40840 * libio/genops.c (INTDEF): For string streams the _lock pointer can
40841 be NULL. Don't lock in this case.
40843 2011-09-09 Roland McGrath <roland@hack.frob.com>
40845 * elf/elf.h (ELFOSABI_GNU): New macro.
40846 (ELFOSABI_LINUX): Define to that.
40848 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
40850 * string/strncat.c (strncat): Undef the symbol in case it has been
40851 defined in bits/string.h.
40853 2011-09-09 Ulrich Drepper <drepper@gmail.com>
40855 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
40857 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
40860 2011-08-17 Andreas Jaeger <aj@suse.de>
40862 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
40864 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
40865 Ian Lance Taylor <iant@google.com>
40867 * math/libm-test.inc (lround_test): New testcase.
40868 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
40870 2011-09-08 Ulrich Drepper <drepper@gmail.com>
40872 * Makefile: Remove support for automatic cvs check-ins.
40873 * Makerules: Likewise.
40874 * config.make.in: Likewise.
40875 * configure.in: Likewise.
40876 * intl/Makefile: Likewise.
40877 * locale/Makefile: Likewise.
40878 * po/Makefile: Likewise.
40879 * posix/Makefile: Likewise.
40880 * sysdeps/gnu/Makefile: Likewise.
40881 * sysdeps/mach/hurd/Makefile: Likewise.
40882 * sysdeps/sparc/sparc32/Makefile: Likewise.
40885 * posix/Makefile (bug-regex32-ENV): Define.
40886 Patch by John Stanley <jpsinthemix@verizon.net>.
40888 * misc/Makefile (headers): Add bits/select2.h.
40889 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
40890 * misc/bits/select2.h: New file.
40891 * include/bits/select2.h: New file.
40892 * debug/Makefile (routines): Add fdelt_chk.
40893 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
40894 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
40896 * debug/fdelt_chk.c: New file.
40898 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
40899 * wcsmbs/test-wmemcmp.c: Likewise.
40900 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
40901 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
40903 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40905 * string/Makefile (strop-tests): Add memcmp.
40906 * string/test-wmemcmp.c: New file.
40907 * string/test-memcmp.c: Add wmemcmp support.
40909 2011-09-08 Roland McGrath <roland@hack.frob.com>
40912 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
40915 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
40916 garbage value in a __mach_port_mod_refs call in the cases of the
40917 task-self and thread-self ports.
40919 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
40921 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
40923 2011-09-08 Andreas Schwab <schwab@redhat.com>
40925 * elf/dl-load.c (lose): Check for non-null L.
40927 2011-09-07 Ulrich Drepper <drepper@gmail.com>
40929 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
40931 * elf/dl-libc.c (dlerror_run): Pass back error code from
40935 * elf/dl-load.c (lose): Free l_origin if it is valid.
40937 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
40939 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
40940 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
40941 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
40942 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
40943 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
40944 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
40946 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40948 * sysdeps/powerpc/fpu/e_hypot.c: New file.
40949 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
40950 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
40951 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
40952 * sysdeps/powerpc/fpu/k_cosf.c: New file.
40953 * sysdeps/powerpc/fpu/k_sinf.c: New file.
40954 * sysdeps/powerpc/fpu/s_cosf.c: New file.
40955 * sysdeps/powerpc/fpu/s_sinf.c: New file.
40956 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
40957 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
40959 2011-08-15 Alan Modra <amodra@gmail.com>
40962 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
40963 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
40964 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
40965 ppc_mcount to static-only-routines.
40966 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
40968 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
40969 __mcount_internal with usual JUMPTARGET. Remove useless nop.
40971 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
40973 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
40974 for finite and infinity parameters.
40976 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
40978 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
40979 and add nop instructions for throughput optimization.
40980 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
40982 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
40984 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
40985 aligned copy for power7 with vector-scalar instructions.
40986 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
40988 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
40990 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
40993 2011-09-07 Andreas Schwab <schwab@redhat.com>
40996 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
40999 2011-09-07 Ulrich Drepper <drepper@gmail.com>
41001 * sysdeps/unix/sysv/linux/x86_64/init-first.c
41002 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
41003 syscall wrapper around clock_gettime in __vdso_clock_gettime.
41004 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
41007 2011-09-06 Ulrich Drepper <drepper@gmail.com>
41009 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
41010 Forgot to demangle the pointer.
41012 * sysdeps/i386/sysdep.h: Define atom_text_section.
41013 * sysdeps/x86_64/sysdep.h: Likewise.
41014 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
41015 section with atom_text_section.
41016 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
41017 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
41018 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
41019 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
41020 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
41022 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
41023 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
41024 already be defined. Change to take two parameters and don't assign
41025 result to variable. Adjust all users.
41026 Define INTERNAL_GETTIME if not already defined.
41027 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
41029 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
41030 HAVE_CLOCK_GETTIME_VSYSCALL.
41031 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
41033 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
41034 gettimeofday vsyscall, just use time.
41036 2011-09-06 Andreas Schwab <schwab@redhat.com>
41038 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
41041 2011-09-06 Ulrich Drepper <drepper@gmail.com>
41043 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
41045 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
41047 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
41048 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
41049 syscall if possible.
41051 2011-09-05 Ulrich Drepper <drepper@gmail.com>
41053 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
41054 e_ident. Don't pass to find_mapsXX.
41055 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
41057 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41059 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41060 strchr-sse2-no-bsf strrchr-sse2-no-bsf
41061 * sysdeps/x86_64/multiarch/strchr.S: Update.
41062 Check bit_slow_BSF bit.
41063 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
41064 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
41065 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
41067 2011-09-05 Ulrich Drepper <drepper@gmail.com>
41070 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
41072 (tryshell): Define.
41073 (__spawni): Change last parameter to be flag. Test
41074 SPAWN_XFLAGS_USE_PATH flag to use path or not.
41075 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
41076 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
41077 * posix/spawni.c: Likewise.
41078 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
41079 * posix/spawnp.c: Likewise. Change normal version to use
41080 SPAWN_XFLAGS_USE_PATH.
41081 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
41082 SPAWN_XFLAGS_TRY_SHELL.
41085 * posix/glob.h: Remove gcc 1.x support.
41088 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
41090 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41092 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41093 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
41095 * sysdeps/i386/i686/multiarch/strchr.S: New file.
41096 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
41097 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
41098 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
41099 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
41100 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
41102 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41104 * sysdeps/x86_64/wcscmp.S: New file.
41106 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
41107 wcscmp-c wcscmp-sse2
41108 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
41109 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
41110 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
41111 * wcsmbs/wcscmp.c: Allow renaming.
41113 2011-09-05 David S. Miller <davem@davemloft.net>
41115 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
41116 stack slot, rather than the struct return pointer slot.
41117 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
41118 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
41119 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
41120 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
41122 2011-09-05 Ulrich Drepper <drepper@gmail.com>
41124 * po/ja.po: Update from translation team.
41127 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
41128 kernel in 64-bit binaries.
41130 2011-09-01 David S. Miller <davem@davemloft.net>
41132 * elf/elf.h (HWCAP_SPARC_*): Move to..
41133 * sysdeps/sparc/sysdep.h: this new file and add new values.
41134 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
41135 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
41136 _DL_HWCAP_COUNT to 24.
41137 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
41139 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
41140 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
41141 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
41142 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
41143 instead of magic constants.
41144 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41146 2011-08-31 David S. Miller <davem@davemloft.net>
41148 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
41149 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
41150 Reimplement to do errno handling inline.
41151 (SYSCALL_ERROR_HANDLER): New macro.
41152 (__SYSCALL_STRING): Do not do errno handling in asm.
41153 (__CLONE_SYSCALL_STRING): Delete.
41154 (__INTERNAL_SYSCALL_STRING): Delete.
41155 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
41156 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
41157 (PSEUDO): Reimplement to do errno handling inline.
41158 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
41159 (SYSCALL_ERROR_HANDLER): New macro.
41160 (__SYSCALL_STRING): Do not do errno handling in asm.
41161 (__CLONE_SYSCALL_STRING): Delete.
41162 (__INTERNAL_SYSCALL_STRING): Delete.
41163 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
41164 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
41166 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
41167 (inline_syscall*): Add 'err' argument.
41168 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
41169 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
41170 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
41171 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
41173 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
41174 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
41176 2011-08-30 Andreas Schwab <schwab@redhat.com>
41178 * elf/rtld.c (dl_main): Relocate objects in dependency order.
41180 2011-08-29 Jiri Olsa <jolsa@redhat.com>
41182 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
41185 2011-08-24 David S. Miller <davem@davemloft.net>
41187 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
41189 2011-08-24 Andreas Schwab <schwab@redhat.com>
41191 * elf/Makefile: Add rules to build and run unload8 test.
41192 * elf/unload8.c: New file.
41193 * elf/unload8mod1.c: New file.
41194 * elf/unload8mod1x.c: New file.
41195 * elf/unload8mod2.c: New file.
41196 * elf/unload8mod3.c: New file.
41198 * elf/dl-close.c (_dl_close_worker): Reset private search list if
41201 2011-08-23 David S. Miller <davem@davemloft.net>
41203 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
41204 subtract stack bias.
41205 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
41206 %sp not %fp in calculations.
41207 (_JMPBUF_UNWINDS_ADJ): Likewise.
41209 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
41210 (aio_suspend): Call it to force an exception region around the
41211 AIO_MISC_WAIT() invocation.
41213 2011-08-23 Andreas Schwab <schwab@redhat.com>
41215 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
41218 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
41220 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
41222 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
41223 and <dl-machine.h>.
41224 (Elf64_FuncDesc): Remove.
41226 2011-08-22 David S. Miller <davem@davemloft.net>
41228 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
41229 sigaltstack check, add missing cfi directives.
41230 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
41231 missing cfi directives, and sigaltstack handling.
41233 2011-08-16 Andreas Schwab <schwab@redhat.com>
41236 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
41237 object is seen twice.
41238 * elf/dl-fini.c (_dl_sort_fini): Likewise.
41240 * elf/Makefile (distribute): Add tst-initorder2.c.
41241 (tests): Add tst-initorder2.
41242 (modules-names): Add tst-initorder2a tst-initorder2b
41243 tst-initorder2c tst-initorder2d. Add rules to build them.
41244 ($(objpfx)tst-initorder2.out): New rule.
41245 * elf/tst-initorder2.c: New file.
41246 * elf/tst-initorder2.exp: New file.
41248 2011-08-22 Andreas Schwab <schwab@redhat.com>
41250 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
41252 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
41253 dependencies back to end of function.
41255 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
41256 $(elfobjdir)/ld.so.
41258 2011-08-21 Ulrich Drepper <drepper@gmail.com>
41260 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
41261 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
41262 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
41263 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
41264 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
41265 of __vdso_gettimeofday.
41266 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
41267 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
41269 (_libc_vdso_platform_setup): Remove initialization of
41270 __vdso_gettimeofday and __vdso_time.
41272 2011-08-20 Ulrich Drepper <drepper@gmail.com>
41274 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
41275 and fgetc_unlocked.
41276 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
41279 * elf/dl-open.c (add_to_global): Report additions to the global scope
41280 for LD_DEBUG=scopes.
41281 (dl_open_worker): Also print scope of newly loaded dependencies.
41282 (_dl_show_scope): Indicate if there is no scope.
41285 * stdio-common/Makefile (tests): Add bug24.
41286 * stdio-common/bug24.c: New file.
41288 2011-08-19 Andreas Jaeger <aj@suse.de>
41291 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
41292 non-existant file when using close-on-exec mode.
41294 2011-08-20 Ulrich Drepper <drepper@gmail.com>
41296 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
41297 the very first instruction.
41299 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
41300 the CFI state in the end.
41301 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
41302 inclusion of dl-trampoline.h.
41303 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
41305 2011-08-19 Andreas Schwab <schwab@redhat.com>
41307 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
41308 expectations for long double.
41310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
41311 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
41313 2011-08-14 David S. Miller <davem@davemloft.net>
41315 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
41316 artificual limit depends upon the system page size.
41318 2011-08-17 Ulrich Drepper <drepper@gmail.com>
41320 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
41321 * resolv/Makefile: Define CFLAGS-libresolv.
41323 2011-08-17 Andreas Schwab <schwab@redhat.com>
41325 * nss/makedb.c (compute_tables): Make variables used in nested
41328 2011-08-17 Ulrich Drepper <drepper@gmail.com>
41330 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
41331 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
41332 if buffer was too small.
41334 * elf/pldd.c (main): Attach to all threads in the process.
41335 Rewrite /proc handling to use *at functions.
41337 2011-08-16 Ulrich Drepper <drepper@gmail.com>
41339 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
41340 specifies first scope to show.
41341 (dl_open_worker): Update callers. Move printing scope of new
41342 object to before the relocation.
41343 * elf/rtld.c (dl_main): Update _dl_show_scope call.
41344 * sysdeps/generic/ldsodefs.h: Update declaration.
41346 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
41347 string for the scope number.
41349 2011-08-14 Ulrich Drepper <drepper@gmail.com>
41351 * nscd/servicescache.c (cache_addserv): Make sure written is always
41354 2011-08-14 Roland McGrath <roland@hack.frob.com>
41356 * sysdeps/i386/i486/bits/atomic.h
41357 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
41358 statement expression, so as to suppress "set but not used" warning.
41359 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
41361 * string/strncat.c (STRNCAT): Use prototype definition.
41363 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
41364 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
41366 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
41367 (localedef-modules): Add localedef.
41368 (locale-modules): Add locale.
41370 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
41371 * elf/rtld.c (dl_main): Invert order of assignment in last change,
41372 to avoid a warning.
41374 2011-08-14 David S. Miller <davem@davemloft.net>
41376 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
41377 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
41379 2011-08-13 Ulrich Drepper <drepper@gmail.com>
41381 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
41382 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
41383 * elf/rtld.c (dl_main): Set l_name of vDSO.
41384 Call _dl_show_scope when DL_DEBUG_SCOPES.
41385 (process_dl_debug): Recognize scopes flag and also set it for all.
41386 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
41387 Declare _dl_show_scope.
41389 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
41390 (do_dlopen): Pass caller_dlopen to dl_open.
41391 (__libc_dlopen_mode): Initialize caller_dlopen.
41393 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
41394 of libc. Make tolower call locale-independent. Optimize a bit by
41395 using isdigit instead of isalnum.
41396 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
41398 2011-08-12 Ulrich Drepper <drepper@gmail.com>
41400 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
41401 was a dependency or dynamically loaded.
41403 2011-08-11 Ulrich Drepper <drepper@gmail.com>
41405 * intl/l10nflist.c: Allow architecture-specific pop function.
41406 * sysdeps/x86_64/l10nflist.c: New file.
41408 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
41411 2011-08-10 Andreas Schwab <schwab@redhat.com>
41413 * include/dirent.h: Add libc_hidden_proto for scandirat and
41414 scandirat64. Don't declare __scandirat64.
41415 * dirent/scandirat.c: Add libc_hidden_def.
41416 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
41417 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
41419 2011-08-10 David S. Miller <davem@davemloft.net>
41421 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
41423 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
41424 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
41425 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
41427 2011-08-09 Ulrich Drepper <drepper@gmail.com>
41429 * Versions.def [libc]: Add GLIBC_2.15.
41430 * dirent/Makefile (routines): Add scandirat and scandirat64.
41431 * dirent/Versions [libc]: Export scandirat and scandirat64 for
41433 * dirent/dirent.h: Declare scandirat and scandirat64.
41434 * dirent/scandirat.c: New file.
41435 * dirent/scandirat64.c: New file.
41436 * sysdeps/wordsize-64/scandirat.c: New file.
41437 * sysdeps/wordsize-64/scandirat64.c: New file.
41438 * dirent/opendir.c: Define opendirat.
41439 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
41441 * dirent/scandir64.c: Adjust for scandir.c change.
41442 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
41443 __scandirat64, and __scandir_cancel_handler.
41444 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
41445 additional parameter and use openat instead of open (outside of ld.so).
41446 Add new __opendir as wrapper around __opendirat.
41447 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
41448 here without requiring old scandirat implementation.
41450 2011-08-08 Ulrich Drepper <drepper@gmail.com>
41452 * dirent/scandir.c (cancel_handler): Renamed to
41453 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
41454 defined. Adjust users.
41455 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
41456 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
41458 2011-08-04 Ulrich Drepper <drepper@gmail.com>
41460 * string/test-string.h (IMPL): Use __STRING to expand name and then
41463 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
41466 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41468 * string/Makefile: Update.
41469 (strop-tests): Append strncat.
41470 * string/test-wcscmp.c: New file.
41471 New comprehensive test for wcscmp.
41472 * string/test-strcmp.c: Update.
41473 (WIDE): New define.
41475 2011-07-22 Andreas Schwab <schwab@redhat.com>
41477 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
41480 2011-07-26 Andreas Schwab <schwab@redhat.com>
41482 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
41483 encoding to ACE if AI_IDN.
41485 2011-08-01 Jakub Jelinek <jakub@redhat.com>
41487 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
41488 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
41490 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41492 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
41493 Fix overflow bug in strncat.
41494 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
41496 * string/test-strncat.c: Update.
41497 Add new tests for checking overflow bugs.
41499 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41501 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41502 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
41503 * sysdeps/i386/i686/multiarch/strcat.S: New file.
41504 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
41505 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
41506 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
41507 * sysdeps/i386/i686/multiarch/strncat.S: New file.
41508 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
41509 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
41511 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
41512 (USE_AS_STRCAT): Define.
41513 Add strcat and strncat support.
41514 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
41516 2011-07-25 Andreas Schwab <schwab@redhat.com>
41518 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
41519 __n bigger than INT_MAX+1.
41520 (__strncmp_g): Likewise.
41522 2011-07-23 Ulrich Drepper <drepper@gmail.com>
41524 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
41525 * libio/stido.h: Likewise.
41527 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
41529 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
41532 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
41533 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
41534 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
41535 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
41536 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
41539 * scripts/test-installation.pl: Don't expect libnss_test1 to be
41542 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
41544 (_dl_x86_64_save_sse): Likewise.
41546 2011-07-22 Ulrich Drepper <drepper@gmail.com>
41548 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
41550 (_dl_x86_64_save_sse): Likewise.
41552 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
41554 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
41556 2011-07-21 Andreas Schwab <schwab@redhat.com>
41558 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
41560 (_dl_x86_64_save_sse): Use correct AVX check.
41562 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41564 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
41565 bug in strncpy/strncat.
41566 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
41568 2011-07-21 Ulrich Drepper <drepper@gmail.com>
41570 * string/tester.c (test_strcat): Add tests for different alignments
41571 of source and destination.
41572 (test_strncat): Likewise.
41574 2011-07-20 Ulrich Drepper <drepper@gmail.com>
41577 * posix/glob.c (glob): Check passed in values before using them in
41578 expressions to avoid some overflows.
41579 (glob_in_dir): Likewise.
41582 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
41583 check for AVX enablement so that we don't crash with old kernels and
41585 * elf/tst-audit4.c: Add same checks here.
41586 * elf/tst-audit6.c: Likewise.
41588 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
41590 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
41592 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
41594 2011-07-20 Ulrich Drepper <drepper@gmail.com>
41596 * po/cs.po: Update from translation team.
41597 * po/bg.po: Likewise.
41599 2011-07-12 Marek Polacek <mpolacek@redhat.com>
41601 * misc/sys/cdefs.h: Add support for const attribute.
41602 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
41603 to gnu_dev_{major,minor,makedev} functions.
41605 2011-07-20 Marek Polacek <mpolacek@redhat.com>
41607 * intl/dcigettext.c (get_output_charset): Add missing bracket.
41609 2011-07-20 Andreas Schwab <schwab@redhat.com>
41611 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
41614 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41616 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
41617 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
41618 register in order to avoid conflicts with the soft frame pointer
41619 being held in r11 when necessary.
41620 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
41621 (INTERNAL_VSYSCALL_NCS): Likewise.
41623 2011-07-14 Marek Polacek <mpolacek@redhat.com>
41625 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
41626 * elf/dl-fini.c (_dl_fini): Adjust caller.
41627 * elf/dl-close.c (_dl_close_worker): Likewise.
41628 * sysdeps/generic/ldsodefs.h: Adjust declaration.
41630 2011-07-15 Marek Polacek <mpolacek@redhat.com>
41632 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
41633 "aux_cache->nlibs < 0".
41635 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
41636 in the reload-count case.
41638 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41640 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41641 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
41642 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
41643 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
41644 * sysdeps/x86_64/multiarch/strcat.S: New file.
41645 * sysdeps/x86_64/multiarch/strncat.S: New file.
41646 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
41647 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
41648 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
41649 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
41650 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
41651 (USE_AS_STRCAT): Define.
41652 Add strcat and strncat support.
41653 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
41654 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
41655 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
41656 * string/strncat.c: Update.
41657 (USE_AS_STRNCAT): Define.
41658 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41659 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
41661 * sysdeps/x86_64/multiarch/init-arch.h
41662 (bit_Prefer_PMINUB_for_stringop): New.
41663 (index_Prefer_PMINUB_for_stringop): Likewise.
41664 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
41665 bit_Prefer_PMINUB_for_stringop.
41667 2011-07-19 Ulrich Drepper <drepper@gmail.com>
41669 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
41671 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
41672 of casting of buffer.
41673 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
41674 buffer32 and buffer64.
41675 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
41676 writes instead of casting of buffer.
41677 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
41679 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
41682 2011-07-19 Andreas Schwab <schwab@redhat.com>
41684 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
41686 2011-07-19 Ulrich Drepper <drepper@gmail.com>
41688 * nscd/nscd.c (termination_handler): Don't do anything for a database
41689 if it has not yet been initialized.
41691 2011-07-18 Ulrich Drepper <drepper@gmail.com>
41693 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
41695 2011-07-15 Marek Polacek <mpolacek@redhat.com>
41697 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
41699 2011-07-18 Ulrich Drepper <drepper@gmail.com>
41701 * po/nl.po: Update from translation team.
41702 * po/sv.po: Likewise.
41704 2011-07-16 Roland McGrath <roland@hack.frob.com>
41706 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
41707 now disallowed by GCC.
41709 * configure.in (use-default-link): Default to yes if a test -shared
41710 link meets our qualifications.
41711 * configure: Regenerated.
41713 * config.make.in (output-format): New variable.
41714 * configure.in: Check for ld --print-output-format support.
41715 * configure: Regenerated.
41716 * Makerules ($(common-objpfx)format.lds)
41717 [$(output-format) != unknown]: Just use $(output-format),
41718 instead of the linker-script munging.
41720 2011-07-14 Roland McGrath <roland@hack.frob.com>
41722 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
41723 of $(common-objpfx)shlib.lds.
41724 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
41726 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
41727 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
41729 * configure.in (-z relro check): Adjust test code to add a large
41730 writable data section after it.
41731 * configure: Regenerated.
41733 2011-07-11 Roland McGrath <roland@hack.frob.com>
41735 * configure.in (-z relro check): Fix test code to make the variable
41737 * configure: Regenerated.
41739 2011-07-11 Ulrich Drepper <drepper@gmail.com>
41741 * nscd/nscd.h (struct traced_file): Define.
41742 (struct database_dyn): Remove inotify_descr, reset_res, and filename
41743 elements. Add traced_files.
41744 (inotify_fd): Declare.
41745 (register_traced_file): Declare.
41746 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
41747 (inotify_fd): Export.
41748 (resolv_conf_descr): Remove.
41749 (nscd_init): Move inotify descriptor creation to main.
41750 Don't register files for notification here.
41751 (register_traced_file): New function.
41752 (invalidate_cache): Don't use reset_res to determine whether to call
41753 res_init, go through the list of registered files.
41754 (main_loop_poll): The inotify descriptors are now stored in the
41755 structures for the traced files.
41756 (main_loop_epoll): Likewise
41757 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
41758 to __nss_disable_nscd.
41759 * nscd/cache.c (prune_cache): There is no single inotify descriptor
41760 for a database anymore. Check the records for all the registered
41762 * nss/Makefile (libnss_files-routines): Add files-init.
41763 (libnss_db-routines): Add db-init.
41764 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
41765 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
41766 * nss/nss_db/db-init.c: New file.
41767 * nss/nss_files/files-init.c: New file.
41768 * nss/nsswitch.c (nss_load_library): New function. Broken out of
41769 __nss_lookup_function.
41770 (__nss_lookup_function): Call nss_load_library.
41771 (nss_load_all_libraries): New function.
41772 (__nss_disable_nscd): Take parameter with callback function for files
41773 to register. Set is_nscd. Load all the DSOs for the NSS modules
41774 used for the cached services.
41775 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
41776 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
41777 options for features to all the files in nscd.
41779 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
41781 2011-07-10 Roland McGrath <roland@hack.frob.com>
41783 * csu/elf-init.c (__libc_csu_init): Comment typo.
41785 2011-07-09 Ulrich Drepper <drepper@gmail.com>
41787 * po/pl.po: Update from translation team.
41788 * po/ja.po: Likewise.
41789 * po/ru.po: Likewise.
41790 * po/ko.po: Likewise.
41791 * po/fr.po: Likewise.
41793 2011-07-09 Roland McGrath <roland@hack.frob.com>
41795 * configure.in (.ctors/.dtors header and trailer check):
41796 Use an empirical test on a built program.
41797 * configure: Regenerated.
41799 * configure.in (-z relro check): Use an empirical test on a built DSO.
41800 Detect, but do not require, on ia64.
41801 * configure: Regenerated.
41803 * configure.in (READELF): Find it with AC_CHECK_TOOL.
41804 Update tests that use readelf to use $READELF instead.
41805 * configure: Regenerated.
41807 2011-07-08 Ulrich Drepper <drepper@gmail.com>
41809 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
41810 if the result is not used.
41812 2011-07-05 Andreas Jaeger <aj@suse.de>
41815 * stdlib/tst-strtod.c: Add testcase.
41817 2011-07-07 Ulrich Drepper <drepper@gmail.com>
41819 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
41820 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
41821 The latter has a higher limit. Take additional parameter to pass to
41823 (__pathconf): Pass file to __statfs_link_max.
41824 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
41826 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
41830 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
41831 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
41833 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
41834 (__statfs_filesize_max): Likewise.
41835 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
41837 2011-07-05 Andreas Jaeger <aj@suse.de>
41839 * resolv/res_comp.c (dn_skipname): Remove unused variable.
41841 2011-07-06 Marek Polacek <mpolacek@redhat.com>
41843 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
41845 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
41848 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
41850 * Makefile (strop-tests): Add strncat.
41851 * string/test-strncat.c: New file.
41853 2011-06-30 Marek Polacek <mpolacek@redhat.com>
41855 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
41857 2011-06-21 Andreas Jaeger <aj@suse.de>
41859 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
41860 Copy rule from iconvdata/Makefile.
41862 2011-07-06 Ulrich Drepper <drepper@gmail.com>
41865 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
41866 but no long options are defined, just return 'W'.
41868 2011-06-22 Marek Polacek <mpolacek@redhat.com>
41871 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
41873 2011-07-06 Ulrich Drepper <drepper@gmail.com>
41875 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
41877 (innetgr): Likewise.
41879 2011-07-05 Roland McGrath <roland@hack.frob.com>
41881 * config.make.in (install_root): Default to $(DESTDIR).
41883 2011-07-05 Ulrich Drepper <drepper@gmail.com>
41885 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
41887 2011-07-02 Roland McGrath <roland@hack.frob.com>
41889 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
41891 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
41892 containing directory rather than embedding absolute directory names.
41894 * scripts/check-local-headers.sh: Rewritten using awk.
41895 Match by word, not by line. Print error messages for matches.
41896 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
41898 * Makerules [shlib-lds-flags empty]:
41899 ($(common-objpfx)libc_pic.opts): New target.
41900 ($(common-objpfx)libc_pic.os.clean): New target.
41901 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
41903 * config.make.in (OBJCOPY): New variable.
41904 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
41905 * configure: Regenerated.
41907 * config.make.in (use-default-link): New variable.
41908 * configure.in (use_default_link): Grok --with-default-link to set it.
41909 * configure: Regenerated.
41910 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
41911 (shlib-lds, shlib-lds-flags): Define to empty.
41913 * Makerules (shlib-lds): New variable.
41914 (shlib-lds-flags): New variable.
41915 (build-shlib, build-moduile, build-module-asneeded): Use it.
41916 ($(common-objpfx)libc.so): Use $(shlib-lds).
41917 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
41918 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
41920 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
41921 DT_FLAGS/DT_FLAGS_1 with zero flags.
41923 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
41924 linker script munging.
41926 2011-07-02 Ulrich Drepper <drepper@gmail.com>
41928 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
41930 * crypt/sha512.c (sha512_process_block): Perform total addition using
41931 128-bit if possible.
41932 (__sha512_finish_ctx): Likewise.
41933 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
41935 * crypt/sha256.c (SWAP64): Define.
41936 (sha256_process_block): Perform total addition using 64-bit if
41938 (__sha256_finish_ctx): Likewise.
41940 2011-07-01 Ulrich Drepper <drepper@gmail.com>
41942 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
41943 * nscd/initgrcache.c (addinitgroupsX): Likewise.
41944 * nscd/hstcache.c (cache_addhst): Likewise.
41945 * nscd/grpcache.c (cache_addgr): Likewise.
41946 * nscd/aicache.c (addhstaiX): Likewise
41947 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
41949 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
41951 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
41952 * nscd/initgrcache.c (addinitgroupsX): Likewise.
41953 * nscd/hstcache.c (cache_addhst): Likewise.
41954 * nscd/grpcache.c (cache_addgr): Likewise.
41955 * nscd/aicache.c (addhstaiX): Likewise
41957 2011-07-01 Andreas Schwab <schwab@redhat.com>
41959 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
41960 domain only when needed.
41962 2011-06-30 Andreas Schwab <schwab@redhat.com>
41964 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
41965 is always restored.
41967 2011-06-29 Ulrich Drepper <drepper@gmail.com>
41969 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
41970 are re-adding the entry.
41971 * nscd/servicescache.c (cache_addserv): Likewise.
41973 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
41975 * sysdeps/generic/dl-irel.h: fix protection against multiple
41977 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
41979 2011-06-28 Ulrich Drepper <drepper@gmail.com>
41982 * malloc/memusage.sh: Fix quoting in message.
41983 * debug/xtrace.sh: Likewise.
41985 * configure.in: Remove support for --experimental-malloc option, make
41987 * config.make.in: Likewise.
41988 * malloc/Makefile: Likewise.
41990 2011-06-27 Andreas Schwab <schwab@redhat.com>
41992 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
41993 two-byte characters.
41995 2011-06-27 Roland McGrath <roland@hack.frob.com>
41997 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
41998 AC_CACHE_CHECK invocation.
41999 * configure: Regenerated.
42001 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
42003 2011-06-27 Ulrich Drepper <drepper@gmail.com>
42006 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
42007 bit from old_res_options.
42009 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
42011 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
42012 value type for setfct.
42014 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
42016 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
42017 __gettimeofday instead of gettimeofday.
42019 2011-06-26 Ulrich Drepper <drepper@gmail.com>
42021 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
42023 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
42025 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
42027 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
42030 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
42032 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42033 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
42034 strcpy-sse2-unaligned strncpy-sse2-unaligned
42035 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
42036 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
42037 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
42038 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
42039 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
42040 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
42041 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
42042 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
42043 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
42044 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
42045 (STRCPY): Support SSE2 and SSSE3 versions.
42047 2011-06-24 Ulrich Drepper <drepper@gmail.com>
42050 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
42051 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
42052 kernels which artificially limit size of requests.
42054 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
42056 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42057 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
42058 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
42059 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
42060 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
42061 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
42062 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
42063 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
42064 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
42065 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
42066 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
42067 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
42068 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
42069 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
42070 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
42071 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42072 Enable unaligned load optimization for Intel Core i3, i5 and i7
42074 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
42076 (index_Fast_Unaligned_Load): Define.
42077 (HAS_FAST_UNALIGNED_LOAD): Define.
42079 2011-06-23 Marek Polacek <mpolacek@redhat.com>
42081 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
42083 2011-06-22 Ulrich Drepper <drepper@gmail.com>
42086 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
42087 until it is clear that the information is realy needed.
42088 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
42090 2011-06-22 Andreas Schwab <schwab@redhat.com>
42092 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
42094 2011-06-22 Ulrich Drepper <drepper@gmail.com>
42096 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
42097 /sys/devices/system/cpu/online if it is usable.
42099 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
42100 reading the information from the /proc filesystem to once a second.
42102 2011-06-21 Andreas Jaeger <aj@suse.de>
42104 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
42105 NULL after inclusion of kernel headers.
42107 2011-06-21 Ulrich Drepper <drepper@gmail.com>
42109 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
42110 calls to internal_setent.
42113 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
42114 addresses using gethostbyname4_r ignore IPv4 addresses.
42116 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
42117 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
42119 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
42121 2011-06-20 David S. Miller <davem@davemloft.net>
42123 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
42125 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
42127 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
42128 (elf_irel): Use it.
42129 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
42130 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
42131 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
42132 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
42133 * sysdeps/x86_64/dl-irel.h: Likewise.
42135 * elf/dl-runtime.c: Use elf_ifunc_invoke.
42136 * elf/dl-sym.c: Likewise.
42138 2011-06-15 Ulrich Drepper <drepper@gmail.com>
42140 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
42141 need to dereference resplen2.
42143 2011-06-14 Andreas Schwab <schwab@redhat.com>
42145 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
42147 2011-06-15 Ulrich Drepper <drepper@gmail.com>
42149 * Makeconfig: Define vardbdir and inst_vardbdir.
42150 * nss/Makefile: Add rules to install db-Makefile.
42152 * nss/nss_db/db-XXX.c: Cleanup.
42154 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
42155 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
42157 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
42158 * nss/makedb.c: Implement -g option to specify that value strings
42159 are generated and should not be added to table iterated over for
42161 * nss/nss_db/db-initgroups.c: New file.
42163 * nss/getent.c: Add support for initgroups lookups through getgrouplist
42166 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
42167 (internal_getgrouplist): Adjust to name change.
42168 Update use_initgroups_entry if this is not the first call.
42169 * nss/databases.def: Add initgroups entry.
42171 * nss/makedb.c (compute_tables): Check result of multiple hash table
42172 sizes to minimize maximum chain length.
42174 2011-06-14 Ulrich Drepper <drepper@gmail.com>
42176 * Versions.def: Add entry for libnss_db.
42177 * shlib-versions: Likewise.
42178 * nss/Makefile: Add rules to build libnss_db.
42179 * nss/Versions: Add libnss_db information. Organize libnss_files
42181 * nss/db-Makefile: Add gshadow support. Change rules for the new
42182 makedb progra. Some minor improvements to generate smaller files.
42183 * nss/nss_db/nss_db.h: Move NSS database header data structures to
42185 * nss/makedb.c: ...here.
42186 Improve database format to be smaller and require less memory at
42188 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
42190 * nss/nss_db/db-netgrp.c: Likewise.
42191 * nss/nss_db/db-open.c: Likewise.
42192 * nss/nss_files/flies-XXX.x: Adjust comments.
42193 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
42194 * nss/nss_files/files-grp.c: Likewise.
42195 * nss/nss_files/files-hosts.c: Likewise.
42196 * nss/nss_files/files-network.c: Likewise.
42197 * nss/nss_files/files-proto.c: Likewise.
42198 * nss/nss_files/files-pwd.c: Likewise.
42199 * nss/nss_files/files-rpc.c: Likewise.
42200 * nss/nss_files/files-service.c: Likewise.
42201 * nss/nss_files/files-sgrp.c: Likewise.
42202 * nss/nss_files/files-spwd.c: Likewise.
42203 * nss/nss_db/db-alias.c: Removed.
42204 * nss/nss_db/dummy-db.h: Removed.
42206 2011-06-02 Ulrich Drepper <drepper@gmail.com>
42208 * nss/makedb.c: Rewritten to not use database library.
42209 * nss/Makefile: Update to build new makedb program.
42211 2011-06-14 Andreas Jaeger <aj@suse.de>
42213 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
42214 memset declaration.
42216 2011-06-10 Andreas Schwab <schwab@redhat.com>
42218 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
42221 2011-06-10 Roland McGrath <roland@hack.frob.com>
42223 * Makerules (shlib.lds): Fail if the linker script comes out empty.
42224 * elf/Makefile ($(objpfx)ld.so): Likewise.
42226 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
42227 Don't list ld.so twice in dependencies.
42229 * posix/bug-regex31.c: Include <stdlib.h>.
42231 * nscd/hstcache.c (cache_addhst): Remove unused variable.
42233 * nis/nss_compat/compat-spwd.c
42234 (getspent_next_nss_netgr): Remove unused variable.
42235 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
42237 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
42238 nonmembers" output to use the right array.
42240 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
42242 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
42244 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
42245 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
42246 * catgets/gencat.c (read_input_file): Likewise.
42247 * locale/programs/locarchive.c (enlarge_archive): Likewise.
42249 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
42250 variable definition inside #if's controlling its use.
42252 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
42254 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
42256 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
42258 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
42261 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
42263 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
42264 * configure: Regenerated.
42266 * Makerules: Revert last change.
42267 * elf/Makefile: Likewise.
42269 2011-06-09 Roland McGrath <roland@hack.frob.com>
42271 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
42272 * elf/Makefile ($(objpfx)librtld.os): Likewise.
42273 (reloc-link): Likewise.
42275 2011-06-09 Ulrich Drepper <drepper@gmail.com>
42277 * elf/Makefile: Add rules to build pldd.
42278 * elf/pldd.c: New file.
42279 * elf/pldd-xx.c: New file.
42281 2011-06-07 Ulrich Drepper <drepper@gmail.com>
42283 * version.h: Update for 2.15 development version.
42285 2011-06-07 David S. Miller <davem@davemloft.net>
42287 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
42289 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
42290 elf_machine_lazy_rel): Likewise.
42291 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
42292 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
42293 elf_machine_lazy_rel): Likewise.
42294 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
42295 dl_hwcap via passed in argument.
42296 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
42299 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42301 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
42303 2011-06-06 Roland McGrath <roland@hack.frob.com>
42306 * manual/fdl-1.1.texi: New file, verbatim from:
42307 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
42308 * manual/lgpl-2.1.texi: New file, verbatim from:
42309 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
42310 * manual/Makefile (licenses): New variable, list those new file names.
42312 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
42314 * manual/fdl.texi: File removed.
42315 * manual/lesser.texi: File removed.
42316 * manual/libc.texinfo (Copying, Documentation License):
42317 Use new @include file names, put @appendix directive before @include.
42319 2011-06-04 Jakub Jelinek <jakub@redhat.com>
42322 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
42323 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
42324 (mq_open): Add __NTH.
42326 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
42328 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42329 Assume Intel Core i3/i5/i7 processor if AVX is available.
42331 2011-05-31 Ulrich Drepper <drepper@gmail.com>
42333 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
42336 2011-05-31 Andreas Schwab <schwab@redhat.com>
42338 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
42339 memory. Use alloca_account. Fix memory leak when retrying.
42341 2011-05-31 Ulrich Drepper <drepper@gmail.com>
42343 * version.h (RELEASE): Bump for 2.14 release.
42344 * include/features.h (__GLIBC_MINOR__): Bump to 14.
42346 * config.make.in (RANLIB): Remove entry.
42348 2011-05-30 Ulrich Drepper <drepper@gmail.com>
42350 * po/Makefile (po-sed-cmd): Add ksh to extensions.
42351 (libc.pot): Work around missing support for .ksh extension in xgettext.
42354 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
42355 if both request failed.
42356 (send_dg): In case of server errors clear resplen or *resplen2.
42359 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
42360 when there are multiple maps.
42361 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
42362 (_dl_fini): Remove test here.
42364 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
42366 2011-05-29 Ulrich Drepper <drepper@gmail.com>
42369 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
42370 bit from old_res_options.
42371 (gaih_inet): Likewise.
42374 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
42377 * resolv/res_init.c (res_setoptions): Make the code more compact.
42380 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
42384 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
42386 * malloc/malloc.h: Mark malloc hook variables as deprecated.
42389 * malloc/malloc.h: Declare malloc hook variables as volatile.
42391 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
42395 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
42396 raise in the comment.
42397 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
42398 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
42399 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
42401 2011-05-28 Ulrich Drepper <drepper@gmail.com>
42404 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
42405 grow the buffers more if it already has to be sufficient.
42406 (build_wcs_upper_buffer): Likewise.
42407 * posix/regexec.c (check_matching): Likewise.
42408 (clean_state_log_if_needed): Likewise.
42409 (extend_buffers): Don't enlarge buffers beyond size of the input
42411 Patches mostly by Emil Wojak <emil@wojak.eu>.
42412 * posix/bug-regex32.c: New file.
42413 * posix/Makefile (tests): Add bug-regex32.
42415 * locale/findlocale.c (_nl_find_locale): Return right away if
42416 _nl_explode_name failed.
42417 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
42419 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
42421 * debug/xtrace.sh: Unify messages.
42422 * malloc/memusage.sh: Likewise.
42425 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
42426 time symbol from vDSO. Substitute with vsyscall if not available.
42427 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
42430 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
42431 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
42432 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
42433 Add sendmmsg and internal_sendmmsg.
42434 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
42435 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
42436 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
42438 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
42439 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
42440 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
42442 2011-05-27 Ulrich Drepper <drepper@gmail.com>
42445 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
42446 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
42448 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
42452 * iconvdata/Makefile (tests): Add bug-iconv9.
42453 * iconvdata/bug-iconv9.c: New file.
42455 2011-05-27 Andreas Schwab <schwab@redhat.com>
42458 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
42460 2011-05-25 Jakub Jelinek <jakub@redhat.com>
42462 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
42463 (struct user_regs_struct): Change intcs field back to cs.
42465 2011-05-25 Ulrich Drepper <drepper@gmail.com>
42467 * po/ja.po: Update from translation team.
42469 2011-05-23 Ulrich Drepper <drepper@gmail.com>
42472 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
42473 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
42475 2011-05-20 Andreas Schwab <schwab@redhat.com>
42477 * stdlib/longlong.h: Update from GCC.
42479 2011-05-23 Andreas Schwab <schwab@redhat.com>
42481 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
42483 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
42484 Add parameter name.
42485 (__sysconf): Pass it down.
42487 2011-05-22 Ulrich Drepper <drepper@gmail.com>
42490 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
42492 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
42493 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
42494 add in in __libc_use_alloca calls. Adjust callers.
42495 (glob): Use malloc in some situations.
42497 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
42498 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
42501 2011-05-21 Ulrich Drepper <drepper@gmail.com>
42503 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
42504 and CLOCK_BOOTTIME_ALARM.
42507 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
42510 * string/_strerror.c (__strerror_r): Print negative errors as signed
42514 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
42515 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
42516 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
42518 * configure.in: Fix typo in redirection and correct removal of test
42519 files in two cases.
42522 * locale/setlocale.c (new_composite_name): Fix test to check for
42523 identical name of all categories.
42526 * libio/filedoalloc.c (local_isatty): New function.
42527 (_IO_file_doallocate): Use local_isatty.
42528 * stdio-common/perror.c (perror): In case a new stream is used
42529 forward the stream error.
42530 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
42533 2011-05-20 Ulrich Drepper <drepper@gmail.com>
42536 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
42538 * include/alloca.h (extend_alloca_account): Define.
42541 * posix/regex.h: Fix comments with documentation of user-accessible
42542 fields after compilation and describe correct free'ing of pattern
42543 after re_compile_pattern.
42544 Patch by Reuben Thomas <rrt@sc3d.org>.
42546 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
42548 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
42549 and -mno-altivec to prevent the compiler from using Altivec and/or
42550 VSX instructions when the corresponding registers are not available.
42552 2011-05-19 Andreas Schwab <schwab@redhat.com>
42554 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
42556 2011-05-19 Ulrich Drepper <drepper@gmail.com>
42558 * libio/freopen.c (freopen): Use __dup2, not dup2.
42559 * libio/freopen64.c (freopen64): Likewise.
42561 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
42564 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
42565 * math/Makefile (tests): Add test-powl.
42566 (CFLAGS-test-powl.c): Define.
42567 * math/test-powl.c: New file.
42569 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
42571 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
42573 2011-05-17 Ulrich Drepper <drepper@gmail.com>
42576 * iconvdata/gb18030.c: Update to GB18020-2005.
42578 2011-05-16 Ulrich Drepper <drepper@gmail.com>
42580 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
42581 RE_SYNTAX_POSIX_AWK): Update to match recent development.
42582 Patch by Aharon Robbins <arnold@skeeve.com>.
42585 * stdlib/putenv.c (putenv): Don't always create copy of the variable
42589 * misc/pselect.c (__pselect): Handle timeout value errors hidden
42590 through underflows.
42593 * misc/error.c (error_at_line): Ensure file_name and old_file_name
42594 point to strings before performing equality test for error_one_per_line
42598 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
42601 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
42602 (struct user_fpregs_struct): Avoid __uint*_t types.
42605 * malloc/mtrace.c (tr_where): Add additional parameter to point to
42606 symbol info. Use it instead of calling _dl_addr locally.
42607 (lock_and_info): New function.
42608 (tr_freehook): Call lock_and_info and pass symbol info as additional
42609 parameter to tr_where.
42610 (tr_mallochook): Likewise.
42611 (tr_reallochook): Likewise.
42612 (tr_memalignhook): Likewise.
42614 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
42615 used and couldn't be at all thread-safe.
42617 2011-05-15 Ulrich Drepper <drepper@gmail.com>
42619 * libio/freopen.c (freopen): Don't close old file descriptor
42620 before the new one is opened. Instead dup the new file descriptor
42621 to the old one after the new stream is created.
42622 * libio/freopen64.c (freopen64): Likewise.
42623 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
42624 * libio/fileops.c (_IO_new_file_close_it): Handle new
42625 _IO_FLAGS2_NOCLOSE flag.
42626 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
42627 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
42628 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
42629 _IO_FLAGS2_NOCLOSE flag.
42630 * include/unistd.h: Add hidden_proto for dup3.
42631 Define __have_dup3.
42632 * io/dup3.c: Define hidden symbol.
42633 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
42636 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
42637 when an incomplete long option is used.
42638 * posix/tst-getopt_long1.c: New file.
42639 * posix/Makefile (tests): Add tst-getopt_long1.
42642 * scripts/config.guess: Update from autoconf-2.68.
42643 * scripts/config.sub: Likewise.
42646 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
42648 (has_cpuclock): ...this. New function.
42649 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
42650 macro here based on has_cpuclock code.
42653 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42654 First byte (not low byte) is now always NUL.
42655 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
42657 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42658 Use non-cancelable interfaces.
42661 * locale/iso-639.def: Add entry for Sorani.
42664 * include/stdlib.h: Move include protection to the right place.
42665 Define abort_msg_s. Declare __abort_msg with it.
42666 * stdlib/abort.c (__abort_msg): Adjust type.
42667 * assert/assert.c (__assert_fail_base): New function. Majority
42668 of code from __assert_fail. Allocate memory for __abort_msg with
42670 (__assert_fail): Now call __assert_fail_base.
42671 * assert/assert-perr.c: Remove bulk of implementation. Use
42672 __assert_fail_base.
42673 * include/assert.hL Declare __assert_fail_base.
42674 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
42676 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
42678 2011-05-14 Ulrich Drepper <drepper@gmail.com>
42682 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
42683 until all modules are registered in the DTV.
42684 * elf/Makefile: Add rules to build and run tst-tls19.
42685 * elf/tst-tls19.c: New file.
42686 * elf/tst-tls19mod1.c: New file.
42687 * elf/tst-tls19mod2.c: New file.
42688 * elf/tst-tls19mod3.c: New file.
42689 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
42692 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
42696 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
42697 two-byte sequence errors.
42698 * iconvdata/Makefile (tests): Add bug-iconv8.
42699 * iconvdata/bug-iconv8.c: New file.
42702 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
42705 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
42708 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
42709 (dummy_getcfa): New function.
42710 (init): Get _Unwind_GetCFA address, use dummy if not found.
42711 (backtrace_helper): In recursion check, also check whether CFA changes.
42712 (__backtrace): Completely initialize arg.
42714 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
42715 storing incomplete byte sequence in state object. Avoid testing for
42716 guaranteed too small input if we know there is enough data available.
42718 2011-05-11 Andreas Schwab <schwab@redhat.com>
42720 * Makeconfig (+link-pie): Indent.
42721 * Rules (binaries-pie): Define if $(have-fpie) and
42723 (binaries-shared): Also filter out $(binaries-pie).
42724 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
42725 * nscd/Makefile (others-pie): Add nscd.
42726 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
42727 ($(objpfx)nscd): Remove command override.
42728 * login/Makefile (others-pie): Add pt_chown.
42729 ($(objpfx)pt_chown): Remove command override.
42730 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
42731 remove command overrides.
42733 2011-05-13 Ulrich Drepper <drepper@gmail.com>
42735 * libio/tst_putwc.c: Fix error messages.
42738 * libio/fileops.c (_IO_new_file_close_it): Always flush when
42739 currently writing and seek to current position when not.
42740 * libio/Makefile (tests): Add bug-fclose1.
42741 * libio/bug-fclose1.c: New file.
42743 2011-05-12 Ulrich Drepper <drepper@gmail.com>
42746 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
42747 don't set DF_1_NODELETE here.
42748 (do_lookup_x): When entering new entry test for copy relocation
42749 and if necessary set DF_1_NODELETE flag.
42750 * elf/tst-unique4.cc: New file.
42751 * elf/tst-unique4.h: New file.
42752 * elf/tst-unique4lib.cc: New file.
42753 * elf/Makefile: Add rules to build and run tst-unique4.
42754 Patch by Piotr Bury <pbury@goahead.com>.
42756 2011-05-11 Ulrich Drepper <drepper@gmail.com>
42759 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
42762 * misc/mntent_r.c (addmntent): Flush the stream after the output
42765 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
42766 (is_trusted_path_normalize): Skip initial colon. Append slash
42767 to empty buffer. Duplicate is_trusted_path code but allow
42768 constructed patch to be prefix.
42769 (is_dst): Allow $ORIGIN followed by /.
42770 (_dl_dst_substitute): Correct clearing of check_for_trusted.
42771 Correct testing of result of is_trusted_path_normalize
42772 (decompose_rpath): Fix warning.
42774 2011-05-10 Ulrich Drepper <drepper@gmail.com>
42777 * grp/initgroups.c (internal_getgrouplist): When we found the service
42778 list through the initgroups entry in nsswitch.conf do not always
42779 continue on a successful lookup. Don't always use the
42780 __nss_group_database value if it is set.
42781 * nss/nsswitch.conf (initgroups): Change action for successful db
42782 lookup to continue for compatibility.
42784 2011-05-09 Ulrich Drepper <drepper@gmail.com>
42787 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
42789 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
42791 * iconvdata/tst-tables.sh: Likewise.
42792 * iconvdata/cp770.c: New file.
42793 * iconvdata/cp771.c: New file.
42794 * iconvdata/cp772.c: New file.
42795 * iconvdata/cp773.c: New file.
42796 * iconvdata/cp774.c: New file.
42797 * iconvdata/testdata/CP770: New file.
42798 * iconvdata/testdata/CP770..UTF8: New file.
42799 * iconvdata/testdata/CP771: New file.
42800 * iconvdata/testdata/CP771..UTF8: New file.
42801 * iconvdata/testdata/CP772: New file.
42802 * iconvdata/testdata/CP772..UTF8: New file.
42803 * iconvdata/testdata/CP773: New file.
42804 * iconvdata/testdata/CP773..UTF8: New file.
42805 * iconvdata/testdata/CP774: New file.
42806 * iconvdata/testdata/CP774..UTF8: New file.
42808 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
42810 * iconvdata/gen-8bit-gap.sh: Likewise.
42811 * iconvdata/gen-8bit.sh: Likewise.
42813 * locale/iso-639.def: Add ary entry.
42816 * locale/C-translit.h.in: Add U20A1 transliteration.
42819 * locale/iso-639.def: Add wae entry.
42820 Patch by Kevin Bortis <bortis@translate-wae.ch>.
42823 * locale/programs/localedef.c (construct_output_path): Use ssize_t
42827 * locale/C-translit.h.in: Add entry for U20B9.
42828 Patch by pravin.d.s@gmail.com.
42830 2011-05-08 Ulrich Drepper <drepper@gmail.com>
42833 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
42834 ENAMETOOLONG use generic getcwd.
42835 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
42836 in rtld. Use *stat64.
42837 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
42838 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
42839 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
42840 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
42841 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
42842 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
42843 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
42844 __fstatat64 macros.
42845 * include/dirent.h: Add libc_hidden_proto for rewinddir.
42846 * dirent/rewinddir.c: Add libc_hidden_def.
42847 * sysdeps/mach/hurd/rewinddir.c: Likewise.
42848 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
42850 * include/dirent.h (__alloc_dir): Add flags parameter.
42851 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
42852 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
42854 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
42855 from fdopendir if O_CLOEXEC is already set.
42857 2011-03-15 Alan Modra <amodra@gmail.com>
42859 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
42860 l_tls_firstbyte_offset non-zero. Save padding offset in
42861 l_tls_firstbyte_offset for later use.
42862 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
42863 freeing static tls block.
42865 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
42867 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
42868 where #ifdef was intended. The intent is to prevent ARG_MAX from
42869 being defined by the kernel headers.
42871 2011-05-07 Ulrich Drepper <drepper@gmail.com>
42874 * resolv/resolv.h: Define RES_NOTLDQUERY.
42875 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
42876 no-tld-query and set RES_NOTLDQUERY.
42877 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
42878 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
42879 modern BIND to search name as TLD unless forbidden.
42881 2011-05-07 Petr Baudis <pasky@suse.cz>
42882 Ulrich Drepper <drepper@gmail.com>
42885 * elf/dl-load.c (fillin_rpath): Move trusted path check...
42886 (is_trusted_path): ...to here.
42887 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
42888 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
42889 using is_trusted_path_normalize() in setuid scripts.
42891 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
42893 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
42894 __BEGIN/__END_DECLS.
42896 2011-05-06 Ulrich Drepper <drepper@gmail.com>
42898 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
42899 NSS_STATUS_NOTFOUND if no record was found.
42901 2011-05-05 Andreas Schwab <schwab@redhat.com>
42903 * sunrpc/Makefile (headers): Add rpc/netdb.h.
42904 (headers-not-in-tirpc): Remove rpc/netdb.h
42905 * resolv/netdb.h: Revert last change.
42907 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
42909 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
42910 circular dependency between libgcc.a and libc.a.
42912 2011-05-05 Andreas Schwab <schwab@redhat.com>
42914 * resolv/netdb.h: Don't include <rpc/netdb.h>.
42915 * nis/Makefile: Don't install rpcsvc/*.
42916 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
42917 instead of <rpc/types.h>.
42918 (MAXHOSTNAMELEN): Define.
42920 2011-05-03 Andreas Schwab <schwab@redhat.com>
42922 * elf/ldconfig.c (add_dir): Don't crash on empty path.
42924 2011-04-28 Maciej Babinski <mbabinski@google.com>
42927 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
42928 gethostbyname4_r when IPv6 results are possible.
42930 2011-05-02 Ulrich Drepper <drepper@gmail.com>
42933 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
42934 _PC_PIPE_BUF handling.
42936 2011-04-30 Bruno Haible <bruno@clisp.org>
42939 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
42940 * resolv/netdb.h (getnameinfo): Change type of flags parameter
42942 * inet/getnameinfo.c (getnameinfo): Likewise.
42944 2011-04-29 Ulrich Drepper <drepper@gmail.com>
42946 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
42947 to groups setting in database lookup.
42948 * nss/nsswitch.conf: Add initgroups entry.
42950 2011-04-22 Ulrich Drepper <drepper@gmail.com>
42953 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
42955 Patch by Eric Blake <eblake@redhat.com>.
42957 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
42959 * sunrpc/Makefile (need-export-routines): Add svc_run.
42960 (routines): Remove svc_run.
42961 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
42962 * sunrpc/clnt_perr.c (clnt_perrno): Export.
42963 * sunrpc/svc_run.c (svc_run): Likewise.
42964 * sunrpc/svc_udp.c (svcudp_create): Likewise.
42966 2011-04-21 Ulrich Drepper <drepper@gmail.com>
42968 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
42969 problem in reallocation in last patch.
42971 2011-04-20 Ulrich Drepper <drepper@gmail.com>
42973 * sunrpc/Makefile: Move inclusion of Rules.
42975 2011-04-19 Ulrich Drepper <drepper@gmail.com>
42977 * nss/nss_files/files-initgroups.c: New file.
42978 * nss/Makefile (libnss_files-routines): Add files-initgroups.
42979 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
42980 _nss_files_initgroups_dyn.
42982 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
42984 * elf/elf.h (R_ARM_IRELATIVE): Define.
42986 2011-04-19 Ulrich Drepper <drepper@gmail.com>
42988 * po/ru.po: Update from translation team.
42990 2011-04-17 Ulrich Drepper <drepper@gmail.com>
42992 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
42995 2011-02-06 Mike Frysinger <vapier@gentoo.org>
42998 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
42999 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
43000 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
43001 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
43002 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
43004 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
43006 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
43008 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
43009 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
43010 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
43012 2011-04-17 Ulrich Drepper <drepper@gmail.com>
43015 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
43017 * stdlib/bug-getcontext.c: New file.
43018 * stdlib/Makefile: Add rules to build and run bug-getcontext.
43020 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43022 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
43023 instructions into .machine "z9-109".
43024 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
43025 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
43027 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43029 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
43030 between environment variables and auxiliary vector.
43032 2011-04-16 Ulrich Drepper <drepper@gmail.com>
43034 * Makefile: Add rules to build linkobj/libc.so.
43035 * include/libc-symbols.h: Define libc_hidden_nolink.
43036 * include/rpc/auth.h: Mark functions which are to be hidden.
43037 * include/rpc/auth_des.h: Likewise.
43038 * include/rpc/auth_unix.h: Likewise.
43039 * include/rpc/clnt.h: Likewise.
43040 * include/rpc/des_crypt.h: Likewise.
43041 * include/rpc/key_prot.h: Likewise.
43042 * include/rpc/pmap_clnt.h: Likewise.
43043 * include/rpc/pmap_prot.h: Likewise.
43044 * include/rpc/pmap_rmt.h: Likewise.
43045 * include/rpc/rpc_msg.h: Likewise.
43046 * include/rpc/svc.h: Likewise.
43047 * include/rpc/svc_auth.h: Likewise.
43048 * include/rpc/xdr.h: Likewise.
43049 * nis/Makefile: Link all DSOs against linkobj/libc.so.
43050 * nss/Makefile: Likewise.
43051 * sunrpc/Makefile: Don't install headers. Build library with normal
43052 entry points. Don't build rpcinfo. Link RPC tests appropriately.
43053 * sunrpc/auth_des.c: Hide exported symbols by default, export some
43054 for the compat linking library. Remove use of INTDEF/INTUSE.
43055 * sunrpc/auth_none.c: Likewise.
43056 * sunrpc/auth_unix.c: Likewise.
43057 * sunrpc/authdes_prot.c: Likewise.
43058 * sunrpc/authuxprot.c: Likewise.
43059 * sunrpc/clnt_gen.c: Likewise.
43060 * sunrpc/clnt_perr.c: Likewise.
43061 * sunrpc/clnt_raw.c: Likewise.
43062 * sunrpc/clnt_simp.c: Likewise.
43063 * sunrpc/clnt_tcp.c: Likewise.
43064 * sunrpc/clnt_udp.c: Likewise.
43065 * sunrpc/clnt_unix.c: Likewise.
43066 * sunrpc/des_crypt.c: Likewise.
43067 * sunrpc/des_soft.c: Likewise.
43068 * sunrpc/get_myaddr.c: Likewise.
43069 * sunrpc/key_call.c: Likewise.
43070 * sunrpc/key_prot.c: Likewise.
43071 * sunrpc/netname.c: Likewise.
43072 * sunrpc/pm_getmaps.c: Likewise.
43073 * sunrpc/pm_getport.c: Likewise.
43074 * sunrpc/pmap_clnt.c: Likewise.
43075 * sunrpc/pmap_prot.c: Likewise.
43076 * sunrpc/pmap_prot2.c: Likewise.
43077 * sunrpc/pmap_rmt.c: Likewise.
43078 * sunrpc/publickey.c: Likewise.
43079 * sunrpc/rpc_cmsg.c: Likewise.
43080 * sunrpc/rpc_common.c: Likewise.
43081 * sunrpc/rpc_dtable.c: Likewise.
43082 * sunrpc/rpc_prot.c: Likewise.
43083 * sunrpc/rpc_thread.c: Likewise.
43084 * sunrpc/rtime.c: Likewise.
43085 * sunrpc/svc.c: Likewise.
43086 * sunrpc/svc_auth.c: Likewise.
43087 * sunrpc/svc_authux.c: Likewise.
43088 * sunrpc/svc_raw.c: Likewise.
43089 * sunrpc/svc_run.c: Likewise.
43090 * sunrpc/svc_simple.c: Likewise.
43091 * sunrpc/svc_tcp.c: Likewise.
43092 * sunrpc/svc_udp.c: Likewise.
43093 * sunrpc/svc_unix.c: Likewise.
43094 * sunrpc/svcauth_des.c: Likewise.
43095 * sunrpc/xcrypt.c: Likewise.
43096 * sunrpc/xdr.c: Likewise.
43097 * sunrpc/xdr_array.c: Likewise.
43098 * sunrpc/xdr_float.c: Likewise.
43099 * sunrpc/xdr_intXX_t.c: Likewise.
43100 * sunrpc/xdr_mem.c: Likewise.
43101 * sunrpc/xdr_rec.c: Likewise.
43102 * sunrpc/xdr_ref.c: Likewise.
43103 * sunrpc/xdr_sizeof.c: Likewise.
43104 * sunrpc/xdr_stdio.c: Likewise.
43106 2011-04-10 Ulrich Drepper <drepper@gmail.com>
43109 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
43110 * sysdeps/ia64/dl-tls.h: Likewise.
43111 * sysdeps/powerpc/dl-tls.h: Likewise.
43112 * sysdeps/s390/dl-tls.h: Likewise.
43113 * sysdeps/sh/dl-tls.h: Likewise.
43114 * sysdeps/sparc/dl-tls.h: Likewise.
43115 * sysdeps/x86_64/dl-tls.h: Likewise.
43116 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
43118 2011-03-14 Andreas Schwab <schwab@redhat.com>
43120 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
43121 rpath element also skip the following colon.
43122 (expand_dynamic_string_token): Add is_path parameter and pass
43123 down to DL_DST_REQUIRED and _dl_dst_substitute.
43124 (decompose_rpath): Call expand_dynamic_string_token with
43125 non-zero is_path. Ignore empty rpaths.
43126 (_dl_map_object_from_fd): Call expand_dynamic_string_token
43129 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
43131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
43134 2011-04-09 Ulrich Drepper <drepper@gmail.com>
43137 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
43138 Patch by Filipe David Manana <fdmanana@apache.org>.
43140 2011-04-07 Andreas Schwab <schwab@redhat.com>
43142 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
43143 Maintain aligned stack.
43144 (CHECK_RSP): Remove unused macro.
43146 2011-04-03 Ulrich Drepper <drepper@gmail.com>
43148 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
43149 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
43151 2011-04-02 Ulrich Drepper <drepper@gmail.com>
43153 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
43155 * include/features.h: Mention __USE_XOPEN2K8 in comment.
43157 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
43160 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
43161 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
43162 * sysdeps/x86_64/memmove.c: New file.
43163 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
43164 (memcpy): Renamed to ...
43165 (__new_memcpy): This.
43166 (memcpy): Provide GLIBC_2_14 memcpy.
43167 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
43168 (memcpy): Provide GLIBC_2_2_5 memcpy.
43170 2011-04-01 Ulrich Drepper <drepper@gmail.com>
43173 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
43175 2011-03-30 Andreas Schwab <schwab@redhat.com>
43177 * misc/syncfs.c: New file.
43178 * misc/Makefile (routines): Add syncfs.
43179 * posix/unistd.h: Declare syncfs.
43180 * sysdeps/unix/syscalls.list: Add syncfs.
43182 2011-04-01 Andreas Schwab <schwab@redhat.com>
43184 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
43186 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
43187 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
43188 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43189 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43190 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43191 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
43192 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43194 2011-04-01 Ulrich Drepper <drepper@gmail.com>
43196 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
43197 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
43198 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
43199 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43200 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43201 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43202 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43204 * io/Makefile: Compile fallocate.c, fallocate64.c, and
43205 sync_file_range.c with -fexceptions.
43206 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
43207 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
43208 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
43209 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
43210 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
43211 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
43212 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
43213 sync_file_range as cancellation point
43214 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
43215 now a wrapper around __call_sync_file_range with cancellation handling.
43216 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
43217 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
43218 function name to __call_sync_file_range.
43219 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
43220 Add call_sync_file_range.
43222 2011-04-01 Andreas Schwab <schwab@redhat.com>
43224 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43227 2011-04-01 Ulrich Drepper <drepper@gmail.com>
43229 * iconv/iconv.h: Fix typo in comment.
43230 * io/fcntl.h: Likewise.
43231 * libio/stdio.h: Likewise.
43232 * posix/spawn.h: Likewise.
43233 * posix/unistd.h: Likewise.
43234 * stdlib/stdlib.h: Likewise.
43235 * time/time.h: Likewise.
43236 * wcsmbs/wchar.h: Likewise.
43238 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
43239 open_by_handle): Add.
43240 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
43241 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
43242 Augment a few comments.
43243 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
43244 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43245 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43246 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43247 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43248 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
43251 * io/fcntl.h (AT_EMPTY_PATH): Define.
43253 2011-03-30 Ulrich Drepper <drepper@gmail.com>
43255 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
43256 * sysdeps/unix/sysv/linux/bits/time.h: New file.
43257 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
43259 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
43260 * Versions.def: Add GLIBC_2.14.
43261 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
43264 2011-03-22 Ulrich Drepper <drepper@gmail.com>
43266 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
43268 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
43270 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
43273 * string/test-strncmp.c (do_page_test): New function.
43274 (check2): Likewise.
43275 (test_main): Call check2.
43276 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
43278 2011-03-20 Ulrich Drepper <drepper@gmail.com>
43281 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
43282 Handle cache information in CPU leaf 4.
43283 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
43285 2011-03-18 Ulrich Drepper <drepper@gmail.com>
43288 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
43289 character representation.
43290 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
43292 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
43294 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
43295 END(__isnan) to END(__isnanf) to match function entry point/label
43296 EALIGN(__isnanf,...).
43298 2011-03-10 Jakub Jelinek <jakub@redhat.com>
43300 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
43302 2011-03-10 Ulrich Drepper <drepper@gmail.com>
43305 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
43306 copy from the symbol referenced in the relocation to initialize the
43308 Patch by Piotr Bury <pbury@goahead.com>.
43309 * elf/Makefile: Add rules to build and tst-unique3.
43310 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
43311 * elf/tst-unique3.cc: New file.
43312 * elf/tst-unique3.h: New file.
43313 * elf/tst-unique3lib.cc: New file.
43314 * elf/tst-unique3lib2.cc: New file.
43316 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
43318 2011-03-10 Mike Frysinger <vapier@gentoo.org>
43320 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
43321 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
43324 2011-03-06 Ulrich Drepper <drepper@gmail.com>
43326 * elf/dl-load.c (_dl_map_object): If we are looking for the first
43327 to-be-loaded object along a path to loader is ld.so.
43329 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
43330 Ulrich Drepper <drepper@gmail.com>
43332 * sysdeps/x86_64/memset.S: After aligning destination, code
43333 branches to different locations depending on the value of
43334 misalignment, when multiarch is enabled. Fix this.
43336 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
43338 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
43339 Set _x86_64_preferred_memory_instruction for AMD processsors.
43340 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43341 Set bit_Prefer_SSE_for_memop for AMD processors.
43343 2011-03-04 Ulrich Drepper <drepper@gmail.com>
43345 * libio/fmemopen.c (fmemopen): Optimize a bit.
43347 2011-03-03 Andreas Schwab <schwab@redhat.com>
43349 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
43351 2011-03-03 Roland McGrath <roland@redhat.com>
43353 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
43355 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
43357 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
43358 __bzero_ultra1 instead of __memset_ultra1.
43360 2011-02-23 Andreas Schwab <schwab@redhat.com>
43361 Ulrich Drepper <drepper@gmail.com>
43364 * include/link.h (struct link_map): Add l_orig_initfini.
43365 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
43366 returning unsuccessfully.
43367 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
43368 close of a file loaded at startup, restore the original l_initfini
43370 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
43371 list, store the pointer.
43372 * elf/Makefile ($(objpfx)noload-mem): New rule.
43373 (noload-ENV): Define.
43374 (tests): Add $(objpfx)noload-mem.
43375 * elf/noload.c: Include <memcheck.h>.
43376 (main): Call mtrace. Close all opened handles.
43378 2011-02-17 Andreas Schwab <schwab@redhat.com>
43381 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
43382 dependencies are missing.
43384 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
43386 Fix __if_freereq crash: Unlike the generic version which uses free,
43388 * sysdeps/mach/hurd/ifreq.h: New file.
43390 2011-01-27 Petr Baudis <pasky@suse.cz>
43391 Ulrich Drepper <drepper@gmail.com>
43394 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
43395 to extend_alloca().
43396 * stdio-common/bug23.c: New file.
43397 * stdio-common/Makefile (tests): Add bug23.
43399 2010-09-28 Andreas Schwab <schwab@redhat.com>
43400 Ulrich Drepper <drepper@gmail.com>
43403 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
43404 before performing relro protection. At old place add assertion
43405 to make sure nothing changed.
43407 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
43408 Glauber de Oliveira Costa <glommer@gmail.com>
43410 * elf/elf.h: Add new ARM TLS relocs.
43412 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
43414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
43415 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
43417 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
43419 * sysdeps/wordsize-64/tst-writev.c: New file.
43421 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
43423 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
43424 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
43425 insns in _dl_start to prevent a TOC reference before relocs are
43428 2011-02-15 Ulrich Drepper <drepper@gmail.com>
43431 * Makeconfig: Remove RANLIB definition.
43432 * Makerules: Don't use RANLIB.
43433 * aclocal.m4: Remove ranlib test.
43434 * configure.in: No need to check for ranlib.
43435 * elf/rtld-Rules: Don't use RANLIB.
43437 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
43439 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
43441 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
43442 inclusion protection macro.
43444 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
43445 SIGRTMIN and SIGRTMAX and print information in that case only when
43446 SIGRTMIN is defined.
43448 2011-02-11 Jakub Jelinek <jakub@redhat.com>
43450 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
43451 arginfo fn returning -1.
43453 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
43454 and thousands string is zero terminated.
43456 2011-02-03 Andreas Schwab <schwab@redhat.com>
43458 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
43459 sysdeps/unix/sysv/linux/bits/socket.h.
43461 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
43463 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
43464 (__CPU_COUNT): Remove old macros.
43465 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
43466 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
43467 (__CPU_ALLOC, __CPU_FREE): Add macros.
43468 (__sched_cpualloc, __sched_cpufree): Add declarations.
43470 2011-02-05 Ulrich Drepper <drepper@gmail.com>
43472 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
43473 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
43474 * nscd/aicache.c (addhstaiX): Return timeout of added value.
43475 (readdhstai): Return value of addhstaiX call.
43476 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
43477 (addgrbyX): Return value returned by cache_addgr.
43478 (readdgrbyname): Return value returned by addgrbyX.
43479 (readdgrbygid): Likewise.
43480 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
43481 (addpwbyX): Return value returned by cache_addpw.
43482 (readdpwbyname): Return value returned by addhstbyX.
43483 (readdpwbyuid): Likewise.
43484 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
43485 (addservbyX): Return value returned by cache_addserv.
43486 (readdservbyname): Return value returned by addservbyX:
43487 (readdservbyport): Likewise.
43488 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
43489 (addhstbyX): Return value returned by cache_addhst.
43490 (readdhstbyname): Return value returned by addhstbyX.
43491 (readdhstbyaddr): Likewise.
43492 (readdhstbynamev6): Likewise.
43493 (readdhstbyaddrv6): Likewise.
43494 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
43495 (readdinitgroups): Return value returned by addinitgroupsX.
43496 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
43497 (prune_cache): Keep track of timeout value of re-added entries.
43498 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
43499 * nscd/nscd.h: Adjust prototypes of readd* functions.
43501 2011-02-04 Roland McGrath <roland@redhat.com>
43503 * nis/nis_server.c (nis_servstate): Use the right name for 0.
43504 (nis_stats): Likewise.
43505 * nis/nis_modify.c (nis_modify): Likewise.
43506 * nis/nis_remove.c (nis_remove): Likewise.
43507 * nis/nis_add.c (nis_add): Likewise.
43509 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
43511 * posix/fnmatch_loop.c: Add some consts.
43513 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
43515 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
43518 * config.make.in (config-cflags-novzeroupper): Define.
43519 * configure.in: Substitute libc_cv_cc_novzeroupper.
43520 * elf/Makefile (AVX-CFLAGS): Define.
43521 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
43522 (CFLAGS-tst-auditmod4a.c): Likewise.
43523 (CFLAGS-tst-auditmod4b.c): Likewise.
43524 (CFLAGS-tst-auditmod6b.c): Likewise.
43525 (CFLAGS-tst-auditmod6c.c): Likewise.
43526 (CFLAGS-tst-auditmod7b.c): Likewise.
43527 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
43529 2011-02-02 Ulrich Drepper <drepper@gmail.com>
43531 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
43532 function to the callback.
43533 Patch partly by Jiri Olsa <jolsa@redhat.com>.
43535 2011-02-02 Andreas Schwab <schwab@redhat.com>
43537 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
43540 2011-01-19 Ulrich Drepper <drepper@gmail.com>
43543 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
43545 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
43547 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
43550 * elf/Makefile: Add rules to build and run new test.
43551 * elf/tst-initorder.c: New file.
43552 * elf/tst-initorder.exp: New file.
43553 * elf/tst-initordera1.c: New file.
43554 * elf/tst-initordera2.c: New file.
43555 * elf/tst-initordera3.c: New file.
43556 * elf/tst-initordera4.c: New file.
43557 * elf/tst-initorderb1.c: New file.
43558 * elf/tst-initorderb2.c: New file.
43559 * elf/tst-order-a1.c: New file.
43560 * elf/tst-order-a2.c: New file.
43561 * elf/tst-order-a3.c: New file.
43562 * elf/tst-order-a4.c: New file.
43563 * elf/tst-order-b1.c: New file.
43564 * elf/tst-order-b2.c: New file.
43565 * elf/tst-order-main.c: New file.
43566 New test case by George Gensure <werkt0@gmail.com>.
43568 2010-10-01 Andreas Schwab <schwab@redhat.com>
43570 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
43571 decoding ACE if AI_CANONIDN.
43573 2011-01-18 Ulrich Drepper <drepper@gmail.com>
43575 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
43577 2011-01-17 Ulrich Drepper <drepper@gmail.com>
43579 * version.h (RELEASE): Bump for 2.13 release.
43580 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
43582 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
43584 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
43586 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
43587 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
43588 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
43589 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
43590 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
43591 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
43593 * posix/getconf.c: Update copyright year.
43594 * catgets/gencat.c: Likewise.
43595 * csu/version.c: Likewise.
43596 * debug/catchsegv.sh: Likewise.
43597 * debug/xtrace.sh: Likewise.
43598 * elf/ldconfig.c: Likewise.
43599 * elf/ldd.bash.in: Likewise.
43600 * elf/sprof.c (print_version): Likewise.
43601 * iconv/iconv_prog.c: Likewise.
43602 * iconv/iconvconfig.c: Likewise.
43603 * locale/programs/locale.c: Likewise.
43604 * locale/programs/localedef.c: Likewise.
43605 * malloc/memusage.sh: Likewise.
43606 * malloc/mtrace.pl: Likewise.
43607 * nscd/nscd.c (print_version): Likewise.
43608 * nss/getent.c: Likewise.
43610 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
43611 PF_CAIF, and PF_ALG.
43612 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43614 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
43616 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
43617 (modules-names): Use them.
43618 (ifunc-test-modules, ifunc-pie-tests): Define.
43619 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
43620 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
43621 (test-extras): Likewise.
43622 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
43623 $(compile-command.c).
43624 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
43625 (all-built-dso): Define.
43626 (check-textrel.out, check-execstack.out): Depend on it.
43628 * configure.in: Don't override --enable-multi-arch.
43630 2011-01-15 Ulrich Drepper <drepper@gmail.com>
43633 * nscd/hstcache.c (tryagain): Define.
43634 (cache_addhst): Return tryagain not notfound for temporary errors.
43635 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
43638 2011-01-14 Ulrich Drepper <drepper@gmail.com>
43641 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
43642 to make the syscall.
43643 * sysdeps/unix/sysv/linux/setgroups.c: New file.
43646 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
43647 and fall back to matching as normal character if the string ends before
43648 the matching ']' is found. This is what POSIX requires.
43649 * posix/testfnm.c: Adjust test result.
43650 * posix/globtest.sh: Adjust test result. Add new test.
43651 * posix/tst-fnmatch.input: Likewise.
43652 * posix/tst-fnmatch2.c: Add new test.
43654 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
43656 * elf/Makefile (check-execstack): Revert last change. Depend on
43658 (check-execstack.h): New target.
43659 (generated): Add check-execstack.h.
43660 * elf/check-execstack.c: Include "check-execstack.h".
43661 (main): Revert last change.
43662 (handle_file): Return zero if GNU_STACK is absent and
43663 DEFAULT_STACK_PERMS doesn't include PF_X.
43665 2011-01-13 Ulrich Drepper <drepper@gmail.com>
43667 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
43668 in child fails because the descriptor is already closed.
43669 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
43670 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
43671 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
43674 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
43678 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
43679 temporary buffer used to handle multi lookups locally.
43680 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
43682 2011-01-12 Ulrich Drepper <drepper@gmail.com>
43684 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
43687 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
43689 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
43690 alignment for SSE2.
43692 2011-01-12 Ulrich Drepper <drepper@gmail.com>
43695 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
43696 characters. When rounding increased number of integer digits recompute
43698 * stdio-common/tst-grouping.c: New file.
43699 * stdio-common/Makefile: Add rules to build and run tst-grouping.
43701 2011-01-09 Ulrich Drepper <drepper@gmail.com>
43703 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
43704 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
43706 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
43708 * bits/select.h: Likewise.
43710 2011-01-08 Ulrich Drepper <drepper@gmail.com>
43712 * po/ja.po: Update from translation team.
43714 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
43717 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
43718 implementation just like for lxstat, fxstatat, et al.
43720 2010-12-27 Jim Meyering <meyering@redhat.com>
43723 * posix/regexec.c (build_trtable): Return failure indication upon
43724 calloc failure. Otherwise, re_search_internal could infloop on OOM.
43726 2010-12-25 Ulrich Drepper <drepper@gmail.com>
43729 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
43730 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
43731 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
43732 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
43735 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
43738 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
43739 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
43741 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
43743 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
43744 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
43745 script has SORT_BY_INIT_PRIORITY.
43746 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
43747 NO_CTORS_DTORS_SECTIONS is defined.
43748 * elf/soinit.c: Likewise.
43749 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
43750 NO_CTORS_DTORS_SECTIONS is defined.
43751 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
43752 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
43753 * sysdeps/sh/init-first.c: Likewise.
43754 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
43756 2010-12-24 Ulrich Drepper <drepper@gmail.com>
43758 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
43759 always use the slow path.
43761 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
43763 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
43764 similar rule which adds the sysdep directories to the header search in
43765 order to pick up the correct platform stackinfo.h.
43766 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
43767 perform test if it is, otherwise return successfully without testing.
43768 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
43769 DEFAULT_STACK_PERMS define in stackinfo.h.
43770 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
43771 defined in stackinfo.h.
43772 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
43773 DEFAULT_STACK_PERMS defined in stackinfo.h.
43774 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
43775 * sysdeps/ia64/stackinfo.h: Likewise.
43776 * sysdeps/s390/stackinfo.h: Likewise.
43777 * sysdeps/sh/stackinfo.h: Likewise.
43778 * sysdeps/sparc/stackinfo.h: Likewise.
43779 * sysdeps/x86_64/stackinfo.h: Likewise.
43780 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
43781 PF_X for powerpc64. Retain PF_X for powerpc32.
43783 2010-12-19 Ulrich Drepper <drepper@gmail.com>
43785 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
43787 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
43788 GETDENTS_64BIT_ALIGNED.
43790 2010-12-14 Ulrich Drepper <dreper@gmail.com>
43792 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
43794 2010-12-10 Andreas Schwab <schwab@redhat.com>
43796 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
43799 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
43800 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
43802 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
43803 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
43805 2010-12-09 Ulrich Drepper <drepper@gmail.com>
43808 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
43811 2010-12-09 Jakub Jelinek <jakub@redhat.com>
43813 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
43815 2010-12-03 Ulrich Drepper <drepper@gmail.com>
43817 * po/it.po: Update from translation team.
43819 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
43821 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
43824 2010-11-30 Ulrich Drepper <drepper@gmail.com>
43826 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
43828 2010-11-24 Andreas Schwab <schwab@redhat.com>
43830 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
43832 (gaih_getanswer_slice): Likewise.
43834 2010-10-20 Jakub Jelinek <jakub@redhat.com>
43836 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
43838 2010-05-31 Petr Baudis <pasky@suse.cz>
43841 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
43842 silently even in the chroot mode.
43844 2010-11-22 Ulrich Drepper <drepper@gmail.com>
43846 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
43847 last patch a bit. Pretty printing
43849 2010-05-31 Petr Baudis <pasky@suse.cz>
43852 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
43853 initialization of skip_initgroups_dyn.
43855 2010-11-19 Ulrich Drepper <drepper@gmail.com>
43857 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
43858 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
43860 2010-11-16 Ulrich Drepper <drepper@gmail.com>
43862 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
43864 2010-11-11 Andreas Schwab <schwab@redhat.com>
43866 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
43867 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
43868 (tst-fnmatch-ENV): Set MALLOC_TRACE.
43869 ($(objpfx)tst-fnmatch-mem): New rule.
43870 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
43871 * posix/tst-fnmatch.c (main): Call mtrace.
43873 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
43875 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43876 Support Intel processor model 6 and model 0x2c.
43878 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
43880 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
43883 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
43886 * string/test-strncasecmp.c (check_result): New function.
43887 (do_one_test): Use it.
43888 (check1): New function.
43889 (test_main): Use it.
43890 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
43891 Support strcasecmp and strncasecmp.
43893 2010-11-08 Ulrich Drepper <drepper@gmail.com>
43896 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
43897 * sysdeps/x86_64/bits/byteswap.h: Likewise.
43899 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
43901 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
43903 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43905 * sysdeps/x86_64/multiarch/bzero.S: New file.
43906 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
43907 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
43908 * sysdeps/x86_64/multiarch/memset.S: New file.
43909 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
43910 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43911 Set bit_Prefer_SSE_for_memop for Intel processors.
43912 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
43914 (index_Prefer_SSE_for_memop): Define.
43915 (HAS_PREFER_SSE_FOR_MEMOP): Define.
43917 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
43919 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
43920 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
43922 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
43925 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
43926 (__x86_64_raw_data_cache_size_half): Likewise.
43927 (__x86_64_raw_shared_cache_size): Likewise.
43928 (__x86_64_raw_shared_cache_size_half): Likewise.
43930 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
43931 (__x86_64_raw_data_cache_size_half): Likewise.
43932 (__x86_64_raw_shared_cache_size): Likewise.
43933 (__x86_64_raw_shared_cache_size_half): Likewise.
43934 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
43935 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
43936 and __x86_64_raw_shared_cache_size_half. Round
43937 __x86_64_data_cache_size_half, __x86_64_data_cache_size
43938 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
43939 to multiple of 256 bytes.
43941 2010-11-03 Ulrich Drepper <drepper@gmail.com>
43944 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
43945 of inacessible symlinks. Verify result of symlink before returning it.
43946 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
43947 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
43949 2010-10-28 Erich Ritz <erichritz@gmail.com>
43951 * math/math.h (isinf): Fix typo in comment.
43953 2010-11-01 Ulrich Drepper <drepper@gmail.com>
43955 * po/da.po: Update from translation team.
43957 2010-10-26 Ulrich Drepper <drepper@gmail.com>
43959 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
43960 is added to the list.
43962 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43963 Ulrich Drepper <drepper@gmail.com>
43965 * elf/dl-object.c (_dl_new_object): Don't append the new object to
43966 the global list here. Move code to...
43967 (_dl_add_to_namespace_list): ...here. New function.
43968 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
43969 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
43970 * elf/dl-load.c (lose): Don't remove the element from the list.
43971 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
43972 (_dl_map_object): Likewise.
43974 2010-10-25 Ulrich Drepper <drepper@gmail.com>
43977 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
43978 into all bytes of SSE register.
43979 Patch by Richard Li <richardpku@gmail.com>.
43981 2010-10-24 Ulrich Drepper <drepper@gmail.com>
43984 * malloc/malloc.c (_int_free): Fill correct number of bytes when
43987 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
43989 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
43990 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
43991 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
43992 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
43993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
43995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
43997 2010-10-22 Andreas Schwab <schwab@redhat.com>
43999 * include/dlfcn.h (__RTLD_SECURE): Define.
44000 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
44001 mode & __RTLD_SECURE instead.
44002 (open_path): Rename preloaded parameter to secure.
44003 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
44004 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
44005 * elf/dl-deps.c (openaux): Likewise.
44006 * elf/rtld.c (struct map_args): Remove is_preloaded.
44007 (map_doit): Don't use it.
44008 (dl_main): Likewise.
44009 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
44010 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
44012 2010-09-09 Andreas Schwab <schwab@redhat.com>
44014 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
44015 (sysd-rules-targets): Remove duplicates.
44016 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
44017 rtld-%.$o dependency.
44019 2010-10-18 Andreas Schwab <schwab@redhat.com>
44021 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
44022 _dl_map_object do it.
44024 2010-10-19 Ulrich Drepper <drepper@gmail.com>
44026 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
44027 fast fma builtins, define the macros in the C99 standard.
44028 (FP_FAST_FMAF): Likewise.
44029 (FP_FAST_FMAL): Likewise.
44030 * sysdeps/x86_64/bits/mathdef.h: Likewise.
44032 * bits/mathdef.h: Update copyright year.
44033 * sysdeps/powerpc/bits/mathdef.h: Likewise.
44035 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
44037 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
44038 builtins, define the macros in the C99 standard.
44039 (FP_FAST_FMAF): Likewise.
44040 (FP_FAST_FMAL): Likewise.
44041 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
44043 (FP_FAST_FMAF): Likewise.
44045 2010-10-15 Jakub Jelinek <jakub@redhat.com>
44048 * math/libm-test.inc (fma_test): Some new testcases.
44049 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
44050 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
44051 y and infinite z. Do multiplication by C already in long double.
44052 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
44053 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
44054 y and infinite z. Do bitwise or of inexact bit into u.d.
44055 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
44056 * sysdeps/i386/fpu/s_fmaf.S: Removed.
44057 * sysdeps/i386/fpu/s_fma.S: Removed.
44058 * sysdeps/i386/fpu/s_fmal.S: Removed.
44060 2010-10-16 Jakub Jelinek <jakub@redhat.com>
44063 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
44064 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
44065 computation is not scheduled after fetestexcept. Fix value
44066 of minimum denormal long double.
44068 2010-10-14 Jakub Jelinek <jakub@redhat.com>
44071 * math/libm-test.inc (fma_test): Add some more tests.
44072 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
44075 2010-10-15 Andreas Schwab <schwab@redhat.com>
44077 * scripts/data/localplt-s390-linux-gnu.data: New file.
44078 * scripts/data/localplt-s390x-linux-gnu.data: New file.
44080 2010-10-13 Jakub Jelinek <jakub@redhat.com>
44083 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
44084 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
44086 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
44088 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
44089 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
44090 if one of x and y is very large and the other is subnormal.
44091 * sysdeps/s390/fpu/s_fmaf.c: New file.
44092 * sysdeps/s390/fpu/s_fma.c: New file.
44093 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
44094 * sysdeps/powerpc/fpu/s_fma.S: New file.
44095 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
44096 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
44097 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
44099 2010-10-12 Jakub Jelinek <jakub@redhat.com>
44102 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
44104 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
44105 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
44106 * sysdeps/i386/i686/multiarch/s_fma.c: Include
44107 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
44108 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
44109 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
44110 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
44112 2010-10-12 Ulrich Drepper <drepper@redhat.com>
44115 * posix/regcomp.c (parse_branch): One more memory leak plugged.
44116 * posix/bug-regex31.input: Add test case.
44118 2010-10-11 Ulrich Drepper <drepper@gmail.com>
44120 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
44121 * posix/bug-regex31.input: New file.
44124 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
44125 (parse_sub_exp): Fix last change, use postorder.
44127 * posix/bug-regex31.c: New file.
44128 * posix/Makefile: Add rules to build and run bug-regex31.
44130 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
44133 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
44136 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
44137 to have entries in sys_siglist.
44140 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
44143 2010-10-07 Jakub Jelinek <jakub@redhat.com>
44146 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
44147 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
44148 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
44149 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
44150 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
44151 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
44152 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
44153 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
44154 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
44155 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
44156 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
44157 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
44158 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
44159 * math/ftestexcept.c (fetestexcept): Likewise.
44160 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
44161 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
44162 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
44163 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
44164 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
44165 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
44166 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
44168 2010-10-11 Ulrich Drepper <drepper@gmail.com>
44171 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
44174 2010-10-06 Ulrich Drepper <drepper@gmail.com>
44176 * string/bug-strstr1.c: New file.
44177 * string/Makefile: Add rules to build and run bug-strstr1.
44179 2010-10-05 Eric Blake <eblake@redhat.com>
44182 * string/str-two-way.h (two_way_long_needle): Always clear memory
44183 when skipping input due to the shift table.
44185 2010-10-03 Ulrich Drepper <drepper@gmail.com>
44188 * malloc/mcheck.c: Handle large requests.
44191 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
44192 for strncmp and strncasecmp.
44193 * string/stratcliff.c: Add tests for strcmp and strncmp.
44194 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
44196 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44198 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
44201 2010-09-30 Andreas Jaeger <aj@suse.de>
44203 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
44204 (CGROUP_SUPER_MAGIC): Define.
44205 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44206 Handle btrfs and cgroup file systems.
44207 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
44210 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
44212 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
44213 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
44215 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44218 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
44219 trying to locate the ELF header.
44221 2010-09-27 Andreas Schwab <schwab@redhat.com>
44224 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
44225 Mask out sign-bit copies when constructing f_fsid.
44227 2010-09-24 Petr Baudis <pasky@suse.cz>
44229 * debug/stack_chk_fail_local.c: Add missing licence exception.
44230 * debug/warning-nop.c: Likewise.
44232 2010-09-15 Joseph Myers <joseph@codesourcery.com>
44234 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
44235 implementing getdents64 using getdents syscall, set d_type if
44236 __ASSUME_GETDENTS32_D_TYPE.
44238 2010-09-16 Andreas Schwab <schwab@redhat.com>
44240 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
44241 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
44243 2010-09-21 Ulrich Drepper <drepper@redhat.com>
44246 * posix/unistd.h: Undo change of feature selection for ftruncate from
44249 2010-09-20 Ulrich Drepper <drepper@redhat.com>
44251 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
44254 2010-09-20 Andreas Schwab <schwab@redhat.com>
44256 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
44258 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
44260 2010-09-14 Andreas Schwab <schwab@redhat.com>
44262 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
44263 variables after CHECK_SP call.
44264 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
44266 2010-09-13 Andreas Schwab <schwab@redhat.com>
44267 Ulrich Drepper <drepper@redhat.com>
44269 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
44270 re-relocationg ld.so.
44271 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
44272 _dl_init_paths call.
44273 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
44276 2010-09-14 Ulrich Drepper <drepper@redhat.com>
44278 * resolv/res_init.c (__res_vinit): Count the default server we added.
44280 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
44281 Ulrich Drepper <drepper@redhat.com>
44284 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
44285 (____longjmp_chk): Use %ebx for saving value across system call.
44288 2010-09-06 Andreas Schwab <schwab@redhat.com>
44290 * manual/Makefile: Don't mix pattern rules with normal rules.
44292 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
44294 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
44296 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
44297 * libio/iofopncook.c (_IO_cookie_init): Likewise.
44298 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
44299 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
44300 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44303 2010-09-04 Ulrich Drepper <drepper@redhat.com>
44306 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
44307 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
44309 2010-09-02 Ulrich Drepper <drepper@redhat.com>
44311 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
44312 * sysdeps/x86_64/addmul_1.S: Likewise.
44313 * sysdeps/x86_64/lshift.S: Likewise.
44314 * sysdeps/x86_64/mul_1.S: Likewise.
44315 * sysdeps/x86_64/rshift.S: Likewise.
44316 * sysdeps/x86_64/sub_n.S: Likewise.
44317 * sysdeps/x86_64/submul_1.S: Likewise.
44319 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
44321 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
44322 Define __sched_param instead of SCHED_* and sched_param when
44323 <bits/sched.h> is included with __need_schedparam defined.
44324 * bits/sched.h [__need_schedparam]
44325 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
44326 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
44327 (__defined_schedparam): Define to 1.
44328 (__sched_param): New structure, identical to sched_param.
44329 (__need_schedparam): Undefine.
44331 2010-08-31 Mike Frysinger <vapier@gentoo.org>
44333 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
44334 (epoll_create1): Declare.
44336 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
44338 2010-08-31 Andreas Schwab <schwab@redhat.com>
44341 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
44342 shifting retval into place.
44344 2010-09-01 Ulrich Drepper <drepper@redhat.com>
44346 * nis/rpcsvc/nis.h: Update copyright notice.
44347 * nis/rpcsvc/nis.x: Likewise.
44348 * nis/rpcsvc/nis_callback.h: Likewise.
44349 * nis/rpcsvc/nis_callback.x: Likewise.
44350 * nis/rpcsvc/nis_object.x: Likewise.
44351 * nis/rpcsvc/nis_tags.h: Likewise.
44352 * nis/rpcsvc/yp.h: Likewise.
44353 * nis/rpcsvc/yp.x: Likewise.
44354 * nis/rpcsvc/ypupd.h: Likewise.
44355 * nis/yp_xdr.c: Likewise.
44356 * nis/ypupdate_xdr.c: Likewise.
44358 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
44359 mainly the body of pmap_getport. Add parameters to specify timeouts.
44360 (pmap_getport): Use __libc_rpc_getport.
44361 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
44362 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
44363 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
44365 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
44367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
44370 2010-08-27 Roland McGrath <roland@redhat.com>
44372 * sysdeps/i386/i686/multiarch/Makefile
44373 (CFLAGS-varshift.c): New variable.
44375 2010-08-27 Ulrich Drepper <drepper@redhat.com>
44377 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
44378 * sysdeps/i386/i686/multiarch/varshift.c: New file.
44380 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
44382 * sysdeps/x86_64/strlen.S: Minimal code improvement.
44384 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
44386 * sysdeps/x86_64/strlen.S: Unroll the loop.
44387 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44388 strlen-sse2 strlen-sse2-bsf.
44389 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
44390 __strlen_no_bsf if bit_Slow_BSF is set.
44391 (__strlen_sse42): Removed.
44392 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
44393 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
44395 2010-08-25 Roland McGrath <roland@redhat.com>
44397 * sysdeps/x86_64/multiarch/varshift.S: File removed.
44398 * sysdeps/x86_64/multiarch/varshift.c: New file.
44399 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
44400 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
44401 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
44402 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
44404 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
44406 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44407 strlen-sse2 strlen-sse2-bsf.
44408 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
44409 __strlen_sse2_bsf if bit_Slow_BSF is unset.
44410 (__strlen_sse2): Removed.
44411 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
44412 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
44413 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
44414 bit_Slow_BSF for Atom.
44415 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
44416 (index_Slow_BSF): Define.
44417 (HAS_SLOW_BSF): Define.
44419 2010-08-25 Ulrich Drepper <drepper@redhat.com>
44422 * resolv/res_init.c (__res_vinit): When no server address at all
44423 is given default to loopback.
44425 2010-08-24 Roland McGrath <roland@redhat.com>
44427 * configure.in: Remove config-name.h generation.
44428 * configure: Regenerated.
44429 * config-name.in: File removed.
44430 * scripts/config-uname.sh: New file.
44431 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
44432 ($(objdir)config-name.h): New target.
44434 * sunrpc/rpc_parse.h: Avoid nested comment.
44436 2010-08-24 Richard Henderson <rth@redhat.com>
44437 Ulrich Drepper <drepper@redhat.com>
44438 H.J. Lu <hongjiu.lu@intel.com>
44440 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
44441 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
44442 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
44443 Replace _mm_srli_si128 with __m128i_shift_right. Replace
44444 _mm_alignr_epi8 with _mm_loadu_si128.
44445 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
44446 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
44447 (__m128i_shift_right): Removed.
44448 * sysdeps/i386/i686/multiarch/varshift.h: New file.
44449 * sysdeps/i386/i686/multiarch/varshift.S: New file.
44450 * sysdeps/x86_64/multiarch/varshift.h: New file.
44451 * sysdeps/x86_64/multiarch/varshift.S: New file.
44453 2010-08-21 Mike Frysinger <vapier@gentoo.org>
44455 * configure.in: Move assembler checks to before sysdep dir checking.
44457 2010-08-20 Petr Baudis <pasky@suse.cz>
44459 * LICENSES: Sync the sunrpc license.
44461 2010-08-19 Ulrich Drepper <drepper@redhat.com>
44463 * sunrpc/auth_des.c: Update copyright notice once again.
44464 * sunrpc/auth_none.c: Likewise.
44465 * sunrpc/auth_unix.c: Likewise.
44466 * sunrpc/authdes_prot.c: Likewise.
44467 * sunrpc/authuxprot.c: Likewise.
44468 * sunrpc/bindrsvprt.c: Likewise.
44469 * sunrpc/clnt_gen.c: Likewise.
44470 * sunrpc/clnt_perr.c: Likewise.
44471 * sunrpc/clnt_raw.c: Likewise.
44472 * sunrpc/clnt_simp.c: Likewise.
44473 * sunrpc/clnt_tcp.c: Likewise.
44474 * sunrpc/clnt_udp.c: Likewise.
44475 * sunrpc/clnt_unix.c: Likewise.
44476 * sunrpc/des_crypt.c: Likewise.
44477 * sunrpc/des_soft.c: Likewise.
44478 * sunrpc/get_myaddr.c: Likewise.
44479 * sunrpc/getrpcport.c: Likewise.
44480 * sunrpc/key_call.c: Likewise.
44481 * sunrpc/key_prot.c: Likewise.
44482 * sunrpc/openchild.c: Likewise.
44483 * sunrpc/pm_getmaps.c: Likewise.
44484 * sunrpc/pm_getport.c: Likewise.
44485 * sunrpc/pmap_clnt.c: Likewise.
44486 * sunrpc/pmap_prot.c: Likewise.
44487 * sunrpc/pmap_prot2.c: Likewise.
44488 * sunrpc/pmap_rmt.c: Likewise.
44489 * sunrpc/rpc/auth.h: Likewise.
44490 * sunrpc/rpc/auth_unix.h: Likewise.
44491 * sunrpc/rpc/clnt.h: Likewise.
44492 * sunrpc/rpc/des_crypt.h: Likewise.
44493 * sunrpc/rpc/key_prot.h: Likewise.
44494 * sunrpc/rpc/netdb.h: Likewise.
44495 * sunrpc/rpc/pmap_clnt.h: Likewise.
44496 * sunrpc/rpc/pmap_prot.h: Likewise.
44497 * sunrpc/rpc/pmap_rmt.h: Likewise.
44498 * sunrpc/rpc/rpc.h: Likewise.
44499 * sunrpc/rpc/rpc_des.h: Likewise.
44500 * sunrpc/rpc/rpc_msg.h: Likewise.
44501 * sunrpc/rpc/svc.h: Likewise.
44502 * sunrpc/rpc/svc_auth.h: Likewise.
44503 * sunrpc/rpc/types.h: Likewise.
44504 * sunrpc/rpc/xdr.h: Likewise.
44505 * sunrpc/rpc_clntout.c: Likewise.
44506 * sunrpc/rpc_cmsg.c: Likewise.
44507 * sunrpc/rpc_common.c: Likewise.
44508 * sunrpc/rpc_cout.c: Likewise.
44509 * sunrpc/rpc_dtable.c: Likewise.
44510 * sunrpc/rpc_hout.c: Likewise.
44511 * sunrpc/rpc_main.c: Likewise.
44512 * sunrpc/rpc_parse.c: Likewise.
44513 * sunrpc/rpc_parse.h: Likewise.
44514 * sunrpc/rpc_prot.c: Likewise.
44515 * sunrpc/rpc_sample.c: Likewise.
44516 * sunrpc/rpc_scan.c: Likewise.
44517 * sunrpc/rpc_scan.h: Likewise.
44518 * sunrpc/rpc_svcout.c: Likewise.
44519 * sunrpc/rpc_tblout.c: Likewise.
44520 * sunrpc/rpc_util.c: Likewise.
44521 * sunrpc/rpc_util.h: Likewise.
44522 * sunrpc/rpcinfo.c: Likewise.
44523 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
44524 * sunrpc/rpcsvc/key_prot.x: Likewise.
44525 * sunrpc/rpcsvc/klm_prot.x: Likewise.
44526 * sunrpc/rpcsvc/mount.x: Likewise.
44527 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
44528 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
44529 * sunrpc/rpcsvc/rex.x: Likewise.
44530 * sunrpc/rpcsvc/rstat.x: Likewise.
44531 * sunrpc/rpcsvc/rusers.x: Likewise.
44532 * sunrpc/rpcsvc/sm_inter.x: Likewise.
44533 * sunrpc/rpcsvc/spray.x: Likewise.
44534 * sunrpc/rpcsvc/yppasswd.x: Likewise.
44535 * sunrpc/rtime.c: Likewise.
44536 * sunrpc/svc.c: Likewise.
44537 * sunrpc/svc_auth.c: Likewise.
44538 * sunrpc/svc_authux.c: Likewise.
44539 * sunrpc/svc_raw.c: Likewise.
44540 * sunrpc/svc_run.c: Likewise.
44541 * sunrpc/svc_simple.c: Likewise.
44542 * sunrpc/svc_tcp.c: Likewise.
44543 * sunrpc/svc_udp.c: Likewise.
44544 * sunrpc/svc_unix.c: Likewise.
44545 * sunrpc/svcauth_des.c: Likewise.
44546 * sunrpc/xcrypt.c: Likewise.
44547 * sunrpc/xdr.c: Likewise.
44548 * sunrpc/xdr_array.c: Likewise.
44549 * sunrpc/xdr_float.c: Likewise.
44550 * sunrpc/xdr_mem.c: Likewise.
44551 * sunrpc/xdr_rec.c: Likewise.
44552 * sunrpc/xdr_ref.c: Likewise.
44553 * sunrpc/xdr_sizeof.c: Likewise.
44554 * sunrpc/xdr_stdio.c: Likewise.
44556 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
44559 2010-08-19 Andreas Schwab <schwab@redhat.com>
44561 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
44563 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
44565 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
44566 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
44567 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
44568 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
44569 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
44570 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
44571 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
44572 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
44573 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
44574 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
44575 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
44576 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
44577 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
44578 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
44580 2010-07-26 Anton Blanchard <anton@samba.org>
44582 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
44583 * malloc/arena.c (heap_trim): Likewise.
44585 2010-08-16 Ulrich Drepper <drepper@redhat.com>
44587 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
44589 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
44590 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
44592 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
44594 * sysdeps/i386/elf/Makefile: New file.
44596 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
44598 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
44599 from fanotify_init.
44600 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
44601 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
44603 2010-08-15 Ulrich Drepper <drepper@redhat.com>
44605 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
44607 * sysdeps/multiarch/strcmp.S: Likewise.
44609 2010-08-14 Ulrich Drepper <drepper@redhat.com>
44611 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
44612 strncase_l-nonascii.
44613 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
44614 Add strncase_l-ssse3.
44615 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
44616 * sysdeps/x86_64/strcmp.S: Likewise.
44617 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
44618 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
44619 * sysdeps/x86_64/strncase.S: New file.
44620 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
44621 * sysdeps/x86_64/strncase_l.S: New file.
44622 * string/Makefile (strop-tests): Add strncasecmp.
44623 * string/test-strncasecmp.c: New file.
44625 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
44628 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
44629 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
44631 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
44633 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
44635 2010-08-12 Ulrich Drepper <drepper@redhat.com>
44637 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
44638 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
44639 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
44641 2010-05-01 Alan Modra <amodra@gmail.com>
44643 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
44644 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
44645 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
44646 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
44647 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
44648 tidying. Don't tail-call __sigjmp_save for static lib.
44649 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
44651 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
44652 (CALL_MCOUNT): Add eh info, and nop after bl.
44653 (TAIL_CALL_SYSCALL_ERROR): New macro.
44654 (PSEUDO_RET): Use it.
44655 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
44656 Correct save location of integer regs and cr.
44657 (_dl_profile_resolve): Correct cr save location. Delete nops
44658 after bl when SHARED. Reduce cfi size a little by better
44659 placement of cfi directives.
44660 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
44661 make a stack frame. Instead use parm save area as a temp.
44662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
44663 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
44664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
44665 Don't make a stack frame for parent, use parm save area.
44666 Increase child stack frame to 112 bytes. Don't save unused reg,
44667 and adjust reg usage. Set up cfi on error recovery and
44668 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
44669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
44670 (__makecontext): Add dummy nop after jump to exit.
44671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
44672 Use correct parm save area and cr save, reduce stack frame.
44673 Correct cfi for possible PSEUDO_RET frame setup.
44674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
44675 Branch to local label emitted by PSEUDO_RET rather than
44678 2010-08-12 Andreas Schwab <schwab@redhat.com>
44681 * locale/programs/locale.c (print_assignment): New function.
44682 (show_locale_vars): Use it.
44684 2010-08-11 Ulrich Drepper <drepper@redhat.com>
44686 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
44688 (struct statfs64): Likewise.
44689 (_STATFS_F_FLAGS): Define.
44690 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
44691 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44692 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
44693 (ST_VALID): Define locally.
44694 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
44695 __statvfs_getflags, use the provided value.
44696 * sysdeps/unix/sysv/linux/kernel-features.h: Define
44697 __ASSUME_STATFS_F_FLAGS.
44699 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
44701 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
44702 Add sys/fanotify.h.
44703 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
44704 fanotify_mask for GLIBC_2.13.
44705 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
44706 fanotify_init and fanotify_mark.
44707 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
44708 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
44710 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
44712 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
44713 prlimit64 for GLIBC_2.13.
44714 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
44716 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
44718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
44719 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
44720 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
44721 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
44722 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
44724 * sysdeps/unix/sysv/linux/prlimit.c: New file.
44727 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
44728 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
44730 * nss/Makefile: Add rules to build and run tst-nss-test1.
44731 * shlib-versions: Add entry for libnss_test1.
44732 * nss/nss_test1.c: New file.
44733 * nss/tst-nss-test1.c: New file.
44735 * nss/nsswitch.c (__nss_database_custom): Define new variable.
44736 (__nss_configure_lookup): Set appropriate entry in
44737 __nss_configure_lookup to true.
44738 * nss/nsswitch.h: Define enum with indeces of databases in
44739 databases and __nss_database_custom arrays. Declare
44740 __nss_database_custom.
44741 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
44742 to avoid using nscd when custom rules are installed.
44743 * nss/getXXbyYY_r.c: Likewise.
44744 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
44746 * nss/nss_files/files-parse.c: Whitespace fixes.
44748 2010-08-09 Ulrich Drepper <drepper@redhat.com>
44751 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
44752 * posix/fnmatch_loop.c: Likewise.
44754 2010-07-17 Andi Kleen <ak@linux.intel.com>
44756 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
44757 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
44758 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
44759 * Versions.def [GLIBC_2.13]: Add.
44761 2010-08-06 Ulrich Drepper <drepper@redhat.com>
44763 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
44764 Also fail if tpwd after pwuid call is NULL.
44766 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
44768 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
44769 when converting to ms.
44771 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
44773 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
44774 EOPNOTSUPP errors with ENOTTY.
44775 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
44776 EOPNOTSUPP errors with ENOTTY.
44778 2010-07-31 Ulrich Drepper <drepper@redhat.com>
44780 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
44781 Add strcasecmp_l-ssse3.
44782 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
44784 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
44785 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
44786 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
44788 2010-07-30 Ulrich Drepper <drepper@redhat.com>
44790 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
44792 * string/Makefile (strop-tests): Add strcasecmp.
44793 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
44794 strcasecmp_l-nonascii.
44795 (gen-as-const-headers): Add locale-defines.sym.
44796 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
44797 * sysdeps/x86_64/strcasecmp.S: New file.
44798 * sysdeps/x86_64/strcasecmp_l.S: New file.
44799 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
44800 * sysdeps/x86_64/locale-defines.sym: New file.
44801 * string/test-strcasecmp.c: New file.
44803 * string/test-strcasestr.c: Test both ends of the range of characters.
44804 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
44806 2010-07-29 Roland McGrath <roland@redhat.com>
44809 * manual/locale.texi (Yes-or-No Questions): Fix example code.
44811 2010-07-27 Ulrich Drepper <drepper@redhat.com>
44813 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
44816 2010-07-27 Andreas Schwab <schwab@redhat.com>
44818 * manual/memory.texi (Malloc Tunable Parameters): Document
44821 2010-07-26 Roland McGrath <roland@redhat.com>
44824 * configure.in (-fgnu89-inline check): Set and substitute
44825 gnu89_inline, not libc_cv_gnu89_inline.
44826 * configure: Regenerated.
44827 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
44829 2010-07-26 Ulrich Drepper <drepper@redhat.com>
44831 * string/test-strnlen.c: New file.
44832 * string/Makefile (strop-tests): Add strnlen.
44833 * string/tester.c (test_strnlen): Add a few more test cases.
44834 * string/tst-strlen.c: Better error reporting.
44836 * sysdeps/x86_64/strnlen.S: New file.
44838 2010-07-24 Ulrich Drepper <drepper@redhat.com>
44840 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
44841 lower-latency instructions.
44843 2010-07-23 Ulrich Drepper <drepper@redhat.com>
44845 * string/test-strcasestr.c: New file.
44846 * string/test-strstr.c: New file.
44847 * string/Makefile (strop-tests): Add strstr and strcasestr.
44848 * string/str-two-way.h: Don't undefine MAX.
44849 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
44851 2010-07-21 Andreas Schwab <schwab@redhat.com>
44853 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44854 strcasestr-nonascii.
44855 (CFLAGS-strcasestr-nonascii.c): Define.
44856 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
44857 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
44858 Remove unused attribute.
44860 2010-07-20 Roland McGrath <roland@redhat.com>
44862 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
44863 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
44864 ld.so.cache was broken. With it, there is no way to disable dsocaps
44865 like LD_HWCAP_MASK can disable hwcaps.
44867 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
44869 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
44871 2010-07-16 Ulrich Drepper <drepper@redhat.com>
44873 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
44874 call in strcasestr.
44875 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
44876 __strcasestr_sse42_nonascii.
44877 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
44878 strcasestr-nonascii.c.
44879 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
44881 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
44883 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
44884 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
44885 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
44886 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
44888 2010-07-09 Ulrich Drepper <drepper@redhat.com>
44890 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
44893 2010-07-06 Andreas Schwab <schwab@redhat.com>
44896 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
44899 2010-07-06 Ulrich Drepper <drepper@redhat.com>
44901 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
44902 _PC_PIPE_BUF using F_GETPIPE_SZ.
44904 2010-07-05 Roland McGrath <roland@redhat.com>
44906 * manual/arith.texi (Rounding Functions): Fix rint description
44907 implicit in round description.
44909 2010-07-02 Ulrich Drepper <drepper@redhat.com>
44911 * elf/Makefile: Fix linking for a few tests to make recent linker
44914 2010-06-30 Andreas Schwab <schwab@redhat.com>
44916 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
44917 $(common-objpfx)libc_nonshared.a.
44919 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
44921 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
44922 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
44923 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
44924 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
44925 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
44926 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
44927 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
44928 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
44929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
44930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
44931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
44932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
44933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
44934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
44935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
44936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
44937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
44938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
44939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
44940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
44941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
44942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
44943 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
44944 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
44945 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
44946 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
44947 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
44948 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
44949 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
44950 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
44951 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
44952 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
44953 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
44954 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
44955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
44956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
44957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
44958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
44959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
44960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
44961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
44962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
44963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
44964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
44965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
44966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
44967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
44968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
44970 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
44972 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
44973 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
44974 * string/memmove.c (memmove): Renamed to ...
44975 (MEMMOVE): ...this. Default to memmove.
44976 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
44977 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
44979 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44980 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
44981 mempcpy-ssse3-back memmove-ssse3-back.
44982 * sysdeps/x86_64/multiarch/bcopy.S: New file .
44983 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
44984 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
44985 * sysdeps/x86_64/multiarch/memcpy.S: New file.
44986 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
44987 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
44988 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
44989 * sysdeps/x86_64/multiarch/memmove.c: New file.
44990 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
44991 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
44992 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
44993 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
44994 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
44995 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
44997 (index_Fast_Copy_Backward): Define.
44998 (HAS_ARCH_FEATURE): Define.
44999 (HAS_FAST_REP_STRING): Define.
45000 (HAS_FAST_COPY_BACKWARD): Define.
45002 2010-06-21 Andreas Schwab <schwab@redhat.com>
45004 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
45005 Restore proper fallback handling.
45007 2010-06-19 Ulrich Drepper <drepper@redhat.com>
45010 * posix/group_member.c (__group_member): Correct checking loop.
45012 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
45013 OOM in getpwuid_r correctly. Return error number when the caller
45014 should return, otherwise -1.
45015 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
45016 call returning > 0 value.
45017 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
45019 2010-06-07 Andreas Schwab <schwab@redhat.com>
45021 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
45022 libc_nonshared.a from targets in modules-names.
45024 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
45026 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
45029 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
45031 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
45032 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
45033 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
45034 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
45036 2010-06-02 Andreas Schwab <schwab@redhat.com>
45038 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
45040 2010-06-14 Ulrich Drepper <drepper@redhat.com>
45042 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
45044 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
45045 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45046 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45047 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45048 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45049 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
45051 2010-06-14 Roland McGrath <roland@redhat.com>
45053 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
45055 2010-06-07 Jakub Jelinek <jakub@redhat.com>
45057 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
45058 __REDIRECT followed by __THROW.
45059 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
45060 * posix/getopt.h (getopt): Likewise.
45062 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
45064 * hurd/lookup-at.c (__file_name_lookup_at): Accept
45065 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
45066 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
45068 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
45069 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
45071 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
45073 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
45075 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
45078 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45079 Properly check family and model.
45081 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
45083 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
45085 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
45087 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
45089 2010-05-21 Ulrich Drepper <drepper@redhat.com>
45091 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
45094 2010-05-19 Andreas Schwab <schwab@redhat.com>
45096 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
45099 2010-05-21 Andreas Schwab <schwab@redhat.com>
45101 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
45102 and internal_recvmmsg.
45103 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
45104 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
45105 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
45106 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
45108 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
45109 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
45110 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
45112 2010-05-20 Andreas Schwab <schwab@redhat.com>
45114 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
45116 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
45118 POWER7 optimizations.
45119 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
45120 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
45122 2010-05-19 Ulrich Drepper <drepper@redhat.com>
45124 * version.h: Update for 2.13 development version.
45126 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
45128 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
45129 exceptions. Return 0.
45131 2010-05-07 Roland McGrath <roland@redhat.com>
45133 * elf/ldconfig.c (main): Add a const.
45135 2010-05-06 Ulrich Drepper <drepper@redhat.com>
45137 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
45138 (args_options): Add no-idn option.
45139 (ahosts_keys_int): Add idn_flags to ai_flags.
45140 (parse_option): Handle 'i' option to clear idn_flags.
45142 * malloc/malloc.c (_int_free): Possible race in the most recently
45143 added check. Only act on the data if no current modification
45146 See ChangeLog.17 for earlier changes.