1 2014-05-29 Richard Henderson <rth@twiddle.net>
3 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4 Always allocate 64 bytes of stack frame. Use ldp/stp to create
6 (DOCARGS_0, DOCARGS_1): Do nothing.
7 (DOCARGS_2): Update to store into the new stack frame.
8 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
9 (UNDOCARGS_1): Update to restore from the new stack frame.
10 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
11 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
13 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
14 (SINGLE_THREAD_P): New parameter for result regno.
15 (PSEUDO): Update to match; use cbz instead of beq.
17 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
18 Use ENTRY to define the _nocancel entry point. Share the syscall
19 and syscall error check paths with the cancel path.
22 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
23 whitespace; tabs before and after asm mnemonics.
25 2014-05-29 Eric Wong <normalperson@yhbt.net>
28 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
29 Call fstat64 or stat64 internally, depending on arguments passed.
30 Replace stat buffer argument with file descriptor argument.
31 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
32 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
33 Pass fd to __internal_statvfs instead of calling fstat64.
34 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
35 Pass fd to __internal_statvfs64 instead of calling fstat64.
36 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
37 Pass -1 to __internal_statvfs instead of calling stat64.
38 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
39 Pass -1 to __internal_statvfs64 instead of calling stat64.
41 2014-05-28 Roland McGrath <roland@hack.frob.com>
43 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
44 that was previously under [RESET_PID].
45 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
47 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
48 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
50 2014-05-27 Roland McGrath <roland@hack.frob.com>
52 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
54 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
55 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
57 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
59 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
61 2014-05-27 Andreas Schwab <schwab@suse.de>
63 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
65 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
66 * elf/rtld.c (init_tls, dl_main): Likewise.
67 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
68 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
69 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
70 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
71 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
72 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
73 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
74 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
75 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
76 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
77 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
78 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
79 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
80 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
81 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
82 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
83 * sysdeps/generic/tls.h: Update description.
85 2014-05-27 Will Newton <will.newton@linaro.org>
88 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
89 and restore r2 rather than just restoring.
91 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
94 * libio/tst-ftell-append.c: New test case.
95 * libio/Makefile (tests): Add test case.
96 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
98 * libio/wfileops.c (do_ftell_wide): Likewise.
100 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
102 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
104 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
108 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
109 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
110 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
111 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
112 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
113 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
114 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
117 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
120 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
121 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
122 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
123 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
124 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
126 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
127 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
129 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
131 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
133 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
134 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
135 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
137 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
138 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
139 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
140 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
142 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
145 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
148 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
151 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
155 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
158 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
163 conditional [RESET_PID].
164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
165 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
167 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
172 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
173 (__libc_vfork): New strong alias.
174 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
176 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
181 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
182 (__libc_vfork): New strong alias.
183 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
185 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
188 2014-05-26 Carlos O'Donell <carlos@redhat.com>
190 * malloc/malloc.c (mi_arena): New function.
191 (malloc_info): Remove nested function mi_arena. Call non-nosted
194 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
196 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
198 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
199 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
200 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
201 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
202 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
203 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
204 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
206 2014-05-26 Andreas Schwab <schwab@suse.de>
209 * locale/programs/repertoire.c (repertoire_read): Add slash
210 between I18NPATH element and file name.
211 * locale/programs/locfile.c (locfile_read): Likewise.
213 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
215 * nptl/pthread_mutexattr_settype.c
216 (__pthread_mutexattr_settype):
217 Disable lock elision for PTHREAD_MUTEX_NORMAL.
219 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
221 * nptl/tst-mutex5 (do_test):
222 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
224 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
226 * benchtests/README: Document 'init' directive.
227 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
229 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
230 (parse_file): Recognize 'init' directive.
232 2014-05-26 Kyle McMartin <kyle@redhat.com>
235 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
236 alignment of struct pthread.
238 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
241 * nscd/netgroupcache.c (addgetnetgrentX): Look for
242 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
243 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
244 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
246 2014-05-25 Richard Henderson <rth@twiddle.net>
248 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
249 (SINGLE_THREAD_P_PIC): Remove.
250 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
251 (SINGLE_THREAD_P_PIC): Remove.
253 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
254 branch to syscall error ...
256 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
257 from __local_syscall_error to .Lsyscall_error.
258 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
259 (SYSCALL_ERROR): Update label name.
261 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
262 Do not use DOARGS/UNDOARGS.
263 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
264 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
265 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
266 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
267 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
269 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
272 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
273 define if !NOT_IN_libc.
274 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
275 define with non-default symbol versions.
277 2014-05-23 Richard Henderson <rth@twiddle.net>
279 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
280 (vfork, __vfork): Define via compat_symbol.
282 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
283 [!HAVE_IFUNC] (vfork_compat): Remove.
284 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
286 2014-05-23 Joseph Myers <joseph@codesourcery.com>
289 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
290 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
293 2014-05-23 Richard Henderson <rth@twiddle.net>
295 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
296 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
297 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
298 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
300 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
301 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
302 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
303 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
304 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
305 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
306 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
307 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
308 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
309 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
310 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
311 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
312 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
313 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
314 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
315 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
316 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
317 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
318 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
319 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
320 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
321 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
322 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
323 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
324 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
325 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
326 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
327 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
328 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
329 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
330 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
331 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
332 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
333 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
334 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
335 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
336 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
337 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
338 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
339 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
340 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
341 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
342 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
343 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
344 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
345 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
346 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
347 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
348 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
349 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
350 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
351 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
352 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
353 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
354 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
355 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
357 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
358 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
359 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
360 before exiting on error.
361 (__libc_vfork): New strong alias.
362 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
363 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
365 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
366 that was previously under [RESET_PID].
367 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
369 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
371 2014-05-23 Joseph Myers <joseph@codesourcery.com>
374 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
375 value when x - 1 is zero.
376 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
377 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
378 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
379 0.0L for an argument of 1.0L.
380 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
382 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
383 value when x - 1 is zero.
384 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
385 * sysdeps/i386/fpu/libm-test-ulps: Update.
386 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
388 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
390 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
391 alphasort and versionsort.
393 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
395 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
397 [copysignf]: Likewise.
399 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
401 * crypt/md5-crypt.c: Fix formatting.
403 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
405 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
406 (b64_from_24bit): New function.
408 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
410 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
411 libc_hidden_builtin_def to ifunc.
412 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
413 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
415 2014-05-21 Roland McGrath <roland@hack.frob.com>
417 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
418 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
420 2014-05-21 Joseph Myers <joseph@codesourcery.com>
422 * nscd/Depend (linuxthreads): Remove.
424 * resolv/Depend (linuxthreads): Remove.
425 * rt/Depend (linuxthreads): Remove.
427 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
428 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
429 $(common-objpfx)elf/.
430 (link-libc-before-gnulib): Likewise.
431 (elfobjdir): Remove variable.
432 * Makefile (install): Use $(elf-objpfx) instead of
433 $(common-objpfx)elf/.
434 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
436 (link-libc-deps): Likewise.
437 ($(common-objpfx)libc.so): Likewise.
438 ($(common-objpfx)linkobj/libc.so): Likewise.
439 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
440 instead of $(common-objpfx)elf/.
441 (symbolic-link-list): Likewise.
442 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
443 [$(cross-compiling) = no]: Likewise.
444 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
446 (static-gnulib-arch): Likewise.
447 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
448 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
449 $(common-objpfx)elf/.
451 2014-05-21 Richard Henderson <rth@redhat.com>
453 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
454 (SINGLE_THREAD_P): Use the correct width load. Fold
457 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
458 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
460 2014-05-20 Joseph Myers <joseph@codesourcery.com>
462 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
463 (libgcc_s_resume): Use __attribute_used__.
464 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
467 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
469 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
470 optimization when used with float constants.
472 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
474 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
477 * locale/nl_langinfo_l.c: Make direct reference to every
478 _nl_current_CATEGORY symbol.
479 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
480 (tests-static): Add tst-langinfo-static.
481 (tests-special): Add tst-langinfo-static.out.
482 ($(objpfx)tst-langinfo.out): Redirect output.
483 ($(objpfx)tst-langinfo-static.out): New.
484 * localedata/tst-langinfo.sh: Send output to stdout.
485 * localedata/tst-langinfo-static.c: New file.
488 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
489 when the shift amount is modulo the limb size.
491 2014-05-20 Richard Henderson <rth@redhat.com>
494 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
495 Change type of sa_flags from unsigned int to int.
498 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
500 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
502 2014-05-20 Will Newton <will.newton@linaro.org>
504 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
505 Test the return value of the system call in the nocancel case.
507 2014-05-20 Will Newton <will.newton@linaro.org>
508 Yvan Roux <yvan.roux@linaro.org>
510 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
511 #include of asm/ptrace.h.
512 (PTRACE_GET_THREAD_AREA): Remove #undef.
513 (PTRACE_GETHBPREGS): Likewise.
514 (PTRACE_SETHBPREGS): Likewise.
515 (struct user_regs_struct): New structure.
516 (struct user_fpsimd_struct): New structure.
517 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
518 #include of asm/ptrace.h and second #include of sys/user.h.
519 (PTRACE_GET_THREAD_AREA): Remove #undef.
520 (PTRACE_GETHBPREGS): Likewise.
521 (PTRACE_SETHBPREGS): Likewise.
522 (ELF_NGREG): Use new struct user_regs_struct.
523 (elf_fpregset_t): Use new struct user_fpsimd_struct.
525 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
527 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
528 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
530 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
533 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
534 membar to avoid block loads/stores to overlap previous stores.
536 2014-05-17 Richard Henderson <rth@redhat.com>
538 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
539 Create the __##syscall_name##_nocancel entry point.
540 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
541 Remove; let the sysdep-cancel.h code create it.
543 2014-05-17 David S. Miller <davem@davemloft.net>
545 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
546 Protect with __USE_GNU.
547 (TIOCSET_TEMPT): Likewise.
548 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
549 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
550 these are already provided in bits/ioctl-types.h
552 2014-05-16 Roland McGrath <roland@hack.frob.com>
554 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
555 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
557 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
558 Use wait4 regardless of [__NR_waitpid].
560 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
563 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
564 (_FP_NANSIGN_Q): Set the quiet bit.
566 2014-05-16 Joseph Myers <joseph@codesourcery.com>
568 * benchtests/Makefile
569 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
570 not $(common-objpfx)math/libm.so.
571 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
572 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
573 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
574 $(common-objpfx)dlfcn/libdl.so.
575 ($(objpfx)tst-audit8): Depend on $(libm), not
576 $(common-objpfx)math/libm.so.
577 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
578 not $(common-objpfx)dlfcn/libdl.so.
580 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
581 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
582 [$(build-shared) = yes].
583 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
584 $(common-objpfx)nptl/libpthread.so.
585 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
586 $(common-objpfx)math/libm.so$(libm.so-version) or
587 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
588 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
589 $(common-objpfx)dlfcn/libdl.so.
590 * setjmp/Makefile (link-libm): Remove variable.
591 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
592 * stdio-common/Makefile (link-libm): Remove variable.
593 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
594 * stdlib/Makefile (link-libm): Remove variable.
595 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
596 ($(objpfx)tst-strtod-round): Likewise.
597 ($(objpfx)tst-tininess): Likewise.
598 ($(objpfx)tst-strtod-underflow): Likewise.
599 ($(objpfx)tst-strtod6): Likewise.
600 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
601 $(libdl), not $(common-objpfx)nptl/libpthread.so and
602 $(common-objpfx)dlfcn/libdl.so.
604 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
606 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
607 BSD terminal modes definitions.
609 2014-05-16 Roland McGrath <roland@hack.frob.com>
611 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
612 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
614 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
615 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
616 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
617 Don't do #include_next.
618 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
619 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
620 Don't do #include_next.
621 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
622 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
623 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
624 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
626 2014-05-16 Allan McRae <allan@archlinux.org>
628 * po/sv.po: Update Swedish translation from translation project.
630 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
633 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
636 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
637 errno if the TIOCGPTN ioctl fails with an error different than
639 * login/tst-ptsname.c: New file.
640 * login/Makefile (tests): Add tst-ptsname.
643 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
646 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
649 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
650 herrno to return EAI_AGAIN.
652 2014-05-14 Roland McGrath <roland@hack.frob.com>
654 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
655 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
656 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
657 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
658 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
659 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
660 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
661 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
662 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
663 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
664 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
665 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
666 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
667 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
668 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
669 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
670 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
671 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
672 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
673 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
674 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
675 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
676 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
677 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
678 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
679 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
680 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
681 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
682 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
683 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
684 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
685 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
686 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
687 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
688 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
690 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
691 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
692 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
693 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
694 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
695 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
696 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
697 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
698 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
699 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
700 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
701 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
702 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
703 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
704 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
705 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
706 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
707 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
708 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
709 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
710 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
711 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
712 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
713 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
714 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
715 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
716 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
717 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
719 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
720 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
721 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
722 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
723 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
724 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
725 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
726 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
727 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
728 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
729 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
730 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
731 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
732 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
733 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
734 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
735 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
736 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
737 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
738 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
740 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
741 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
742 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
744 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
745 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
746 (libpthread-sysdep_routines): Add elision-related stuff here instead.
747 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
748 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
749 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
750 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
751 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
752 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
753 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
754 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
755 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
756 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
757 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
758 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
759 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
760 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
761 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
762 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
763 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
764 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
765 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
766 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
767 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
768 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
769 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
770 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
771 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
772 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
773 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
774 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
776 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
777 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
779 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
780 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
781 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
782 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
783 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
784 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
786 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
787 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
789 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
790 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
792 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
793 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
795 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
796 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
797 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
798 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
800 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
801 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
802 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
803 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
804 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
805 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
806 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
807 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
809 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
810 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
812 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
814 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
815 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
816 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
817 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
818 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
820 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
822 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
824 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
825 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
826 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
827 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
828 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
829 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
831 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
832 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
834 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
835 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
837 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
838 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
840 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
841 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
842 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
843 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
845 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
846 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
847 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
848 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
849 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
850 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
851 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
852 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
854 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
855 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
857 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
859 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
860 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
861 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
862 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
863 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
865 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
867 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
869 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
870 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
871 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
872 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
873 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
874 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
875 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
876 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
877 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
878 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
880 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
881 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
883 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
884 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
886 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
887 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
889 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
890 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
891 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
892 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
893 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
894 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
896 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
897 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
898 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
899 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
900 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
901 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
902 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
903 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
905 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
906 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
908 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
910 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
911 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
912 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
913 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
914 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
916 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
918 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
920 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
921 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
922 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
923 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
924 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
925 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
926 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
927 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
928 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
929 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
930 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
932 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
933 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
935 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
936 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
938 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
939 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
940 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
941 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
942 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
943 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
944 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
945 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
946 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
947 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
948 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
949 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
950 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
951 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
952 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
953 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
954 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
955 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
957 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
958 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
959 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
960 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
962 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
963 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
964 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
965 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
966 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
967 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
968 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
969 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
971 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
972 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
974 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
975 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
976 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
977 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
978 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
979 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
980 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
981 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
982 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
983 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
984 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
985 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
986 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
987 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
988 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
989 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
990 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
992 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
993 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
994 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
995 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
996 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
998 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
999 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
1000 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
1001 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
1002 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
1003 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
1004 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
1005 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
1006 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
1007 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
1009 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
1010 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
1012 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
1013 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
1014 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
1015 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
1016 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
1017 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
1018 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
1019 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
1020 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
1021 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
1022 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
1023 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
1024 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
1025 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
1026 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
1028 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
1030 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
1032 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
1034 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
1036 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
1038 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
1040 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
1042 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
1044 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
1046 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
1047 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
1048 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
1049 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
1050 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
1051 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
1052 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
1053 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
1054 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
1055 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
1056 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
1057 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
1058 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
1059 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
1060 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
1062 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
1063 that was previously under [RESET_PID].
1064 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
1065 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
1066 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
1068 * sysdeps/i386/nptl/Implies: New file.
1069 * sysdeps/x86_64/nptl/Implies: New file.
1070 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
1071 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
1072 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
1073 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
1075 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
1076 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1077 (__libc_vfork): New strong alias.
1078 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
1079 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
1081 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
1082 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1083 (__libc_vfork): New strong alias.
1084 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
1085 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
1087 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
1088 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1089 (__libc_vfork): New strong alias.
1090 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
1091 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
1092 * nptl/pt-vfork.c: New file.
1093 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
1094 (libpthread: GLIBC_2.20): New version set (empty).
1096 2014-05-14 Will Newton <will.newton@linaro.org>
1098 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
1101 2014-05-14 Joseph Myers <joseph@codesourcery.com>
1104 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
1105 arguments with exponent 65 or above.
1106 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
1107 arguments 0x1p113L or above.
1108 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
1109 to arguments 0x1p107L or above.
1110 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
1111 positive arguments with exponent 65 or above.
1112 * math/auto-libm-test-in: Add more tests of log1p.
1113 * math/auto-libm-test-out: Regenerated.
1116 * math/s_cacos.c (__cacos): Ensure zero real part of result from
1117 non-finite arguments is +0.
1118 * math/s_cacosf.c (__cacosf): Likewise.
1119 * math/s_cacosl.c (__cacosl): Likewise.
1120 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
1121 * sysdeps/i386/fpu/libm-test-ulps: Update.
1122 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1125 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
1127 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
1128 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
1129 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
1130 for explicit high bit of mantissa when testing for argument equal
1132 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
1133 * sysdeps/i386/fpu/libm-test-ulps: Update.
1134 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1137 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
1138 (__erf): Scale by 16 instead of 8 in potentially underflowing
1139 case. Ensure exception if result actually underflows.
1140 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
1141 (__erff): Scale by 16 instead of 8 in potentially underflowing
1142 case. Ensure exception if result actually underflows.
1143 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
1144 (efx8): Remove variable.
1145 (__erfl): Scale by 16 instead of 8 in potentially underflowing
1146 case. Ensure exception if result actually underflows.
1147 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
1148 (efx8): Remove variable.
1149 (__erfl): Scale by 16 instead of 8 in potentially underflowing
1150 case. Ensure exception if result actually underflows.
1151 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
1152 (efx8): Remove variable.
1153 (__erfl): Scale by 16 instead of 8 in potentially underflowing
1154 case. Ensure exception if result actually underflows.
1155 * math/auto-libm-test-in: Add more tests of erf.
1156 * math/auto-libm-test-out: Regenerated.
1158 2014-05-14 Andreas Schwab <schwab@suse.de>
1160 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
1161 Remove code conditionalized on USE___THREAD.
1163 * config.h.in (HAVE_PT_CHOWN): Define as 0.
1164 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
1167 2014-05-14 Joseph Myers <joseph@codesourcery.com>
1169 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
1170 Define unconditionally.
1171 (__ASSUME_O_CLOEXEC): Likewise.
1172 (__ASSUME_SOCK_CLOEXEC): Likewise.
1173 (__ASSUME_IN_NONBLOCK): Likewise.
1174 (__ASSUME_PIPE2): Likewise.
1175 (__ASSUME_EVENTFD2): Likewise.
1176 (__ASSUME_SIGNALFD4): Likewise.
1177 (__ASSUME_DUP3): Likewise.
1178 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1179 (__ASSUME_DUP3): Do not define.
1180 (__ASSUME_EVENTFD2): Likewise.
1181 (__ASSUME_IN_NONBLOCK): Likewise.
1182 (__ASSUME_O_CLOEXEC): Likewise.
1183 (__ASSUME_PIPE2): Likewise.
1184 (__ASSUME_SIGNALFD4): Likewise.
1185 (__ASSUME_SOCK_CLOEXEC): Likewise.
1186 (__ASSUME_UTIMES): Undefine.
1187 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1188 (__ASSUME_UTIMES): Do not define.
1189 (__ASSUME_O_CLOEXEC): Likewise.
1190 (__ASSUME_SOCK_CLOEXEC): Likewise.
1191 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
1192 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
1194 (__ASSUME_PIPE2): Likewise.
1195 (__ASSUME_EVENTFD2): Likewise.
1196 (__ASSUME_SIGNALFD4): Likewise.
1197 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
1198 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
1200 (__ASSUME_EVENTFD2): Likewise.
1201 (__ASSUME_SIGNALFD4): Likewise.
1202 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1203 (__ASSUME_32BITUIDS): Likewise.
1204 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
1205 (__ASSUME_IPC64): Likewise.
1206 (__ASSUME_ST_INO_64_BIT): Likewise.
1207 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
1208 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
1209 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1210 (__ASSUME_UTIMES): Do not define.
1211 (__ASSUME_PSELECT): Likewise.
1212 (__ASSUME_PPOLL): Likewise.
1213 (__ASSUME_O_CLOEXEC): Likewise.
1214 (__ASSUME_SOCK_CLOEXEC): Likewise.
1215 (__ASSUME_IN_NONBLOCK): Likewise.
1216 (__ASSUME_PIPE2): Likewise.
1217 (__ASSUME_EVENTFD2): Likewise.
1218 (__ASSUME_SIGNALFD4): Likewise.
1219 (__ASSUME_DUP3): Likewise.
1220 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1221 (__ASSUME_UTIMES): Likewise.
1222 (__ASSUME_O_CLOEXEC): Likewise.
1223 (__ASSUME_SOCK_CLOEXEC): Likewise.
1224 (__ASSUME_IN_NONBLOCK): Likewise.
1225 (__ASSUME_PIPE2): Likewise.
1226 (__ASSUME_EVENTFD2): Likewise.
1227 (__ASSUME_SIGNALFD4): Likewise.
1228 (__ASSUME_DUP3): Likewise.
1229 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1230 (__ASSUME_UTIMES): Likewise.
1231 (__ASSUME_O_CLOEXEC): Likewise.
1232 (__ASSUME_SOCK_CLOEXEC): Likewise.
1233 (__ASSUME_IN_NONBLOCK): Likewise.
1234 (__ASSUME_PIPE2): Likewise.
1235 (__ASSUME_EVENTFD2): Likewise.
1236 (__ASSUME_SIGNALFD4): Likewise.
1237 (__ASSUME_DUP3): Likewise.
1238 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
1240 (__ASSUME_UTIMES): Likewise.
1241 (__ASSUME_EVENTFD2): Likewise.
1242 (__ASSUME_SIGNALFD4): Likewise.
1243 * sysdeps/unix/sysv/linux/tile/kernel-features.h
1244 (__ASSUME_O_CLOEXEC): Likewise.
1245 (__ASSUME_SOCK_CLOEXEC): Likewise.
1246 (__ASSUME_IN_NONBLOCK): Likewise.
1247 (__ASSUME_PIPE2): Likewise.
1248 (__ASSUME_EVENTFD2): Likewise.
1249 (__ASSUME_SIGNALFD4): Likewise.
1250 (__ASSUME_DUP3): Likewise.
1251 (__ASSUME_UTIMES): Undefine.
1253 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
1254 feclearexcept. Remove symbol versioning code.
1255 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
1256 symbol versioning code.
1257 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
1258 symbol versioning code.
1259 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
1260 feupdateenv. Remove symbol versioning code.
1261 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
1262 fegetexceptflag. Remove symbol versioning code.
1263 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
1264 fesetexceptflag. Remove symbol versioning code.
1265 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
1266 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
1267 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
1268 (__posix_fadvise64_l32): Remove prototype.
1269 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
1272 2014-05-13 Roland McGrath <roland@hack.frob.com>
1274 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
1275 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
1276 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
1277 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
1279 2014-05-13 Sami Kerola <kerolasa@iki.fi>
1281 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
1282 current working directory
1284 2014-05-13 Roland McGrath <roland@hack.frob.com>
1286 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
1287 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
1288 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
1289 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
1290 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
1291 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
1292 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
1293 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
1294 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
1295 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
1296 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
1297 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
1298 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
1299 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
1300 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
1301 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
1302 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
1303 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
1304 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
1305 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
1306 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
1307 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
1308 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
1309 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
1310 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
1311 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
1312 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
1313 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
1314 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
1315 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
1316 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
1317 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
1318 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
1319 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
1320 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
1321 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
1322 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
1323 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
1324 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
1325 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
1326 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
1327 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
1329 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
1330 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
1332 * sysdeps/unix/sysv/linux/arm/Makefile
1333 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
1334 Add rt-aeabi_unwind_cpp_pr1.
1335 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
1336 Add nptl-aeabi_unwind_cpp_pr1.
1337 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
1338 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
1339 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
1340 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
1341 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
1342 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
1344 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
1345 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
1346 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
1347 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
1349 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
1350 Deconditionalize the code that was previously under [RESET_PID].
1351 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
1353 * sysdeps/generic/exit-thread.h: New file.
1354 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
1355 * include/unistd.h (__exit_thread): Remove declaration.
1356 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
1357 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
1358 * csu/libc-start.c: Include <exit-thread.h>.
1359 (LIBC_START_MAIN): Pass no argument to __exit_thread.
1360 * nptl/pthread_create.c: Include <exit-thread.h>.
1361 (start_thread): Call __exit_thread in place of __exit_thread_inline.
1362 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
1363 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
1364 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
1365 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
1366 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
1367 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
1368 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
1369 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
1370 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
1371 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
1372 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
1373 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
1374 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
1375 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
1376 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
1377 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
1379 2014-05-13 Andreas Schwab <schwab@suse.de>
1381 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
1383 2014-05-12 Joseph Myers <joseph@codesourcery.com>
1385 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
1386 (__ASSUME_UTIMES): Do not condition on kernel version.
1387 (__ASSUME_PSELECT): Define unconditionally.
1388 (__ASSUME_PPOLL): Likewise.
1389 (__ASSUME_ATFCTS): Likewise.
1390 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
1391 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
1392 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
1393 (__ASSUME_UTIMENSAT): Define unconditionally.
1394 (__ASSUME_PRIVATE_FUTEX): Likewise.
1395 (__ASSUME_FALLOCATE): Likewise.
1396 (__ASSUME_O_CLOEXEC): Likewise.
1397 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
1398 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
1399 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
1400 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
1401 (__ASSUME_IN_NONBLOCK): Likewise.
1402 (__ASSUME_PIPE2): Likewise.
1403 (__ASSUME_EVENTFD2): Likewise.
1404 (__ASSUME_SIGNALFD4): Likewise.
1405 (__ASSUME_DUP3): Likewise.
1406 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1407 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
1408 (__ASSUME_AT_RANDOM): Likewise.
1409 (__ASSUME_PREADV): Likewise.
1410 (__ASSUME_PWRITEV): Likewise.
1411 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
1412 (__ASSUME_F_GETOWN_EX): Define unconditionally.
1413 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
1414 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
1415 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
1416 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1417 (__ASSUME_O_CLOEXEC): Define unconditionally.
1418 (__ASSUME_PSELECT): Do not undefine conditionally.
1419 (__ASSUME_PPOLL): Likewise.
1420 (__ASSUME_ATFCTS): Likewise.
1421 (__ASSUME_SET_ROBUST_LIST): Likewise.
1422 (__ASSUME_UTIMENSAT): Likewise.
1423 (__ASSUME_FDATASYNC): Define unconditionally.
1424 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1425 (__ASSUME_SIGFRAME_V2): Likewise.
1426 )__ASSUME_EVENTFD2): Likewise.
1427 (__ASSUME_SIGNALFD4): Likewise.
1428 (__ASSUME_PSELECT): Do not undefine conditionally.
1429 (__ASSUME_PPOLL): Likewise.
1430 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1431 (__ASSUME_PSELECT): Define unconditionally.
1432 (__ASSUME_PPOLL): Likewise.
1433 (__ASSUME_O_CLOEXEC): Likewise.
1434 (__ASSUME_SOCK_CLOEXEC): Likewise.
1435 (__ASSUME_IN_NONBLOCK): Likewise.
1436 (__ASSUME_PIPE2): Likewise.
1437 (__ASSUME_EVENTFD2): Likewise.
1438 (__ASSUME_SIGNALFD4): Likewise.
1439 (__ASSUME_DUP3): Likewise.
1440 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1441 (__ASSUME_O_CLOEXEC): Likewise.
1442 (__ASSUME_SOCK_CLOEXEC): Likewise.
1443 (__ASSUME_IN_NONBLOCK): Likewise.
1444 (__ASSUME_PIPE2): Likewise.
1445 (__ASSUME_EVENTFD2): Likewise.
1446 (__ASSUME_SIGNALFD4): Likewise.
1447 (__ASSUME_DUP3): Likewise.
1448 * sysdeps/unix/sysv/linux/mips/kernel-features.h
1449 (__ASSUME_EVENTFD2): Likewise.
1450 (__ASSUME_SIGNALFD4): Likewise.
1451 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1453 2014-05-12 Andreas Schwab <schwab@suse.de>
1456 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
1457 (_nss_nis_gethostbyname4_r): Return error if item length is larger
1458 than maximum RPC packet size.
1459 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
1460 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
1461 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
1462 (_nss_nis_getservbyport_r): Likewise.
1464 2014-05-12 Will Newton <will.newton@linaro.org>
1466 * malloc/Makefile (tests): Add tst-mallopt.
1467 * malloc/tst-mallopt.c: New file.
1469 2014-05-09 Roland McGrath <roland@hack.frob.com>
1471 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
1472 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
1474 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1476 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
1477 (tst-tlsmod6.so): Likewise.
1479 2014-05-09 Roland McGrath <roland@hack.frob.com>
1481 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
1483 2014-05-09 Joseph Myers <joseph@codesourcery.com>
1486 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
1487 and <dl-procinfo.h>.
1488 (__fegetenv): Save SSE state in envp->__eip if supported.
1489 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
1490 envp->__eip if supported.
1491 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
1492 and <dl-procinfo.h>.
1493 (__fesetenv): Always set __eip, __cs_selector, __opcode,
1494 __data_offset and __data_selector in environment to 0. Set SSE
1496 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
1498 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
1500 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
1502 2014-05-09 Will Newton <will.newton@linaro.org>
1504 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
1505 and libc_relro_required for ARM.
1506 * sysdeps/arm/preconfigure: Regenerate.
1508 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
1509 Stefan Liebler <stli@linux.vnet.ibm.com>
1511 * config.make.in (enable-lock-elision): New Makefile variable.
1512 * configure.ac: Likewise.
1513 * configure: Regenerate.
1514 * sysdeps/s390/configure.ac:
1515 Add check for gcc transactions support.
1516 * sysdeps/s390/configure: Regenerate.
1517 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
1518 Build elision files if enabled.
1519 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
1520 Add lock elision support for s390.
1521 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
1522 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
1523 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
1524 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
1525 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
1526 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
1527 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
1529 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
1531 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
1533 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
1535 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
1536 (__lll_timedlock_elision, __lll_lock_elision)
1537 (__lll_unlock_elision, __lll_trylock_elision)
1538 (lll_timedlock_elision, lll_lock_elision)
1539 (lll_unlock_elision, lll_trylock_elision): Add.
1540 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
1541 (pthread_mutex_t): Add lock elision support for s390.
1543 2014-05-14 Wilco <wdijkstr@arm.com>
1545 * sysdeps/arm/fclrexcpt.c: Cleanup.
1546 * sysdeps/arm/fedisblxcpt.c: Cleanup.
1547 * sysdeps/arm/feenablxcpt.c: Cleanup.
1548 * sysdeps/arm/fegetenv.c: Cleanup.
1549 * sysdeps/arm/fegetexcept.c: Cleanup.
1550 * sysdeps/arm/fegetround.c: Cleanup.
1551 * sysdeps/arm/feholdexcpt.c: Cleanup.
1552 * sysdeps/arm/fesetenv.c: Cleanup.
1553 * sysdeps/arm/fesetround.c: Cleanup.
1554 * sysdeps/arm/feupdateenv.c: Cleanup.
1555 * sysdeps/arm/fgetexcptflg.c: Cleanup.
1556 * sysdeps/arm/fraiseexcpt.c: Cleanup.
1557 * sysdeps/arm/fsetexcptflg.c: Cleanup.
1558 * sysdeps/arm/ftestexcept.c: Cleanup.
1559 * sysdeps/arm/get-rounding-mode.h: Cleanup.
1560 * sysdeps/arm/setfpucw.c: Cleanup.
1562 2014-05-09 Will Newton <will.newton@linaro.org>
1564 * sysdeps/arm/armv7/strcmp.S: New file.
1565 * NEWS: Mention addition of ARMv7 optimized strcmp.
1567 2014-05-08 Roland McGrath <roland@hack.frob.com>
1569 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
1570 look for %.ac rather than %.in.
1572 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
1573 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
1574 * sysdeps/mach/hurd/configure: Regenerated.
1575 * sysdeps/unix/sysv/linux/configure: Regenerated.
1577 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
1579 2014-05-07 Steve Ellcey <sellcey@mips.com>
1582 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
1586 2014-05-07 Andreas Schwab <schwab@suse.de>
1588 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
1589 when skipping over non-matching result from nscd.
1591 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
1594 * nptl/sockperf.c (client): Check socket return value.
1597 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
1598 nscd security class.
1600 2014-05-06 Roland McGrath <roland@hack.frob.com>
1602 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
1603 * sysdeps/arm/unwind.h: ... here.
1605 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
1608 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
1611 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1613 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
1614 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
1615 multiarch strncpy for PPC64.
1616 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
1617 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
1618 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
1619 multiarch optimizations.
1620 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1621 (__libc_ifunc_impl_list): Likewise.
1622 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
1623 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
1624 multiarch stpncpy for PPC64.
1625 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
1626 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
1628 2014-05-06 Andreas Schwab <schwab@suse.de>
1631 * gmon/mcount.c (_MCOUNT_DECL): Use
1632 atomic_compare_and_exchange_bool_acq instead of
1633 catomic_compare_and_exchange_bool_acq.
1635 2014-05-05 Roland McGrath <roland@hack.frob.com>
1637 * elf/Makefile (others, install-bin): Remove pldd.
1638 (pldd-modules): Variable removed.
1639 ($(objpfx)pldd): Target removed.
1640 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
1641 (others, install-bin): Append pldd here.
1642 ($(objpfx)pldd): New target.
1644 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
1645 to 0, so the first #if test emitted later doesn't see it undefined.
1646 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
1647 * sysdeps/gnu/errlist.c: Regenerated.
1649 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1651 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
1652 [libc_hidden_builtin_def]: Define to empty value.
1653 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
1654 [libc_hidden_builtin_def]: Likewise.
1655 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
1656 [libc_hidden_builtin_def]: Likewise.
1657 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
1658 [libc_hidden_builtin_def]: Likewise.
1659 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
1660 __redirect_memcpy and define ifunc as default hidden symbol.
1661 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
1662 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
1664 2014-05-04 Adam Conrad <adconrad@0c3.net>
1666 * locale/iso-4217.def: Reintroduce XDR currency.
1668 2014-05-04 Allan McRae <allan@archlinux.org>
1670 * po/eo.po: Update Esperanto translation from translation project.
1672 2014-05-02 Carlos O'Donell <carlos@redhat.com>
1674 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
1675 and FEATURE_INDEX_MAX to 1.
1676 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
1678 2014-05-01 Steve Ellcey <sellcey@mips.com>
1680 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
1681 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
1682 * iconvdata/big5.c (ONE_DIRECTION): Define.
1683 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
1684 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
1685 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
1686 * iconvdata/cp932.c (ONE_DIRECTION): Define.
1687 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
1688 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
1689 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
1690 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
1691 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
1692 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
1693 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
1694 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
1695 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
1696 * iconvdata/gbk.c (ONE_DIRECTION): Define.
1697 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
1698 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
1699 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
1700 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
1701 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
1702 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
1703 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
1704 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
1705 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
1706 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
1707 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
1708 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
1709 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
1710 * iconvdata/iso646.c (ONE_DIRECTION): Define.
1711 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
1712 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
1713 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
1714 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
1715 * iconvdata/johab.c (ONE_DIRECTION): Define.
1716 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
1717 * iconvdata/sjis.c (ONE_DIRECTION): Define.
1718 * iconvdata/t.61.c (ONE_DIRECTION): Define.
1719 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
1720 * iconvdata/tscii.c (ONE_DIRECTION): Define.
1721 * iconvdata/uhc.c (ONE_DIRECTION): Define.
1722 * iconvdata/unicode.c (ONE_DIRECTION): Define.
1723 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
1724 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
1725 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
1727 2014-05-01 Roland McGrath <roland@hack.frob.com>
1729 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
1730 (_IO_JUMPS_OFFSET): Define to 0.
1732 * nptl/sysdeps/pthread/bits/libc-lock.h
1733 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
1734 (__libc_lock_define_initialized_recursive): Always define using
1735 initializer. Modern compilers treat uninitialized (implicit zero) and
1736 explicit zero initializers the same (i.e. put the datum in bss).
1738 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
1740 * nscd/nscd-client.h: Include <string.h>.
1742 2014-05-01 David S. Miller <davem@davemloft.net>
1745 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
1746 multiple zero bytes exist at the end of a string.
1747 Reported by Aurelien Jarno <aurelien@aurel32.net>
1749 * string/test-strcmp.c (check): Add explicit test for situations where
1750 there are multiple zero bytes after the first.
1752 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
1755 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
1756 when compiling wprintf.
1757 * stdio-common/tstdiomisc.c (t3): New function.
1760 2014-05-01 Steve Ellcey <sellcey@mips.com>
1762 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
1763 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
1764 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
1765 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
1767 2014-05-01 Steve Ellcey <sellcey@mips.com>
1769 * stdlib/longlong.h: Updated from GCC.
1771 2014-05-01 Will Newton <will.newton@linaro.org>
1772 Bernard Ogden <bernie.ogden@linaro.org>
1774 * NEWS: Update fixed bug list.
1777 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
1779 2014-04-30 David S. Miller <davem@davemloft.net>
1781 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
1782 (libc_feholdexcept_setround_sparc_ctx): New function.
1783 (libc_fesetenv_sparc_ctx): Likewise.
1784 (libc_feupdateenv_sparc_ctx): Likewise.
1785 (libc_feholdsetround_sparc_ctx): Likewise.
1786 (libc_feholdexcept_setround_ctx): Define.
1787 (libc_feholdexcept_setroundf_ctx): Likewise.
1788 (libc_feholdexcept_setroundl_ctx): Likewise.
1789 (libc_fesetenv_ctx): Likewise.
1790 (libc_fesetenvf_ctx): Likewise.
1791 (libc_fesetenvl_ctx): Likewise.
1792 (libc_feupdateenv_ctx): Likewise.
1793 (libc_feupdateenvf_ctx): Likewise.
1794 (libc_feupdateenvl_ctx): Likewise.
1795 (libc_feresetround_ctx): Likewise.
1796 (libc_feresetroundf_ctx): Likewise.
1797 (libc_feresetroundl_ctx): Likewise.
1798 (libc_feholdsetround_ctx): Likewise.
1799 (libc_feholdsetroundf_ctx): Likewise.
1800 (libc_feholdsetroundl_ctx): Likewise.
1802 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
1803 with __USE_GNU instead of XOPEN cpp guards.
1805 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
1808 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
1809 with XOPEN cpp guards.
1811 2014-04-30 Julian Brown <julian@codesourcery.com>
1814 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
1817 2014-04-30 Joseph Myers <joseph@codesourcery.com>
1820 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
1822 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
1823 * sysdeps/unix/sysv/linux/configure: Regenerated.
1824 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
1825 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
1826 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
1827 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
1828 * README: Update reference to required Linux kernel version.
1829 * manual/install.texi (Linux): Update reference to required Linux
1830 kernel headers version.
1831 * INSTALL: Regenerated.
1833 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
1835 [POSIX] (limits.h): Likewise.
1836 [POSIX] (math.h): Likewise.
1837 [POSIX] (sys/wait.h): Likewise.
1838 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
1840 [POSIX] (stddef.h): Do not allow header inclusion.
1842 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1844 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1846 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
1848 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
1849 Return immediately after lll_futex_wake.
1851 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1854 * nscd/nscd-client.h (datahead_init_common): Initialize entire
1856 (datahead_init_pos): Call datahead_init_common early.
1857 (datahead_init_neg): Likewise.
1859 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
1860 datahead_init_neg): New functions.
1861 * nscd/aicache.c (addhstaiX): Use them.
1862 * nscd/grpcache.c (cache_addgr): Likewise.
1863 * nscd/hstcache.c (cache_addhst): Likewise.
1864 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1865 * nscd/netgroupcache.c (do_notfound): Likewise.
1866 (addgetnetgrentX): Likewise.
1867 (addinnetgrX): Likewise.
1868 * nscd/pwdcache.c (cache_addpw): Likewise.
1869 * nscd/servicescache.c (cache_addserv): Likewise.
1871 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1872 Atsushi Onoe <atsushi@onoe.org>
1877 * resolv/res_query.c (__libc_res_nsearch): Return if at least
1878 one response is valid.
1879 * resolv/res_send.c (send_dg): Check for validity of other
1880 response if the current response is a referral.
1882 2014-04-29 Steve Ellcey <sellcey@mips.com>
1884 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
1886 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
1889 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
1890 Always divide by positive zero when computing -Inf result.
1891 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
1892 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
1894 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1896 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
1897 FPSCR if value do not change.
1898 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
1899 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
1900 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
1901 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
1902 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
1903 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
1906 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
1908 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
1909 * sysdeps/unix/sysv/linux/hppa: Move directory from
1910 ports/systeps/unix/sysv/linux/hppa.
1911 * README: Update listing for hppa-*-linux-gnu.
1913 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
1916 * manual/stdio.texi (Hook functions): Fix types of stream hook
1919 * socket/sys/socket.h: Fix typo in comment.
1921 2014-04-28 Wilco <wdijkstr@arm.com>
1923 * sysdeps/arm/fenv_private.h: New file.
1924 * sysdeps/arm/math_private.h: New file.
1925 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
1927 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
1929 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
1931 (La_x86_64_retval): Likewise.
1933 2014-04-24 Ian Bolton <ian.bolton@arm.com>
1935 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
1936 fpsr if value didn't change.
1937 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
1938 to fpcr if value didn't change.
1939 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
1940 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
1941 fpsr or fpcr if value didn't change.
1942 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
1943 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
1944 fpcr if value didn't change.
1945 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
1946 to fpsr if value didn't change.
1948 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
1950 * nptl/tst-sem3.c: Use test-skeleton.c
1951 (main): Rename to do_test. Use return instead of
1953 * nptl/tst-sem4.c: Use test-skeleton.c
1954 (main): Rename to do_test.
1956 2014-04-22 David S. Miller <davem@davemloft.net>
1958 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
1959 (struct sigaction): New struct member __glibc_reserved0, change
1960 type of sa_flags to int.
1962 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
1964 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
1965 (COUNT_LEADING_ZEROS_0): Define for AArch64.
1967 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
1969 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
1970 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
1972 2014-04-22 Will Newton <will.newton@linaro.org>
1973 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
1975 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
1976 (__longjmp): Add longjmp and longjmp_target SystemTap
1978 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
1979 (__sigsetjmp): Add setjmp SystemTap probe.
1981 2014-04-17 Carlos O'Donell <carlos@redhat.com>
1983 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
1986 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1988 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
1990 * sysdeps/powerpc/fpu/fenv_private.h
1991 (libc_feholdexcept_setroundl_ctx): Define to
1992 libc_feholdexcept_setround_ppc_ctx.
1993 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
1994 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
1995 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
1996 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
1998 2014-04-17 Ian Bolton <ian.bolton@arm.com>
2000 * sysdeps/aarch64/math-tests.h: New file.
2002 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
2004 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
2006 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2007 Check and set bit_AVX2_Usable.
2008 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
2010 (bit_AVX2): Likewise.
2011 (index_AVX2_Usable): Likewise.
2012 (CPUID_AVX2): Likewise.
2013 (HAS_AVX2): Likewise.
2015 2014-04-17 Will Newton <will.newton@linaro.org>
2017 * manual/setjmp.texi (System V contexts): Add note that
2018 calling setcontext on a context created by a call to a
2019 signal handler is undefined. Update text to note that
2020 setcontext from a signal handler is possible but not
2024 * stdlib/tst-setcontext.c: Include signal.h.
2025 (main): Check that the signal stack before and
2026 after swapcontext is the same.
2028 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
2029 Re-implement to restore registers in user code and avoid
2030 rt_sigreturn system call.
2032 2014-04-17 Wilco <wdijkstr@arm.com>
2034 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
2035 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
2036 * math/test-fenv.c: Skip exception trap tests on targets which only
2037 support non-stop mode.
2039 2014-04-17 Ian Bolton <ian.bolton@arm.com>
2040 Wilco Dijkstra <wilco.dijkstra@arm.com>
2042 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
2043 (libc_feholdsetround_aarch64_ctx)
2044 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
2045 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
2046 (libc_feresetround_ctx, libc_feresetroundf_ctx)
2047 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
2048 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
2049 (libc_feresetround_noexl_ctx): Define.
2051 2014-04-16 Richard Henderson <rth@redhat.com>
2053 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
2055 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
2058 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
2059 const from the non-libc, non-ldso copy.
2061 * sysdeps/alpha/libm-test-ulps: Regenerate.
2063 2014-04-16 Ian Bolton <ian.bolton@arm.com>
2064 Wilco Dijkstra <wilco.dijkstra@arm.com>
2066 * sysdeps/aarch64/fpu/math_private.h: New file.
2068 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
2070 * sysdeps/aarch64/libm-test-ulps: Regenerate.
2072 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
2074 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
2075 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
2076 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
2077 Intel MPX bound registers before _dl_profile_fixup.
2078 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
2079 registers after _dl_profile_fixup. Save and restore bound
2080 registers bnd0/bnd1 when calling _dl_call_pltexit.
2081 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
2082 (LR_BND_OFFSET): Likewise.
2083 (LRV_BND0_OFFSET): Likewise.
2084 (LRV_BND1_OFFSET): Likewise.
2086 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
2088 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
2090 * sysdeps/mach/hurd/i386/tls.h: ... here.
2091 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
2092 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
2095 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
2097 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
2099 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
2101 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2103 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
2106 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
2107 * sysdeps/s390/configure: Regenerate.
2110 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
2111 Set round-to-nearest internally to reduce error accumulation.
2113 2014-04-16 Alan Modra <amodra@gmail.com>
2117 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
2118 * math/libm-test.inc (frexp_test_data): Add tests.
2119 * NEWS: Update fixed bug list.
2121 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2123 * benchtests/Makefile: Depend on libraries in build directory.
2124 (bench-math): Separate out math tests.
2125 (bench-pthread): Separate out pthread tests.
2126 (bench): Include math and pthread tests.
2128 2014-04-14 Carlos O'Donell <carlos@redhat.com>
2131 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
2132 _dl_debug_initialize.
2134 * configure.ac: Remove SELinux header check.
2135 * configure: Regenerate.
2136 * nscd/selinux.c (perms): Array of const char* to permission names.
2137 (nscd_request_avc_has_perm): Call security_deny_unknown to find
2138 default policy. Call string_to_security_class and string_to_av_perm to
2139 translate strings. Enforce default policy and call avs_has_perm with
2140 results of translated strings.
2142 2014-04-13 David S. Miller <davem@davemloft.net>
2144 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2146 2014-04-12 Allan McRae <allan@archlinux.org>
2149 * manual/string.texi (Collation Functions): Fix qsort argument
2151 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
2153 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
2155 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
2156 Make the test a no-op if there are no exceptions defined.
2158 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
2160 * elf/Makefile (tests): make tst-dlopen-aout conditional on
2161 enable-hardcoded-path-in-tests
2163 2014-04-11 Will Newton <will.newton@linaro.org>
2165 * benchtests/Makefile (extra-objs): Add json-lib.o.
2166 (bench-func): Tidy up JSON output.
2167 * benchtests/bench-skeleton.c: Include json-lib.h.
2168 (main): Use JSON library functions to do output of
2170 * benchtests/bench-timing-type.c (main): Output the
2171 timing type simply, leaving formatting to the user.
2172 * benchtests/json-lib.c: New file.
2173 * benchtests/json-lib.h: Likewise.
2175 2014-04-11 Torvald Riegel <triegel@redhat.com>
2178 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
2179 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
2180 memory barriers. Add comments.
2181 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
2182 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
2183 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
2184 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
2185 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
2186 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
2188 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
2190 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
2191 * sysdeps/s390/s390-64/configure.ac: ... this ...
2192 * sysdeps/s390/configure.ac: ... to here.
2193 * sysdeps/s390/s390-32/configure: Delete file.
2194 * sysdeps/s390/s390-64/configure: Delete file.
2195 * sysdeps/s390/configure: Regenerate.
2197 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
2199 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
2201 2014-04-11 Will Newton <will.newton@linaro.org>
2203 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
2204 to zero if it is not defined elsewhere. (mtrim): Test
2205 the value of MALLOC_DEBUG with #if rather than #ifdef.
2207 2014-04-10 Torvald Riegel <triegel@redhat.com>
2209 * benchtests/pthread_once-inputs: New file.
2210 * benchtests/pthread_once-source.c: New file.
2211 * benchtests/README: Update documentation.
2213 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
2214 H.J. Lu <hongjiu.lu@intel.com>
2216 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
2217 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
2218 * sysdeps/x86_64/configure: Regenerated.
2219 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
2221 (REGISTER_SAVE_RAX): Likewise.
2222 (REGISTER_SAVE_RCX): Likewise.
2223 (REGISTER_SAVE_RDX): Likewise.
2224 (REGISTER_SAVE_RSI): Likewise.
2225 (REGISTER_SAVE_RDI): Likewise.
2226 (REGISTER_SAVE_R8): Likewise.
2227 (REGISTER_SAVE_R9): Likewise.
2228 (REGISTER_SAVE_BND0): Likewise.
2229 (REGISTER_SAVE_BND1): Likewise.
2230 (REGISTER_SAVE_BND2): Likewise.
2231 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
2232 bound registers when calling _dl_fixup.
2234 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2236 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
2237 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
2239 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
2240 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
2241 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
2242 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
2243 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
2244 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
2245 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
2247 2014-04-09 Peter Brett <peter@peter-b.co.uk>
2250 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
2251 pathconf(_PC_NAME_MAX).
2253 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2255 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
2257 (__PTHREAD_SPINS): Move definition to ...
2258 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2259 (__PTHREAD_SPINS): ... here.
2260 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
2261 (__PTHREAD_SPIN): Likewise.
2262 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
2263 (__PTHREAD_SPIN): Likewise.
2264 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
2265 (__PTHREAD_SPIN): Likewise.
2266 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
2267 (__PTHREAD_SPIN): Likewise.
2268 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
2269 (__PTHREAD_SPIN): Likewise.
2270 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
2271 (__PTHREAD_SPIN): Likewise.
2272 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
2273 (__PTHREAD_SPIN): Likewise.
2274 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
2275 (__PTHREAD_SPIN): Likewise.
2276 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
2277 (__PTHREAD_SPIN): Likewise.
2278 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
2279 (__PTHREAD_SPIN): Likewise.
2280 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
2281 (__PTHREAD_SPIN): Likewise.
2282 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
2283 (__PTHREAD_SPIN): Likewise.
2285 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
2286 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
2287 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
2288 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
2290 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
2291 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
2292 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
2293 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
2295 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
2296 strlen symbol for non multi-arch builds.
2297 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
2298 missing hidden_def and weak_alias.
2300 2014-04-08 Carlos O'Donell <carlos@redhat.com>
2302 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
2304 2014-04-07 Will Newton <will.newton@linaro.org>
2306 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
2307 and contents. [!_LIBC] Remove #ifndef and contents.
2308 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
2309 * string/memccpy.c (__memccpy): Use ANSI prototype.
2310 * string/memfrob.c (memfrob): Likewise.
2311 * string/strcoll.c (STRCOLL): Likewise.
2312 * string/strlen.c (strlen): Likewise.
2313 * string/strtok.c (STRTOK): Likewise.
2314 * string/strcat.c: Remove unused #include of memcopy.h.
2315 (strcat): Use ANSI prototype.
2316 * string/strchr.c: Remove unused #include of memcopy.h.
2317 (strchr): Use ANSI prototype.
2318 * string/strcmp.c: Remove unused #include of memcopy.h.
2319 (strcmp): Use ANSI prototype.
2320 * string/strcpy.c: Remove unused #include of memcopy.h.
2321 (strcpy): Use ANSI prototype.
2323 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2325 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
2326 * config.make.in (config-extra-cppflags): Set it from
2327 libc_extra_cppflags.
2328 * configure.ac (libc_extra_cflags): Make it accumulate over
2329 configure fragments.
2330 (libc_extra_cppflags): New flag.
2331 * configure. Regenerate.
2332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
2333 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
2334 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
2335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
2338 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
2339 result for FE_DOWNWARD rounding mode.
2340 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
2342 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2344 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
2346 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
2347 in function argument name.
2349 2014-04-03 David Svoboda <svoboda@cert.org>
2352 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
2355 2014-04-03 Roland McGrath <roland@hack.frob.com>
2357 * elf/dl-unmap-segments.h: New file.
2358 * sysdeps/generic/ldsodefs.h
2359 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
2360 * elf/dl-close.c: Include <dl-unmap-segments.h>.
2361 * elf/dl-fptr.c: Likewise.
2362 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
2363 * sysdeps/aarch64/tlsdesc.c: Likewise.
2364 * sysdeps/arm/tlsdesc.c: Likewise.
2365 * sysdeps/i386/tlsdesc.c: Likewise.
2366 * sysdeps/tile/dl-runtime.c: Likewise.
2367 * sysdeps/x86_64/tlsdesc.c: Likewise.
2368 * elf/dl-load.h: New file.
2369 * elf/dl-load.c: Include it.
2370 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
2371 Macros moved to dl-load.h.
2372 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
2373 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
2374 Use _dl_unmap_segments in place of __munmap.
2375 Break out segment-mapping loop into ...
2376 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
2378 2014-04-03 Will Newton <will.newton@linaro.org>
2380 * elf/dl-lookup.c (do_lookup_x): Remove comment
2381 referring to nested function and move variable
2382 declarations down to before first use.
2384 2014-04-02 Joseph Myers <joseph@codesourcery.com>
2388 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
2390 * math/s_catanf.c (__catanf): Likewise.
2391 * math/s_catanh.c (__catanh): Likewise.
2392 * math/s_catanhf.c (__catanhf): Likewise.
2393 * math/s_catanhl.c (__catanhl): Likewise.
2394 * math/s_catanl.c (__catanl): Likewise.
2395 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
2396 by positive zero when computing -Inf result.
2397 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
2398 (catanh_test): Likewise.
2399 * sysdeps/i386/fpu/libm-test-ulps: Update.
2400 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2403 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
2404 instead of using underflowing value in computing result.
2405 * math/s_clog10.c (__clog10): Likewise.
2406 * math/s_clog10f.c (__clog10f): Likewise.
2407 * math/s_clog10l.c (__clog10l): Likewise.
2408 * math/s_clogf.c (__clogf): Likewise.
2409 * math/s_clogl.c (__clogl): Likewise.
2410 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
2411 (clog10_test): Likewise.
2412 * sysdeps/i386/fpu/libm-test-ulps: Update.
2413 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2415 2014-04-02 Alan Modra <amodra@gmail.com>
2418 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
2419 output when value is near a power of two. Use int64_t for lx and
2420 remove casts. Use decimal rather than hex exponent constants.
2421 Don't use long double multiplication when double will suffice.
2422 * math/libm-test.inc (nextafter_test_data): Add tests.
2423 * NEWS: Add 16739 and 16786 to bug list.
2425 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
2427 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
2429 2014-04-01 Will Newton <will.newton@linaro.org>
2431 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
2432 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
2434 2014-04-01 Florian Weimer <fweimer@redhat.com>
2437 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
2438 * nptl/tst-setuid2.c: New file.
2439 * nptl/Makefile (xtests): Add tst-setuid2.
2441 2014-04-01 Alan Modra <amodra@gmail.com>
2444 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
2446 2014-03-31 Joseph Myers <joseph@codesourcery.com>
2450 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
2451 set errno as appropriate.
2452 * math/w_scalbf.c (__scalbf): Likewise.
2453 * math/w_scalbl.c (__scalbl): Likewise.
2454 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
2455 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
2456 * math/libm-test.inc (scalb_test_data): Add errno expectations.
2460 * math/w_atan2.c: Include <errno.h>.
2461 (__atan2): Set errno for result underflowing to zero.
2462 * math/w_atan2f.c: Include <errno.h>.
2463 (__atan2f): Set errno for result underflowing to zero.
2464 * math/w_atan2l.c: Include <errno.h>.
2465 (__atan2l): Set errno for result underflowing to zero.
2466 * math/auto-libm-test-in: Don't allow missing errno for some atan2
2468 * math/auto-libm-test-out: Regenerated.
2470 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2472 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
2473 Encode instruction correctly in little endian.
2474 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
2476 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
2478 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
2480 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
2483 2014-03-31 Joseph Myers <joseph@codesourcery.com>
2486 * sysdeps/unix/sysv/linux/kernel-features.h
2487 [__sparc__ && !__arch64__ && !__sparc_v9__]
2488 (__ASSUME_SET_ROBUST_LIST): Do not define.
2489 [__sparc__ && !__arch64__ && !__sparc_v9__]
2490 (__ASSUME_FUTEX_LOCK_PI): Likewise.
2491 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
2493 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2494 (__ASSUME_FUTEX_LOCK_PI): Undefine.
2495 (__ASSUME_REQUEUE_PI): Likewise.
2496 (__ASSUME_SET_ROBUST_LIST): Likewise.
2497 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2498 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
2500 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2501 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
2503 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
2505 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
2507 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2508 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
2510 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
2511 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
2515 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2516 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
2517 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
2519 2014-03-31 Will Newton <will.newton@linaro.org>
2521 * benchtests/Makefile (bench): Add ffs and ffsll to list
2523 * benchtests/ffs-inputs: New file.
2524 * benchtests/ffsll-inputs: Likewise.
2526 2014-03-29 Joseph Myers <joseph@codesourcery.com>
2529 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
2530 too large before casting to int.
2531 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
2532 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
2533 * math/libm-test.inc (scalb_test_data): Add more tests.
2535 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2537 * benchtests/Makefile (DETAILED_OPT): New make option.
2538 (bench-func): Run benchmark program with -d if DETAILED_OPT is
2540 * benchtests/bench-skeleton.c: Include stdbool.h.
2541 (main): Store and print timings per input.
2542 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
2543 member to each argument value.
2544 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
2545 (_print_arg_data): Initialize per-input timing to 0.
2547 * benchtests/Makefile (timing-type): New binary.
2548 (bench-clean): Also remove bench-timing-type.
2549 (bench): New target for timing-type.
2550 (bench-func): Print output in JSON format.
2551 * benchtests/bench-skeleton.c (main): Print output in JSON
2553 * benchtests/bench-timing-type.c: New file.
2554 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
2555 (TIMING_PRINT_STATS): Remove.
2556 * benchtests/scripts/bench.py (_print_arg_data): Store variant
2559 * benchtests/bench-modf.c: Remove.
2560 * benchtests/modf-inputs: New inputs file.
2562 2014-03-28 Joseph Myers <joseph@codesourcery.com>
2565 * math/s_clog10.c (M_PI_LOG10E): New macro.
2566 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
2567 imaginary parts are 0.
2568 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
2569 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
2570 imaginary parts are 0.
2571 * math/s_clog10l.c (M_PI_LOG10El): New macro.
2572 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
2573 imaginary parts are 0.
2574 * math/libm-test.inc (clog10_test_data): Update expected results
2575 for when real and imaginary parts are 0.
2577 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
2579 * elf/dl-load.c: Finish conversion of __builtin_expect into
2582 2014-03-27 Joseph Myers <joseph@codesourcery.com>
2585 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
2586 1+x for argument with exponent below -67.
2587 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
2589 * math/auto-libm-test-in: Add more tests of exp.
2590 * math/auto-libm-test-out: Regenerated.
2592 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2595 * inet/getnetgrent_r.c (get_nonempty_val): New function.
2596 (nscd_getnetgrent): Use it.
2599 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
2602 2014-03-27 Andi Kleen <ak@linux.intel.com>
2604 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
2605 (lll_robust_lock, lll_cond_lock, lll_timedlock)
2606 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
2607 (lll_robust_unlock): Remove out of line section. Use cfi
2609 (LLL_STUB_UNWIND_INFO*): Remove.
2610 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
2611 (lll_robust_lock, lll_cond_lock, lll_timedlock)
2612 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
2613 (lll_robust_unlock): Remove out of line section. Use cfi
2615 (LLL_STUB_UNWIND_INFO*): Remove.
2617 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2620 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
2623 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
2625 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
2627 2014-03-26 Joseph Myers <joseph@codesourcery.com>
2630 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
2632 * math/test-fenv-preserve.c: New file.
2633 * math/Makefile (tests): Add test-fenv-preserve.
2635 2014-03-26 Will Newton <will.newton@linaro.org>
2637 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
2639 2014-03-25 Roland McGrath <roland@hack.frob.com>
2641 * scripts/versionlist.awk: Partition the version sets and emit all
2642 GLIBC_* (sorted) before all others (sorted).
2644 2014-03-25 Joseph Myers <joseph@codesourcery.com>
2646 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
2647 GLIBC_2.2.5 version.
2649 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2651 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
2654 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
2657 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2659 2014-03-25 Andreas Schwab <schwab@suse.de>
2661 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
2662 label to be used after in6ailist is initialized.
2664 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2666 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2667 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
2669 2014-03-25 Joseph Myers <joseph@codesourcery.com>
2673 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
2675 (fp_formats): Update initializers.
2676 (init_fp_formats): Initialize new field.
2677 (output_for_one_input_case): Allow underflow for results up to
2679 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
2680 * math/auto-libm-test-in: Don't mark some underflows from asin and
2682 * math/auto-libm-test-out: Regenerated.
2683 * sysdeps/i386/fpu/libm-test-ulps: Update.
2684 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2686 2014-03-25 Andreas Schwab <schwab@suse.de>
2688 * libio/Makefile (tst-ftell-partial-wide-ENV)
2689 (tst-ftell-active-handler-ENV): Define.
2691 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
2693 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
2695 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
2697 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
2699 2014-03-24 Joseph Myers <joseph@codesourcery.com>
2701 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
2702 * sysdeps/x86_64/fpu/multiarch/e_exp.c
2703 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
2705 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
2708 * elf/dl-load.c (open_verify): Add mode parameter.
2709 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
2710 (open_path): Change from boolean 'secure' to complete flag 'mode'
2711 (_dl_map_object): Adjust.
2712 * elf/Makefile (tests): Add tst-dlopen-aout.
2713 * elf/tst-dlopen-aout.c: New test.
2715 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
2718 * sysdeps/unix/sysv/linux/s390/bits/stat.h
2719 (struct stat): Rename member pad0 to __glibc_reserved0.
2722 * sysdeps/s390/s390-32/bits/wordsize.h
2723 (__WORDSIZE32_SIZE_ULONG): New define.
2724 * sysdeps/s390/s390-64/bits/wordsize.h
2725 (__WORDSIZE32_SIZE_ULONG): Likewise.
2726 * sysdeps/generic/stdint.h (SIZE_MAX):
2727 Define as UL if __WORDSIZE32_SIZE_ULONG.
2730 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
2731 (__glibc_reserved0): New variable.
2732 (sa_flags): Change type to int.
2734 * posix/Makefile (before-compile): Use += before-compile instead
2737 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
2738 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
2740 2014-03-20 Andreas Schwab <schwab@suse.de>
2743 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
2744 non-matching result from nscd.
2746 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2748 * scripts/bench.py: Moved to ...
2749 * benchtests/scripts/bench.py: ... here.
2750 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
2752 2014-03-24 Andreas Schwab <schwab@suse.de>
2755 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
2756 alloca_account and account alloca use for struct in6ailist.
2758 2014-03-24 Joseph Myers <joseph@codesourcery.com>
2761 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
2762 rounding mode to recompute results that overflow to infinity or
2764 * math/auto-libm-test-in: Don't mark tests as expected to fail for
2766 * math/auto-libm-test-out: Regenerated.
2767 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
2768 (ccosh_test): Likewise.
2769 (csin_test_data): Use plus_oflow.
2770 (csin_test): Use ALL_RM_TEST.
2771 (csinh_test_data): Use plus_oflow.
2772 (csinh_test): Use ALL_RM_TEST.
2773 * sysdeps/i386/fpu/libm-test-ulps: Update.
2774 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2776 2014-03-21 Joseph Myers <joseph@codesourcery.com>
2778 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
2779 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
2780 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
2783 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
2785 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
2786 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
2787 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
2788 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
2790 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
2791 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
2793 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
2794 * sysdeps/i386/fpu/libm-test-ulps: Update.
2795 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2797 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2799 * scripts/bench.pl: Remove file.
2800 * scripts/bench.py: New benchmark script.
2801 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
2802 * benchtests/README: Mention python dependency.
2803 * scripts/pylintrc: New file.
2804 * scripts/pylint: New file.
2806 * bits/mathdef.h: Use #ifdef instead of #if.
2807 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
2808 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2809 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
2810 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2811 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
2812 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2814 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2815 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2817 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
2818 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
2819 and strpbrk-ppc64 objects.
2820 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2821 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
2822 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
2823 multiarch strpbrk for POWER7.
2824 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
2825 multiarch strpbrk for PPC64.
2826 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
2828 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
2831 2014-03-20 Joseph Myers <joseph@codesourcery.com>
2833 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
2834 (atan_test): Likewise.
2835 (atanh_test_data): Use NO_TEST_INLINE for two tests.
2836 (atanh_test): Use ALL_RM_TEST.
2837 (atan2_test_data): Likewise.
2838 (cabs_test): Likewise.
2839 (cacosh_test): Likewise.
2840 (carg_test): Likewise.
2841 (casin_test): Likewise.
2842 (casinh_test): Likewise.
2843 (cbrt_test): Likewise.
2844 (csqrt_test): Likewise.
2845 (erf_test): Likewise.
2846 (erfc_test): Likewise.
2847 (pow10_test): Likewise.
2848 (exp2_test): Likewise.
2849 (hypot_test): Likewise.
2850 (j0_test): Likewise.
2851 (j1_test): Likewise.
2852 (lgamma_test): Likewise.
2853 (gamma_test): Likewise.
2854 (sincos_test): Likewise.
2855 (tanh_test): Likewise.
2856 (y0_test): Likewise.
2857 (y1_test): Likewise.
2858 * sysdeps/i386/fpu/libm-test-ulps: Update.
2859 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2861 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2863 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
2864 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
2865 and strcspn-ppc64 objects.
2866 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2867 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
2868 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
2869 multiarch strcspn for POWER7.
2870 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
2871 multiarch strcspn for PPC64.
2872 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
2874 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
2877 2014-03-20 Joseph Myers <joseph@codesourcery.com>
2879 * math/gen-libm-test.pl (generate_testfile): Expect only function
2880 name as argument to AUTO_TESTS_* and pass results for all rounding
2881 modes to parse_args.
2882 (parse_auto_input): Separate inputs of automatic tests from
2883 outputs before storing in %auto_tests.
2884 * math/libm-test.inc (acos_test_data): Update call to
2886 (acos_test): Use ALL_RM_TEST.
2887 (acos_tonearest_test_data): Remove.
2888 (acos_test_tonearest): Likewise.
2889 (acos_towardzero_test_data): Likewise.
2890 (acos_test_towardzero): Likewise.
2891 (acos_downward_test_data): Likewise.
2892 (acos_test_downward): Likewise.
2893 (acos_upward_test_data): Likewise.
2894 (acos_test_upward): Likewise.
2895 (acosh_test_data): Update call to AUTO_TESTS_f_f.
2896 (asin_test_data): Likewise.
2897 (asin_test): Use ALL_RM_TEST.
2898 (asin_tonearest_test_data): Remove.
2899 (asin_test_tonearest): Likewise.
2900 (asin_towardzero_test_data): Likewise.
2901 (asin_test_towardzero): Likewise.
2902 (asin_downward_test_data): Likewise.
2903 (asin_test_downward): Likewise.
2904 (asin_upward_test_data): Likewise.
2905 (asin_test_upward): Likewise.
2906 (asinh_test_data): Update call to AUTO_TESTS_f_f.
2907 (atan_test_data): Likewise.
2908 (atanh_test_data): Likewise.
2909 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
2910 (cabs_test_data): Update call to AUTO_TESTS_c_f.
2911 (carg_test_data): Likewise.
2912 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
2913 (ccos_test_data): Update call to AUTO_TESTS_c_c.
2914 (ccosh_test_data): Likewise.
2915 (cexp_test_data): Likewise.
2916 (clog_test_data): Likewise.
2917 (clog10_test_data): Likewise.
2918 (cos_test_data): Update call to AUTO_TESTS_f_f.
2919 (cos_test): Use ALL_RM_TEST.
2920 (cos_tonearest_test_data): Remove.
2921 (cos_test_tonearest): Likewise.
2922 (cos_towardzero_test_data): Likewise.
2923 (cos_test_towardzero): Likewise.
2924 (cos_downward_test_data): Likewise.
2925 (cos_test_downward): Likewise.
2926 (cos_upward_test_data): Likewise.
2927 (cos_test_upward): Likewise.
2928 (cosh_test_data): Update call to AUTO_TESTS_f_f.
2929 (cosh_test): Use ALL_RM_TEST.
2930 (cosh_tonearest_test_data): Remove.
2931 (cosh_test_tonearest): Likewise.
2932 (cosh_towardzero_test_data): Likewise.
2933 (cosh_test_towardzero): Likewise.
2934 (cosh_downward_test_data): Likewise.
2935 (cosh_test_downward): Likewise.
2936 (cosh_upward_test_data): Likewise.
2937 (cosh_test_upward): Likewise.
2938 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
2939 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
2940 (ctan_test_data): Likewise.
2941 (ctan_test): Use ALL_RM_TEST.
2942 (ctan_tonearest_test_data): Remove.
2943 (ctan_test_tonearest): Likewise.
2944 (ctan_towardzero_test_data): Likewise.
2945 (ctan_test_towardzero): Likewise.
2946 (ctan_downward_test_data): Likewise.
2947 (ctan_test_downward): Likewise.
2948 (ctan_upward_test_data): Likewise.
2949 (ctan_test_upward): Likewise.
2950 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
2951 (ctanh_test): Use ALL_RM_TEST.
2952 (ctanh_tonearest_test_data): Remove.
2953 (ctanh_test_tonearest): Likewise.
2954 (ctanh_towardzero_test_data): Likewise.
2955 (ctanh_test_towardzero): Likewise.
2956 (ctanh_downward_test_data): Likewise.
2957 (ctanh_test_downward): Likewise.
2958 (ctanh_upward_test_data): Likewise.
2959 (ctanh_test_upward): Likewise.
2960 (erf_test_data): Update call to AUTO_TESTS_f_f.
2961 (erfc_test_data): Likewise.
2962 (exp_test_data): Likewise.
2963 (exp_test): Use ALL_RM_TEST.
2964 (exp_tonearest_test_data): Remove.
2965 (exp_test_tonearest): Likewise.
2966 (exp_towardzero_test_data): Likewise.
2967 (exp_test_towardzero): Likewise.
2968 (exp_downward_test_data): Likewise.
2969 (exp_test_downward): Likewise.
2970 (exp_upward_test_data): Likewise.
2971 (exp_test_upward): Likewise.
2972 (exp10_test_data): Update call to AUTO_TESTS_f_f.
2973 (exp10_test): Use ALL_RM_TEST.
2974 (exp10_tonearest_test_data): Remove.
2975 (exp10_test_tonearest): Likewise.
2976 (exp10_towardzero_test_data): Likewise.
2977 (exp10_test_towardzero): Likewise.
2978 (exp10_downward_test_data): Likewise.
2979 (exp10_test_downward): Likewise.
2980 (exp10_upward_test_data): Likewise.
2981 (exp10_test_upward): Likewise.
2982 (exp2_test_data): Update call to AUTO_TESTS_f_f.
2983 (expm1_test_data): Likewise.
2984 (expm1_test): Use ALL_RM_TEST.
2985 (expm1_tonearest_test_data): Remove.
2986 (expm1_test_tonearest): Likewise.
2987 (expm1_towardzero_test_data): Likewise.
2988 (expm1_test_towardzero): Likewise.
2989 (expm1_downward_test_data): Likewise.
2990 (expm1_test_downward): Likewise.
2991 (expm1_upward_test_data): Likewise.
2992 (expm1_test_upward): Likewise.
2993 (fma_test_data): Update call to AUTO_TESTS_fff_f.
2994 (fma_test): Use ALL_RM_TEST.
2995 (fma_towardzero_test_data): Remove.
2996 (fma_test_towardzero): Likewise.
2997 (fma_downward_test_data): Likewise.
2998 (fma_test_downward): Likewise.
2999 (fma_upward_test_data): Likewise.
3000 (fma_test_upward): Likewise.
3001 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
3002 (j0_test_data): Update call to AUTO_TESTS_f_f.
3003 (j1_test_data): Likewise.
3004 (jn_test_data): Update call to AUTO_TESTS_if_f.
3005 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
3006 (log_test_data): Update call to AUTO_TESTS_f_f.
3007 (log10_test_data): Likewise.
3008 (log1p_test_data): Likewise.
3009 (log2_test_data): Likewise.
3010 (pow_test_data): Update call to AUTO_TESTS_ff_f.
3011 (pow_tonearest_test_data): Likewise.
3012 (sin_test_data): Update call to AUTO_TESTS_f_f.
3013 (sin_test): Use ALL_RM_TEST.
3014 (sin_tonearest_test_data): Remove.
3015 (sin_test_tonearest): Likewise.
3016 (sin_towardzero_test_data): Likewise.
3017 (sin_test_towardzero): Likewise.
3018 (sin_downward_test_data): Likewise.
3019 (sin_test_downward): Likewise.
3020 (sin_upward_test_data): Likewise.
3021 (sin_test_upward): Likewise.
3022 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
3023 (sinh_test_data): Update call to AUTO_TESTS_f_f.
3024 (sinh_test): Use ALL_RM_TEST.
3025 (sinh_tonearest_test_data): Remove.
3026 (sinh_test_tonearest): Likewise.
3027 (sinh_towardzero_test_data): Likewise.
3028 (sinh_test_towardzero): Likewise.
3029 (sinh_downward_test_data): Likewise.
3030 (sinh_test_downward): Likewise.
3031 (sinh_upward_test_data): Likewise.
3032 (sinh_test_upward): Likewise.
3033 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
3034 (sqrt_test): Use ALL_RM_TEST.
3035 (sqrt_tonearest_test_data): Remove.
3036 (sqrt_test_tonearest): Likewise.
3037 (sqrt_towardzero_test_data): Likewise.
3038 (sqrt_test_towardzero): Likewise.
3039 (sqrt_downward_test_data): Likewise.
3040 (sqrt_test_downward): Likewise.
3041 (sqrt_upward_test_data): Likewise.
3042 (sqrt_test_upward): Likewise.
3043 (tan_test_data): Update call to AUTO_TESTS_f_f.
3044 (tan_test): Use ALL_RM_TEST.
3045 (tan_tonearest_test_data): Remove.
3046 (tan_test_tonearest): Likewise.
3047 (tan_towardzero_test_data): Likewise.
3048 (tan_test_towardzero): Likewise.
3049 (tan_downward_test_data): Likewise.
3050 (tan_test_downward): Likewise.
3051 (tan_upward_test_data): Likewise.
3052 (tan_test_upward): Likewise.
3053 (tanh_test_data): Update call to AUTO_TESTS_f_f.
3054 (tgamma_test_data): Likewise.
3055 (y0_test_data): Likewise.
3056 (y1_test_data): Likewise.
3057 (yn_test_data): Update call to AUTO_TESTS_if_f.
3058 (main): Do not call removed functions.
3060 2014-03-19 Joseph Myers <joseph@codesourcery.com>
3062 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
3063 (ldexp_test_data): Remove.
3064 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
3066 (scalb_test): Use ALL_RM_TEST.
3068 2014-03-19 Andreas Schwab <schwab@suse.de>
3070 * nscd/nscd.service: Also invalidate netgroup cache on reload.
3072 2014-03-19 Joseph Myers <joseph@codesourcery.com>
3075 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3076 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
3077 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
3078 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3079 (__ASSUME_PREADV): Undefine.
3080 (__ASSUME_PWRITEV): Likewise.
3082 2014-03-18 Roland McGrath <roland@hack.frob.com>
3084 * bits/mman-linux.h: Add comment about non-Linux use.
3085 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
3086 bits/mman-linux.h resting place.
3088 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
3089 * bits/mman-linux.h: ... here.
3091 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3093 * conform/conformtest.pl: Add standard definition when calling C
3094 preprocessor on data files.
3095 (checknamespace): Remove unused variable.
3097 2014-03-18 Joseph Myers <joseph@codesourcery.com>
3099 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
3100 minus_oflow, plus_uflow and minus_uflow in expected results.
3101 * math/libm-test.inc (scalbn_test_data): Add more tests of
3102 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
3104 (scalbn_test): Use ALL_RM_TEST.
3105 (scalbln_test_data): Add more tests of negative arguments. Use
3106 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
3107 (scalbln_test): Use ALL_RM_TEST.
3109 2014-03-18 Roland McGrath <roland@hack.frob.com>
3111 * scripts/abilist.awk: Ignore symbols marked with .hidden.
3113 2014-03-18 Will Newton <will.newton@linaro.org>
3115 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
3118 2014-03-18 Joseph Myers <joseph@codesourcery.com>
3120 * Makerules [!subdir] (check-abi): Exit with error status if a
3123 2014-03-17 Joseph Myers <joseph@codesourcery.com>
3125 * math/libm-test.inc (nearbyint_test_data): Include all tests used
3126 for rint. Include results for all rounding modes.
3127 (nearbyint_test): Use ALL_RM_TEST.
3128 (rint_test_data): Include all tests used for nearbyint.
3130 2014-03-17 Will Newton <will.newton@linaro.org>
3132 * nptl/sysdeps/pthread/pthread.h: Revert previous
3135 * sysdeps/generic/ldsodefs.h: Revert previous
3138 * libio/genops.c: Revert previous change.
3139 * libio/libioP.h: Likewise.
3140 * stdio-common/vfprintf.c: Likewise.
3142 * sysdeps/generic/math_private.h: Revert previous
3145 * sysdeps/generic/math_private.h: Check whether
3146 HAVE_RM_CTX is defined with #ifdef rather
3149 * argp/argp-fmtstream.h: Check whether
3150 __STRICT_ANSI__ is defined with #ifdef rather
3152 * argp/argp.h: Likewise.
3154 * libio/genops.c: Check whether
3155 _IO_JUMPS_OFFSET is defined with #ifdef rather
3157 * libio/libioP.h: Likewise.
3158 * stdio-common/vfprintf.c: Likewise.
3160 * sysdeps/generic/ldsodefs.h: Check whether
3161 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
3164 * nptl/sysdeps/pthread/pthread.h: Check
3165 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
3168 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3170 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
3172 * libio/tst-ftell-active-handler.c (do_append_test): Add a
3176 * libio/fileops.c (_IO_file_open): Seek to end of file but
3177 don't cache the offset.
3178 (get_file_offset): Remove function.
3179 (do_ftell): Use cached offset when available.
3180 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
3181 don't cache the offset.
3182 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
3184 (do_one_test): Call it.
3185 (do_ftell_test): Fix up expected old offset for a+ mode.
3186 * libio/wfileops.c (do_ftell_wide): Used cached offset when
3189 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
3190 up test status with function return status.
3191 (do_write_test): Likewise.
3192 (do_append_test): Likewise.
3194 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
3195 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
3198 2014-03-17 Joseph Myers <joseph@codesourcery.com>
3200 * math/gen-libm-test.pl (parse_args): Handle results specified for
3201 each rounding mode separately.
3202 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
3203 tests and results from lrint_tonearest_test_data,
3204 lrint_towardzero_test_data, lrint_downward_test_data and
3205 lrint_upward_test_data.
3206 (lrint_test): Use ALL_RM_TEST.
3207 (lrint_tonearest_test_data): Remove.
3208 (lrint_test_tonearest): Likewise.
3209 (lrint_towardzero_test_data): Likewise.
3210 (lrint_test_towardzero): Likewise.
3211 (lrint_downward_test_data): Likewise.
3212 (lrint_test_downward): Likewise.
3213 (lrint_upward_test_data): Likewise.
3214 (lrint_test_upward): Likewise.
3215 (llrint_test_data): Merge in per-rounding-mode tests and results
3216 from llrint_tonearest_test_data, llrint_towardzero_test_data,
3217 llrint_downward_test_data and llrint_upward_test_data.
3218 (llrint_test): Use ALL_RM_TEST.
3219 (llrint_tonearest_test_data): Remove.
3220 (llrint_test_tonearest): Likewise.
3221 (llrint_towardzero_test_data): Likewise.
3222 (llrint_test_towardzero): Likewise.
3223 (llrint_downward_test_data): Likewise.
3224 (llrint_test_downward): Likewise.
3225 (llrint_upward_test_data): Likewise.
3226 (llrint_test_upward): Likewise.
3227 (rint_test_data): Merge in per-rounding-mode tests and results
3228 from rint_tonearest_test_data, rint_towardzero_test_data,
3229 rint_downward_test_data and rint_upward_test_data. Add
3230 per-rounding-mode results for tests not in those arrays.
3231 (rint_test): Use ALL_RM_TEST.
3232 (rint_tonearest_test_data): Remove.
3233 (rint_test_tonearest): Likewise.
3234 (rint_towardzero_test_data): Likewise.
3235 (rint_test_towardzero): Likewise.
3236 (rint_downward_test_data): Likewise.
3237 (rint_test_downward): Likewise.
3238 (rint_upward_test_data): Likewise.
3239 (rint_test_upward): Likewise.
3240 (main): Don't call removed functions.
3242 2014-03-14 Roland McGrath <roland@hack.frob.com>
3244 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
3245 "Compiled on ..." crapola. It is anti-useful.
3247 2014-03-14 Joseph Myers <joseph@codesourcery.com>
3249 * scripts/evaluate-test.sh: Handle fourth argument to determine
3250 whether test run should stop on failure.
3251 * Makeconfig (stop-on-test-failure): New variable.
3252 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
3253 $(stop-on-test-failure).
3254 * Makefile (tests): Give a summary of results from testing and
3255 exit with failure status if they include an ERROR or FAIL.
3257 * manual/install.texi (Configuring and compiling): Mention
3258 stop-on-test-failure=y.
3259 * INSTALL: Regenerated.
3261 2014-03-14 Roland McGrath <roland@hack.frob.com>
3263 * scripts/versionlist.awk: New file.
3264 * Makerules [$(build-shared) = yes]
3265 (postclean-generated): Add Versions.def, not Versions.def.v and
3267 ($(common-objpfx)Versions.def.v.i): Target removed.
3268 ($(common-objpfx)Versions.def): New target.
3269 ($(common-objpfx)Versions.all): Depend on that rather that
3270 $(common-objpfx)Versions.def.v.
3271 * Versions.def: File removed.
3273 * Makeconfig (+gccwarn): Add -Wundef.
3274 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
3275 a dl-sysdep.h breaking its contract.
3276 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
3277 * include/stackinfo.h: New file.
3278 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
3279 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
3280 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
3281 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
3282 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
3283 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
3284 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3285 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3286 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3287 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3288 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3289 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
3290 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3291 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3292 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3294 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3297 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
3299 * math/libm-test.inc (round_test_data): Add more tests.
3302 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
3304 * math/libm-test.inc (nearbyint_test_data): Add more tests.
3307 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
3309 * math/libm-test.inc (ceil_test_data): Add more tests.
3311 * math/libm-test.inc (trunc_test_data): Add more tests related to
3314 2014-03-14 Roland McGrath <roland@hack.frob.com>
3316 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
3317 with #if rather than #ifdef.
3318 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
3320 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
3322 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
3323 first. Disable AVX-512 GCC support if assembler doesn't support
3325 * sysdeps/x86_64/configure: Regenerated.
3327 2014-03-13 Carlos O'Donell <carlos@redhat.com>
3329 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
3330 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
3331 (__old_pthread_attr_setstack): Likewise.
3332 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
3333 [!_STACK_GROWS_DOWN]: Likewise.
3335 2014-03-13 Mike Frysinger <vapier@gentoo.org>
3337 * config.make.in (have-bash2): Delete.
3338 * configure.ac (libc_cv_have_bash2): Delete.
3339 * configure: Regenerate.
3340 * elf/Makefile (common-ldd-rewrite): Rename to ...
3341 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
3342 (sh-ldd-rewrite): Delete.
3343 (bash-ldd-rewrite): Delete.
3344 (have-bash2): Delete checks.
3345 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
3348 * config.make.in (have-ksh): Delete.
3350 * configure.ac (libc_cv_have_ksh): Delete.
3351 * configure: Regenerate.
3353 * elf/Makefile: Delete $(have-ksh) check.
3354 ($(objpfx)sotruss): Change KSH to BASH.
3355 * elf/sotruss.ksh: Rename to ...
3356 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
3357 function style to match POSIX. Drop ksh vim mode setting.
3359 * manual/time.texi (Specifying the Time Zone with TZ): Change
3360 Tuesday to Thursday.
3362 * debug/tst-longjmp_chk2.c: Update header comment.
3363 (stackoverflow_handler): Add comment. Call assert on pass value.
3365 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
3367 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
3368 (HAVE_AVX512_ASM_SUPPORT): Likewise.
3369 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
3370 (La_x86_64_vector): Add zmm.
3371 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
3372 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
3373 ($(objpfx)tst-audit10): New target.
3374 ($(objpfx)tst-audit10.out): Likewise.
3375 (tst-audit10-ENV): New.
3376 (AVX512-CFLAGS): Likewise.
3377 (CFLAGS-tst-audit10.c): Likewise.
3378 (CFLAGS-tst-auditmod10a.c): Likewise.
3379 (CFLAGS-tst-auditmod10b.c): Likewise.
3380 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
3381 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
3382 * sysdeps/x86_64/configure: Regenerated.
3383 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
3384 AVX-512 zmm register support.
3385 (_dl_x86_64_save_sse): Likewise.
3386 (_dl_x86_64_restore_sse): Likewise.
3387 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
3388 size vector registers.
3389 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
3390 (ZMM_SIZE): Likewise.
3391 * sysdeps/x86_64/tst-audit10.c: New file.
3392 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
3393 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
3395 2014-03-13 Roland McGrath <roland@hack.frob.com>
3397 * configure.ac (HAVE_EHDR_START): New check.
3398 * configure: Regenerated.
3399 * config.h.in (HAVE_EHDR_START): New #undef.
3400 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
3401 assuming the lowest-addressed segment maps the start of the file.
3403 2014-03-13 Joseph Myers <joseph@codesourcery.com>
3405 * INSTALL: Regenerated.
3407 2014-03-13 Will Newton <will.newton@linaro.org>
3409 * manual/setjmp.texi (System V contexts): Improve
3410 clarity and grammar of documentation.
3412 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
3415 * elf/Makefile (tests): Add tst-pie2.
3416 (tests-pie): Add tst-pie2.
3417 * elf/tst-pie2.c: New file.
3418 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
3420 * elf/rtld.c (map_doit): Load executable as lt_executable.
3421 (dl_main): Likewise.
3423 2014-03-12 Joseph Myers <joseph@codesourcery.com>
3426 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3427 (__ASSUME_PSELECT): Undefine.
3429 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3432 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
3433 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
3435 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
3436 selector for static builds.
3438 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3441 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
3444 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3446 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
3447 IFUNC selector for static builds.
3449 2014-03-11 Joseph Myers <joseph@codesourcery.com>
3451 * sysdeps/mips/math_private.h [__mips_hard_float]
3452 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
3453 libc_feresetround_mips_ctx.
3454 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
3455 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
3456 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
3459 * math/s_nextafter.c (__nextafter): Do not return value from
3460 overflowing computation.
3461 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
3462 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
3463 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
3465 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
3467 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
3468 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
3470 2014-03-11 Roland McGrath <roland@hack.frob.com>
3472 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
3473 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
3474 Move sfi_sp use from the load-multiple (that no longer sets sp) to
3475 the new mov targetting sp.
3477 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3480 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
3481 Define it for static builds as well.
3482 (NO_BZERO_IMPL): Likewise.
3484 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3486 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
3487 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
3488 multiarch strspn for PPC64.
3489 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
3490 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
3491 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3492 (__libc_ifunc_impl_list): Likewise.
3493 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
3494 multiarch optimizations
3495 * string/strspn.c (strspn): Using macro to redefine symbol name.
3497 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3498 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3500 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
3501 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
3502 multiarch strncat for PPC64.
3503 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
3504 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
3505 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3506 (__libc_ifunc_impl_list): Likewise.
3507 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
3508 multiarch optimizations
3510 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3513 * nscd/nscd.service: Make service type forking.
3515 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3517 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
3518 sign in non default rounding modes.
3519 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
3521 2014-03-08 Joseph Myers <joseph@codesourcery.com>
3523 * math/libm-test.inc (ALL_RM_TEST): New macro.
3524 (ceil_test): Use ALL_RM_TEST.
3525 (cimag_test): Likewise.
3526 (conj_test): Likewise.
3527 (copysign_test): Likewise.
3528 (cproj_test): Likewise.
3529 (creal_test): Likewise.
3530 (fabs_test): Likewise.
3531 (floor_test): Likewise.
3532 (fmax_test): Likewise.
3533 (fmin_test): Likewise.
3534 (fmod_test): Likewise.
3535 (fpclassify_test): Likewise.
3536 (frexp_test): Likewise.
3537 (ilogb_test): Likewise.
3538 (isfinite_test): Likewise.
3539 (finite_test): Likewise.
3540 (isgreater_test): Likewise.
3541 (isgreaterequal_test): Likewise.
3542 (isinf_test): Likewise.
3543 (isless_test): Likewise.
3544 (islessequal_test): Likewise.
3545 (islessgreater_test): Likewise.
3546 (isnan_test): Likewise.
3547 (isnormal_test): Likewise.
3548 (issignaling_test): Likewise.
3549 (isunordered_test): Likewise.
3550 (logb_test): Likewise.
3551 (logb_downward_test_data): Remove.
3552 (logb_test_downward): Likewise.
3553 (lround_test): Use ALL_RM_TEST.
3554 (llround_test): Likewise.
3555 (modf_test): Likewise.
3556 (nexttoward_test): Likewise.
3557 (remainder_test): Likewise.
3558 (drem_test): Likewise.
3559 (remainder_tonearest_test_data): Likewise.
3560 (remainder_test_tonearest): Likewise.
3561 (drem_test_tonearest): Likewise.
3562 (remainder_towardzero_test_data): Likewise.
3563 (remainder_test_towardzero): Likewise.
3564 (drem_test_towardzero): Likewise.
3565 (remainder_downward_test_data): Likewise.
3566 (remainder_test_downward): Likewise.
3567 (drem_test_downward): Likewise.
3568 (remainder_upward_test_data): Likewise.
3569 (remainder_test_upward): Likewise.
3570 (drem_test_upward): Likewise.
3571 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
3572 (round_test): Use ALL_RM_TEST.
3573 (signbit_test): Likewise.
3574 (trunc_test): Likewise.
3575 (significand_test): Likewise.
3576 (main): Don't call removed functions.
3578 2014-03-07 Joseph Myers <joseph@codesourcery.com>
3581 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
3583 (ILL_ILLOPN): Likewise.
3584 (ILL_ILLADR): Likewise.
3585 (ILL_ILLTRP): Likewise.
3586 (ILL_PRVOPC): Likewise.
3587 (ILL_PRVREG): Likewise.
3588 (ILL_COPROC): Likewise.
3589 (ILL_BADSTK): Likewise.
3590 (FPE_INTDIV): Likewise.
3591 (FPE_INTOVF): Likewise.
3592 (FPE_FLTDIV): Likewise.
3593 (FPE_FLTOVF): Likewise.
3594 (FPE_FLTUND): Likewise.
3595 (FPE_FLTRES): Likewise.
3596 (FPE_FLTINV): Likewise.
3597 (FPE_FLTSUB): Likewise.
3598 (SEGV_MAPERR): Likewise.
3599 (SEGV_ACCERR): Likewise.
3600 (BUS_ADRALN): Likewise.
3601 (BUS_ADRERR): Likewise.
3602 (BUS_OBJERR): Likewise.
3603 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3604 (TRAP_TRACE): Likewise.
3605 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3607 (CLD_KILLED): Likewise.
3608 (CLD_DUMPED): Likewise.
3609 (CLD_TRAPPED): Likewise.
3610 (CLD_STOPPED): Likewise.
3611 (CLD_CONTINUED): Likewise.
3612 (POLL_IN): Likewise.
3613 (POLL_OUT): Likewise.
3614 (POLL_MSG): Likewise.
3615 (POLL_ERR): Likewise.
3616 (POLL_PRI): Likewise.
3617 (POLL_HUP): Likewise.
3618 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
3620 (ILL_ILLOPN): Likewise.
3621 (ILL_ILLADR): Likewise.
3622 (ILL_ILLTRP): Likewise.
3623 (ILL_PRVOPC): Likewise.
3624 (ILL_PRVREG): Likewise.
3625 (ILL_COPROC): Likewise.
3626 (ILL_BADSTK): Likewise.
3627 (FPE_INTDIV): Likewise.
3628 (FPE_INTOVF): Likewise.
3629 (FPE_FLTDIV): Likewise.
3630 (FPE_FLTOVF): Likewise.
3631 (FPE_FLTUND): Likewise.
3632 (FPE_FLTRES): Likewise.
3633 (FPE_FLTINV): Likewise.
3634 (FPE_FLTSUB): Likewise.
3635 (SEGV_MAPERR): Likewise.
3636 (SEGV_ACCERR): Likewise.
3637 (BUS_ADRALN): Likewise.
3638 (BUS_ADRERR): Likewise.
3639 (BUS_OBJERR): Likewise.
3640 (BUS_MCEERR_AR): Likewise.
3641 (BUS_MCEERR_AO): Likewise.
3642 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3643 (TRAP_TRACE): Likewise.
3644 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3646 (CLD_KILLED): Likewise.
3647 (CLD_DUMPED): Likewise.
3648 (CLD_TRAPPED): Likewise.
3649 (CLD_STOPPED): Likewise.
3650 (CLD_CONTINUED): Likewise.
3651 (POLL_IN): Likewise.
3652 (POLL_OUT): Likewise.
3653 (POLL_MSG): Likewise.
3654 (POLL_ERR): Likewise.
3655 (POLL_PRI): Likewise.
3656 (POLL_HUP): Likewise.
3657 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
3658 (ILL_ILLOPN): Likewise.
3659 (ILL_ILLADR): Likewise.
3660 (ILL_ILLTRP): Likewise.
3661 (ILL_PRVOPC): Likewise.
3662 (ILL_PRVREG): Likewise.
3663 (ILL_COPROC): Likewise.
3664 (ILL_BADSTK): Likewise.
3665 (FPE_INTDIV): Likewise.
3666 (FPE_INTOVF): Likewise.
3667 (FPE_FLTDIV): Likewise.
3668 (FPE_FLTOVF): Likewise.
3669 (FPE_FLTUND): Likewise.
3670 (FPE_FLTRES): Likewise.
3671 (FPE_FLTINV): Likewise.
3672 (FPE_FLTSUB): Likewise.
3673 (SEGV_MAPERR): Likewise.
3674 (SEGV_ACCERR): Likewise.
3675 (BUS_ADRALN): Likewise.
3676 (BUS_ADRERR): Likewise.
3677 (BUS_OBJERR): Likewise.
3678 (BUS_MCEERR_AR): Likewise.
3679 (BUS_MCEERR_AO): Likewise.
3680 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3681 (TRAP_TRACE): Likewise.
3682 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3684 (CLD_KILLED): Likewise.
3685 (CLD_DUMPED): Likewise.
3686 (CLD_TRAPPED): Likewise.
3687 (CLD_STOPPED): Likewise.
3688 (CLD_CONTINUED): Likewise.
3689 (POLL_IN): Likewise.
3690 (POLL_OUT): Likewise.
3691 (POLL_MSG): Likewise.
3692 (POLL_ERR): Likewise.
3693 (POLL_PRI): Likewise.
3694 (POLL_HUP): Likewise.
3695 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
3697 (ILL_ILLOPN): Likewise.
3698 (ILL_ILLADR): Likewise.
3699 (ILL_ILLTRP): Likewise.
3700 (ILL_PRVOPC): Likewise.
3701 (ILL_PRVREG): Likewise.
3702 (ILL_COPROC): Likewise.
3703 (ILL_BADSTK): Likewise.
3704 (ILL_BADIADDR): Likewise.
3705 (ILL_BREAK): Likewise.
3706 (FPE_INTDIV): Likewise.
3707 (FPE_INTOVF): Likewise.
3708 (FPE_FLTDIV): Likewise.
3709 (FPE_FLTOVF): Likewise.
3710 (FPE_FLTUND): Likewise.
3711 (FPE_FLTRES): Likewise.
3712 (FPE_FLTINV): Likewise.
3713 (FPE_FLTSUB): Likewise.
3714 (FPE_DECOVF): Likewise.
3715 (FPE_DECDIV): Likewise.
3716 (FPE_DECERR): Likewise.
3717 (FPE_INVASC): Likewise.
3718 (FPE_INVDEC): Likewise.
3719 (SEGV_MAPERR): Likewise.
3720 (SEGV_ACCERR): Likewise.
3721 (SEGV_PSTKOVF): Likewise.
3722 (BUS_ADRALN): Likewise.
3723 (BUS_ADRERR): Likewise.
3724 (BUS_OBJERR): Likewise.
3725 (BUS_MCEERR_AR): Likewise.
3726 (BUS_MCEERR_AO): Likewise.
3727 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3728 (TRAP_TRACE): Likewise.
3729 (TRAP_BRANCH): Likewise.
3730 (TRAP_HWBKPT): Likewise.
3731 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3733 (CLD_KILLED): Likewise.
3734 (CLD_DUMPED): Likewise.
3735 (CLD_TRAPPED): Likewise.
3736 (CLD_STOPPED): Likewise.
3737 (CLD_CONTINUED): Likewise.
3738 (POLL_IN): Likewise.
3739 (POLL_OUT): Likewise.
3740 (POLL_MSG): Likewise.
3741 (POLL_ERR): Likewise.
3742 (POLL_PRI): Likewise.
3743 (POLL_HUP): Likewise.
3744 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
3745 (ILL_ILLOPN): Likewise.
3746 (ILL_ILLADR): Likewise.
3747 (ILL_ILLTRP): Likewise.
3748 (ILL_PRVOPC): Likewise.
3749 (ILL_PRVREG): Likewise.
3750 (ILL_COPROC): Likewise.
3751 (ILL_BADSTK): Likewise.
3752 (FPE_INTDIV): Likewise.
3753 (FPE_INTOVF): Likewise.
3754 (FPE_FLTDIV): Likewise.
3755 (FPE_FLTOVF): Likewise.
3756 (FPE_FLTUND): Likewise.
3757 (FPE_FLTRES): Likewise.
3758 (FPE_FLTINV): Likewise.
3759 (FPE_FLTSUB): Likewise.
3760 (SEGV_MAPERR): Likewise.
3761 (SEGV_ACCERR): Likewise.
3762 (BUS_ADRALN): Likewise.
3763 (BUS_ADRERR): Likewise.
3764 (BUS_OBJERR): Likewise.
3765 (BUS_MCEERR_AR): Likewise.
3766 (BUS_MCEERR_AO): Likewise.
3767 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3768 (TRAP_TRACE): Likewise.
3769 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3771 (CLD_KILLED): Likewise.
3772 (CLD_DUMPED): Likewise.
3773 (CLD_TRAPPED): Likewise.
3774 (CLD_STOPPED): Likewise.
3775 (CLD_CONTINUED): Likewise.
3776 (POLL_IN): Likewise.
3777 (POLL_OUT): Likewise.
3778 (POLL_MSG): Likewise.
3779 (POLL_ERR): Likewise.
3780 (POLL_PRI): Likewise.
3781 (POLL_HUP): Likewise.
3782 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
3783 (ILL_ILLOPN): Likewise.
3784 (ILL_ILLADR): Likewise.
3785 (ILL_ILLTRP): Likewise.
3786 (ILL_PRVOPC): Likewise.
3787 (ILL_PRVREG): Likewise.
3788 (ILL_COPROC): Likewise.
3789 (ILL_BADSTK): Likewise.
3790 (FPE_INTDIV): Likewise.
3791 (FPE_INTOVF): Likewise.
3792 (FPE_FLTDIV): Likewise.
3793 (FPE_FLTOVF): Likewise.
3794 (FPE_FLTUND): Likewise.
3795 (FPE_FLTRES): Likewise.
3796 (FPE_FLTINV): Likewise.
3797 (FPE_FLTSUB): Likewise.
3798 (SEGV_MAPERR): Likewise.
3799 (SEGV_ACCERR): Likewise.
3800 (BUS_ADRALN): Likewise.
3801 (BUS_ADRERR): Likewise.
3802 (BUS_OBJERR): Likewise.
3803 (BUS_MCEERR_AR): Likewise.
3804 (BUS_MCEERR_AO): Likewise.
3805 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3806 (TRAP_TRACE): Likewise.
3807 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3809 (CLD_KILLED): Likewise.
3810 (CLD_DUMPED): Likewise.
3811 (CLD_TRAPPED): Likewise.
3812 (CLD_STOPPED): Likewise.
3813 (CLD_CONTINUED): Likewise.
3814 (POLL_IN): Likewise.
3815 (POLL_OUT): Likewise.
3816 (POLL_MSG): Likewise.
3817 (POLL_ERR): Likewise.
3818 (POLL_PRI): Likewise.
3819 (POLL_HUP): Likewise.
3820 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
3821 (ILL_ILLOPN): Likewise.
3822 (ILL_ILLADR): Likewise.
3823 (ILL_ILLTRP): Likewise.
3824 (ILL_PRVOPC): Likewise.
3825 (ILL_PRVREG): Likewise.
3826 (ILL_COPROC): Likewise.
3827 (ILL_BADSTK): Likewise.
3828 (FPE_INTDIV): Likewise.
3829 (FPE_INTOVF): Likewise.
3830 (FPE_FLTDIV): Likewise.
3831 (FPE_FLTOVF): Likewise.
3832 (FPE_FLTUND): Likewise.
3833 (FPE_FLTRES): Likewise.
3834 (FPE_FLTINV): Likewise.
3835 (FPE_FLTSUB): Likewise.
3836 (SEGV_MAPERR): Likewise.
3837 (SEGV_ACCERR): Likewise.
3838 (BUS_ADRALN): Likewise.
3839 (BUS_ADRERR): Likewise.
3840 (BUS_OBJERR): Likewise.
3841 (BUS_MCEERR_AR): Likewise.
3842 (BUS_MCEERR_AO): Likewise.
3843 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3844 (TRAP_TRACE): Likewise.
3845 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3847 (CLD_KILLED): Likewise.
3848 (CLD_DUMPED): Likewise.
3849 (CLD_TRAPPED): Likewise.
3850 (CLD_STOPPED): Likewise.
3851 (CLD_CONTINUED): Likewise.
3852 (POLL_IN): Likewise.
3853 (POLL_OUT): Likewise.
3854 (POLL_MSG): Likewise.
3855 (POLL_ERR): Likewise.
3856 (POLL_PRI): Likewise.
3857 (POLL_HUP): Likewise.
3858 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
3859 (ILL_ILLOPN): Likewise.
3860 (ILL_ILLADR): Likewise.
3861 (ILL_ILLTRP): Likewise.
3862 (ILL_PRVOPC): Likewise.
3863 (ILL_PRVREG): Likewise.
3864 (ILL_COPROC): Likewise.
3865 (ILL_BADSTK): Likewise.
3866 (ILL_DBLFLT): Likewise.
3867 (ILL_HARDWALL): Likewise.
3868 (FPE_INTDIV): Likewise.
3869 (FPE_INTOVF): Likewise.
3870 (FPE_FLTDIV): Likewise.
3871 (FPE_FLTOVF): Likewise.
3872 (FPE_FLTUND): Likewise.
3873 (FPE_FLTRES): Likewise.
3874 (FPE_FLTINV): Likewise.
3875 (FPE_FLTSUB): Likewise.
3876 (SEGV_MAPERR): Likewise.
3877 (SEGV_ACCERR): Likewise.
3878 (BUS_ADRALN): Likewise.
3879 (BUS_ADRERR): Likewise.
3880 (BUS_OBJERR): Likewise.
3881 (BUS_MCEERR_AR): Likewise.
3882 (BUS_MCEERR_AO): Likewise.
3883 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3884 (TRAP_TRACE): Likewise.
3885 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3887 (CLD_KILLED): Likewise.
3888 (CLD_DUMPED): Likewise.
3889 (CLD_TRAPPED): Likewise.
3890 (CLD_STOPPED): Likewise.
3891 (CLD_CONTINUED): Likewise.
3892 (POLL_IN): Likewise.
3893 (POLL_OUT): Likewise.
3894 (POLL_MSG): Likewise.
3895 (POLL_ERR): Likewise.
3896 (POLL_PRI): Likewise.
3897 (POLL_HUP): Likewise.
3898 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
3899 (ILL_ILLOPN): Likewise.
3900 (ILL_ILLADR): Likewise.
3901 (ILL_ILLTRP): Likewise.
3902 (ILL_PRVOPC): Likewise.
3903 (ILL_PRVREG): Likewise.
3904 (ILL_COPROC): Likewise.
3905 (ILL_BADSTK): Likewise.
3906 (FPE_INTDIV): Likewise.
3907 (FPE_INTOVF): Likewise.
3908 (FPE_FLTDIV): Likewise.
3909 (FPE_FLTOVF): Likewise.
3910 (FPE_FLTUND): Likewise.
3911 (FPE_FLTRES): Likewise.
3912 (FPE_FLTINV): Likewise.
3913 (FPE_FLTSUB): Likewise.
3914 (SEGV_MAPERR): Likewise.
3915 (SEGV_ACCERR): Likewise.
3916 (BUS_ADRALN): Likewise.
3917 (BUS_ADRERR): Likewise.
3918 (BUS_OBJERR): Likewise.
3919 (BUS_MCEERR_AR): Likewise.
3920 (BUS_MCEERR_AO): Likewise.
3921 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3922 (TRAP_TRACE): Likewise.
3923 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3925 (CLD_KILLED): Likewise.
3926 (CLD_DUMPED): Likewise.
3927 (CLD_TRAPPED): Likewise.
3928 (CLD_STOPPED): Likewise.
3929 (CLD_CONTINUED): Likewise.
3930 (POLL_IN): Likewise.
3931 (POLL_OUT): Likewise.
3932 (POLL_MSG): Likewise.
3933 (POLL_ERR): Likewise.
3934 (POLL_PRI): Likewise.
3935 (POLL_HUP): Likewise.
3936 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
3937 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
3940 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
3941 before #include of <time.h>.
3942 [!__USE_XOPEN2K] (__need_timespec): Likewise.
3943 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
3944 (test-xfail-UNIX98/sched.h/conform): Likewise.
3946 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
3948 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
3949 error absence of trapping exception support.
3950 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
3952 2014-03-07 Joseph Myers <joseph@codesourcery.com>
3954 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
3955 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
3956 * timezone/Makefile (testdata): Move definition above include of
3958 (test-zones): New variable.
3959 (tests-special): Add zone files.
3960 (build-testdata): Use $(evaluate-test).
3962 * elf/Makefile (tests-special): Rename tests to end with .out.
3963 ($(objpfx)noload-mem): Likewise.
3964 ($(objpfx)tst-leaks1-mem): Likewise.
3965 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
3966 * iconv/Makefile (xtests-special): Change test-iconvconfig to
3967 $(objpfx)test-iconvconfig.out.
3968 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
3969 set -e inside subshell and redirect output to file.
3970 * iconvdata/Makefile (generated): Rename tests to end with .out.
3972 (tests-special): Rename tests to end with .out.
3973 ($(objpfx)mtrace-tst-loading): Likewise.
3974 * intl/Makefile (generated): Likewise.
3975 (tests-special): Likewise.
3976 ($(objpfx)mtrace-tst-gettext): Likewise.
3977 * misc/Makefile (generated): Likewise.
3978 (tests-special): Likewise.
3979 ($(objpfx)tst-error1-mem): Likewise.
3980 * nptl/Makefile (tests-special): Likewise.
3981 ($(objpfx)tst-stack3-mem): Likewise.
3982 (generated): Likewise.
3983 * posix/Makefile (generated): Likewise.
3984 (tests-special): Likewise.
3985 (xtests-special): Likewise.
3986 ($(objpfx)tst-fnmatch-mem): Likewise.
3987 ($(objpfx)bug-regex2-mem): Likewise.
3988 ($(objpfx)bug-regex14-mem): Likewise.
3989 ($(objpfx)bug-regex21-mem): Likewise.
3990 ($(objpfx)bug-regex31-mem): Likewise.
3991 ($(objpfx)tst-vfork3-mem): Likewise.
3992 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
3993 ($(objpfx)tst-pcre-mem): Likewise.
3994 ($(objpfx)tst-boost-mem): Likewise.
3995 ($(objpfx)bug-ga2-mem): Likewise.
3996 ($(objpfx)bug-glob2-mem): Likewise.
3997 * resolv/Makefile (generate): Likewise.
3998 (tests-special): Likewise.
3999 (xtests-special): Likewise.
4000 (generated): Likewise.
4001 ($(objpfx)mtrace-tst-leaks): Likewise.
4002 ($(objpfx)mtrace-tst-leaks2): Likewise.
4004 * scripts/merge-test-results.sh: New file.
4005 * Makefile (tests-special-notdir): New variable.
4006 (tests): Run merge-test-results.sh.
4008 * Rules (tests-special-notdir): New variable.
4009 (xtests-special-notdir): Likewise.
4010 (tests): Run merge-test-results.sh
4013 * Makeconfig (test-xfail-name): New variable.
4014 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
4015 compute variable name for expected failures.
4016 * conform/Makefile (conformtest-headers-data): New variable.
4017 (conformtest-standards): Likewise.
4018 (conformtest-headers-ISO): Likewise.
4019 (conformtest-headers-ISO99): Likewise.
4020 (conformtest-headers-ISO11): Likewise.
4021 (conformtest-headers-POSIX): Likewise.
4022 (conformtest-headers-XPG3): Likewise.
4023 (conformtest-headers-XPG4): Likewise.
4024 (conformtest-headers-UNIX98): Likewise.
4025 (conformtest-headers-XOPEN2K): Likewise.
4026 (conformtest-headers-POSIX2008): Likewise.
4027 (conformtest-headers-XOPEN2K8): Likewise.
4028 (conformtest-header-list-base): Likewise.
4029 (conformtest-header-list-tests): Likewise.
4030 (conformtest-header-base): Likewise.
4031 (conformtest-header-tests): Likewise.
4032 (tests-special): Add $(conformtest-header-list-tests). If
4033 [$(fast-check) && !$(cross-compiling)], add
4034 $(conformtest-header-tests) instead of
4035 $(objpfx)run-conformtest.out.
4036 (generated): Add $(conformtest-header-list-base). If
4037 [$(fast-check) && !$(cross-compiling)], add
4038 $(conformtest-header-base). Remove previous setting.
4039 ($(conformtest-header-list-tests)): New target.
4040 (test-xfail-run-conformtest): Remove variable.
4041 ($(objpfx)run-conformtest.out): Remove target.
4042 (test-xfail-ISO11/complex.h/conform): New variable.
4043 (test-xfail-ISO11/stdalign.h/conform): Likewise.
4044 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
4045 (test-xfail-XPG3/varargs.h/conform): Likewise.
4046 (test-xfail-XPG4/varargs.h/conform): Likewise.
4047 (test-xfail-UNIX98/varargs.h/conform): Likewise.
4048 (test-xfail-XPG4/ndbm.h/conform): Likewise.
4049 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
4050 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
4051 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
4052 (test-xfail-XPG3/fcntl.h/conform): Likewise.
4053 (test-xfail-XPG3/ftw.h/conform): Likewise.
4054 (test-xfail-XPG3/grp.h/conform): Likewise.
4055 (test-xfail-XPG3/langinfo.h/conform): Likewise.
4056 (test-xfail-XPG3/limits.h/conform): Likewise.
4057 (test-xfail-XPG3/pwd.h/conform): Likewise.
4058 (test-xfail-XPG3/search.h/conform): Likewise.
4059 (test-xfail-XPG3/signal.h/conform): Likewise.
4060 (test-xfail-XPG3/stdio.h/conform): Likewise.
4061 (test-xfail-XPG3/stdlib.h/conform): Likewise.
4062 (test-xfail-XPG3/string.h/conform): Likewise.
4063 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
4064 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
4065 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
4066 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
4067 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
4068 (test-xfail-XPG3/sys/types.h/conform): Likewise.
4069 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
4070 (test-xfail-XPG3/termios.h/conform): Likewise.
4071 (test-xfail-XPG3/time.h/conform): Likewise.
4072 (test-xfail-XPG3/unistd.h/conform): Likewise.
4073 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
4074 (test-xfail-XPG4/fcntl.h/conform): Likewise.
4075 (test-xfail-XPG4/langinfo.h/conform): Likewise.
4076 (test-xfail-XPG4/netdb.h/conform): Likewise.
4077 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
4078 (test-xfail-XPG4/signal.h/conform): Likewise.
4079 (test-xfail-XPG4/stdio.h/conform): Likewise.
4080 (test-xfail-XPG4/stdlib.h/conform): Likewise.
4081 (test-xfail-XPG4/stropts.h/conform): Likewise.
4082 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
4083 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
4084 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
4085 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
4086 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
4087 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
4088 (test-xfail-XPG4/sys/time.h/conform): Likewise.
4089 (test-xfail-XPG4/sys/types.h/conform): Likewise.
4090 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
4091 (test-xfail-XPG4/termios.h/conform): Likewise.
4092 (test-xfail-XPG4/ucontext.h/conform): Likewise.
4093 (test-xfail-XPG4/unistd.h/conform): Likewise.
4094 (test-xfail-XPG4/utmpx.h/conform): Likewise.
4095 (test-xfail-POSIX/sched.h/conform): Likewise.
4096 (test-xfail-POSIX/signal.h/conform): Likewise.
4097 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
4098 (test-xfail-POSIX/tar.h/conform): Likewise.
4099 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
4100 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
4101 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
4102 (test-xfail-UNIX98/netdb.h/conform): Likewise.
4103 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
4104 (test-xfail-UNIX98/sched.h/conform): Likewise.
4105 (test-xfail-UNIX98/signal.h/conform): Likewise.
4106 (test-xfail-UNIX98/stdio.h/conform): Likewise.
4107 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
4108 (test-xfail-UNIX98/stropts.h/conform): Likewise.
4109 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
4110 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
4111 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
4112 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
4113 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
4114 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
4115 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
4116 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
4117 (test-xfail-UNIX98/unistd.h/conform): Likewise.
4118 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
4119 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
4120 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
4121 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
4122 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
4123 (test-xfail-XOPEN2K/math.h/conform): Likewise.
4124 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
4125 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
4126 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
4127 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
4128 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
4129 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
4130 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
4131 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
4132 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
4133 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
4134 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
4135 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
4136 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
4137 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
4138 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
4139 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
4140 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
4141 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
4142 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
4143 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
4144 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
4145 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
4146 (test-xfail-POSIX2008/signal.h/conform): Likewise.
4147 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
4148 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
4149 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
4150 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
4151 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
4152 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
4153 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
4154 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
4155 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
4156 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
4157 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
4158 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
4159 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
4160 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
4161 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
4162 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
4163 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
4164 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
4165 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
4166 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
4167 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
4168 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
4169 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
4170 (conformtest-cc-flags): Likewise.
4171 ($(conformtest-header-tests): New target.
4172 * conform/check-header-lists.sh: New file.
4173 * conform/run-conformtest.sh: Remove.
4175 * conform/conformtest.pl: Allow ' and \ in values given for
4177 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
4179 [POSIX] (sys/types.h): Likewise.
4180 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
4182 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
4184 * conform/data/signal.h-data (SIGIO): Remove expectation.
4185 [XPG3] (SIGBUS): Do not expect.
4186 [POSIX || XPG3] (SIGPOLL): Likewise.
4187 [POSIX || XPG3] (SIGPROF): Likewise.
4188 [POSIX || XPG3] (SIGSYS): Likewise.
4189 [XPG3] (SIGTRAP): Likewise.
4190 [POSIX || XPG3] (SIGURG): Likewise.
4191 [POSIX || XPG3] (SIGVTALRM): Likewise.
4192 [POSIX || XPG3] (SIGXCPU): Likewise.
4193 [POSIX || XPG3] (SIGXFSZ): Likewise.
4194 [POSIX] (SA_SIGINFO): Expect.
4195 [XPG3] (siginfo_t): Do not expect type or contents.
4196 [POSIX] (si_pid): Do not expect element.
4197 [POSIX] (si_uid): Likewise.
4198 [POSIX] (si_addr): Likewise.
4199 [POSIX] (si_status): Likewise.
4200 [POSIX] (si_band): Likewise.
4201 [XPG4] (si_value): Likewise.
4202 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
4203 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
4204 [POSIX || XPG3] (ILL_ILLADR): Likewise.
4205 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
4206 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
4207 [POSIX || XPG3] (ILL_PRVREG): Likewise.
4208 [POSIX || XPG3] (ILL_COPROC): Likewise.
4209 [POSIX || XPG3] (ILL_BADSTK): Likewise.
4210 [POSIX || XPG3] (FPE_INTDIV): Likewise.
4211 [POSIX || XPG3] (FPE_INTOVF): Likewise.
4212 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
4213 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
4214 [POSIX || XPG3] (FPE_FLTUND): Likewise.
4215 [POSIX || XPG3] (FPE_FLTRES): Likewise.
4216 [POSIX || XPG3] (FPE_FLTINV): Likewise.
4217 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
4218 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
4219 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
4220 [POSIX || XPG3] (BUS_ADRALN): Likewise.
4221 [POSIX || XPG3] (BUS_ADRERR): Likewise.
4222 [POSIX || XPG3] (BUS_OBJERR): Likewise.
4223 [POSIX || XPG3] (CLD_EXITED): Likewise.
4224 [POSIX || XPG3] (CLD_KILLED): Likewise.
4225 [POSIX || XPG3] (CLD_DUMPED): Likewise.
4226 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
4227 [POSIX || XPG3] (CLD_STOPPED): Likewise.
4228 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
4229 [POSIX || XPG3] (POLL_IN): Likewise.
4230 [POSIX || XPG3] (POLL_OUT): Likewise.
4231 [POSIX || XPG3] (POLL_MSG): Likewise.
4232 [POSIX || XPG3] (POLL_ERR): Likewise.
4233 [POSIX || XPG3] (POLL_PRI): Likewise.
4234 [POSIX || XPG3] (POLL_HUP): Likewise.
4235 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
4236 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
4237 (SIG*): Do not allow.
4238 [XPG3] (si_*): Likewise.
4239 [XPG3] (SI_*): Likewise.
4240 [XPG3 || XPG4] (sigev_*): Likewise.
4241 [XPG3 || XPG4] (SIGEV_*): Likewise.
4242 [XPG3 || XPG4] (sival_*): Likewise.
4243 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
4244 [POSIX || XPG3] (BUS_*): Likewise.
4245 [POSIX || XPG3] (CLD_*): Likewise.
4246 [POSIX || XPG3] (FPE_*): Likewise.
4247 [POSIX || XPG3] (ILL_*): Likewise.
4248 [POSIX || XPG3] (POLL_*): Likewise.
4249 [POSIX || XPG3] (SEGV_*): Likewise.
4250 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
4251 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
4252 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
4253 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
4254 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
4255 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
4256 Specify type and value.
4257 (TVERSLEN): Likewise.
4258 (REGTYPE): Likewise.
4259 (AREGTYPE): Likewise.
4260 (LNKTYPE): Likewise.
4261 (SYMTYPE): Likewise.
4262 (CHRTYPE): Likewise.
4263 (BLKTYPE): Likewise.
4264 (DIRTYPE): Likewise.
4265 (FIFOTYPE): Likewise.
4266 (CONTTYPE): Likewise.
4271 (TUWRITE): Likewise.
4274 (TGWRITE): Likewise.
4277 (TOWRITE): Likewise.
4279 [POSIX] (TSVTX): Expect constant.
4281 2014-03-06 Joseph Myers <joseph@codesourcery.com>
4283 * Makefile (tests): Change dependencies to ....
4284 (tests-special): ... additions to this variable.
4285 (tests): Depend on $(tests-special).
4286 * Makerules (check-abi-list): New variable.
4287 (check-abi): Depend on $(check-abi-list).
4288 [$(subdir) = elf] (tests-special): Add
4289 $(objpfx)check-abi-libc.out.
4290 [$(build-shared) = yes && subdir] (tests-special): Add
4292 [$(build-shared) = yes && subdir] (tests): Do not depend on
4294 * Rules (tests): Depend on $(tests-special).
4295 (xtests): Depend on $(xtests-special).
4296 * catgets/Makefile (tests): Change dependencies to ....
4297 (tests-special): ... additions to this variable.
4298 * conform/Makefile (tests): Change dependencies to ....
4299 (tests-special): ... additions to this variable.
4300 * elf/Makefile (tests): Change dependencies to ....
4301 (tests-special): ... additions to this variable.
4302 * grp/Makefile (tests): Change dependencies to ....
4303 (tests-special): ... additions to this variable.
4304 * iconv/Makefile (xtests): Change dependencies to ....
4305 (xtests-special): ... additions to this variable.
4306 * iconvdata/Makefile (tests): Change dependencies to ....
4307 (tests-special): ... additions to this variable.
4308 * intl/Makefile (tests): Change dependencies to ....
4309 (tests-special): ... additions to this variable. Also add
4310 $(objpfx)tst-gettext.out.
4311 * io/Makefile (tests): Change dependencies to ....
4312 (tests-special): ... additions to this variable.
4313 * libio/Makefile (tests): Change dependencies to ....
4314 (tests-special): ... additions to this variable.
4315 * malloc/Makefile (tests): Change dependencies to ....
4316 (tests-special): ... additions to this variable.
4317 * misc/Makefile (tests): Change dependencies to ....
4318 (tests-special): ... additions to this variable.
4319 * nptl/Makefile (tests): Change dependencies to ....
4320 (tests-special): ... additions to this variable.
4321 * nptl_db/Makefile (tests): Change dependencies to ....
4322 (tests-special): ... additions to this variable.
4323 * posix/Makefile (tests): Change dependencies to ....
4324 (tests-special): ... additions to this variable.
4325 (xtests): Change dependencies to ....
4326 (xtests-special): ... additions to this variable.
4327 * resolv/Makefile (tests): Change dependencies to ....
4328 (tests-special): ... additions to this variable.
4329 (xtests): Change dependencies to ....
4330 (xtests-special): ... additions to this variable.
4331 * stdio-common/Makefile (tests): Change dependencies to ....
4332 (tests-special): ... additions to this variable.
4333 (do-tst-unbputc): Remove target.
4334 (do-tst-printf): Likewise.
4335 * stdlib/Makefile (tests): Change dependencies to ....
4336 (tests-special): ... additions to this variable.
4337 * string/Makefile (tests): Change dependencies to ....
4338 (tests-special): ... additions to this variable.
4339 * sysdeps/x86/Makefile (tests): Change dependencies to ....
4340 (tests-special): ... additions to this variable.
4342 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
4344 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
4346 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
4347 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
4349 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
4350 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
4351 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
4352 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
4353 * conform/data/libgen.h-data [XPG3]: Likewise.
4354 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
4355 * conform/data/ndbm.h-data [XPG3]: Likewise.
4356 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
4357 * conform/data/netdb.h-data [XPG3]: Likewise.
4358 * conform/data/netinet/in.h-data [XPG3]: Likewise.
4359 * conform/data/poll.h-data [XPG3]: Likewise.
4360 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
4361 * conform/data/strings.h-data [XPG3]: Likewise.
4362 * conform/data/stropts.h-data [XPG3]: Likewise.
4363 * conform/data/sys/mman.h-data [XPG3]: Likewise.
4364 * conform/data/sys/resource.h-data [XPG3]: Likewise.
4365 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
4367 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
4368 * conform/data/sys/time.h-data [XPG3]: Likewise.
4369 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
4370 * conform/data/sys/uio.h-data [XPG3]: Likewise.
4371 * conform/data/sys/un.h-data [XPG3]: Likewise.
4372 * conform/data/syslog.h-data [XPG3]: Likewise.
4373 * conform/data/ucontext.h-data [XPG3]: Likewise.
4374 * conform/data/utmpx.h-data [XPG3]: Likewise.
4375 * conform/data/varargs.h-data [UNIX98]: Enable file.
4377 * manual/Makefile (INSTALL_INFO): Remove variable setting.
4379 * math/libm-test.inc (struct test_f_f_data): Move expected results
4380 into structure for each rounding mode.
4381 (struct test_ff_f_data): Likewise.
4382 (struct test_ff_f_data_nexttoward): Likewise.
4383 (struct test_fi_f_data): Likewise.
4384 (struct test_fl_f_data): Likewise.
4385 (struct test_if_f_data): Likewise.
4386 (struct test_fff_f_data): Likewise.
4387 (struct test_c_f_data): Likewise.
4388 (struct test_f_f1_data): Likewise.
4389 (struct test_fF_f1_data): Likewise.
4390 (struct test_ffI_f1_data): Likewise.
4391 (struct test_c_c_data): Likewise.
4392 (struct test_cc_c_data): Likewise.
4393 (struct test_f_i_data): Likewise.
4394 (struct test_ff_i_data): Likewise.
4395 (struct test_f_l_data): Likewise.
4396 (struct test_f_L_data): Likewise.
4397 (struct test_fFF_11_data): Likewise.
4399 (RM_FE_DOWNWARD): Likewise.
4400 (RM_FE_TONEAREST): Likewise.
4401 (RM_FE_TOWARDZERO): Likewise.
4402 (RM_FE_UPWARD): Likewise.
4403 (RUN_TEST_LOOP_f_f): Update references to expected results.
4404 (RUN_TEST_LOOP_2_f): Likewise.
4405 (RUN_TEST_LOOP_fff_f): Likewise.
4406 (RUN_TEST_LOOP_c_f): Likewise.
4407 (RUN_TEST_LOOP_f_f1): Likewise.
4408 (RUN_TEST_LOOP_fF_f1): Likewise.
4409 (RUN_TEST_LOOP_fI_f1): Likewise.
4410 (RUN_TEST_LOOP_ffI_f1): Likewise.
4411 (RUN_TEST_LOOP_c_c): Likewise.
4412 (RUN_TEST_LOOP_cc_c): Likewise.
4413 (RUN_TEST_LOOP_f_i): Likewise.
4414 (RUN_TEST_LOOP_f_i_tg): Likewise.
4415 (RUN_TEST_LOOP_ff_i_tg): Likewise.
4416 (RUN_TEST_LOOP_f_b): Likewise.
4417 (RUN_TEST_LOOP_f_b_tg): Likewise.
4418 (RUN_TEST_LOOP_f_l): Likewise.
4419 (RUN_TEST_LOOP_f_L): Likewise.
4420 (RUN_TEST_LOOP_fFF_11): Likewise.
4421 * math/gen-libm-test.pl (parse_args): Output four copies of
4422 expected results for each test.
4424 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4425 (__ASSUME_UTIMES): Remove.
4426 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4427 (__ASSUME_UTIMES): Likewise.
4429 * math/gen-auto-libm-tests.c: Update comment on output format.
4430 (output_for_one_input_case): Generate before-rounding and
4431 after-rounding information as conditions on output flags not
4432 floating-point format.
4433 * math/auto-libm-test-out: Regenerated.
4434 * math/gen-libm-test.pl (cond_value): New function.
4435 (or_cond_value): Use cond_value.
4436 (generate_testfile): Handle conditional exceptions.
4438 2014-03-05 Joseph Myers <joseph@codesourcery.com>
4440 * math/libm-test.inc (max_valid_error): New variable.
4441 (init_max_error): Take new argument specifying whether function
4442 results are exactly determined. Set max_valid_error and bound
4443 other variables for errors based on this argument.
4444 (set_max_error): Do not record results above max_valid_error.
4445 (check_float_internal): Only accept errors of up to 0.5ulps if
4446 also at most max_valid_error.
4447 (START): Take new argument EXACT and pass it to init_max_error.
4448 (acos_test): Update call to START.
4449 (acos_test_tonearest): Likewise.
4450 (acos_test_towardzero): Likewise.
4451 (acos_test_downward): Likewise.
4452 (acos_test_upward): Likewise.
4453 (acosh_test): Likewise.
4454 (asin_test): Likewise.
4455 (asin_test_tonearest): Likewise.
4456 (asin_test_towardzero): Likewise.
4457 (asin_test_downward): Likewise.
4458 (asin_test_upward): Likewise.
4459 (asinh_test): Likewise.
4460 (atan_test): Likewise.
4461 (atanh_test): Likewise.
4462 (atan2_test): Likewise.
4463 (cabs_test): Likewise.
4464 (cacos_test): Likewise.
4465 (cacosh_test): Likewise.
4466 (carg_test): Likewise.
4467 (casin_test): Likewise.
4468 (casinh_test): Likewise.
4469 (catan_test): Likewise.
4470 (catanh_test): Likewise.
4471 (cbrt_test): Likewise.
4472 (ccos_test): Likewise.
4473 (ccosh_test): Likewise.
4474 (ceil_test): Likewise.
4475 (cexp_test): Likewise.
4476 (cimag_test): Likewise.
4477 (clog_test): Likewise.
4478 (clog10_test): Likewise.
4479 (conj_test): Likewise.
4480 (copysign_test): Likewise.
4481 (cos_test): Likewise.
4482 (cos_test_tonearest): Likewise.
4483 (cos_test_towardzero): Likewise.
4484 (cos_test_downward): Likewise.
4485 (cos_test_upward): Likewise.
4486 (cosh_test): Likewise.
4487 (cosh_test_tonearest): Likewise.
4488 (cosh_test_towardzero): Likewise.
4489 (cosh_test_downward): Likewise.
4490 (cosh_test_upward): Likewise.
4491 (cpow_test): Likewise.
4492 (cproj_test): Likewise.
4493 (creal_test): Likewise.
4494 (csin_test): Likewise.
4495 (csinh_test): Likewise.
4496 (csqrt_test): Likewise.
4497 (ctan_test): Likewise.
4498 (ctan_test_tonearest): Likewise.
4499 (ctan_test_towardzero): Likewise.
4500 (ctan_test_downward): Likewise.
4501 (ctan_test_upward): Likewise.
4502 (ctanh_test): Likewise.
4503 (ctanh_test_tonearest): Likewise.
4504 (ctanh_test_towardzero): Likewise.
4505 (ctanh_test_downward): Likewise.
4506 (ctanh_test_upward): Likewise.
4507 (erf_test): Likewise.
4508 (erfc_test): Likewise.
4509 (exp_test): Likewise.
4510 (exp_test_tonearest): Likewise.
4511 (exp_test_towardzero): Likewise.
4512 (exp_test_downward): Likewise.
4513 (exp_test_upward): Likewise.
4514 (exp10_test): Likewise.
4515 (exp10_test_tonearest): Likewise.
4516 (exp10_test_towardzero): Likewise.
4517 (exp10_test_downward): Likewise.
4518 (exp10_test_upward): Likewise.
4519 (pow10_test): Likewise.
4520 (exp2_test): Likewise.
4521 (expm1_test): Likewise.
4522 (expm1_test_tonearest): Likewise.
4523 (expm1_test_towardzero): Likewise.
4524 (expm1_test_downward): Likewise.
4525 (expm1_test_upward): Likewise.
4526 (fabs_test): Likewise.
4527 (fdim_test): Likewise.
4528 (floor_test): Likewise.
4529 (fma_test): Likewise.
4530 (fma_test_towardzero): Likewise.
4531 (fma_test_downward): Likewise.
4532 (fma_test_upward): Likewise.
4533 (fmax_test): Likewise.
4534 (fmin_test): Likewise.
4535 (fmod_test): Likewise.
4536 (fpclassify_test): Likewise.
4537 (frexp_test): Likewise.
4538 (hypot_test): Likewise.
4539 (ilogb_test): Likewise.
4540 (isfinite_test): Likewise.
4541 (finite_test): Likewise.
4542 (isgreater_test): Likewise.
4543 (isgreaterequal_test): Likewise.
4544 (isinf_test): Likewise.
4545 (isless_test): Likewise.
4546 (islessequal_test): Likewise.
4547 (islessgreater_test): Likewise.
4548 (isnan_test): Likewise.
4549 (isnormal_test): Likewise.
4550 (issignaling_test): Likewise.
4551 (isunordered_test): Likewise.
4552 (j0_test): Likewise.
4553 (j1_test): Likewise.
4554 (jn_test): Likewise.
4555 (ldexp_test): Likewise.
4556 (lgamma_test): Likewise.
4557 (gamma_test): Likewise.
4558 (lrint_test): Likewise.
4559 (lrint_test_tonearest): Likewise.
4560 (lrint_test_towardzero): Likewise.
4561 (lrint_test_downward): Likewise.
4562 (lrint_test_upward): Likewise.
4563 (llrint_test): Likewise.
4564 (llrint_test_tonearest): Likewise.
4565 (llrint_test_towardzero): Likewise.
4566 (llrint_test_downward): Likewise.
4567 (llrint_test_upward): Likewise.
4568 (log_test): Likewise.
4569 (log10_test): Likewise.
4570 (log1p_test): Likewise.
4571 (log2_test): Likewise.
4572 (logb_test): Likewise.
4573 (logb_test_downward): Likewise.
4574 (lround_test): Likewise.
4575 (llround_test): Likewise.
4576 (modf_test): Likewise.
4577 (nearbyint_test): Likewise.
4578 (nextafter_test): Likewise.
4579 (nexttoward_test): Likewise.
4580 (pow_test): Likewise.
4581 (pow_test_tonearest): Likewise.
4582 (pow_test_towardzero): Likewise.
4583 (pow_test_downward): Likewise.
4584 (pow_test_upward): Likewise.
4585 (remainder_test): Likewise.
4586 (drem_test): Likewise.
4587 (remainder_test_tonearest): Likewise.
4588 (drem_test_tonearest): Likewise.
4589 (remainder_test_towardzero): Likewise.
4590 (drem_test_towardzero): Likewise.
4591 (remainder_test_downward): Likewise.
4592 (drem_test_downward): Likewise.
4593 (remainder_test_upward): Likewise.
4594 (drem_test_upward): Likewise.
4595 (remquo_test): Likewise.
4596 (rint_test): Likewise.
4597 (rint_test_tonearest): Likewise.
4598 (rint_test_towardzero): Likewise.
4599 (rint_test_downward): Likewise.
4600 (rint_test_upward): Likewise.
4601 (round_test): Likewise.
4602 (scalb_test): Likewise.
4603 (scalbn_test): Likewise.
4604 (scalbln_test): Likewise.
4605 (signbit_test): Likewise.
4606 (sin_test): Likewise.
4607 (sin_test_tonearest): Likewise.
4608 (sin_test_towardzero): Likewise.
4609 (sin_test_downward): Likewise.
4610 (sin_test_upward): Likewise.
4611 (sincos_test): Likewise.
4612 (sinh_test): Likewise.
4613 (sinh_test_tonearest): Likewise.
4614 (sinh_test_towardzero): Likewise.
4615 (sinh_test_downward): Likewise.
4616 (sinh_test_upward): Likewise.
4617 (sqrt_test): Likewise.
4618 (sqrt_test_tonearest): Likewise.
4619 (sqrt_test_towardzero): Likewise.
4620 (sqrt_test_downward): Likewise.
4621 (sqrt_test_upward): Likewise.
4622 (tan_test): Likewise.
4623 (tan_test_tonearest): Likewise.
4624 (tan_test_towardzero): Likewise.
4625 (tan_test_downward): Likewise.
4626 (tan_test_upward): Likewise.
4627 (tanh_test): Likewise.
4628 (tgamma_test): Likewise.
4629 (trunc_test): Likewise.
4630 (y0_test): Likewise.
4631 (y1_test): Likewise.
4632 (yn_test): Likewise.
4633 (significand_test): Likewise.
4635 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
4636 individual tests in comment.
4637 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
4638 (prev_max_error): New variable.
4639 (prev_real_max_error): Likewise.
4640 (prev_imag_max_error): Likewise.
4641 (compare_ulp_data): Don't refer to test names in comment.
4642 (find_test_ulps): Remove function.
4643 (find_function_ulps): Likewise.
4644 (find_complex_function_ulps): Likewise.
4645 (init_max_error): Take function name as argument. Look up ulps
4647 (print_ulps): Remove function.
4648 (print_max_error): Use prev_max_error instead of calling
4650 (print_complex_max_error): Use prev_real_max_error and
4651 prev_imag_max_error instead of calling find_complex_function_ulps.
4652 (check_float_internal): Take max_ulp parameter instead of calling
4653 find_test_ulps. Don't call print_ulps.
4654 (check_float): Update call to check_float_internal.
4655 (check_complex): Update calls to check_float_internal.
4656 (START): Pass argument to init_max_error.
4657 * math/gen-libm-test.pl (%results): Don't include "kind"
4659 (parse_ulps): Don't handle ulps of individual tests.
4660 (print_ulps_file): Likewise.
4661 (output_ulps): Likewise.
4662 * math/README.libm-test: Update.
4663 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
4665 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
4666 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
4667 * sysdeps/arm/libm-test-ulps: Likewise.
4668 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
4669 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
4670 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
4671 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
4672 * sysdeps/microblaze/libm-test-ulps: Likewise.
4673 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
4674 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4675 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4676 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
4677 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4678 * sysdeps/sh/libm-test-ulps: Likewise.
4679 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4680 * sysdeps/tile/libm-test-ulps: Likewise.
4681 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4683 2014-03-04 Joseph Myers <joseph@codesourcery.com>
4685 * math/libm-test.inc (print_complex_max_error): Check separately
4686 whether real and imaginary errors are within allowed range and
4687 pass 0 to print_complex_function_ulps instead of value within
4690 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4692 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
4694 (get_handles_fopen): Likewise.
4695 (do_write_test): Likewise.
4697 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
4699 * libio/fileops.c (do_ftell): Use cached offset when
4701 * libio/iofwide.c (do_ftell_wide): Likewise.
4702 * libio/iofdopen.c (_IO_new_fdopen): Don't use
4704 * libio/wfileops.c (_IO_fwide): Don't cache offset.
4707 * libio/libioP.h (get_file_offset): New function.
4708 * libio/fileops.c (get_file_offset): Likewise.
4709 (do_ftell): Likewise.
4710 (_IO_new_file_seekoff): Split out ftell logic.
4711 * libio/wfileops.c (do_ftell_wide): Likewise.
4712 (_IO_wfile_seekoff): Split out ftell logic.
4713 * libio/tst-ftell-active-handler.c: New test case.
4714 * libio/Makefile (tests): Add it.
4716 2014-03-03 Roland McGrath <roland@hack.frob.com>
4718 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
4719 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
4721 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4724 * nscd/connections.c (nscd_init): Call do_exit.
4725 (start_threads): Call do_exit and notify_parent.
4726 (begin_drop_privileges): Call do_exit.
4727 (finish_drop_privileges): Likewise.
4728 * nscd/selinux.c (preserve_capabilities): Likewise.
4729 (install_real_capabilities): Likewise.
4730 (nscd_selinux_enabled): Likewise.
4731 (avc_create_thread): Likewise.
4732 (avc_alloc_lock): Likewise.
4733 (nscd_avc_init): Likewise.
4734 * nscd/nscd.c (parent_fd): New static variable.
4735 (main): Create a pipe between parent and child processes.
4736 Skip closing parent_fd.
4737 (monitor_child): New function.
4738 (do_exit): Likewise.
4739 (notify_parent): Likewise.
4740 * nscd/nscd.h (notify_parent): Likewise.
4741 (do_exit): Likewise.
4743 2014-03-03 Carlos O'Donell <carlos@redhat.com>
4745 * malloc/malloc.c (__libc_calloc): Revert last change.
4747 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4749 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4751 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4753 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
4754 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
4756 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4757 (__libc_ifunc_impl_list): Likewise.
4758 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
4759 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
4760 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
4761 * string/strrchr.c: Define STRRCHR.
4763 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
4765 * benchtest/bench-strtok.c (simple_strtok): Delete.
4766 (strtok_string): Use as benchmark.
4767 * string/strtok (STRTOK): New macro.
4769 2014-02-28 Carlos O'Donell <carlos@redhat.com>
4771 * manual/threads.texi: Add header and standard comments to all
4774 * elf/dl-lookup.c (check_match): New function.
4775 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
4776 (do_lookup_x): Remove nested function check_match. Use non-nested
4777 function check_match.
4779 2014-02-28 Roland McGrath <roland@hack.frob.com>
4781 * csu/Makefile (generated, before-compile): Use += rather than =.
4782 * catgets/Makefile (generated, generated-dirs): Likewise.
4783 * debug/Makefile (generated): Likewise.
4784 * dlfcn/Makefile (generated): Likewise.
4785 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
4786 * iconvdata/Makefile (before-compile, generated): Likewise.
4787 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
4788 * libio/Makefile (generated): Likewise.
4789 * malloc/Makefile (generated): Likewise.
4790 * manual/Makefile (generated, generated-dirs): Likewise.
4791 * misc/Makefile (generated): Likewise.
4792 * posix/Makefile (generated): Likewise.
4793 * resolv/Makefile (generated): Likewise.
4794 * sunrpc/Makefile (generated, generated-dirs): Likewise.
4795 * timezone/Makefile (generated, generated-dirs): Likewise.
4797 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
4799 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4801 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
4802 power8 implementation.
4803 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
4804 file: POWER8 llround ifunc implementation.
4805 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
4806 (__lllround): Add POWER8 implementation.
4807 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
4808 POWER8 llround implementation.
4810 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
4811 power8 implementation.
4812 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
4813 file: POWER8 llrint ifunc implementation.
4814 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
4815 Add POWER8 implementation.
4816 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
4817 POWER8 llrint implementation.
4819 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
4820 power8 implementation.
4821 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
4822 file: POWER8 finite ifunc implementation.
4823 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
4824 Add POWER8 implementation.
4825 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
4827 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
4828 POWER8 finite implementation.
4829 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
4831 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
4832 power8 implementation.
4833 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
4834 file: POWER8 isinf ifunc implementation.
4835 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
4836 POWER8 implementation.
4837 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
4839 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
4840 isinf implementation.
4841 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
4843 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
4844 (INIT_ARCH): Add hwcap2 initialization.
4845 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
4846 power8 implementation.
4847 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
4848 file: POWER8 isnan ifunc implementation.
4849 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
4850 POWER8 implementation.
4851 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
4853 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
4854 isnan implementation.
4855 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
4857 2014-02-27 Joey Ye <joey.ye@arm.com>
4859 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
4860 (_FP_NANFRAC_Q): Set to zero.
4862 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4865 * math/auto-libm-test-in: New test inputs.
4866 * math/auto-libm-test-out: Regenerate.
4867 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
4870 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
4872 2014-02-27 Joseph Myers <joseph@codesourcery.com>
4874 * scripts/evaluate-test.sh: Take new argument indicating whether
4875 failure is expected.
4876 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
4877 indicating whether failure is expected.
4878 * conform/Makefile (test-xfail-run-conformtest): New variable.
4879 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
4881 * posix/Makefile (test-xfail-annexc): New variable.
4882 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
4884 2014-02-26 Joseph Myers <joseph@codesourcery.com>
4886 * argp/Makefile: Include Makeconfig immediately after defining
4888 * assert/Makefile: Likewise.
4889 * benchtests/Makefile: Likewise.
4890 * catgets/Makefile: Likewise.
4891 * conform/Makefile: Likewise.
4892 * crypt/Makefile: Likewise.
4893 * csu/Makefile: Likewise.
4894 (all): Remove target.
4895 * ctype/Makefile: Include Makeconfig immediately after defining
4897 * debug/Makefile: Likewise.
4898 * dirent/Makefile: Likewise.
4899 * dlfcn/Makefile: Likewise.
4900 * gmon/Makefile: Likewise.
4901 * gnulib/Makefile: Likewise.
4902 * grp/Makefile: Likewise.
4903 * gshadow/Makefile: Likewise.
4904 * hesiod/Makefile: Likewise.
4905 * hurd/Makefile: Likewise.
4906 (all): Remove target.
4907 * iconvdata/Makefile: Include Makeconfig immediately after
4909 * inet/Makefile: Likewise.
4910 * intl/Makefile: Likewise.
4911 * io/Makefile: Likewise.
4912 * libio/Makefile: Likewise.
4913 (all): Remove target.
4914 * locale/Makefile: Include Makeconfig immediately after defining
4916 * login/Makefile: Likewise.
4917 * mach/Makefile: Likewise.
4918 (all): Remove target.
4919 * malloc/Makefile: Include Makeconfig immediately after defining
4921 (all): Remove target.
4922 * manual/Makefile: Include Makeconfig immediately after defining
4924 * math/Makefile: Likewise.
4925 * misc/Makefile: Likewise.
4926 * nis/Makefile: Likewise.
4927 * nss/Makefile: Likewise.
4928 * po/Makefile: Likewise.
4929 (all): Remove target.
4930 * posix/Makefile: Include Makeconfig immediately after defining
4932 * pwd/Makefile: Likewise.
4933 * resolv/Makefile: Likewise.
4934 * resource/Makefile: Likewise.
4935 * rt/Makefile: Likewise.
4936 * setjmp/Makefile: Likewise.
4937 * shadow/Makefile: Likewise.
4938 * signal/Makefile: Likewise.
4939 * socket/Makefile: Likewise.
4940 * soft-fp/Makefile: Likewise.
4941 * stdio-common/Makefile: Likewise.
4942 * stdlib/Makefile: Likewise.
4943 * streams/Makefile: Likewise.
4944 * string/Makefile: Likewise.
4945 * sunrpc/Makefile: Likewise.
4946 (all): Remove target.
4947 * sysvipc/Makefile: Include Makeconfig immediately after defining
4949 * termios/Makefile: Likewise.
4950 * time/Makefile: Likewise.
4951 * timezone/Makefile: Likewise.
4952 (all): Remove target.
4953 * wcsmbs/Makefile: Include Makeconfig immediately after defining
4955 * wctype/Makefile: Likewise.
4957 2014-02-26 Steve Ellcey <sellcey@mips.com>
4959 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
4960 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
4961 (libc_feholdexcept_setround_mips): Ditto.
4962 (libc_feholdsetround): New.
4963 (libc_feholdsetroundf): New.
4964 (libc_feholdsetroundl): New.
4965 (libc_feupdateenv_test_mips): New.
4966 (libc_feupdateenv_test): New.
4967 (libc_feupdateenv_testf): New.
4968 (libc_feupdateenv_testl): New.
4969 (libc_feresetround): New.
4970 (libc_feresetroundf): New.
4971 (libc_feresetroundl): New.
4972 (libc_fetestexcept_mips): New.
4973 (libc_fetestexcept): New.
4974 (libc_fetestexceptf): New.
4975 (libc_fetestexceptl): New.
4977 (libc_feholdexcept_setround_mips_ctx): New.
4978 (libc_feholdexcept_setround_ctx): New.
4979 (libc_feholdexcept_setroundf_ctx): New.
4980 (libc_feholdexcept_setroundl_ctx): New.
4981 (libc_fesetenv_mips_ctx): New.
4982 (libc_fesetenv_ctx): New.
4983 (libc_fesetenv_ctxf): New.
4984 (libc_fesetenv_ctxl): New.
4985 (libc_feupdateenv_mips_ctx): New.
4986 (libc_feupdateenv_ctx): New.
4987 (libc_feupdateenvf_ctx): New.
4988 (libc_feupdateenvl_ctx): New.
4989 (libc_feholdsetround_mips_ctx): New.
4990 (libc_feholdsetround_ctx): New.
4991 (libc_feholdsetroundf_ctx): New.
4992 (libc_feholdsetroundl_ctx): New.
4993 (libc_feresetround_mips_ctx): New.
4994 (libc_feresetround_ctx): New.
4995 (libc_feresetroundf_ctx): New.
4996 (libc_feresetroundl_ctx): New.
4998 2014-02-26 Carlos O'Donell <carlos@redhat.com>
5000 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
5002 * manual/ipc.texi: New file.
5003 * manual/Makefile (chapters): Add ipc.
5004 * manual/job.texi: Add "Inter-Process Communication" to next.
5005 * manual/process.texi: Add "Inter-Process Communication" to prev.
5007 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5009 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5011 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
5013 * malloc/malloc.c (__libc_calloc): Simplify implementation.
5015 * manual/arith.texi: Fix spaces after sentences.
5016 * manual/charset.texi: Likewise.
5017 * manual/errno.texi: Likewise.
5018 * manual/install.texi: Likewise.
5019 * manual/llio.texi: Likewise.
5020 * manual/locale.texi: Likewise.
5021 * manual/maint.texi: Likewise.
5022 * manual/math.texi: Likewise.
5023 * manual/memory.texi: Likewise.
5024 * manual/message.texi: Likewise.
5025 * manual/probes.texi: Likewise.
5026 * manual/resource.texi: Likewise.
5027 * manual/signal.texi: Likewise.
5028 * manual/socket.texi: Likewise.
5029 * manual/stdio.texi: Likewise.
5030 * manual/string.texi: Likewise.
5031 * manual/time.texi: Likewise.
5032 * manual/users.texi: Likewise.
5034 2014-02-25 Carlos O'Donell <carlos@redhat.com>
5037 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
5038 _DEFAULT_SOURCE is defined.
5040 2014-02-25 Ulrich Drepper <drepper@gmail.com>
5041 Carlos O'Donell <carlos@redhat.com>
5044 * elf/dl-tls.c (_dl_count_modids): New function.
5045 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
5046 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
5047 audit library and increment generation counter.
5048 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
5049 * elf/tst-audit9.c: New file.
5050 * elf/tst-auditmod9a.c: New file.
5051 * elf/tst-auditmod9b.c: New file.
5052 * elf/Makefile: Add rules to build and run tst-audit9.
5054 2014-02-25 Florian Weimer <fweimer@redhat.com>
5057 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
5059 2014-02-25 Will Newton <will.newton@linaro.org>
5061 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
5062 (__longjmp): Restore sp and lr before restoring callee
5063 saved registers. Add longjmp and longjmp_target
5064 SystemTap probe point.
5065 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
5066 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
5067 Define to zero to match jmpbuf layout.
5068 * sysdeps/arm/setjmp.S: Include stap-probe.h.
5069 (__sigsetjmp): Save sp and lr before saving callee
5070 saved registers. Add setjmp SystemTap probe point.
5072 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
5074 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5076 2014-02-24 Andreas Schwab <schwab@suse.de>
5079 * elf/pldd.c (wait_for_ptrace_stop): New function.
5080 (main): Call it after attaching.
5082 2014-02-22 Roland McGrath <roland@hack.frob.com>
5084 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
5085 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
5086 Versions files is now verboten.
5087 * hurd/Versions (libc: GLIBC_2.0):
5088 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
5089 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
5090 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
5091 * mach/Versions: Likewise.
5093 * csu/Versions: Remove unused %include.
5094 * resolv/Versions: Likewise.
5096 2014-02-21 Joseph Myers <joseph@codesourcery.com>
5098 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
5099 ($(objpfx)check-local-headers.out): Likewise.
5100 ($(objpfx)begin-end-check.out): Likewise.
5101 * Makerules (check-abi-%.out): Likewise.
5102 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
5103 ($(objpfx)test2.cat): Likewise.
5104 ($(objpfx)de/libc.cat): Likewise.
5105 ($(objpfx)test-gencat.out): Likewise.
5106 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
5107 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
5108 ($(objpfx)noload-mem): Likewise.
5109 ($(objpfx)tst-pathopt.out): Likewise.
5110 ($(objpfx)tst-rtld-load-self.out): Likewise.
5111 ($(objpfx)tst-array1-cmp.out): Likewise.
5112 ($(objpfx)tst-array1-static-cmp.out): Likewise.
5113 ($(objpfx)tst-array2-cmp.out): Likewise.
5114 ($(objpfx)tst-array3-cmp.out): Likewise.
5115 ($(objpfx)tst-array4-cmp.out): Likewise.
5116 ($(objpfx)tst-array5-cmp.out): Likewise.
5117 ($(objpfx)tst-array5-static-cmp.out): Likewise.
5118 ($(objpfx)check-textrel.out): Likewise.
5119 ($(objpfx)check-execstack.out): Likewise.
5120 ($(objpfx)check-localplt.out): Likewise.
5121 ($(objpfx)order2-cmp.out): Likewise.
5122 ($(objpfx)tst-leaks1-mem): Likewise.
5123 ($(objpfx)tst-leaks1-static-mem): Likewise.
5124 ($(objpfx)tst-initorder-cmp.out): Likewise.
5125 ($(objpfx)tst-initorder2-cmp.out): Likewise.
5126 ($(objpfx)tst-unused-dep.out): Likewise.
5127 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
5128 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
5129 * iconv/Makefile (test-iconvconfig): Likewise.
5130 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
5131 ($(objpfx)iconv-test.out): Likewise.
5132 ($(objpfx)tst-tables.out): Likewise.
5133 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
5134 ($(objpfx)tst-gettext.out): Likewise.
5135 ($(objpfx)tst-translit.out): Likewise.
5136 ($(objpfx)tst-gettext2.out): Likewise.
5137 ($(objpfx)tst-gettext4.out): Likewise.
5138 ($(objpfx)tst-gettext6.out): Likewise.
5139 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
5140 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
5141 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
5142 ($(objpfx)tst-fopenloc-mem.out): Likewise.
5143 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
5144 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
5145 * posix/Makefile ($(objpfx)globtest.out): Likewise.
5146 ($(objpfx)wordexp-tst.out): Likewise.
5147 ($(objpfx)annexc.out): Likewise.
5148 ($(objpfx)tst-fnmatch-mem): Likewise.
5149 ($(objpfx)bug-regex2-mem): Likewise.
5150 ($(objpfx)bug-regex14-mem): Likewise.
5151 ($(objpfx)bug-regex21-mem): Likewise.
5152 ($(objpfx)bug-regex31-mem): Likewise.
5153 ($(objpfx)tst-vfork3-mem): Likewise.
5154 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
5155 ($(objpfx)tst-pcre-mem): Likewise.
5156 ($(objpfx)tst-boost-mem): Likewise.
5157 ($(objpfx)tst-getconf.out): Likewise.
5158 ($(objpfx)bug-ga2-mem): Likewise.
5159 ($(objpfx)bug-glob2-mem): Likewise.
5160 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
5161 ($(objpfx)mtrace-tst-leaks2): Likewise.
5162 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
5163 ($(objpfx)tst-printf.out): Likewise.
5164 ($(objpfx)tst-setvbuf1.out): Likewise.
5165 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
5166 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
5167 ($(objpfx)tst-fmtmsg.out): Likewise.
5168 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
5169 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
5171 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
5172 * bits/sigaction.h [__USE_MISC]: Likewise.
5173 * bits/waitstatus.h: Update #endif comments.
5174 * ctype/ctype.h: Likewise.
5175 * dirent/dirent.h: Likewise.
5176 [__USE_MISC]: Remove redundant conditionals.
5177 * grp/grp.h: Update #endif comments.
5178 [__USE_GNU]: Remove redundant conditionals.
5179 [__USE_MISC]: Likewise.
5180 * inet/netinet/in.h [__USE_GNU]: Likewise.
5181 * io/sys/stat.h [__USE_MISC]: Likewise.
5182 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
5183 * libio/bits/stdio.h: Update #endif comments.
5184 [__USE_MISC]: Remove redundant conditionals.
5185 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
5186 * libio/stdio.h: Update #endif comments.
5187 [__USE_MISC]: Remove redundant conditionals.
5188 * math/bits/math-finite.h [__USE_MISC]: Likewise.
5189 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
5190 * math/math.h: Update #else and #endif comments.
5191 [__USE_MISC]: Remove redundant conditionals.
5192 * misc/sys/uio.h: Update #endif comments.
5193 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
5194 * posix/glob.h [__USE_MISC]: Likewise.
5195 * posix/sys/types.h: Update #endif comments.
5196 [__USE_MISC]: Remove redundant conditionals.
5197 * posix/sys/wait.h: Update #endif comments.
5198 [__USE_MISC]: Remove redundant conditionals.
5199 * posix/unistd.h: Update #endif comments.
5200 [__USE_MISC]: Remove redundant conditionals.
5201 * pwd/pwd.h [__USE_GNU]: Likewise.
5202 [__USE_MISC]: Likewise.
5203 * resolv/netdb.h [__USE_GNU]: Likewise.
5204 * signal/signal.h: Update #endif comments.
5205 [__USE_MISC]: Remove redundant conditionals.
5206 * stdlib/stdlib.h: Update #else and #endif comments.
5207 [__USE_MISC]: Remove redundant conditionals.
5208 [__USE_GNU]: Likewise.
5209 * string/bits/string2.h [__USE_MISC]: Likewise.
5210 * string/string.h: Update #endif comments.
5211 [__USE_MISC]: Remove redundant conditionals.
5212 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
5214 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
5215 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
5216 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
5218 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
5220 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
5222 [__USE_MISC]: Remove redundant conditionals.
5223 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
5224 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
5225 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
5226 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
5227 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
5229 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
5230 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
5232 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
5233 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
5235 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
5237 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
5238 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
5240 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
5242 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
5243 * sysdeps/x86/bits/string.h: Update #endif comments.
5244 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
5246 * time/sys/time.h: Update #endif comments.
5247 * time/time.h: Likewise.
5248 [__USE_MISC]: Remove redundant conditionals.
5250 2014-02-21 Yury Gribov <y.gribov@samsung.com>
5253 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
5255 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
5257 * Versions.def (librt): Add GLIBC_2.17.
5259 2014-02-21 Adam Conrad <adconrad@0c3.net>
5261 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
5262 synonym for _SYS_AUXV_H to allow direct inclusion.
5263 * sysdeps/sparc/bits/hwcap.h: Likewise.
5264 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
5265 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
5266 * sysdeps/sparc/sysdep.h: Likewise.
5268 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5270 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
5272 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5274 * benchtests/bench-strrchr.c: Print length instead of position.
5276 2014-02-20 Joseph Myers <joseph@codesourcery.com>
5279 * sysdeps/unix/sysv/linux/kernel-features.h
5280 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
5281 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
5282 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
5283 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
5285 [__i386__ || __powerpc__ || __sh__ || __sparc__]
5286 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5287 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
5288 (__ASSUME_SENDMMSG): Define instead of using previous
5289 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
5290 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5291 (__ASSUME_SENDMMSG_SYSCALL): Define.
5292 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5293 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
5295 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5296 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5298 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5299 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5301 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
5302 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
5303 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
5304 [__ASSUME_SENDMMSG]: Change conditionals to
5305 [__ASSUME_SENDMMSG_SOCKETCALL].
5306 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5307 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
5309 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5310 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
5312 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
5313 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
5314 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
5315 [!__ASSUME_SENDMMSG]: Change conditional to
5316 [!__ASSUME_SENDMMSG_SOCKETCALL].
5317 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5318 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5322 * sysdeps/unix/sysv/linux/kernel-features.h
5323 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
5324 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
5325 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
5326 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
5327 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5328 [__i386__ || __sparc__]
5329 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5330 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
5331 (__ASSUME_RECVMMSG): Define instead of using previous
5332 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
5333 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5334 (__ASSUME_RECVMMSG_SYSCALL): Define.
5335 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5336 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5338 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5339 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5341 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5342 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5344 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
5345 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
5346 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
5347 [__ASSUME_RECVMMSG]: Change condition to
5348 [__ASSUME_RECVMMSG_SOCKETCALL].
5349 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5350 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5352 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5353 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5354 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5356 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
5357 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
5358 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
5359 [!__ASSUME_RECVMMSG]: Change condition to
5360 [!__ASSUME_RECVMMSG_SOCKETCALL].
5361 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5362 (__ASSUME_RECVMMSG_SYSCALL): Define.
5365 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
5366 __powerpc__ || __s390__ || __sh__ || __sparc__]
5367 (__ASSUME_SOCKETCALL): Define.
5368 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
5369 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
5370 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
5371 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
5372 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5373 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
5374 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
5375 (__ASSUME_ACCEPT4): Define instead of using previous
5376 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
5377 __powerpc__ || __sparc__ || __s390__)] condition.
5378 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5379 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
5380 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
5381 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
5382 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
5383 [!__ASSUME_ACCEPT4]: Change condition to
5384 [!__ASSUME_ACCEPT4_SOCKETCALL].
5385 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5386 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
5387 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
5388 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5389 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
5390 __ASSUME_ACCEPT4_SYSCALL.
5391 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
5392 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
5393 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5394 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
5395 __ASSUME_ACCEPT4_SYSCALL.
5396 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
5397 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
5398 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
5399 [__ASSUME_ACCEPT4]: Change condition to
5400 [__ASSUME_ACCEPT4_SOCKETCALL].
5401 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5402 (__ASSUME_SOCKETCALL): Define.
5403 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
5404 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5405 (__ASSUME_SOCKETCALL): Define.
5406 (__ASSUME_ACCEPT4): Remove.
5407 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
5409 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5410 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
5412 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5413 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
5415 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
5417 (HWCAP_ARM_LPAE): Likewise.
5418 (HWCAP_ARM_EVTSTRM): Likewise.
5419 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
5420 Add vpfd32, lpae and evtstrm.
5421 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
5424 2014-02-19 Joseph Myers <joseph@codesourcery.com>
5426 * math/auto-libm-test-in: Add tests of clog10.
5427 * math/auto-libm-test-out: Regenerated.
5428 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
5429 * sysdeps/i386/fpu/libm-test-ulps: Update.
5430 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5432 2014-02-18 Andreas Schwab <schwab@suse.de>
5435 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
5436 Store non-zero if the second buffer was newly allocated.
5437 (send_dg): Likewise.
5438 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
5439 to send_vc and send_dg.
5440 (res_nsend): Pass NULL for ansp2_malloced.
5441 * resolv/res_query.c (__libc_res_nquery): Add parameter
5442 answerp2_malloced and pass it down to __libc_res_nsend.
5443 (res_nquery): Pass additional NULL to __libc_res_nquery.
5444 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
5445 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
5446 second answer buffer if answerp2_malloced was set.
5447 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
5448 (__libc_res_nquerydomain): Add parameter
5449 answerp2_malloced and pass it down to __libc_res_nquery.
5450 (res_nquerydomain): Pass additional NULL to
5451 __libc_res_nquerydomain.
5452 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
5453 additional NULL to __libc_res_nsend and __libc_res_nquery.
5454 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
5455 additional NULL to __libc_res_nsearch.
5456 (_nss_dns_gethostbyname4_r): Revert last change. Use new
5457 parameter of __libc_res_nsearch to check for separately allocated
5459 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
5461 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
5462 additional NULL to __libc_res_nquery.
5463 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
5465 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
5466 * include/resolv.h: Update prototypes of __libc_res_nquery,
5467 __libc_res_nsearch, __libc_res_nsend.
5469 2014-02-18 Joseph Myers <joseph@codesourcery.com>
5471 * math/auto-libm-test-in: Add tests of fma.
5472 * math/auto-libm-test-out: Regenerated.
5473 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
5474 (fma_towardzero_test_data): Likewise.
5475 (fma_downward_test_data): Likewise.
5476 (fma_upward_test_data): Likewise.
5477 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
5479 (rounding_modes): Add values for new field.
5480 (func_calc_method): Add value mpfr_fff_f.
5481 (func_calc_desc): Add mpfr_fff_f union field.
5482 (test_function): Add field exact_args.
5483 (FUNC): Add macro argument EXACT_ARGS.
5484 (FUNC_mpfr_f_f): Update call to FUNC.
5485 (FUNC_mpfr_f_f): Likewise.
5486 (FUNC_mpfr_ff_f): Likewise.
5487 (FUNC_mpfr_if_f): Likewise.
5488 (FUNC_mpc_c_f): Likewise.
5489 (FUNC_mpc_c_c): Likewise.
5490 (test_functions): Add fma. Update calls to FUNC.
5491 (handle_input_arg): Add argument exact_args.
5492 (add_test): Update call to handle_input_arg.
5493 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
5494 (output_for_one_input_case): Update call to calc_generic_results.
5495 Recalculate exact zero results in each rounding mode.
5497 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
5498 non-negative before setting low bit.
5499 * math/auto-libm-test-in: Mark one asin test possibly having
5501 * math/auto-libm-test-out: Regenerated.
5502 * sysdeps/i386/fpu/libm-test-ulps: Update.
5503 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5505 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
5507 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
5508 * sysdeps/unix/sysv/linux/microblaze: Move directory from
5509 ports/sysdeps/unix/sysv/linux/microblaze.
5510 * README: Add missing listing for microblaze*-*-linux-gnu.
5512 2014-02-16 Mike Frysinger <vapier@gentoo.org>
5514 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
5515 * sysdeps/unix/sysv/linux/ia64: Move directory from
5516 ports/sysdeps/unix/sysv/linux/ia64.
5517 * README: Update listing for ia64-*-linux-gnu.
5519 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
5520 Joseph Myers <joseph@codesourcery.com>
5522 * Makeconfig (test-name): New variable.
5523 (evaluate-test): Likewise.
5524 * Makerules (do-test-clean): Remove .test-result files.
5525 (common-mostlyclean): Likewise.
5526 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
5527 * scripts/evaluate-test.sh: New file.
5529 2014-02-14 Joseph Myers <joseph@codesourcery.com>
5531 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
5532 separate $(objpfx)tst-fopenloc-cmp.out and
5533 $(objpfx)tst-fopenloc-mem.out targets.
5534 (tests): Update dependencies.
5535 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
5536 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
5537 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
5538 (tst-rxspencer-no-utf8-ARGS): New variable.
5539 (tst-rxspencer-no-utf8-ENV): Likewise.
5540 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
5541 instead of $(objpfx)tst-rxspencer-mem.
5542 ($(objpfx)tst-rxspencer-mem): Change target to
5543 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
5544 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
5545 * posix/tst-rxspencer-no-utf8.c: New file.
5547 * elf/Makefile ($(objpfx)order.out): Remove rule.
5548 [$(run-built-tests) = yes] (tests): Depend on
5549 $(objpfx)order-cmp.out.
5550 ($(objpfx)order-cmp.out): New rule.
5551 [$(run-built-tests) = yes] (tests): Depend on
5552 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
5553 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
5554 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
5555 $(objpfx)tst-array5-static-cmp.out.
5556 ($(objpfx)tst-array1.out): Remove rule.
5557 ($(objpfx)tst-array1-cmp.out): New rule.
5558 ($(objpfx)tst-array1-static.out): Remove rule.
5559 ($(objpfx)tst-array1-static-cmp.out): New rule.
5560 ($(objpfx)tst-array2.out): Remove rule.
5561 ($(objpfx)tst-array2-cmp.out): New rule.
5562 ($(objpfx)tst-array3.out): Remove rule.
5563 ($(objpfx)tst-array3-cmp.out): New rule.
5564 ($(objpfx)tst-array4.out): Remove rule.
5565 ($(objpfx)tst-array4-cmp.out): New rule.
5566 ($(objpfx)tst-array5.out): Remove rule.
5567 ($(objpfx)tst-array5-cmp.out): New rule.
5568 ($(objpfx)tst-array5-static.out): Remove rule.
5569 ($(objpfx)tst-array5-static-cmp.out): New rule.
5570 [$(run-built-tests) = yes] (tests): Depend on
5571 $(objpfx)order2-cmp.out.
5572 ($(objpfx)order2.out): Remove rule.
5573 ($(objpfx)order2-cmp.out): New rule.
5574 ($(objpfx)tst-initorder.out): Remove rule.
5575 [$(run-built-tests) = yes] (tests): Depend on
5576 $(objpfx)tst-initorder-cmp.out.
5577 ($(objpfx)tst-initorder-cmp.out): New rule.
5578 ($(objpfx)tst-initorder2.out): Remove rule.
5579 [$(run-built-tests) = yes] (tests): Depend on
5580 $(objpfx)tst-initorder2-cmp.out.
5581 ($(objpfx)tst-initorder2-cmp.out): New rule.
5582 [$(run-built-tests) = yes] (tests): Depend on
5583 $(objpfx)tst-unused-dep-cmp.out.
5584 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
5585 ($(objpfx)tst-unused-dep-cmp.out): New rule.
5586 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
5587 on $(objpfx)tst-setvbuf1-cmp.out.
5588 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
5589 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
5590 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
5591 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
5592 ($(objpfx)tst-svc.out): Remove rule.
5593 ($(objpfx)tst-svc-cmp.out): New rule.
5595 2014-02-13 Joseph Myers <joseph@codesourcery.com>
5597 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
5598 * ctype/ctype.h [__USE_MISC]: Likewise.
5599 * dirent/dirent.h [__USE_MISC]: Likewise.
5600 * grp/grp.h [__USE_MISC]: Likewise.
5601 * io/fcntl.h [__USE_MISC]: Likewise.
5602 * io/sys/stat.h [__USE_MISC]: Likewise.
5603 * libio/stdio.h [__USE_MISC]: Likewise.
5604 * posix/unistd.h [__USE_MISC]: Likewise.
5605 * pwd/pwd.h [__USE_MISC]: Likewise.
5606 * stdlib.h [__USE_MISC]: Likewise.
5607 * string/bits/string2.h [__USE_MISC]: Likewise.
5608 * string/string.h [__USE_MISC]: Likewise.
5609 * time/time.h [__USE_MISC]: Likewise.
5611 2014-02-13 Andreas Schwab <schwab@suse.de>
5614 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
5615 second answer buffer if it was separately allocated.
5617 2014-02-12 Joseph Myers <joseph@codesourcery.com>
5619 * sysdeps/mips/math-tests.h: Include <features.h>.
5620 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
5621 (ROUNDING_TESTS_long_double): Do not define.
5622 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
5623 (EXCEPTION_TESTS_long_double): Likewise.
5624 * sysdeps/mips/mips64/libm-test-ulps: Update.
5626 * include/features.h (__USE_BSD): Remove macro definitions.
5627 (__USE_SVID): Likewise.
5628 (_BSD_SOURCE): Likewise.
5629 (_SVID_SOURCE): Likewise.
5630 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
5631 from definition of _DEFAULT_SOURCE.
5632 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
5634 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
5635 * bits/mman.h [__USE_BSD]: Likewise.
5636 * bits/termios.h [__USE_BSD]: Likewise.
5637 * bits/waitstatus.h [__USE_BSD]: Likewise.
5638 * ctype/ctype.h [__USE_SVID]: Likewise.
5639 * dirent/dirent.h [__USE_BSD]: Likewise.
5640 * grp/grp.h [__USE_SVID]: Likewise.
5641 [__USE_BSD]: Likewise.
5642 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
5643 * io/fcntl.h [__USE_BSD]: Likewise.
5644 * io/ftw.h [__USE_BSD]: Likewise.
5645 * io/sys/stat.h [__USE_BSD]: Likewise.
5646 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
5647 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
5648 * libio/stdio.h [__USE_SVID]: Likewise.
5649 [__USE_BSD]: Likewise.
5650 * math/math.h [__USE_SVID]: Likewise.
5651 [__USE_BSD]: Likewise.
5652 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
5653 * misc/bits/syslog.h [__USE_BSD]: Likewise.
5654 * misc/search.h [__USE_SVID]: Likewise.
5655 * misc/sys/mman.h [__USE_BSD]: Likewise.
5656 * misc/sys/syslog.h [__USE_BSD]: Likewise.
5657 * misc/sys/uio.h [__USE_BSD]: Likewise.
5658 * posix/bits/unistd.h [__USE_BSD]: Likewise.
5659 * posix/glob.h [__USE_BSD]: Likewise.
5660 * posix/regex.h [__USE_BSD]: Likewise.
5661 * posix/sys/types.h [__USE_BSD]: Likewise.
5662 [__USE_SVID]: Likewise.
5663 * posix/sys/utsname.h [__USE_SVID]: Likewise.
5664 * posix/sys/wait.h [__USE_BSD]: Likewise.
5665 [__USE_SVID]: Likewise.
5666 * posix/unistd.h [__USE_BSD]: Likewise.
5667 [__USE_SVID]: Likewise.
5668 * pwd/pwd.h [__USE_SVID]: Likewise.
5669 * resolv/netdb.h [__USE_BSD]: Likewise.
5670 * setjmp/setjmp.h [__USE_BSD]: Likewise.
5671 * signal/signal.h [__USE_BSD]: Likewise.
5672 [__USE_SVID]: Likewise.
5673 * socket/sys/socket.h [__USE_BSD]: Likewise.
5674 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
5675 * stdlib/stdlib.h [__USE_BSD]: Likewise.
5676 [__USE_SVID]: Likewise.
5677 * string/bits/string2.h [__USE_BSD]: Likewise.
5678 [__USE_SVID]: Likewise.
5679 * string/bits/string3.h [__USE_BSD]: Likewise.
5680 * string/endian.h [__USE_BSD]: Likewise.
5681 * string/string.h [__USE_SVID]: Likewise.
5682 [__USE_BSD]: Likewise.
5683 * string/strings.h [__USE_BSD]: Likewise.
5684 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
5685 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
5686 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
5687 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
5688 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
5689 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
5691 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
5693 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
5694 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
5696 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
5697 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
5699 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
5701 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
5702 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
5703 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
5705 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
5707 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
5708 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
5709 * termios/termios.h [__USE_BSD]: Likewise.
5710 * time/sys/time.h [__USE_BSD]: Likewise.
5711 * time/time.h [__USE_BSD]: Likewise.
5712 [__USE_SVID]: Likewise.
5714 * Makefile (subdir_targets): Remove subdir_lint.out.
5716 * stdio-common/Makefile (do-tst-unbputc): Remove target.
5717 (do-tst-printf): Likewise.
5718 (tests): Depend directly on $(objpfx)tst-unbputc.out and
5719 $(objpfx)tst-printf.out.
5721 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
5723 * Makerules (check-abi-%): Change target to
5724 $(objpfx)check-abi-%.out.
5725 (check-abi target): Update dependencies.
5726 (check-abi-pattern variable): Redirect output of diff to $@.
5727 (check-abi variable): Likewise.
5728 * elf/Makefile (check-abi): Update dependencies.
5730 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
5732 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
5733 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
5735 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
5736 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
5737 value has largest subnormal exponent.
5738 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
5739 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
5740 * sysdeps/aarch64/soft-fp/sfp-machine.h
5741 (_FP_TININESS_AFTER_ROUNDING): New macro.
5742 * sysdeps/alpha/soft-fp/sfp-machine.h
5743 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5744 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5746 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
5747 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5748 * sysdeps/mips/soft-fp/sfp-machine.h
5749 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5750 * sysdeps/powerpc/soft-fp/sfp-machine.h
5751 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5752 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5754 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
5755 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5756 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
5757 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5758 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5761 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
5764 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
5767 2014-02-12 Richard Henderson <rth@redhat.com>
5769 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
5770 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
5771 * sysdeps/unix/sysv/linux/alpha: Move directory from
5772 ports/sysdeps/unix/sysv/linux/alpha.
5773 * README: Update listing for alpha-*-linux-gnu.
5775 2014-02-11 Joseph Myers <joseph@codesourcery.com>
5777 * include/features.h: Update comment documenting feature test
5779 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
5781 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
5782 (_SVID_SOURCE): Likewise.
5783 (_DEFAULT_SOURCE): Update description of default features.
5784 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
5786 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
5787 (S_ISVTX): Likewise.
5788 * manual/math.texi (Mathematical Constants): Likewise.
5789 * manual/signal.texi (Interrupted Primitives): Likewise.
5790 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
5791 * math/test-matherr.c (_SVID_SOURCE): Do not define.
5792 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
5793 Don't refer to _SVID_SOURCE in warning text.
5795 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5797 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
5799 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
5800 * sysdeps/mips/dl-lookup.c: Remove.
5801 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
5803 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
5806 * math/auto-libm-test-in: Add testcase for expl.
5807 * math/auto-libm-test-out: Regenerate.
5808 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
5809 calculation of unsafe.
5810 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
5812 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
5814 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
5815 * sysdeps/unix/sysv/linux/aarch64: Move directory from
5816 ports/sysdeps/unix/sysv/linux/aarch64.
5817 * README: Update listing for aarch64*-*-linux-gnu.
5819 2014-02-11 Will Newton <will.newton@linaro.org>
5821 * manual/probes.texi (Mathematical Function Probes): Use
5822 "triggered" instead of "hit".
5824 * manual/probes.texi (Internal Probes): Add documentation
5825 of setjmp, longjmp and longjmp_target probes.
5827 * include/stap-probe.h: Add comment about probe argument
5830 * malloc/mtrace.c (attribute_hidden): Remove unused macro
5831 definition. (tr_where, tr_freehook, tr_mallochook,
5832 tr_reallochook, tr_memalignhook): Use ANSI protoype.
5834 2014-02-11 David S. Miller <davem@davemloft.net>
5836 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
5837 processing int_tests.
5839 2014-02-10 Joseph Myers <joseph@codesourcery.com>
5841 * sysdeps/mips: Move directory from ports/sysdeps/mips.
5842 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
5843 * sysdeps/unix/sysv/linux/mips: Move directory from
5844 ports/sysdeps/unix/sysv/linux/mips.
5845 * README: Update listing for mips-*-linux-gnu and
5848 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
5850 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
5851 * sysdeps/unix/sysv/linux/m68k: Move directory from
5852 ports/sysdeps/unix/sysv/linux/m68k.
5853 * README: Update listing for m68k-*-linux-gnu.
5855 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
5857 * sysdeps/tile: Move directory from ports/sysdeps/tile.
5858 * sysdeps/unix/sysv/linux/generic: Move directory from
5859 ports/sysdeps/unix/sysv/linux/generic.
5860 * sysdeps/unix/sysv/linux/tile: Move directory from
5861 ports/sysdeps/unix/sysv/linux/tile.
5862 * README: Update listing for tile*-*-linux-gnu.
5864 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
5866 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
5868 * benchtests/bench-memmem.c (simple_memmem): Likewise.
5869 * catgets/open_catalog.c (__open_catalog): Likewise.
5870 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
5871 * debug/confstr_chk.c: Likewise.
5872 * debug/fread_chk.c (__fread_chk): Likewise.
5873 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
5874 * debug/getgroups_chk.c: Likewise.
5875 * debug/mbsnrtowcs_chk.c: Likewise.
5876 * debug/mbsrtowcs_chk.c: Likewise.
5877 * debug/mbstowcs_chk.c: Likewise.
5878 * debug/memcpy_chk.c: Likewise.
5879 * debug/memmove_chk.c: Likewise.
5880 * debug/mempcpy_chk.c: Likewise.
5881 * debug/memset_chk.c: Likewise.
5882 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
5883 * debug/strcat_chk.c (__strcat_chk): Likewise.
5884 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
5885 * debug/strncat_chk.c (__strncat_chk): Likewise.
5886 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
5887 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
5888 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
5889 * debug/wcpncpy_chk.c: Likewise.
5890 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
5891 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
5892 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
5893 * debug/wcsncpy_chk.c: Likewise.
5894 * debug/wcsnrtombs_chk.c: Likewise.
5895 * debug/wcsrtombs_chk.c: Likewise.
5896 * debug/wcstombs_chk.c: Likewise.
5897 * debug/wmemcpy_chk.c: Likewise.
5898 * debug/wmemmove_chk.c: Likewise.
5899 * debug/wmempcpy_chk.c: Likewise.
5900 * debug/wmemset_chk.c: Likewise.
5901 * dirent/scandirat.c (SCANDIRAT): Likewise.
5902 * dlfcn/dladdr1.c (dladdr1): Likewise.
5903 * dlfcn/dladdr.c (dladdr): Likewise.
5904 * dlfcn/dlclose.c (dlclose_doit): Likewise.
5905 * dlfcn/dlerror.c (__dlerror): Likewise.
5906 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
5907 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
5908 * dlfcn/dlopen.c (dlopen_doit): Likewise.
5909 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
5910 * dlfcn/dlsym.c (dlsym_doit): Likewise.
5911 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
5912 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
5913 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
5915 * elf/dl-conflict.c: Likewise.
5916 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
5917 * elf/dl-dst.h: Likewise.
5918 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
5919 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
5920 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
5921 * elf/dl-init.c (call_init, _dl_init): Likewise.
5922 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
5923 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
5924 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
5926 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
5928 * elf/dl-minimal.c (__libc_memalign): Likewise.
5929 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
5930 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
5931 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
5932 * elf/dl-sym.c (do_sym): Likewise.
5933 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
5934 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
5935 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
5936 * elf/dl-writev.h (_dl_writev): Likewise.
5937 * elf/ldconfig.c (search_dir): Likewise.
5938 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
5939 (dl_main): Likewise.
5940 * elf/setup-vdso.h (setup_vdso): Likewise.
5941 * grp/compat-initgroups.c (compat_call): Likewise.
5942 * grp/fgetgrent.c (fgetgrent): Likewise.
5943 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
5944 * grp/putgrent.c (putgrent): Likewise.
5945 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
5947 * hurd/hurdinit.c: Likewise.
5948 * iconvdata/8bit-gap.c (struct): Likewise.
5949 * iconvdata/ansi_x3.110.c : Likewise.
5950 * iconvdata/big5.c : Likewise.
5951 * iconvdata/big5hkscs.c : Likewise.
5952 * iconvdata/cp1255.c: Likewise.
5953 * iconvdata/cp1258.c : Likewise.
5954 * iconvdata/cp932.c : Likewise.
5955 * iconvdata/euc-cn.c: Likewise.
5956 * iconvdata/euc-jisx0213.c : Likewise.
5957 * iconvdata/euc-jp.c: Likewise.
5958 * iconvdata/euc-jp-ms.c : Likewise.
5959 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
5960 * iconvdata/gb18030.c : Likewise.
5961 * iconvdata/gbbig5.c (const): Likewise.
5962 * iconvdata/gbgbk.c: Likewise.
5963 * iconvdata/gbk.c : Likewise.
5964 * iconvdata/ibm1364.c : Likewise.
5965 * iconvdata/ibm930.c : Likewise.
5966 * iconvdata/ibm932.c: Likewise.
5967 * iconvdata/ibm933.c : Likewise.
5968 * iconvdata/ibm935.c : Likewise.
5969 * iconvdata/ibm937.c : Likewise.
5970 * iconvdata/ibm939.c : Likewise.
5971 * iconvdata/ibm943.c: Likewise.
5972 * iconvdata/iso_11548-1.c: Likewise.
5973 * iconvdata/iso-2022-cn.c : Likewise.
5974 * iconvdata/iso-2022-cn-ext.c : Likewise.
5975 * iconvdata/iso-2022-jp-3.c: Likewise.
5976 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
5977 * iconvdata/iso-2022-kr.c : Likewise.
5978 * iconvdata/iso646.c (gconv_end): Likewise.
5979 * iconvdata/iso_6937-2.c : Likewise.
5980 * iconvdata/iso_6937.c : Likewise.
5981 * iconvdata/iso8859-1.c: Likewise.
5982 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
5983 * iconvdata/shift_jisx0213.c : Likewise.
5984 * iconvdata/sjis.c : Likewise.
5985 * iconvdata/t.61.c : Likewise.
5986 * iconvdata/tcvn5712-1.c : Likewise.
5987 * iconvdata/tscii.c: Likewise.
5988 * iconvdata/uhc.c : Likewise.
5989 * iconvdata/unicode.c (gconv_end): Likewise.
5990 * iconvdata/utf-16.c (gconv_end): Likewise.
5991 * iconvdata/utf-32.c (gconv_end): Likewise.
5992 * iconvdata/utf-7.c (base64): Likewise.
5993 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
5994 * iconv/gconv_close.c (__gconv_close): Likewise.
5995 * iconv/gconv_open.c (__gconv_open): Likewise.
5996 * iconv/gconv_simple.c (internal_ucs4_loop_single)
5997 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
5998 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
5999 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
6000 (ucs4le_internal_loop_single): Likewise.
6001 * iconv/iconv.c (iconv): Likewise.
6002 * iconv/iconv_close.c: Likewise.
6003 * iconv/loop.c (SINGLE): Likewise.
6004 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
6005 * include/atomic.h: Likewise.
6006 * inet/inet6_option.c (option_alloc): Likewise.
6007 * intl/bindtextdom.c (set_binding_values): Likewise.
6008 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
6009 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
6010 * intl/localealias.c (read_alias_file): Likewise.
6011 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
6012 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
6013 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
6014 * libio/fmemopen.c (fmemopen): Likewise.
6015 * libio/iofgets.c (_IO_fgets): Likewise.
6016 * libio/iofgets_u.c (fgets_unlocked): Likewise.
6017 * libio/iofgetws.c (fgetws): Likewise.
6018 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
6019 * libio/iogetdelim.c (_IO_getdelim): Likewise.
6020 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
6021 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
6022 * locale/findlocale.c (_nl_find_locale): Likewise.
6023 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
6024 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
6026 * locale/setlocale.c (setlocale): Likewise.
6027 * login/programs/pt_chown.c (main): Likewise.
6028 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
6029 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
6030 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
6031 (mmap, mmap64, mremap, munmap): Likewise.
6032 * math/e_exp2l.c: Likewise.
6033 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
6034 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
6035 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
6036 * math/s_catan.c (__catan): Likewise.
6037 * math/s_catanf.c (__catanf): Likewise.
6038 * math/s_catanh.c (__catanh): Likewise.
6039 * math/s_catanhf.c (__catanhf): Likewise.
6040 * math/s_catanhl.c (__catanhl): Likewise.
6041 * math/s_catanl.c (__catanl): Likewise.
6042 * math/s_ccosh.c (__ccosh): Likewise.
6043 * math/s_ccoshf.c (__ccoshf): Likewise.
6044 * math/s_ccoshl.c (__ccoshl): Likewise.
6045 * math/s_cexp.c (__cexp): Likewise.
6046 * math/s_cexpf.c (__cexpf): Likewise.
6047 * math/s_cexpl.c (__cexpl): Likewise.
6048 * math/s_clog10.c (__clog10): Likewise.
6049 * math/s_clog10f.c (__clog10f): Likewise.
6050 * math/s_clog10l.c (__clog10l): Likewise.
6051 * math/s_clog.c (__clog): Likewise.
6052 * math/s_clogf.c (__clogf): Likewise.
6053 * math/s_clogl.c (__clogl): Likewise.
6054 * math/s_csin.c (__csin): Likewise.
6055 * math/s_csinf.c (__csinf): Likewise.
6056 * math/s_csinh.c (__csinh): Likewise.
6057 * math/s_csinhf.c (__csinhf): Likewise.
6058 * math/s_csinhl.c (__csinhl): Likewise.
6059 * math/s_csinl.c (__csinl): Likewise.
6060 * math/s_csqrt.c (__csqrt): Likewise.
6061 * math/s_csqrtf.c (__csqrtf): Likewise.
6062 * math/s_csqrtl.c (__csqrtl): Likewise.
6063 * math/s_ctan.c (__ctan): Likewise.
6064 * math/s_ctanf.c (__ctanf): Likewise.
6065 * math/s_ctanh.c (__ctanh): Likewise.
6066 * math/s_ctanhf.c (__ctanhf): Likewise.
6067 * math/s_ctanhl.c (__ctanhl): Likewise.
6068 * math/s_ctanl.c (__ctanl): Likewise.
6069 * math/w_pow.c: Likewise.
6070 * math/w_powf.c: Likewise.
6071 * math/w_powl.c: Likewise.
6072 * math/w_scalb.c (sysv_scalb): Likewise.
6073 * math/w_scalbf.c (sysv_scalbf): Likewise.
6074 * math/w_scalbl.c (sysv_scalbl): Likewise.
6075 * misc/error.c (error_tail): Likewise.
6076 * misc/pselect.c (__pselect): Likewise.
6077 * nis/nis_callback.c (__nis_create_callback): Likewise.
6078 * nis/nis_call.c (__nisfind_server): Likewise.
6079 * nis/nis_creategroup.c (nis_creategroup): Likewise.
6080 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
6081 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
6082 * nis/nis_getservlist.c (nis_getservlist): Likewise.
6083 * nis/nis_lookup.c (nis_lookup): Likewise.
6084 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
6085 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
6086 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
6087 * nis/nis_xdr.c (xdr_endpoint): Likewise.
6088 * nis/nss_compat/compat-grp.c (getgrent_next_file)
6089 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
6090 * nis/nss_compat/compat-initgroups.c (add_group)
6091 (internal_getgrent_r): Likewise.
6092 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
6093 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
6094 * nis/nss_compat/compat-spwd.c (getspent_next_file)
6095 (internal_getspnam_r): Likewise.
6096 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
6097 (_nss_nis_getaliasbyname_r): Likewise.
6098 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
6099 (_nss_nis_getntohost_r): Likewise.
6100 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
6101 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
6102 (_nss_nis_getgrgid_r): Likewise.
6103 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
6104 (internal_nis_gethostent_r, internal_gethostbyname2_r)
6105 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
6106 (_nss_nis_gethostbyname4_r): Likewise.
6107 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
6108 (initgroups_netid): Likewise.
6109 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
6110 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
6111 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
6112 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
6113 (_nss_nis_getprotobynumber_r): Likewise.
6114 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
6115 (_nss_nis_getsecretkey): Likewise.
6116 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
6117 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
6118 (_nss_nis_getpwuid_r): Likewise.
6119 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
6120 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
6121 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
6122 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
6123 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
6124 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
6125 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
6127 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
6128 (_nss_nisplus_getntohost_r): Likewise.
6129 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
6130 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
6131 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
6132 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
6134 * nis/nss_nisplus/nisplus-initgroups.c
6135 (_nss_nisplus_initgroups_dyn): Likewise.
6136 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
6137 (_nss_nisplus_getnetbyaddr_r): Likewise.
6138 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
6139 (_nss_nisplus_getprotobynumber_r): Likewise.
6140 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
6141 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
6142 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
6144 * nis/nss_nisplus/nisplus-service.c
6145 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
6146 (_nss_nisplus_getservbyport_r): Likewise.
6147 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
6148 (_nss_nisplus_getspnam_r): Likewise.
6149 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
6151 * nscd/aicache.c (addhstaiX): Likewise.
6152 * nscd/cache.c (cache_search, prune_cache): Likewise.
6153 * nscd/connections.c (register_traced_file, send_ro_fd)
6154 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
6155 (main_loop_epoll): Likewise.
6156 * nscd/grpcache.c (addgrbyX): Likewise.
6157 * nscd/hstcache.c (addhstbyX): Likewise.
6158 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6159 * nscd/mem.c (gc, mempool_alloc): Likewise.
6160 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
6161 (addinnetgrX): Likewise.
6162 * nscd/nscd-client.h (__nscd_acquire_maplock)
6163 (__nscd_drop_map_ref): Likewise.
6164 * nscd/nscd_getai.c (__nscd_getai): Likewise.
6165 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
6166 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
6168 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
6169 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
6170 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
6171 (__nscd_get_map_ref): Likewise.
6172 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
6173 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
6175 * nscd/pwdcache.c (addpwbyX): Likewise.
6176 * nscd/selinux.c (preserve_capabilities): Likewise.
6177 * nscd/servicescache.c (addservbyX): Likewise.
6178 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
6179 * posix/fnmatch.c (fnmatch): Likewise.
6180 * posix/getopt.c (_getopt_internal_r): Likewise.
6181 * posix/glob.c (glob, glob_in_dir): Likewise.
6182 * posix/wordexp.c (exec_comm_child): Likewise.
6183 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
6184 (getanswer_r, gaih_getanswer_slice): Likewise.
6185 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
6186 * resolv/res_init.c: Likewise.
6187 * resolv/res_mkquery.c (res_nmkquery): Likewise.
6188 * resolv/res_query.c (__libc_res_nquery): Likewise.
6189 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
6191 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
6192 * stdio-common/perror.c (perror): Likewise.
6193 * stdio-common/printf_fp.c (___printf_fp): Likewise.
6194 * stdio-common/tmpnam.c (tmpnam): Likewise.
6195 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
6196 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
6197 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
6199 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
6200 * stdlib/putenv.c (putenv): Likewise.
6201 * stdlib/setenv.c (__add_to_environ): Likewise.
6202 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
6203 * stdlib/strtol_l.c (INTERNAL): Likewise.
6204 * string/memmem.c (memmem): Likewise.
6205 * string/strerror.c (strerror): Likewise.
6206 * string/strnlen.c (__strnlen): Likewise.
6207 * string/test-memmem.c (simple_memmem): Likewise.
6208 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
6209 * sunrpc/pm_getport.c (__get_socket): Likewise.
6210 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
6211 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
6212 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
6213 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
6215 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
6216 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
6217 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
6218 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
6219 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
6220 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
6222 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
6224 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
6225 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
6226 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6227 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
6228 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
6229 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
6230 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
6231 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
6232 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
6233 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
6234 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
6235 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
6237 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
6239 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
6241 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
6242 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
6243 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
6244 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
6245 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
6246 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
6247 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
6248 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
6249 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
6250 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
6251 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
6252 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6253 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
6254 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
6255 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6256 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
6258 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
6260 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
6262 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
6264 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6265 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6266 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
6268 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
6269 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
6270 * sysdeps/posix/opendir.c (__opendirat): Likewise.
6271 * sysdeps/posix/sleep.c: Likewise.
6272 * sysdeps/posix/tempname.c: Likewise.
6273 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
6274 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
6276 * sysdeps/powerpc/powerpc32/dl-machine.h
6277 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
6278 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
6279 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
6280 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
6281 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
6283 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
6284 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
6285 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
6286 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
6287 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
6288 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
6289 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
6290 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
6291 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6292 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
6293 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
6294 (elf_machine_lazy_rel): Likewise.
6295 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
6296 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
6297 (elf_machine_lazy_rel): Likewise.
6298 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
6299 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
6300 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
6301 * sysdeps/unix/grantpt.c (grantpt): Likewise.
6302 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
6303 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
6304 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
6305 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6307 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
6308 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
6309 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
6310 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
6311 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
6312 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
6313 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
6314 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
6315 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
6316 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
6317 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
6319 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
6320 (__posix_fallocate64_l64): Likewise.
6321 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
6322 (posix_fallocate): Likewise.
6323 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
6325 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6326 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
6327 (getifaddrs_internal): Likewise.
6328 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
6329 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
6330 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
6331 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
6332 * sysdeps/unix/sysv/linux/posix_fallocate64.c
6333 (__posix_fallocate64_l64): Likewise.
6334 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
6336 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
6337 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
6338 (__get_clockfreq): Likewise.
6339 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
6340 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
6341 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
6342 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6343 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6344 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
6345 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
6346 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
6348 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
6349 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
6350 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
6351 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
6352 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
6353 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
6354 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
6356 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
6357 (posix_fallocate): Likewise.
6358 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6359 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
6360 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
6361 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
6362 (elf_machine_rela, elf_machine_rela_relative)
6363 (elf_machine_lazy_rel): Likewise.
6364 * time/asctime.c (asctime_internal): Likewise.
6365 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
6366 * time/tzset.c (__tzset_parse_tz): Likewise.
6367 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
6368 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
6369 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
6370 * wcsmbs/wcsmbsload.h: Likewise.
6373 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
6375 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
6376 (arena_get2): Remove THREAD_STATS conditionals.
6377 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
6378 (__malloc_stats, int): Likewise.
6380 2014-02-08 Mike Frysinger <vapier@gentoo.org>
6382 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
6383 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
6385 * manual/setjmp.texi: Fix typos/grammar errors.
6387 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
6388 Only return early when n is <= 0. Delete unused return statement.
6390 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
6391 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
6392 * debug/tst-longjmp_chk3.c: New file.
6394 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
6395 (test_main): Replace code with set_fortify_handler call.
6396 * debug/test-strcpy_chk.c: Likewise.
6397 * debug/tst-chk1.c: Likewise.
6398 * debug/tst-longjmp_chk.c: Likewise.
6399 * test-skeleton.c: Include fcntl.h & paths.h
6400 (set_fortify_handler): Define.
6402 * debug/tst-longjmp_chk.c: Add header comment and include
6404 (do_test): Mark static.
6405 (TEST_FUNCTION): Define.
6407 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
6408 (IP_PMTUDISC_INTERFACE): Likewise.
6409 (IP_MULTICAST_IF): Likewise.
6410 (IP_MULTICAST_TTL): Likewise.
6411 (IP_MULTICAST_LOOP): Likewise.
6412 (IP_ADD_MEMBERSHIP): Likewise.
6413 (IP_DROP_MEMBERSHIP): Likewise.
6414 (IP_UNBLOCK_SOURCE): Likewise.
6415 (IP_BLOCK_SOURCE): Likewise.
6416 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
6417 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
6418 (IP_MSFILTER): Likewise.
6419 (MCAST_JOIN_GROUP): Likewise.
6420 (MCAST_BLOCK_SOURCE): Likewise.
6421 (MCAST_UNBLOCK_SOURCE): Likewise.
6422 (MCAST_LEAVE_GROUP): Likewise.
6423 (MCAST_JOIN_SOURCE_GROUP): Likewise.
6424 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
6425 (MCAST_MSFILTER): Likewise.
6426 (IP_MULTICAST_ALL): Likewise.
6427 (IP_UNICAST_IF): Likewise.
6429 * timezone/Makefile: Delete $(have-ksh) check.
6430 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
6431 * timezone/tzselect.ksh: Add +x mode bits.
6433 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
6434 (ANON_INODE_FS_MAGIC): Likewise.
6435 (BDEVFS_MAGIC): Likewise.
6436 (BINFMTFS_MAGIC): Likewise.
6437 (BTRFS_TEST_MAGIC): Likewise.
6438 (CRAMFS_MAGIC_WEND): Likewise.
6439 (DEBUGFS_MAGIC): Likewise.
6440 (ECRYPTFS_SUPER_MAGIC): Likewise.
6441 (EXT3_SUPER_MAGIC): Likewise.
6442 (EXT4_SUPER_MAGIC): Likewise.
6443 (FUTEXFS_SUPER_MAGIC): Likewise.
6444 (HOSTFS_SUPER_MAGIC): Likewise.
6445 (HUGETLBFS_MAGIC): Likewise.
6446 (MINIX3_SUPER_MAGIC): Likewise.
6447 (MTD_INODE_FS_MAGIC): Likewise.
6448 (NILFS_SUPER_MAGIC): Likewise.
6449 (OPENPROM_SUPER_MAGIC): Likewise.
6450 (PIPEFS_MAGIC): Likewise.
6451 (PSTOREFS_MAGIC): Likewise.
6452 (QNX6_SUPER_MAGIC): Likewise.
6453 (RAMFS_MAGIC): Likewise.
6454 (REISERFS_SUPER_MAGIC_STRING): Likewise.
6455 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
6456 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
6457 (SECURITYFS_MAGIC): Likewise.
6458 (SELINUX_MAGIC): Likewise.
6459 (SMACK_MAGIC): Likewise.
6460 (SOCKFS_MAGIC): Likewise.
6461 (SQUASHFS_MAGIC): Likewise.
6462 (STACK_END_MAGIC): Likewise.
6463 (TMPFS_MAGIC): Likewise.
6464 (USBDEVICE_SUPER_MAGIC): Likewise.
6465 (V9FS_MAGIC): Likewise.
6466 (XENFS_SUPER_MAGIC): Likewise.
6467 (CRAMFS_MAGIC): Fix typo in comment.
6468 (EXT2_SUPER_MAGIC): Update comment.
6469 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
6471 2014-02-08 Joseph Myers <joseph@codesourcery.com>
6473 * sysdeps/arm: Move directory from ports/sysdeps/arm.
6474 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
6475 * sysdeps/unix/sysv/linux/arm: Move directory from
6476 ports/sysdeps/unix/sysv/linux/arm.
6477 * README: Update listing for arm-*-linux-gnueabi.
6479 * README: Remove mention of am33.
6481 2014-02-07 Roland McGrath <roland@hack.frob.com>
6483 * bits/sigset.h (__sigemptyset): Use a statement expression rather
6484 than the comma operator, to avoid "rhs of comma has no effect"
6486 (__sigfillset, __sigandset, __sigorset): Likewise.
6487 * include/signal.h (__sigemptyset): Likewise.
6488 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
6490 2014-02-07 Allan McRae <allan@archlinux.org>
6492 * version.h (RELEASE): Set to "development".
6493 (VERSION): Set to "2.19.90"
6494 * NEWS: Add 2.20 section.
6496 2014-02-06 Carlos O'Donell <carlos@redhat.com>
6499 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
6501 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
6503 * manual/contrib.texi: Update entry for Carlos O'Donell,
6504 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
6506 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
6508 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
6510 * sysdeps/unix/sysv/linux/kernel-features.h
6511 [__LINUX_KERNEL_VERSION >= 0x020621]
6512 (__ASSUME_PROC_PID_TASK_COMM): Define.
6514 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6517 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
6518 conversion when destination buffer does not have enough space.
6519 * libio/tst-ftell-partial-wide.c: New test case.
6520 * libio/Makefile (tests): Add tst-ftell-partial-wide.
6522 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
6523 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
6524 Leonard and Allan McRae.
6526 2014-02-04 David S. Miller <davem@davemloft.net>
6528 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
6531 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
6535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
6537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
6539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
6541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
6543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
6545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
6547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
6549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
6551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
6553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
6555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
6557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
6560 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6562 * nptl/shlib-versions: Change powerpc*le start to 2.17.
6563 * shlib-versions: Likewise.
6565 2014-02-04 Roland McGrath <roland@hack.frob.com>
6566 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6568 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
6569 (abilist-pattern): New variable, set to %-le.abilist.
6571 * Makerules (abilist-pattern): New variable.
6572 (vpath): Use $(abilist-pattern) in place of %.abilist.
6573 (check-abi-% pattern rule): Likewise.
6574 (check-abi, update-abi): Likewise.
6576 2014-02-04 Eric Wong <normalperson@yhbt.net>
6578 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6580 2014-02-03 Carlos O'Donell <carlos@redhat.com>
6582 * manual/startup.texi: Add next, previous, and top entries for
6583 the `Program Arguments' and `Environment Variables' nodes.
6585 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
6587 * manual/macros.texi: Add comments before MTASC-safety macros.
6589 * manual/users.texi: Document MTASC-safety properties.
6591 * manual/threads.texi (pthread_key_create, pthread_key_delete)
6592 (pthread_getspecific, pthread_setspecific): Format with
6593 @deftypefun, and add @safety note.
6594 * manual/signal.texi: Move comments that analyze the above
6595 functions to their home place.
6597 2014-02-03 Allan McRae <allan@archlinux.org>
6599 * po/sl.po: Update Slovenian translation from translation project.
6601 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
6603 * manual/time.texi (timegm): Add missing blank after @c.
6604 Reported by Joseph Myers <joseph@codesourcery.com>.
6606 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
6608 * manual/check-safety.sh: New.
6609 * manual/Makefile ($(objpfx)stamp-summary): Run it.
6611 * manual/terminal.texi: Document MTASC-safety properties.
6613 * manual/filesys.texi: Document MTASC-safety properties.
6615 * manual/errno.texi: Document MTASC-safety properties.
6617 * manual/intro.texi: Document safety identifiers and
6620 * manual/string.texi (wcstok): Fix prototype.
6621 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
6623 * manual/time.texi: Document MTASC-safety properties.
6625 * manual/string.texi: Document MTASC-safety properties.
6627 * manual/threads.texi: Document MTASC-safety properties.
6629 * manual/stdio.texi: Document MTASC-safety properties.
6631 * manual/syslog.texi: Document MTASC-safety properties.
6633 * manual/sysinfo.texi: Document MTASC-safety properties.
6635 * manual/startup.texi: Document MTASC-safety properties.
6637 * manual/socket.texi: Document MTASC-safety properties.
6639 * manual/signal.texi: Document MTASC-safety properties.
6641 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
6643 * manual/setjmp.texi: Document MTASC-safety properties.
6645 * manual/search.texi: Document MTASC-safety properties.
6647 * manual/resource.texi: Document MTASC-safety properties.
6649 * manual/process.texi: Document MTASC-safety properties.
6651 * manual/platform.texi: Document MTASC-safety properties.
6653 * manual/pipe.texi: Document MTASC-safety properties.
6655 * manual/pattern.texi: Document MTASC-safety properties.
6657 * manual/message.texi: Document MTASC-safety properties.
6660 * manual/memory.texi: Document MTASC-safety properties.
6662 * manual/math.texi: Document MTASC-safety properties.
6664 * manual/locale.texi: Document MTASC-safety properties.
6666 * manual/llio.texi: Document MTASC-safety properties.
6668 * manual/libdl.texi: New.
6670 * manual/lang.texi: Document MTASC-safety properties.
6672 * manual/job.texi: Document MTASC-safety properties.
6674 * manual/getopt.texi: Document MTASC-safety properties.
6676 * manual/ctype.texi: Document MTASC-safety properties.
6678 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
6681 * csu/libc-tls.c (static_map): Remove variable.
6682 (__libc_setup_tls): Use main executable's link map for TLS data.
6683 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
6684 casing for LM_ID_BASE and GL(dl_nns).
6685 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
6686 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
6687 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
6688 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
6689 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
6691 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
6694 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
6696 * manual/debug.texi: Document MTASC-safety properties.
6698 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
6701 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
6702 of __x86_64__ when disabling x87 inline functions.
6704 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
6706 * manual/charset.texi: Document MTASC-safety properties.
6708 * manual/crypt.texi: Document MTASC-safety properties.
6710 * manual/conf.texi: Document MTASC-safety properties.
6712 * manual/arith.texi: Document MTASC-safety properties.
6714 * manual/argp.texi: Document MTASC-safety properties.
6716 * manual/macros.texi: Introduce macros to document multi
6717 thread, asynchronous signal and asynchronous cancellation
6719 * manual/intro.texi: Introduce the properties themselves.
6721 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6723 * sysdeps/sh/sh4/Makefile: New file.
6725 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
6727 * math/gen-libm-test.pl ($srcdir): New variable.
6728 ($auto_input): Use it.
6730 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6733 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
6734 access beyond array bounds when parsing netgroups file.
6736 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
6737 the old buffer before realloc.
6739 2014-01-27 Allan McRae <allan@archlinux.org>
6741 * po/fr.po: Update French translation from translation project.
6743 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6745 * sysdeps/sh/libm-test-ulps: Regenerate.
6747 2014-01-24 David S. Miller <davem@davemloft.net>
6749 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
6751 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6753 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
6754 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
6756 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6759 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
6760 string pointers after reallocation.
6762 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6764 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
6765 __SH4A__ instead of __SH_FPU_ANY__.
6767 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6769 * sysdeps/sh/fpu_control.h: New file.
6770 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
6771 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
6772 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
6773 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
6774 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
6775 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
6776 * sysdeps/sh/sys/ucontext.h: Remove.
6777 * sysdeps/sh/sys: Remove directory.
6779 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6781 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
6782 s390/sys/ucontext.h.
6783 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
6784 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
6786 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
6789 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
6791 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6794 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
6795 Adjust the vDSO correctly for internal calls.
6796 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
6798 2014-01-20 Allan McRae <allan@archlinux.org>
6800 * po/ca.po: Update Catalan translation from translation project.
6802 2014-01-16 Mike Frysinger <vapier@gentoo.org>
6804 * sysdeps/s390/sotruss-lib.c: New file.
6806 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6809 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
6810 (__GI___gettimeofday): Alias for a different internal symbol to avoid
6811 local calls issues by not having a PLT stub required for IFUNC calls.
6812 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
6814 2014-01-16 Joseph Myers <joseph@codesourcery.com>
6816 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
6817 * math/test-fpucw-static.c: Likewise.
6819 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6822 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
6824 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6826 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
6827 implementation for powerpc.
6829 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
6832 * sysdeps/posix/system.c (__libc_system): Do not enable
6833 asynchronous cancellation.
6835 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6838 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
6839 handling only for numbers special also in the IEEE case.
6841 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6843 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6845 2014-01-11 Allan McRae <allan@archlinux.org>
6847 * po/bg.po: Update Bulgarian translation from translation project.
6849 * po/de.po: Update German translation from translation project.
6851 2014-01-10 Roland McGrath <roland@hack.frob.com>
6853 * sysdeps/generic/gcc-compat.h: New file.
6855 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6857 * benchtests/asin-inputs: Correct slow inputs.
6858 * benchtests/acos-inputs: Likewise.
6860 2014-01-10 Allan McRae <allan@archlinux.org>
6862 * po:sv.po: Update Swedish translation from translation project.
6864 * po/vi.po: Update Vietnamese translation from translation project.
6866 * po/eo.po: Update Esperanto translation from translation project.
6868 * po/cs.po: Update Czech translation from translation project.
6870 * po/nl.po: Update Dutch translation from translation project.
6872 * po/pl.po: Update Polish translation from translation project.
6874 * po/ru.po: Update Russian translation from translation project.
6876 * po/uk.po: Update Ukrainian translation from translation project.
6878 2014-01-08 Brooks Moses <bmoses@google.com>
6880 * elf/dl-load.c: Fix comment typo.
6882 2014-01-08 Carlos O'Donell <carlos@redhat.com>
6884 * po/header.pot: Rename to...
6885 * po/pot.header: ... this.
6886 * po/Makefile: Use pot.header.
6888 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
6889 Maxim Kuvyrkov <maxim@kugelworks.com>
6892 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
6893 SRC and DEST against LEN.
6895 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6898 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
6900 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
6902 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6904 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6906 2014-01-08 Joseph Myers <joseph@codesourcery.com>
6909 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
6910 for large positive arguments.
6912 2014-01-07 Joseph Myers <joseph@codesourcery.com>
6914 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6916 * math/auto-libm-test-in: Mark various tests with
6917 xfail-rounding:ldbl-128ibm.
6918 * math/auto-libm-test-out: Regenerated.
6921 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
6922 Increase overflow threshold.
6924 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
6927 * stdio-common/vfprintf.c: Check for integer overflow.
6929 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6931 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
6932 the first argument and return value of __tls_get_addr_internal.
6934 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6936 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
6937 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
6939 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6941 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
6942 * sysdeps/s390/rtld-global-offsets.sym: New file.
6943 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
6945 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
6946 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
6947 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
6949 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
6950 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
6952 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
6954 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
6956 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
6957 halfs of GPRs for high_gprs contexts.
6958 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
6959 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
6961 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
6963 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
6965 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
6966 for high GPRs (uc_high_gprs) and for future extensions
6968 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
6969 for future extensions (__reserved).
6970 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
6972 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
6973 SC_HIGHGPRS offset definition.
6974 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
6975 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
6977 * Versions.def: Add GLIBC_2.19 for libpthread.
6978 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
6979 siglongjmp for libpthread with GLIBC_2.19 symver.
6980 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
6981 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
6982 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
6983 * sysdeps/s390/__longjmp.c: New file.
6984 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
6985 * sysdeps/s390/longjmp.c: New file.
6986 * sysdeps/s390/setjmp.S: New file.
6987 * sysdeps/s390/sigjmp.S: New file.
6988 * sysdeps/s390/v1-longjmp.c: New file.
6989 * sysdeps/s390/v1-setjmp.h: New file.
6990 * sysdeps/s390/v1-sigjmp.c: New file.
6991 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
6992 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
6994 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
6995 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
6996 versioned symbols for ____longjmp_chk.
6997 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
6999 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
7001 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7003 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
7005 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7007 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
7008 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
7009 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
7010 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
7011 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
7012 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
7013 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
7014 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
7015 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
7016 * sysdeps/s390/rtld-__longjmp.c: New file.
7017 * sysdeps/s390/rtld-setjmp.S: New file.
7019 2014-01-06 Joseph Myers <joseph@codesourcery.com>
7022 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
7023 Return -__logl (x) for small positive arguments without evaluating
7026 2014-01-06 Mike Frysinger <vapier@gentoo.org>
7028 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
7030 (__ptrace_peeksiginfo_args): ... this.
7031 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7032 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7033 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7035 2014-01-06 Allan McRae <allan@archlinux.org>
7037 * inet/netinet/in.h: Fix typo in comment.
7039 2014-01-05 Andreas Jaeger <aj@suse.de>
7041 * sysdeps/i386/fpu/libm-test-ulps: Update.
7043 2014-01-05 Allan McRae <allan@archlinux.org>
7045 * po/libc.pot: Regenerated.
7047 * malloc/memusagestat.c: Fix gettext call formatting.
7049 2014-01-04 Sami Kerola <kerolasa@iki.fi>
7051 * nscd/nscd.c: Improve usage() output.
7053 2014-01-04 Mike Frysinger <vapier@gentoo.org>
7055 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
7056 * sysdeps/unix/sysv/linux/configure: Regenerated.
7057 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
7058 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
7060 2014-01-03 Joseph Myers <joseph@codesourcery.com>
7063 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
7064 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
7066 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7068 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
7069 extra tokens at end of #undef directive.
7070 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
7071 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
7072 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
7074 2014-01-03 Joseph Myers <joseph@codesourcery.com>
7076 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
7078 * math/auto-libm-test-in: Mark various tests with
7079 xfail-rounding:ldbl-128ibm.
7080 * math/auto-libm-test-out: Regenerated.
7082 2014-01-02 Joseph Myers <joseph@codesourcery.com>
7085 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
7086 numbers with subnormal high part when calculating exponent.
7089 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
7093 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
7095 (__ieee754_acoshl): Use __log1pl not __log1p.
7097 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
7099 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
7100 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
7101 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
7102 (grow_heap, heap_trim, _int_new_arena, get_free_list)
7103 (reused_arena, arena_get2): Convert to GNU style.
7104 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
7105 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
7106 (memalign_check, __malloc_set_state): Likewise.
7107 * malloc/mallocbug.c (main): Likewise.
7108 * malloc/malloc.c (__malloc_assert, malloc_init_state)
7109 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
7110 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
7111 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
7112 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
7113 (__posix_memalign, malloc_info): Likewise.
7114 * malloc/malloc.h: Likewise.
7115 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
7116 (mallochook, memalignhook, reallochook, mabort): Likewise.
7117 * malloc/mcheck.h: Likewise.
7118 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
7119 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
7120 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
7121 * malloc/morecore.c (__default_morecore): Likewise.
7122 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
7123 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
7124 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
7125 (print_and_abort): Likewise.
7126 * malloc/obstack.h: Likewise.
7127 * malloc/set-freeres.c (__libc_freeres): Likewise.
7128 * malloc/tst-mallocstate.c (main): Likewise.
7129 * malloc/tst-mtrace.c (main): Likewise.
7130 * malloc/tst-realloc.c (do_test): Likewise.
7132 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7135 * nscd/netgroupcache.c (do_notfound): New function.
7136 (addgetnetgrentX): Use it.
7139 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
7140 NSS_STATUS_NOTFOUND.
7142 2014-01-01 Joseph Myers <joseph@codesourcery.com>
7144 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
7145 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7147 2014-01-01 Allan McRae <allan@archlinux.org>
7149 * scripts/update-copyrights: Update configure input file suffix.
7151 * NEWS: Update copyright year.
7152 * catgets/gencat.c: Likewise.
7153 * csu/version.c: Likewise.
7154 * debug/catchsegv.sh: Likewise.
7155 * debug/pcprofiledump.c: Likewise.
7156 * debug/xtrace.sh: Likewise.
7157 * elf/ldconfig.c: Likewise.
7158 * elf/ldd.bash.in: Likewise.
7159 * elf/pldd.c: Likewise.
7160 * elf/sotruss.ksh: Likewise.
7161 * elf/sprof.c: Likewise.
7162 * iconv/iconv_prog.c: Likewise.
7163 * iconv/iconvconfig.c: Likewise.
7164 * locale/programs/locale.c: Likewise.
7165 * locale/programs/localedef.c: Likewise.
7166 * login/programs/pt_chown.c: Likewise.
7167 * malloc/memusage.sh: Likewise.
7168 * malloc/memusagestat.c: Likewise.
7169 * malloc/mtrace.pl: Likewise.
7170 * manual/libc.texinfo: Likewise.
7171 * nscd/nscd.c: Likewise.
7172 * nss/getent.c: Likewise.
7173 * nss/makedb.c: Likewise.
7174 * posix/getconf.c: Likewise.
7175 * scripts/test-installation.pl: Likewise.
7177 * All files with FSF copyright notices: Update copyright dates
7178 using scripts/update-copyrights.
7179 * intl/plural.c: Regenerated.
7180 * locale/programs/charmap-kw.h: Likewise.
7181 * locale/programs/locfile-kw.h: Likewise.
7183 2013-12-31 Mike Frysinger <vapier@gentoo.org>
7185 * sysdeps/unix/sysv/linux/configure: Regenerated.
7186 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
7187 the linux/fanotify.h header.
7188 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
7189 HAVE_LINUX_FANOTIFY_H is defined.
7191 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
7193 * benchtests/cos-inputs: New inputs.
7194 * benchtests/sin-inputs: Likewise.
7196 * benchtests/atan-inputs: New inputs. Fix name of multiple
7197 precision fallback inputs.
7199 * benchtests/atanh-inputs: New inputs.
7200 * benchtests/tanh-inputs: Likewise.
7202 * benchtests/acosh-inputs: New inputs.
7203 * benchtests/asinh-inputs: Likewise.
7205 * benchtests/cosh-inputs: New inputs.
7206 * benchtests/sinh-inputs: Likewise.
7208 * benchtests/acos-inputs: Add more inputs.
7209 * benchtests/asin-inputs: Likewise.
7211 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
7214 * manual/arith.texi: Fix spelling.
7215 * manual/charset.texi: Likewise.
7216 * manual/errno.texi: Likewise.
7217 * manual/filesys.texi: Likewise.
7218 * manual/lang.texi: Likewise.
7219 * manual/llio.texi: Likewise.
7220 * manual/locale.texi: Likewise.
7221 * manual/message.texi: Likewise.
7222 * manual/resource.texi: Likewise.
7223 * manual/search.texi: Likewise.
7224 * manual/setjmp.texi: Likewise.
7225 * manual/stdio.texi: Likewise.
7226 * manual/string.texi: Likewise.
7227 * manual/sysinfo.texi: Likewise.
7228 * manual/time.texi: Likewise.
7230 2013-12-27 Carlos O'Donell <carlos@redhat.com>
7232 * po/sl.po: New file.
7234 2013-12-27 Mike Frysinger <vapier@gentoo.org>
7236 * .gitignore: Add core/.gdbinit/.gdb_history.
7238 2013-12-27 Allan McRae <allan@archlinux.org>
7241 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
7242 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
7244 2013-12-24 Brooks Moses <bmoses@google.com>
7246 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
7247 all compilers that claim C++98 compliance, not just GCC.
7248 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
7251 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
7253 * NEWS: Restore accidentally deleted bug-fix entries.
7255 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
7256 Ondřej Bílka <neleai@seznam.cz>
7259 * malloc/malloc.c (_int_free): Perform sanity check only if we
7262 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
7265 * manual/stdio.texi (String Input Conversions): Clarify that character
7266 classes are not supported.
7268 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7270 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7272 2013-12-22 Joseph Myers <joseph@codesourcery.com>
7275 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
7276 Calculate results for small negative arguments directly rather
7277 than using reflection formula with special underflow handling.
7279 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
7280 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
7281 sysdeps/unix/bsd/bsd4.4/syscalls.list.
7282 (fchflags): Likewise.
7284 (setlogin): Likewise.
7285 (sigaltstack): Likewise.
7288 (sigsetmask): Likewise.
7290 (waitpid): Likewise.
7291 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
7292 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
7294 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
7295 * sysdeps/unix/bsd/Makefile: ... here.
7296 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
7297 * sysdeps/unix/bsd/Versions: ... here.
7298 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
7299 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
7300 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
7301 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
7302 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
7303 * sysdeps/unix/bsd/sigblock.c: ... here.
7304 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
7305 * sysdeps/unix/bsd/sigsetmask.c: ... here.
7306 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
7307 * sysdeps/unix/bsd/sigvec.c: ... here.
7308 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
7309 * sysdeps/unix/bsd/tcdrain.c: ... here.
7310 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
7311 * sysdeps/unix/bsd/tcgetattr.c: ... here.
7312 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
7313 * sysdeps/unix/bsd/tcsetattr.c: ... here.
7314 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
7315 * sysdeps/unix/bsd/wait.c: ... here.
7316 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
7317 * sysdeps/unix/bsd/wait3.c: ... here.
7318 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
7319 * sysdeps/unix/bsd/waitpid.c: ... here.
7321 2013-12-21 Joseph Myers <joseph@codesourcery.com>
7324 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
7325 round-to-nearest for [!USE_AS_EXPM1L].
7326 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
7327 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
7328 more tests of exp and exp10. Expect some exp10 tests to miss
7329 exceptions or fail in directed rounding modes.
7330 * math/auto-libm-test-out: Regenerated.
7331 * math/libm-test.inc (exp10_tonearest_test_data): New array.
7332 (exp10_test_tonearest): New function.
7333 (exp10_towardzero_test_data): New array.
7334 (exp10_test_towardzero): New function.
7335 (exp10_downward_test_data): New array.
7336 (exp10_test_downward): New function.
7337 (exp10_upward_test_data): New array.
7338 (exp10_test_upward): New function.
7339 (main): Call the new functions.
7340 * sysdeps/i386/fpu/libm-test-ulps: Update.
7341 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7343 2013-12-20 Joseph Myers <joseph@codesourcery.com>
7345 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
7346 asinh, atan, atan2, atanh, cbrt, cos and cosh.
7347 * math/auto-libm-test-out: Regenerated.
7348 * math/libm-test.inc (acosh_test_data): Add more tests.
7349 (atanh_test_data): Likewise.
7350 (ceil_test_data): Likewise.
7351 (copysign_test_data): Likewise.
7352 * sysdeps/i386/fpu/libm-test-ulps: Update.
7353 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7355 * timezone/checktab.awk: Update from tzcode 2013i.
7356 * timezone/private.h: Likewise.
7357 * timezone/scheck.c: Likewise.
7358 * timezone/tzfile.h: Likewise.
7359 * timezone/tzselect.ksh: Likewise.
7360 * timezone/zdump.c: Likewise.
7361 * timezone/zic.c: Likewise.
7363 * math/auto-libm-test-in: Add tests of cpow.
7364 * math/auto-libm-test-out: Regenerated.
7365 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
7366 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7368 (func_calc_desc): Add mpc_cc_c union field.
7369 (test_functions): Add cpow.
7370 (special_fill_2pi): New function.
7371 (special_real_inputs): Add 2pi.
7372 (calc_generic_results): Handle mpc_cc_c.
7373 * sysdeps/i386/fpu/libm-test-ulps: Update.
7374 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7376 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
7377 csqrt, ctan and ctanh.
7378 * math/auto-libm-test-out: Regenerated.
7379 * math/libm-test.inc (TEST_COND_x86_64): New macro.
7380 (TEST_COND_x86): Likewise.
7381 (ccos_test_data): Use AUTO_TESTS_c_c.
7382 (ccosh_test_data): Likewise.
7383 (cexp_test_data): Likewise.
7384 (clog_test_data): Likewise.
7385 (csqrt_test_data): Likewise.
7386 (ctan_test_data): Likewise.
7387 (ctan_tonearest_test_data): Likewise.
7388 (ctan_towardzero_test_data): Likewise.
7389 (ctan_downward_test_data): Likewise.
7390 (ctan_upward_test_data): Likewise.
7391 (ctanh_test_data): Likewise.
7392 (ctanh_tonearest_test_data): Likewise.
7393 (ctanh_towardzero_test_data): Likewise.
7394 (ctanh_downward_test_data): Likewise.
7395 (ctanh_upward_test_data): Likewise.
7396 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7398 (func_calc_desc): Add mpc_c_c union field.
7399 (FUNC_mpc_c_c): New macro.
7400 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
7401 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
7403 (special_fill_min_subnorm_p120): New function.
7404 (special_real_inputs): Add min_subnorm_p120.
7405 (calc_generic_results): Handle mpc_c_c.
7406 * sysdeps/i386/fpu/libm-test-ulps: Update.
7407 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7409 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7411 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
7412 (do_sin_slow): New functions.
7413 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
7414 (cslow2, csloww1, csloww2): Use the new functions.
7416 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
7417 Use M to change sign of result instead of X. Assume X is
7419 (csloww1): Likewise.
7423 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
7428 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
7430 (sloww1): Don't adjust sign of DX.
7431 (csloww1): Likewise.
7432 (sloww2): Use X directly and don't adjust sign of DX.
7433 (csloww2): Likewise.
7435 2013-12-19 Joseph Myers <joseph@codesourcery.com>
7437 * math/auto-libm-test-in: Add tests of cabs and carg.
7438 * math/auto-libm-test-out: Regenerated.
7439 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
7440 (carg_test_data): Likewise.
7441 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7443 (func_calc_desc): Add mpc_c_f union field.
7444 (test_functions): Add cabs and carg.
7445 (calc_generic_results): Handle mpc_c_f.
7447 * sysdeps/powerpc/powerpc32/libgcc-compat.S
7448 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
7449 as a macro and a compat symbol.
7450 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
7451 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
7452 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
7453 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
7454 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
7455 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
7457 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
7459 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
7461 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
7463 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
7465 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
7467 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
7468 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
7471 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7473 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7475 2013-12-19 Joseph Myers <joseph@codesourcery.com>
7477 * manual/texinfo.tex: Update to version 2013-11-26.10 with
7478 trailing whitespace removed.
7479 * scripts/config.guess: Update to version 2013-11-29.
7480 * scripts/config.sub: Update to version 2013-10-01.
7482 * math/auto-libm-test-in: Add tests of sincos.
7483 * math/auto-libm-test-out: Regenerated.
7484 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
7485 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7487 (func_calc_desc): Add mpfr_f_11 union field.
7488 (test_functions): Add sincos.
7489 (calc_generic_results): Handle mpfr_f_11.
7490 * sysdeps/i386/fpu/libm-test-ulps: Update.
7491 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7493 2013-12-19 Andreas Schwab <schwab@suse.de>
7495 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
7497 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
7498 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
7499 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
7501 2013-12-19 Joseph Myers <joseph@codesourcery.com>
7503 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
7504 * sysdeps/i386/fpu/libm-test-ulps: Update.
7505 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7508 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
7509 round-to-nearest mode when using frndint.
7510 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
7511 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
7512 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
7514 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
7516 * math/auto-libm-test-out: Regenerated.
7517 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
7518 (TEST_COND_x86): Likewise.
7519 (expm1_tonearest_test_data): New array.
7520 (expm1_test_tonearest): New function.
7521 (expm1_towardzero_test_data): New array.
7522 (expm1_test_towardzero): New function.
7523 (expm1_downward_test_data): New array.
7524 (expm1_test_downward): New function.
7525 (expm1_upward_test_data): New array.
7526 (expm1_test_upward): New function.
7527 (main): Run the new test functions.
7528 * sysdeps/i386/fpu/libm-test-ulps: Update.
7529 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7531 * include/features.h: Update comment documenting feature test
7532 macros. Mention _DEFAULT_SOURCE in comment.
7533 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
7534 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
7535 _BSD_SOURCE and _SVID_SOURCE.
7536 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
7537 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
7538 !_SVID_SOURCE]: Likewise.
7539 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7540 (__USE_POSIX_IMPLICITLY): Define.
7541 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7542 (_POSIX_SOURCE): Undefine and redefine.
7543 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7544 (_POSIX_C_SOURCE): Likewise.
7545 * manual/creature.texi (_DEFAULT_SOURCE): Document.
7546 (Feature Test Macros): Update documentation of default features.
7548 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7550 * benchtests/Makefile: Add bench-strtok.
7551 * benchtests/bench-strtok.c: New file: strtok benchtest.
7553 2013-12-19 Allan McRae <allan@archlinux.org>
7555 * manual/install.texi: Suppress menu for plain text output.
7556 * INSTALL: Regenerated.
7558 2013-12-18 Brooks Moses <bmoses@google.com>
7561 * misc/getauxval.c: Include errno.h.
7562 (__getauxval): Set errno to ENOENT if the requested type is not
7564 * misc/sys/auxv.h (getauxval): Document that it may set errno;
7565 don't declare with __attribute_const__.
7566 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
7567 * manual/startup.texi: Document that getauxval sets errno.
7569 2013-12-18 Joseph Myers <joseph@codesourcery.com>
7571 * math/auto-libm-test-in: Add tests of jn and yn.
7572 * math/auto-libm-test-out: Regenerated.
7573 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
7574 (yn_test_data): Likewise.
7575 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7577 (func_calc_desc): Add mpfr_if_f union field.
7578 (FUNC_mpfr_if_f): New macro.
7579 (test_functions): Add jn and yn.
7580 (calc_generic_results): Assert type of second input for
7581 mpfr_ff_f. Handle mpfr_if_f.
7582 (output_for_one_input_case): Disable all checking for arguments
7583 fitting floating-point types in case of an integer argument.
7584 * sysdeps/i386/fpu/libm-test-ulps: Update.
7585 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
7588 Don't expect fegetround reference in libm.so.
7590 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7592 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
7593 $(config-cflags-nofma).
7595 2013-12-18 Joseph Myers <joseph@codesourcery.com>
7597 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
7598 * math/auto-libm-test-out: Regenerated.
7601 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
7602 to determine exponent and adjust argument to have exponent of -1.
7603 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
7605 * math/auto-libm-test-out: Regenerated.
7606 * sysdeps/i386/fpu/libm-test-ulps: Update.
7607 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7609 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
7611 * manual/probes.texi: Remove cases when per-thread arenas are
7614 2013-12-18 Andreas Schwab <schwab@suse.de>
7616 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
7617 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
7618 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
7619 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
7620 * sysdeps/i386/i686/multiarch/Makefile: Update.
7621 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
7623 2013-12-17 Joseph Myers <joseph@codesourcery.com>
7625 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
7626 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
7628 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
7631 Support TZ transition times < 00:00:00.
7632 This is needed for version-3 tz-format files; it supports time
7633 stamps past 2037 for America/Godthab (the only entry in the tz
7634 database for which this change is relevant).
7635 * manual/time.texi (TZ Variable): Document transition times
7636 from -167:59:59 through -00:00:01.
7637 * time/tzset.c (tz_rule): Time of day is now signed.
7638 (__tzset_parse_tz): Parse negative time of day.
7640 Document TZ transition times >= 25:00:00.
7641 * manual/time.texi (TZ Variable): Document transition times from
7642 25:00:00 through 167:59:59. These are already supported, and this
7643 support will help with version-3 tz-format files.
7645 * manual/time.texi (TZ Variable): Modernize North America example
7646 to reflect current (i.e., 2007-and-later) daylight saving rules.
7648 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
7650 2013-12-17 Joseph Myers <joseph@codesourcery.com>
7652 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
7653 * sysdeps/unix/bsd/bits/stat.h: Likewise.
7654 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
7655 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
7656 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
7657 * sysdeps/unix/bsd/bsdstat.h: Likewise.
7658 * sysdeps/unix/bsd/clock.c: Likewise.
7659 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
7660 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
7661 * sysdeps/unix/bsd/init-posix.c: Likewise.
7662 * sysdeps/unix/bsd/poll.c: Likewise.
7663 * sysdeps/unix/bsd/ptsname.c: Likewise.
7664 * sysdeps/unix/bsd/seekdir.c: Likewise.
7665 * sysdeps/unix/bsd/setegid.c: Likewise.
7666 * sysdeps/unix/bsd/seteuid.c: Likewise.
7667 * sysdeps/unix/bsd/setgid.c: Likewise.
7668 * sysdeps/unix/bsd/setrgid.c: Likewise.
7669 * sysdeps/unix/bsd/setruid.c: Likewise.
7670 * sysdeps/unix/bsd/setsid.c: Likewise.
7671 * sysdeps/unix/bsd/setuid.c: Likewise.
7672 * sysdeps/unix/bsd/sigaction.c: Likewise.
7673 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
7674 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
7675 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
7676 * sysdeps/unix/bsd/telldir.c: Likewise.
7677 * sysdeps/unix/bsd/times.c: Likewise.
7678 * sysdeps/unix/bsd/usleep.c: Likewise.
7680 * misc/Makefile (install-lib): Remove libbsd-compat.a.
7681 ($(objpfx)libbsd-compat.a): Remove rule.
7683 * include/features.h (__FAVOR_BSD): Do not define.
7684 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
7685 features conflicting with POSIX.
7686 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
7687 (_BSD_SOURCE): Remove description of not being a subset of other
7688 feature test macros.
7689 * manual/job.texi (getpgrp): Do not document BSD version.
7690 (getpgid): Do not document by reference to BSD getpgrp.
7691 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
7692 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
7693 * signal/signal.h [__FAVOR_BSD]: Likewise.
7694 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
7695 instead of making contents conditional on [__FAVOR_BSD].
7696 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
7698 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7700 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7702 2013-12-17 Joseph Myers <joseph@codesourcery.com>
7705 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
7706 values below 2**-450, not 2**-500.
7707 * math/auto-libm-test-in: Don't allow spurious underflow from
7709 * math/auto-libm-test-out: Regenerated.
7713 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
7714 values of ha and hb and sort them after adjusting subnormal
7716 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
7718 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
7719 values of ea and eb and sort them after adjusting subnormal
7721 * math/auto-libm-test-in: Do not expect some hypot tests of
7722 subnormals to fail. Add more hypot tests.
7723 * math/auto-libm-test-out: Regenerated.
7725 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7728 * sysdeps/sh/s_fma.c: New file.
7729 * sysdeps/sh/s_fmaf.c: New file.
7730 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
7732 * sysdeps/sh/Implies: Add sh/soft-fp.
7734 2013-12-16 Roland McGrath <roland@hack.frob.com>
7736 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
7737 level of indirection to members `objname', `errstring', `malloced'.
7738 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
7739 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
7740 it as the __longjmp argument (just pass 1 instead).
7741 (_dl_catch_error): Initialize C with argument pointers and address of
7742 volatile local ERRCODE rather than copying values out of C at return.
7744 2013-12-16 Joseph Myers <joseph@codesourcery.com>
7746 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
7747 * math/auto-libm-test-out: Regenerated.
7748 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
7749 (hypot_test_data): Likewise.
7750 (pow_test_data): Likewise.
7751 (pow_tonearest_test_data): Likewise.
7752 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7754 (func_calc_desc): Add mpfr_ff_f union field.
7755 (FUNC_mpfr_ff_f): New macro.
7756 (test_functions): Add atan2, hypot and pow.
7757 (special_fill_min): New function.
7758 (special_fill_minus_min): Likewise.
7759 (special_fill_min_subnorm): Likewise.
7760 (special_fill_minus_min_subnorm): Likewise.
7761 (special_real_inputs): Add min, -min, min_subnorm and
7763 (calc_generic_results): Handle mpfr_ff_f.
7764 * sysdeps/i386/fpu/libm-test-ulps: Update.
7765 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7767 2013-12-16 Will Newton <will.newton@linaro.org>
7769 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
7770 (Aligned Memory Blocks): Add documentation for aligned_alloc
7771 and suggest it as an alternative to posix_memalign.
7772 (Hooks for Malloc): Document __memalign_hook is also called
7773 for aligned_alloc. (Summary of Malloc): Add summary for
7774 aligned alloc. Document __memalign_hook is also called
7777 2013-12-16 Will Newton <will.newton@linaro.org>
7779 * manual/memory.texi (Malloc Examples): Clarify default
7780 alignment documentation. Suggest posix_memalign rather
7781 than memalign or valloc.
7782 (Aligned Memory Blocks): Remove suggestion to use memalign
7783 or valloc. Remove obsolete comment about BSD.
7784 Document memalign errno values and mark the function obsolete.
7785 Document posix_memalign returned error codes. Mark valloc
7786 as obsolete. (Hooks for Malloc): __memalign_hook is also
7787 called for posix_memalign and valloc.
7788 (Summary of Malloc): Add posix_memalign to function summary.
7789 __memalign_hook is also called for posix_memalign and valloc.
7791 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7793 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
7797 (sloww): Use mynumber union. Expand ternary operator into
7799 (cslow): use mynumber union.
7801 2013-12-16 Allan McRae <allan@archlinux.org>
7803 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
7804 * configure: Regenerated.
7806 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
7809 * configure.ac: Added --enable-maintainer-mode. Check for
7810 autoconf when enabled.
7811 * configure: Regenerated.
7813 * nscd/nscd.service: New file.
7814 * nscd/nscd.tmpfiles: New file.
7816 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
7819 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
7820 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
7821 * sysdeps/x86_64/multiarch/strstr.c: ... here.
7822 (strstr): Add __strstr_sse2_unaligned ifunc.
7823 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
7824 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
7825 (strcasestr): Remove __strcasestr_sse42 ifunc.
7826 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
7827 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
7828 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
7830 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7832 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
7833 * sysdeps/sh/bits/fenv.h: ... here.
7834 * sysdeps/sh/sh4/fpu/bits: Remove directory.
7836 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7838 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
7840 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
7841 hypotf multiarch implementations.
7842 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
7843 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
7844 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
7845 multiarch hypot for PPC64.
7846 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
7847 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
7848 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
7849 multiarch hypotf for PPC64.
7851 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
7852 modff multiarch implementations.
7853 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
7854 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
7855 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
7856 multiarch modf for PPC64.
7857 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
7858 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
7859 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
7860 multiarch modff for PPC64.
7862 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
7863 and logl multiarch implementations.
7864 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
7865 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
7866 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
7867 multiarch logb for PPC64.
7868 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
7869 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
7870 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
7871 multiarch logb for PPC64.
7872 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
7873 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
7874 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
7875 multiarch logb for PPC64.
7877 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
7878 isinff multiarch implementation.
7879 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
7881 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
7882 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
7883 multiarch isinf for PPC64.
7884 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
7886 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
7887 multiarch isinff for PPC64.
7889 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
7890 finitef multiarch implementation.
7891 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
7893 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
7894 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
7895 multiarch finite for PPC64.
7896 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
7898 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
7899 multiarch finitef for PPC64.
7901 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
7902 lrint multiarch implementation.
7903 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
7905 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
7906 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
7907 multiarch llrint for PPC64.
7908 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
7909 multiarch lrint for PPC64.
7911 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
7912 copysignf multiarch implementation.
7913 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
7915 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
7917 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
7918 multiarch copysign for PPC64.
7919 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
7920 multiarch copysignf for PPC64.
7922 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
7923 multiarch implementation.
7924 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
7926 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
7928 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
7930 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
7932 multiarch llround for PPC64.
7933 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
7934 multiarch trunc for PPC64.
7935 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
7936 multiarch truncf for PPC64.
7938 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
7939 multiarch implementation.
7940 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
7942 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
7944 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
7946 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
7948 multiarch llround for PPC64.
7949 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
7950 multiarch round for PPC64.
7951 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
7952 multiarch roundf for PPC64.
7954 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
7955 multiarch implementation.
7956 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
7958 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
7960 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
7962 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
7964 multiarch llround for PPC64.
7965 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
7966 multiarch floor for PPC64.
7967 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
7968 multiarch floorf for PPC64.
7970 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
7971 multiarch implementation.
7972 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
7974 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
7976 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
7978 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
7980 multiarch llround for PPC64.
7981 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
7982 multiarch ceil for PPC64.
7983 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
7984 multiarch ceilf for PPC64.
7986 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
7987 multiarch implementation.
7988 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
7990 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
7992 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
7994 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
7995 multiarch llround for PPC64.
7996 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
7997 multiarch lround for PPC64.
7999 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
8000 multiarch implementation.
8001 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
8002 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
8003 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
8005 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
8006 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
8007 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
8008 multiarch isnan for PPC64.
8009 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
8010 multiarch isnanf for PPC64.
8012 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
8013 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
8014 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
8015 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
8016 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
8017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
8019 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
8020 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
8021 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8022 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8024 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
8025 multiarch implementations.
8026 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8027 (__libc_ifunc_impl_list): Likewise.
8028 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
8029 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
8030 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
8031 multiarch stpcpy for PPC64.
8033 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
8034 multiarch implementations.
8035 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8036 (__libc_ifunc_impl_list): Likewise.
8037 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
8038 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
8039 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
8040 multiarch strcpy for PPC64.
8042 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
8043 redefine function name.
8044 (_wordcopy_fwd_dest_aligned): Likewise.
8045 (_wordcopy_bwd_aligned): Likewise.
8046 (_wordcopy_bwd_dest_aligned): Likewise.
8047 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
8048 multiarch implementations.
8049 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8050 (__libc_ifunc_impl_list): Likewise.
8051 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
8052 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
8053 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
8054 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
8055 multiarch wcscpy for PPC64.
8057 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
8058 multiarch implementations.
8059 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8060 (__libc_ifunc_impl_list): Likewise.
8061 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
8062 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
8063 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
8064 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
8065 multiarch wcscpy for PPC64.
8067 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
8068 multiarch implementations.
8069 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8070 (__libc_ifunc_impl_list): Likewise.
8071 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
8072 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
8073 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
8074 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
8075 multiarch wcsrchr for PPC64.
8077 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
8078 multiarch implementations.
8079 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8080 (__libc_ifunc_impl_list): Likewise.
8081 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
8082 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
8083 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
8084 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
8085 multiarch wcschr for PPC64.
8087 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
8088 multiarch implementations.
8089 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8090 (__libc_ifunc_impl_list): Likewise.
8091 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
8092 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
8093 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
8094 multiarch strchrnul for PPC64.
8096 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
8098 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8099 (__libc_ifunc_impl_list): Likewise.
8100 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
8101 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
8102 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
8103 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
8106 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
8108 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8109 (__libc_ifunc_impl_list): Likewise.
8110 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
8111 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
8112 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
8113 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
8116 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
8117 multiarch implementations.
8118 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8119 (__libc_ifunc_impl_list): Likewise.
8120 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
8121 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
8122 strncasecmp for PPC64.
8123 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
8124 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
8125 multiarch strncasecmp_l for PPC64.
8127 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
8128 multiarch implementations.
8129 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8130 (__libc_ifunc_impl_list): Likewise.
8131 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
8132 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
8133 multiarch strcasecmp for PPC64.
8134 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
8136 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
8137 multiarch strcasecmp_l for PPC64.
8139 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
8141 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8142 (__libc_ifunc_impl_list): Likewise.
8143 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
8144 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
8145 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
8148 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
8150 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8151 (__libc_ifunc_impl_list): Likewise.
8152 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
8153 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
8154 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
8157 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
8159 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8160 (__libc_ifunc_impl_list): Likewise.
8161 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
8162 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
8163 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
8164 rawmemrchr for PPC64.
8166 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
8168 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8169 (__libc_ifunc_impl_list): Likewise.
8170 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
8171 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
8172 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
8175 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
8177 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8178 (__libc_ifunc_impl_list): Likewise.
8179 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
8180 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
8181 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
8184 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
8186 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8187 (__libc_ifunc_impl_list): Likewise.
8188 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
8189 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
8190 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
8193 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
8194 avoid cretion of __bzero symbol.
8195 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
8197 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
8199 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
8201 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
8202 multiarch implementations.
8203 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8204 (__libc_ifunc_impl_list): Likewise.
8205 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
8206 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
8207 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
8208 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
8210 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
8211 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
8212 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
8213 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
8214 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
8216 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
8218 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
8219 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
8221 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8222 (__libc_ifunc_impl_list): Likewise.
8223 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
8224 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
8225 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
8226 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
8229 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
8230 multiarch for POWER/PPC64.
8231 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
8232 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
8233 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
8234 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
8235 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
8236 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
8237 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
8238 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
8239 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
8242 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
8243 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
8244 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
8245 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
8246 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
8247 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
8248 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
8249 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
8250 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
8251 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
8252 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
8253 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
8254 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
8255 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
8256 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
8257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
8258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
8259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
8260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
8261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
8262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
8263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
8265 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8267 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
8269 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8271 * benchtests/Makefile (bench): Add exp2 and log2.
8272 (LDLIBS-bench-exp2): Add -lm.
8273 (LDLIBS-bench-log2): Likewise.
8274 * benchtests/exp2-inputs: New inputs file.
8275 * benchtests/log2-inputs: New inputs file.
8276 * benchtests/log-inputs: Add new inputs.
8277 * benchtests/tan-inputs: Likewise.
8279 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8281 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
8283 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
8284 (csloww2): ... from here.
8286 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
8287 instead of structures.
8288 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
8289 (POLYNOMIAL): Likewise.
8290 (TAYLOR_SLOW): Likewise.
8298 (bsloww1): Likewise.
8299 (bsloww2): Likewise.
8302 (csloww1): Likewise.
8303 (csloww2): Likewise.
8305 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
8307 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
8308 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
8309 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
8310 * malloc/hooks.c (realloc_check): Likewise.
8312 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
8313 * malloc/arena.c: Remove PER_THREAD conditional.
8314 [!PER_THREAD]: Remove code.
8315 (ptmalloc_unlock_all2): Likewise.
8316 (ptmalloc_init): Likewise.
8317 (_int_new_arena): Likewise.
8318 (arena_get2): Likewise.
8319 * malloc/hooks.c (__malloc_get_state): Likewise.
8320 (__malloc_set_state): Likewise.
8321 * malloc/malloc.c: Likewise.
8322 (struct malloc_state): Likewise.
8323 (struct malloc_par): Likewise.
8324 (__libc_realloc): Likewise.
8325 (__libc_mallopt): Likewise.
8327 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8329 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
8331 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
8333 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
8334 macro to a function. Check for zero perturb_byte.
8335 (_int_malloc, _int_free): Remove zero perturb_byte checks.
8337 * malloc/malloc.c: (force_reg): Remove.
8338 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
8339 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
8340 force_reg by atomic_forced_read.
8341 * malloc/arena.c (ptmalloc_init): Likewise.
8342 * malloc/hooks.c (top_check): Likewise.
8344 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8346 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8348 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
8350 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8352 2013-12-08 Joseph Myers <joseph@codesourcery.com>
8354 * math/auto-libm-test-in: Add tests of lgamma.
8355 * math/auto-libm-test-out: Regenerated.
8356 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
8357 (M_LOG_2_SQRT_PIl): Likewise.
8358 (lgamma_test_data): Use AUTO_TESTS_f_f1.
8359 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8361 (func_calc_desc): Add mpfr_f_f1 union field.
8370 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
8371 (test_functions): Add lgamma.
8372 (calc_generic_results): Handle mpfr_f_f1.
8373 * sysdeps/i386/fpu/libm-test-ulps: Update.
8374 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8376 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8378 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
8379 __mpn_add_n for PowerPC64/POWER7.
8380 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
8381 __mpn_sub_n for PowerPC64/POWER7.
8383 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
8384 __mpn_addmul_1 for PowerPC64.
8385 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
8386 __mpn_submul_1 for PowerPC64.
8387 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
8389 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
8392 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
8395 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
8397 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8399 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
8401 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
8402 add multiarch folders.
8403 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
8404 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
8405 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
8406 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
8407 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
8408 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
8409 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
8410 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
8411 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
8412 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
8413 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
8414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
8415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
8416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
8417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
8418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
8419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
8421 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
8422 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
8423 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
8425 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
8427 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
8428 multiarch __ieee754_hypot for PowerPC32.
8429 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
8431 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
8433 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
8434 multiarch __ieee754_hypotf for PowerPC32.
8436 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
8437 long_double_symbol only if __logbl is defined.
8438 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
8439 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
8440 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
8441 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
8442 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
8443 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
8444 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
8445 path for implementation.
8446 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
8447 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
8448 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
8449 logb, and logbl multiarch implementations for PowerPC32.
8450 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
8452 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
8454 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
8455 multiarch logb for PowerPC32.
8456 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
8458 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
8460 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
8461 multiarch logbf for PowerPC32.
8462 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
8463 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
8465 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
8466 multiarch logbl implementation for PowerPC32.
8468 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
8469 and modff multiarch implementations.
8470 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
8472 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
8474 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
8475 multiarch modf for PowerPC32.
8476 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
8478 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
8480 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
8481 multiarch modff for PowerPC32.
8483 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
8484 and lrintf multiarch implementations.
8485 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
8487 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
8489 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
8490 multiarch lrint for PowerPC32.
8491 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
8492 file: multiarch lrintf for PowerPC32.
8494 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
8495 and lroundf multiarch implementations.
8496 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
8498 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
8500 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
8502 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
8503 multiarch lround for PowerPC32.
8504 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
8505 file: multiarch lroundf for PowerPC32.
8507 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
8508 copysign and copysignf multiarch implementations.
8509 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
8511 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
8513 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
8514 file: multiarch copysign for PowerPC32.
8515 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
8516 file: multiarch copysignf for PowerPC32.
8518 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
8519 and truncf multiarch implementations.
8520 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
8522 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
8524 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
8525 multiarch trunc for PowerPC32.
8526 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
8528 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
8530 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
8531 multiarch truncf for PowerPC32.
8533 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
8534 and roundf multiarch implementations.
8535 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
8537 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
8539 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
8540 multiarch round for PowerPC32.
8541 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
8543 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
8545 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
8546 multiarch roundf for PowerPC32.
8548 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
8549 and floorf multiarch implementations.
8550 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
8552 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
8554 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
8555 multiarch floor for PowerPC32.
8556 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
8558 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
8560 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
8561 multiarch floorf for PowerPC32.
8563 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
8564 and ceilf multiarch implementations.
8565 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
8567 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
8569 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
8570 multiarch ceil for PowerPC32.
8571 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
8573 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
8575 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
8576 multiarch ceilf for PowerPC32.
8578 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
8580 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
8582 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
8583 and finitef multiarch implementations.
8584 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
8586 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
8588 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
8589 multiarch finite for PowerPC32.
8590 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
8592 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
8593 file: multiarch finitef for PowerPC32.
8595 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
8596 and isinff multiarch implementations.
8597 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
8599 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
8601 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
8602 multiarch isinf for PowerPC32.
8603 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
8605 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
8606 multiarch isinff for PowerPC32.
8608 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
8609 alias when __isnan is defined.
8610 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
8611 and isnanf multiarch implementations.
8612 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
8614 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
8616 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
8618 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
8620 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
8621 multiarch isnan for PowerPC32.
8622 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
8624 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
8626 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
8627 multiarch isnanf for PowerPC32.
8629 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
8630 and sqrtf multiarch implementations.
8631 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
8633 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
8635 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
8636 multiarch sqrt for PowerPC32.
8637 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
8639 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
8641 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
8642 multiarch sqrtf for PowerPC32.
8644 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
8645 and llroundf multiarch implementations.
8646 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
8648 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
8650 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
8652 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
8653 file: multiarch llround for PowerPC32.
8654 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
8655 file: multiarch llroundf for PowerPC32.
8657 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
8658 multiarch PowerPC32 fpu implementations.
8659 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
8661 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
8663 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
8664 multiarch llrint for PowerPC32.
8665 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
8667 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
8669 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
8672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
8674 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
8676 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
8678 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
8680 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
8681 multiarch wordcopy for PPC32.
8682 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
8684 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8685 (__libc_ifunc_impl_list): Likewise.
8686 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
8687 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
8688 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
8689 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
8690 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
8691 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
8693 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
8694 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
8696 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
8698 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
8700 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
8701 multiarch wcscpy 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/power6/wcsrchr.c: Move ...
8707 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
8708 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
8709 sysdeps/powerpc/power6/wcscpy.c.
8711 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
8712 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
8714 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
8716 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
8718 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
8719 multiarch wcsrchr for PPC32.
8720 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
8722 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8723 (__libc_ifunc_impl_list): Likewise.
8724 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
8725 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
8726 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
8727 sysdeps/powerpc/power6/wcsrchr.c.
8729 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
8731 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
8733 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
8734 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
8735 multiarch wcschr for PPc32.
8736 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
8738 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8739 (__libc_ifunc_impl_list): Likewise.
8740 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
8741 * sysdeps/powerpc/power6/wcschr.c: ... to here.
8742 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
8743 sysdeps/powerpc/power6/wcschr.c.
8745 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
8746 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
8748 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
8749 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
8750 file: multiarch strchr for PPC32.
8751 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
8753 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8754 (__libc_ifunc_impl_list): Likewise.
8756 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
8758 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
8760 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
8762 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
8763 multiarch strchrnul for PPC32.
8764 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
8766 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8767 (__libc_ifunc_impl_list): Likewise.
8769 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
8771 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
8772 multiarch strncasecmp for PPC32.
8773 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
8775 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
8776 multiarch strncasecmp_l for PPC32.
8777 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
8778 strncasecmp multiarch objects.
8779 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8780 (__libc_ifunc_impl_list): Likewise.
8782 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
8784 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
8785 multiarch strncasecmp for PPC32.
8786 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
8788 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
8789 multiarch strcasecmp_l for PPC32.
8790 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
8792 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8793 (__libc_ifunc_impl_list): Likewise.
8795 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
8797 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
8799 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
8800 multiarch strncmp for PPC32.
8801 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
8803 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8804 (__libc_ifunc_impl_list): Likewise.
8806 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
8807 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
8809 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
8810 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
8811 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
8813 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8814 (__libc_ifunc_impl_list): Likewise.
8816 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
8818 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
8820 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
8821 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
8823 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8824 (__libc_ifunc_impl_list): Likewise.
8826 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
8828 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
8830 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
8831 multiarch rawmemchr for PPC32.
8832 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
8834 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8835 (__libc_ifunc_impl_list): Likewise.
8837 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
8839 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
8841 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
8842 file: memrchr multiarch for PPC32.
8843 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
8845 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8846 (__libc_ifunc_impl_list): Likewise.
8848 * string/memchr.c (__memchr): Using macro to redefine symbol name.
8849 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
8851 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
8852 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
8853 multiarch memchr for PPC32.
8854 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
8856 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8857 (__libc_ifunc_impl_list): Likewise.
8859 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
8860 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
8862 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
8864 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
8865 file: multiarch mempcpy for PPC32.
8866 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
8868 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8869 (__libc_ifunc_impl_list): Likewise.
8871 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
8872 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
8873 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
8874 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
8875 multiarch bzero for PPC32.
8876 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
8878 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
8880 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
8881 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
8882 file: multiarch memset for PPC32.
8883 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
8884 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
8885 memset multiarch objects.
8886 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8887 (__libc_ifunc_impl_list): Likewise.
8889 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
8891 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
8892 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
8894 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
8895 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
8897 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8898 (__libc_ifunc_impl_list): Likewise.
8900 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
8901 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
8902 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
8904 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
8906 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
8908 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
8909 multiarch memcpy for PPC32.
8910 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
8912 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8913 (__libc_ifunc_impl_list): Likewise.
8915 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
8916 support multiarch for POWER/PPC32.
8917 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
8919 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
8920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
8921 Implies file to make multiarch folder appers before the fpu and
8922 default folder for power4 configuration.
8924 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8926 * scripts/bench.pl: Append volatile keyword to type.
8928 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8930 * sysdeps/sh/sotruss-lib.c: New file.
8931 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
8933 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8935 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8937 2013-12-05 Joseph Myers <joseph@codesourcery.com>
8940 * math/w_tgamma.c: Include <errno.h>.
8941 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
8942 * math/w_tgammaf.c: Include <errno.h>.
8943 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
8944 * math/w_tgammal.c: Include <errno.h>.
8945 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
8946 * math/auto-libm-test-in: Do not allow missing errno on tgamma
8947 underflow. Add more tgamma tests.
8948 * math/auto-libm-test-out: Regenerated.
8949 * sysdeps/i386/fpu/libm-test-ulps: Update.
8950 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8952 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
8953 sin, sinh, tan, tanh, tgamma, y0 and y1.
8954 * math/auto-libm-test-out: Regenerated.
8955 * math/libm-test.inc (TEST_COND_x86_64): New macro.
8956 (TEST_COND_x86): Likewise.
8957 (M_E2l): Remove macro.
8959 (M_2_SQRT_PIl): Likewise.
8960 (M_SQRT_PIl): Likewise.
8961 (M_1_DIV_El): Likewise.
8962 (log_test_data): Use AUTO_TESTS_f_f.
8963 (log10_test_data): Likewise.
8964 (log1p_test_data): Likewise.
8965 (log2_test_data): Likewise.
8966 (sin_test_data): Likewise.
8967 (sin_tonearest_test_data): Likewise.
8968 (sin_towardzero_test_data): Likewise.
8969 (sin_downward_test_data): Likewise.
8970 (sin_upward_test_data): Likewise.
8971 (sinh_test_data): Likewise.
8972 (sinh_tonearest_test_data): Likewise.
8973 (sinh_towardzero_test_data): Likewise.
8974 (sinh_downward_test_data): Likewise.
8975 (sinh_upward_test_data): Likewise.
8976 (tan_test_data): Likewise.
8977 (tan_tonearest_test_data): Likewise.
8978 (tan_towardzero_test_data): Likewise.
8979 (tan_downward_test_data): Likewise.
8980 (tan_upward_test_data): Likewise.
8981 (tanh_test_data): Likewise.
8982 (tgamma_test_data): Likewise.
8983 (y0_test_data): Likewise.
8984 (y1_test_data): Likewise.
8985 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
8986 (special_real_inputs): Add pi/4.
8987 * sysdeps/i386/fpu/libm-test-ulps: Update.
8988 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8990 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8992 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
8993 "longjmp_target" static probes.
8994 (__longjmp): Rename to __longjmp_symbol.
8995 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
8996 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
8997 on which longjmp to generate.
8998 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
8999 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
9001 (__sigsetjmp): Rename to __sigsetjmp_symbol.
9002 (__sigjmp_save): Rename to __sigjmp_save_symbol.
9003 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
9004 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
9005 and __sigjmp_save_symbol based on which sigsetjmp to generated.
9006 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
9007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
9008 __longjmp_symbol based on which __longjmp to generate.
9009 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
9011 (setjmp): Rename to setjmp_symbol.
9012 (__sigsetjmp): Rename to __sigsetjmp_symbol.
9013 (_setjmp): Rename to _setjmp_symbol.
9014 (__sigsetjmp): Rename to __sigsetjmp_symbol.
9015 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
9016 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
9017 which setjmp to generate.
9018 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
9019 "longjmp_target" static probes.
9021 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9023 * benchtests/README: Add note about output arguments.
9024 * benchtests/bench-sincos.c: Remove file.
9025 * benchtests/sincos-inputs: New file.
9026 * scripts/bench.pl: Identify output arguments and define
9027 static variables for them.
9029 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
9032 * Makefile (INSTALL): Add install-plain.texi as the primary
9034 * manual/install-plain.texi: New file.
9035 * manual/install.texi: Include node directive only for
9036 non-plaintext output.
9038 2013-12-04 Joseph Myers <joseph@codesourcery.com>
9040 * stdlib/longlong.h: Update from GCC.
9044 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
9045 * math/w_j0f.c (y0f): Likewise.
9046 * math/w_j0l.c (__y0l): Likewise.
9047 * math/w_j1.c (y1): Likewise.
9048 * math/w_j1f.c (y1f): Likewise.
9049 * math/w_j1l.c (__y1l): Likewise
9050 * math/w_jn.c (yn): Likewise.
9051 * math/w_jnf.c (ynf): Likewise.
9052 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
9053 Bessel function pole errors in _POSIX_ mode. Use NAN as return
9054 value for Bessel function domain errors outside _SVID_ mode.
9055 Adjust sign of return value for yn (negative integer, 0).
9056 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
9057 by zero in return for negative x and set sign appropriately for
9059 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
9060 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
9061 * math/libm-test.inc (y0_test_data): Add more tests and adjust
9062 expectations in error cases.
9063 (y1_test_data): Likewise.
9064 (yn_test_data): Likewise.
9065 * sysdeps/i386/fpu/libm-test-ulps: Update.
9066 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9068 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9070 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
9071 "64" to "64-v1". Add "64-v2".
9072 (abi-64-options): Rename to ...
9073 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
9074 (abi-64-condition): Rename to ...
9075 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
9076 (abi-64-ld-soname): Rename to ...
9077 (abi-64-v1-ld-soname): ... this.
9078 (abi-64-v2-options): Define.
9079 (abi-64-v2-condition): Likewise.
9080 (abi-64-v2-ld-soname): Likewise.
9081 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
9082 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
9083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
9084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
9085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
9087 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9088 Alan Modra <amodra@gmail.com>
9090 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
9091 New versions for use with the ELFv2 ABI.
9092 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
9093 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
9095 (struct La_ppc64v2_retval): Likewise.
9096 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
9097 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
9098 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
9099 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
9100 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
9101 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
9102 Do not save or restore CR.
9103 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
9104 (_dl_profile_resolve): Do no save or restore CR. Support extended
9105 return values for ELFv2 ABI. Fix location of FPR return registers.
9106 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
9107 updated values for _CALL_ELF == 2.
9108 (La_regs, La_retval, int_retval): Likewise.
9110 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9112 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
9113 (FRAME_MIN_SIZE_PARM): Likewise.
9114 (FRAME_BACKCHAIN): Likewise.
9115 (FRAME_CR_SAVE): Likewise.
9116 (FRAME_LR_SAVE): Likewise.
9117 (FRAME_TOC_SAVE): Likewise.
9118 (FRAME_PARM_SAVE): Likewise.
9119 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
9120 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
9121 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
9122 (call_mcount_parm_offset): New macro.
9123 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
9124 (PROF): Use symbolic stack frame offsets.
9125 (TAIL_CALL_SYSCALL_ERROR): Likewise.
9126 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
9127 Redefine in terms of FRAME_MIN_SIZE.
9128 (_dl_runtime_resolve): Use symbolic stack frame offsets.
9129 (_dl_profile_resolve): Likewise. Update comment.
9130 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
9131 symbols stack frame offsets.
9132 (__sigsetjmp): Likewise.
9133 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
9134 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
9135 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
9136 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
9138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
9139 (FRAME_BACKCHAIN): Remove.
9140 (FRAME_CR_SAVE): Likewise.
9141 (FRAME_LR_SAVE): Likewise.
9142 (FRAME_COMPILER_DW): Likewise.
9143 (FRAME_LINKER_DW): Likewise.
9144 (FRAME_TOC_SAVE): Likewise.
9145 (FRAME_PARM_SAVE): Likewise.
9146 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
9147 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
9148 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
9149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
9150 (CHECK_SP): Use symbolic stack frame offsets.
9151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
9152 zone" instead of caller's parameter save area for temp storage.
9153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
9154 Likewise. Also, use symbolic stack frame offsets.
9155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
9156 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
9157 our own stack frame instead of the caller's.
9158 (__socket): Use symbolic stack frame offsets.
9160 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9161 Alan Modra <amodra@gmail.com>
9163 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
9165 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
9166 (PPC64_LOCAL_ENTRY_OFFSET): Define.
9167 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
9169 (elf_machine_fixup_plt): Call it.
9170 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
9172 (elf_machine_rela): Update call to elf_machine_plt_conflict.
9173 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
9174 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
9175 r2 before calling target.
9177 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9178 Alan Modra <amodra@gmail.com>
9180 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
9181 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
9182 versions of macros to support ELFv2 ABI.
9183 (LOCALENTRY): New macro.
9184 (ENTRY, EALIGN): Use it.
9185 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
9186 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
9187 fall through into ENTRY entry point.
9188 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
9189 Only define if _CALL_ELF != 2.
9191 (elf_machine_matches_host): Verify ABI version matches.
9192 (RTLD_START): Use LOCALENTRY.
9193 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
9194 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
9195 (PLT_ENTRY_WORDS): New macro.
9196 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
9197 (elf_machine_runtime_setup): Support ELFv2 ABI.
9198 (elf_machine_fixup_plt): Likewise.
9199 (elf_machine_plt_conflict): Likewise.
9200 (resolve_ifunc): Likewise.
9201 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
9202 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
9204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
9205 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
9206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
9207 (makecontext): Support ELFv2 ABI.
9208 * elf/elf.h (EF_PPC64_ABI): Define.
9210 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9212 * sysdeps/powerpc/powerpc64/sysdep.h
9213 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
9214 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
9215 (ENTRY) [ASSEMBLER]: ... but instead here ...
9216 (EALIGN) [ASSEMBLER]: ... and here.
9217 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
9218 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
9219 (ENTRY_2) [!ASSEMBLER]: Use it.
9220 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
9221 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
9222 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
9223 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
9224 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
9225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
9226 Use PPC64_LOAD_FUNCPTR.
9228 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
9230 2013-12-04 Alan Modra <amodra@gmail.com>
9232 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
9233 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
9234 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
9235 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
9237 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
9238 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
9239 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
9240 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
9241 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
9242 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
9244 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
9247 (__makecontext): Fix incorrect CFI when backtracing out of
9248 context created via makecontext.
9249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
9250 (__setcontext): Fix incorrect CFI during switch to new context.
9251 (__novec_setcontext): Likewise.
9253 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
9256 * time/strptime_l.c (__strptime_internal): Allow modifiers
9258 * time/tst-strptime.c (day_tests): Add testcase.
9260 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9262 * scripts/bench.pl: Skip over blank lines.
9264 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
9267 * manual/time.texi (Calendar Time): Clarify what timezone functions
9270 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9272 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9274 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
9276 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
9278 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
9279 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
9280 * debug/memset_chk.c (__memset_chk): Likewise.
9281 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
9282 * debug/strncpy_chk.c: Likewise.
9284 2013-12-03 Joseph Myers <joseph@codesourcery.com>
9288 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
9289 (__ieee754_exp): For possibly underflowing results, check size of
9290 result and force underflow exception if required.
9291 * math/auto-libm-test-in: Add more tests of exp.
9292 * math/auto-libm-test-out: Regenerated.
9293 * sysdeps/i386/fpu/libm-test-ulps: Update.
9294 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9297 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
9298 * math/w_exp2f.c (__exp2f): Likewise.
9299 * math/w_exp2l.c (__exp2l): Likewise.
9300 * math/auto-libm-test-in: Do not allow missing errno on exp2
9302 * math/auto-libm-test-out: Regenerated.
9304 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
9307 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
9308 handle filename validation.
9309 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
9312 2013-12-03 Joseph Myers <joseph@codesourcery.com>
9315 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
9316 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
9317 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
9319 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
9320 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
9321 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
9322 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
9323 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
9324 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
9325 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
9326 * math/auto-libm-test-in: Don't allow missing errno from erfc.
9327 Add more erfc tests.
9328 * math/auto-libm-test-out: Regenerated.
9329 * sysdeps/i386/fpu/libm-test-ulps: Update.
9330 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9332 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
9333 exp2, expm1, j0 and j1.
9334 * math/auto-libm-test-out: Regenerated.
9335 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
9336 (erfc_test_data): Likewise.
9337 (exp_test_data): Likewise.
9338 (exp_tonearest_test_data): Likewise.
9339 (exp_towardzero_test_data): Likewise.
9340 (exp_downward_test_data): Likewise.
9341 (exp_upward_test_data): Likewise.
9342 (exp10_test_data): Likewise.
9343 (exp2_test_data): Likewise.
9344 (expm1_test_data): Likewise.
9345 (j0_test_data): Likewise.
9346 (j1_test_data): Likewise.
9347 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
9348 (input_flag_type): Add flag_xfail_rounding.
9349 (input_flags): Add xfail-rounding.
9350 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
9351 (output_for_one_input_case): Handle flag_xfail_rounding.
9352 * sysdeps/i386/fpu/libm-test-ulps: Update.
9353 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9355 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
9358 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
9361 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
9364 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
9365 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
9366 (STAP_PROBE0): New macro.
9367 (STAP_PROBE1): Likewise.
9368 (STAP_PROBE2): Likewise.
9369 (STAP_PROBE3): Likewise.
9370 (STAP_PROBE4): Likewise.
9372 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
9374 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
9376 2013-12-02 Steve Ellcey <sellcey@mips.com>
9378 * benchtests/Makefile (bench): Add sqrt.
9379 (LDLIBS-bench-sqrt): New.
9380 * benchtests/sqrt-input: New.
9382 2013-12-02 Pavel Simerda <psimerda@redhat.com>
9384 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
9385 (GAIH_EAI): Likewise.
9386 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
9387 (gaih_inet): Likewise.
9388 (getaddrinfo): Don't use GAIH_EAI.
9390 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
9391 (struct gaih): Remove definition.
9393 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9395 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
9396 Use HERRNOP directly.
9398 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9400 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9402 2013-11-30 Joseph Myers <joseph@codesourcery.com>
9404 * math/gen-auto-libm-tests.c (test_functions): Add more
9405 single-argument functions.
9406 (special_fill_pi_2): New function.
9407 (special_fill_minus_pi_2): Likewise.
9408 (special_fill_pi_6): Likewise.
9409 (special_fill_minus_pi_6): Likewise.
9410 (special_fill_pi_3): Likewise.
9411 (special_fill_2pi_3): Likewise.
9412 (special_fill_e): Likewise.
9413 (special_fill_1_e): Likewise.
9414 (special_fill_e_minus_1): Likewise.
9415 (special_real_inputs): Add more special inputs.
9416 (output_for_one_input_case): Do not require ERANGE on underflow to
9417 zero if round-to-nearest result does not underflow to zero, unless
9418 exact results required.
9419 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
9420 atan, atanh, cbrt, cos and cosh.
9421 * math/auto-libm-test-out: Regenerated.
9422 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
9423 (acos_tonearest_test_data): Likewise.
9424 (acos_towardzero_test_data): Likewise.
9425 (acos_downward_test_data): Likewise.
9426 (acos_upward_test_data): Likewise.
9427 (acosh_test_data): Likewise.
9428 (asin_test_data): Likewise.
9429 (asin_tonearest_test_data): Likewise.
9430 (asin_towardzero_test_data): Likewise.
9431 (asin_upward_test_data): Likewise.
9432 (asinh_test_data): Likewise.
9433 (atan_test_data): Likewise.
9434 (atanh_test_data): Likewise.
9435 (cbrt_test_data): Likewise.
9436 (cos_test_data): Likewise.
9437 (cos_tonearest_test_data): Likewise.
9438 (cos_towardzero_test_data): Likewise.
9439 (cos_downward_test_data): Likewise.
9440 (cos_upward_test_data): Likewise.
9441 (cosh_test_data): Likewise.
9442 (cosh_tonearest_test_data): Likewise.
9443 (cosh_towardzero_test_data): Likewise.
9444 (cosh_downward_test_data): Likewise.
9445 (cosh_upward_test_data): Likewise.
9446 * sysdeps/i386/fpu/libm-test-ulps: Update.
9447 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9449 2013-11-29 Joseph Myers <joseph@codesourcery.com>
9452 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
9453 * math/w_exp10f.c (__exp10f): Likewise.
9454 * math/w_exp10l.c (__exp10l): Likewise.
9455 * math/libm-test.inc (exp10_test_data): Add more tests and expect
9456 errno settings in existing tests.
9459 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
9460 precision control set to double precision.
9461 * sysdeps/i386/fpu/w_sqrt.c: New file.
9462 * math/auto-libm-test-in: Add more tests.
9463 * math/auto-libm-test-out: Update.
9465 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
9466 (sqrt_test_tonearest): New function.
9467 (sqrt_towardzero_test_data): New variable.
9468 (sqrt_test_towardzero): New function.
9469 (sqrt_downward_test_data): New variable.
9470 (sqrt_test_downward): New function.
9471 (sqrt_upward_test_data): New variable.
9472 (sqrt_test_upward): New function.
9473 (main): Call the new functions.
9475 * math/gen-auto-libm-tests.c: New file.
9476 * math/auto-libm-test-in: Likewise.
9477 * math/auto-libm-test-out: New generated file.
9478 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
9480 (%beautify): Add generated representations of zero.
9481 (top level): Set $auto_input and call parse_auto_input.
9482 (beautify): Remove trailing "f" from hex float constants.
9483 (parse_args): Handle XFAIL_TEST.
9484 (convert_condition): New function.
9485 (or_value): Likewise.
9486 (or_cond_value): Likewise.
9487 (generate_testfile): Handle AUTO_TESTS_* lines.
9488 (parse_auto_input): New function.
9489 * math/libm-test.inc (XFAIL_TEST): New macro.
9490 (ERRNO_UNCHANGED): Update value.
9491 (ERRNO_EDOM): Likewise.
9492 (ERRNO_ERANGE): Likewise.
9493 (IGNORE_RESULT): Likewise.
9494 (TEST_COND_flt_32): New macro.
9495 (TEST_COND_dbl_64): Likewise.
9496 (TEST_COND_ldbl_96_intel): Likewise.
9497 (TEST_COND_ldbl_96_m68k): Likewise.
9498 (TEST_COND_ldbl_128): Likewise.
9499 (TEST_COND_ldbl_128ibm): Likewise.
9500 (TEST_COND_long32): Likewise.
9501 (TEST_COND_long64): Likewise.
9502 (TEST_COND_before_rounding): Likewise.
9503 (TEST_COND_after_rounding): Likewise.
9504 (enable_test): Handle XFAIL_TEST flag.
9505 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
9506 with finite results.
9507 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
9510 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9511 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9514 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
9515 __tls_get_addr_internal instead of __tls_get_offset in order to
9516 avoid GOT pointer dependency. Make rtld export
9517 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
9518 __tls_get_addr since we are a __tls_get_offset platform.
9519 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
9520 GOT pointer being set up before.
9521 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
9523 2013-11-28 Joseph Myers <joseph@codesourcery.com>
9525 * manual/math.texi (Errors in Math Functions): Document accuracy
9529 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
9530 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
9531 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9532 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9533 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9534 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9535 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9536 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
9537 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
9538 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9539 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9540 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9541 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9542 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9543 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
9544 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
9546 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
9547 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
9548 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
9549 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
9550 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
9552 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
9554 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
9556 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
9557 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
9558 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
9559 atomic-feupdateenv and flt-rounds.
9560 * sysdeps/powerpc/nofpu/Versions (libc): Add
9561 __atomic_feholdexcept, __atomic_feclearexcept,
9562 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
9563 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
9564 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
9565 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
9566 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
9568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
9571 * manual/arith.texi (FP Exceptions): Document that exceptions may
9572 not be raised when matherr is used.
9573 (Math Error Reporting): Document overflow in directed rounding
9574 modes. Document that errno may not be set when finite values are
9575 returned on overflow. Document intent to set errno on underflow
9576 only for underflow to zero.
9579 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
9580 round-to-nearest then adjust result for other rounding modes.
9581 * include/fenv.h (fegetround): Use libm_hidden_proto.
9582 * math/fegetround.c (fegetround): Use libm_hidden_def.
9583 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
9584 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
9585 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
9586 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
9588 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
9589 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
9590 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
9591 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
9593 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9596 * nss/Versions (libnss_files): Add
9597 _nss_files_gethostbyname3_r.
9598 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
9600 (HOST_DB_LOOKUP): Remove macro.
9601 (_nss_files_gethostbyname_r): Implement function without the
9602 HOST_DB_LOOKUP macro.
9603 (_nss_files_gethostbyname2_r): Likewise.
9605 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
9607 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
9609 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
9611 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
9612 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
9615 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9617 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
9618 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
9619 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
9620 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
9621 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
9622 __fe_nomask_env_priv and attribute_hidden.
9623 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
9624 (libc_feupdateenv_test_ppc): Likewise.
9625 (libc_feresetround_ppc): Likewise.
9626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9627 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
9628 compat_symbol macro.
9629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9630 (__fe_nomask_env): Likewise.
9631 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
9633 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
9635 * string/Makefile: Remove ifunc tests.
9636 * string/test-string.h: Define TEST_IFUNC.
9637 * string/test-bcopy-ifunc.c: Remove.
9638 * string/test-bzero-ifunc.c: Likewise.
9639 * string/test-memccpy-ifunc.c: Likewise.
9640 * string/test-memchr-ifunc.c: Likewise.
9641 * string/test-memcmp-ifunc.c: Likewise.
9642 * string/test-memcpy-ifunc.c: Likewise.
9643 * string/test-memmem-ifunc.c: Likewise.
9644 * string/test-memmove-ifunc.c: Likewise.
9645 * string/test-mempcpy-ifunc.c: Likewise.
9646 * string/test-memrchr-ifunc.c: Likewise.
9647 * string/test-memset-ifunc.c: Likewise.
9648 * string/test-rawmemchr-ifunc.c: Likewise.
9649 * string/test-stpcpy-ifunc.c: Likewise.
9650 * string/test-stpncpy-ifunc.c: Likewise.
9651 * string/test-strcasecmp-ifunc.c: Likewise.
9652 * string/test-strcasestr-ifunc.c: Likewise.
9653 * string/test-strcat-ifunc.c: Likewise.
9654 * string/test-strchr-ifunc.c: Likewise.
9655 * string/test-strchrnul-ifunc.c: Likewise.
9656 * string/test-strcmp-ifunc.c: Likewise.
9657 * string/test-strcpy-ifunc.c: Likewise.
9658 * string/test-strcspn-ifunc.c: Likewise.
9659 * string/test-strlen-ifunc.c: Likewise.
9660 * string/test-strncasecmp-ifunc.c: Likewise.
9661 * string/test-strncat-ifunc.c: Likewise.
9662 * string/test-strncmp-ifunc.c: Likewise.
9663 * string/test-strncpy-ifunc.c: Likewise.
9664 * string/test-strnlen-ifunc.c: Likewise.
9665 * string/test-strpbrk-ifunc.c: Likewise.
9666 * string/test-strrchr-ifunc.c: Likewise.
9667 * string/test-strspn-ifunc.c: Likewise.
9668 * string/test-strstr-ifunc.c: Likewise.
9670 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
9672 * benchtests/Makefile: Remove ifunc tests.
9673 * benchtests/bench-string.h: Define TEST_IFUNC.
9674 * benchtests/bench-bcopy-ifunc.c: Remove.
9675 * benchtests/bench-bzero-ifunc.c: Likewise.
9676 * benchtests/bench-memccpy-ifunc.c: Likewise.
9677 * benchtests/bench-memchr-ifunc.c: Likewise.
9678 * benchtests/bench-memcmp-ifunc.c: Likewise.
9679 * benchtests/bench-memcpy-ifunc.c: Likewise.
9680 * benchtests/bench-memmem-ifunc.c: Likewise.
9681 * benchtests/bench-memmove-ifunc.c: Likewise.
9682 * benchtests/bench-mempcpy-ifunc.c: Likewise.
9683 * benchtests/bench-memrchr-ifunc.c: Likewise.
9684 * benchtests/bench-memset-ifunc.c: Likewise.
9685 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
9686 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
9687 * benchtests/bench-stpcpy-ifunc.c: Likewise.
9688 * benchtests/bench-stpncpy-ifunc.c: Likewise.
9689 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
9690 * benchtests/bench-strcasestr-ifunc.c: Likewise.
9691 * benchtests/bench-strcat-ifunc.c: Likewise.
9692 * benchtests/bench-strchr-ifunc.c: Likewise.
9693 * benchtests/bench-strchrnul-ifunc.c: Likewise.
9694 * benchtests/bench-strcmp-ifunc.c: Likewise.
9695 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
9696 * benchtests/bench-strcpy-ifunc.c: Likewise.
9697 * benchtests/bench-strcspn-ifunc.c: Likewise.
9698 * benchtests/bench-strlen-ifunc.c: Likewise.
9699 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
9700 * benchtests/bench-strncat-ifunc.c: Likewise.
9701 * benchtests/bench-strncmp-ifunc.c: Likewise.
9702 * benchtests/bench-strncpy-ifunc.c: Likewise.
9703 * benchtests/bench-strnlen-ifunc.c: Likewise.
9704 * benchtests/bench-strpbrk-ifunc.c: Likewise.
9705 * benchtests/bench-strrchr-ifunc.c: Likewise.
9706 * benchtests/bench-strsep-ifunc.c: Likewise.
9707 * benchtests/bench-strspn-ifunc.c: Likewise.
9708 * benchtests/bench-strstr-ifunc.c: Likewise.
9710 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
9712 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
9714 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
9716 * resolv/netdb.h: Use __glibc_reserved instead __unused.
9717 * rt/aio.h: Likewise.
9718 * sysdeps/gnu/bits/utmp.h: Likewise.
9719 * sysdeps/gnu/bits/utmpx.h: Likewise.
9720 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
9721 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
9722 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
9723 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
9724 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
9725 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
9726 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
9727 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
9728 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
9729 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
9730 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
9731 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
9732 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
9733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
9734 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
9735 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
9736 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
9737 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
9738 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
9739 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
9740 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
9741 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
9742 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
9743 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
9744 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
9745 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9746 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
9747 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
9748 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
9749 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
9750 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
9751 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
9752 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
9753 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
9754 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
9755 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
9756 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
9757 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
9758 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
9759 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
9760 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
9761 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
9763 2013-11-25 Carlos O'Donell <carlos@redhat.com>
9766 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
9767 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
9769 2013-11-25 Joseph Myers <joseph@codesourcery.com>
9771 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
9772 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
9775 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9777 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
9778 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
9779 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
9780 (__fesetround): Remove define.
9781 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
9782 rounding and exceptions handling.
9783 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
9784 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
9785 (__fe_nomask_env): Likewise.
9786 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
9787 __fegetround instead of fegetround.
9788 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
9789 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
9791 2013-11-21 Roland McGrath <roland@hack.frob.com>
9793 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
9796 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
9798 2013-11-21 Meador Inge <meadori@codesourcery.com>
9801 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
9802 (encrypt_r): Likewise.
9803 * malloc/obstack.h (obstack_free): Likewise.
9804 * posix/unistd.h (encrypt): Likewise.
9806 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
9808 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
9809 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
9810 DL_CALL_DT_FINI() that call the functions directly.
9811 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
9812 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
9813 * elf/dl-fini.c: Likewise.
9815 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
9817 * malloc/hooks.c (memalign_check): Add alignment rounding.
9818 * malloc/malloc.c (_mid_memalign): New function.
9819 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
9820 Implement by calling _mid_memalign.
9821 * manual/probes.texi (Memory Allocation Probes): Remove
9822 memory_valloc_retry and memory_pvalloc_retry.
9824 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
9826 * locale/programs/locarchive.c (open_archive): Add const
9827 qualifier to ARCHIVEFNAME and copy default fname to
9831 * libio/tst-widetext.input: Rename Oriya to Odia.
9832 * locale/iso-639.def: Likewise.
9834 * manual/probes.texi (Mathematical Function Probes): Add
9835 documentation for sin, cos, asin and acos probes.
9836 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
9837 (__sin32): Add slowasin probe.
9838 (__cos32): Add slowacos probe.
9839 (__mpsin): Add slowsin probe.
9840 (__mpcos): Add slowcos probe.
9842 2013-11-19 Joseph Myers <joseph@codesourcery.com>
9845 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
9846 thread-local __sim_exceptions_thread and global
9847 __sim_exceptions_global.
9848 (__sim_disabled_exceptions): Change to thread-local
9849 __sim_disabled_exceptions_thread and global
9850 __sim_disabled_exceptions_global.
9851 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
9852 and global __sim_round_mode_global.
9853 (__simulate_exceptions): Use thread-local floating-point state and
9854 set global state from it as needed.
9855 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
9856 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
9857 __sim_round_mode_thread.
9858 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
9859 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
9860 and global __sim_exceptions_global.
9861 (__sim_disabled_exceptions): Change to thread-local
9862 __sim_disabled_exceptions_thread and global
9863 __sim_disabled_exceptions_global.
9864 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
9865 and global __sim_round_mode_global.
9866 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
9867 (SIM_SET_GLOBAL): Likewise.
9868 * sysdeps/powerpc/soft-fp/sfp-machine.h
9869 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
9870 __sim_round_mode_thread.
9871 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
9872 __sim_disabled_exceptions_thread.
9873 (__sim_exceptions): Change to __sim_exceptions_thread.
9874 (__sim_disabled_exceptions): Change to
9875 __sim_disabled_exceptions_thread.
9876 (__sim_round_mode): Change to __sim_round_mode_thread.
9877 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
9878 thread-local floating-point state and set global state from it as
9880 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
9881 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
9882 (__sim_disabled_exceptions): Remove extern declaration.
9883 (feenableexcept): Use thread-local floating-point state and set
9884 global state from it as needed.
9885 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
9887 (__sim_disabled_exceptions): Likewise.
9888 (__sim_round_mode): Likewise.
9889 (__fegetenv): Use thread-local floating-point state.
9890 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
9891 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
9892 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
9893 floating-point state and set global state from it as needed.
9894 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
9895 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
9896 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
9898 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
9899 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
9901 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
9902 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
9903 Use __sim_round_mode_thread.
9904 * math/test-fenv-tls.c: New file.
9905 * math/Makefile (tests): Add test-fenv-tls.
9906 ($(objpfx)test-fenv-tls): Depend on
9907 $(common-objpfx)nptl/libpthread.so.
9909 2013-11-19 Andreas Schwab <schwab@suse.de>
9911 * locale/programs/locale.c (show_info): Decode wordarray elements.
9912 * locale/categories.def (LC_MONETARY): Add element for
9913 _NL_MONETARY_CRNCYSTR.
9914 * locale/C-monetary.c (conversion_rate): New variable.
9915 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
9918 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
9920 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
9921 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
9923 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
9925 * elf/Makefile (tst-auxv): New test.
9926 * elf/tst-auxv.c: New
9927 * elf/rtld.c (dl_main): Adjust AT_EXECFN
9929 2013-11-18 Joseph Myers <joseph@codesourcery.com>
9931 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
9932 (hidden_proto): Caller changed.
9933 (hidden_tls_proto): New macro.
9934 (libc_hidden_tls_proto): Likewise.
9935 (rtld_hidden_tls_proto): Likewise.
9936 (libm_hidden_tls_proto): Likewise.
9937 (libresolv_hidden_tls_proto): Likewise.
9938 (librt_hidden_tls_proto): Likewise.
9939 (libdl_hidden_tls_proto): Likewise.
9940 (libnss_files_hidden_tls_proto): Likewise.
9941 (libnsl_hidden_tls_proto): Likewise.
9942 (libnss_nisplus_hidden_tls_proto): Likewise.
9943 (libutil_hidden_tls_proto): Likewise.
9945 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
9948 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
9949 (decompose_rpath): Defer expansion to fillin_rpath.
9950 (_dl_init_paths): Pass linkmap to fillin_rpath.
9952 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9954 * benchtests/Makefile: Add strsep.
9955 * benchtests/bench-strsep.c: New file: strsep benchtest.
9956 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
9958 2013-11-18 Andreas Schwab <schwab@suse.de>
9960 * locale/programs/locale.c (show_info) [case byte]: Check for
9961 '\377' instead of '\177'.
9962 * locale/C-monetary.c (not_available): Always use "\377".
9963 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
9964 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
9965 detect unavailable sign_posn locale elements.
9966 * locale/localeconv.c (__localeconv): For grouping and
9967 mon_grouping handle "\177" and "\377" like no grouping.
9968 (INT_ELEM): New macro. Use it to set all numeric members.
9969 * locale/programs/ld-monetary.c (monetary_read)
9970 <tok_mon_grouping>: Normalize single -1 to the empty string.
9971 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
9974 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
9977 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
9978 when we match (nil).
9979 * stdio-common/tst-sscanf.c (struct test): Add testcase.
9981 2013-11-16 Joseph Myers <joseph@codesourcery.com>
9983 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
9984 (NO_TEST_INLINE): Update value.
9985 (ERRNO_UNCHANGED): Likewise.
9986 (ERRNO_EDOM): Likewise.
9987 (ERRNO_ERANGE): Likewise.
9988 (IGNORE_RESULT): Likewise.
9989 (check_float_internal): Check signs of NaN results if
9991 (check_complex): Pass TEST_NAN_SIGN flag through to second
9992 check_float_internal call.
9993 (copysign_test_data): Add tests with quiet NaNs as second
9994 argument. Use TEST_NAN_SIGN.
9995 (fabs_test_data): Add test of negative quiet NaN argument. Use
9997 (signbit_test_data): Add tests of quiet NaN argument.
9998 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
10000 * math/gen-libm-test.pl (show_exceptions): Take extra argument
10002 (parse_args): Handle function results specified as IGNORE.
10003 * math/libm-test.inc (IGNORE_RESULT): New macro.
10004 (check_float_internal): Do not check numerical result if flag
10006 (check_complex): Pass through IGNORE_RESULT to second
10007 check_float_internal call.
10008 (check_int): Do not check numerical result if flag IGNORE_RESULT
10010 (check_long): Likewise.
10011 (check_bool): Likewise.
10012 (check_longlong): Likewise.
10013 (lrint_test_data): Add tests of infinite and NaN arguments.
10014 (lrint_tonearest_test_data): Likewise.
10015 (lrint_towardzero_test_data): Likewise.
10016 (lrint_downward_test_data): Likewise.
10017 (lrint_upward_test_data): Likewise.
10018 (llrint_test_data): Likewise.
10019 (llrint_tonearest_test_data): Likewise.
10020 (llrint_towardzero_test_data): Likewise.
10021 (llrint_downward_test_data): Likewise.
10022 (llrint_upward_test_data): Likewise.
10023 (lround_test_data): Likewise.
10024 (llround_test_data): Likewise.
10026 * math/libm-test.inc (NO_TEST_INLINE): New macro.
10027 (ERRNO_UNCHANGED): Update value.
10028 (ERRNO_EDOM): Likewise.
10029 (ERRNO_ERANGE): Likewise.
10030 (NO_TEST_INLINE_FLOAT): New macro.
10031 (NO_TEST_INLINE_DOUBLE): Likewise.
10032 (enable_test): New function.
10033 (RUN_TEST_f_f): Check enable_test before running test.
10034 (RUN_TEST_2_f): Likewise.
10035 (RUN_TEST_fff_f): Likewise.
10036 (RUN_TEST_c_f): Likewise.
10037 (RUN_TEST_f_f1): Likewise.
10038 (RUN_TEST_fF_f1): Likewise.
10039 (RUN_TEST_fI_f1): Likewise.
10040 (RUN_TEST_ffI_f1): Likewise.
10041 (RUN_TEST_c_c): Likewise.
10042 (RUN_TEST_cc_c): Likewise.
10043 (RUN_TEST_f_i): Likewise.
10044 (RUN_TEST_f_i_tg): Likewise.
10045 (RUN_TEST_ff_i_tg): Likewise.
10046 (RUN_TEST_f_b): Likewise.
10047 (RUN_TEST_f_b_tg): Likewise.
10048 (RUN_TEST_f_l): Likewise.
10049 (RUN_TEST_f_L): Likewise.
10050 (RUN_TEST_fFF_11): Likewise.
10051 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
10053 (cosh_test_data): Likewise.
10054 (exp_test_data): Likewise.
10055 (expm1_test_data): Likewise.
10056 (hypot_test_data): Likewise.
10057 (pow_test_data): Likewise.
10058 (sinh_test_data): Likewise.
10059 (tanh_test_data): Likewise.
10060 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
10063 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
10064 tests with quiet NaN input and output.
10065 (acosh_test_data): Likewise.
10066 (asin_test_data): Likewise.
10067 (asinh_test_data): Likewise.
10068 (atan_test_data): Likewise.
10069 (atanh_test_data): Likewise.
10070 (atan2_test_data): Likewise.
10071 (cbrt_test_data): Likewise.
10072 (cos_test_data): Likewise.
10073 (cosh_test_data): Likewise.
10074 (erf_test_data): Likewise.
10075 (erfc_test_data): Likewise.
10076 (exp_test_data): Likewise.
10077 (exp10_test_data): Likewise.
10078 (exp2_test_data): Likewise.
10079 (expm1_test_data): Likewise.
10080 (hypot_test_data): Likewise.
10081 (j0_test_data): Likewise.
10082 (j1_test_data): Likewise.
10083 (jn_test_data): Likewise.
10084 (lgamma_test_data): Likewise.
10085 (log_test_data): Likewise.
10086 (log10_test_data): Likewise.
10087 (log1p_test_data): Likewise.
10088 (log2_test_data): Likewise.
10089 (pow_test_data): Likewise.
10090 (scalb_test_data): Likewise.
10091 (sin_test_data): Likewise.
10092 (sincos_test_data): Likewise.
10093 (sinh_test_data): Likewise.
10094 (tan_test_data): Likewise.
10095 (tanh_test_data): Likewise.
10096 (tgamma_test_data): Likewise.
10097 (y0_test_data): Likewise.
10098 (y1_test_data): Likewise.
10099 (yn_test_data): Likewise.
10102 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
10103 argument being NaN and avoid computations with second argument in
10105 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
10106 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
10107 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
10109 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
10111 * locale/iso-639.def: Add Chitwani Tharu (the).
10113 2013-11-14 Andreas Schwab <schwab@suse.de>
10115 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
10116 word instead of empty string.
10118 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10121 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
10122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10123 (__fe_nomask_env): Likewise.
10125 2013-11-13 Steve Ellcey <sellcey@mips.com>
10127 * benchtests/bench-timing.h: Include time.h.
10129 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
10132 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
10134 * sysdeps/unix/sysv/linux/configure: Regenerated.
10136 2013-11-13 Joseph Myers <joseph@codesourcery.com>
10139 * stdlib/strtod_l.c (round_and_return): Do not consider
10140 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
10141 exponent one less than half the least subnormal exponent.
10142 * stdlib/test-strtod-round-data: Add more tests.
10143 * stdlib/tst-strtod-round.c (tests): Regenerated.
10145 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10148 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
10149 (__fe_mask_env): Likewise.
10150 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
10151 libm_hidden_proto and add function prototype.
10152 (__fe_mask_env): Add function prototype.
10153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10154 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
10155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
10156 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
10157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10158 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
10160 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10162 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
10163 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
10165 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10167 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
10168 of htab_find_slot().
10170 2013-11-11 David S. Miller <davem@davemloft.net>
10173 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
10174 symbol in the non-vis3 case in static builds.
10175 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
10176 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
10177 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
10178 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
10180 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10183 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
10186 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10188 * benchtests/Makefile: Add bench-strtod.
10189 * benchtests/bench-strtod.c: New file: strtod benchtest
10191 2013-11-11 Andreas Schwab <schwab@suse.de>
10194 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
10195 terminating NUL in key length.
10197 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10199 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
10200 Add artificial ODP entry for vDSO symbol for PPC64.
10201 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
10202 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
10204 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
10207 * nss/getent.c (services_keys): Recognize services starting with digit.
10209 2013-11-06 David S. Miller <davem@davemloft.net>
10212 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
10213 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
10215 2013-11-06 Will Newton <will.newton@linaro.org>
10217 * manual/memory.texi (Malloc Examples): Remove register
10218 keyword from examples.
10220 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
10222 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
10224 2013-11-04 Joseph Myers <joseph@codesourcery.com>
10227 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
10228 depending on [__GCC_IEC_559 > 0].
10229 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
10230 depending on [__GCC_IEC_559_COMPLEX > 0].
10232 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
10234 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
10237 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
10239 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
10241 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
10244 * malloc/malloc (malloc_info): Do not handle first bin as
10247 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
10249 * locale/iso-639.def: Add Central Nahuatl (nhn).
10251 2013-11-01 Bruno Haible <bruno@clisp.org>
10254 * manual/math.texi (BSD Random): Specify range upper bound as
10257 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
10259 * locale/iso-639.def: Add Meadow Mari (mhr).
10261 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
10263 [BZ #14752], [BZ #15763]
10264 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
10266 * rt/tst_shm.c: Add test for escaping directory.
10268 2013-10-31 Andreas Schwab <schwab@suse.de>
10271 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
10272 followed by 'x' as part of digit sequence.
10273 * stdio-common/tst-sscanf.c (double_tests2): New tests.
10275 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
10278 * configure.ac: allow GNU Make 4.0 and greater.
10279 * configure: Regenerated.
10281 2013-10-30 Will Newton <will.newton@linaro.org>
10284 * malloc/hooks.c (memalign_check): Limit alignment to the
10285 maximum representable power of two.
10286 * malloc/malloc.c (__libc_memalign): Likewise.
10287 * malloc/tst-memalign.c (do_test): Add test for very
10288 large alignment values.
10289 * malloc/tst-posix_memalign.c (do_test): Likewise.
10291 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
10294 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
10295 (munmap_chunk): Likewise.
10296 (mremap_chunk): Likewise.
10298 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
10301 * stdlib/div.c (div): Remove obsolete code.
10302 * stdlib/ldiv.c (ldiv): Likewise.
10303 * stdlib/lldiv.c (lldiv): Likewise.
10305 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10308 * nss/nss_files/files-XXX.c (get_contents_ret): New
10310 (get_contents): New function.
10311 (internal_getent): Use it. Expand size of LINEBUFLEN.
10313 2013-10-30 Mike Frysinger <vapier@gentoo.org>
10315 * configure.in: Moved to ...
10316 * configure.ac: ... here. Change reference to configure.in
10318 * sysdeps/arm/preconfigure.ac: ... here.
10319 configure.in to configure.ac.
10320 * sysdeps/gnu/configure.in: Moved to ...
10321 * sysdeps/gnu/configure.ac: ... here.
10322 * sysdeps/i386/configure.in: Moved to ...
10323 * sysdeps/i386/configure.ac: ... here.
10324 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
10325 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
10326 * sysdeps/mach/configure.in: Moved to ...
10327 * sysdeps/mach/configure.ac: ... here.
10328 * sysdeps/mach/hurd/configure.in: Moved to ...
10329 * sysdeps/mach/hurd/configure.ac: ... here.
10330 * sysdeps/powerpc/configure.in: Moved to ...
10331 * sysdeps/powerpc/configure.ac: ... here.
10332 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
10333 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
10334 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
10335 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
10336 * sysdeps/s390/s390-32/configure.in: Moved to ...
10337 * sysdeps/s390/s390-32/configure.ac: ... here.
10338 * sysdeps/s390/s390-64/configure.in: Moved to ...
10339 * sysdeps/s390/s390-64/configure.ac: ... here.
10340 * sysdeps/sh/configure.in: Moved to ...
10341 * sysdeps/sh/configure.ac: ... here.
10342 * sysdeps/sparc/configure.in: Moved to ...
10343 * sysdeps/sparc/configure.ac: ... here.
10344 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
10345 * sysdeps/unix/sysv/linux/configure.ac: ... here.
10346 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
10347 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
10348 * sysdeps/x86_64/configure.in: Moved to ...
10349 * sysdeps/x86_64/configure.ac: ... here.
10350 * sysdeps/x86_64/preconfigure.in: Moved to ...
10351 * sysdeps/x86_64/preconfigure.ac: ... here.
10352 * aclocal.m4: Change reference to configure.in to configure.ac.
10353 * config.h.in: Likewise.
10354 * manual/install.texi: Likewise.
10355 * manual/maint.texi: Likewise.
10356 * Makefile: Likewise.
10357 * malloc/Makefile: Likewise.
10358 * nscd/Makefile: Likewise.
10359 * Makeconfig: Change reference to configure.in and
10360 preconfigure.in to configure.ac and preconfigure.ac
10362 * INSTALL: Regenerated.
10363 * configure: Likewise.
10364 * sysdeps/gnu/configure: Likewise.
10365 * sysdeps/i386/configure: Likewise.
10366 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
10367 * sysdeps/mach/configure: Likewise.
10368 * sysdeps/mach/hurd/configure: Likewise.
10369 * sysdeps/powerpc/configure: Likewise.
10370 * sysdeps/powerpc/powerpc32/configure: Likewise.
10371 * sysdeps/powerpc/powerpc64/configure: Likewise.
10372 * sysdeps/s390/s390-32/configure: Likewise.
10373 * sysdeps/s390/s390-64/configure: Likewise.
10374 * sysdeps/sh/configure: Likewise.
10375 * sysdeps/sparc/configure: Likewise.
10376 * sysdeps/unix/sysv/linux/configure: Likewise.
10377 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
10378 * sysdeps/x86_64/configure: Likewise.
10379 * sysdeps/x86_64/preconfigure: Likewise.
10381 2013-10-29 Andreas Schwab <schwab@suse.de>
10383 * stdio-common/Makefile (tst-swscanf-ENV): Define.
10385 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10387 * benchtests/pow-inputs: Add new inputs.
10389 * benchtests/exp-inputs: Add new inputs.
10391 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
10392 conditional check for return value.
10393 (__cos32): Likewise.
10395 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10397 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
10398 to provide a boost for large inputs with word alignment.
10399 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
10400 implementation based on optimized PPC64 strcpy.
10401 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
10402 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
10403 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
10404 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
10406 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
10409 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
10411 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
10414 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
10415 * time/tst-strptime.c (day_tests): Add testcase.
10417 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
10420 * manual/pattern.texi: Acknowledge that fnmatch can fail.
10422 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
10425 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
10426 MAP_FAILED on error.
10428 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10431 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
10432 heap for large requests.
10434 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
10437 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
10438 result if the result has no associated interface.
10439 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
10440 interface for all 127.X.Y.Z addresses.
10442 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
10444 * locale/iso-639.def: Add Ligurian (lij)
10446 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
10449 * sunrpc/rpc_main.c: Document rpcgen -5.
10451 2013-10-19 Michael Stahl <mstahl@redhat.com>
10453 * elf/rtld.c (do_preload): Print the reason why preloading failed.
10455 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
10458 * posix/glob.c: Match only directories when trailing slash is present.
10459 * posix/tst-gnuglob.c (my_opendir): Do not open files.
10460 (main): Add testcase.
10462 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
10465 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
10467 2013-10-18 Carlos O'Donell <carlos@redhat.com>
10469 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
10470 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
10471 AUTH_DES and cindex for FIPS 140-2.
10472 (DES Encryption): Add cindex FIPS 46-3.
10474 * locale/locarchive.h (struct locarhandle): Add fname.
10475 * locale/programs/localedef.c (main): Pass ARGV[remaining]
10476 if an optional argument was specified to --list-archive,
10478 * locale/programs/locarchive.c (show_archive_content): Take new
10479 argument fname and pass it via ah.fname to open_archive.
10480 * locale/programs/localedef.h: Update decl.
10481 (open_archive): If AH->fname is non-null, open that file
10482 rather than the default file name, and don't ignore ENOENT.
10483 (create_archive): Set AH.fname to NULL.
10484 (delete_locales_from_archive): Likewise.
10485 (add_locales_to_archive): Likewise.
10486 * locale/programs/locfile.c (write_all_categories): Likewise.
10488 2013-10-18 Joseph Myers <joseph@codesourcery.com>
10489 Aldy Hernandez <aldyh@redhat.com>
10491 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
10492 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
10493 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
10494 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
10495 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
10496 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
10497 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
10498 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
10499 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
10500 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
10501 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
10502 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
10503 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
10504 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
10505 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
10507 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
10509 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
10511 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
10513 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
10514 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
10516 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
10517 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
10518 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
10519 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
10521 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
10522 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
10523 * sysdeps/powerpc/preconfigure: Likewise.
10524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
10526 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
10527 Replace contents of file by #include of <fenv_libc.h>.
10528 * sysdeps/powerpc/soft-fp/sfp-machine.h
10529 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
10531 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
10532 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
10533 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
10534 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
10535 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
10536 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
10537 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
10538 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
10539 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
10540 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
10541 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
10542 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
10543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10544 Allow copysignl PLT reference to be missing.
10546 2013-10-18 Richard Sandiford <richard@codesourcery.com>
10547 Joseph Myers <joseph@codesourcery.com
10550 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
10552 (add_to_tablewc): Assert sequence of wide characters is nonempty.
10554 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10556 * elf/tst-tls-dlinfo.c: Don't include tls.h.
10557 * elf/tst-tls1.c: Likewise.
10558 * elf/tst-tls10.h: Likewise.
10559 * elf/tst-tls14.c: Likewise.
10560 * elf/tst-tls2.c: Likewise.
10561 * elf/tst-tls3.c: Likewise.
10562 * elf/tst-tls4.c: Likewise.
10563 * elf/tst-tls5.c: Likewise.
10564 * elf/tst-tls6.c: Likewise.
10565 * elf/tst-tls7.c: Likewise.
10566 * elf/tst-tls8.c: Likewise.
10567 * elf/tst-tls9.c: Likewise.
10568 * elf/tst-tlsmod1.c: Likewise.
10569 * elf/tst-tlsmod13.c: Likewise.
10570 * elf/tst-tlsmod13a.c: Likewise.
10571 * elf/tst-tlsmod14a.c: Likewise.
10572 * elf/tst-tlsmod16a.c: Likewise.
10573 * elf/tst-tlsmod16b.c: Likewise.
10574 * elf/tst-tlsmod2.c: Likewise.
10575 * elf/tst-tlsmod3.c: Likewise.
10576 * elf/tst-tlsmod4.c: Likewise.
10577 * elf/tst-tlsmod5.c: Likewise.
10578 * elf/tst-tlsmod6.c: Likewise.
10580 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
10583 * malloc/malloc.c: remove checks for statistics.
10585 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
10588 * inet/inet_net.c (inet_network): Detect additional invalid strings.
10589 * inet/tst-network.c: Add testcase.
10591 2013-10-17 Andreas Schwab <schwab@suse.de>
10594 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
10595 to determine canonical name.
10597 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
10599 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
10600 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
10601 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10602 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
10603 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10604 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10605 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10606 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
10607 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
10608 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10609 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
10610 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10611 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10612 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10613 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
10614 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
10615 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10616 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10617 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
10618 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10619 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10620 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10621 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10622 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
10623 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
10624 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10625 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10626 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
10627 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10628 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
10629 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10630 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10631 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
10632 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10633 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10634 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10635 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10636 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10637 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10638 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10639 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10640 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
10641 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
10642 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10643 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
10644 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10645 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10646 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10647 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
10648 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10649 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
10650 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10651 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10652 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
10653 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10654 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
10655 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10656 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10658 2013-10-17 Joseph Myers <joseph@codesourcery.com>
10661 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
10662 make result into a quiet NaN.
10664 2013-10-16 Joseph Myers <joseph@codesourcery.com>
10666 * soft-fp/adddf3.c: Fix horizontal whitespace.
10667 * soft-fp/addsf3.c: Likewise.
10668 * soft-fp/addtf3.c: Likewise.
10669 * soft-fp/divdf3.c: Likewise.
10670 * soft-fp/divsf3.c: Likewise.
10671 * soft-fp/divtf3.c: Likewise.
10672 * soft-fp/double.h: Likewise.
10673 * soft-fp/eqdf2.c: Likewise.
10674 * soft-fp/eqsf2.c: Likewise.
10675 * soft-fp/eqtf2.c: Likewise.
10676 * soft-fp/extenddftf2.c: Likewise.
10677 * soft-fp/extended.h: Likewise.
10678 * soft-fp/extendsfdf2.c: Likewise.
10679 * soft-fp/extendsftf2.c: Likewise.
10680 * soft-fp/extendxftf2.c: Likewise.
10681 * soft-fp/fixdfdi.c: Likewise.
10682 * soft-fp/fixdfsi.c: Likewise.
10683 * soft-fp/fixdfti.c: Likewise.
10684 * soft-fp/fixsfdi.c: Likewise.
10685 * soft-fp/fixsfsi.c: Likewise.
10686 * soft-fp/fixsfti.c: Likewise.
10687 * soft-fp/fixtfdi.c: Likewise.
10688 * soft-fp/fixtfsi.c: Likewise.
10689 * soft-fp/fixtfti.c: Likewise.
10690 * soft-fp/fixunsdfdi.c: Likewise.
10691 * soft-fp/fixunsdfsi.c: Likewise.
10692 * soft-fp/fixunsdfti.c: Likewise.
10693 * soft-fp/fixunssfdi.c: Likewise.
10694 * soft-fp/fixunssfsi.c: Likewise.
10695 * soft-fp/fixunssfti.c: Likewise.
10696 * soft-fp/fixunstfdi.c: Likewise.
10697 * soft-fp/fixunstfsi.c: Likewise.
10698 * soft-fp/fixunstfti.c: Likewise.
10699 * soft-fp/floatdidf.c: Likewise.
10700 * soft-fp/floatdisf.c: Likewise.
10701 * soft-fp/floatditf.c: Likewise.
10702 * soft-fp/floatsidf.c: Likewise.
10703 * soft-fp/floatsisf.c: Likewise.
10704 * soft-fp/floatsitf.c: Likewise.
10705 * soft-fp/floattidf.c: Likewise.
10706 * soft-fp/floattisf.c: Likewise.
10707 * soft-fp/floattitf.c: Likewise.
10708 * soft-fp/floatundidf.c: Likewise.
10709 * soft-fp/floatundisf.c: Likewise.
10710 * soft-fp/floatunditf.c: Likewise.
10711 * soft-fp/floatunsidf.c: Likewise.
10712 * soft-fp/floatunsisf.c: Likewise.
10713 * soft-fp/floatunsitf.c: Likewise.
10714 * soft-fp/floatuntidf.c: Likewise.
10715 * soft-fp/floatuntisf.c: Likewise.
10716 * soft-fp/floatuntitf.c: Likewise.
10717 * soft-fp/fmadf4.c: Likewise.
10718 * soft-fp/fmasf4.c: Likewise.
10719 * soft-fp/fmatf4.c: Likewise.
10720 * soft-fp/gedf2.c: Likewise.
10721 * soft-fp/gesf2.c: Likewise.
10722 * soft-fp/getf2.c: Likewise.
10723 * soft-fp/ledf2.c: Likewise.
10724 * soft-fp/lesf2.c: Likewise.
10725 * soft-fp/letf2.c: Likewise.
10726 * soft-fp/muldf3.c: Likewise.
10727 * soft-fp/mulsf3.c: Likewise.
10728 * soft-fp/multf3.c: Likewise.
10729 * soft-fp/negdf2.c: Likewise.
10730 * soft-fp/negsf2.c: Likewise.
10731 * soft-fp/negtf2.c: Likewise.
10732 * soft-fp/op-1.h: Likewise.
10733 * soft-fp/op-2.h: Likewise.
10734 * soft-fp/op-4.h: Likewise.
10735 * soft-fp/op-8.h: Likewise.
10736 * soft-fp/op-common.h: Likewise.
10737 * soft-fp/quad.h: Likewise.
10738 * soft-fp/single.h: Likewise.
10739 * soft-fp/soft-fp.h: Likewise.
10740 * soft-fp/sqrtdf2.c: Likewise.
10741 * soft-fp/sqrtsf2.c: Likewise.
10742 * soft-fp/sqrttf2.c: Likewise.
10743 * soft-fp/subdf3.c: Likewise.
10744 * soft-fp/subsf3.c: Likewise.
10745 * soft-fp/subtf3.c: Likewise.
10746 * soft-fp/truncdfsf2.c: Likewise.
10747 * soft-fp/trunctfdf2.c: Likewise.
10748 * soft-fp/trunctfsf2.c: Likewise.
10749 * soft-fp/trunctfxf2.c: Likewise.
10750 * soft-fp/unorddf2.c: Likewise.
10751 * soft-fp/unordsf2.c: Likewise.
10752 * soft-fp/unordtf2.c: Likewise.
10754 2013-10-15 Joseph Myers <joseph@codesourcery.com>
10756 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
10757 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
10759 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
10761 * elf/dl-libc.c: Clear initfini list after freeing.
10763 2013-10-14 Joseph Myers <joseph@codesourcery.com>
10765 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
10766 * soft-fp/addsf3.c: Likewise.
10767 * soft-fp/addtf3.c: Likewise.
10768 * soft-fp/divdf3.c: Likewise.
10769 * soft-fp/divsf3.c: Likewise.
10770 * soft-fp/divtf3.c: Likewise.
10771 * soft-fp/double.h: Likewise.
10772 * soft-fp/eqdf2.c: Likewise.
10773 * soft-fp/eqsf2.c: Likewise.
10774 * soft-fp/eqtf2.c: Likewise.
10775 * soft-fp/extenddftf2.c: Likewise.
10776 * soft-fp/extended.h: Likewise.
10777 * soft-fp/extendsfdf2.c: Likewise.
10778 * soft-fp/extendsftf2.c: Likewise.
10779 * soft-fp/extendxftf2.c: Likewise.
10780 * soft-fp/fixdfdi.c: Likewise.
10781 * soft-fp/fixdfsi.c: Likewise.
10782 * soft-fp/fixdfti.c: Likewise.
10783 * soft-fp/fixsfdi.c: Likewise.
10784 * soft-fp/fixsfsi.c: Likewise.
10785 * soft-fp/fixsfti.c: Likewise.
10786 * soft-fp/fixtfdi.c: Likewise.
10787 * soft-fp/fixtfsi.c: Likewise.
10788 * soft-fp/fixtfti.c: Likewise.
10789 * soft-fp/fixunsdfdi.c: Likewise.
10790 * soft-fp/fixunsdfsi.c: Likewise.
10791 * soft-fp/fixunsdfti.c: Likewise.
10792 * soft-fp/fixunssfdi.c: Likewise.
10793 * soft-fp/fixunssfsi.c: Likewise.
10794 * soft-fp/fixunssfti.c: Likewise.
10795 * soft-fp/fixunstfdi.c: Likewise.
10796 * soft-fp/fixunstfsi.c: Likewise.
10797 * soft-fp/fixunstfti.c: Likewise.
10798 * soft-fp/floatdidf.c: Likewise.
10799 * soft-fp/floatdisf.c: Likewise.
10800 * soft-fp/floatditf.c: Likewise.
10801 * soft-fp/floatsidf.c: Likewise.
10802 * soft-fp/floatsisf.c: Likewise.
10803 * soft-fp/floatsitf.c: Likewise.
10804 * soft-fp/floattidf.c: Likewise.
10805 * soft-fp/floattisf.c: Likewise.
10806 * soft-fp/floattitf.c: Likewise.
10807 * soft-fp/floatundidf.c: Likewise.
10808 * soft-fp/floatundisf.c: Likewise.
10809 * soft-fp/floatunsidf.c: Likewise.
10810 * soft-fp/floatunsisf.c: Likewise.
10811 * soft-fp/floatuntidf.c: Likewise.
10812 * soft-fp/floatuntisf.c: Likewise.
10813 * soft-fp/floatuntitf.c: Likewise.
10814 * soft-fp/fmadf4.c: Likewise.
10815 * soft-fp/fmasf4.c: Likewise.
10816 * soft-fp/fmatf4.c: Likewise.
10817 * soft-fp/gedf2.c: Likewise.
10818 * soft-fp/gesf2.c: Likewise.
10819 * soft-fp/getf2.c: Likewise.
10820 * soft-fp/ledf2.c: Likewise.
10821 * soft-fp/lesf2.c: Likewise.
10822 * soft-fp/letf2.c: Likewise.
10823 * soft-fp/muldf3.c: Likewise.
10824 * soft-fp/mulsf3.c: Likewise.
10825 * soft-fp/multf3.c: Likewise.
10826 * soft-fp/negdf2.c: Likewise.
10827 * soft-fp/negsf2.c: Likewise.
10828 * soft-fp/negtf2.c: Likewise.
10829 * soft-fp/op-1.h: Likewise.
10830 * soft-fp/op-2.h: Likewise.
10831 * soft-fp/op-4.h: Likewise.
10832 * soft-fp/op-8.h: Likewise.
10833 * soft-fp/op-common.h: Likewise.
10834 * soft-fp/quad.h: Likewise.
10835 * soft-fp/single.h: Likewise.
10836 * soft-fp/soft-fp.h: Likewise.
10837 * soft-fp/sqrtdf2.c: Likewise.
10838 * soft-fp/sqrtsf2.c: Likewise.
10839 * soft-fp/sqrttf2.c: Likewise.
10840 * soft-fp/subdf3.c: Likewise.
10841 * soft-fp/subsf3.c: Likewise.
10842 * soft-fp/subtf3.c: Likewise.
10843 * soft-fp/truncdfsf2.c: Likewise.
10844 * soft-fp/trunctfdf2.c: Likewise.
10845 * soft-fp/trunctfsf2.c: Likewise.
10846 * soft-fp/trunctfxf2.c: Likewise.
10847 * soft-fp/unorddf2.c: Likewise.
10848 * soft-fp/unordsf2.c: Likewise.
10849 * soft-fp/unordtf2.c: Likewise.
10851 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
10854 * misc/error.c (error_tail): Fix possible buffer overflow.
10856 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
10859 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
10862 2013-10-14 P. J. McDermott <pj@pehjota.net>
10865 * elf/ldd.bash.in (try_trace): New function. Delete previous code
10866 testing pipefail option.
10868 2013-10-12 Joseph Myers <joseph@codesourcery.com>
10870 * soft-fp/double.h: Indent preprocessor directives inside #if.
10871 * soft-fp/extended.h: Likewise.
10872 * soft-fp/op-2.h: Likewise.
10873 * soft-fp/op-4.h: Likewise.
10874 * soft-fp/op-common.h: Likewise.
10875 * soft-fp/quad.h: Likewise.
10876 * soft-fp/single.h: Likewise.
10877 * soft-fp/soft-fp.h: Likewise.
10879 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
10881 * iconv/iconv_prog.c: Fix typos.
10882 * stdio-common/psiginfo-data.h: Likewise.
10884 2013-10-12 Reuben Thomas <rrt@sc3d.org>
10887 * locale/setlocale.c: Fix typo.
10889 2013-10-12 Joseph Myers <joseph@codesourcery.com>
10892 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
10893 signaling NaN arguments.
10894 * soft-fp/unordsf2.c (__unordsf2): Likewise.
10895 * soft-fp/unordtf2.c (__unordtf2): Likewise.
10898 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
10899 unordered operands.
10900 * soft-fp/gesf2.c (__gesf2): Likewise.
10901 * soft-fp/getf2.c (__getf2): Likewise.
10902 * soft-fp/ledf2.c (__ledf2): Likewise.
10903 * soft-fp/lesf2.c (__lesf2): Likewise.
10904 * soft-fp/letf2.c (__letf2): Likewise.
10906 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
10907 * soft-fp/eqsf2.c (__eqsf2): Likewise.
10908 * soft-fp/eqtf2.c (__eqtf2): Likewise.
10909 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
10910 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
10911 * soft-fp/fixdfti.c (__fixdfti): Likewise.
10912 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
10913 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
10914 * soft-fp/fixsfti.c (__fixsfti): Likewise.
10915 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
10916 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
10917 * soft-fp/fixtfti.c (__fixtfti): Likewise.
10918 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
10919 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
10920 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
10921 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
10922 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
10923 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
10924 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
10925 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
10926 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
10927 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
10928 * soft-fp/floatdisf.c (__floatdisf): Likewise.
10929 * soft-fp/floatsisf.c (__floatsisf): Likewise.
10930 * soft-fp/floattidf.c (__floattidf): Likewise.
10931 * soft-fp/floattisf.c (__floattisf): Likewise.
10932 * soft-fp/floattitf.c (__floattitf): Likewise.
10933 * soft-fp/floatundidf.c (__floatundidf): Likewise.
10934 * soft-fp/floatundisf.c (__floatundisf): Likewise.
10935 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
10936 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
10937 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
10938 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
10939 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
10940 * soft-fp/gesf2.c (__gesf2): Likewise.
10941 * soft-fp/getf2.c (__getf2): Likewise.
10942 * soft-fp/ledf2.c (__ledf2): Likewise.
10943 * soft-fp/lesf2.c (__lesf2): Likewise.
10944 * soft-fp/letf2.c (__letf2): Likewise.
10946 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
10947 Undefine and redefine.
10948 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
10949 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
10950 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
10951 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
10952 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10953 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
10954 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10955 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
10956 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10957 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
10958 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10959 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
10960 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10961 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
10962 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10965 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
10966 without decrementing exponent if mantissa >= that for the
10967 denominator, not >.
10968 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
10969 denominator, not >. Decrement exponent in < case instead of
10970 incrementing in >= case.
10971 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
10972 without decrementing exponent if mantissa >= that for the
10973 denominator, not >.
10975 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
10976 computing saturated result for unsigned overflow.
10978 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10979 Jeff Law <law@redhat.com>
10981 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
10982 (atan2Mp): Add systemtap probe marker.
10983 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
10984 (__ieee754_log): Add systemtap probe marker.
10985 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
10986 (atanMp): Add systemtap probe marker.
10987 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
10988 (tanMp): Add systemtap probe marker.
10989 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
10990 (__slowexp): Add systemtap probe marker.
10991 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
10992 (__slowpow): Add systemtap probe marker.
10993 * manual/probes.texi: Document probes.
10995 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
10998 * libio/fileops.c (_IO_new_file_write): Return count of bytes
11000 (_IO_new_file_xsputn): Don't return EOF if nothing has been
11002 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
11003 written to buffer but not flushed.
11004 * libio/iofwrite_u.c: Likewise.
11005 * libio/iopadn.c: Return bytes returned even if EOF was
11007 * libio/iowpadn.c: Likewise.
11008 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
11009 if _IO_padn does not write the whole buffer.
11010 [!COMPILE_WPRINTF] (PAD): Likewise.
11012 2013-10-10 David S. Miller <davem@davemloft.net>
11014 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
11017 2013-10-10 Joseph Myers <joseph@codesourcery.com>
11019 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
11020 instead of FSF address.
11021 * soft-fp/fixdfti.c: Likewise.
11022 * soft-fp/fixsfti.c: Likewise.
11023 * soft-fp/fixtfti.c: Likewise.
11024 * soft-fp/fixunsdfti.c: Likewise.
11025 * soft-fp/fixunssfti.c: Likewise.
11026 * soft-fp/fixunstfti.c: Likewise.
11027 * soft-fp/floattidf.c: Likewise.
11028 * soft-fp/floattisf.c: Likewise.
11029 * soft-fp/floattitf.c: Likewise.
11030 * soft-fp/floatuntidf.c: Likewise.
11031 * soft-fp/floatuntisf.c: Likewise.
11032 * soft-fp/floatuntitf.c: Likewise.
11033 * soft-fp/trunctfxf2.c: Likewise.
11035 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
11036 * soft-fp/fixdfti.c: Likewise.
11037 * soft-fp/fixsfti.c: Likewise.
11038 * soft-fp/fixtfti.c: Likewise.
11039 * soft-fp/fixunsdfti.c: Likewise.
11040 * soft-fp/fixunssfti.c: Likewise.
11041 * soft-fp/fixunstfti.c: Likewise.
11042 * soft-fp/floattidf.c: Likewise.
11043 * soft-fp/floattisf.c: Likewise.
11044 * soft-fp/floattitf.c: Likewise.
11045 * soft-fp/floatuntidf.c: Likewise.
11046 * soft-fp/floatuntisf.c: Likewise.
11047 * soft-fp/floatuntitf.c: Likewise.
11048 * soft-fp/trunctfxf2.c: Likewise.
11050 2013-10-10 David S. Miller <davem@davemloft.net>
11052 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11054 2013-10-10 Joseph Myers <joseph@codsourcery.com>
11056 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
11057 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
11058 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
11059 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
11060 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
11061 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
11062 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
11064 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
11065 for NaNs before doing comparisons on argument.
11066 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
11069 2013-10-10 Will Newton <will.newton@linaro.org>
11071 * malloc/hooks.c (memalign_check): Ensure the value of bytes
11072 passed to _int_memalign does not overflow.
11074 2013-10-10 Torvald Riegel <triegel@redhat.com>
11076 * scripts/bench.pl: Add include-sources directive.
11077 * benchtests/README: Update documentation.
11079 2013-10-10 Joseph Myers <joseph@codesourcery.com>
11081 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
11082 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
11083 instead of FP_INIT_ROUNDMODE.
11084 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
11085 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
11088 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
11089 copy class of input value.
11090 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
11091 not handle exceptions.
11092 * soft-fp/negsf2.c (__negsf2): Likewise.
11093 * soft-fp/negtf2.c (__negtf2): Likewise.
11094 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
11096 2013-10-09 Joseph Myers <joseph@codesourcery.com>
11098 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
11099 semicolon. From Linux kernel.
11101 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
11103 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
11105 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
11108 * manual/socket.texi: Added statement about buffer
11109 for gethostbyname2_r.
11111 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
11113 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
11114 Use .p2align directive instead, throughout.
11115 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
11116 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
11117 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
11118 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11119 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11120 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
11121 * sysdeps/x86_64/strchr.S: Likewise.
11122 * sysdeps/x86_64/strrchr.S: Likewise.
11124 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11126 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
11128 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
11130 * sysdeps/generic/math_private.h (__mpsin1): Remove
11132 (__mpcos1): Likewise.
11133 (__mpsin): New argument __range_reduce.
11134 (__mpcos): Likewise.
11135 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11136 (slow): Use __mpsin and __mpcos.
11140 (sloww1): Likewise.
11141 (sloww2): Likewise.
11142 (bsloww): Likewise.
11143 (bsloww1): Likewise.
11144 (bsloww2): Likewise.
11145 (cslow2): Likewise.
11146 (csloww): Likewise.
11147 (csloww1): Likewise.
11148 (csloww2): Likewise.
11149 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
11150 range_reduce. Merge in __mpsin1.
11151 (__mpcos): Likewise.
11152 (__mpsin1): Remove.
11153 (__mpcos1): Likewise.
11155 2013-10-07 Joseph Myers <joseph@codesourcery.com>
11157 * locale/loadlocale.c (_nl_intern_locale_data): Use
11159 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
11160 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
11161 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
11162 obstack data is appropriately aligned.
11163 (obstack_int32_grow_fast): Likewise.
11164 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
11165 * locale/programs/locfile.c (add_locale_uint32): Likewise.
11166 (add_locale_uint32_array): Likewise.
11168 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
11170 * benchtests/Makefile: Remove ARGLIST and RET variables.
11171 ($(objpfx)bench-%.c): Pass only function name to the script.
11172 * benchtests/README: Update documentation.
11173 * benchtests/acos-inputs: Add new directives.
11174 * benchtests/acosh-inputs: Likewise.
11175 * benchtests/asin-inputs: Likewise.
11176 * benchtests/asinh-inputs: Likewise.
11177 * benchtests/atan-inputs: Likewise.
11178 * benchtests/atanh-inputs: Likewise.
11179 * benchtests/cos-inputs: Likewise.
11180 * benchtests/cosh-inputs: Likewise.
11181 * benchtests/exp-inputs: Likewise.
11182 * benchtests/log-inputs: Likewise.
11183 * benchtests/pow-inputs: Likewise.
11184 * benchtests/rint-inputs: Likewise.
11185 * benchtests/sin-inputs: Likewise.
11186 * benchtests/sinh-inputs: Likewise.
11187 * benchtests/tan-inputs: Likewise.
11188 * benchtests/tanh-inputs: Likewise.
11189 * scripts/bench.pl: Add support for new directives.
11191 2013-10-07 Alan Modra <amodra@gmail.com>
11193 * README: Fix careless merge.
11195 2013-10-05 Alan Modra <amodra@gmail.com>
11197 * NEWS: Mention powerpc64le support and bugs fixed.
11198 * README: Both big-endian and little-endian powerpc64 supported.
11200 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
11202 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
11203 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
11204 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
11205 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
11207 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
11209 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
11212 2013-10-04 Joseph Myers <joseph@codesourcery.com>
11214 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
11215 Move -mhard-float appending from
11216 ports/sysdeps/powerpc/powerpc32/Makefile.
11217 [$(with-fp) = yes] (ASFLAGS): Likewise.
11218 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
11219 * sysdeps/powerpc/nofpu: Move directory from
11220 ports/sysdeps/powerpc/nofpu.
11221 * sysdeps/powerpc/soft-fp: Move directory from
11222 ports/sysdeps/powerpc/soft-fp.
11223 * sysdeps/powerpc/powerpc32/405: Move directory from
11224 ports/sysdeps/powerpc/powerpc32/405.
11225 * sysdeps/powerpc/powerpc32/440: Move directory from
11226 ports/sysdeps/powerpc/powerpc32/440.
11227 * sysdeps/powerpc/powerpc32/464: Move directory from
11228 ports/sysdeps/powerpc/powerpc32/464.
11229 * sysdeps/powerpc/powerpc32/476: Move directory from
11230 ports/sysdeps/powerpc/powerpc32/476.
11231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
11232 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
11233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
11234 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
11235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
11236 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
11237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
11238 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
11239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
11240 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
11241 * README: Update for powerpc-*-linux-gnu software floating point
11244 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
11245 case to powerpc/powerpc32*.
11246 * sysdeps/unix/sysv/linux/configure: Regenerated.
11248 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
11249 (_FPU_MASK_OM): Define as 0x04.
11250 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
11251 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
11253 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
11255 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
11257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
11258 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
11260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
11261 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
11263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
11264 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
11265 and setcontext_e500.
11267 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
11269 * locale/iso-3166.def: Update iso-1366.def and related occurrences
11271 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11273 * manual/threads.texi (Default Thread Attributes): Fix typo.
11275 2013-10-04 Will Newton <will.newton@linaro.org>
11277 * malloc/Makefile: Add tst-memalign.
11278 * malloc/tst-memalign.c: New file.
11280 * malloc/tst-posix_memalign.c: Add comments.
11281 (do_test): Add comments and call free on all potentially
11282 allocated pointers. Add space after cast.
11284 * malloc/tst-pvalloc.c: Add comments.
11285 (do_test): Add comments and call free on all potentially
11286 allocated pointers. Remove duplicate check for NULL pointer.
11287 Add space after cast.
11289 * malloc/tst-valloc.c: Add comments.
11290 (do_test): Add comments and call free on all potentially
11291 allocated pointers. Remove duplicate check for NULL pointer.
11292 Add space after cast.
11294 2013-10-04 Alan Modra <amodra@gmail.com>
11296 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11297 Use stdint types in rather than __attribute__((mode())).
11298 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11300 2013-10-04 Alan Modra <amodra@gmail.com>
11302 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11303 Correct handling of unaligned relocs for little-endian.
11304 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11306 2013-10-04 Alan Modra <amodra@gmail.com>
11308 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
11309 * configure: Regenerate.
11310 * nptl/shlib-versions: Powerpc*le starts at 2.18.
11311 * shlib-versions: Likewise.
11313 2013-10-04 Alan Modra <amodra@gmail.com>
11315 * string/tester.c (test_memrchr): Increment reported test cycle.
11317 2013-10-04 Alan Modra <amodra@gmail.com>
11319 * string/test-memcpy.c (do_one_test): When reporting errors, print
11320 string address and don't overrun end of string.
11322 2013-10-04 Alan Modra <amodra@gmail.com>
11324 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
11325 insrdi. Make better use of reg selection to speed exit slightly.
11326 Schedule entry path a little better. Remove useless "are we done"
11327 checks on entry to main loop. Handle wrapping around zero address.
11328 Correct main loop count. Handle single left-over word from main
11329 loop inline rather than by using loop_small. Remove extra word
11330 case in loop_small caused by wrong loop count. Add little-endian
11332 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
11333 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
11335 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
11336 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
11337 support. Avoid rlwimi.
11338 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
11340 2013-10-04 Alan Modra <amodra@gmail.com>
11342 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
11343 insrdi. Formatting.
11344 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
11345 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
11346 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
11347 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
11348 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
11349 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
11351 2013-10-04 Alan Modra <amodra@gmail.com>
11353 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
11354 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11355 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
11356 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
11357 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
11358 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
11359 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11360 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
11361 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
11362 use of regs. Use power7 mtocrf. Tidy function tails.
11364 2013-10-04 Alan Modra <amodra@gmail.com>
11366 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
11367 Formatting. Consistently use rXXX register defines or rN defines.
11368 Use early exit labels that avoid restoring unused non-volatile regs.
11369 Make cr field use more consistent with rWORDn compares. Rename
11370 regs used as shift registers for unaligned loop, using rN defines
11371 for short lifetime/multiple use regs.
11372 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
11373 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
11374 addi 1,1,64 to pop stack frame. Simplify return value code.
11375 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11377 2013-10-04 Alan Modra <amodra@gmail.com>
11379 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
11380 support. Correct typos, formatting. Optimize tail. Use insrdi
11381 rather than rlwimi.
11382 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
11383 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
11384 little-endian support. Correct typos.
11385 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
11386 rather than rlwimi.
11387 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
11388 in loop and entry code to keep "and." results.
11389 (strchr): Add little-endian support. Comment. Move cntlzd
11391 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
11393 2013-10-04 Alan Modra <amodra@gmail.com>
11395 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
11396 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
11397 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
11398 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
11400 2013-10-04 Alan Modra <amodra@gmail.com>
11402 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
11403 (rTMP): Define as r11.
11404 (strcmp): Add little-endian support. Optimise tail.
11405 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
11406 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
11407 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
11408 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11409 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
11410 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11411 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11413 2013-10-04 Alan Modra <amodra@gmail.com>
11415 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
11416 little-endian support. Remove unnecessary "are we done" tests.
11417 Handle "s" wrapping around zero and extremely large "size".
11418 Correct main loop count. Handle single left-over word from main
11419 loop inline rather than by using small_loop. Correct comments.
11420 Delete "zero" tail, use "end_max" instead.
11421 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
11423 2013-10-04 Alan Modra <amodra@gmail.com>
11425 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
11426 support. Don't branch over align.
11427 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
11428 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
11429 support. Rearrange tmp reg use to suit. Comment.
11430 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
11432 2013-10-04 Alan Modra <amodra@gmail.com>
11434 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
11436 2013-10-04 Alan Modra <amodra@gmail.com>
11438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
11439 conditional form of branch and link when obtaining pc.
11440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
11442 2013-10-04 Alan Modra <amodra@gmail.com>
11444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
11446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
11447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
11449 2013-10-04 Alan Modra <amodra@gmail.com>
11451 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
11452 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
11453 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
11454 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
11455 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
11456 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
11457 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
11458 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
11459 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
11460 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
11462 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
11463 Alistair Popple <alistair@ozlabs.au.ibm.com>
11464 Alan Modra <amodra@gmail.com>
11467 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
11468 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
11469 _dl_hwcap access for little-endian.
11470 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
11471 destroy vmx regs when saving unaligned.
11472 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
11473 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
11474 destroy vmx regs when saving unaligned.
11476 2013-10-04 Alan Modra <amodra@gmail.com>
11478 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
11479 Don't use a union to pack hi/low value.
11481 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
11483 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
11485 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
11486 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
11487 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
11488 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
11489 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
11491 2013-10-04 Alan Modra <amodra@gmail.com>
11493 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
11494 constants to usual value for .cst8 section, and remove redundant
11496 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
11497 constant for 0x1p52. Load little-endian words of double from
11498 correct stack offsets.
11500 2013-10-04 Alan Modra <amodra@gmail.com>
11502 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
11503 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
11504 words of double from correct stack offsets.
11505 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
11506 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
11507 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
11508 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
11509 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
11510 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
11511 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
11512 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
11513 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
11514 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
11515 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
11516 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
11517 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
11518 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
11519 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
11520 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
11521 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
11523 2013-10-04 Alan Modra <amodra@gmail.com>
11525 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
11526 64-bit int/double union.
11527 (_FPU_SETCW): Likewise.
11528 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
11529 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
11531 2013-10-04 Alan Modra <amodra@gmail.com>
11533 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
11534 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
11536 2013-10-04 Alan Modra <amodra@gmail.com>
11538 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
11539 use vector int constants.
11540 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
11542 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
11544 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
11545 array with long long.
11546 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
11547 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
11548 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
11549 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
11550 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
11551 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
11552 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
11553 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
11554 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
11555 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
11556 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
11557 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
11558 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
11560 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
11562 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
11563 (__signbit): Likewise. Correct for little-endian.
11564 (__signbitl): Call __signbit.
11565 (lrint): Correct for little-endian.
11566 (lrintf): Call lrint.
11568 2013-10-04 Alan Modra <amodra@gmail.com>
11570 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
11571 union 32-bit int array member with 64-bit int array.
11572 (t515, tm256): Double rather than long double.
11573 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
11575 2013-10-04 Alan Modra <amodra@gmail.com>
11577 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
11579 (IEEE854_LONG_DOUBLE_BIAS): Delete.
11580 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
11581 version of math_ldbl.h.
11583 2013-10-04 Alan Modra <amodra@gmail.com>
11585 [BZ #15734], [BZ #15735]
11586 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
11587 all uses of ieee875 long double macros and unions. Simplify test
11588 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
11589 ldbl_extract_mantissa value for ix,iy exponents. Properly
11590 normalize after ldbl_extract_mantissa, and don't add hidden bit
11591 already handled. Don't treat low word of ieee854 mantissa like
11592 low word of IBM long double and mask off bit when testing for
11594 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
11595 all uses of ieee875 long double macros and unions. Simplify tests
11596 for 0.0L and inf. Correct double adjustment of k. Delete dead code
11597 adjusting ha,hb. Simplify code setting kld. Delete two600 and
11598 two1022, instead use their values. Recognise that tests for large
11599 "a" and small "b" are mutually exclusive. Rename vars. Comment.
11600 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
11601 Rewrite all uses of ieee875 long double macros and unions. Simplify
11602 test for 0.0L and nan. Correct negation.
11603 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
11604 ieee875 long double macros and unions. Correct output for large
11605 magnitude x. Correct absolute value calculation.
11606 (__erfcl): Likewise.
11607 * math/libm-test.inc: Add tests for errors discovered in IBM long
11608 double versions of fmodl, remainderl, erfl and erfcl.
11610 2013-10-04 Alan Modra <amodra@gmail.com>
11612 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
11613 all uses of ieee854 long double macros and unions. Simplify tests
11614 for long doubles that are fully specified by the high double.
11615 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
11617 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
11618 Remove dead code too.
11619 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
11620 (__ieee754_ynl): Likewise.
11621 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
11622 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
11623 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
11624 Remove dead code too.
11625 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
11626 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
11627 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
11628 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
11630 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
11632 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
11633 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
11634 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
11635 Comment on variable precision.
11636 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
11637 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
11639 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
11640 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
11641 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
11642 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
11643 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
11645 2013-10-04 Alan Modra <amodra@gmail.com>
11647 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
11648 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
11649 all uses of ieee854 long double macros and unions.
11650 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
11651 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
11652 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
11653 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
11654 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
11655 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
11657 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
11658 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
11659 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
11660 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
11661 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
11662 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
11663 Simplify sign and nan test too.
11664 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
11665 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
11666 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
11667 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
11669 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
11670 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
11672 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11673 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
11674 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
11675 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
11676 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
11677 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
11679 2013-10-04 Alan Modra <amodra@gmail.com>
11681 * stdio-common/printf_size.c (__printf_size): Don't use
11682 union ieee854_long_double in fpnum union.
11683 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
11684 signbit macro to retrieve sign from long double.
11685 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
11686 retrieve sign from long double.
11687 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
11688 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
11689 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
11690 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
11691 * math/test-misc.c (main): Don't use union ieee854_long_double.
11693 2013-10-04 Alan Modra <amodra@gmail.com>
11696 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
11697 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
11698 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
11699 calculation. Remove unnecessary test for denormal exponent.
11700 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
11701 Correct handling of denormals. Avoid undefined shift behaviour.
11702 Correct normalisation of low mantissa when low double is denormal.
11703 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
11704 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
11705 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
11706 Correct normalisation of low mantissa. Test for overflow of high
11707 mantissa and normalise.
11708 (ldbl_nearbyint): Use more readable constant for two52.
11709 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
11710 (__mpn_construct_long_double): Fix test for overflow of high
11711 mantissa and correct normalisation. Avoid undefined shift.
11713 2013-10-04 Alan Modra <amodra@gmail.com>
11715 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
11716 (union ibm_extended_long_double): Define as an array of ieee754_double.
11717 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
11718 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
11719 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
11720 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
11721 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11722 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
11723 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
11724 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
11725 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
11726 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
11727 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
11729 2013-10-03 Joseph Myers <joseph@codesourcery.com>
11731 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
11732 page size instead of calling getpagesize.
11734 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
11735 (LOCFILE_ALIGN_MASK): Likewise.
11736 (LOCFILE_ALIGN_UP): Likewise.
11737 (LOCFILE_ALIGNED_P): Likewise.
11738 * locale/programs/ld-collate.c (collate_output): Use the new
11739 macros instead of __alignof__ (int32_t).
11740 * locale/weight.h (findidx): Likewise.
11742 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
11745 * manual/string.texi: Fix strncat and wcsncat.
11747 2013-10-03 Brooks Moses <bmoses@google.com>
11750 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
11751 * Makerules: ...here, and adjust associated comments.
11753 2013-10-02 Will Newton <will.newton@linaro.org>
11755 * malloc/Makefile: Add tst-pvalloc.
11756 * malloc/tst-pvalloc.c: New file.
11758 2013-10-02 Will Newton <will.newton@linaro.org>
11760 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
11761 improve test coverage.
11763 2013-10-02 Will Newton <will.newton@linaro.org>
11765 * malloc/Makefile: Add tst-posix_memalign.
11766 * malloc/tst-posix_memalign.c: New file.
11768 2013-10-01 Eric Blake <eblake@redhat.com>
11770 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
11771 Use __THROWNL rather than __THROW on static functions.
11773 2013-09-30 Petr Machata <pmachata@redhat.com>
11775 * elf/elf.h (R_AARCH64_ABS16): New macro.
11776 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
11777 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
11778 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
11779 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
11780 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
11781 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
11782 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
11783 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
11784 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
11785 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
11786 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
11787 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
11788 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
11789 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
11790 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
11791 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
11792 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
11793 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
11794 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
11795 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
11796 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
11797 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
11798 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
11799 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
11800 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
11801 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
11802 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
11803 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
11804 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
11805 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
11806 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
11807 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
11808 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
11809 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
11810 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
11811 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
11812 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
11813 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
11814 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
11815 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
11816 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
11817 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
11818 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
11819 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
11820 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
11821 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
11822 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
11823 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
11824 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
11825 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
11826 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
11827 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
11828 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
11829 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
11830 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
11831 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
11832 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
11833 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
11834 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
11835 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
11836 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
11837 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
11838 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
11839 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
11840 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
11841 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
11842 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
11843 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
11844 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
11845 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
11846 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
11847 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
11848 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
11849 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
11850 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
11851 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
11852 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
11853 (R_AARCH64_TLSDESC_LDR): Likewise.
11854 (R_AARCH64_TLSDESC_ADD): Likewise.
11855 (R_AARCH64_TLSDESC_CALL): Likewise.
11857 2013-09-30 Andreas Schwab <schwab@suse.de>
11860 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
11861 the nss database lookup.
11862 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11863 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11865 2013-09-28 Mike Frysinger <vapier@gentoo.org>
11867 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
11869 2013-09-28 P. J. McDermott <pj@pehjota.net>
11871 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
11872 ${Bash-specific parameter/pattern/string} parameter expansion.
11873 * sysdeps/unix/make-syscalls.sh: Likewise.
11875 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11877 * sysdeps/sh/stackguard-macros.h: New file.
11879 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
11881 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
11882 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
11883 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
11884 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
11885 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11886 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
11888 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11890 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
11891 Fix thread ID register.
11893 2013-09-25 Joseph Myers <joseph@codesourcery.com>
11895 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
11896 [POSIX || UNIX98]: Require rather than permitting all symbols from
11898 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
11899 element of struct sched_param.
11900 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
11901 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
11902 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
11903 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
11906 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
11908 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
11909 argument calculation.
11911 2013-09-24 Joseph Myers <joseph@codesourcery.com>
11913 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
11915 [POSIX] (pthread_attr_t): Do not require type.
11916 [POSIX] (pthread_cond_t): Likewise.
11917 [POSIX] (pthread_condattr_t): Likewise.
11918 [POSIX] (pthread_key_t): Likewise.
11919 [POSIX] (pthread_mutex_t): Likewise.
11920 [POSIX] (pthread_mutexattr_t): Likewise.
11921 [POSIX] (pthread_once_t): Likewise.
11922 [POSIX] (pthread_t): Likewise.
11923 [POSIX-based standards] (pthread_atfork): Expect function.
11925 2013-09-24 Joseph Myers <joseph@codesourcery.com>
11926 Richard Sandiford <richard@codesourcery.com>
11928 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
11929 (swap_endianness_p): New extern variable.
11930 (set_big_endian): New inline function.
11931 (maybe_swap_uint32): Likewise.
11932 (maybe_swap_uint32_array): Likewise.
11933 (maybe_swap_uint32_obstack): Likewise.
11934 * locale/programs/locfile.c: Include <stdbool.h>.
11935 (swap_endianness_p): New variable.
11936 (add_locale_uint32): Call maybe_swap_uint32.
11937 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
11938 (write_locale_data): Call maybe_swap_uint32_array.
11939 * locale/programs/ld-collate.c (obstack_int32_grow): Call
11941 (obstack_int32_grow_fast): Likewise.
11942 (output_weightwc): Call maybe_swap_uint32_obstack.
11943 (collate_output): Likewise.
11944 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
11945 (OPT_LITTLE_ENDIAN): Likewise.
11946 (options): Add --little-endian and --big-endian options.
11947 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
11948 * locale/programs/locarchive.c: Include "locfile.h".
11952 (create_archive): Use the new macros to access fields of
11953 structures directly mapped from or written to locale archives.
11954 (oldlocrecentcmp): Likewise.
11955 (enlarge_archive): Likewise.
11956 (insert_name): Likewise.
11957 (add_alias): Likewise.
11958 (add_locale): Likewise.
11959 (delete_locales_from_archive): Likewise.
11960 (show_archive_content): Likewise.
11961 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
11964 2013-09-24 Roland McGrath <roland@hack.frob.com>
11966 * manual/freemanuals.texi: Updated from (newly) canonical copy at
11967 http://www.gnu.org/doc/freemanuals.texi.
11968 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
11970 2013-09-24 Will Newton <will.newton@linaro.org>
11972 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
11975 2013-09-23 Joseph Myers <joseph@codesourcery.com>
11977 * locale/hashval.h (compute_hashval): Interpret bytes of key as
11980 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
11982 * manual/threads.texi (POSIX Threads): Fix a typo.
11984 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
11987 * string/tst-strcoll-overflow.c: New test case.
11988 * string/Makefile (xtests): Add tst-strcoll-overflow.
11989 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
11990 cache if string sizes may cause integer overflow.
11993 * string/strcoll_l.c (coll_seq): New members rule, idx,
11994 save_idx and back_us.
11995 (get_next_seq_nocache): New function.
11996 (do_compare_nocache): New function.
11997 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
12000 2013-09-23 Carlos O'Donell <carlos@redhat.com>
12003 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
12004 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
12005 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
12008 * elf/Makefile (tests): Add tst-ptrguard1.
12009 (tests-static): Add tst-ptrguard1-static.
12010 (tst-ptrguard1-ARGS): Define.
12011 (tst-ptrguard1-static-ARGS): Define.
12012 * elf/tst-ptrguard1.c: New file.
12013 * elf/tst-ptrguard1-static.c: New file.
12014 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
12015 * sysdeps/i386/stackguard-macros.h: Likewise.
12016 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
12017 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
12018 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
12019 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
12020 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
12021 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
12023 2013-09-23 Hector Marco <hecmargi@upv.es>
12024 Ismael Ripoll <iripoll@disca.upv.es>
12025 Carlos O'Donell <carlos@redhat.com>
12028 * sysdeps/generic/stackguard-macros.h: Define
12029 __pointer_chk_guard_local and POINTER_CHK_GUARD.
12030 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
12031 Define __pointer_chk_guard_local.
12032 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
12033 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
12035 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
12038 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
12040 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
12042 * include/string.h (__ffs): Declare as hidden.
12043 * string/ffs.c (__ffs): Define as hidden.
12044 * sysdeps/i386/ffs.c (__ffs): Likewise.
12045 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
12046 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
12047 * sysdeps/s390/ffs.c (__ffs): Likewise.
12048 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
12050 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
12052 * NEWS: Mention malloc probes.
12054 * malloc/arena.c (new_heap): New memory_heap_new probe.
12055 (grow_heap): New memory_heap_more probe.
12056 (shrink_heap): New memory_heap_less probe.
12057 (heap_trim): New memory_heap_free probe.
12058 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
12059 (systrim): New memory_sbrk_less probe.
12060 * manual/probes.texi: Document them.
12062 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
12063 * manual/probes.texi: Document it.
12065 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
12066 (__libc_realloc): Add memory_realloc_retry probe.
12067 (__libc_memalign): Add memory_memalign_retry probe.
12068 (__libc_valloc): Add memory_valloc_retry probe.
12069 (__libc_pvalloc): Add memory_pvalloc_retry probe.
12070 (__libc_calloc): Add memory_calloc_retry probe.
12071 * manual/probes.texi: Document them.
12073 * malloc/arena.c (get_free_list): Add probe
12074 memory_arena_reuse_free_list.
12075 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
12076 and memory_arena_reuse.
12077 (arena_get2) [!PER_THREAD]: Likewise.
12078 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
12079 memory_arena_reuse_realloc.
12080 * manual/probes.texi: Document them.
12082 * malloc/malloc.c (__libc_free): Add
12083 memory_mallopt_free_dyn_thresholds probe.
12084 (__libc_mallopt): Add multiple memory_mallopt probes.
12085 * manual/probes.texi: Document them.
12087 * malloc/malloc.c: Include stap-probe.h.
12088 (__libc_mallopt): Add memory_mallopt probe.
12089 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
12090 * manual/probes.texi: New.
12091 * manual/Makefile (chapters): Add probes.
12092 * manual/threads.texi: Set next node.
12094 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
12096 [BZ #15963, #13985]
12097 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
12098 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
12099 Add `Chinese' to `nan' entry name.
12101 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12103 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
12104 (POLYNOMIAL): Likewise.
12105 (TAYLOR_SINCOS): Likewise.
12106 (TAYLOR_SLOW): Likewise.
12107 (__sin): Use TAYLOR_SINCOS.
12109 (slow): Use TAYLOR_SLOW.
12111 (bsloww): Likewise.
12112 (csloww): Likewise.
12114 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12116 * stdlib/strtod_l.c: Fix buffer overrun.
12118 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12120 * benchtests/Makefile (bench): Add sincos.
12121 * benchtests/bench-sincos.c: New file.
12123 * math/libm-test.inc (cos_test_data): New test inputs.
12124 (sin_test_data): Likewise.
12126 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
12132 (sloww1): Likewise.
12133 (sloww2): Likewise.
12134 (bsloww1): Likewise.
12135 (bsloww2): Likewise.
12136 (cslow2): Likewise.
12137 (csloww1): Likewise.
12138 (csloww2): Likewise.
12140 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
12145 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
12149 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
12151 * config.h.in (HAVE_MIPS_NAN2008): New macro.
12152 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
12153 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
12154 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
12155 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
12156 * elf/cache.c (print_entry): Handle the new cache flags.
12158 2013-09-18 Joseph Myers <joseph@codesourcery.com>
12159 Aldy Hernandez <aldyh@redhat.com>
12161 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
12162 Change condition to [_SOFT_FLOAT].
12163 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
12164 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
12165 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
12166 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
12167 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
12168 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
12169 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
12170 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
12171 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
12172 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
12173 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
12174 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
12175 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
12176 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
12177 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
12178 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
12181 2013-09-18 Joseph Myers <joseph@codesourcery.com>
12183 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
12184 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
12185 (__longjmp): Use LOAD_GP to load saved GPRs.
12186 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
12187 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
12188 (__sigsetjmp): Use SAVE_GP to save GPRs.
12190 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
12191 Do not append -msoft-float.
12192 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
12194 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12196 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
12198 2013-09-17 Joseph Myers <joseph@codesourcery.com>
12201 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
12202 (_FPU_GETCW): Use initial "__" on variable and field names but not
12203 on macro parameter name.
12204 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
12205 parentheses around reference to macro parameter.
12207 2013-09-13 Richard Sandiford <richard@codesourcery.com>
12209 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
12211 (ctype_startup): Use uint32_t in cast and sizeof for
12214 2013-09-11 Jia Liu <proljc@gmail.com>
12216 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
12218 [__FreeBSD__]: Likewise.
12220 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
12222 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
12223 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
12224 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
12225 (strchr): Remove __strchr_sse42 ifunc selection.
12226 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
12227 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
12229 2013-09-11 Will Newton <will.newton@linaro.org>
12231 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
12232 parameter to RES. Remove hardcoded 1000 value.
12233 * benchtests/bench-skeleton.c (main): Pass RES parameter
12234 to TIMING_INIT and multiply result by 1000.
12236 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12238 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12240 2013-09-11 Andreas Schwab <schwab@suse.de>
12242 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
12244 (O_TMPFILE) [__USE_GNU]: Define.
12245 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
12248 2013-09-11 Will Newton <will.newton@linaro.org>
12251 * malloc/malloc.c (__libc_memalign): Check the value of bytes
12254 2013-09-11 Will Newton <will.newton@linaro.org>
12257 * malloc/malloc.c (__libc_valloc): Check the value of bytes
12260 2013-09-11 Will Newton <will.newton@linaro.org>
12263 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
12266 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
12268 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
12269 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12270 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12271 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12272 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12274 2013-09-10 Allan McRae <allan@archlinux.org>
12277 * manual/arith.texi (Parsing of Floats): Clarify
12281 * manual/install.texi (Running make install): Mention
12283 * INSTALL: Regenerated.
12285 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
12287 * csu/init-first.c (_init): Remove the !SHARED condition around
12288 FPU control word initialization.
12289 * elf/dl-support.c (_dl_fpu_control): New variable.
12290 (_dl_aux_init) <AT_FPUCW>: Initialize it.
12291 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
12292 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
12293 * math/test-fpucw-static.c: New file.
12294 * math/test-fpucw-ieee.c: New file.
12295 * math/test-fpucw-ieee-static.c: New file.
12296 * math/Makefile (tests): Add `test-fpucw-ieee' and
12298 (tests-static): New variable.
12299 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
12301 [($(build-shared),yes)]
12302 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
12304 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
12307 2013-09-09 Allan McRae <allan@archlinux.org>
12310 * manual/string.texi (Collation Functions): Fix typo in
12312 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
12315 * stdlib/isomac.c (get_null_defines): Fix memory leak.
12318 * libio/memstream.c (open_memstream): Fix memory leak.
12319 * libio/wmemstream.c (open_wmemstream): Likewise.
12322 * nscd/netgroupcache.c: Fix nesting of ifdefs.
12324 2013-09-09 Will Newton <will.newton@linaro.org>
12326 * malloc/Makefile: Add tst-realloc to tests.
12327 * malloc/tst-realloc.c: New file.
12329 2013-09-09 Allan McRae <allan@archlinux.org>
12332 * COPYING: Update from GNU website to fix FSF address.
12333 * COPYING.LIB: Likewise.
12335 2013-09-06 David S. Miller <davem@davemloft.net>
12337 * po/zh_TW.po: Update Chinese (traditional) translation from
12338 translation project.
12340 2013-09-06 Richard Sandiford <richard@codesourcery.com>
12341 Joseph Myers <joseph@codesourcery.com>
12343 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
12345 (obstack_chunk_alloc): New macro.
12346 (obstack_chunk_free): Likewise.
12347 (record_offset): New function.
12348 (init_locale_data): Likewise.
12349 (align_locale_data): Likewise.
12350 (add_locale_empty): Likewise.
12351 (add_locale_raw_data): Likewise.
12352 (add_locale_raw_obstack): Likewise.
12353 (add_locale_string): Likewise.
12354 (add_locale_wstring): Likewise.
12355 (add_locale_uint32): Likewise.
12356 (add_locale_uint32_array): Likewise.
12357 (add_locale_char): Likewise.
12358 (start_locale_structure): Likewise.
12359 (end_locale_structure): Likewise.
12360 (start_locale_prelude): Likewise.
12361 (end_locale_prelude): Likewise.
12362 (write_locale_data): Take locale_file structure rather than an
12364 * locale/programs/locfile.h: Include "obstack.h".
12365 (struct locale_file): Change to store locale file contents instead
12367 (init_locale_data): New prototype.
12368 (align_locale_data): Likewise.
12369 (add_locale_empty): Likewise.
12370 (add_locale_raw_data): Likewise.
12371 (add_locale_raw_obstack): Likewise.
12372 (add_locale_string): Likewise.
12373 (add_locale_wstring): Likewise.
12374 (add_locale_uint32): Likewise.
12375 (add_locale_uint32_array): Likewise.
12376 (add_locale_char): Likewise.
12377 (start_locale_structure): Likewise.
12378 (end_locale_structure): Likewise.
12379 (start_locale_prelude): Likewise.
12380 (end_locale_prelude): Likewise.
12381 (write_locale_data): Update prototype.
12382 * locale/programs/3level.h (struct TABLE): Remove result field.
12383 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
12384 Use new locale_file interface.
12385 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
12386 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
12387 * locale/programs/ld-address.c (address_output): Use new
12388 locale_file interface.
12389 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
12391 (collate_finish): Don't call collseq_table_finalize.
12392 (collate_output): Use new locale_file interface.
12393 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
12395 (NO_FINALIZE): Change to NO_ADD_LOCALE.
12396 (TABLE): Move defines earlier in file.
12397 (ELEMENT): Likewise.
12398 (DEFAULT): Likewise.
12399 (wctrans_table_add): Move macro and inline function earlier in
12401 (struct wctype_table): Move type earlier in file.
12402 (add_locale_wctype_table): New static prototype.
12403 (struct locale_ctype_t): Use logical types instead of struct iovec
12404 pointers for members.
12405 (ctype_output): Use new locale_file interface.
12406 (wctype_table_finalize): Change to add_locale_wctype_table. Use
12407 new locale_file interface.
12408 (allocate_arrays): Update for use of new locale_file interface.
12409 * locale/programs/ld-identification.c (identification_output): Use
12410 new locale_file interface.
12411 * locale/programs/ld-measurement.c (measurement_output): Likewise.
12412 * locale/programs/ld-messages.c (messages_output): Likewise.
12413 * locale/programs/ld-monetary.c (monetary_output): Likewise.
12414 * locale/programs/ld-name.c (name_output): Likewise.
12415 * locale/programs/ld-numeric.c (numeric_output): Likewise.
12416 * locale/programs/ld-paper.c (paper_output): Likewise.
12417 * locale/programs/ld-telephone.c (telephone_output): Likewise.
12418 * locale/programs/ld-time.c (time_output): Likewise.
12420 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12422 * benchtests/Makefile: Add memrchr benchmark.
12423 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
12424 benchmark as memrchr.
12425 * benchtests/bench-memrchr-ifunc.c: New file.
12426 * benchtests/bench-memrchr.c: New file.
12428 2013-09-06 Will Newton <will.newton@linaro.org>
12430 * benchtests/Makefile (string-bench): Add memcpy.
12432 2013-09-05 Carlos O'Donell <carlos@redhat.com>
12433 Cong Wang <amwang@redhat.com>
12436 * sysdeps/unix/sysv/linux/bits/in.h
12437 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
12438 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
12439 before __USE_KERNEL_IPV6_DEFS uses.
12440 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
12442 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
12443 sockaddr_in6, or ipv6_mreq.
12445 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12447 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
12448 memory access for final bytes in some large inputs.
12449 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
12451 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12453 * string/test-memrchr.c: New file.
12454 * string/test-memrchr-ifunc.c: New file.
12455 * string/Makefile: Add new memrchr testcase.
12457 2013-09-05 Mike Frysinger <vapier@gentoo.org>
12459 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
12460 fanotify_init returns EPERM.
12462 2013-09-04 Joseph Myers <joseph@codesourcery.com>
12464 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
12466 (top level): Treat second token from macro or constant entries for
12467 allowed headers as allowed.
12468 * include/complex.h: Condition internal declarations on
12470 * include/fenv.h: Condition include of <stdbool.h> and internal
12471 declarations on [!_ISOMAC].
12473 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
12476 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
12478 2013-09-04 Joseph Myers <joseph@codesourcery.com>
12480 * configure.in (--enable-versioning): Remove configure option.
12481 (libc_cv_asm_symver_directive): Remove configure test.
12482 (libc_cv_ld_version_script_option): Likewise.
12483 (VERSIONING): Remove variable and AC_SUBST.
12484 (DO_VERSIONING): Remove AC_DEFINE.
12485 * configure: Regenerated.
12486 * config.h.in (DO_VERSIONING): Remove macro.
12487 * Makerules [$(versioning) = yes]: Change conditionals to
12488 [$(build-shared) = yes].
12489 * config.make.in (versioning): Remove variable.
12490 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
12491 [$(build-shared) = yes].
12492 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
12493 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
12494 * elf/Makefile [$(versioning) = yes]: Change conditionals to
12495 [$(build-shared) = yes].
12496 * extra-lib.mk [$(versioning) = yes]: Likewise.
12497 * hurd/Makefile [$(versioning) = yes]: Likewise.
12498 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
12500 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
12502 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
12503 [SHARED && !NO_HIDDEN].
12504 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
12506 [SHARED && DO_VERSIONING]: Likewise..
12507 * libio/Makefile [$(versioning) = yes]: Change conditionals to
12508 [$(build-shared) = yes].
12509 * manual/install.texi (--disable-versioning): Remove
12511 * INSTALL: Regenerated.
12512 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
12514 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
12515 [$(build-shared) = yes].
12516 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
12517 * sysdeps/i386/i686/multiarch/strstr-c.c
12518 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
12519 [SHARED && !NO_HIDDEN].
12520 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
12521 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
12522 * sysdeps/powerpc/powerpc32/dl-machine.c
12523 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
12524 * sysdeps/powerpc/powerpc32/sysdep.h
12525 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
12526 to [SHARED && PIC && !NO_HIDDEN].
12527 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
12528 conditional to [SHARED].
12530 2013-09-04 Will Newton <will.newton@linaro.org>
12532 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
12533 * benchtests/bench-string.h: Include bench-timing.h instead
12534 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
12535 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
12536 call to HP_TIMING_DIFF_INIT.
12537 * benchtests/bench-memccpy.c: Use bench-timing.h macros
12538 instead of hp-timing.h macros.
12539 * benchtests/bench-memchr.c: Likewise.
12540 * benchtests/bench-memcmp.c: Likewise.
12541 * benchtests/bench-memcpy.c: Likewise.
12542 * benchtests/bench-memmem.c: Likewise.
12543 * benchtests/bench-memmove.c: Likewise.
12544 * benchtests/bench-memset.c: Likewise.
12545 * benchtests/bench-rawmemchr.c: Likewise.
12546 * benchtests/bench-strcasecmp.c: Likewise.
12547 * benchtests/bench-strcasestr.c: Likewise.
12548 * benchtests/bench-strcat.c: Likewise.
12549 * benchtests/bench-strchr.c: Likewise.
12550 * benchtests/bench-strcmp.c: Likewise.
12551 * benchtests/bench-strcpy.c: Likewise.
12552 * benchtests/bench-strcpy_chk.c: Likewise.
12553 * benchtests/bench-strlen.c: Likewise.
12554 * benchtests/bench-strncasecmp.c: Likewise.
12555 * benchtests/bench-strncat.c: Likewise.
12556 * benchtests/bench-strncmp.c: Likewise.
12557 * benchtests/bench-strncpy.c: Likewise.
12558 * benchtests/bench-strnlen.c: Likewise.
12559 * benchtests/bench-strpbrk.c: Likewise.
12560 * benchtests/bench-strrchr.c: Likewise.
12561 * benchtests/bench-strspn.c: Likewise.
12562 * benchtests/bench-strstr.c: Likewise.
12564 2013-09-04 Will Newton <will.newton@linaro.org>
12566 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
12568 2013-09-03 Joseph Myers <joseph@codesourcery.com>
12571 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
12572 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
12573 * math/libm-test.inc (lgamma_test_data): Add more tests.
12574 * sysdeps/i386/fpu/libm-test-ulps: Update.
12575 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12577 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
12579 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
12580 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12582 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
12583 Add strcmp-sse2-unaligned
12584 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
12586 2013-09-02 Mike Frysinger <vapier@gentoo.org>
12588 * Versions.def (libc): Add GLIBC_2.19.
12590 2013-09-02 Mike Frysinger <vapier@gentoo.org>
12592 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
12593 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
12595 2013-09-02 Joseph Myers <joseph@codesourcery.com>
12598 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
12599 intermediate calculations in recurrence.
12600 (__ieee754_ynf): Likewise.
12601 * math/libm-test.inc (jn_test_data): Do not allow spurious
12602 underflow exception. Add more tests.
12603 (yn_test_data): Add more tests.
12604 * sysdeps/i386/fpu/libm-test-ulps: Update.
12605 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12607 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
12609 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
12611 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
12613 * csu/init-first.c: Fix then/than typos.
12614 * locale/programs/ld-collate.c: Likewise.
12615 * locale/programs/linereader.h: Likewise.
12616 * manual/charset.texi: Likewise.
12617 * manual/filesys.texi: Likewise.
12618 * manual/stdio.texi: Likewise.
12619 * manual/string.texi: Likewise.
12620 * stdlib/fmtmsg.c: Likewise.
12621 * sysdeps/i386/stpncpy.S: Likewise.
12622 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12623 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
12624 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12625 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
12627 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
12629 * elf/dl-open.c: Fix typos.
12630 * iconvdata/gbbig5.c: Likewise.
12631 * iconvdata/iso-2022-jp.c: Likewise.
12632 * iconv/gconv_int.h: Likewise.
12633 * iconv/loop.c: Likewise.
12634 * nis/rpcsvc/nis.h: Likewise.
12635 * resolv/ns_name.c: Likewise.
12636 * stdio-common/vfscanf.c: Likewise.
12637 * streams/stropts.h: Likewise.
12638 * sunrpc/rpc_thread.c: Likewise.
12639 * sysdeps/i386/strpbrk.S: Likewise.
12640 * sysdeps/ieee754/k_standard.c: Likewise.
12641 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12642 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12643 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
12644 * sysdeps/mach/hurd/profil.c: Likewise.
12645 * sysdeps/s390/dl-procinfo.h: Likewise.
12646 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
12647 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
12648 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
12649 * sysdeps/x86_64/dl-trampoline.S: Likewise.
12650 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
12652 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
12654 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
12655 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
12657 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
12659 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
12660 aix specific files.
12661 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
12662 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
12663 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
12664 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
12665 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
12666 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
12667 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
12668 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
12670 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
12671 Roland McGrath <roland@hack.frob.com>
12673 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
12674 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
12676 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
12678 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
12679 __executable_start symbol instead of _start.
12681 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
12683 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
12684 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
12686 * sysdeps/gnu/ldsodefs.h: ... this new file.
12688 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
12689 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
12690 instead of ELFOSABI_LINUX.
12692 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
12693 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
12694 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
12695 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
12697 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
12698 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
12699 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
12701 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
12702 (ibm_extended_long_double): Add ieee_nan member.
12703 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
12704 (do_test): New function.
12706 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
12708 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
12709 functions, renamed from truncdfsf_test, trunctfsf_test,
12711 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
12713 (do_test): Run all these.
12715 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
12717 * argp/argp-help.c: Fix typos.
12718 * argp/argp-parse.c: Likewise.
12719 * debug/backtracesyms.c: Likewise.
12720 * elf/elf.h: Likewise.
12721 * malloc/malloc.c: Likewise.
12722 * nis/nis_print.c: Likewise.
12723 * resolv/res_comp.c: Likewise.
12724 * stdlib/stdlib.h: Likewise.
12725 * sunrpc/clnt_tcp.c: Likewise.
12726 * sunrpc/clnt_udp.c: Likewise.
12727 * sunrpc/clnt_unix.c: Likewise.
12728 * sysdeps/unix/bsd/ptsname.c: Likewise.
12729 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
12730 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
12731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
12733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
12735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
12737 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
12739 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12741 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
12742 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12744 2013-08-27 Mike Frysinger <vapier@gentoo.org>
12747 * dlfcn/Makefile (tests): Add bug-dl-leaf.
12748 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
12749 ($(objpfx)bug-dl-leaf): New rule.
12750 ($(objpfx)bug-dl-leaf.so): Likewise.
12751 ($(objpfx)bug-dl-leaf.out): Likewise.
12752 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
12753 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
12754 * dlfcn/bug-dl-leaf.c: New test.
12755 * dlfcn/bug-dl-leaf-lib.c: Likewise.
12756 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
12757 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
12758 (dlclose): Likewise.
12759 (dlmopen): Likewise.
12761 2013-08-27 Roland McGrath <roland@hack.frob.com>
12763 * include/netdb.h [!_ISOMAC]:
12764 Don't include <tls.h>.
12765 (h_errno, __libc_h_errno): Move declaration and macros out of
12768 * include/resolv.h [_RESOLV_H_]:
12769 Don't include <tls.h>.
12770 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
12771 * resolv/res_libc.c: Don't include <tls.h>.
12772 (_res): Use __attribute__ ((nocommon)) in place of
12773 __attribute__ ((section (".bss"))).
12775 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
12776 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
12778 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
12780 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
12781 only under [SIOCGIFCONF && SIOCGIFNETMASK].
12783 * resolv/res_mkquery.c: Include <sys/time.h>.
12785 * inet/ifreq.c: Moved to ...
12786 * sysdeps/unix/ifreq.c: ... here.
12787 * inet/ifreq.c: New file, true stub version.
12789 * socket/sa_len.c: New file.
12790 * socket/Makefile (aux): Add it.
12791 * sysdeps/unix/sysv/linux/Makefile
12792 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
12793 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
12794 and #include <socket/sa_len.c>.
12795 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
12796 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
12798 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
12799 * bits/socket.h: ... here.
12801 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
12802 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
12803 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
12805 2013-08-27 Andreas Schwab <schwab@suse.de>
12808 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
12809 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
12810 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
12811 * string/test-strcasecmp.c (test_main): Run tests in several
12813 * string/test-strncasecmp.c (test_main): Likewise.
12815 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
12816 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
12817 to __strcasecmp_nonascii and __strncasecmp_nonascii.
12818 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
12819 (__strncasecmp_ssse3) [PIC]: Likewise.
12821 2013-08-26 Roland McGrath <roland@hack.frob.com>
12823 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
12825 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
12826 instead of explicitly declaring xdecrypt.
12827 * nis/nss_nis/nis-publickey.c: Likewise.
12829 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12832 * nscd/aicache.c: Include res_hconf.h.
12833 (addhstaiX): Initialize res_hconf.
12835 2013-08-26 Andreas Schwab <schwab@suse.de>
12837 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
12838 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
12840 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12842 * nscd/aicache.c (addhstaiX): Fix indentation.
12844 2013-08-25 Mike Frysinger <vapier@gentoo.org>
12846 * configure.ac: Quote $build_pt_chown test.
12847 * configure: Regenerated.
12849 2013-08-23 Joseph Myers <joseph@codesourcery.com>
12852 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
12853 * math/s_cexpf.c (__cexpf): Likewise.
12854 * math/s_cexpl.c (__cexpl): Likewise.
12855 * math/libm-test.inc (cexp_test_data): Correct expected return
12856 value for NaN + i0. Add another test.
12858 2013-08-22 David S. Miller <davem@davemloft.net>
12860 * po/ca.po: Update Catalan translation from translation project.
12861 * po/uk.po: Add Ukrainian translations from translation project.
12863 2013-08-21 Joseph Myers <joseph@codesourcery.com>
12866 * math/s_fdim.c (__fdim): Check for infinite arguments if result
12867 is infinite, not alongside NaN test.
12868 * math/s_fdimf.c (__fdimf): Likewise.
12869 * math/s_fdiml.c (__fdiml): Likewise.
12870 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
12871 errno is unchanged.
12873 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
12875 * argp/argp-help.c: Fix typos.
12876 * crypt/speeds.c: Likewise.
12877 * csu/check_fds.c: Likewise.
12878 * elf/dl-load.c: Likewise.
12879 * elf/dl-open.c: Likewise.
12880 * elf/reldep3.c: Likewise.
12881 * elf/reldep.c: Likewise.
12882 * elf/sprof.c: Likewise.
12883 * iconv/iconv_charmap.c: Likewise.
12884 * iconv/skeleton.c: Likewise.
12885 * iconv/strtab.c: Likewise.
12886 * io/lockf64.c: Likewise.
12887 * libio/libioP.h: Likewise.
12888 * resolv/gai_notify.c: Likewise.
12889 * resolv/ns_name.c: Likewise.
12890 * resolv/ns_samedomain.c: Likewise.
12891 * resolv/res_send.c: Likewise.
12892 * stdlib/random.c: Likewise.
12893 * sunrpc/rpc/xdr.h: Likewise.
12894 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
12895 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
12896 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
12897 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
12898 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
12899 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
12900 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
12901 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
12902 * sysdeps/mach/hurd/check_fds.c: Likewise.
12903 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
12904 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
12905 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12906 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
12907 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
12908 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
12909 * sysdeps/pthread/aio_notify.c: Likewise.
12910 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
12911 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
12912 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
12913 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
12914 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
12916 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12918 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
12919 version if bit_Slow_SSE4_2 is set.
12920 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12921 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12923 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12926 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
12927 trampoline stack frame information.
12928 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
12929 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
12930 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
12931 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
12932 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
12933 * sysdeps/unix/sysv/linux/powerpc/init-first.c
12934 (_libc_vdso_platform_setup): Initialize the signal trampolines.
12935 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
12937 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
12938 interrupting a syscall and set with option SA_SIGINFO.
12940 2013-08-20 Joseph Myers <joseph@codesourcery.com>
12943 * math/s_cproj.c (__cproj): Only return an infinity if one part of
12944 argument is infinite.
12945 * math/s_cprojf.c (__cprojf): Likewise.
12946 * math/s_cprojl.c (__cprojl): Likewise.
12947 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
12948 * math/libm-test.inc (cproj_test_data): Add more tests.
12950 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
12952 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
12953 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
12954 size. Use __ffs to determine corresponding shift.
12956 2013-08-20 Joseph Myers <joseph@codesourcery.com>
12957 Roland McGrath <roland@hack.frob.com>
12959 * Makefile (INSTALL): Remove trailing blank lines from output of
12962 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12964 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
12965 Align 32 bit compat elf_greg to 8 bytes.
12967 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
12969 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
12971 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12973 * string/strcoll_l.c (coll_seq): New structure.
12974 (get_next_seq_cached): New function.
12975 (get_next_seq): New function.
12976 (do_compare): New function.
12977 (STRCOLL): Use GNU style definition. Simplify implementation
12978 by using get_next_seq, get_next_seq_cached and do_compare.
12980 2013-08-16 Florian Weimer <fweimer@redhat.com>
12984 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
12986 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
12988 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
12989 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
12990 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
12992 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
12993 GETDENTS_64BIT_ALIGNED.
12994 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
12995 * manual/filesys.texi (Reading/Closing Directory): Document
12996 ENAMETOOLONG return value of readdir_r. Recommend readdir more
12998 * manual/conf.texi (Limits for Files): Add portability note to
12999 NAME_MAX, PATH_MAX.
13000 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
13002 2013-08-13 Andreas Schwab <schwab@suse.de>
13005 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
13007 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
13008 LDBL_MAX_EXP >= 16384]: Add tests for it.
13010 2013-08-12 David S. Miller <davem@davemloft.net>
13012 * version.h (RELEASE): Set to "development".
13013 (VERSION): Set to "2.18.90".
13014 * NEWS: Add 2.19 section.
13016 2013-08-03 David S. Miller <davem@davemloft.net>
13018 * po/ko.po: Update Korean translation from translation project.
13020 2013-08-01 David S. Miller <davem@davemloft.net>
13022 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
13023 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
13026 2013-07-30 David S. Miller <davem@davemloft.net>
13028 * po/fr.po: Update French translation from translation project.
13030 2013-07-28 David S. Miller <davem@davemloft.net>
13032 * po/cs.po: Update Czech translation from translation project.
13034 * po/sv.po: Update Swedish translation from translation project.
13036 2013-07-27 David S. Miller <davem@davemloft.net>
13038 * po/eo.po: Update Esperanto translation from translation project.
13040 * po/vi.po: Update Vietnamese translation from translation project.
13042 * po/de.po: Update German translation from translation project.
13044 2013-07-26 David S. Miller <davem@davemloft.net>
13046 * po/bg.po: Update Bulgarian translation from translation project.
13048 * po/nl.po: Update Dutch translation from translation project.
13049 * po/pl.po: Update Polish translation from translation project.
13050 * po/ru.po: Update Russian translation from translation project.
13052 2013-07-24 David S. Miller <davem@davemloft.net>
13054 * po/libc.pot: Update.
13056 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13058 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
13059 variable page size.
13060 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
13061 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
13062 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
13064 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13066 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
13068 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13069 Andreas Schwab <schwab@suse.de>
13070 Roland McGrath <roland@hack.frob.com>
13071 Joseph Myers <joseph@codesourcery.com>
13072 Carlos O'Donell <carlos@redhat.com>
13075 * config.h.in: Define HAVE_PT_CHOWN.
13076 * config.make.in (build-pt-chown): New variable.
13077 * configure.in (--enable-pt_chown): New configure option.
13078 * configure: Regenerate.
13079 * login/Makefile: Include Makeconfig. Build pt_chown only if
13080 build-pt-chown is enabled.
13081 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
13082 pt_chown to fix pty ownership.
13083 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
13085 * manual/install.texi (Configuring and compiling): Mention
13086 --enable-pt_chown. Add @findex for grantpt.
13087 * INSTALL: Regenerate.
13089 2013-07-20 David S. Miller <davem@davemloft.net>
13091 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
13092 difference between 32-bit and 64-bit.
13094 2013-07-15 Carlos O'Donell <carlos@redhat.com>
13097 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
13098 Avoid system header dependency with -ffreestanding.
13099 ($(objpfx)bits/syscall%d): Likewise.
13101 2013-07-13 David S. Miller <davem@davemloft.net>
13103 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
13104 underflows from atanl/atan2l due to bug 15319.
13105 (casinh_test_data): Likewise.
13107 2013-07-07 David S. Miller <davem@davemloft.net>
13109 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
13111 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
13113 * sysdeps/i386/fpu/libm-test-ulps: Update.
13114 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13116 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13118 * configure.in (--enable-lock-elision): Fix message text.
13119 * INSTALL: Regenerate.
13120 * configure: Regenerate.
13122 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13124 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13126 2013-07-03 Andreas Jaeger <aj@suse.de>
13128 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
13130 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
13131 (ptrace_peeksiginfo_args): Add.
13132 (__ptrace_peeksiginfo_flags): Add.
13133 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13134 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13135 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13137 2013-07-03 Allan McRae <allan@archlinux.org>
13139 * sysdeps/i386/fpu/libm-test-ulps: Update.
13141 2013-07-02 David S. Miller <davem@davemloft.net>
13143 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13145 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
13147 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13149 2013-07-02 Joseph Myers <joseph@codesourcery.com>
13151 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
13152 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13154 2013-07-02 Andi Kleen <ak@linux.intel.com>
13156 * config.h.in (ENABLE_LOCK_ELISION): Add.
13157 * configure.in (--enable-lock-elision): Add option.
13158 * manual/install.texi: Document --enable lock elision.
13159 * configure: Regenerate
13160 * INSTALL: Regenerate.
13162 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
13164 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
13165 SSE4.2 strcasecmp for libc.a.
13166 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
13168 2013-07-02 Joseph Myers <joseph@codesourcery.com>
13171 * soft-fp/op-common.h (_FP_FMA): New macro.
13172 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
13173 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
13174 (_FP_MUL_MEAT_1_imm): ... here.
13175 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
13176 (_FP_MUL_MEAT_1_wide): ... here.
13177 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
13178 (_FP_MUL_MEAT_1_hard): ... here.
13179 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
13180 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
13181 (_FP_MUL_MEAT_2_wide): ... here.
13182 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
13183 (_FP_MUL_MEAT_2_wide_3mul): ... here.
13184 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
13185 (_FP_MUL_MEAT_2_gmp): ... here.
13186 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
13187 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
13188 (_FP_MUL_MEAT_4_wide): ... here.
13189 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
13190 (_FP_MUL_MEAT_4_gmp): ... here.
13191 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
13192 (_FP_WFRACBITS_DW_S): Likewise.
13193 (_FP_WFRACXBITS_DW_S): Likewise.
13194 (_FP_HIGHBIT_DW_S): Likewise.
13195 (FP_FMA_S): Likewise.
13196 (_FP_FRAC_HIGH_DW_S): Likewise.
13197 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
13198 (_FP_WFRACBITS_DW_D): Likewise.
13199 (_FP_WFRACXBITS_DW_D): Likewise.
13200 (_FP_HIGHBIT_DW_D): Likewise.
13201 (FP_FMA_D): Likewise.
13202 (_FP_FRAC_HIGH_DW_D): Likewise.
13203 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
13204 (_FP_WFRACBITS_DW_E): Likewise.
13205 (_FP_WFRACXBITS_DW_E): Likewise.
13206 (_FP_HIGHBIT_DW_E): Likewise.
13207 (FP_FMA_E): Likewise.
13208 (_FP_FRAC_HIGH_DW_E): Likewise.
13209 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
13210 (_FP_WFRACBITS_DW_Q): Likewise.
13211 (_FP_WFRACXBITS_DW_Q): Likewise.
13212 (_FP_HIGHBIT_DW_Q): Likewise.
13213 (FP_FMA_Q): Likewise.
13214 (_FP_FRAC_HIGH_DW_Q): Likewise.
13215 * soft-fp/fmasf4.c: New file.
13216 * soft-fp/fmadf4.c: Likewise.
13217 * soft-fp/fmatf4.c: Likewise.
13219 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13221 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
13222 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
13224 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
13226 (index_Slow_SSE4_2): Likewise.
13227 (index_Prefer_PMINUB_for_stringop): Likewise.
13228 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
13229 bit_Slow_SSE4_2 is set.
13230 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
13231 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13233 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13235 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
13236 rtld_global._dl_hwcap2.
13237 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
13239 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
13240 POWER8 feature descriptions defined in _dl_hwcap2.
13241 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
13242 string handling for POWER8 feature bits.
13243 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
13244 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
13245 _dl_powerpc_cap_flags.
13246 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
13247 * sysdeps/powerpc/rtld-global-offsets.sym
13248 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
13249 _dl_hwcap2 in the rtld_global_ro structure.
13251 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13253 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
13254 hardware capabilities in support of AT_HWCAP2.
13255 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
13256 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
13258 (_dl_show_auxv): Add support for calling _dl_procinfo to display
13259 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
13260 explicitly the unknown a_type display mechanism is used.
13261 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
13262 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
13264 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
13265 to macro prototype for AT_HWCAP2 support.
13266 * sysdeps/i386/dl-procinfo.h: Likewise.
13267 * sysdeps/s390/dl-procinfo.h: Likewise.
13268 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
13269 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
13270 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
13271 return -1 for unknown a_type display fallback.
13272 * sysdeps/sparc/dl-procinfo.h: Likewise.
13273 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
13274 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
13276 2013-06-28 Joseph Myers <joseph@codesourcery.com>
13278 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
13279 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
13281 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
13284 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
13285 mprotect making __stack_prot writable.
13287 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
13288 Joseph Myers <joseph@codesourcery.com>
13290 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
13291 as being properly aligned.
13293 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
13295 * dlfcn/modstatic5.c: New file.
13296 * dlfcn/tststatic5.c: New file.
13297 * dlfcn/Makefile (tests): Add tststatic5.
13298 (tests-static): Likewise.
13299 (modules-names): Add modstatic5.
13300 (tststatic5-ENV): New variable.
13301 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
13304 * elf/dl-support.c (_dl_main_map): New variable.
13305 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
13306 (_dl_nns, _dl_load_adds): Set to 1.
13307 (_dl_initial_searchlist): Refer to _dl_main_map.
13308 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
13309 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
13310 call to _dl_get_origin.
13311 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
13313 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
13314 * dlfcn/modstatic3.c: New file.
13315 * dlfcn/tststatic3.c: New file.
13316 * dlfcn/tststatic4.c: New file.
13317 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
13318 (tests-static): Likewise.
13319 (modules-names): Add modstatic3.
13320 (tststatic3-ENV, tststatic4-ENV): New variables.
13321 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
13322 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
13324 2013-06-26 Joseph Myers <joseph@codesourcery.com>
13326 * configure.in (CC): Require GCC version 4.4 or later.
13327 * configure: Regenerated.
13328 * manual/install.texi (Tools for Compilation): Update GCC version
13330 * INSTALL: Regenerated.
13332 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13335 * string/test-memcmp.c (check2): New.
13336 (main): Call check2.
13338 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
13340 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
13343 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
13345 (dl_open_worker) [!SHARED]: ... here.
13347 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13349 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
13351 2013-06-25 Richard Henderson <rth@redhat.com>
13353 * locale/programs/locarchive.c: Include <libc-internal.h>
13355 2013-06-25 Joseph Myers <joseph@codesourcery.com>
13357 * manual/texinfo.tex: Update to version 2013-06-21.17, with
13358 trailing whitespace removed.
13360 2013-06-24 Mike Frysinger <vapier@gentoo.org>
13363 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
13364 * locale/programs/locarchive.c: Include libc-mmap.h.
13365 (prepare_address_space): Take two new outputs (the mmap base and len).
13366 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
13368 (create_archive): Declare new mmap base and len values for
13369 prepare_address_space, and store the result in ah.
13370 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
13371 (enlarge_archive): If ah->mmap_base is not NULL, use that and
13372 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
13373 Declare new mmap base and len values for
13374 prepare_address_space, and store the result in new_ah.
13375 (open_archive): Declare new mmap base and len values for
13376 prepare_address_space, and store the result in ah.
13377 (close_archive): If ah->mmap_base is not NULL, use that and
13378 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
13379 * sysdeps/generic/libc-mmap.h: New file.
13381 2013-06-24 Mike Frysinger <vapier@gentoo.org>
13383 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
13384 (ALIGN_UP): Likewise.
13385 (PTR_ALIGN_DOWN): Likewise.
13386 (PTR_ALIGN_UP): Likewise.
13388 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13390 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
13391 entry mapped to PPC_PLATFORM_POWER8.
13392 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
13394 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
13395 (_dl_string_platform): Add case for exporting platform position for
13397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
13398 search path to sysdeps/powerpc/powerpc32/power8 directory.
13399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
13400 search path to sysdeps/powerpc/powerpc64/power8 directory.
13401 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
13402 power7 directories.
13403 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
13404 power7 directories.
13406 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
13408 * INSTALL: Regenerate.
13410 * nscd/connections.c (nscd_init): Fix comment.
13412 2013-06-22 Joseph Myers <joseph@codesourcery.com>
13414 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
13417 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
13418 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
13420 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
13422 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
13424 (DL_DST_REQ_STATIC): Remove macro.
13426 2013-06-21 Joseph Myers <joseph@codesourcery.com>
13429 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
13430 with a shift of 0 bits.
13432 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
13434 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
13437 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13440 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
13442 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13444 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
13445 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
13446 accepts -fno-tree-loop-distribute-patterns.
13447 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
13448 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
13450 * string/memset.c (memset): Likewise.
13451 * string/test-memmove.c (simple_memmove): Disable loop transformation
13453 * string/test-memset.c (simple_memset): Likewise.
13454 * benchtests/bench-memmove.c (simple_memmove): Likewise.
13455 * benchtests/bench-memset.c (simple_memset): Likewise.
13456 * configure: Regenerated.
13458 2013-06-20 Joseph Myers <joseph@codesourcery.com>
13460 * math/test-misc.c (main): Ignore fesetround failure when failures
13461 of subsequent rounding tests would be ignored.
13464 * math/fedisblxcpt.c (fedisableexcept): Return 0.
13465 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
13466 * math/fegetenv.c (__fegetenv): Return 0.
13467 * math/fegetexcept.c (fegetexcept): Return 0.
13468 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
13470 * math/feholdexcpt.c (feholdexcept): Return 0.
13471 * math/fesetenv.c (__fesetenv): Return 0.
13472 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
13473 argument FE_TONEAREST.
13474 * math/feupdateenv.c (__feupdateenv): Return 0.
13475 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
13477 2013-06-18 Roland McGrath <roland@hack.frob.com>
13479 * elf/rtld-Rules (rtld-compile-command.S): New variable.
13480 (rtld-compile-command.s, rtld-compile-command.c): New variables.
13481 ($(objpfx)rtld-%.os rules): Use them.
13483 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13485 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
13488 2013-06-17 Roland McGrath <roland@hack.frob.com>
13490 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
13491 length of target pattern, then descending length of dependency pattern.
13492 * configure.in (AWK): Require gawk 3.1.2 or newer.
13493 * manual/install.texi (Tools for Compilation): Say that we do.
13494 * configure: Regenerated.
13496 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
13497 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
13498 * scripts/sysd-rules.awk: ... this new script.
13499 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
13500 than a glob-style pattern.
13502 2013-06-17 Joseph Myers <joseph@codesourcery.com>
13504 * math/test-misc.c (main): Do not treat incorrectly rounded
13505 conversions as failure unless ROUNDING_TESTS passes.
13507 2013-06-15 Joseph Myers <joseph@codesourcery.com>
13510 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
13511 restore exception state around main square root computation, then
13512 check for inexactness explicitly.
13514 * math/libm-test.inc (fma_test_data): Add another test.
13516 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13518 * manual/threads.texi (Non-POSIX Extensions): New document
13519 node. Document pthread_getattr_default_np and
13520 pthread_setattr_default_np.
13522 * Versions.def (libpthread): Add GLIBC_2.18.
13523 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
13524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
13526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
13528 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13530 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13532 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
13534 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
13536 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
13538 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
13540 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
13543 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13545 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13546 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
13548 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
13549 H.J. Lu <hjl.tools@gmail.com>
13552 * sysdeps/x86_64/rtld-memset.c: Remove file.
13553 * sysdeps/x86_64/rtld-memset.S: New file.
13555 2013-06-14 Joseph Myers <joseph@codesourcery.com>
13557 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
13558 (test_in_one_mode): Take arguments for whether the rounding mode
13559 is supported for each floating-point type.
13560 (do_test): Pass new arguments to test_in_one_mode using
13563 2013-06-13 Roland McGrath <roland@hack.frob.com>
13565 * posix/tst-waitid.c (do_test): Distinguish different instances of
13566 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
13567 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
13568 before entering the kernel for waitpid.
13570 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13572 * NEWS: Fix note on clock function precision. Text by Roland
13575 2013-06-13 Roland McGrath <roland@hack.frob.com>
13577 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
13578 it into place only when and if the sanity check passes.
13580 2013-06-13 Joseph Myers <joseph@codesourcery.com>
13582 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
13583 output for whether conversion result is exact. Take argument
13584 indicating whether type is IBM long double.
13585 (round_for_all): Change need_exact field to ibm_ld.
13586 * stdlib/tst-strtod-round.c (struct exactness): New type.
13587 (struct test): Change bool ld_ok field to struct exactness exact.
13588 (TEST): Update all definitions for change to field.
13589 (tests): Regenerate array contents.
13590 (test_in_one_mode): Take pointer to new field instead of old ld_ok
13591 field value. Check for IBM long double here.
13592 (do_test): Update calls to test_in_one_mode.
13594 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13597 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
13598 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
13600 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13603 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
13604 generated by the compiler on loop optimizations.
13605 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
13606 general definitions.
13608 2013-06-12 Joseph Myers <joseph@codesourcery.com>
13610 * math/bug-nextafter.c: Include <math-tests.h>.
13611 (main): Only test for exceptions if EXCEPTION_TESTS is true for
13613 * math/bug-nexttoward.c: Include <math-tests.h>.
13614 (main): Only test for exceptions if EXCEPTION_TESTS is true for
13616 * math/test-misc.c: Include <math-tests.h>.
13617 (main): Only test for exceptions if EXCEPTION_TESTS is true for
13620 2013-06-12 Andreas Jaeger <aj@suse.de>
13622 * po/ia.po: Update Interlingua translation from translation
13625 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
13627 * include/fenv.h: Include stdbool.h.
13628 (struct rm_ctx): New structure.
13629 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
13631 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
13632 (SET_RESTORE_ROUNDF): Likewise.
13633 (SET_RESTORE_ROUNDL): Likewise.
13634 (SET_RESTORE_ROUND_NOEX): Likewise.
13635 (SET_RESTORE_ROUND_NOEXF): Likewise.
13636 (SET_RESTORE_ROUND_NOEXL): Likewise.
13637 (SET_RESTORE_ROUND_53BIT): Likewise.
13638 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
13639 (libc_feresetround_noexf_ctx): Likewise.
13640 (libc_feresetround_noexl_ctx): Likewise.
13641 (libc_feholdsetround_53bit_ctx): Likewise.
13642 (libc_feresetround_53bit_ctx): Likewise.
13643 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
13644 (libc_feholdexcept_setround_sse_ctx): New function.
13645 (libc_fesetenv_sse_ctx): Likewise.
13646 (libc_feupdateenv_sse_ctx): Likewise.
13647 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
13648 (libc_feholdexcept_setround_387_ctx): Likewise.
13649 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
13650 (libc_feholdsetround_387_prec_ctx): Likewise.
13651 (libc_feholdsetround_387_ctx): Likewise.
13652 (libc_feholdsetround_387_53bit_ctx): Likewise.
13653 (libc_feholdsetround_sse_ctx): Likewise.
13654 (libc_feresetround_sse_ctx): Likewise.
13655 (libc_feresetround_387_ctx): Likewise.
13656 (libc_feupdateenv_387_ctx): Likewise.
13657 (libc_feholdexcept_setroundf_ctx): Define macro.
13658 (libc_fesetenvf_ctx): Likewise.
13659 (libc_feupdateenvf_ctx): Likewise.
13660 (libc_feholdsetroundf_ctx): Likewise.
13661 (libc_feresetroundf_ctx): Likewise.
13662 (libc_feholdexcept_setround_ctx): Likewise.
13663 (libc_fesetenv_ctx): Likewise.
13664 (libc_feupdateenv_ctx): Likewise.
13665 (libc_feholdsetround_ctx): Likewise.
13666 (libc_feresetround_ctx): Likewise.
13667 (libc_feholdexcept_setroundl_ctx): Likewise.
13668 (libc_feupdateenvl_ctx): Likewise.
13669 (libc_feholdsetroundl_ctx): Likewise.
13670 (libc_feresetroundl_ctx): Likewise.
13671 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
13672 (libc_feresetround_53bit_ctx): Likewise.
13674 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13676 * locale/iso-639.def: Convert to UTF-8.
13678 2013-06-11 Joseph Myers <joseph@codesourcery.com>
13680 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
13681 (EXCEPTION_TESTS_double): Likewise.
13682 (EXCEPTION_TESTS_long_double): Likewise.
13683 (EXCEPTION_TESTS): Likewise.
13684 * math/libm-test.inc (test_exceptions): Only test exceptions if
13685 EXCEPTION_TESTS (FLOAT).
13687 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13689 * benchtests/Makefile (string-bench): Add strcpy_chk and
13691 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
13692 * benchtests/bench-stpcpy_chk.c: New file.
13693 * benchtests/bench-strcpy_chk-ifunc.c: New file.
13694 * benchtests/bench-strcpy_chk.c: New file.
13695 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
13697 (do_test): Likewise.
13699 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13701 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
13702 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
13703 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
13704 with tabs where appropriate.
13705 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
13707 [PPC_PLATFORM_PPC440]: Likewise.
13708 [PPC_PLATFORM_PPC464]: Likewise.
13709 [PPC_PLATFORM_PPC476]: Likewise.
13710 (_dl_string_platform): Add support for detecting ppc405, ppc440,
13711 ppc464, and ppc476 platform strings merging from ports/
13714 2013-06-11 Andreas Schwab <schwab@suse.de>
13717 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
13718 (from_ucs4_idx): Regenerate.
13719 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
13720 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
13721 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
13722 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
13723 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
13724 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
13725 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
13726 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
13727 from FROM_LOOP and TO_LOOP specific macros.
13728 (BODY): Handle combining characters.
13729 * iconvdata/BIG5HKSCS.irreversible: Update.
13730 * iconvdata/BIG5HKSCS.precomposed: New file.
13731 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
13733 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
13735 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13737 * include/sys/time.h: Fix indentation and add copyright header.
13739 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
13740 (do_test): Likewise.
13741 * string/test-memchr.c (do_one_test): Likewise.
13742 (do_test): Likewise.
13743 * string/test-memcmp.c (do_one_test): Likewise.
13744 (do_test): Likewise.
13745 * string/test-memcpy.c (do_one_test): Likewise.
13746 (do_test): Likewise.
13747 * string/test-memmem.c (do_one_test): Likewise.
13748 (do_test): Likewise.
13749 (do_random_tests): Likewise.
13750 * string/test-memmove.c (do_one_test): Likewise.
13751 (do_test): Likewise.
13752 * string/test-memset.c (do_one_test): Likewise.
13753 (do_test): Likewise.
13754 * string/test-rawmemchr.c (do_one_test): Likewise.
13755 (do_test): Likewise.
13756 * string/test-strcasecmp.c (do_one_test): Likewise.
13757 (do_test): Likewise.
13758 * string/test-strcasestr.c (do_one_test): Likewise.
13759 (do_test): Likewise.
13760 * string/test-strcat.c (do_one_test): Likewise.
13761 (do_test): Likewise.
13762 * string/test-strchr.c (do_one_test): Likewise.
13763 (do_test): Likewise.
13764 * string/test-strcmp.c (do_one_test): Likewise.
13765 (do_test): Likewise.
13766 * string/test-strcpy.c (do_one_test): Likewise.
13767 (do_test): Likewise.
13768 * string/test-string.h: Likewise.
13769 (test_init): Likewise.
13770 * string/test-strlen.c (do_one_test): Likewise.
13771 (do_test): Likewise.
13772 * string/test-strncasecmp.c (do_one_test): Likewise.
13773 (do_test): Likewise.
13774 * string/test-strncat.c (do_one_test): Likewise.
13775 (do_test): Likewise.
13776 * string/test-strncmp.c (do_one_test): Likewise.
13777 (do_test_limit): Likewise.
13778 (do_test): Likewise.
13779 * string/test-strncpy.c (do_one_test): Likewise.
13780 (do_test): Likewise.
13781 * string/test-strnlen.c (do_one_test): Likewise.
13782 (do_test): Likewise.
13783 * string/test-strpbrk.c (do_one_test): Likewise.
13784 (do_test): Likewise.
13785 * string/test-strrchr.c (do_one_test): Likewise.
13786 (do_test): Likewise.
13787 * string/test-strspn.c (do_one_test): Likewise.
13788 (do_test): Likewise.
13789 * string/test-strstr.c (do_one_test): Likewise.
13790 (do_test): Likewise.
13792 * benchtests/Makefile (string-bench): Add string benchmarks.
13793 * benchtests/bench-bcopy-ifunc.c: New file.
13794 * benchtests/bench-bcopy.c: New file.
13795 * benchtests/bench-bzero-ifunc.c: New file.
13796 * benchtests/bench-bzero.c: New file.
13797 * benchtests/bench-memccpy-ifunc.c: New file.
13798 * benchtests/bench-memccpy.c: New file.
13799 * benchtests/bench-memchr-ifunc.c: New file.
13800 * benchtests/bench-memchr.c: New file.
13801 * benchtests/bench-memcmp-ifunc.c: New file.
13802 * benchtests/bench-memcmp.c: New file.
13803 * benchtests/bench-memmem-ifunc.c: New file.
13804 * benchtests/bench-memmem.c: New file.
13805 * benchtests/bench-memmove-ifunc.c: New file.
13806 * benchtests/bench-memmove.c: New file.
13807 * benchtests/bench-mempcpy-ifunc.c: New file.
13808 * benchtests/bench-mempcpy.c: New file.
13809 * benchtests/bench-memset-ifunc.c: New file.
13810 * benchtests/bench-memset.c: New file.
13811 * benchtests/bench-rawmemchr-ifunc.c: New file.
13812 * benchtests/bench-rawmemchr.c: New file.
13813 * benchtests/bench-stpcpy-ifunc.c: New file.
13814 * benchtests/bench-stpcpy.c: New file.
13815 * benchtests/bench-stpncpy-ifunc.c: New file.
13816 * benchtests/bench-stpncpy.c: New file.
13817 * benchtests/bench-strcasecmp-ifunc.c: New file.
13818 * benchtests/bench-strcasecmp.c: New file.
13819 * benchtests/bench-strcasestr-ifunc.c: New file.
13820 * benchtests/bench-strcasestr.c: New file.
13821 * benchtests/bench-strcat-ifunc.c: New file.
13822 * benchtests/bench-strcat.c: New file.
13823 * benchtests/bench-strchr-ifunc.c: New file.
13824 * benchtests/bench-strchr.c: New file.
13825 * benchtests/bench-strchrnul-ifunc.c: New file.
13826 * benchtests/bench-strchrnul.c: New file.
13827 * benchtests/bench-strcmp-ifunc.c: New file.
13828 * benchtests/bench-strcmp.c: New file.
13829 * benchtests/bench-strcpy-ifunc.c: New file.
13830 * benchtests/bench-strcpy.c: New file.
13831 * benchtests/bench-strcspn-ifunc.c: New file.
13832 * benchtests/bench-strcspn.c: New file.
13833 * benchtests/bench-strlen-ifunc.c: New file.
13834 * benchtests/bench-strlen.c: New file.
13835 * benchtests/bench-strncasecmp-ifunc.c: New file.
13836 * benchtests/bench-strncasecmp.c: New file.
13837 * benchtests/bench-strncat-ifunc.c: New file.
13838 * benchtests/bench-strncat.c: New file.
13839 * benchtests/bench-strncmp-ifunc.c: New file.
13840 * benchtests/bench-strncmp.c: New file.
13841 * benchtests/bench-strncpy-ifunc.c: New file.
13842 * benchtests/bench-strncpy.c: New file.
13843 * benchtests/bench-strnlen-ifunc.c: New file.
13844 * benchtests/bench-strnlen.c: New file.
13845 * benchtests/bench-strpbrk-ifunc.c: New file.
13846 * benchtests/bench-strpbrk.c: New file.
13847 * benchtests/bench-strrchr-ifunc.c: New file.
13848 * benchtests/bench-strrchr.c: New file.
13849 * benchtests/bench-strspn-ifunc.c: New file.
13850 * benchtests/bench-strspn.c: New file.
13851 * benchtests/bench-strstr-ifunc.c: New file.
13852 * benchtests/bench-strstr.c: New file.
13854 * benchtests/Makefile: Disable parallel execution of targets.
13855 (string-bench): Add memcpy.
13856 (benchset): New variable to store a list of benchmark sets.
13857 (bench-func): Renamed from bench.
13858 (bench-set): New target.
13859 (bench): Depend on bench-func and bench-set.
13860 * benchtests/README: Add section on benchmark sets.
13861 * benchtests/bench-memcpy-ifunc.c: New file.
13862 * benchtests/bench-memcpy.c: New file.
13863 * benchtests/bench-string.h: New file.
13865 2013-06-11 Andreas Schwab <schwab@suse.de>
13868 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
13869 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
13870 values in the triple.
13871 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
13872 terminator in the group key.
13874 2013-06-11 Andreas Jaeger <aj@suse.de>
13876 * po/zh_TW.po: Update Chinese (traditional) translation from
13877 translation project.
13879 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13881 * include/time.h (__clock_gettime): Add libc_hidden_proto.
13882 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
13883 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
13884 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13885 (clock_getcpuclockid): Likewise.
13886 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
13887 Add weak_alias and libc_hidden_def.
13888 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
13889 * rt/clock_gettime.c (clock_gettime): Rename to
13890 __clock_gettime. Add weak_alias and libc_hidden_def.
13891 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
13892 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
13893 __clock_nanosleep. Add weak_alias and libc_hidden_def.
13894 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
13895 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
13897 * rt/clock_settime.c (clock_settime): Rename to
13898 __clock_settime. Add weak_alias and libc_hidden_def.
13899 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
13901 2013-06-10 Joseph Myers <joseph@codesourcery.com>
13903 * mach/err_boot.sub: Remove trailing whitespace.
13904 * mach/err_ipc.sub: Likewise.
13905 * mach/err_mach.sub: Likewise.
13907 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
13908 (ROUNDING_TESTS_double): Likewise.
13909 (ROUNDING_TESTS_long_double): Likewise.
13910 (ROUNDING_TESTS): Likewise.
13911 * math/libm-test.inc: Include <math-tests.h>.
13912 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
13913 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
13914 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
13915 (IF_ROUND_INIT_FE_UPWARD): Likewise.
13917 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13919 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
13922 2013-06-08 Joseph Myers <joseph@codesourcery.com>
13924 * sysdeps/gnu/errlist.awk: Do not generate space at end of
13925 otherwise empty TRANS lines.
13926 * sysdeps/gnu/errlist.c: Regenerated.
13928 * catgets/gencat.c (error_print): Use (void) in function
13930 * crypt/crypt_util.c (__init_des): Likewise.
13931 * crypt/speeds.c (Stop): Likewise.
13933 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
13934 * inet/ruserpass.c (token): Likewise.
13935 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
13936 * intl/localealias.c (extend_alias_table): Likewise.
13937 * intl/plural-exp.c (init_germanic_plural): Likewise.
13938 * libio/fcloseall.c (__fcloseall): Likewise.
13939 * libio/genops.c (_IO_flush_all): Likewise.
13940 (_IO_flush_all_linebuffered): Likewise.
13941 (_IO_cleanup): Likewise.
13942 (_IO_iter_begin): Likewise.
13943 (_IO_iter_end): Likewise.
13944 (_IO_list_lock): Likewise.
13945 (_IO_list_unlock): Likewise.
13946 (_IO_list_resetlock): Likewise.
13947 * libio/getchar.c (getchar): Likewise.
13948 * libio/getchar_u.c (getchar_unlocked): Likewise.
13949 * libio/getwchar.c (getwchar): Likewise.
13950 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
13951 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
13952 * login/getpt.c (__getpt): Likewise.
13953 * login/tst-utmp.c (main): Likewise.
13954 * malloc/hooks.c (__malloc_check_init): Likewise.
13955 * malloc/malloc.c (__malloc_stats): Likewise.
13956 * malloc/mtrace.c (tr_break): Likewise.
13957 (mtrace): Likewise.
13958 (muntrace): Likewise.
13959 * misc/fstab.c (endfsent): Likewise.
13960 * misc/getclktck.c (__getclktck): Likewise.
13961 * misc/getdtsz.c (__getdtablesize): Likewise.
13962 * misc/gethostid.c (gethostid): Likewise.
13963 * misc/getpagesize.c (__getpagesize): Likewise.
13964 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
13965 (__get_nprocs): Likewise.
13966 (__get_phys_pages): Likewise.
13967 (__get_avphys_pages): Likewise.
13968 * misc/getttyent.c (getttyent): Likewise.
13969 (setttyent): Likewise.
13970 (endttyent): Likewise.
13971 * misc/getusershell.c (getusershell): Likewise.
13972 (endusershell): Likewise.
13973 (setusershell): Likewise.
13974 (initshells): Likewise.
13975 * misc/hsearch.c (__hdestroy): Likewise.
13976 * misc/sync.c (sync): Likewise.
13977 * misc/syslog.c (closelog_internal): Likewise.
13978 (closelog): Likewise.
13979 * misc/ttyslot.c (ttyslot): Likewise.
13980 * misc/vhangup.c (vhangup): Likewise.
13981 * posix/fork.c (__fork): Likewise.
13982 * posix/getegid.c (__getegid): Likewise.
13983 * posix/geteuid.c (__geteuid): Likewise.
13984 * posix/getgid.c (__getgid): Likewise.
13985 * posix/getpid.c (__getpid): Likewise.
13986 * posix/getppid.c (__getppid): Likewise.
13987 * posix/getuid.c (__getuid): Likewise.
13988 * posix/pause.c (pause): Likewise.
13989 * posix/setpgrp.c (setpgrp): Likewise.
13990 * posix/setsid.c (__setsid): Likewise.
13991 * posix/test-vfork.c (noop): Likewise.
13992 * resolv/gethnamaddr.c (_endhtent): Likewise.
13993 (_gethtent): Likewise.
13994 (ht_endhostent): Likewise.
13995 (gethostent): Likewise.
13996 (dns_service): Likewise.
13997 * stdlib/drand48.c (drand48): Likewise.
13998 * stdlib/lrand48.c (lrand48): Likewise.
13999 * stdlib/mrand48.c (mrand48): Likewise.
14000 * stdlib/rand.c (rand): Likewise.
14001 * stdlib/random.c (__random): Likewise.
14002 * stdlib/setenv.c (clearenv): Likewise.
14003 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
14004 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
14005 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
14006 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
14007 (__get_nprocs): Likewise.
14008 (__get_phys_pages): Likewise.
14009 (__get_avphys_pages): Likewise.
14010 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
14011 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
14012 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
14013 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
14014 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
14015 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
14016 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
14017 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
14018 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
14019 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
14020 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
14021 * sysdeps/mach/hurd/sync.c (sync): Likewise.
14022 * sysdeps/posix/clock.c (clock): Likewise.
14023 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
14024 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
14025 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
14026 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
14027 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
14028 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
14029 (__get_nprocs_conf): Likewise.
14030 (__get_phys_pages): Likewise.
14031 (__get_avphys_pages): Likewise.
14032 * time/clock.c (clock): Likewise.
14033 * time/tzset.c (__tzname_max): Likewise.
14035 2013-06-07 Joseph Myers <joseph@codesourcery.com>
14037 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
14038 (__bswap_32): Do not use "register".
14039 * crypt/crypt.c (_ufc_doit_r): Likewise.
14040 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
14041 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
14042 * gmon/gmon.c (__monstartup): Likewise.
14043 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
14044 * hurd/hurdmalloc.c (more_memory): Likewise.
14045 (malloc): Likewise.
14047 (realloc): Likewise.
14048 (malloc_fork_prepare): Likewise.
14049 (malloc_fork_parent): Likewise.
14050 (malloc_fork_child): Likewise.
14051 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
14052 (_svcauth_des): Likewise.
14053 * inet/inet_lnaof.c (inet_lnaof): Likewise.
14054 * inet/inet_net.c (inet_network): Likewise.
14055 * inet/inet_netof.c (inet_netof): Likewise.
14056 * inet/rcmd.c (__validuser2_sa): Likewise.
14057 * io/fts.c (fts_open): Likewise.
14058 (fts_load): Likewise.
14059 (fts_close): Likewise.
14060 (fts_read): Likewise.
14061 (fts_children): Likewise.
14062 (fts_build): Likewise.
14063 (fts_stat): Likewise.
14064 (fts_sort): Likewise.
14065 (fts_alloc): Likewise.
14066 (fts_lfree): Likewise.
14067 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
14068 (_IO_file_xsgetn): Likewise.
14069 (_IO_file_xsgetn_mmap): Likewise.
14070 * libio/iofopncook.c (_IO_cookie_read): Likewise.
14071 (_IO_cookie_write): Likewise.
14072 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
14073 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
14074 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
14075 * malloc/obstack.c (_obstack_begin): Likewise.
14076 (_obstack_begin_1): Likewise.
14077 (_obstack_newchunk): Likewise.
14078 (_obstack_allocated_p): Likewise.
14079 (obstack_free): Likewise.
14080 (_obstack_memory_used): Likewise.
14081 * misc/getttyent.c (getttynam): Likewise.
14082 (getttyent): Likewise.
14085 * misc/getusershell.c (initshells): Likewise.
14086 * misc/syslog.c (__vsyslog_chk): Likewise.
14087 * misc/ttyslot.c (ttyslot): Likewise.
14088 * nis/nis_hash.c (__nis_hash): Likewise.
14089 * posix/fnmatch_loop.c (FCT): Likewise.
14090 * posix/getconf.c (print_all): Likewise.
14092 * posix/getopt.c (exchange): Likewise.
14093 * posix/glob.c (globfree): Likewise.
14094 (prefix_array): Likewise.
14095 (__glob_pattern_type): Likewise.
14096 * resolv/arpa/nameser.h (NS_GET16): Likewise.
14097 (NS_GET32): Likewise.
14098 (NS_PUT16): Likewise.
14099 (NS_PUT32): Likewise.
14100 * resolv/gethnamaddr.c (getanswer): Likewise.
14101 (gethostbyname2): Likewise.
14102 (gethostbyaddr): Likewise.
14103 (_gethtent): Likewise.
14104 (_gethtbyname2): Likewise.
14105 (_gethtbyaddr): Likewise.
14106 * resolv/ns_print.c (dst_s_get_int16): Likewise.
14107 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
14108 * resolv/res_init.c (__res_vinit): Likewise.
14109 (net_mask): Likewise.
14110 * resolv/res_mkquery.c (outchar): Likewise.
14112 * stdio-common/printf_fp.c (outchar): Likewise.
14114 * stdio-common/printf_fphex.c (outchar): Likewise.
14116 * stdio-common/printf_size.c (outchar): Likewise.
14118 * stdio-common/test_rdwr.c (main): Likewise.
14119 * stdio-common/tfformat.c (matches): Likewise.
14120 * stdio-common/vfprintf.c (outchar): Likewise.
14121 (printf_unknown): Likewise.
14122 (buffered_vfprintf): Likewise.
14123 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
14124 * stdio-common/xbug.c (AppendToBuffer): Likewise.
14125 (ReadFile): Likewise.
14126 * stdlib/qsort.c (SWAP): Likewise.
14127 (_quicksort): Likewise.
14128 * stdlib/setenv.c (__add_to_environ): Likewise.
14129 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
14130 * stdlib/strtol_l.c (__strtol_l): Likewise.
14131 * stdlib/tst-strtod.c (main): Likewise.
14132 * stdlib/tst-strtol.c (main): Likewise.
14133 * stdlib/tst-strtoll.c (main): Likewise.
14134 * string/bits/string2.h (__strcmp_cc): Likewise.
14135 (__strcmp_cg): Likewise.
14136 (__strcspn_c1): Likewise.
14137 (__strcspn_c2): Likewise.
14138 (__strcspn_c3): Likewise.
14139 (__strspn_c1): Likewise.
14140 (__strspn_c2): Likewise.
14141 (__strspn_c3): Likewise.
14142 (__strsep_1c): Likewise.
14143 (__strsep_2c): Likewise.
14144 (__strsep_3c): Likewise.
14145 * string/memccpy.c (__memccpy): Likewise.
14146 * string/stpcpy.c (__stpcpy): Likewise.
14147 * string/strcmp.c (strcmp): Likewise.
14148 * string/strrchr.c (strrchr): Likewise.
14149 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
14151 * sysdeps/mach/hurd/getcwd.c
14152 (_hurd_canonicalize_directory_name_internal): Likewise.
14153 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
14154 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
14155 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
14156 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
14157 Likewise, in both definitions.
14158 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
14160 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
14161 64] (__bswap_64): Likewise.
14162 * time/test_time.c (main): Likewise.
14163 * time/tzfile.c (__tzfile_read): Likewise.
14164 (__tzfile_compute): Likewise.
14165 * time/tzset.c (__tzset_parse_tz): Likewise.
14166 (tzset_internal): Likewise.
14167 (compute_change): Likewise.
14168 * wcsmbs/wcscat.c (__wcscat): Likewise.
14169 * wcsmbs/wcschr.c (wcschr): Likewise.
14170 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
14171 * wcsmbs/wcscspn.c (wcscspn): Likewise.
14172 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
14173 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
14174 * wcsmbs/wcsspn.c (wcsspn): Likewise.
14175 * wcsmbs/wcsstr.c (wcsstr): Likewise.
14176 * wcsmbs/wmemchr.c (wmemchr): Likewise.
14177 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
14178 * wcsmbs/wmemset.c (wmemset): Likewise.
14180 2013-06-06 Joseph Myers <joseph@codesourcery.com>
14182 * scripts/config.guess: Update to version 2013-05-16.
14183 * scripts/config.sub: Update to version 2013-04-24.
14184 * scripts/install-sh: Update to version 2011-11-20.07.
14185 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
14186 * scripts/move-if-change: Update to version 2012-01-06 07:23.
14188 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
14190 * debug/fgetws_u_chk.c: Fix leading whitespaces.
14191 * elf/sln.c: Likewise.
14192 * hurd/hurd/ioctl.h: Likewise.
14193 * hurd/hurdmalloc.c: Likewise.
14194 * hurd/xattr.c: Likewise.
14195 * include/shlib-compat.h: Likewise.
14196 * inet/ruserpass.c: Likewise.
14197 * libio/iofgets_u.c: Likewise.
14198 * libio/iofgetws_u.c: Likewise.
14199 * locale/programs/ld-identification.c: Likewise.
14200 * locale/programs/ld-time.c: Likewise.
14201 * mach/msg-destroy.c: Likewise.
14202 * nss/nss_files/files-netgrp.c: Likewise.
14203 * resolv/res_data.c: Likewise.
14204 * soft-fp/op-1.h: Likewise.
14205 * soft-fp/op-2.h: Likewise.
14206 * soft-fp/op-4.h: Likewise.
14207 * soft-fp/op-common.h: Likewise.
14208 * stdio-common/printf_fphex.c: Likewise.
14209 * stdlib/strtod_l.c: Likewise.
14210 * sunrpc/rpc/clnt.h: Likewise.
14211 * sysdeps/generic/framestate.c: Likewise.
14212 * sysdeps/i386/bsd-_setjmp.S: Likewise.
14213 * sysdeps/i386/bsd-setjmp.S: Likewise.
14214 * sysdeps/i386/__longjmp.S: Likewise.
14215 * sysdeps/i386/setjmp.S: Likewise.
14216 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14217 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
14218 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14219 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14220 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14221 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
14222 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
14223 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
14224 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
14225 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
14226 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
14227 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
14228 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
14229 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
14230 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
14231 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
14232 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
14233 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
14234 * sysdeps/ieee754/support.c: Likewise.
14235 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14236 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
14237 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
14238 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
14239 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
14240 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
14241 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
14242 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
14243 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
14244 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
14245 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
14246 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
14247 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
14248 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
14249 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
14250 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
14251 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
14252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
14254 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
14256 * posix/transbug.c: Remove executable mode.
14258 2013-06-05 Joseph Myers <joseph@codesourcery.com>
14260 * crypt/speeds.c: Remove trailing whitespace.
14261 * dlfcn/default.c: Likewise.
14262 * elf/ifuncdep2.c: Likewise.
14263 * elf/ifuncmain1.c: Likewise.
14264 * elf/ifuncmain1vis.c: Likewise.
14265 * elf/testobj.h: Likewise.
14266 * elf/tst-stackguard1.c: Likewise.
14267 * gmon/sys/gmon.h: Likewise.
14268 * hurd/hurdmsg.c: Likewise.
14269 * hurd/new-fd.c: Likewise.
14270 * hurd/ports-get.c: Likewise.
14271 * iconvdata/ibm1008_420.c: Likewise.
14272 * inet/tst-getni1.c: Likewise.
14273 * inet/tst-getni2.c: Likewise.
14274 * libio/ioungetc.c: Likewise.
14275 * libio/wfiledoalloc.c: Likewise.
14276 * manual/libm-err-tab.pl: Likewise.
14277 * math/w_dremf.c: Likewise.
14278 * misc/ftruncate.c: Likewise.
14279 * posix/bug-glob2.c: Likewise.
14280 * posix/tst-pcre.c: Likewise.
14281 * posix/wait4.c: Likewise.
14282 * resolv/README: Likewise.
14283 * resolv/res_debug.h: Likewise.
14284 * resolv/tst-inet_ntop.c: Likewise.
14285 * setjmp/bug269-setjmp.c: Likewise.
14286 * soft-fp/extended.h: Likewise.
14287 * soft-fp/op-1.h: Likewise.
14288 * soft-fp/op-2.h: Likewise.
14289 * soft-fp/op-4.h: Likewise.
14290 * soft-fp/op-8.h: Likewise.
14291 * soft-fp/testit.c: Likewise.
14292 * stdio-common/bug16.c: Likewise.
14293 * stdlib/random.c: Likewise.
14294 * sunrpc/rpcsvc/rquota.x: Likewise.
14295 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
14296 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
14297 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14298 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14299 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14300 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14301 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
14302 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14303 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
14304 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
14305 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
14306 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
14307 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14308 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
14309 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14310 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
14311 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
14312 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
14313 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
14314 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14315 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
14316 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
14317 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
14318 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
14319 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
14320 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
14321 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14322 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
14323 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
14324 * sysdeps/ieee754/s_lib_version.c: Likewise.
14325 * sysdeps/mach/hurd/check_fds.c: Likewise.
14326 * sysdeps/mach/hurd/getsockname.c: Likewise.
14327 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
14328 * sysdeps/mach/hurd/recvfrom.c: Likewise.
14329 * sysdeps/powerpc/bits/link.h: Likewise.
14330 * sysdeps/powerpc/dl-procinfo.c: Likewise.
14331 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
14332 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
14333 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
14334 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
14335 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
14336 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
14337 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
14338 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
14339 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
14340 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
14341 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
14342 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
14343 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
14344 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
14345 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
14346 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
14347 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
14348 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
14349 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14350 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14351 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
14352 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14353 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
14354 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
14355 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
14356 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
14357 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14358 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14359 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
14360 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
14361 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
14362 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14363 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
14364 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
14365 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
14366 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
14367 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
14368 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
14369 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
14370 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
14371 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
14372 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
14373 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
14374 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
14375 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
14376 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
14377 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
14378 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
14379 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
14380 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
14381 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
14382 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14383 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14384 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
14385 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
14386 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
14387 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14388 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
14389 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
14390 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
14391 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
14392 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
14393 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14394 * sysdeps/powerpc/sysdep.h: Likewise.
14395 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
14396 * sysdeps/s390/s390-64/sub_n.S: Likewise.
14397 * sysdeps/sh/dl-trampoline.S: Likewise.
14398 * sysdeps/sh/memset.S: Likewise.
14399 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
14400 * sysdeps/sh/strlen.S: Likewise.
14401 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
14402 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
14403 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
14404 * sysdeps/sparc/sparc32/rem.S: Likewise.
14405 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
14406 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
14407 * sysdeps/sparc/sparc32/strchr.S: Likewise.
14408 * sysdeps/sparc/sparc32/udiv.S: Likewise.
14409 * sysdeps/sparc/sparc32/urem.S: Likewise.
14410 * sysdeps/sparc/sparc64/add_n.S: Likewise.
14411 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
14412 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
14413 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
14414 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
14415 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
14416 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
14417 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
14418 * sysdeps/unix/bsd/times.c: Likewise.
14419 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
14420 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
14421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
14422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
14423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
14424 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
14425 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
14426 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
14427 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
14428 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
14429 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
14430 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
14431 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
14432 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
14433 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
14434 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
14435 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
14436 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
14437 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
14438 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
14439 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
14440 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
14441 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
14442 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
14443 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
14444 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
14445 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
14446 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14447 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
14448 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
14449 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
14450 * sysdeps/x86_64/strcspn.S: Likewise.
14452 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14454 * locale/C-translit.h: Revert #include <stdint.h> because this is a
14455 generated file. Regenerate properly from gen-translit.pl.
14456 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
14457 locale/C-translit.h.
14459 2013-06-05 Andreas Schwab <schwab@suse.de>
14462 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
14463 week as 6 instead of -1.
14464 * time/tst-strptime.c (day_tests): Add test case.
14466 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14468 * sysdeps/generic/math_private.h
14469 (libc_feholdexcept_setround_53bit): Replace with
14470 libc_feholdsetround_53bit.
14471 (libc_feupdateenv_53bit): Replace with
14472 libc_feresetround_53bit.
14473 (SET_RESTORE_ROUND_53BIT): Adjust.
14475 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
14477 * string/test-strchrnul.c: Add copyright header.
14479 * posix/tst-getaddrinfo4.c: Increase test timeout.
14481 2013-06-03 Carlos O'Donell <carlos@redhat.com>
14484 * math/libm-test.inc (MAX_EXP): Remove
14486 (ulp): Use MIN_EXP - MANT_DIG.
14487 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
14489 2013-05-31 Carlos O'Donell <carlos@redhat.com>
14491 * po/be.po: Revert last change.
14492 * po/zh_CN.po: Likewise.
14493 * po/header.pot: Likewise.
14495 2013-05-31 Joseph Myers <joseph@codesourcery.com>
14497 * Makefile ($(common-objpfx)linkobj/libc.so): Define
14498 link-libc-deps to empty as target-specific variable.
14499 * Makerules (link-libc-args): New variable.
14500 (libc-for-link): Likewise.
14501 (link-libc-deps): Likewise.
14502 (lib%.so): Depend on $(link-libc-deps). Link with
14504 (build-module): Link with $(link-libc-args).
14505 (build-module-asneeded): Likewise.
14506 (build-module-helper-objlist): Filter out $(link-libc-deps) from
14508 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
14509 target-specific variable.
14510 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
14511 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
14512 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
14514 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
14516 ($(objpfx)libpcprofile.so): Likewise.
14517 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
14519 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
14520 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
14521 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
14523 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
14524 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
14525 * login/Makefile ($(objpfx)libutil.so): Likewise.
14526 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
14527 * math/Makefile ($(objpfx)libm.so): Likewise.
14528 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
14529 $(objpfx)libnsl.so): Define libc-for-link as target-specific
14530 variable instead of depending directly on libc.
14531 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
14532 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
14534 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
14536 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
14537 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
14538 ($(objpfx)libanl.so): Likewise.
14539 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
14541 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
14543 * sysdeps/i386/fpu/Makefile: Remove file.
14544 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
14545 ($(objpfx)libm.so): Remove dependency on ld.so.
14547 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
14550 * nis/yp_xdr.c (XDRMAXNAME): Define.
14551 (XDRMAXRECORD): Define.
14552 (xdr_domainname): Use XDRMAXNAME.
14553 (xdr_mapname): Likewise.
14554 (xdr_peername): Likewise.
14555 (xdr_keydat): Use XDRMAXRECORD.
14556 (xdr_valdat): Likewise.
14558 2013-05-30 Jeff Law <law@redhat.com>
14561 * manual/errno.texi (ESTALE): Update to account for more than
14562 just NFS file systems.
14563 * sysdeps/gnu/errlist.c: Regenerated.
14565 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14568 * elf/Makefile (tests): Add tst-null-argv.
14569 (modules-names): Add tst-null-argv-lib.
14570 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
14571 (tst-null-argv-ENV): Set environment for tst-null-argv.
14572 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
14573 (RTLD_PROGNAME): New macro.
14574 * elf/tst-null-argv.c: New test case.
14575 * elf/tst-null-argv-lib.c: Library for test case.
14576 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
14577 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
14578 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
14579 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
14580 * elf/dl-init.c (call_init): Likewise.
14581 (_dl_init): Likewise.
14582 * elf/dl-load.c (print_search_path): Likewise.
14583 (_dl_map_object): Likewise.
14584 * elf/dl-lookup.c (do_lookup_x): Likewise.
14585 (add_dependency): Likewise.
14586 (_dl_lookup_symbol_x): Likewise.
14587 (_dl_debug_bindings): Likewise.
14588 * elf/dl-open.c (_dl_show_scope): Likewise.
14589 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
14590 * elf/dl-version.c (match_symbol): Likewise.
14591 (_dl_check_map_versions): Likewise.
14592 * elf/rtld.c (dl_main): Likewise.
14593 (print_unresolved): Use RTLD_PROGNAME.
14594 (print_missing_version): Likewise.
14595 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
14596 (elf_machine_rela): Likewise.
14597 * sysdeps/powerpc/powerpc32/dl-machine.c
14598 (__process_machine_rela): Likewise.
14599 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14601 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
14603 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
14605 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14606 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
14608 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
14610 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14612 2013-05-28 Carlos O'Donell <carlos@redhat.com>
14614 * po/be.po: Add descriptive title.
14615 * po/zh_CN.po: Likewise.
14616 * po/header.pot: Likewise.
14618 2013-05-28 Mike Frysinger <vapier@gentoo.org>
14620 * locale/programs/locarchive.c (create_archive): Inlucde fname in
14622 (enlarge_archive): Likewise.
14624 2013-05-28 Ben North <ben@redfrontdoor.org>
14626 * manual/arith.texi (frexp): It is the magnitude of the return
14627 value which lies in [0.5, 1), not the return value itself.
14629 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14631 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14633 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
14635 * stdio-common/bug26.c (main): Correct fscanf template.
14637 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
14638 declare _dl_skip_args.
14640 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
14643 * manual/platform.texi: Add missing @end deftypefun.
14645 2013-05-24 Joseph Myers <joseph@codesourcery.com>
14648 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
14649 bit of mantissa of 2^16382.
14650 * math/libm-test.inc (hypot_test_data): Add more tests.
14652 * math/libm-test.inc: Add drem and pow10 to list of tested
14654 (pow10_test): New function.
14655 (drem_test): Likewise.
14656 (drem_test_tonearest): Likewise.
14657 (drem_test_towardzero): Likewise.
14658 (drem_test_downward): Likewise.
14659 (drem_test_upward): Likewise.
14660 (main): Call the new functions.
14662 * math/libm-test.inc (finite_test_data): Remove.
14663 (finite_test): Run tests from isfinite_test_data.
14664 (gamma_test_data): Remove.
14665 (gamma_test): Run tests from lgamma_test_data.
14666 * sysdeps/i386/fpu/libm-test-ulps: Update.
14667 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14669 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14671 * manual/platform.texi: Add PowerPC PPR function set documentation.
14672 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
14675 2013-05-24 Carlos O'Donell <carlos@redhat.com>
14677 * math/libm-test.inc (MAX_EXP): Define.
14679 (ulp): New function.
14680 (check_float_internal): Use ULPDIFF.
14681 (cpow_test): Disable failing test.
14682 (check_ulp): Test ulp() implemetnation.
14683 (main): Call check_ulp before starting tests.
14685 2013-05-24 Joseph Myers <joseph@codesourcery.com>
14687 * math/gen-libm-test.pl (generate_testfile): Do not handle
14688 START_DATA and END_DATA.
14689 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
14691 (acos_tonearest_test_data): Likewise.
14692 (acos_towardzero_test_data): Likewise.
14693 (acos_downward_test_data): Likewise.
14694 (acos_upward_test_data): Likewise.
14695 (acosh_test_data): Likewise.
14696 (asin_test_data): Likewise.
14697 (asin_tonearest_test_data): Likewise.
14698 (asin_towardzero_test_data): Likewise.
14699 (asin_downward_test_data): Likewise.
14700 (asin_upward_test_data): Likewise.
14701 (asinh_test_data): Likewise.
14702 (atan_test_data): Likewise.
14703 (atanh_test_data): Likewise.
14704 (atan2_test_data): Likewise.
14705 (cabs_test_data): Likewise.
14706 (cacos_test_data): Likewise.
14707 (cacosh_test_data): Likewise.
14708 (carg_test_data): Likewise.
14709 (casin_test_data): Likewise.
14710 (casinh_test_data): Likewise.
14711 (catan_test_data): Likewise.
14712 (catanh_test_data): Likewise.
14713 (cbrt_test_data): Likewise.
14714 (ccos_test_data): Likewise.
14715 (ccosh_test_data): Likewise.
14716 (ceil_test_data): Likewise.
14717 (cexp_test_data): Likewise.
14718 (cimag_test_data): Likewise.
14719 (clog_test_data): Likewise.
14720 (clog10_test_data): Likewise.
14721 (conj_test_data): Likewise.
14722 (copysign_test_data): Likewise.
14723 (cos_test_data): Likewise.
14724 (cos_tonearest_test_data): Likewise.
14725 (cos_towardzero_test_data): Likewise.
14726 (cos_downward_test_data): Likewise.
14727 (cos_upward_test_data): Likewise.
14728 (cosh_test_data): Likewise.
14729 (cosh_tonearest_test_data): Likewise.
14730 (cosh_towardzero_test_data): Likewise.
14731 (cosh_downward_test_data): Likewise.
14732 (cosh_upward_test_data): Likewise.
14733 (cpow_test_data): Likewise.
14734 (cproj_test_data): Likewise.
14735 (creal_test_data): Likewise.
14736 (csin_test_data): Likewise.
14737 (csinh_test_data): Likewise.
14738 (csqrt_test_data): Likewise.
14739 (ctan_test_data): Likewise.
14740 (ctan_tonearest_test_data): Likewise.
14741 (ctan_towardzero_test_data): Likewise.
14742 (ctan_downward_test_data): Likewise.
14743 (ctan_upward_test_data): Likewise.
14744 (ctanh_test_data): Likewise.
14745 (ctanh_tonearest_test_data): Likewise.
14746 (ctanh_towardzero_test_data): Likewise.
14747 (ctanh_downward_test_data): Likewise.
14748 (ctanh_upward_test_data): Likewise.
14749 (erf_test_data): Likewise.
14750 (erfc_test_data): Likewise.
14751 (exp_test_data): Likewise.
14752 (exp_tonearest_test_data): Likewise.
14753 (exp_towardzero_test_data): Likewise.
14754 (exp_downward_test_data): Likewise.
14755 (exp_upward_test_data): Likewise.
14756 (exp10_test_data): Likewise.
14757 (exp2_test_data): Likewise.
14758 (expm1_test_data): Likewise.
14759 (fabs_test_data): Likewise.
14760 (fdim_test_data): Likewise.
14761 (finite_test_data): Likewise.
14762 (floor_test_data): Likewise.
14763 (fma_test_data): Likewise.
14764 (fma_towardzero_test_data): Likewise.
14765 (fma_downward_test_data): Likewise.
14766 (fma_upward_test_data): Likewise.
14767 (fmax_test_data): Likewise.
14768 (fmin_test_data): Likewise.
14769 (fmod_test_data): Likewise.
14770 (fpclassify_test_data): Likewise.
14771 (frexp_test_data): Likewise.
14772 (gamma_test_data): Likewise.
14773 (hypot_test_data): Likewise.
14774 (ilogb_test_data): Likewise.
14775 (isfinite_test_data): Likewise.
14776 (isgreater_test_data): Likewise.
14777 (isgreaterequal_test_data): Likewise.
14778 (isinf_test_data): Likewise.
14779 (isless_test_data): Likewise.
14780 (islessequal_test_data): Likewise.
14781 (islessgreater_test_data): Likewise.
14782 (isnan_test_data): Likewise.
14783 (isnormal_test_data): Likewise.
14784 (issignaling_test_data): Likewise.
14785 (isunordered_test_data): Likewise.
14786 (j0_test_data): Likewise.
14787 (j1_test_data): Likewise.
14788 (jn_test_data): Likewise.
14789 (ldexp_test_data): Likewise.
14790 (lgamma_test_data): Likewise.
14791 (lrint_test_data): Likewise.
14792 (lrint_tonearest_test_data): Likewise.
14793 (lrint_towardzero_test_data): Likewise.
14794 (lrint_downward_test_data): Likewise.
14795 (lrint_upward_test_data): Likewise.
14796 (llrint_test_data): Likewise.
14797 (llrint_tonearest_test_data): Likewise.
14798 (llrint_towardzero_test_data): Likewise.
14799 (llrint_downward_test_data): Likewise.
14800 (llrint_upward_test_data): Likewise.
14801 (log_test_data): Likewise.
14802 (log10_test_data): Likewise.
14803 (log1p_test_data): Likewise.
14804 (log2_test_data): Likewise.
14805 (logb_test_data): Likewise.
14806 (logb_downward_test_data): Likewise.
14807 (lround_test_data): Likewise.
14808 (llround_test_data): Likewise.
14809 (modf_test_data): Likewise.
14810 (nearbyint_test_data): Likewise.
14811 (nextafter_test_data): Likewise.
14812 (nexttoward_test_data): Likewise.
14813 (pow_test_data): Likewise.
14814 (pow_tonearest_test_data): Likewise.
14815 (pow_towardzero_test_data): Likewise.
14816 (pow_downward_test_data): Likewise.
14817 (pow_upward_test_data): Likewise.
14818 (remainder_test_data): Likewise.
14819 (remainder_tonearest_test_data): Likewise.
14820 (remainder_towardzero_test_data): Likewise.
14821 (remainder_downward_test_data): Likewise.
14822 (remainder_upward_test_data): Likewise.
14823 (remquo_test_data): Likewise.
14824 (rint_test_data): Likewise.
14825 (rint_tonearest_test_data): Likewise.
14826 (rint_towardzero_test_data): Likewise.
14827 (rint_downward_test_data): Likewise.
14828 (rint_upward_test_data): Likewise.
14829 (round_test_data): Likewise.
14830 (scalb_test_data): Likewise.
14831 (scalbn_test_data): Likewise.
14832 (scalbln_test_data): Likewise.
14833 (signbit_test_data): Likewise.
14834 (sin_test_data): Likewise.
14835 (sin_tonearest_test_data): Likewise.
14836 (sin_towardzero_test_data): Likewise.
14837 (sin_downward_test_data): Likewise.
14838 (sin_upward_test_data): Likewise.
14839 (sincos_test_data): Likewise.
14840 (sinh_test_data): Likewise.
14841 (sinh_tonearest_test_data): Likewise.
14842 (sinh_towardzero_test_data): Likewise.
14843 (sinh_downward_test_data): Likewise.
14844 (sinh_upward_test_data): Likewise.
14845 (sqrt_test_data): Likewise.
14846 (tan_test_data): Likewise.
14847 (tan_tonearest_test_data): Likewise.
14848 (tan_towardzero_test_data): Likewise.
14849 (tan_downward_test_data): Likewise.
14850 (tan_upward_test_data): Likewise.
14851 (tanh_test_data): Likewise.
14852 (tgamma_test_data): Likewise.
14853 (trunc_test_data): Likewise.
14854 (y0_test_data): Likewise.
14855 (y1_test_data): Likewise.
14856 (yn_test_data): Likewise.
14857 (significand_test_data): Likewise.
14859 * math/gen-libm-test.pl (@functions): Remove variable.
14860 (generate_testfile): Don't handle START and END lines.
14861 * math/libm-test.inc (START): New macro.
14863 (END_COMPLEX): Likewise.
14864 (acos_test): Use END macro without arguments.
14865 (acos_test_tonearest): Likewise.
14866 (acos_test_towardzero): Likewise.
14867 (acos_test_downward): Likewise.
14868 (acos_test_upward): Likewise.
14869 (acosh_test): Likewise.
14870 (asin_test): Likewise.
14871 (asin_test_tonearest): Likewise.
14872 (asin_test_towardzero): Likewise.
14873 (asin_test_downward): Likewise.
14874 (asin_test_upward): Likewise.
14875 (asinh_test): Likewise.
14876 (atan_test): Likewise.
14877 (atanh_test): Likewise.
14878 (atan2_test): Likewise.
14879 (cabs_test): Likewise.
14880 (cacos_test): Use END_COMPLEX macro without arguments.
14881 (cacosh_test): Likewise.
14882 (carg_test): Use END macro without arguments.
14883 (casin_test): Use END_COMPLEX macro without arguments.
14884 (casinh_test): Likewise.
14885 (catan_test): Likewise.
14886 (catanh_test): Likewise.
14887 (cbrt_test): Use END macro without arguments.
14888 (ccos_test): Use END_COMPLEX macro without arguments.
14889 (ccosh_test): Likewise.
14890 (ceil_test): Use END macro without arguments.
14891 (cexp_test): Use END_COMPLEX macro without arguments.
14892 (cimag_test): Use END macro without arguments.
14893 (clog_test): Use END_COMPLEX macro without arguments.
14894 (clog10_test): Likewise.
14895 (conj_test): Likewise.
14896 (copysign_test): Use END macro without arguments.
14897 (cos_test): Likewise.
14898 (cos_test_tonearest): Likewise.
14899 (cos_test_towardzero): Likewise.
14900 (cos_test_downward): Likewise.
14901 (cos_test_upward): Likewise.
14902 (cosh_test): Likewise.
14903 (cosh_test_tonearest): Likewise.
14904 (cosh_test_towardzero): Likewise.
14905 (cosh_test_downward): Likewise.
14906 (cosh_test_upward): Likewise.
14907 (cpow_test): Use END_COMPLEX macro without arguments.
14908 (cproj_test): Likewise.
14909 (creal_test): Use END macro without arguments.
14910 (csin_test): Use END_COMPLEX macro without arguments.
14911 (csinh_test): Likewise.
14912 (csqrt_test): Likewise.
14913 (ctan_test): Likewise.
14914 (ctan_test_tonearest): Likewise.
14915 (ctan_test_towardzero): Likewise.
14916 (ctan_test_downward): Likewise.
14917 (ctan_test_upward): Likewise.
14918 (ctanh_test): Likewise.
14919 (ctanh_test_tonearest): Likewise.
14920 (ctanh_test_towardzero): Likewise.
14921 (ctanh_test_downward): Likewise.
14922 (ctanh_test_upward): Likewise.
14923 (erf_test): Use END macro without arguments.
14924 (erfc_test): Likewise.
14925 (exp_test): Likewise.
14926 (exp_test_tonearest): Likewise.
14927 (exp_test_towardzero): Likewise.
14928 (exp_test_downward): Likewise.
14929 (exp_test_upward): Likewise.
14930 (exp10_test): Likewise.
14931 (exp2_test): Likewise.
14932 (expm1_test): Likewise.
14933 (fabs_test): Likewise.
14934 (fdim_test): Likewise.
14935 (finite_test): Likewise.
14936 (floor_test): Likewise.
14937 (fma_test): Likewise.
14938 (fma_test_towardzero): Likewise.
14939 (fma_test_downward): Likewise.
14940 (fma_test_upward): Likewise.
14941 (fmax_test): Likewise.
14942 (fmin_test): Likewise.
14943 (fmod_test): Likewise.
14944 (fpclassify_test): Likewise.
14945 (frexp_test): Likewise.
14946 (gamma_test): Likewise.
14947 (hypot_test): Likewise.
14948 (ilogb_test): Likewise.
14949 (isfinite_test): Likewise.
14950 (isgreater_test): Likewise.
14951 (isgreaterequal_test): Likewise.
14952 (isinf_test): Likewise.
14953 (isless_test): Likewise.
14954 (islessequal_test): Likewise.
14955 (islessgreater_test): Likewise.
14956 (isnan_test): Likewise.
14957 (isnormal_test): Likewise.
14958 (issignaling_test): Likewise.
14959 (isunordered_test): Likewise.
14960 (j0_test): Likewise.
14961 (j1_test): Likewise.
14962 (jn_test): Likewise.
14963 (ldexp_test): Likewise.
14964 (lgamma_test): Likewise.
14965 (lrint_test): Likewise.
14966 (lrint_test_tonearest): Likewise.
14967 (lrint_test_towardzero): Likewise.
14968 (lrint_test_downward): Likewise.
14969 (lrint_test_upward): Likewise.
14970 (llrint_test): Likewise.
14971 (llrint_test_tonearest): Likewise.
14972 (llrint_test_towardzero): Likewise.
14973 (llrint_test_downward): Likewise.
14974 (llrint_test_upward): Likewise.
14975 (log_test): Likewise.
14976 (log10_test): Likewise.
14977 (log1p_test): Likewise.
14978 (log2_test): Likewise.
14979 (logb_test): Likewise.
14980 (logb_test_downward): Likewise.
14981 (lround_test): Likewise.
14982 (llround_test): Likewise.
14983 (modf_test): Likewise.
14984 (nearbyint_test): Likewise.
14985 (nextafter_test): Likewise.
14986 (nexttoward_test): Likewise.
14987 (pow_test): Likewise.
14988 (pow_test_tonearest): Likewise.
14989 (pow_test_towardzero): Likewise.
14990 (pow_test_downward): Likewise.
14991 (pow_test_upward): Likewise.
14992 (remainder_test): Likewise.
14993 (remainder_test_tonearest): Likewise.
14994 (remainder_test_towardzero): Likewise.
14995 (remainder_test_downward): Likewise.
14996 (remainder_test_upward): Likewise.
14997 (remquo_test): Likewise.
14998 (rint_test): Likewise.
14999 (rint_test_tonearest): Likewise.
15000 (rint_test_towardzero): Likewise.
15001 (rint_test_downward): Likewise.
15002 (rint_test_upward): Likewise.
15003 (round_test): Likewise.
15004 (scalb_test): Likewise.
15005 (scalbn_test): Likewise.
15006 (scalbln_test): Likewise.
15007 (signbit_test): Likewise.
15008 (sin_test): Likewise.
15009 (sin_test_tonearest): Likewise.
15010 (sin_test_towardzero): Likewise.
15011 (sin_test_downward): Likewise.
15012 (sin_test_upward): Likewise.
15013 (sincos_test): Likewise.
15014 (sinh_test): Likewise.
15015 (sinh_test_tonearest): Likewise.
15016 (sinh_test_towardzero): Likewise.
15017 (sinh_test_downward): Likewise.
15018 (sinh_test_upward): Likewise.
15019 (sqrt_test): Likewise.
15020 (tan_test): Likewise.
15021 (tan_test_tonearest): Likewise.
15022 (tan_test_towardzero): Likewise.
15023 (tan_test_downward): Likewise.
15024 (tan_test_upward): Likewise.
15025 (tanh_test): Likewise.
15026 (tgamma_test): Likewise.
15027 (trunc_test): Likewise.
15028 (y0_test): Likewise.
15029 (y1_test): Likewise.
15030 (yn_test): Likewise.
15031 (significand_test): Likewise.
15033 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
15036 * libio/genops.c (_IO_no_init): Initialize wide struct info.
15038 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
15041 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
15042 __ppc_mdoio and __ppc_mdoom.
15043 * manual/platform.texi: Document new functions __ppc_yield,
15044 __ppc_mdoio and __ppc_mdoom.
15046 2013-05-22 Carlos O'Donell <carlos@redhat.com>
15048 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
15049 (main): Mention "tls" pseudo-hwcap is legacy.
15050 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
15052 2013-05-22 Joseph Myers <joseph@codesourcery.com>
15054 * math/gen-libm-test.pl (parse_args): Output only string of
15055 arguments as text for test name, not full call or descriptions of
15056 tests for extra outputs.
15057 (generate_testfile): Do not pass function name to parse_args.
15058 Generate this_func variable from START.
15059 * math/libm-test.inc (struct test_f_f_data): Rename test_name
15061 (struct test_ff_f_data): Likewise.
15062 (test_ff_f_data_nexttoward): Likewise.
15063 (struct test_fi_f_data): Likewise.
15064 (struct test_fl_f_data): Likewise.
15065 (struct test_if_f_data): Likewise.
15066 (struct test_fff_f_data): Likewise.
15067 (struct test_c_f_data): Likewise.
15068 (struct test_f_f1_data): Likewise. Remove field extra_name.
15069 (struct test_fF_f1_data): Likewise.
15070 (struct test_ffI_f1_data): Likewise.
15071 (struct test_c_c_data): Rename test_name field to arg_str.
15072 (struct test_cc_c_data): Likewise.
15073 (struct test_f_i_data): Likewise.
15074 (struct test_ff_i_data): Likewise.
15075 (struct test_f_l_data): Likewise.
15076 (struct test_f_L_data): Likewise.
15077 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
15079 (COMMON_TEST_SETUP): New macro.
15080 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
15081 (COMMON_TEST_CLEANUP): Likewise.
15082 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
15083 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
15085 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
15086 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
15088 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
15089 (RUN_TEST_fff_f): Take argument string. Call new setup and
15091 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
15092 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
15094 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
15095 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
15097 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
15098 (RUN_TEST_fF_f1): Take argument string. Call new setup and
15100 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
15101 (RUN_TEST_fI_f1): Take argument string. Call new setup and
15103 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
15104 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
15106 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
15107 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
15109 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
15110 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
15112 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
15113 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
15115 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
15116 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
15118 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
15119 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
15121 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
15122 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
15124 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
15125 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
15127 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
15128 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
15130 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
15131 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
15133 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
15134 (RUN_TEST_fFF_11): Take argument string. Call new setup and
15136 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
15138 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
15140 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
15141 to _sifields.sigfault.
15142 (si_addr_lsb): Define new macro.
15143 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
15144 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
15145 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
15147 2013-05-03 Carlos O'Donell <carlos at redhat.com>
15150 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
15152 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
15154 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
15155 loading the domain.
15157 2013-05-22 Joseph Myers <joseph@codesourcery.com>
15159 * math/gen-libm-test.pl (parse_args): Do not include expected
15160 result in test name.
15161 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
15162 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15163 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15164 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
15165 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15166 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15168 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15170 * benchtests/Makefile: Sort function entries.
15172 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
15173 tanh, asinh, acosh, atanh.
15174 * benchtests/acos-inputs: New file.
15175 * benchtests/acosh-inputs: New file.
15176 * benchtests/asin-inputs: New file.
15177 * benchtests/asinh-inputs: New file.
15178 * benchtests/atanh-inputs: New file.
15179 * benchtests/cosh-inputs: New file.
15180 * benchtests/log-inputs: New file.
15181 * benchtests/sinh-inputs: New file.
15182 * benchtests/tanh-inputs: New file.
15184 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
15187 * posix/tst-getaddrinfo4.c: New test.
15188 * posix/Makefile (tests): Add it.
15190 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15193 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
15194 when no services were used.
15195 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
15196 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
15198 2013-05-21 Andreas Schwab <schwab@suse.de>
15201 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
15202 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
15204 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
15205 redundant variable declarations and reallocation of buffer when
15206 parsing as IPv6 address. Always set NSS status when called from
15207 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
15208 buffer too small. Correct computation of needed size.
15209 * nss/Makefile (tests): Add test-digits-dots.
15210 * nss/test-digits-dots.c: New test.
15212 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15214 * benchtests/Makefile: Remove instructions for adding
15216 * benchtests/README: New file to explain how to execute and
15217 enhance the benchmark tests.
15219 2013-05-21 Andreas Schwab <schwab@suse.de>
15222 * setjmp/Makefile (tests): Add tst-sigsetjmp.
15223 * setjmp/tst-sigsetjmp.c: New test.
15225 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
15227 * sysdeps/x86_64/memset.S (memset): New implementation.
15228 (__bzero): Likewise.
15229 (__memset_tail): New function.
15231 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
15233 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
15234 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
15235 __memcpy_sse2_unaligned ifunc selection.
15236 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
15237 Add memcpy-sse2-unaligned.S.
15238 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15239 Add: __memcpy_sse2_unaligned.
15241 2013-05-19 Joseph Myers <joseph@codesourcery.com>
15244 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
15245 math_force_eval before restoring floating-point envrionment.
15246 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
15247 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
15249 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
15251 (__nearbyintl): Use math_force_eval before restoring
15252 floating-point environment.
15253 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
15255 * math/gen-libm-test.pl (special_functions): Remove.
15256 (parse_args): Don't handle TEST_extra. Handle functions with no
15258 * math/libm-test.inc (struct test_sincos_data): Replace with
15259 struct test_fFF_11_data.
15260 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
15261 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
15262 (sincos_test_data): Change element type to struct
15263 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
15264 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
15265 RUN_TEST_LOOP_sincos.
15266 * math/README.libm-test: Don't mention special handling of
15267 individual functions.
15268 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
15269 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15270 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15271 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
15272 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15273 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15275 * math/gen-libm-test.pl (get_variable): Remove function.
15276 (parse_args): Don't show pointer parameters to call in test
15277 names. Use "extra output N" in test names for extra outputs
15278 rather than naming variables.
15280 2013-05-18 Joseph Myers <joseph@codesourcery.com>
15283 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
15284 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
15285 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
15287 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
15289 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
15292 * math/gen-libm-test.pl (@tests): Remove variable.
15293 ($count): Likewise.
15294 (new_test): Remove function.
15295 (show_exceptions): New function.
15296 (special_functions): Use show_exceptions instead of new_test.
15297 (parse_args): Likewise.
15298 (generate_testfile): Pass only function name in generated call to
15299 print_max_error or print_complex_max_error.
15300 (get_ulps): Do not handle complex tests specially.
15301 (output_test): Rename to ...
15302 (get_all_ulps_for_test): ... this. Return a string rather than
15303 printing to a file. Require ulps to be present.
15304 (output_ulps): Generate arrays rather than #defines.
15305 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
15306 (struct ulp_data): New type.
15307 (BUILD_COMPLEX_ULP): Remove macro.
15308 (compare_ulp_data): New function.
15309 (find_ulps): Likewise.
15310 (find_test_ulps): Likewise.
15311 (find_function_ulps): Likewise.
15312 (find_complex_function_ulps): Likewise.
15313 (print_max_error): Determine allowed ulps using
15314 find_function_ulps.
15315 (print_complex_max_error): Determine allowed ulps using
15316 find_complex_function_ulps.
15317 (check_float_internal): Determine max ulps using find_test_ulps.
15318 (check_float): Do not take max_ulp parameter. Update call to
15319 check_float_internal.
15320 (check_complex): Likewise.
15321 (check_int): Do not take max_ulp parameter.
15322 (check_long): Likewise.
15323 (check_bool): Likewise.
15324 (check_longlong): Likewise.
15325 (struct test_f_f_data): Remove max_ulp field.
15326 (struct test_ff_f_data): Likewise.
15327 (struct test_ff_f_data_nexttoward): Likewise.
15328 (struct test_fi_f_data): Likewise.
15329 (struct test_fl_f_data): Likewise.
15330 (struct test_if_f_data): Likewise.
15331 (struct test_fff_f_data): Likewise.
15332 (struct test_c_f_data): Likewise.
15333 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
15334 (struct test_fF_f1_data): Likewise.
15335 (struct test_ffI_f1_data): Likewise.
15336 (struct test_c_c_data): Remove max_ulp field.
15337 (struct test_cc_c_data): Likewise.
15338 (struct test_f_i_data): Likewise.
15339 (struct test_ff_i_data): Likewise.
15340 (struct test_f_l_data): Likewise.
15341 (struct test_f_L_data): Likewise.
15342 (struct test_sincos_data): Likewise.
15343 (RUN_TEST_f_f): Do not handle ulps.
15344 (RUN_TEST_LOOP_f_f): Likewise.
15345 (RUN_TEST_2_f): Likewise.
15346 (RUN_TEST_LOOP_2_f): Likewise.
15347 (RUN_TEST_fff_f): Likewise.
15348 (RUN_TEST_LOOP_fff_f): Likewise.
15349 (RUN_TEST_c_f): Likewise.
15350 (RUN_TEST_LOOP_c_f): Likewise.
15351 (RUN_TEST_f_f1): Likewise.
15352 (RUN_TEST_LOOP_f_f1): Likewise.
15353 (RUN_TEST_fF_f1): Likewise.
15354 (RUN_TEST_LOOP_fF_f1): Likewise.
15355 (RUN_TEST_fI_f1): Likewise.
15356 (RUN_TEST_LOOP_fI_f1): Likewise.
15357 (RUN_TEST_ffI_f1): Likewise.
15358 (RUN_TEST_LOOP_ffI_f1): Likewise.
15359 (RUN_TEST_c_c): Likewise.
15360 (RUN_TEST_LOOP_c_c): Likewise.
15361 (RUN_TEST_cc_c): Likewise.
15362 (RUN_TEST_LOOP_cc_c): Likewise.
15363 (RUN_TEST_f_i): Likewise.
15364 (RUN_TEST_LOOP_f_i): Likewise.
15365 (RUN_TEST_f_i_tg): Likewise.
15366 (RUN_TEST_LOOP_f_i_tg): Likewise.
15367 (RUN_TEST_ff_i_tg): Likewise.
15368 (RUN_TEST_LOOP_ff_i_tg): Likewise.
15369 (RUN_TEST_f_b): Likewise.
15370 (RUN_TEST_LOOP_f_b): Likewise.
15371 (RUN_TEST_f_b_tg): Likewise.
15372 (RUN_TEST_LOOP_f_b_tg): Likewise.
15373 (RUN_TEST_f_l): Likewise.
15374 (RUN_TEST_LOOP_f_l): Likewise.
15375 (RUN_TEST_f_L): Likewise.
15376 (RUN_TEST_LOOP_f_L): Likewise.
15377 (RUN_TEST_sincos): Likewise.
15378 (RUN_TEST_LOOP_sincos): Likewise.
15380 2013-05-17 Joseph Myers <joseph@codesourcery.com>
15384 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
15385 main case of finite arguments, set rounding mode to FE_TONEAREST
15386 and discard exceptions.
15387 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
15389 (remainder_tonearest_test_data): New variable.
15390 (remainder_test_tonearest): New function.
15391 (remainder_towardzero_test_data): New variable.
15392 (remainder_test_towardzero): New function.
15393 (remainder_downward_test_data): New variable.
15394 (remainder_test_downward): New function.
15395 (remainder_upward_test_data): New variable.
15396 (remainder_test_upward): New function.
15397 (main): Call the new test functions.
15399 * math/libm-test.inc (struct test_f_f1_data): Remove field
15401 (struct test_fF_f1_data): Likewise.
15402 (struct test_ffI_f1_data): Likewise.
15403 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
15404 based on value of EXTRA_EXPECTED.
15405 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
15406 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
15407 EXTRA_VAR based on value of EXTRA_EXPECTED.
15408 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
15409 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
15410 EXTRA_VAR based on value of EXTRA_EXPECTED.
15411 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
15412 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
15413 EXTRA_VAR based on value of EXTRA_EXPECTED.
15414 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
15415 * math/gen-libm-test.pl (parse_args): Don't output initializers
15416 for extra output values.
15418 * math/libm-test.inc (check_int): Expect result to be exactly
15419 equal to expected value and do not handle ulps.
15420 (check_long): Likewise.
15421 (check_longlong): Likewise.
15423 * math/libm-test.inc (ceil_test_data): Test for "inexact"
15425 (cimag_test_data): Likewise.
15426 (conj_test_data): Likewise.
15427 (copysign_test_data): Likewise.
15428 (cproj_test_data): Likewise.
15429 (creal_test_data): Likewise.
15430 (fabs_test_data): Likewise.
15431 (fdim_test_data): Likewise.
15432 (finite_test_data): Likewise.
15433 (floor_test_data): Likewise.
15434 (fmax_test_data): Likewise.
15435 (fmin_test_data): Likewise.
15436 (fmod_test_data): Likewise.
15437 (fpclassify_test_data): Likewise.
15438 (frexp_test_data): Likewise.
15439 (ilogb_test_data): Likewise.
15440 (isfinite_test_data): Likewise.
15441 (isgreater_test_data): Likewise.
15442 (isgreaterequal_test_data): Likewise.
15443 (isinf_test_data): Likewise.
15444 (isless_test_data): Likewise.
15445 (islessequal_test_data): Likewise.
15446 (islessgreater_test_data): Likewise.
15447 (isnan_test_data): Likewise.
15448 (isnormal_test_data): Likewise.
15449 (issignaling_test_data): Likewise.
15450 (isunordered_test_data): Likewise.
15451 (ldexp_test_data): Likewise.
15452 (lrint_test_data): Likewise.
15453 (lrint_test_data) [TEST_FLOAT]: Disable one test.
15454 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
15455 (lrint_tonearest_test_data): Test for "inexact" exceptions.
15456 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
15457 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
15458 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
15460 (lrint_towardzero_test_data): Test for "inexact" exceptions.
15461 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
15462 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
15463 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
15465 (lrint_downward_test_data): Test for "inexact" exceptions.
15466 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
15467 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
15468 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
15470 (lrint_upward_test_data): Test for "inexact" exceptions.
15471 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
15473 (llrint_test_data): Test for "inexact" exceptions.
15474 (llrint_test_data) [TEST_FLOAT]: Disable one test.
15475 (llrint_tonearest_test_data): Test for "inexact" exceptions.
15476 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
15477 (llrint_towardzero_test_data): Test for "inexact" exceptions.
15478 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
15479 (llrint_downward_test_data): Test for "inexact" exceptions.
15480 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
15481 (llrint_upward_test_data): Test for "inexact" exceptions.
15482 (logb_test_data): Likewise.
15483 (logb_downward_test_data): Likewise.
15484 (nextafter_test_data): Likewise.
15485 (nexttoward_test_data): Likewise.
15486 (remainder_test_data): Likewise.
15487 (remquo_test_data): Likewise.
15488 (scalbn_test_data): Likewise.
15489 (scalbln_test_data): Likewise.
15490 (signbit_test_data): Likewise.
15491 (sqrt_test_data): Likewise.
15492 (significand_test_data): Likewise.
15494 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15497 * benchtests/bench-modf.c (struct args): Mark arg0 as
15499 * scripts/bench.pl: Mark members of struct args as volatile.
15501 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15504 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
15505 negative infinity on POWER6 or lower.
15506 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
15508 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
15511 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
15512 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
15513 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
15514 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
15515 (_FP_SETQNAN): New macro.
15516 (_FP_SETQNAN_SEMIRAW): Likewise.
15517 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
15518 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
15519 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
15520 (FP_EXTEND): Use _FP_FRAC_SNANP.
15521 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
15522 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
15524 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
15526 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
15529 2013-05-16 Joseph Myers <joseph@codesourcery.com>
15531 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
15532 with DIVIDE_BY_ZERO_EXCEPTION.
15533 (gamma_test_data): Likewise.
15534 (lgamma_test_data): Likewise.
15535 (log_test_data): Likewise.
15536 (log10_test_data): Likewise.
15537 (log2_test_data): Likewise.
15538 (tgamma_test_data): Likewise.
15540 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
15541 (acos_test_tonearest): Likewise.
15542 (acos_test_towardzero): Likewise.
15543 (acos_test_downward): Likewise.
15544 (acos_test_upward): Likewise.
15545 (acosh_test): Likewise.
15546 (asin_test): Likewise.
15547 (asin_test_tonearest): Likewise.
15548 (asin_test_towardzero): Likewise.
15549 (asin_test_downward): Likewise.
15550 (asin_test_upward): Likewise.
15551 (asinh_test): Likewise.
15552 (atan_test): Likewise.
15553 (atanh_test): Likewise.
15554 (atan2_test): Likewise.
15555 (cabs_test): Likewise.
15556 (cacos_test): Likewise.
15557 (cacosh_test): Likewise.
15558 (casin_test): Likewise.
15559 (casinh_test): Likewise.
15560 (catan_test): Likewise.
15561 (catanh_test): Likewise.
15562 (cbrt_test): Likewise.
15563 (ccos_test): Likewise.
15564 (ccosh_test): Likewise.
15565 (cexp_test): Likewise.
15566 (clog_test): Likewise.
15567 (clog10_test): Likewise.
15568 (cos_test): Likewise.
15569 (cos_test_tonearest): Likewise.
15570 (cos_test_towardzero): Likewise.
15571 (cos_test_downward): Likewise.
15572 (cos_test_upward): Likewise.
15573 (cosh_test): Likewise.
15574 (cosh_test_tonearest): Likewise.
15575 (cosh_test_towardzero): Likewise.
15576 (cosh_test_downward): Likewise.
15577 (cosh_test_upward): Likewise.
15578 (cpow_test): Likewise.
15579 (csin_test): Likewise.
15580 (csinh_test): Likewise.
15581 (csqrt_test): Likewise.
15582 (ctan_test): Likewise.
15583 (ctan_test_tonearest): Likewise.
15584 (ctan_test_towardzero): Likewise.
15585 (ctan_test_downward): Likewise.
15586 (ctan_test_upward): Likewise.
15587 (ctanh_test): Likewise.
15588 (ctanh_test_tonearest): Likewise.
15589 (ctanh_test_towardzero): Likewise.
15590 (ctanh_test_downward): Likewise.
15591 (ctanh_test_upward): Likewise.
15592 (erf_test): Likewise.
15593 (erfc_test): Likewise.
15594 (exp_test): Likewise.
15595 (exp_test_tonearest): Likewise.
15596 (exp_test_towardzero): Likewise.
15597 (exp_test_downward): Likewise.
15598 (exp_test_upward): Likewise.
15599 (exp10_test): Likewise.
15600 (exp2_test): Likewise.
15601 (expm1_test): Likewise.
15602 (fmod_test): Likewise.
15603 (gamma_test): Likewise.
15604 (hypot_test): Likewise.
15605 (j0_test): Likewise.
15606 (j1_test): Likewise.
15607 (jn_test): Likewise.
15608 (lgamma_test): Likewise.
15609 (log_test): Likewise.
15610 (log10_test): Likewise.
15611 (log1p_test): Likewise.
15612 (log2_test): Likewise.
15613 (logb_test_downward): Likewise.
15614 (pow_test): Likewise.
15615 (pow_test_tonearest): Likewise.
15616 (pow_test_towardzero): Likewise.
15617 (pow_test_downward): Likewise.
15618 (pow_test_upward): Likewise.
15619 (remainder_test): Likewise.
15620 (remquo_test): Likewise.
15621 (sin_test): Likewise.
15622 (sin_test_tonearest): Likewise.
15623 (sin_test_towardzero): Likewise.
15624 (sin_test_downward): Likewise.
15625 (sin_test_upward): Likewise.
15626 (sincos_test): Likewise.
15627 (sinh_test): Likewise.
15628 (sinh_test_tonearest): Likewise.
15629 (sinh_test_towardzero): Likewise.
15630 (sinh_test_downward): Likewise.
15631 (sinh_test_upward): Likewise.
15632 (sqrt_test): Likewise.
15633 (tan_test): Likewise.
15634 (tan_test_tonearest): Likewise.
15635 (tan_test_towardzero): Likewise.
15636 (tan_test_downward): Likewise.
15637 (tan_test_upward): Likewise.
15638 (tanh_test): Likewise.
15639 (tgamma_test): Likewise.
15640 (y0_test): Likewise.
15641 (y1_test): Likewise.
15642 (yn_test): Likewise.
15644 * math/gen-libm-test.pl (adjust_arg): Remove function.
15645 (special_function): Remove argument $in_func. Only handle
15646 generating output for tables of tests, not inside functions.
15647 (parse_args): Likewise.
15648 (generate_testfile): Remove variable $in_func. Update call to
15650 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
15651 (MINUS_ZERO_INIT): Rename macro to minus_zero.
15652 (PLUS_INFTY_INIT): Rename macro to plus_infty.
15653 (MINUS_INFTY_INIT): Rename macro to minus_infty.
15654 (QNAN_VALUE_INIT): Rename macro to qnan_value.
15655 (MAX_VALUE_INIT): Rename macro to max_value.
15656 (MIN_VALUE_INIT): Rename macro to min_value.
15657 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
15658 (plus_zero): Remove variable.
15659 (minus_zero): Likewise.
15660 (plus_infty): Likewise.
15661 (minus_infty): Likewise.
15662 (qnan_value): Likewise.
15663 (max_value): Likewise.
15664 (min_value): Likewise.
15665 (min_subnorm_value): Likewise.
15667 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15669 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
15670 uint64_t or uint32_t usage.
15671 * crypt/sha256-block.c: Likewise.
15672 * crypt/sha256-crypt.c: Likewise.
15673 * crypt/sha256.c: Likewise.
15674 * crypt/sha512-block.c: Likewise.
15675 * crypt/sha512-crypt.c: Likewise.
15676 * crypt/sha512.c: Likewise.
15677 * debug/backtrace-tst.c: Likewise.
15678 * debug/pcprofiledump.c: Likewise.
15679 * elf/cache.c: Likewise.
15680 * elf/dl-cache.c: Likewise.
15681 * elf/dl-misc.c: Likewise.
15682 * elf/dl-profile.c: Likewise.
15683 * elf/dl-support.c: Likewise.
15684 * elf/ldconfig.c: Likewise.
15685 * elf/sprof.c: Likewise.
15686 * iconv/dummy-repertoire.c: Likewise.
15687 * iconv/iconv_charmap.c: Likewise.
15688 * iconv/skeleton.c: Likewise.
15689 * iconvdata/8bit-generic.c: Likewise.
15690 * iconvdata/cp737.h: Likewise.
15691 * iconvdata/cp775.h: Likewise.
15692 * iconvdata/ibm1008.h: Likewise.
15693 * iconvdata/ibm1025.h: Likewise.
15694 * iconvdata/ibm1046.h: Likewise.
15695 * iconvdata/ibm1097.h: Likewise.
15696 * iconvdata/ibm1112.h: Likewise.
15697 * iconvdata/ibm1122.h: Likewise.
15698 * iconvdata/ibm1123.h: Likewise.
15699 * iconvdata/ibm1124.h: Likewise.
15700 * iconvdata/ibm1129.h: Likewise.
15701 * iconvdata/ibm1130.h: Likewise.
15702 * iconvdata/ibm1132.h: Likewise.
15703 * iconvdata/ibm1133.h: Likewise.
15704 * iconvdata/ibm1137.h: Likewise.
15705 * iconvdata/ibm1140.h: Likewise.
15706 * iconvdata/ibm1141.h: Likewise.
15707 * iconvdata/ibm1142.h: Likewise.
15708 * iconvdata/ibm1143.h: Likewise.
15709 * iconvdata/ibm1144.h: Likewise.
15710 * iconvdata/ibm1145.h: Likewise.
15711 * iconvdata/ibm1146.h: Likewise.
15712 * iconvdata/ibm1147.h: Likewise.
15713 * iconvdata/ibm1148.h: Likewise.
15714 * iconvdata/ibm1149.h: Likewise.
15715 * iconvdata/ibm1153.h: Likewise.
15716 * iconvdata/ibm1154.h: Likewise.
15717 * iconvdata/ibm1155.h: Likewise.
15718 * iconvdata/ibm1156.h: Likewise.
15719 * iconvdata/ibm1157.h: Likewise.
15720 * iconvdata/ibm1158.h: Likewise.
15721 * iconvdata/ibm1160.h: Likewise.
15722 * iconvdata/ibm1161.h: Likewise.
15723 * iconvdata/ibm1162.h: Likewise.
15724 * iconvdata/ibm1163.h: Likewise.
15725 * iconvdata/ibm1164.h: Likewise.
15726 * iconvdata/ibm1166.h: Likewise.
15727 * iconvdata/ibm1167.h: Likewise.
15728 * iconvdata/ibm12712.h: Likewise.
15729 * iconvdata/ibm1390.h: Likewise.
15730 * iconvdata/ibm1399.h: Likewise.
15731 * iconvdata/ibm16804.h: Likewise.
15732 * iconvdata/ibm4517.h: Likewise.
15733 * iconvdata/ibm4899.h: Likewise.
15734 * iconvdata/ibm4909.h: Likewise.
15735 * iconvdata/ibm4971.h: Likewise.
15736 * iconvdata/ibm5347.h: Likewise.
15737 * iconvdata/ibm803.h: Likewise.
15738 * iconvdata/ibm856.h: Likewise.
15739 * iconvdata/ibm901.h: Likewise.
15740 * iconvdata/ibm902.h: Likewise.
15741 * iconvdata/ibm9030.h: Likewise.
15742 * iconvdata/ibm9066.h: Likewise.
15743 * iconvdata/ibm921.h: Likewise.
15744 * iconvdata/ibm922.h: Likewise.
15745 * iconvdata/ibm9448.h: Likewise.
15746 * iconvdata/isiri-3342.h: Likewise.
15747 * iconvdata/jis0201.h: Likewise.
15748 * include/link.h: Likewise.
15749 * include/netdb.h: Likewise.
15750 * inet/check_native.c: Likewise.
15751 * inet/check_pf.c: Likewise.
15752 * inet/getipv4sourcefilter.c: Likewise.
15753 * inet/getnameinfo.c: Likewise.
15754 * inet/getsourcefilter.c: Likewise.
15755 * inet/htonl.c: Likewise.
15756 * inet/setipv4sourcefilter.c: Likewise.
15757 * inet/setsourcefilter.c: Likewise.
15758 * inet/test-inet6_opt.c: Likewise.
15759 * inet/tst-network.c: Likewise.
15760 * locale/C-collate.c: Likewise.
15761 * locale/C-ctype.c: Likewise.
15762 * locale/C-time.c: Likewise.
15763 * locale/C-translit.h: Likewise.
15764 * locale/loadarchive.c: Likewise.
15765 * locale/programs/3level.h: Likewise.
15766 * locale/programs/charmap.c: Likewise.
15767 * locale/programs/charmap.h: Likewise.
15768 * locale/programs/ld-address.c: Likewise.
15769 * locale/programs/ld-collate.c: Likewise.
15770 * locale/programs/ld-ctype.c: Likewise.
15771 * locale/programs/ld-identification.c: Likewise.
15772 * locale/programs/ld-measurement.c: Likewise.
15773 * locale/programs/ld-messages.c: Likewise.
15774 * locale/programs/ld-monetary.c: Likewise.
15775 * locale/programs/ld-name.c: Likewise.
15776 * locale/programs/ld-numeric.c: Likewise.
15777 * locale/programs/ld-paper.c: Likewise.
15778 * locale/programs/ld-telephone.c: Likewise.
15779 * locale/programs/ld-time.c: Likewise.
15780 * locale/programs/linereader.c: Likewise.
15781 * locale/programs/locale.c: Likewise.
15782 * locale/programs/locarchive.c: Likewise.
15783 * locale/programs/locfile.h: Likewise.
15784 * locale/programs/repertoire.c: Likewise.
15785 * locale/programs/simple-hash.c: Likewise.
15786 * locale/programs/simple-hash.h: Likewise.
15787 * malloc/memusage.c: Likewise.
15788 * malloc/memusagestat.c: Likewise.
15789 * nis/nis_defaults.c: Likewise.
15790 * nis/nis_hash.c: Likewise.
15791 * nis/nis_print.c: Likewise.
15792 * nis/nis_xdr.c: Likewise.
15793 * nscd/connections.c: Likewise.
15794 * nscd/hstcache.c: Likewise.
15795 * nscd/nscd_gethst_r.c: Likewise.
15796 * nscd/nscd_getserv_r.c: Likewise.
15797 * nscd/nscd_helper.c: Likewise.
15798 * nscd/servicescache.c: Likewise.
15799 * nss/makedb.c: Likewise.
15800 * nss/nss_db/db-XXX.c: Likewise.
15801 * nss/nss_db/db-initgroups.c: Likewise.
15802 * nss/nss_db/db-netgrp.c: Likewise.
15803 * nss/nss_files/files-network.c: Likewise.
15804 * nss/nss_files/files-parse.c: Likewise.
15805 * posix/bug-regex5.c: Likewise.
15806 * posix/fnmatch_loop.c: Likewise.
15807 * posix/regcomp.c: Likewise.
15808 * posix/regexec.c: Likewise.
15809 * posix/tst-rfc3484-2.c: Likewise.
15810 * posix/tst-rfc3484-3.c: Likewise.
15811 * posix/tst-rfc3484.c: Likewise.
15812 * resolv/nss_dns/dns-canon.c: Likewise.
15813 * resolv/nss_dns/dns-network.c: Likewise.
15814 * resolv/res_init.c: Likewise.
15815 * resolv/res_mkquery.c: Likewise.
15816 * resolv/tst-aton.c: Likewise.
15817 * stdlib/cxa_atexit.c: Likewise.
15818 * stdlib/cxa_finalize.c: Likewise.
15819 * stdlib/gen-fpioconst.c: Likewise.
15820 * stdlib/strtol_l.c: Likewise.
15821 * string/tst-endian.c: Likewise.
15822 * sunrpc/auth_des.c: Likewise.
15823 * sunrpc/clnt_udp.c: Likewise.
15824 * sunrpc/rtime.c: Likewise.
15825 * sunrpc/svcauth_des.c: Likewise.
15826 * sunrpc/xdr.c: Likewise.
15827 * sunrpc/xdr_intXX_t.c: Likewise.
15828 * sunrpc/xdr_rec.c: Likewise.
15829 * sysdeps/generic/ldconfig.h: Likewise.
15830 * sysdeps/generic/ldsodefs.h: Likewise.
15831 * sysdeps/generic/memusage.h: Likewise.
15832 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
15833 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
15834 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
15835 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
15836 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15837 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15838 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
15839 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
15840 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
15841 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15842 * sysdeps/posix/getaddrinfo.c: Likewise.
15843 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
15844 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15845 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
15846 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
15847 * sysdeps/powerpc/test-gettimebase.c: Likewise.
15848 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
15849 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
15850 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
15851 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
15852 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
15853 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
15854 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
15855 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
15856 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
15857 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
15858 * sysdeps/x86_64/dl-tls.h: Likewise.
15859 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
15860 * time/alt_digit.c: Likewise.
15861 * time/era.c: Likewise.
15862 * wcsmbs/tst-c16c32-1.c: Likewise.
15864 2013-05-16 Joseph Myers <joseph@codesourcery.com>
15866 * math/libm-test.inc (struct test_sincos_data): New type.
15867 (RUN_TEST_LOOP_sincos): New macro.
15868 (sincos_test_data): New variable.
15869 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
15871 2013-05-16 Richard Henderson <rth@redhat.com>
15873 * math/atest-exp2.c (LIMB64): New macro.
15874 (CONSTSZ): New macro.
15875 (mp_exp1, mp_exp_m1, mp_log2): New variables.
15877 (print_mpn_fp): ... to function scope.
15878 (read_mpn_hex): Remove.
15879 (get_log2): Remove.
15880 (exp2_mpn): Use mp_log2.
15881 (main): Use mp_exp1.
15883 2013-05-16 Joseph Myers <joseph@codesourcery.com>
15885 * math/libm-test.inc: Remove comment about not testing "inexact"
15887 (INEXACT_EXCEPTION): New macro.
15888 (NO_INEXACT_EXCEPTION): Likewise.
15889 (INVALID_EXCEPTION_OK): Update value.
15890 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
15891 (OVERFLOW_EXCEPTION_OK): Likewise.
15892 (UNDERFLOW_EXCEPTION_OK): Likewise.
15893 (IGNORE_ZERO_INF_SIGN): Likewise.
15894 (ERRNO_UNCHANGED): Likewise.
15895 (ERRNO_EDOM): Likewise.
15896 (ERRNO_ERANGE): Likewise.
15897 (test_exceptions): Handle testing "inexact" exceptions.
15898 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
15899 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
15900 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
15901 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
15903 (rint_towardzero_test_data): Likewise.
15904 (rint_downward_test_data): Likewise.
15905 (rint_upward_test_data): Likewise.
15907 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
15908 with OVERFLOW_EXCEPTION.
15909 (exp10_test_data): Likewise.
15910 (exp2_test_data): Likewise.
15911 (expm1_test_data): Likewise.
15912 (lgamma_test_data): Likewise.
15913 (pow_test_data): Likewise.
15914 (tgamma_test_data): Likewise.
15915 (yn_test_data): Remove duplicate test of overflow.
15917 * math/libm-test.inc (struct test_cc_c_data): New type.
15918 (RUN_TEST_LOOP_cc_c): New macro.
15919 (cpow_test_data): New variable.
15920 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
15922 * math/libm-test.inc (struct test_f_L_data): New type.
15923 (RUN_TEST_LOOP_f_L): New macro.
15924 (llrint_test_data): New variable.
15925 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
15926 (llrint_tonearest_test_data): New variable.
15927 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
15928 (llrint_towardzero_test_data): New variable.
15929 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
15930 (llrint_downward_test_data): New variable.
15931 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
15932 (llrint_upward_test_data): New variable.
15933 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
15934 (llround_test_data): New variable.
15935 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
15937 2013-05-13 Peter Collingbourne <pcc@google.com>
15939 * math/atest-exp2.c (get_log2): Remove const attribute.
15941 2013-05-15 Joseph Myers <joseph@codesourcery.com>
15943 * math/libm-test.inc (struct test_f_l_data): New type.
15944 (RUN_TEST_LOOP_f_l): New macro.
15945 (lrint_test_data): New variable.
15946 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
15947 (lrint_tonearest_test_data): New variable.
15948 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
15949 (lrint_towardzero_test_data): New variable.
15950 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
15951 (lrint_downward_test_data): New variable.
15952 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
15953 (lrint_upward_test_data): New variable.
15954 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
15955 (lround_test_data): New variable.
15956 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
15958 2013-05-15 Peter Collingbourne <pcc@google.com>
15960 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
15961 (EXTRACT_WORDS64) Use where appropriate.
15962 (INSERT_WORDS64) Likewise.
15964 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
15965 constraints with x constraints.
15966 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
15968 * malloc/obstack.c (_obstack_compat): Add initializer.
15970 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
15972 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
15973 si_trapno and add si_addr_lsb to _sifields.sigfault.
15974 (si_trapno): Remove macro.
15975 (si_addr_lsb): Define new macro.
15976 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
15978 2013-05-15 Joseph Myers <joseph@codesourcery.com>
15980 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
15981 instead of TEST_f_l.
15982 (llrint_test_tonearest): Likewise.
15983 (llrint_test_towardzero): Likewise.
15984 (llrint_test_downward): Likewise.
15985 (llrint_test_upward): Likewise.
15986 (llround_test): Likewise.
15988 * math/libm-test.inc (struct test_f_i_data): Add comment.
15989 (RUN_TEST_LOOP_f_b): New macro.
15990 (RUN_TEST_LOOP_f_b_tg): Likewise.
15991 (finite_test_data): New variable.
15992 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
15993 (isfinite_test_data): New variable.
15994 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15995 (isinf_test_data): New variable.
15996 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15997 (isnan_test_data): New variable.
15998 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15999 (isnormal_test_data): New variable.
16000 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16001 (issignaling_test_data): New variable.
16002 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16003 (signbit_test_data): New variable.
16004 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16006 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
16007 with INVALID_EXCEPTION.
16008 (acosh_test_data): Likewise.
16009 (asin_test_data): Likewise.
16010 (atanh_test_data): Likewise.
16011 (fmod_test_data): Likewise.
16012 (log_test_data): Likewise.
16013 (log10_test_data): Likewise.
16014 (log2_test_data): Likewise.
16015 (pow_test_data): Likewise.
16016 (sqrt_test_data): Likewise.
16017 (y0_test_data): Likewise.
16018 (y1_test_data): Likewise.
16019 (yn_test_data): Likewise.
16021 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
16024 * math/libm-test.inc (struct test_ff_i_data): New type.
16025 (RUN_TEST_LOOP_ff_i_tg): New macro.
16026 (isgreater_test_data): New variable.
16027 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16028 (isgreaterequal_test_data): New variable.
16029 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16030 (isless_test_data): New variable.
16031 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16032 (islessequal_test_data): New variable.
16033 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16034 (islessgreater_test_data): New variable.
16035 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16036 (isunordered_test_data): New variable.
16037 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16039 2013-05-14 David S. Miller <davem@davemloft.net>
16041 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16043 2013-05-14 Joseph Myers <joseph@codesourcery.com>
16045 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
16047 * math/libm-test.inc (struct test_fF_f1_data): Change type of
16049 (struct test_f_i_data): Change type of max_ulp to int.
16051 * math/libm-test.inc (test_ffI_f1_data): New type.
16052 (RUN_TEST_LOOP_ffI_f1): New macro.
16053 (remquo_test_data): New variable.
16054 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
16056 * setjmp/tst-setjmp-fp.c: New file.
16057 * setjmp/Makefile (tests): Add tst-setjmp-fp.
16058 (link-libm): New variable.
16059 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
16061 * math/libm-test.inc (struct test_f_i_data): New type.
16062 (RUN_TEST_LOOP_f_i): New macro.
16063 (RUN_TEST_LOOP_f_i_tg): Likewise.
16064 (fpclassify_test_data): New variable.
16065 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
16066 (ilogb_test_data): New variable.
16067 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
16069 * math/libm-test.inc (scalbln_test): Correct function name in END
16072 * math/libm-test.inc (struct test_f_f1_data): Add comment.
16073 (RUN_TEST_LOOP_fI_f1): New macro.
16074 (frexp_test_data): New variable.
16075 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
16077 * math/libm-test.inc (struct test_fF_f1_data): New type.
16078 (RUN_TEST_LOOP_fF_f1): New macro.
16079 (modf_test_data): New variable.
16080 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
16082 * math/libm-test.inc (struct test_f_f1_data): New type.
16083 (RUN_TEST_LOOP_f_f1): New macro.
16084 (gamma_test_data): New variable.
16085 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
16086 (lgamma_test_data): New variable.
16087 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
16089 2013-05-13 Carlos O'Donell <carlos@redhat.com>
16091 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
16092 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
16093 (main): Comment "tls" pseudo-hwcap.
16095 2013-05-13 Joseph Myers <joseph@codesourcery.com>
16097 * math/libm-test.inc (struct test_fl_f_data): New type.
16098 (RUN_TEST_LOOP_fl_f): New variable.
16099 (scalbln_test_data): New variable.
16100 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
16102 * math/libm-test.inc (struct test_fi_f_data): New type.
16103 (RUN_TEST_LOOP_fi_f): New macro.
16104 (ldexp_test_data): New variable.
16105 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
16106 (scalbn_test_data): New variable.
16107 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
16109 * math/libm-test.inc (struct test_c_f_data): New type.
16110 (RUN_TEST_LOOP_c_f): New macro.
16111 (cabs_test_data): New variable.
16112 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
16113 (carg_test_data): New variable.
16114 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
16115 (cimag_test_data): New variable.
16116 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
16117 (creal_test_data): New variable.
16118 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
16120 * math/libm-test.inc (struct test_if_f_data): New type.
16121 (RUN_TEST_LOOP_if_f): New macro.
16122 (jn_test_data): New variable.
16123 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
16124 (yn_test_data): New variable.
16125 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
16127 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
16129 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16131 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
16132 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
16134 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
16136 * benchtests/Makefile (CPPFLAGS-nonlib): Add
16137 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
16138 (bench-deps): Add bench-timing.h.
16139 * benchtests-bench-skeleton.c: Include bench-timing.h.
16140 (main): Use TIMING_* macros instead of clock_gettime.
16141 * benchtests/bench-timing.h: New file.
16144 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
16145 Renamed from _LIB_VERSION.
16146 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
16148 2013-05-12 Joseph Myers <joseph@codesourcery.com>
16150 * math/libm-test.inc (struct test_fff_f_data): New type.
16151 (RUN_TEST_LOOP_fff_f): New macro.
16152 (fma_test_data): New variable.
16153 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
16154 (fma_towardzero_test_data): New variable.
16155 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
16156 (fma_downward_test_data): New variable.
16157 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
16158 (fma_upward_test_data): New variable.
16159 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
16161 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
16162 (struct test_c_c_data): New type.
16163 (RUN_TEST_LOOP_c_c): New macro.
16164 (cacos_test_data): New variable.
16165 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
16166 (cacosh_test_data): New variable.
16167 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
16168 (casin_test_data): New variable.
16169 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
16170 (casinh_test_data): New variable.
16171 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
16172 (catan_test_data): New variable.
16173 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
16174 (catanh_test_data): New variable.
16175 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
16176 (ccos_test_data): New variable.
16177 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
16178 (ccosh_test_data): New variable.
16179 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
16180 (cexp_test_data): New variable.
16181 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
16182 (clog_test_data): New variable.
16183 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
16184 (clog10_test_data): New variable.
16185 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
16186 (conj_test_data): New variable.
16187 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
16188 (cproj_test_data): New variable.
16189 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
16190 (csin_test_data): New variable.
16191 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
16192 (csinh_test_data): New variable.
16193 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
16194 (csqrt_test_data): New variable.
16195 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
16196 (ctan_test_data): New variable.
16197 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
16198 (ctan_tonearest_test_data): New variable.
16199 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
16200 (ctan_towardzero_test_data): New variable.
16201 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
16202 (ctan_downward_test_data): New variable.
16203 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
16204 (ctan_upward_test_data): New variable.
16205 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
16206 (ctanh_test_data): New variable.
16207 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
16208 (ctanh_tonearest_test_data): New variable.
16209 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
16210 (ctanh_towardzero_test_data): New variable.
16211 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
16212 (ctanh_downward_test_data): New variable.
16213 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
16214 (ctanh_upward_test_data): New variable.
16215 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
16216 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
16219 * math/libm-test.inc (struct test_ff_f_data): New type.
16220 (struct test_ff_f_data_nexttoward): Likewise.
16221 (RUN_TEST_LOOP_2_f): New macro.
16222 (RUN_TEST_LOOP_ff_f): Likewise.
16223 (atan2_test_data): New variable.
16224 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
16225 (copysign_test_data): New variable.
16226 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
16227 (fdim_test_data): New variable.
16228 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
16229 (fmax_test_data): New variable.
16230 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
16231 (fmin_test_data): New variable.
16232 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
16233 (fmod_test_data): New variable.
16234 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
16235 (hypot_test_data): New variable.
16236 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
16237 (nextafter_test_data): New variable.
16238 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
16239 (nexttoward_test_data): New variable.
16240 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
16241 (pow_test_data): New variable.
16242 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
16243 (pow_tonearest_test_data): New variable.
16244 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
16245 (pow_towardzero_test_data): New variable.
16246 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
16247 (pow_downward_test_data): New variable.
16248 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
16249 (pow_upward_test_data): New variable.
16250 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
16251 (remainder_test_data): New variable.
16252 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
16253 (scalb_test_data): New variable.
16254 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
16255 * sysdeps/i386/fpu/libm-test-ulps: Update.
16257 2013-05-11 Joseph Myers <joseph@codesourcery.com>
16259 * math/libm-test.inc (fma_test): Use max_value instead of local
16261 (nextafter_test): Likewise.
16263 * math/libm-test.inc (acos_towardzero_test_data): New variable.
16264 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16265 (acos_downward_test_data): New variable.
16266 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16267 (acos_upward_test_data): New variable.
16268 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16269 (acosh_test_data): New variable.
16270 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
16271 (asin_test_data): New variable.
16272 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
16273 (asin_tonearest_test_data): New variable.
16274 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16275 (asin_towardzero_test_data): New variable.
16276 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16277 (asin_downward_test_data): New variable.
16278 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16279 (asin_upward_test_data): New variable.
16280 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16281 (asinh_test_data): New variable.
16282 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
16283 (atan_test_data): New variable.
16284 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
16285 (atanh_test_data): New variable.
16286 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
16287 (cbrt_test_data): New variable.
16288 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
16289 (ceil_test_data): New variable.
16290 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
16291 (cos_test_data): New variable.
16292 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
16293 (cos_tonearest_test_data): New variable.
16294 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16295 (cos_towardzero_test_data): New variable.
16296 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16297 (cos_downward_test_data): New variable.
16298 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16299 (cos_upward_test_data): New variable.
16300 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16301 (cosh_test_data): New variable.
16302 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
16303 (cosh_tonearest_test_data): New variable.
16304 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16305 (cosh_towardzero_test_data): New variable.
16306 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16307 (cosh_downward_test_data): New variable.
16308 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16309 (cosh_upward_test_data): New variable.
16310 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16311 (erf_test_data): New variable.
16312 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
16313 (erfc_test_data): New variable.
16314 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
16315 (exp_test_data): New variable.
16316 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
16317 (exp_tonearest_test_data): New variable.
16318 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16319 (exp_towardzero_test_data): New variable.
16320 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16321 (exp_downward_test_data): New variable.
16322 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16323 (exp_upward_test_data): New variable.
16324 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16325 (exp10_test_data): New variable.
16326 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
16327 (exp2_test_data): New variable.
16328 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
16329 (expm1_test_data): New variable.
16330 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
16331 (fabs_test_data): New variable.
16332 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
16333 (floor_test_data): New variable.
16334 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
16335 (j0_test_data): New variable.
16336 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
16337 (j1_test_data): New variable.
16338 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
16339 (log_test_data): New variable.
16340 (log_test): Run tests with RUN_TEST_LOOP_f_f.
16341 (log10_test_data): New variable.
16342 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
16343 (log1p_test_data): New variable.
16344 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
16345 (log2_test_data): New variable.
16346 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
16347 (logb_test_data): New variable.
16348 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
16349 (logb_downward_test_data): New variable.
16350 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16351 (nearbyint_test_data): New variable.
16352 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
16353 (rint_test_data): New variable.
16354 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
16355 (rint_tonearest_test_data): New variable.
16356 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16357 (rint_towardzero_test_data): New variable.
16358 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16359 (rint_downward_test_data): New variable.
16360 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16361 (rint_upward_test_data): New variable.
16362 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16363 (round_test_data): New variable.
16364 (round_test): Run tests with RUN_TEST_LOOP_f_f.
16365 (sin_test_data): New variable.
16366 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
16367 (sin_tonearest_test_data): New variable.
16368 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16369 (sin_towardzero_test_data): New variable.
16370 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16371 (sin_downward_test_data): New variable.
16372 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16373 (sin_upward_test_data): New variable.
16374 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16375 (sinh_test_data): New variable.
16376 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
16377 (sinh_tonearest_test_data): New variable.
16378 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16379 (sinh_towardzero_test_data): New variable.
16380 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16381 (sinh_downward_test_data): New variable.
16382 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16383 (sinh_upward_test_data): New variable.
16384 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16385 (sqrt_test_data): New variable.
16386 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
16387 (tan_test_data): New variable.
16388 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
16389 (tan_tonearest_test_data): New variable.
16390 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16391 (tan_towardzero_test_data): New variable.
16392 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16393 (tan_downward_test_data): New variable.
16394 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16395 (tan_upward_test_data): New variable.
16396 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16397 (tanh_test_data): New variable.
16398 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
16399 (tgamma_test_data): New variable.
16400 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
16401 (trunc_test_data): New variable.
16402 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
16403 (y0_test_data): New variable.
16404 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
16405 (y1_test_data): New variable.
16406 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
16407 (significand_test_data): New variable.
16408 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
16410 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
16413 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
16415 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
16417 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
16419 2013-05-10 Andreas Jaeger <aj@suse.de>
16422 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
16423 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
16425 2013-05-10 Joseph Myers <joseph@codesourcery.com>
16427 * math/gen-libm-test.pl (adjust_arg): New function.
16428 (special_functions): Handle generating output in both functions
16430 (parse_args): Likewise.
16431 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
16432 $in_func argument to parse_args.
16433 * math/libm-test.inc (struct test_f_f_data): New type.
16434 (IF_ROUND_INIT_): New macro.
16435 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
16436 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
16437 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
16438 (IF_ROUND_INIT_FE_UPWARD): Likewise.
16439 (ROUND_RESTORE_): Likewise.
16440 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
16441 (ROUND_RESTORE_FE_TONEAREST): Likewise.
16442 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
16443 (ROUND_RESTORE_FE_UPWARD): Likewise.
16444 (RUN_TEST_LOOP_f_f): New macro.
16445 (acos_test_data): New variable.
16446 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
16447 (acos_tonearest_test_data): New variable.
16448 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16450 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16452 * benchtests/bench-skeleton.c (startup): Fix coding style.
16454 2013-05-10 Joseph Myers <joseph@codesourcery.com>
16457 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
16458 negative infinity argument.
16459 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
16460 negative infinity argument.
16461 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
16462 negative infinity argument.
16463 * math/libm-test.inc (tgamma_test): Expect errno to be set for
16466 2013-05-10 Florian Weimer <fweimer@redhat.com>
16468 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
16469 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
16470 * iconv/iconv_prog.c (main): Likewise.
16471 * locale/programs/charmap-dir.c (charmap_readdir)
16472 (fopen_uncompressed): Likewise.
16473 * locale/programs/locfile.c (siblings_uncached)
16474 (write_locale_data): Use lstat64 instead of lstat.
16475 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
16478 2013-05-10 Andreas Jaeger <aj@suse.de>
16481 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
16483 Include <locale.h>.
16485 2013-05-09 Carlos O'Donell <carlos@redhat.com>
16487 * elf/dl-close.c (_dl_close_worker): Add comments.
16489 2013-05-09 Joseph Myers <joseph@codesourcery.com>
16492 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
16494 (__ieee754_rem_pio2l): Update comments.
16497 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
16499 (__ieee754_rem_pio2l): Update comments.
16501 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
16502 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
16504 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
16507 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
16508 (M_PI_34_LOG10El): Likewise.
16509 (M_PI2_LOG10El): Likewise.
16510 (M_PI4_LOG10El): Likewise.
16511 (M_PI_LOG10El): Likewise.
16513 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16515 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16517 2013-05-08 Joseph Myers <joseph@codesourcery.com>
16519 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
16520 (MINUS_ZERO_INIT): Likewise.
16521 (PLUS_INFTY_INIT): Likewise.
16522 (MINUS_INFTY_INIT): Likewise.
16523 (QNAN_VALUE_INIT): Likewise.
16524 (MAX_VALUE_INIT): Likewise.
16525 (MIN_VALUE_INIT): Likewise.
16526 (MIN_SUBNORM_VALUE_INIT): Likewise.
16527 (plus_zero): Initialize with PLUS_ZERO_INIT.
16528 (minus_zero): Initialize with MINUS_ZERO_INIT.
16529 (plus_infty): Initialize with PLUS_INFTY_INIT.
16530 (minus_infty): Initialize with MINUS_INFTY_INIT.
16531 (qnan_value): Initialize with QNAN_VALUE_INIT.
16532 (max_value): Initialize with MAX_VALUE_INIT.
16533 (min_value): Initialize with MIN_VALUE_INIT.
16534 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
16536 * math/libm-test.inc (RUN_TEST_if_f): New macro.
16537 (jn_test): Use TEST_if_f instead of TEST_ff_f.
16538 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
16539 (yn_test): Use TEST_if_f instead of TEST_ff_f.
16541 * math/libm-test.inc (RUN_TEST_f_f): New macro.
16542 (RUN_TEST_2_f): Likewise.
16543 (RUN_TEST_ff_f): Likewise.
16544 (RUN_TEST_fi_f): Likewise.
16545 (RUN_TEST_fl_f): Likewise.
16546 (RUN_TEST_fff_f): Likewise.
16547 (RUN_TEST_c_f): Likewise.
16548 (RUN_TEST_f_f1): Likewise.
16549 (RUN_TEST_fF_f1): Likewise.
16550 (RUN_TEST_fI_f1): Likewise.
16551 (RUN_TEST_ffI_f1): Likewise.
16552 (RUN_TEST_c_c): Likewise.
16553 (RUN_TEST_cc_c): Likewise.
16554 (RUN_TEST_f_i): Likewise.
16555 (RUN_TEST_f_i_tg): Likewise.
16556 (RUN_TEST_ff_i_tg): Likewise.
16557 (RUN_TEST_f_b): Likewise.
16558 (RUN_TEST_f_b_tg): Likewise.
16559 (RUN_TEST_f_l): Likewise.
16560 (RUN_TEST_f_L): Likewise.
16561 (RUN_TEST_sincos): Likewise.
16562 * math/gen-libm-test.pl (new_test): Take new argument to indicate
16563 whether to show exceptions. Do not include ");\n" in return
16565 (special_functions): Output call to RUN_TEST_sincos instead of
16566 check_float calls. Update calls to new_test.
16567 (parse_args): Output call to single RUN_TEST_* macro instead of
16568 check_* calls and other assignments. Update calls to new_test.
16574 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
16575 input to result for tgamma overflow.
16576 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
16577 (gamma_coeff): New variable.
16578 (NCOEFF): New macro.
16579 (gamma_positive): New function.
16580 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
16581 underflow here. Use gamma_positive instead of exp (lgamma) for
16583 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
16584 (gamma_coeff): New variable.
16585 (NCOEFF): New macro.
16586 (gammaf_positive): New function.
16587 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
16588 underflow here. Use gamma_positive instead of exp (lgamma) for
16590 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
16591 (gamma_coeff): New variable.
16592 (NCOEFF): New macro.
16593 (gammal_positive): New function.
16594 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
16595 underflow here. Use gamma_positive instead of exp (lgamma) for
16597 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
16598 (gamma_coeff): New variable.
16599 (NCOEFF): New macro.
16600 (gammal_positive): New function.
16601 (__ieee754_gammal_r): Handle positive infinity, overflow and
16602 underflow here. Handle NaN the same as positive infinity. Remove
16603 check x < 0xffffffff for negative integers. Use gamma_positive
16604 instead of exp (lgamma) for other arguments.
16605 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
16606 (gamma_coeff): New variable.
16607 (NCOEFF): New macro.
16608 (gammal_positive): New function.
16609 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
16610 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
16611 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
16612 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
16613 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
16614 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
16615 * sysdeps/generic/math_private.h (__gamma_productf): New
16617 (__gamma_product): Likewise.
16618 (__gamma_productl): Likewise.
16619 * math/Makefile (libm-calls): Add gamma_product.
16620 * math/libm-test.inc (tgamma_test): Add more tests.
16621 * sysdeps/i386/fpu/libm-test-ulps: Update.
16622 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16624 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
16626 * benchtests/bench-skeleton.c (main): Preheat CPU.
16628 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
16630 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
16632 2013-05-07 Roland McGrath <roland@hack.frob.com>
16634 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
16635 and _dl_skip_args_internal.
16637 2013-05-07 Carlos O'Donell <carlos@redhat.com>
16639 * manual/message.texi (Message Translation): Talk about users.
16640 Message to key mapping impacts design.
16642 2013-05-06 Roland McGrath <roland@hack.frob.com>
16644 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
16646 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
16648 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
16649 * sysdeps/wordsize-64/glob64.c: ... here.
16651 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
16652 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
16655 * debug/getlogin_r_chk.c: Moved to ...
16656 * login/getlogin_r_chk.c: ... here.
16657 * debug/Makefile (routines): Move getlogin_r_chk to ...
16658 * login/Makefile (routines): ... here.
16659 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
16660 * login/Versions (libc: GLIBC_2.4): ... here.
16662 * io/poll.c (__poll): Renamed from poll.
16663 Add libc_hidden_def.
16664 (poll): Define as weak alias.
16666 * debug/ptsname_r_chk.c: Moved to ...
16667 * login/ptsname_r_chk.c: ... here.
16668 * debug/Makefile (routines): Move ptsname_r_chk to ...
16669 * login/Makefile (routines): ... here.
16670 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
16671 * login/Versions (libc: GLIBC_2.4): ... here.
16673 * posix/getlogin.c: Moved to ...
16674 * login/getlogin.c: ... here.
16675 * posix/getlogin_r.c: Moved to ...
16676 * login/getlogin_r.c: ... here.
16677 * posix/getlogin_r.c: Moved to ...
16678 * login/getlogin_r.c: ... here.
16679 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
16680 * login/Makefile (routines): ... here.
16681 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
16682 * login/Versions (libc: GLIBC_2.0): ... here.
16684 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
16685 (setrlimit): Define as weak alias.
16687 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
16688 Call __ names for open, ftruncate, and close.
16689 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
16690 (truncate): Define as weak alias.
16692 2013-05-06 Joseph Myers <joseph@codesourcery.com>
16694 * math/gen-libm-test.pl (parse_args): Initialize x before each
16695 test of frexp, modf and remquo.
16697 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
16698 test signgam value.
16700 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16704 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
16706 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16708 2013-05-06 Roland McGrath <roland@hack.frob.com>
16710 * elf/dl-writev.h: New file.
16711 * elf/dl-misc.c: Include it.
16712 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
16713 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
16715 2013-05-04 Joseph Myers <joseph@codesourcery.com>
16717 * math/libm-test.inc (noXFails): Remove variable.
16718 (noXPasses): Likewise.
16719 (BUILD_COMPLEX_INT): Remove macro.
16720 (print_screen): Remove xfail argument.
16721 (print_screen_max_error): Likewise.
16722 (update_stats): Likewise.
16723 (print_max_error): Likewise. Update calls to other affected
16725 (print_complex_max_error): Likewise.
16726 (test_single_exception): Update calls to print_screen.
16727 (test_single_errno): Likewise.
16728 (check_float_internal): Remove xfail argument. Update calls to
16729 other affected functions.
16730 (check_float): Likewise.
16731 (check_complex): Likewise.
16732 (check_int): Likewise.
16733 (check_long): Likewise.
16734 (check_bool): Likewise.
16735 (check_longlong): Likewise.
16736 (main): Don't print noXFails and noXPasses.
16737 * math/gen-libm-test.pl (top level): Don't mention expected
16738 failure handling in comment.
16739 (new_test): Don't handle expected failures.
16740 (parse_args): Don't mention expected failure handling in comment.
16741 (generate_testfile): Don't handle expected failures.
16742 (parse_ulps): Likewise.
16743 (print_ulps_file): Likewise.
16744 (get_failure): Remove function.
16745 (output_test): Don't handle expected failures.
16746 * make/README.libm-test: Don't mention expected failure handling.
16748 * math/libm-test.inc (plus_zero): Make const. Add initializer.
16749 (minus_zero): Likewise.
16750 (plus_infty): Likewise.
16751 (minus_infty): Likewise.
16752 (qnan_value): Likewise.
16753 (max_value): Likewise.
16754 (min_value): Likewise.
16755 (min_subnorm_value): Likewise.
16756 (initialize): Do not initialize those variables dynamically.
16758 2013-05-03 Roland McGrath <roland@hack.frob.com>
16760 * io/open.c (__open_2): Moved to ...
16761 * io/open_2.c: ... this new file.
16762 * io/open64.c (__open64_2): Moved to ...
16763 * io/open64_2.c: ... this new file.
16764 * io/openat.c (__openat_2): Moved to ...
16765 * io/openat_2.c: ... this new file.
16766 * io/openat64.c (__openat64_2): Moved to ...
16767 * io/openat64_2.c: ... this new file.
16768 * io/Makefile (routines): Add them.
16769 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
16770 * sysdeps/unix/sysv/linux/open_2.c: File removed.
16771 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
16772 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
16773 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
16774 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
16775 (__openat64): Add hidden_ver.
16776 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
16777 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
16779 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
16780 Separately conditionalize setting of GLRO(dl_sysinfo) so
16781 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
16782 as well, but the actual setting is only under [NEED_DL_SYSINFO].
16784 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16786 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
16787 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
16789 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
16790 * sysdeps/unix/sysv/linux/powerpc/init-first.c
16791 (_libc_vdso_platform_setup): Add __vdso_time initialization.
16792 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
16793 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
16795 2013-05-03 Joseph Myers <joseph@codesourcery.com>
16797 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
16798 test signgam value.
16800 * math/libm-test.inc (hypot_test): Do not use
16801 IGNORE_ZERO_INF_SIGN.
16803 2013-05-03 Andreas Jaeger <aj@suse.de>
16805 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
16807 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
16808 (PF_MAX): Adjust for VSOCK change.
16810 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16812 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16814 2013-05-02 Carlos O'Donell <carlos@redhat.com>
16817 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
16818 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
16819 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
16821 2013-05-02 David S. Miller <davem@davemloft.net>
16823 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16825 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
16827 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
16829 2013-05-01 Roland McGrath <roland@hack.frob.com>
16831 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
16833 2013-05-01 Richard Smith <richard@metafoo.co.uk>
16836 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
16837 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
16838 Use __attribute__ ((__gnu_inline__)).
16839 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
16840 Don't use __attribute__ ((__gnu_inline__)).
16842 2013-05-01 Joseph Myers <joseph@codesourcery.com>
16845 * math/s_catan.c (__catan): Handle small real or imaginary part of
16846 input specially to avoid spurious underflow.
16847 * math/s_catanf.c (__catanf): Likewise.
16848 * math/s_catanh.c (__catanh): Likewise.
16849 * math/s_catanhf.c (__catanhf): Likewise.
16850 * math/s_catanhl.c (__catanhl): Likewise.
16851 * math/s_catanl.c (__catanl): Likewise.
16852 * math/libm-test.inc (catan_test): Add more tests.
16853 (catanh_test): Likewise.
16854 * sysdeps/i386/fpu/libm-test-ulps: Update.
16855 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16857 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16859 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16861 2013-04-30 Joseph Myers <joseph@codesourcery.com>
16864 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
16865 accurately for denominator in atan2.
16866 * math/s_catanf.c (__catanf): Likewise.
16867 * math/s_catanh.c (__catanh): Likewise.
16868 * math/s_catanhf.c (__catanhf): Likewise.
16869 * math/s_catanhl.c (__catanhl): Likewise.
16870 * math/s_catanl.c (__catanl): Likewise.
16871 * math/libm-test.inc (catan_test): Add more tests.
16872 (catanh_test): Likewise.
16873 * sysdeps/i386/fpu/libm-test-ulps: Update.
16874 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16876 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16878 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
16880 * benchtests/Makefile (bench): Remove slow benchmarks.
16881 * benchtests/atan-inputs: Add slow benchmark inputs.
16882 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
16883 (BENCH_FUNC): Accept variant offset.
16885 * benchtests/bench-skeleton.c (main): Run benchmark for each
16887 * benchtests/cos-inputs: Add slow benchmark inputs.
16888 * benchtests/exp-inputs: Likewise.
16889 * benchtests/pow-inputs: Likewise.
16890 * benchtests/sin-inputs: Likewise.
16891 * benchtests/slowatan-inputs: Remove.
16892 * benchtests/slowatan.c: Remove.
16893 * benchtests/slowcos-inputs: Remove.
16894 * benchtests/slowcos.c: Remove.
16895 * benchtests/slowexp-inputs: Remove.
16896 * benchtests/slowexp.c: Remove.
16897 * benchtests/slowpow-inputs: Remove.
16898 * benchtests/slowpow.c: Remove.
16899 * benchtests/slowsin-inputs: Remove.
16900 * benchtests/slowsin.c: Remove.
16901 * benchtests/slowtan-inputs: Remove.
16902 * benchtests/slowtan.c: Remove.
16903 * benchtests/tan-inputs: Add slow benchmark inputs.
16904 * scripts/bench.pl: Parse comments and directives.
16906 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
16908 ($(objpfx)bench-%.c): Remove *-ITER.
16909 * benchtests/bench-modf.c: Remove definition of ITER.
16910 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
16911 (main): Loop for DURATION seconds instead of fixed number of
16913 * scripts/bench.pl: Don't expect iterations in parameters.
16915 2013-04-29 Roland McGrath <roland@hack.frob.com>
16917 * io/fchdir.c (__fchdir): Renamed from fchdir.
16918 (fchdir): Define as weak alias.
16920 2013-04-29 Joseph Myers <joseph@codesourcery.com>
16922 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
16923 (ERRNO_EDOM): Likewise.
16924 (ERRNO_ERANGE): Likewise.
16925 (noErrnoTests): New variable.
16926 (init_max_error): Set errno to 0.
16927 (test_single_errno): New function.
16928 (test_errno): Likewise.
16929 (check_float_internal): Call test_errno. Set errno to 0.
16930 (check_complex): Refer to errno tests in comment.
16931 (check_int): Call test_errno. Set errno to 0.
16932 (check_long): Likewise.
16933 (check_bool): Likewise.
16934 (check_longlong): Likewise.
16935 (cos_test): Use ERRNO_* flags for errno tests instead of
16937 (expm1_test): Likewise.
16938 (fmod_test): Likewise.
16939 (ilogb_test): Likewise.
16940 (lgamma_test): Likewise.
16941 (pow_test): Likewise.
16942 (remainder_test): Likewise.
16943 (sin_test): Likewise.
16944 (tan_test): Likewise.
16945 (yn_test): Likewise.
16946 (initialize): Set errno to 0.
16947 (main): Print number of errno tests.
16948 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
16950 2013-04-29 Andreas Jaeger <aj@suse.de>
16953 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
16957 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
16958 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
16962 * stdlib/random.c (__initstate): Return NULL if
16966 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
16967 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
16970 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16972 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16974 2013-04-29 Joseph Myers <joseph@codesourcery.com>
16976 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
16977 of individual tests.
16978 (casin_test): Likewise.
16979 (casinh_test): Likewise.
16981 2013-04-27 Joseph Myers <joseph@codesourcery.com>
16984 * math/s_catan.c (__catan): Handle arguments with large real or
16985 imaginary part separately without squaring.
16986 * math/s_catanf.c (__catanf): Likewise.
16987 * math/s_catanh.c (__catanh): Likewise.
16988 * math/s_catanhf.c (__catanhf): Likewise.
16989 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
16991 (__catanhl): Handle arguments with large real or imaginary part
16992 separately without squaring.
16993 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
16995 (__catanl): Handle arguments with large real or imaginary part
16996 separately without squaring.
16997 * math/libm-test.inc (catan_test): Add more tests.
16998 (catanh_test): Likewise.
16999 * sysdeps/i386/fpu/libm-test-ulps: Update.
17000 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17002 2013-04-27 Andreas Jaeger <aj@suse.de>
17005 * stdlib/stdlib.h: Update guards for qecvt.
17006 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
17009 2013-04-27 Allan McRae <allan@archlinux.org>
17011 * sysdeps/i386/fpu/libm-test-ulps: Update.
17013 2013-04-26 Joseph Myers <joseph@codesourcery.com>
17016 * math/s_catan.c: Include <float.h>.
17017 (__catan): Ensure underflow exception occurs for underflowed
17019 * math/s_catanf.c: Include <float.h>.
17020 (__catanf): Ensure underflow exception occurs for underflowed
17022 * math/s_catanh.c: Include <float.h>.
17023 (__catanh): Ensure underflow exception occurs for underflowed
17025 * math/s_catanhf.c: Include <float.h>.
17026 (__catanhf): Ensure underflow exception occurs for underflowed
17028 * math/s_catanhl.c: Include <float.h>.
17029 (__catanhl): Ensure underflow exception occurs for underflowed
17031 * math/s_catanl.c: Include <float.h>.
17032 (__catanl): Ensure underflow exception occurs for underflowed
17034 * math/libm-test.inc (catan_test): Add more tests.
17035 (catanh_test): Likewise.
17038 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
17039 underflowed result.
17040 * math/s_ccoshf.c (__ccoshf): Likewise.
17041 * math/s_ccoshl.c (__ccoshl): Likewise.
17042 * math/s_csin.c (__csin): Likewise.
17043 * math/s_csinf.c (__csinf): Likewise.
17044 * math/s_csinh.c (__csinh): Likewise.
17045 * math/s_csinhf.c (__csinhf): Likewise.
17046 * math/s_csinhl.c (__csinhl): Likewise.
17047 * math/s_csinl.c (__csinl): Likewise.
17048 * math/libm-test.inc (ccos_test): Add more tests.
17049 (ccosh_test): Likewise.
17050 (csin_test): Likewise.
17051 (csinh_test): Likewise.
17053 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17055 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
17056 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
17057 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
17058 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
17059 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
17060 powerpc/power5+/fpu folders.
17061 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
17064 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
17066 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17068 2013-04-25 Joseph Myers <joseph@codesourcery.com>
17070 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
17071 additions to variable.
17072 [$(config-machine) = x86_64] (modules-names): Likewise.
17073 ($(objpfx)tst-audit3): Remove dependency.
17074 ($(objpfx)tst-audit3.out): Likewise.
17075 ($(objpfx)tst-audit4): Likewise.
17076 ($(objpfx)tst-audit4.out): Likewise.
17077 ($(objpfx)tst-audit5): Likewise.
17078 ($(objpfx)tst-audit5.out): Likewise.
17079 ($(objpfx)tst-audit6): Likewise.
17080 ($(objpfx)tst-audit6.out): Likewise.
17081 ($(objpfx)tst-audit7): Likewise.
17082 ($(objpfx)tst-audit7.out): Likewise.
17083 (tst-audit3-ENV): Remove variable.
17084 (tst-audit4-ENV): Likewise.
17085 (tst-audit5-ENV): Likewise.
17086 (tst-audit6-ENV): Likewise.
17087 (tst-audit7-ENV): Likewise.
17088 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
17089 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
17090 addition to variable.
17091 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
17092 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
17093 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
17094 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
17095 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
17096 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
17097 tst-audit3, tst-audit4 and tst-audit5.
17098 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
17099 tst-audit6 and tst-audit7.
17100 [$(subdir) = elf] (modules-names): Add audit modules for those
17102 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
17103 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
17104 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
17105 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
17106 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
17107 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
17108 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
17109 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
17110 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
17111 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
17112 [$(subdir) = elf] (tst-audit3-ENV): New variable.
17113 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
17114 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
17115 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
17116 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
17117 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
17119 [$(subdir) = elf && $(config-cflags-avx) = yes]
17120 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
17121 [$(subdir) = elf && $(config-cflags-avx) = yes]
17122 (CFLAGS-tst-auditmod4a.c): Likewise.
17123 [$(subdir) = elf && $(config-cflags-avx) = yes]
17124 (CFLAGS-tst-auditmod4b.c): Likewise.
17125 [$(subdir) = elf && $(config-cflags-avx) = yes]
17126 (CFLAGS-tst-auditmod6b.c): Likewise.
17127 [$(subdir) = elf && $(config-cflags-avx) = yes]
17128 (CFLAGS-tst-auditmod6c.c): Likewise.
17129 [$(subdir) = elf && $(config-cflags-avx) = yes]
17130 (CFLAGS-tst-auditmod7b.c): Likewise.
17131 * elf/tst-audit3.c: Move to ...
17132 * sysdeps/x86_64/tst-audit3.c: ... here.
17133 * elf/tst-audit4.c: Move to ...
17134 * sysdeps/x86_64/tst-audit4.c: ... here.
17135 * elf/tst-audit5.c: Move to ...
17136 * sysdeps/x86_64/tst-audit5.c: ... here.
17137 * elf/tst-audit6.c: Move to ...
17138 * sysdeps/x86_64/tst-audit6.c: ... here.
17139 * elf/tst-audit7.c: Move to ...
17140 * sysdeps/x86_64/tst-audit7.c: ... here.
17141 * elf/tst-auditmod3a.c: Move to ...
17142 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
17143 * elf/tst-auditmod3b.c: Move to ...
17144 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
17145 * elf/tst-auditmod4a.c: Move to ...
17146 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
17147 * elf/tst-auditmod4b.c: Move to ...
17148 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
17149 * elf/tst-auditmod5a.c: Move to ...
17150 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
17151 * elf/tst-auditmod5b.c: Move to ...
17152 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
17153 * elf/tst-auditmod6a.c: Move to ...
17154 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
17155 * elf/tst-auditmod6b.c: Move to ...
17156 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
17157 * elf/tst-auditmod6c.c: Move to ...
17158 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
17159 * elf/tst-auditmod7a.c: Move to ...
17160 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
17161 * elf/tst-auditmod7b.c: Move to ...
17162 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
17164 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
17167 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
17168 define unconditionally.
17169 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
17170 define unconditionally.
17171 (INT8_C, INT16_C, etc.): Likewise.
17173 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
17175 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
17176 __ehdr_start with hidden visibility.
17178 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
17180 2013-04-24 Carlos O'Donell <carlos@redhat.com>
17182 * math/libm-test.inc (cos_test): Use accurate hex constants.
17183 (sincost_test): Likewise.
17185 2013-04-24 Joseph Myers <joseph@codesourcery.com>
17187 * math/libm-test.inc (catan_test): Add more tests.
17188 (catanh_test): Likewise.
17190 * math/s_catanf.c (__catanf): Use suffixed floating-point
17192 * math/s_catanhf.c (__catanhf): Likewise.
17193 * math/s_catanhl.c (__catanhl): Likewise.
17194 * math/s_catanl.c (__catanl): Likewise.
17197 * math/s_catan.c (__catan): Calculate imaginary part of result
17198 with log1p not log unless computing log of number close to 0.
17199 * math/s_catanf.c (__catanf): Likewise.
17200 * math/s_catanl.c (__catanl): Likewise.
17201 * math/s_catanh.c (__catanh): Calculate real part of result with
17202 log1p not log unless computing log of number close to 0.
17203 * math/s_catanhf.c (__catanhf): Likewise.
17204 * math/s_catanhl.c (__catanhl): Likewise.
17205 * math/libm-test.inc (catan_test): Add more tests.
17206 (catanh_test): Likewise.
17207 * sysdeps/i386/fpu/libm-test-ulps: Update.
17208 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17210 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
17212 * benchtests/Makefile: Mention files in which fast and slow
17213 paths of math functions are implemented.
17215 2013-04-23 Roland McGrath <roland@hack.frob.com>
17217 * sysdeps/posix/timespec_get.c: New file.
17219 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17221 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
17223 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
17225 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
17226 powerpc/power5/fpu folders.
17227 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
17228 * benchtests/Makefile: Add modf testcase.
17229 * benchtests/bench-modf.c: New file: Benchmark test for mo
17231 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
17234 * time/Makefile (tests): Add tst-strptime-whitespace.
17235 * time/strptime_l.c (get_number): Use ISSPACE.
17236 (__strptime_internal): Likewise.
17237 * time/tst-strptime-whitespace.c: New test case.
17239 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
17241 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
17243 (_nss_files_init): Set it here.
17245 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
17247 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
17248 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
17251 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
17253 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
17255 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
17257 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
17260 2013-04-21 David S. Miller <davem@davemloft.net>
17262 * po/ru.po: Update Russion translation from translation project.
17264 2013-04-17 Adam Conrad <adconrad@0c3.net>
17266 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
17269 2013-04-17 Carlos O'Donell <carlos@redhat.com>
17271 * configure.in: Remove i386 configure warning. Remove i386 case.
17272 * configure: Regenerate.
17273 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
17274 Add example to error message.
17275 * sysdeps/i386/configure: Regenerate.
17277 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
17279 * benchtests/Makefile (bench): Add cos, tan, slowcos and
17281 * benchtests/cos-inputs: New file.
17282 * benchtests/slowcos-inputs: New file.
17283 * benchtests/slowcos.c: New file.
17284 * benchtests/slowtan-inputs: New file.
17285 * benchtests/slowtan.c: New file.
17286 * benchtests/tan-inputs: New file.
17288 2013-04-16 Roland McGrath <roland@hack.frob.com>
17290 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
17293 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17295 * benchtests/Makefile: Include cppflags-iterator.mk to add
17296 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
17298 * Makefile.in (bench-clean): New target.
17299 * benchtests/Makefile (bench-clean): Likewise.
17301 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
17303 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
17305 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
17307 * stdio-common/tstdiomisc.c: Fix coding-style violation.
17309 2013-04-15 Andreas Schwab <schwab@suse.de>
17311 * nscd/grpcache.c (cache_addgr): Properly check for short write.
17312 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17313 * nscd/pwdcache.c (cache_addpw): Likewise.
17314 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
17317 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17319 * benchtests/Makefile (bench): Write all output to
17320 bench-out.tmp together.
17322 2013-04-15 Andreas Schwab <schwab@suse.de>
17324 * nscd/nscd.c (main): Don't fork again after closing files.
17326 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17328 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
17330 * benchtests/Rules (bench-deps): Collect dependencies into a
17331 single variable. Add Makefile to dependencies.
17332 ($(objpfx)bench-%.c): Depend on bench-deps.
17334 2013-04-12 Roland McGrath <roland@hack.frob.com>
17335 Xavier Roche <roche+kml2@exalead.com>
17338 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
17339 just that it's a file descriptor.
17340 * manual/llio.texi (Synchronizing AIO Operations): Update description
17341 for EBADF error from aio_fsync.
17343 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
17345 * Rules (bench): Move target definition...
17346 * benchtests/Makefile: ... here.
17348 2013-04-11 Carlos O'Donell <carlos@redhat.com>
17350 * math/libm-test.inc (cos_test): Fix PI/2 test.
17351 (sincos_test): Likewise.
17352 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
17353 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
17355 2013-04-11 Andreas Schwab <schwab@suse.de>
17358 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
17359 accept exponent character only when digits were seen.
17360 * stdio-common/Makefile (tests): Add bug26.
17361 * stdio-common/bug26.c: New file.
17364 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
17367 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17369 * Makeconfig (rtld-prefix): Define built linker prefix.
17370 * Rules (run-bench): Use it.
17371 * math/Makefile (run-regen-ulps): Likewise.
17373 * Rules (bench): Remove eval.
17375 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17376 Roland McGrath <roland@hack.frob.com>
17377 Ondrej Bilka <neleai@seznam.cz>
17380 * time/getdate.c: Include ctype.h and alloca.h.
17381 (__getdate_r): Trim leading and trailing spaces of input.
17382 * time/tst-getdate.c (tests): Add tests with leading and
17385 2013-04-08 Roland McGrath <roland@hack.frob.com>
17388 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
17389 when computing value.
17391 2013-04-06 Carlos O'Donell <carlos@redhat.com>
17393 * math/README.libm-test (How can I generate "libm-test-ulps"?):
17394 Use testrun.sh to run libm tests.
17397 * elf/dl-open.c (dl_open_worker): memset all of seen array.
17399 2013-04-06 Marko Myllynen <myllynen@redhat.com>
17402 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
17404 2013-04-06 Carlos O'Donell <carlos@redhat.com>
17406 * Makefile.in (regen-ulps): New target.
17407 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
17408 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
17409 [ifneq (no,$(PERL)] (regen-ulps): New target.
17410 [ifeq (no,$(PERL)] (regen-ulps): New target.
17411 * math/libm-test.inc (ulps_file_name): Define.
17412 (output_dir): New variable.
17413 (options): Add "output-dir" option.
17414 (parse_opt): Handle 'o' case.
17415 (main): If output_dir is non-NULL use it as a prefix
17417 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
17419 2013-04-06 Carlos O'Donell <carlos@redhat.com>
17421 [BZ #10060, #10062]
17422 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
17423 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
17424 fail configure if __sync_val_compare_and_swap is not inlined.
17425 * sysdeps/i386/configure: Regenerate.
17426 * configure.in: Build for i686 when configured for i386.
17427 * configure: Regenerate.
17428 * README: Remove i386 reference.
17430 2013-04-06 Carlos O'Donell <carlos@redhat.com>
17432 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
17433 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17435 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
17437 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
17438 (lmsnanval): New variables.
17439 (F): Add conversion tests.
17440 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
17441 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
17443 * stdio-common/tstdiomisc.c (F): Properly collect individual
17446 [BZ #14686, #15336]
17447 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
17448 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
17449 Instead, use input NaN values or generate a qNaN by arithmetic
17450 operation. Also fix bugs to comply with the standard.
17451 * math/libm-test.inc (remainder_test): Add more tests.
17453 [BZ #15335, #15342]
17454 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
17455 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
17456 input NaN values or generate a qNaN by arithmetic operation.
17458 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
17461 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
17464 2013-04-03 Joseph Myers <joseph@codesourcery.com>
17467 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
17468 underflowed result.
17469 * math/s_cexpf.c (__cexpf): Likewise.
17470 * math/s_cexpl.c (__cexpl): Likewise.
17471 * math/libm-test.inc (cexp_test): Add more tests.
17473 2013-04-03 Andreas Schwab <schwab@suse.de>
17476 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
17477 order arrays from heap if bigger than alloca cutoff.
17479 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
17481 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
17482 (SNAN_TESTS_double): Refer to GCC PR56831.
17483 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
17486 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
17488 * Rules (bench): Move bench.out after the run is complete.
17490 * Rules (bench): Echo currently running benchmark.
17492 * benchtests/Makefile (bench): Add atan and slowatan.
17493 * benchtests/atan-inputs: New file.
17494 * benchtests/slowatan-inputs: New file.
17495 * benchtests/slowatan.c: New file.
17497 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
17498 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
17502 * sysdeps/unix/sysv/linux/kernel-features.h
17503 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
17504 __ASSUME_XFS_RESTRICTED_CHOWN.
17505 * sysdeps/unix/sysv/linux/pathconf.c
17506 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
17507 Save and restore errno.
17509 2013-04-02 Joseph Myers <joseph@codesourcery.com>
17512 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
17513 arguments using __kernel_casinh.
17514 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
17515 arguments using __kernel_casinhf.
17516 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
17517 arguments using __kernel_casinhl.
17518 * math/libm-test.inc (cacosh_test): Add more tests.
17519 * sysdeps/i386/fpu/libm-test-ulps: Update.
17520 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17522 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17524 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
17525 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
17527 * bench/Makefile (bench): Add sin and slowsin.
17528 * benchtests/sin-inputs: New file.
17529 * benchtests/slowsin-inputs: New file.
17530 * benchtests/slowsin.c: New file.
17532 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
17533 (bench): Add slowexp and slowpow.
17534 (exp-ITER): Increase iterations.
17535 (pow-ITER): Likewise.
17536 * benchtests/exp-inputs: Change input.
17537 * benchtests/pow-inputs: Likewise.
17538 * benchtests/slowexp-inputs: New file.
17539 * benchtests/slowexp.c: New file.
17540 * benchtests/slowpow-inputs: New file.
17541 * benchtests/slowpow.c: New file.
17543 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17545 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
17547 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
17548 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
17549 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
17550 * benchtests/Makefile: Add rint benchtest.
17551 * benchtests/rint-inputs: Input for rint benchtest.
17553 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
17555 * Versions.def (libm): Add GLIBC_2.18.
17556 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
17557 hidden libm prototypes.
17558 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
17559 * math/Makefile (libm-calls): Add s_issignaling.
17560 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
17561 __issignalingf, __issignalingl. Adjust all libm.abilist files.
17562 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
17564 * math/math.h [__USE_GNU] (issignaling): New macro.
17565 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
17566 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
17567 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
17568 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
17569 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
17570 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
17571 * manual/arith.texi (issignaling): New section.
17572 * manual/libm-err-tab.pl (@all_functions): Update comment.
17573 * math/gen-libm-test.pl (parse_args): Apply special handling for
17575 * math/libm-test.inc (print_float, issignaling_test): New
17577 (check_float_internal): Add issignaling checks.
17578 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
17579 default definition.
17580 * sysdeps/powerpc/math-tests.h: New file.
17581 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
17583 * math/test-snan.c (TEST_FUNC): Likewise.
17585 2013-03-30 David S. Miller <davem@davemloft.net>
17587 * po/de.po: Update from translation team.
17589 2013-03-30 Joseph Myers <joseph@codesourcery.com>
17592 * math/k_casinh.c (__kernel_casinh): Handle arguments with
17593 imaginary part less than 1.0 and real part less than 0.5
17595 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17596 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17597 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
17598 (cacos_test): Add more tests.
17599 (casin_test): Likewise.
17600 (casinh_test): Likewise.
17601 * sysdeps/i386/fpu/libm-test-ulps: Update.
17602 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17604 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17606 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
17607 ONE with its value.
17609 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
17610 (__pow_mp): Replace ONE and MONE with their values.
17611 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17612 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
17613 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
17614 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
17615 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17616 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
17618 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
17620 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
17621 (__pow_mp): Replace ZERO and MZERO with their values.
17622 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
17623 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17624 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
17625 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
17626 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17627 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
17630 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
17632 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
17634 2013-03-28 Roland McGrath <roland@hack.frob.com>
17636 * include/stdlib.h [!SHARED] (__call_tls_dtors):
17637 Declare with __attribute__ ((weak)).
17638 * stdlib/exit.c (__libc_atexit) [!SHARED]:
17639 Call __call_tls_dtors only if it's not NULL.
17641 2013-03-28 Roland McGrath <roland@hack.frob.com>
17643 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
17644 didn't do it already, then set _dl_phdr and _dl_phnum based on the
17645 magic __ehdr_start linker symbol if it's defined.
17646 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
17647 them up here if it was already done.
17649 * elf/dl-support.c (_dl_phdr): Make pointer to const.
17650 (_dl_aux_init): Use const in cast when setting it.
17651 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
17652 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
17653 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
17655 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
17657 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
17658 * csu/libc-tls.c: Nor here.
17659 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
17661 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
17662 (__libc_message): Never call vsyslog.
17664 2013-03-28 Alan Modra <amodra@gmail.com>
17666 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
17668 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
17671 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17674 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
17676 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17678 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17681 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
17682 Don't add gid passed as argument.
17684 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
17686 2013-03-27 Joseph Myers <joseph@codesourcery.com>
17689 * math/k_casinh.c (__kernel_casinh): Handle arguments with
17690 imaginary part between 1.0 and 1.5 and real part less than 0.5
17692 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17693 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17694 * math/libm-test.inc (cacos_test): Add more tests.
17695 (casin_test): Likewise.
17696 (casinh_test): Likewise.
17697 * sysdeps/i386/fpu/libm-test-ulps: Update.
17698 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17700 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17702 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
17705 (denorm): Likewise.
17706 (__dbl_mp): Likewise.
17707 (add_magnitudes): Likewise.
17708 (sub_magnitudes): Likewise.
17716 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
17718 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
17719 (__dubcos): Likewise.
17720 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
17721 (__ieee754_acos): Likewise.
17722 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
17723 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
17724 (__exp1): Likewise.
17725 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17726 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
17728 (my_log2): Likewise.
17729 (checkint): Likewise.
17730 * sysdeps/ieee754/dbl-64/e_remainder.c
17731 (__ieee754_remainder): Likewise.
17732 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17733 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
17734 (bsloww): Likewise.
17735 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
17737 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
17738 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
17739 MANTISSA_STORE_T to store computations on mantissa. Use
17740 macros for rounding and division.
17741 (denorm): Likewise.
17742 (__dbl_mp): Likewise.
17743 (add_magnitudes): Likewise.
17744 (sub_magnitudes): Likewise.
17747 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
17748 powers of two in terms of TWOPOW macro.
17749 (mp_no): Make type of mantissa as MANTISSA_T.
17750 [!RADIXI]: Define RADIXI.
17751 [!TWO52]: Define TWO52.
17752 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
17754 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17756 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
17757 llroundl symbol when building for PPC32.
17759 2013-03-24 Mark H Weaver <mhw@netris.org>
17761 * manual/arith.texi (Normalization Functions): Fix prototypes for
17762 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
17764 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17767 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
17768 high value to check if expl overflow.
17769 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
17770 to check for underflow and overflow.
17771 * math/libm-test.inc: Add exp test.
17773 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
17776 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
17779 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17781 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
17784 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
17786 * math/gen-libm-test.pl (parse_args, special_functions): Properly
17787 wrap blocks consisting of several statements.
17789 * sysdeps/generic/math-tests.h: New file.
17790 * sysdeps/i386/fpu/math-tests.h: Likewise.
17791 * math/test-snan.c: Include it.
17792 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
17794 2013-03-21 Joseph Myers <joseph@codesourcery.com>
17797 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
17798 (__ieee754_j0l): Do not improve calculations using cos of twice
17799 input for inputs above LDBL_MAX / 2.0L.
17800 (__ieee754_y0l): Likewise.
17801 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
17802 (__ieee754_j1l): Do not improve calculations using cos of twice
17803 input for inputs above LDBL_MAX / 2.0L.
17804 (__ieee754_y1l): Likewise.
17805 * math/libm-test.inc (j0_test): Add another test.
17806 (j1_test): Likewise.
17807 (y0_test): Likewise.
17808 (y1_test): Likewise.
17809 * sysdeps/i386/fpu/libm-test-ulps: Update.
17811 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17813 * Rules ($(objpfx)bench-%.c): Include code from a C source
17816 2013-03-21 Joseph Myers <joseph@codesourcery.com>
17819 * math/k_casinh.c (__kernel_casinh): Handle arguments with
17820 imaginary part 1.0 and real part less than 0.5 specially.
17821 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17822 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17823 * math/libm-test.inc (cacos_test): Add more tests.
17824 (casin_test): Likewise.
17825 (casinh_test): Likewise.
17826 * sysdeps/i386/fpu/libm-test-ulps: Update.
17827 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17829 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17831 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
17832 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
17834 2013-03-20 Joseph Myers <joseph@codesourcery.com>
17836 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
17837 * config.make.in (config-cflags-sse4): Remove variable.
17838 (config-cflags-avx): Likewise.
17839 (config-cflags-sse2avx): Likewise.
17840 (config-cflags-novzeroupper): Likewise.
17841 (config-asflags-i686): Likewise.
17842 (have-mfma4): Likewise.
17843 (have-as-vis3): Likewise.
17845 * configure.in (MIG): Do not AC_SUBST.
17846 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
17847 (libc_cv_cc_sse4): Do not AC_SUBST.
17848 (libc_cv_cc_avx): Likewise.
17849 (libc_cv_cc_sse2avx): Likewise.
17850 (libc_cv_cc_novzeroupper): Likewise.
17851 (libc_cv_cc_fma4): Likewise.
17852 (libc_cv_as_i686): Likewise.
17853 (libc_cv_sparc_as_vis3): Likewise.
17854 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
17856 (config-asflags-i686): Likewise.
17857 (config-cflags-avx): Likewise.
17858 (config-cflags-sse2avx): Likewise.
17859 (have-mfma4): Likewise.
17860 (config-cflags-novzeroupper): Likewise.
17861 * sysdeps/mach/configure.in (MIG): Likewise.
17862 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
17863 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
17865 (config-cflags-avx): Likewise.
17866 (config-cflags-sse2avx): Likewise.
17867 (have-mfma4): Likewise.
17868 (config-cflags-novzeroupper): Likewise.
17869 * configure: Regenerated.
17870 * sysdeps/i386/configure: Likewise.
17871 * sysdeps/mach/configure: Likewise.
17872 * sysdeps/sparc/configure: Likewise.
17873 * sysdeps/x86_64/configure: Likewise.
17875 2013-03-20 Roland McGrath <roland@hack.frob.com>
17878 * locale/programs/localedef.c (options): Put N_ translation marker
17879 on argument names, not just descriptions.
17881 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17883 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
17885 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
17888 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
17890 2013-03-19 Roland McGrath <roland@hack.frob.com>
17892 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
17893 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
17894 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
17895 [!BEFORE_ABORT] (before_abort): New function.
17896 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
17897 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
17898 (writev_for_fatal): New function.
17899 (WRITEV_FOR_FATAL): New macro; call that.
17900 (backtrace_and_maps): New function.
17901 (BEFORE_ABORT): New macro; call that.
17902 (struct str_list): Type removed.
17903 (__libc_message, __libc_fatal): Functions removed.
17904 Include <sysdeps/posix/libc_fatal.c> instead.
17906 2013-03-19 Joseph Myers <joseph@codesourcery.com>
17908 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
17910 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
17913 2013-03-19 Andreas Schwab <schwab@suse.de>
17915 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
17916 * sysdeps/gnu/configure: Regenerate.
17918 * configure.in: Substitute libc_cv_rtlddir.
17919 * configure: Regenerate.
17920 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
17921 * Makeconfig (rtlddir, inst_rtlddir): New variables.
17922 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
17923 * elf/Makefile (install-others, CFLAGS-interp.c)
17924 (ldso_install, common-ldd-rewrite): Likewise.
17925 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
17926 $(inst_slibdir)/$(rtld-installed-name).
17927 * scripts/rellns-sh: Add -p option.
17928 * Makerules (make-shlib-link): Use rellns-sh to get relative name
17931 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17933 * manual/nptl.texi: Renamed to ...
17934 * manual/threads.texi: ... this.
17935 * manual/Makefile (chapters): Update.
17937 2013-03-18 Roland McGrath <roland@hack.frob.com>
17940 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
17941 on argument names, not just descriptions.
17942 * malloc/memusagestat.c (options): Likewise.
17943 * nss/getent.c (options): Likewise.
17945 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
17948 * iconv/iconv_prog.c (options): Put N_ translation marker
17949 on argument names, not just descriptions.
17950 * iconv/iconvconfig.c (options): Likewise.
17952 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
17954 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
17955 implementation which is faster on all x86_64 architectures.
17956 Tested on AMD, Intel Nehalem, SNB, IVB.
17957 * sysdeps/x86_64/strnlen.S: Likewise.
17959 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17960 Remove all multiarch strlen and strnlen versions.
17961 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
17962 Remove strlen and strnlen related parts.
17964 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
17965 Inline strlen part.
17966 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
17968 * sysdeps/x86_64/multiarch/strlen.S: Remove.
17969 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
17970 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
17971 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
17972 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
17973 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
17975 2013-03-17 Carlos O'Donell <carlos@redhat.com>
17977 * manual/memory.texi (Malloc Tunable Parameters):
17978 Sort parameters alphabetically. Add comments for missing entries.
17980 2013-03-17 David S. Miller <davem@davemloft.net>
17982 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17984 2013-03-16 Joseph Myers <joseph@codesourcery.com>
17987 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
17988 for arguments at most half maximum finite value.
17989 * math/libm-test.inc (j0_test): Add more tests.
17990 (j1_test): Likewise.
17991 (y0_test): Likewise.
17992 (y1_test): Likewise.
17993 * sysdeps/i386/fpu/libm-test-ulps: Update.
17994 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17997 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
17998 1 / x and functions P and Q for arguments above 0x1p256L.
17999 (__ieee754_y0l): Likewise.
18000 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
18001 (__ieee754_y1l): Likewise.
18002 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
18003 (j1_test): Likewise.
18004 (y0_test): Likewise.
18005 (y1_test): Likewise.
18007 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
18009 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
18012 2013-03-15 Roland McGrath <roland@hack.frob.com>
18014 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
18015 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
18016 zero since it's initialized to EXEC_PAGESIZE.
18018 * sysdeps/unix/sysv/linux/ldsodefs.h
18019 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
18020 * sysdeps/generic/ldsodefs.h: ... here.
18022 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
18024 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
18026 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
18028 * math/test-snan.c: Renamed from
18029 sysdeps/powerpc/fpu/test-powerpc-snan.c.
18030 * math/Makefile (tests): Add test-snan.
18031 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
18034 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
18035 SUFFIX. Initialize qNaN_var with __builtin_nan family of
18037 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
18038 __builtin_nan family of functions.
18039 * math/libm-test.inc (initialize): Initialize qnan_value with
18040 __builtin_nan family of functions.
18041 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
18043 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
18045 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
18046 storage class. Initialize qNaN_var and sNaN_var with
18047 __builtin_nan and __builtin_nans families of functions,
18050 * math/libm-test.inc (acosh_test): Also test with qNaN input.
18051 (sqrt_test): Remove duplicate test with qNaN input.
18052 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
18053 (round_test, signbit_test, significand_test): Note missing +/-Inf
18054 as well as qNaN tests.
18056 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
18057 qNaN_var. Fix a few strings, too.
18058 * math/libm-test.inc (nan_value): Rename to qnan_value.
18059 * math/gen-libm-test.pl (%beautify): Adjust to that.
18060 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
18061 * math/test-misc.c (main): Likewise.
18062 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
18063 to __qnan_bytes, and __qnan_union, respectively.
18064 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
18066 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
18067 and lqnanval, respectively.
18068 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
18069 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
18070 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
18071 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
18073 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
18074 * math/test-misc.c (main) [__x86_64__]: Enable test for long
18077 * math/test-misc.c (main): Fix copy'n'pastos.
18078 * misc/tst-efgcvt.c (special): Likewise.
18080 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
18081 Remove declarations.
18083 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18085 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
18086 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
18087 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
18088 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
18090 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18092 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
18093 macro to return vdso values correctly in IFUNC implementations.
18094 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
18095 Optimization by using IFUNC.
18097 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18098 Richard Henderson <rth@redhat.com>
18099 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18101 * Makefile.in (bench): New target.
18102 * NEWS: Mention the benchmark framework.
18103 * Rules (bench): Likewise.
18104 (binaries-bench): Generate binaries for functions to
18106 * benchtests/Makefile: New makefile for benchmark tests.
18107 * benchtests/bench-skeleton.c: New skeleton file for benchmark
18109 * benchtests/exp-inputs: New input file for EXP function.
18110 * benchtests/pow-inputs: New input file for POW function.
18111 * scripts/bench.pl: New script to generate source files for
18112 benchmark programs.
18114 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18116 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
18117 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
18118 computations on mantissa. Use macros for rounding and
18120 (denorm): Likewise.
18121 (__dbl_mp): Likewise.
18122 (add_magnitudes): Likewise.
18123 (sub_magnitudes): Likewise.
18126 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
18127 powers of two in terms of TWOPOW macro.
18128 (mp_no): Make type of mantissa as MANTISSA_T.
18129 [!RADIXI]: Define RADIXI.
18130 [!TWO52]: Define TWO52.
18131 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
18133 * manual/nptl.texi (cindex): Modify threads to pthreads.
18135 2013-03-15 Joseph Myers <joseph@codesourcery.com>
18137 * sysdeps/x86_64/preconfigure: Regenerated.
18139 2013-03-14 Joseph Myers <joseph@codesourcery.com>
18142 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
18144 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
18145 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
18147 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
18148 * math/libm-test.inc (j0_test): Do not allow one spurious
18149 underflow exception.
18150 (y1_test): Likewise.
18152 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18154 * manual/Makefile (chapters): Add nptl.
18155 * manual/debug.texi (Debugging Support): Add link to Threads
18157 * manual/nptl.texi: New file.
18159 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
18161 2013-03-14 Petr Baudis <pasky@ucw.cz>
18163 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
18164 for non-NULL pointer before the memory validity test. Pointed
18165 out by Holger Brunck <holger.brunck@keymile.com>.
18167 2013-03-13 Andreas Schwab <schwab@suse.de>
18169 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
18172 2013-03-13 Joseph Myers <joseph@codesourcery.com>
18174 * timezone/zic.c: Update from tzcode 2013b.
18176 2013-03-12 Carlos O'Donell <carlos@redhat.com>
18178 * manual/install.texi (Configuring and compiling):
18179 Mention i686 and i586.
18180 * INSTALL: Regenerate.
18182 2013-03-12 Roland McGrath <roland@hack.frob.com>
18184 * sysdeps/init_array/elf-init.c: New file.
18186 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
18187 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
18189 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
18190 __gmon_start__ as global, but as static with a .preinit_array pointer.
18191 * sysdeps/init_array/gmon-start.c: New file. Use that.
18192 * sysdeps/init_array/crti.S: New file, empty except for comments.
18193 * sysdeps/init_array/crtn.S: Likewise.
18195 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
18197 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
18199 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18200 Remove Prefer_SSE_for_memop.
18201 * sysdeps/x86_64/multiarch/init-arch.h: Remove
18202 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
18203 HAS_PREFER_SSE_FOR_MEMOP.
18204 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
18206 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18207 Remove bzero, memset ifunc support.
18208 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
18209 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
18210 * sysdeps/x86_64/multiarch/memset.S: Likewise.
18211 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18213 2013-03-11 Andreas Schwab <schwab@suse.de>
18216 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
18218 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
18219 (GLIBC_2.16): Remove pthread_atfork.
18221 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
18223 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
18224 (ptestcases.h): Likewise.
18226 2013-03-08 Roland McGrath <roland@hack.frob.com>
18228 * Makeconfig ($(common-objpfx)config.status): Depend on
18229 sysdeps/*/preconfigure{,.in} too.
18231 2013-03-08 Joseph Myers <joseph@codesourcery.com>
18233 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
18234 (__free_hook): Use void * instead of __malloc_ptr_t.
18235 (__malloc_hook): Likewise.
18236 (__realloc_hook): Likewise.
18237 (__memalign_hook): Likewise.
18238 (__after_morecore_hook): Likewise.
18239 * malloc/arena.c (save_malloc_hook): Likewise.
18240 (save_free_hook): Likewise.
18241 * malloc/hooks.c (malloc_hook_ini): Likewise.
18242 (realloc_hook_ini): Likewise.
18243 (memalign_hook_ini): Likewise.
18244 * malloc/malloc.c (malloc_hook_ini): Likewise.
18245 (realloc_hook_ini): Likewise.
18246 (memalign_hook_ini): Likewise.
18247 (__free_hook): Likewise.
18248 (__malloc_hook): Likewise.
18249 (__realloc_hook): Likewise.
18250 (__memalign_hook): Likewise.
18251 (__libc_malloc): Likewise.
18252 (__libc_free): Likewise.
18253 (__libc_realloc): Likewise.
18254 (__libc_memalign): Likewise.
18255 (__libc_valloc): Likewise.
18256 (__libc_pvalloc): Likewise.
18257 (__libc_calloc): Likewise.
18258 (__posix_memalign): Likewise.
18259 * malloc/morecore.c (__sbrk): Likewise.
18260 (__default_morecore): Likewise.
18262 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
18264 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
18265 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
18266 __malloc_ptrdiff_t.
18268 * malloc/malloc.h (__malloc_size_t): Remove macro.
18269 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
18271 (old_memalign_hook): Likewise.
18272 (old_realloc_hook): Likewise.
18273 (struct hdr): Likewise.
18275 (mallochook): Likewise.
18276 (memalignhook): Likewise.
18277 (reallochook): Likewise.
18278 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
18279 (tr_old_realloc_hook): Likewise.
18280 (tr_old_memalign_hook): Likewise.
18281 (tr_mallochook): Likewise.
18282 (tr_reallochook): Likewise.
18283 (tr_memalignhook): Likewise.
18285 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18287 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
18288 default_ldbl_pack and using as default implementation.
18289 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
18291 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
18292 redundant definition.
18293 (ldbl_insert_mantissa): Likewise.
18294 (ldbl_canonicalize): Likewise.
18295 (ldbl_nearbyint): Likewise.
18296 (ldbl_pack): Rename to ldbl_pack_ppc.
18297 (ldbl_unpack): Rename to ldbl_unpack_ppc.
18298 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
18299 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
18301 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
18303 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
18304 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
18305 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
18306 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
18307 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
18308 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
18309 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
18310 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
18312 2013-03-07 Andreas Jaeger <aj@suse.de>
18314 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18317 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
18319 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
18320 Include mpa.h and declare __MPEXP.
18321 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
18322 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
18323 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
18324 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
18325 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
18326 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
18327 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
18329 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
18330 (__slowpow): Use long double EXPL and LOGL functions to
18332 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
18333 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
18334 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
18335 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
18336 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
18337 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
18339 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
18340 intermediate variable to calculate exponent.
18342 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
18346 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
18347 [!NO__SQR]: Define __sqr.
18348 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
18349 and NO__SQR. Remove all code except __mul and __sqr. Include
18350 sysdeps/ieee754/dbl-64/mpa.c.
18351 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18354 * posix/Makefile (tests): Add tst-pathconf.
18355 * posix/tst-pathconf.c: New test case.
18356 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
18358 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
18360 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
18362 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
18364 2013-03-06 Andreas Jaeger <aj@suse.de>
18366 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
18367 definition via __MAP_ANONYMOUS.
18369 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
18370 it's not part of Linux headers.
18372 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
18373 (MAP_HUGE_MASK): Define.
18375 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
18377 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18378 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
18380 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18381 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
18383 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18384 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
18386 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18388 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
18389 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
18390 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
18391 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
18392 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
18393 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
18395 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
18398 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18399 Handle f2fs and efivarfs.
18401 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
18404 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
18405 (EFIVARFS_MAGIC): Add.
18406 (F2FS_LINK_MAX): Add.
18408 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
18410 * stdio-common/vfprintf.c: Replace __builtin_expect with
18413 2013-03-06 Joseph Myers <joseph@codesourcery.com>
18416 * sysdeps/generic/bp-sym.h: Remove file.
18417 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
18418 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
18419 <bp-sym.h> and <bp-asm.h>.
18420 (__longjmp): Don't use BP_SYM.
18421 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
18423 (memcpy): Don't use BP_SYM.
18424 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
18425 <bp-sym.h> and <bp-asm.h>.
18426 (memcpy): Don't use BP_SYM.
18427 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
18429 (memcpy): Don't use BP_SYM.
18430 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
18432 (memset): Don't use BP_SYM.
18433 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18434 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18435 (__bzero): Don't use BP_SYM.
18436 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18437 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18438 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
18439 <bp-sym.h> and <bp-asm.h>.
18440 (memcmp): Don't use BP_SYM. Remove comment about bounded
18442 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
18443 <bp-sym.h> and <bp-asm.h>.
18444 (memcpy): Don't use BP_SYM.
18445 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
18446 <bp-sym.h> and <bp-asm.h>.
18447 (memset): Don't use BP_SYM.
18448 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18449 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18450 (__bzero): Don't use BP_SYM.
18451 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18452 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18453 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
18454 <bp-sym.h> and <bp-asm.h>.
18455 (strncmp): Don't use BP_SYM. Remove comment about bounded
18457 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
18458 <bp-sym.h> and <bp-asm.h>.
18459 (memcpy): Don't use BP_SYM.
18460 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
18461 <bp-sym.h> and <bp-asm.h>.
18462 (memset): Don't use BP_SYM.
18463 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18464 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18465 (__bzero): Don't use BP_SYM.
18466 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18467 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18468 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
18469 <bp-sym.h> and <bp-asm.h>.
18470 (__memchr): Don't use BP_SYM.
18471 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
18472 <bp-sym.h> and <bp-asm.h>.
18473 (memcmp): Don't use BP_SYM. Remove comment about bounded
18475 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
18476 <bp-sym.h> and <bp-asm.h>.
18477 (memcpy): Don't use BP_SYM.
18478 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
18479 <bp-sym.h> and <bp-asm.h>.
18480 (__mempcpy): Don't use BP_SYM.
18481 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
18482 <bp-sym.h> and <bp-asm.h>.
18483 (__memrchr): Don't use BP_SYM.
18484 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
18485 <bp-sym.h> and <bp-asm.h>.
18486 (memset): Don't use BP_SYM.
18487 (__bzero): Likewise.
18488 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
18489 <bp-sym.h> and <bp-asm.h>.
18490 (__rawmemchr): Don't use BP_SYM.
18491 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
18492 <bp-sym.h> and <bp-asm.h>.
18493 (__STRCMP): Don't use BP_SYM.
18494 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
18495 <bp-sym.h> and <bp-asm.h>.
18496 (strchr): Don't use BP_SYM.
18497 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
18498 <bp-sym.h> and <bp-asm.h>.
18499 (__strchrnul): Don't use BP_SYM.
18500 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
18501 <bp-sym.h> and <bp-asm.h>.
18502 (strlen): Don't use BP_SYM.
18503 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
18504 <bp-sym.h> and <bp-asm.h>.
18505 (strncmp): Don't use BP_SYM. Remove comment about bounded
18507 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
18508 <bp-sym.h> and <bp-asm.h>.
18509 (__strnlen): Don't use BP_SYM.
18510 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
18511 <bp-sym.h> and <bp-asm.h>.
18512 (__GI__setjmp): Don't use BP_SYM.
18513 (_setjmp): Likewise.
18514 (__sigsetjmp): Likewise.
18515 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
18516 (L(start_addresses)): Don't use BP_SYM.
18517 (_start): Likewise.
18518 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
18520 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
18521 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
18522 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18523 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18524 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
18526 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
18527 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
18528 about bounded pointers.
18529 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18530 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18531 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
18533 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
18534 about bounded pointers. Remove GKM FIXME comments.
18535 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18536 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
18538 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
18539 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
18540 Remove GKM FIXME comments.
18541 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18542 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18543 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
18545 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
18546 about bounded pointers. Remove GKM FIXME comment.
18547 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
18549 (strncmp): Don't use BP_SYM. Remove comment about bounded
18551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
18552 <bp-sym.h> and <bp-asm.h>.
18553 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
18554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
18555 <bp-sym.h> and <bp-asm.h>.
18556 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
18559 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
18561 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
18564 2013-03-05 David S. Miller <davem@davemloft.net>
18566 * po/es.po: Update from translation team.
18568 2013-03-05 Andreas Jaeger <aj@suse.de>
18570 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
18571 <bits/mman-linux.h>.
18572 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18574 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
18575 <bits/mman-linux.h> to end of file.
18576 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18578 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
18579 <bits/mman-linux.h> to end of file.
18580 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18582 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
18583 <bits/mman-linux.h> to end of file.
18585 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
18586 (MCL_CURRENT, MCL_FUTURE): Define here.
18588 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18591 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
18593 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
18595 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18597 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
18598 fourth parameter needed for rt_sigprocmask syscall.
18599 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
18600 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
18601 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
18602 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
18603 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
18604 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
18606 2013-03-04 Joseph Myers <joseph@codesourcery.com>
18609 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
18610 comment about bounded pointers.
18611 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
18612 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
18614 2013-03-04 Andreas Jaeger <aj@suse.de>
18616 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
18617 common definitions.
18619 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
18620 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
18621 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
18622 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
18623 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
18624 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
18626 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18629 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
18630 __ieee754_sqrl instead of __sqrl.
18632 2013-03-01 Joseph Myers <joseph@codesourcery.com>
18634 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
18635 * sysdeps/powerpc/fpu_control.h: ... here.
18636 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
18637 * sysdeps/powerpc/bits/fenvinline.h: ... here.
18638 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
18639 * sysdeps/powerpc/bits/mathinline.h: ... here.
18641 2013-03-01 Roland McGrath <roland@hack.frob.com>
18643 * elf/dl-hwcaps.c (_dl_important_hwcaps):
18644 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
18645 to just [NEED_DL_SYSINFO_DSO].
18646 * elf/dl-support.c: Likewise.
18647 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
18648 * elf/rtld.c (dl_main): Likewise.
18649 * elf/setup-vdso.h (setup_vdso): Likewise.
18650 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
18651 * sysdeps/unix/sysv/linux/dl-sysdep.c
18652 (_dl_discover_osversion): Likewise.
18654 2013-03-01 Carlos O'Donell <carlos@redhat.com>
18656 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
18657 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
18659 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
18661 * NEWS: Mention libm performance improvements and non-x86 PI
18664 * csu/libc-start.c (__pthread_initialize_minimal): Change
18665 function arguments.
18666 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
18668 2013-02-28 Joseph Myers <joseph@codesourcery.com>
18671 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
18672 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
18673 <bp-sym.h> and <bp-asm.h>.
18674 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18675 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
18677 (memcpy): Don't use BP_SYM.
18678 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
18680 (__mpn_add_n): Don't use BP_SYM.
18681 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
18682 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
18684 (__mpn_addmul_1): Don't use BP_SYM.
18685 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18686 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
18688 (_setjmp): Don't use BP_SYM.
18689 (__novmx_setjmp): Likewise.
18690 (__GI__setjmp): Likewise.
18691 (__vmx_setjmp): Likewise.
18692 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
18694 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
18695 (__bzero): Don't use BP_SYM.
18696 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18697 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18698 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
18699 <bp-sym.h> and <bp-asm.h>.
18700 (memcpy): Don't use BP_SYM.
18701 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
18702 <bp-sym.h> and <bp-asm.h>.
18703 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18704 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
18705 <bp-sym.h> and <bp-asm.h>.
18706 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18707 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
18709 (__mpn_lshift): Don't use BP_SYM.
18710 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18711 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
18713 (memset): Don't use BP_SYM.
18714 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18715 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18716 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
18718 (__mpn_mul_1): Don't use BP_SYM.
18719 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18720 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
18721 <bp-sym.h> and <bp-asm.h>.
18722 (memcmp): Don't use BP_SYM.
18723 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
18724 <bp-sym.h> and <bp-asm.h>.
18725 (memcpy): Don't use BP_SYM.
18726 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
18727 <bp-sym.h> and <bp-asm.h>.
18728 (memset): Don't use BP_SYM.
18729 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
18730 <bp-sym.h> and <bp-asm.h>.
18731 (strncmp): Don't use BP_SYM.
18732 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
18733 <bp-sym.h> and <bp-asm.h>.
18734 (memcpy): Don't use BP_SYM.
18735 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
18736 <bp-sym.h> and <bp-asm.h>.
18737 (memset): Don't use BP_SYM.
18738 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
18739 <bp-sym.h> and <bp-asm.h>.
18740 (__memchr): Don't use BP_SYM.
18741 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
18742 <bp-sym.h> and <bp-asm.h>.
18743 (memcmp): Don't use BP_SYM.
18744 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
18745 <bp-sym.h> and <bp-asm.h>.
18746 (memcpy): Don't use BP_SYM.
18747 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
18748 <bp-sym.h> and <bp-asm.h>.
18749 (__mempcpy): Don't use BP_SYM.
18750 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
18751 <bp-sym.h> and <bp-asm.h>.
18752 (__memrchr): Don't use BP_SYM.
18753 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
18754 <bp-sym.h> and <bp-asm.h>.
18755 (memset): Don't use BP_SYM.
18756 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
18757 <bp-sym.h> and <bp-asm.h>.
18758 (__rawmemchr): Don't use BP_SYM.
18759 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
18760 <bp-sym.h> and <bp-asm.h>.
18761 (__STRCMP): Don't use BP_SYM.
18762 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
18763 <bp-sym.h> and <bp-asm.h>.
18764 (strchr): Don't use BP_SYM.
18765 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
18766 <bp-sym.h> and <bp-asm.h>.
18767 (__strchrnul): Don't use BP_SYM.
18768 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
18769 <bp-sym.h> and <bp-asm.h>.
18770 (strlen): Don't use BP_SYM.
18771 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
18772 <bp-sym.h> and <bp-asm.h>.
18773 (strncmp): Don't use BP_SYM.
18774 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
18775 <bp-sym.h> and <bp-asm.h>.
18776 (__strnlen): Don't use BP_SYM.
18777 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
18779 (__mpn_rshift): Don't use BP_SYM.
18780 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18781 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
18782 <bp-sym.h> and <bp-asm.h>.
18783 (__sigsetjmp): Don't use BP_SYM.
18784 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
18785 (L(start_addresses)): Don't use BP_SYM.
18786 (_start): Likewise.
18787 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
18789 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
18790 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18791 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18792 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
18794 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
18795 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18796 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18797 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
18799 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
18801 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18802 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
18804 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
18806 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18807 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18808 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
18810 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
18812 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
18814 (strncmp): Don't use BP_SYM,
18815 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
18817 (__mpn_sub_n): Don't use BP_SYM.
18818 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18819 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
18821 (__mpn_submul_1): Don't use BP_SYM.
18822 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
18824 <bp-sym.h> and <bp-asm.h>.
18825 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
18826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
18827 <bp-sym.h> and <bp-asm.h>.
18828 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
18831 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18833 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
18834 Use ZK to minimize writes to Z.
18835 (sub_magnitudes): Simplify code a bit.
18836 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
18837 Use ZK to minimize writes to Z.
18838 (sub_magnitudes): Simplify code a bit.
18840 2013-02-27 Roland McGrath <roland@hack.frob.com>
18842 * csu/gmon-start.c: Add special exception to license text.
18844 2013-02-27 Richard Henderson <rth@redhat.com>
18846 * scripts/config.guess: Update from config.git.
18847 * scripts/config.sub: Likewise.
18849 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
18851 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
18853 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
18855 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
18857 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
18859 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
18861 2013-02-26 Roland McGrath <roland@hack.frob.com>
18863 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
18864 [$(build-shared = yes].
18866 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18868 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
18869 (__mul): Reduce iterations for calculating mantissa.
18871 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
18873 (__mpranred): Likewise.
18876 * malloc/memusagestat.c (main): Draw graphs for heap and stack
18877 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
18879 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
18881 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
18882 Define __attribute__.
18884 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18886 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
18888 * posix/regex_internal.h (__attribute): Remove.
18889 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
18890 (re_string_context_at): Likewise.
18891 (bitset_not): Use __attribute__ and mark function as possibly
18893 (bitset_merge): Likewise.
18894 (bitset_mask): Likewise.
18895 (re_string_char_size_at): Likewise.
18896 (re_string_wchar_at): Likewise.
18897 (re_string_elem_size_at): Likewise.
18899 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18901 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
18905 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
18909 (denorm): Likewise.
18910 (__dbl_mp): Likewise.
18911 (add_magnitudes): Likewise.
18912 (sub_magnitudes): Likewise.
18916 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
18919 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
18922 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
18925 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
18926 up changes with default code.
18927 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
18930 2013-02-24 Allan McRae <allan@archlinux.org>
18932 * manual/socket.texi (The Internet Namespace): Order menu items
18933 to match that in the file.
18935 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
18936 node listing of the info page menu.
18938 2013-02-21 Joseph Myers <joseph@codesourcery.com>
18941 * sysdeps/i386/bp-asm.h: Remove file.
18942 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
18943 (PARMS): Do not use macros from bp-asm.h.
18947 (__mpn_add_n): Do not use BP_SYM
18948 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
18950 (PARMS): Do not use macros from bp-asm.h.
18953 (__mpn_addmul_1): Do not use BP_SYM
18954 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
18956 (PARMS): Do not use macros from bp-asm.h.
18957 (SIGMSK): Likewise.
18958 (_setjmp): Likewise. Do not use BP_SYM.
18959 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
18961 (PARMS): Do not use macros from bp-asm.h.
18962 (SIGMSK): Likewise.
18963 (setjmp): Likewise. Do not use BP_SYM.
18964 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
18966 (PARMS): Do not use macros from bp-asm.h.
18967 (__frexp): Do not use BP_SYM.
18969 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
18971 (PARMS): Do not use macros from bp-asm.h.
18972 (__frexpf): Do not use BP_SYM.
18973 (frexpf): Likewise.
18974 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
18976 (PARMS): Do not use macros from bp-asm.h.
18977 (__frexpl): Do not use BP_SYM.
18978 (frexpl): Likewise.
18979 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
18981 (PARMS): Do not use macros from bp-asm.h.
18982 (__remquo): Do not use BP_SYM.
18983 (remquo): Likewise.
18984 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
18986 (PARMS): Do not use macros from bp-asm.h.
18987 (__remquof): Do not use BP_SYM.
18988 (remquof): Likewise.
18989 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
18991 (PARMS): Do not use macros from bp-asm.h.
18992 (__remquol): Do not use BP_SYM.
18993 (remquol): Likewise.
18994 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
18996 (PARMS): Do not use macros from bp-asm.h.
18999 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
19000 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
19002 (PARMS): Do not use macros from bp-asm.h.
19003 (strlen): Do not use BP_SYM.
19004 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
19006 (PARMS): Do not use macros from bp-asm.h.
19010 (__mpn_add_n): Do not use BP_SYM.
19011 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
19013 (PARMS): Do not use macros from bp-asm.h.
19016 (__mpn_addmul_1): Do not use BP_SYM.
19017 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
19020 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
19022 (PARMS): Do not use macros from bp-asm.h.
19025 (__mpn_lshift): Do not use BP_SYM.
19026 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
19028 (PARMS): Do not use macros from bp-asm.h.
19032 (memcpy): Likewise. Do not use BP_SYM.
19033 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
19034 libc_hidden_def and weak_alias.
19035 (mempcpy): Do not use BP_SYM in weak_alias.
19036 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
19038 (PARMS): Do not use macros from bp-asm.h.
19041 [!BZERO_P] (CHR): Likewise.
19042 (memset): Likewise. Do not use BP_SYM.
19043 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
19045 (PARMS): Do not use macros from bp-asm.h.
19048 (__mpn_mul_1): Do not use BP_SYM.
19049 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
19051 (PARMS): Do not use macros from bp-asm.h.
19054 (__mpn_rshift): Do not use BP_SYM.
19055 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
19057 (PARMS): Do not use macros from bp-asm.h.
19060 (strchr): Likewise. Do not use BP_SYM.
19061 (index): Do not use BP_SYM in weak_alias.
19062 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
19064 (PARMS): Do not use macros from bp-asm.h.
19067 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
19068 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
19070 (PARMS): Do not use macros from bp-asm.h.
19071 (strlen): Do not use BP_SYM.
19072 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
19074 (PARMS): Do not use macros from bp-asm.h.
19078 (__mpn_sub_n): Do not use BP_SYM.
19079 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
19081 (PARMS): Do not use macros from bp-asm.h.
19084 (__mpn_submul_1): Do not use BP_SYM.
19085 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
19087 (PARMS): Do not use macros from bp-asm.h.
19091 (__mpn_add_n): Do not use BP_SYM.
19092 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
19095 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
19097 (PARMS): Do not use macros from bp-asm.h.
19100 (memcmp): Do not use BP_SYM.
19101 (bcmp): Do not use BP_SYM in weak_alias.
19102 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
19104 (PARMS): Do not use macros from bp-asm.h.
19108 (memcpy): Likewise. Do not use BP_SYM.
19109 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
19111 (PARMS): Do not use macros from bp-asm.h.
19115 (memmove): Likewise. Do not use BP_SYM.
19116 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
19118 (PARMS): Do not use macros from bp-asm.h.
19122 (__mempcpy): Likewise. Do not use BP_SYM.
19123 (mempcpy): Do not use BP_SYM in weak_alias.
19124 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
19126 (PARMS): Do not use macros from bp-asm.h.
19129 [!BZERO_P] (CHR): Likewise.
19130 (memset): Likewise. Do not use BP_SYM.
19131 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
19133 (PARMS): Do not use macros from bp-asm.h.
19135 (strcmp): Do not use BP_SYM.
19136 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
19138 (PARMS): Do not use macros from bp-asm.h.
19141 [USE_AS_STRTOK_R] (SAVE): Likewise.
19142 (FUNCTION): Likewise. Do not use BP_SYM.
19143 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
19145 (strtok_r): Likewise.
19146 (__GI___strtok_r): Likewise.
19147 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
19148 (PARMS): Do not use macros from bp-asm.h.
19151 (__mpn_lshift): Do not use BP_SYM.
19152 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
19153 (PARMS): Do not use macros from bp-asm.h.
19156 (__memchr): Do not use BP_SYM.
19157 (memchr): Do not use BP_SYM in weak_alias.
19158 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
19159 (PARMS): Do not use macros from bp-asm.h.
19162 (memcmp): Do not use BP_SYM.
19163 (bcmp): Do not use BP_SYM in weak_alias.
19164 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
19165 (PARMS): Do not use macros from bp-asm.h.
19168 (__mpn_mul_1): Do not use BP_SYM.
19169 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
19171 (PARMS): Do not use macros from bp-asm.h.
19174 (__rawmemchr): Do not use BP_SYM.
19175 (rawmemchr): Do not use BP_SYM in weak_alias.
19176 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
19177 (PARMS): Do not use macros from bp-asm.h.
19180 (__mpn_rshift): Do not use BP_SYM.
19181 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
19182 (PARMS): Do not use macros from bp-asm.h.
19183 (SIGMSK): Likewise.
19184 (__sigsetjmp): Likewise. Do not use BP_SYM.
19185 * sysdeps/i386/start.S: Do not include "bp-sym.h".
19186 (_start): Do not use BP_SYM.
19187 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
19188 (PARMS): Do not use macros from bp-asm.h.
19191 (__stpcpy): Likewise. Do not use BP_SYM.
19192 (stpcpy): Do not use BP_SYM in weak_alias.
19193 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
19195 (PARMS): Do not use macros from bp-asm.h.
19199 (__stpncpy): Likewise. Do not use BP_SYM.
19200 (stpncpy): Do not use BP_SYM in weak_alias.
19201 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
19202 (PARMS): Do not use macros from bp-asm.h.
19205 (strchr): Likewise. Do not use BP_SYM.
19206 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
19208 (PARMS): Do not use macros from bp-asm.h.
19211 (__strchrnul): Likewise. Do not use BP_SYM.
19212 (strchrnul): Do not use BP_SYM in weak_alias.
19213 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
19215 (PARMS): Do not use macros from bp-asm.h.
19217 (strcspn): Do not use BP_SYM.
19218 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
19220 (PARMS): Do not use macros from bp-asm.h.
19223 (strpbrk): Likewise. Do not use BP_SYM.
19224 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
19226 (PARMS): Do not use macros from bp-asm.h.
19229 (strrchr): Likewise. Do not use BP_SYM.
19230 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
19231 (PARMS): Do not use macros from bp-asm.h.
19233 (strspn): Do not use BP_SYM.
19234 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
19235 (PARMS): Do not use macros from bp-asm.h.
19239 (FUNCTION): Likewise. Do not use BP_SYM.
19240 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
19242 (strtok_r): Likewise.
19243 (__GI___strtok_r): Likewise.
19244 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
19245 (PARMS): Do not use macros from bp-asm.h.
19249 (__mpn_sub_n): Do not use BP_SYM.
19250 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
19252 (PARMS): Do not use macros from bp-asm.h.
19255 (__mpn_submul_1): Do not use BP_SYM.
19256 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
19258 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
19260 (PARMS): Do not use macros from bp-asm.h.
19265 (__clone): Do not use BP_SYM.
19266 (clone): Do not use BP_SYM in weak_alias.
19267 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
19269 (PARMS): Do not use macros from bp-asm.h.
19271 (__mmap64): Do not use BP_SYM.
19272 (mmap64): Do not use BP_SYM in weak_alias.
19273 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
19274 <bp-sym.h> and <bp-asm.h>.
19275 (PARMS): Do not use macros from bp-asm.h.
19276 (__posix_fadvise64_l64): Do not use BP_SYM.
19277 * sysdeps/unix/sysv/linux/i386/semtimedop.S
19278 (PARMS): Do not use macros from bp-asm.h.
19280 (semtimedop): Do not use BP_SYM.
19281 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
19284 2013-02-21 Allan McRae <allan@archlinux.org>
19286 * manual/message.texi (Charset conversion in gettext):
19287 Move @end statement to beginning of line.
19289 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19291 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
19293 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
19296 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
19297 (denorm): Likewise.
19298 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
19299 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
19301 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19303 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
19304 tail-call to the resolved function if pltexit isn't needed.
19306 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19308 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
19309 or Y being zero as being unlikely.
19310 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
19313 2013-02-20 Carlos O'Donell <carlos@redhat.com>
19315 * manual/nss.texi (System Databases and Name Service Switch):
19316 Remove frobnicate @pxref.
19318 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
19320 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
19321 __attribute__ ((unused)) to __attribute__ ((__unused__)).
19323 2013-02-20 Petr Machata <pmachata@redhat.com>
19325 * elf/elf.h (R_ARM_TARGET1): New macro.
19326 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
19327 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
19328 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
19329 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
19330 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
19331 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
19332 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
19333 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
19334 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
19335 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
19336 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
19337 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
19338 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
19339 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
19340 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
19341 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
19342 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
19343 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
19344 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
19345 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
19346 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
19347 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
19348 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
19349 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
19350 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
19351 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
19352 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
19353 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
19354 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
19355 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
19356 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
19357 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
19358 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
19359 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
19360 (R_ARM_THM_GOT_BREL12): Likewise.
19361 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
19362 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
19363 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
19364 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
19365 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
19366 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
19367 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
19368 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
19369 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
19371 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
19373 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
19374 __attribute_used__ to __attribute__ ((unused)).
19376 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
19378 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
19380 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
19381 comment formatting.
19382 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
19384 2013-02-19 Joseph Myers <joseph@codesourcery.com>
19387 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
19389 (ENTER): Remove both macro definitions.
19391 (CHECK_BOUNDS_LOW): Likewise.
19392 (CHECK_BOUNDS_HIGH): Likewise.
19393 (CHECK_BOUNDS_BOTH): Likewise.
19394 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
19395 (RETURN_BOUNDED_POINTER): Likewise.
19396 (RETURN_NULL_BOUNDED_POINTER): Likewise.
19397 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
19398 (POP_ERRNO_LOCATION_RETURN): Likewise.
19399 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
19400 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19401 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
19403 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19404 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
19405 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
19406 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
19407 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
19408 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
19409 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
19410 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
19411 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
19412 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
19413 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
19414 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
19415 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19416 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
19418 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19419 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
19421 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19422 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
19423 * sysdeps/i386/i586/memset.S (memset): Likewise.
19424 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
19425 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19426 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
19428 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19429 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
19430 Change uses of L(2) to L(out).
19431 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
19432 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
19433 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
19434 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19435 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
19437 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19438 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
19440 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19441 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
19442 (RETURN): Do not use macro LEAVE.
19443 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
19444 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
19445 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
19446 * sysdeps/i386/i686/memset.S (memset): Likewise.
19447 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
19448 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
19449 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
19450 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
19452 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19453 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
19454 L(1_2) and L(1_3) into L(1).
19455 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
19456 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
19457 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19458 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
19459 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
19460 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
19461 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
19462 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19463 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
19465 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
19466 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19467 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
19468 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
19469 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
19470 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19471 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
19472 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
19473 * sysdeps/i386/strcspn.S (strcspn): Likewise.
19474 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
19475 * sysdeps/i386/strrchr.S (strrchr): Likewise.
19476 * sysdeps/i386/strspn.S (strspn): Likewise.
19477 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
19479 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19480 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
19481 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
19482 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
19483 L(1_3) into L(1_1).
19484 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
19485 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19486 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
19488 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19490 2013-02-19 Jakub Jelinek <jakub@redhat.com>
19492 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
19495 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19497 * math/atest-exp.c (exp_mpn): Remove ROUND.
19498 * math/atest-exp2.c (exp_mpn): Likewise.
19499 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
19501 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
19502 * stdlib/tst-tls-atexit-lib.c: Likewise.
19503 * stdlib/tst-tls-atexit.c: Likewise.
19505 2013-02-18 Mike Frysinger <vapier@gentoo.org>
19507 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
19508 and __attribute_alloc_size__.
19510 2013-02-18 Mike Frysinger <vapier@gentoo.org>
19512 * include/programs/xmalloc.h: Change __attribute_alloc_size to
19513 __attribute_alloc_size__.
19514 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
19515 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
19517 2013-02-18 Mike Frysinger <vapier@gentoo.org>
19519 * include/programs/xmalloc.h: New file.
19520 * catgets/gencat.c: Include it.
19521 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
19522 * elf/pldd.c: Likewise.
19523 * iconv/iconv_charmap.c: Likewise.
19524 * iconv/iconvconfig.c: Likewise.
19525 * iconv/strtab.c: Likewise.
19526 * locale/programs/locale.c: Likewise.
19527 * locale/programs/localedef.h: Likewise.
19528 * locale/programs/simple-hash.c: Likewise.
19529 * nscd/nscd.h: Likewise.
19530 * nss/makedb.c: Likewise.
19531 * sysdeps/generic/ldconfig.h: Likewise.
19533 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19535 * Versions.def: Add GLIBC_2.18.
19536 * include/link.h (struct link_map): New member l_tls_dtor_count.
19537 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
19538 (__call_tls_dtors): Likewise.
19539 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
19540 __cxa_thread_atexit_impl.
19541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19545 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19547 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19549 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
19550 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
19552 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
19554 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
19555 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
19557 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
19558 (tests): Add test case tst-tls-atexit.
19559 (modules-names): Add shared library for tst-tls-atexit.
19560 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
19561 (GLIBC_PRIVATE): Add __call_tls_dtors.
19562 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
19564 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
19565 * stdlib/tst-tls-atexit.c: New test case.
19566 * stdlib/tst-tls-atexit-lib.c: New test case.
19568 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
19570 * elf/Versions (ld): Add _dl_find_dso_for_object.
19571 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
19572 * elf/dl-open.c (_dl_find_dso_for_object): New function.
19573 (dl_open_worker): Use _dl_find_dso_for_object.
19574 * elf/dl-sym.c (do_sym): Likewise.
19575 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
19577 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19579 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
19580 Syntactic changes only.
19581 (_dl_runtime_profile): Do a tail-call to the resolved function.
19583 2013-02-17 Joseph Myers <joseph@codesourcery.com>
19586 * sysdeps/x86_64/bp-asm.h: Remove file.
19587 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
19588 <bp-sym.h> and <bp-asm.h>.
19589 (__clone): Do not use BP_SYM.
19590 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
19591 <bp-sym.h> and <bp-asm.h>.
19592 * sysdeps/unix/x86_64/sysdep.S: Likewise.
19593 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
19595 (_setjmp): Do not use BP_SYM.
19596 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
19598 (setjmp): Do not use BP_SYM.
19599 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
19601 (mempcpy): Do not use BP_SYM in weak_alias.
19602 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
19604 (strchr): Do not use BP_SYM.
19605 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
19607 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
19608 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
19609 (_start): Do not use BP_SYM.
19610 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
19612 (strcat): Do not use BP_SYM.
19613 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
19615 (STRCMP): Do not use BP_SYM.
19616 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
19618 (STRCPY): Do not use BP_SYM.
19619 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
19621 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
19623 (FUNCTION): Do not use BP_SYM.
19624 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
19626 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
19628 2013-02-17 Andreas Jaeger <aj@suse.de>
19630 * time/Versions: Sort entries.
19631 * string/Versions: Likewise.
19632 * resolv/Versions: Likewise.
19633 * posix/Versions: Likewise.
19634 * iconv/Versions: Likewise.
19635 * elf/Versions: Likewise.
19636 * wcsmbs/Versions: Likewise.
19638 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19640 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
19641 loop termination condition.
19643 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
19644 variable to calculate EZ.
19647 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
19648 the lower precision input.
19650 2013-02-15 Joseph Myers <joseph@codesourcery.com>
19653 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
19654 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
19655 (run-via-rtld-prefix): Do not handle %-bp tests.
19656 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
19657 (all-object-suffixes): Remove .ob.
19658 (bppfx): Remove variable.
19659 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
19660 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
19661 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
19662 [$(build-bounded) = yes] (libtype.ob): Likewise.
19663 * Makerules (elide-routines.ob): Remove variable.
19664 (do-tests-clean): Do not handle *-bp.out.
19665 (common-mostlyclean): Do not handle *-bp and *-bp.out.
19666 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
19667 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
19668 (tests): Do not include $(tests-bp.out).
19669 (xtests): Do not include $(xtests-bp.out).
19670 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
19671 [$(build-bounded) = yes] ($(addprefix
19672 $(objpfx),$(binaries-bounded))): Remove rule.
19673 ($(objpfx)%-bp.out): Remove rule.
19674 * config.make.in (build-bounded): Remove variable.
19675 * crypt/Makefile [$(build-bounded) = yes]
19676 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
19677 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
19678 append to variable.
19679 [$(build-bounded) = yes] (install-lib): Likewise.
19680 [$(build-bounded) = yes] (generated): Likewise.
19681 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
19683 * intl/Makefile [$(build-bounded) = yes]
19684 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
19685 * math/Makefile [$(build-bounded) = yes]
19686 ($(tests:%=$(objpfx)%-bp): Likewise.
19687 * misc/Makefile [$(build-bounded) = yes]
19688 ($(objpfx)tst-tsearch-bp): Likewise.
19689 * nptl/Makeconfig (bounded-thread-library): Remove variable.
19690 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
19692 * string/Makefile (o-objects.ob): Remove variable.
19693 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
19694 (CFLAGS-.ob): Remove variable.
19695 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
19696 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
19697 both definitions of variable.
19698 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
19699 (ASFLAGS-.ob): Remove variable.
19701 2013-02-14 Joseph Myers <joseph@codesourcery.com>
19704 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
19705 Remove __BOUNDED_POINTERS__ from condition.
19706 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
19707 * string/bits/string2.h [!__NO_STRING_INLINES &&
19708 !__BOUNDED_POINTERS__]: Likewise.
19709 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
19711 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
19712 Remove conditional code.
19713 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
19714 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
19715 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
19719 * csu/libc-start.c: Do not include <bp-sym.h>.
19720 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
19721 * elf/dl-open.c: Do not include <bp-sym.h>.
19722 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
19723 * math/fegetenv.c: Do not include <bp-sym.h>.
19724 (fegetenv): Do not use BP_SYM in versioned symbols.
19725 * nptl/sysdeps/pthread/bits/libc-lockP.h
19726 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
19728 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19729 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
19730 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19731 (__pthread_mutex_destroy): Likewise.
19732 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19733 (__pthread_mutex_lock): Likewise.
19734 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19735 (__pthread_mutex_trylock): Likewise.
19736 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19737 (__pthread_mutex_unlock): Likewise.
19738 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19739 (__pthread_mutexattr_init): Likewise.
19740 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19741 (__pthread_mutexattr_destroy): Likewise.
19742 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19743 (__pthread_mutexattr_settype): Likewise.
19744 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19745 (__pthread_rwlock_init): Likewise.
19746 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19747 (__pthread_rwlock_destroy): Likewise.
19748 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19749 (__pthread_rwlock_rdlock): Likewise.
19750 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19751 (__pthread_rwlock_tryrdlock): Likewise.
19752 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19753 (__pthread_rwlock_wrlock): Likewise.
19754 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19755 (__pthread_rwlock_trywrlock): Likewise.
19756 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19757 (__pthread_rwlock_unlock): Likewise.
19758 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19759 (__pthread_key_create): Likewise.
19760 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19761 (__pthread_setspecific): Likewise.
19762 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19763 (__pthread_getspecific): Likewise.
19764 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
19766 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19767 (_pthread_cleanup_push_defer): Likewise.
19768 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19769 (_pthread_cleanup_pop_restore): Likewise.
19770 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19771 (pthread_setcancelstate): Likewise.
19772 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
19774 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
19775 (memchr): Do not use BP_SYM in weak_alias.
19776 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
19777 (fegetenv): Do not use BP_SYM in versioned symbols.
19778 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
19779 (fesetenv): Do not use BP_SYM in versioned symbols.
19780 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
19781 (feupdateenv): Do not use BP_SYM in versioned symbols.
19782 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
19783 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
19784 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
19785 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
19786 (open64): Do not use BP_SYM in weak_alias.
19787 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
19788 (fegetenv): Do not use BP_SYM in versioned symbols.
19789 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
19790 (fesetenv): Do not use BP_SYM in versioned symbols.
19791 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
19792 (feupdateenv): Do not use BP_SYM in versioned symbols.
19793 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
19794 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
19795 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
19796 (feraiseexcept): Do not use BP_SYM in versioned symbols.
19797 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
19798 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
19799 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
19801 (__libc_start_main): Do not use BP_SYM.
19803 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19805 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
19806 redundant return line.
19808 (denorm): Likewise.
19809 (dbl_mp): Likewise.
19810 (sub_magnitudes): Likewise.
19816 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
19818 (denorm): Likewise.
19819 (dbl_mp): Likewise.
19820 (sub_magnitudes): Likewise.
19827 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
19829 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
19830 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
19833 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
19834 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
19835 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
19836 of __mul for squares.
19837 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
19839 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
19841 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
19842 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
19844 2013-02-13 Joseph Myers <joseph@codesourcery.com>
19847 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
19849 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
19850 prototype or function definition. Rename ubp_* variables and
19851 parameters. Remove argv definitions conditional on
19852 [__BOUNDED_POINTERS__].
19853 * debug/backtrace.c (__backtrace): Do not use __unbounded.
19854 * elf/dl-runtime.c (_dl_fixup): Likewise.
19855 * include/set-hooks.h (RUN_HOOK): Likewise.
19856 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
19858 * string/strcpy.c (strcpy): Do not use __unbounded.
19859 * sysdeps/generic/frame.h (struct layout): Likewise.
19860 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
19861 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
19862 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
19863 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
19864 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
19865 (__backtrace): Likewise.
19866 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
19868 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
19869 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
19870 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
19872 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
19873 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
19874 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
19875 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
19876 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
19877 Do not use __unbounded.
19878 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
19879 Rename __unboundedrlimits parameter to rlimits in prototype.
19880 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
19881 Do not use __unbounded.
19882 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
19883 not use __ptrvalue.
19884 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
19885 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
19886 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
19887 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
19888 __ptrvalue or __unbounded.
19889 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
19890 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
19892 (__new_msgctl): Do not use __ptrvalue.
19893 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
19895 (__libc_msgrcv): Do not use __ptrvalue.
19896 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
19897 startup_info): Do not use __unbounded.
19898 (__libc_start_main): Likewise. Rename ubp_* variables and
19899 parameters. Remove argv definitions conditional on
19900 [__BOUNDED_POINTERS__].
19901 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
19903 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
19905 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
19907 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
19909 (__new_shmctl): Do not use __ptrvalue.
19910 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
19911 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
19913 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
19914 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
19915 (__libc_sigaction): Likewise.
19916 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
19917 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
19919 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
19921 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
19923 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
19925 * string/mempcpy.c: Implement by calling memcpy.
19927 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
19929 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
19931 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
19934 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
19935 values in the mantissa.
19937 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
19938 minimize writes to Z.
19939 (sub_magnitudes): Simplify code a bit.
19941 2013-02-12 Roland McGrath <roland@hack.frob.com>
19943 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
19944 from the message. The linker prefixes all warnings with that already.
19946 2013-02-12 Andreas Schwab <schwab@suse.de>
19949 * posix/regexec.c (extend_buffers): Add parameter min_len.
19950 (check_matching): Pass minimum needed length.
19951 (clean_state_log_if_needed): Likewise.
19952 (get_subexp): Likewise.
19953 * posix/Makefile (tests): Add bug-regex34.
19954 (bug-regex34-ENV): Define.
19955 * posix/bug-regex34.c: New file.
19958 * posix/regcomp.c (parse_bracket_exp): When looking up collating
19959 elements compare against the byte sequence of it, not its name.
19960 * posix/Makefile (tests): Add bug-regex35.
19961 (bug-regex35-ENV): Define.
19962 * posix/bug-regex35.c: New file.
19964 2013-02-11 Tom de Vries <tom@codesourcery.com>
19966 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
19968 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
19969 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
19970 (CHECK_EOL): Add undef.
19972 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
19974 * bits/stdlib-bsearch.h: New file.
19975 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
19976 * stdlib/stdlib.h: Likewise.
19978 2013-02-11 Roland McGrath <roland@hack.frob.com>
19980 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
19981 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
19983 * manual/search.texi (Array Search Function): Add missing const in
19985 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
19986 declaration to use rlim_t.
19987 (Basic Scheduling Functions): Remove erroneous const from
19988 sched_getparam prototype. Remove erroneous * from
19989 sched_get_priority_max and sched_get_priority_min prototypes.
19990 (Resource Usage): Fix summary @comment on vtimes to refer to
19991 sys/vtimes.h rather than vtimes.h.
19992 Add missing *s in vtimes prototype.
19993 (Limits on Resources): Fix ulimit prototype to return long int.
19994 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
19995 prototypes to use long int rather than double.
19996 (BSD Random): Fix initstate and setstate to use char *, not void *.
19997 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
19998 prototype to make second argument 'struct aiocb64 *const[]'.
19999 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
20000 (Status of AIO Operations): Remove erroneous const in aio_return and
20001 aio_return64 prototypes.
20002 (Synchronizing I/O): Fix sync prototype to return void.
20003 * manual/startup.texi (Suboptions): Remove an erroneous const in
20004 getsubopt prototype.
20005 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
20006 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
20007 use size_t rather than int.
20008 (Scanning All Users): Likewise for getpwent_r.
20009 (Setting Groups): Add missing const to setgroups prototype.
20010 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
20011 * manual/socket.texi (Host Names): Fix gethostbyaddr and
20012 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
20013 'const void *' rather than 'const char *'.
20014 (Host Address Functions): Likewise for inet_ntop.
20015 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
20016 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
20017 ssize_t for return value.
20018 (Sending Data): Likewise for send, sendto, sendmsg.
20019 (Socket Option Functions): Add a missing const in setsockopt prototype.
20020 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
20021 use wchar_t for the argument.
20022 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
20023 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
20025 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
20026 double/float/long double for second argument.
20027 Fix return types of significand, significandf, significandl.
20028 * manual/filesys.texi (Setting Permissions): Use mode_t for second
20029 argument in fchmod prototype.
20030 (File Owner): Use uid_t and gid_t in fchown prototype.
20031 (File Times): Add const to utimes, futimes, and lutimes prototypes.
20032 (Making Special Files): Use mode_t and dev_t in mknod prototype.
20033 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
20034 use 'const struct dirent **' as argument types to CMP function pointer
20036 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
20037 (File Times): Fix summary magic @comment for struct utimbuf and utime
20038 to refer to utime.h, not time.h.
20039 * manual/string.texi (Argz Functions): Add missing const in
20040 argz_extract and argz_next prototypes.
20041 (Finding Tokens in a String): Likewise for basename.
20042 (String/Array Comparison): Fix typo in wcscasecmp prototype.
20043 (Copying and Concatenation): Fix typo in wmemmove prototype.
20044 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
20045 (Signal Stack): Remove erroneous const in sigstack prototype.
20046 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
20048 (Simple Calendar Time): Likewise for stime.
20049 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
20051 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
20052 say sys/sysctl.h instead.
20053 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
20054 and vsyslog prototypes.
20056 2013-02-11 Tom de Vries <tom@codesourcery.com>
20058 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
20061 2013-02-11 Roland McGrath <roland@hack.frob.com>
20063 * misc/sys/mman.h: Fix typo in mremap comment.
20065 2013-02-08 Roland McGrath <roland@hack.frob.com>
20067 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
20068 the '\0' terminator.
20070 2013-02-08 Joseph Myers <joseph@codesourcery.com>
20073 * debug/segfault.c: Don't include <bp-checks.h>.
20074 * sysdeps/generic/bp-checks.h: Remove file.
20075 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
20076 (__GETDENTS): Don't use CHECK_N.
20077 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
20078 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
20079 (__getgroups): Don't use CHECK_N.
20080 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
20081 (setgroups): Don't use CHECK_N.
20082 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
20083 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
20084 (__libc_msgrcv): Don't use CHECK_N.
20085 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
20086 (__libc_msgsnd): Don't use CHECK_N.
20087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
20089 (__libc_pread): Don't use CHECK_N.
20090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
20091 include <bp-checks.h>.
20092 (__libc_pread64): Don't use CHECK_N.
20093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
20094 include <bp-checks.h>.
20095 (__libc_pwrite): Don't use CHECK_N.
20096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
20097 include <bp-checks.h>.
20098 (__libc_pwrite64): Don't use CHECK_N.
20099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
20101 (__libc_pread): Don't use CHECK_N.
20102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
20103 include <bp-checks.h>.
20104 (__libc_pread64): Don't use CHECK_N.
20105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
20106 include <bp-checks.h>.
20107 (__libc_pwrite): Don't use CHECK_N.
20108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
20109 include <bp-checks.h>.
20110 (__libc_pwrite64): Don't use CHECK_N.
20111 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
20112 (do_pread): Don't use CHECK_N.
20113 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
20114 (do_pread64): Don't use CHECK_N.
20115 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
20116 (do_pwrite): Don't use CHECK_N.
20117 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
20118 (do_pwrite64): Don't use CHECK_N.
20119 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
20120 (__libc_readv): Don't use CHECK_N.
20121 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
20122 (semop): Don't use CHECK_N.
20123 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
20125 (semtimedop): Don't use CHECK_N.
20126 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
20127 (__libc_pread): Don't use CHECK_N.
20128 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
20130 (__libc_pread64): Don't use CHECK_N.
20131 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
20133 (__libc_pwrite): Don't use CHECK_N.
20134 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
20136 (__libc_pwrite64): Don't use CHECK_N.
20137 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
20139 (__libc_msgrcv): Don't use CHECK_N.
20140 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
20141 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
20142 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
20143 (__libc_writev): Don't use CHECK_N.
20145 2013-02-08 Roland McGrath <roland@hack.frob.com>
20147 * string/strcpy.c: Removed unused variable.
20149 * Makeconfig (+sysdep-includes): Define with := rather than =.
20150 Use an existing include/ subdir of each sysdeps dir before it.
20152 2013-02-08 Carlos O'Donell <carlos@redhat.com>
20154 * nscd/connection.c (register_traced_file): Comment function.
20155 [HAVE_INOTIFY] (union __inev): Define.
20156 [HAVE_INOTIFY] (inotify_check_files): New function.
20157 [HAVE_INOTIFY] (clear_db_cache): Likewise.
20158 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
20160 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
20162 2013-02-08 Carlos O'Donell <carlos@redhat.com>
20164 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
20165 loaded if not already and that a failure is permanent.
20167 2013-02-08 Carlos O'Donell <carlos@redhat.com>
20170 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
20171 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
20173 2013-02-08 Joseph Myers <joseph@codesourcery.com>
20176 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
20177 (CHECK_1_NULL_OK): Likewise.
20178 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
20179 (__fxstat): Do not use CHECK_1.
20180 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
20182 (___fxstat64): Do not use CHECK_1.
20183 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
20185 (__fxstatat): Do not use CHECK_1.
20186 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
20188 (__fxstatat64): Do not use CHECK_1.
20189 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
20191 (__fxstat): Do not use CHECK_1.
20192 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
20194 (__fxstatat): Do not use CHECK_1.
20195 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
20197 (__getresgid): Do not use CHECK_1.
20198 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
20200 (__getresuid): Do not use CHECK_1.
20201 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
20203 (__lxstat): Do not use CHECK_1.
20204 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
20206 (__old_msgctl): Do not use CHECK_1.
20207 (__new_msgctl): Likewise.
20208 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
20210 (__new_setrlimit): Do not use CHECK_1.
20211 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
20213 (__old_shmctl): Do not use CHECK_1.
20214 (__new_shmctl): Likewise.
20215 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
20217 (__xstat): Do not use CHECK_1.
20218 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
20219 (__lxstat): Do not use CHECK_1.
20220 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
20222 (___lxstat64): Do not use CHECK_1.
20223 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
20224 (__old_msgctl): Do not use CHECK_1.
20225 (__new_msgctl): Likewise.
20226 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
20228 (__gettimeofday): Do not use CHECK_1.
20229 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
20230 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
20231 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
20233 (__gettimeofday): Do not use CHECK_1.
20234 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
20235 (__old_shmctl): Do not use CHECK_1_NULL_OK.
20236 (__new_shmctl): Do not use CHECK_1.
20237 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
20239 (do_sigtimedwait): Do not use CHECK_1.
20240 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
20242 (do_sigwaitinfo): Do not use CHECK_1.
20243 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
20245 (msgctl): Do not use CHECK_1.
20246 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
20248 (shmctl): Do not use CHECK_1.
20249 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
20250 (ustat): Do not use CHECK_1.
20251 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
20253 (__fxstat): Do not use CHECK_1.
20254 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
20256 (__fxstatat): Do not use CHECK_1.
20257 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
20259 (__lxstat): Do not use CHECK_1.
20260 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
20262 (__xstat): Do not use CHECK_1.
20263 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
20264 (__xstat): Do not use CHECK_1.
20265 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
20266 (___xstat64): Do not use CHECK_1.
20269 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
20271 (CHECK_BOUNDS_HIGH): Likewise.
20272 * string/strcpy.c: Do not include <bp-checks.h>.
20273 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
20275 2013-02-07 Roland McGrath <roland@hack.frob.com>
20277 * nscd/nscd-client.h (__nscd_drop_map_ref):
20278 Add __attribute__ ((unused)).
20279 * nis/nss-nisplus.h (niserr2nss): Likewise.
20281 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
20282 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
20284 * csu/libc-tls.c (init_static_tls, init_slotinfo):
20285 Remove inline keyword.
20286 * include/rounding-mode.h (round_away): Likewise.
20287 * libio/wfileops.c (adjust_wide_data): Likewise.
20288 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
20289 (__m128i_strloadu_tolower): Likewise.
20290 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
20291 (__m128i_strloadu_tolower): Likewise.
20292 * time/mktime.c (ydhms_diff): Likewise.
20293 * locale/elem-hash.h (elem_hash): Likewise.
20294 * locale/setlocale.c (setdata): Likewise.
20295 * posix/regex_internal.h (re_string_char_size_at): Likewise.
20296 (re_string_wchar_at): Likewise.
20297 (bitset_not, bitset_merge, bitset_mask): Likewise.
20298 [!(__GNUC__ > 3)] (inline): Remove macro.
20299 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
20300 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
20301 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
20302 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
20303 * string/memcmp.c (memcmp_bytes): Likewise.
20304 * locale/programs/locarchive.c (compute_hashval): Likewise.
20305 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
20306 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
20307 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
20308 * nss/getent.c (print_rpc, print_protocols): Likewise.
20309 (print_passwd, print_group, print_aliases): Likewise.
20310 * nis/nss-nisplus.h (niserr2nss): Likewise.
20311 * nscd/connections.c (restart_p): Likewise.
20312 Change return type to bool.
20314 2013-02-05 Roland McGrath <roland@hack.frob.com>
20316 * Makeconfig (all-Depend-files): Add existing
20317 $(sorted-subdirs:=/Depend) files.
20318 (all-subdirs): Remove nss.
20319 * sysdeps/unix/inet/Subdirs: Add it here instead.
20320 * hesiod/Depend: New file.
20322 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
20323 instead of calling alloca.
20325 * io/lseek.c (__lseek): Rename to __libc_lseek.
20326 Define __lseek as an alias.
20328 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
20330 2013-02-04 Carlos O'Donell <carlos@redhat.com>
20332 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
20333 else clause and remove check for non-standard endianness.
20335 2013-02-04 David S. Miller <davem@davemloft.net>
20337 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20339 2013-02-04 Joseph Myers <joseph@codesourcery.com>
20342 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
20343 (__ubp_memchr): Remove prototype.
20344 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
20345 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
20346 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
20347 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
20348 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
20350 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
20351 (__ubp_memchr): Likewise.
20352 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
20353 (__ubp_memchr): Likewise.
20354 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
20355 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
20356 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
20357 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
20359 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
20360 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
20361 (__getcwd): Do not use CHECK_STRING.
20362 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
20364 (__real_chown): Do not use CHECK_STRING.
20365 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
20367 (fchownat): Do not use CHECK_STRING.
20368 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
20370 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
20372 (__lchown): Do not use CHECK_STRING.
20373 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
20374 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
20375 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
20376 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
20377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
20378 include <bp-checks.h>.
20379 (truncate64): Do not use CHECK_STRING.
20380 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
20382 (__real_chown): Do not use CHECK_STRING.
20383 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
20385 (__lchown): Do not use CHECK_STRING.
20386 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
20388 (__chown): Do not use CHECK_STRING.
20389 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
20391 (truncate64): Do not use CHECK_STRING.
20392 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
20394 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
20395 (__xmknod): Do not use CHECK_STRING.
20396 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
20398 (__xmknodat): Do not use CHECK_STRING.
20399 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
20400 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
20402 2013-02-04 Andreas Schwab <schwab@suse.de>
20405 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
20406 * include/netdb.h: Likewise for h_errno.
20407 * elf/tst-stackguard1.c: Include <tls.h>.
20409 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
20411 * elf/link.h (struct link_map): Extend the l_addr comment.
20412 * include/link.h (struct link_map): Likewise.
20414 2013-02-01 Joseph Myers <joseph@codesourcery.com>
20417 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
20418 (BOUNDED_1): Remove macro.
20419 * debug/backtrace.c: Don't include <bp-checks.h>.
20420 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
20421 (__backtrace): Likewise.
20422 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
20424 (__backtrace): Don't use BOUNDED_1.
20425 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
20427 (__backtrace): Don't use BOUNDED_1.
20428 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
20429 (__backtrace): Don't use BOUNDED_1.
20430 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
20431 (shmat): Don't use BOUNDED_N.
20433 2013-01-31 Joseph Myers <joseph@codesourcery.com>
20436 * sysdeps/generic/bp-start.h: Remove file.
20437 * csu/libc-start.c: Don't include <bp-start.h>.
20438 (LIBC_START_MAIN): Set up __environ directly instead of using
20439 INIT_ARGV_and_ENVIRON.
20440 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
20444 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
20446 (CHECK_FCNTL): Likewise.
20447 (CHECK_N_PAGES): Likewise.
20450 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
20452 (CHECK_SIGSET_NULL_OK): Likewise.
20453 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
20455 (sigpending): Don't use CHECK_SIGSET.
20456 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
20458 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
20459 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
20461 (do_sigsuspend): Don't use CHECK_SIGSET.
20462 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
20464 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
20465 (do_sigwait): Don't use CHECK_SIGSET.
20466 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
20468 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
20469 include <bp-checks.h>.
20470 (sigpending): Don't use CHECK_SIGSET.
20471 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
20472 include <bp-checks.h>.
20473 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
20474 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
20476 (sigpending): Don't use CHECK_SIGSET.
20477 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
20479 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
20482 * sysdeps/generic/bp-semctl.h: Remove file.
20483 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
20484 <bp-checks.h> and <bp-semctl.h>.
20485 (__old_semctl): Don't use CHECK_SEMCTL.
20486 (__new_semctl): Likewise.
20487 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
20489 (__old_semctl): Don't use CHECK_SEMCTL.
20490 (__new_semctl): Likewise.
20491 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
20492 <bp-checks.h> and <bp-semctl.h>.
20493 (__old_semctl): Don't use CHECK_SEMCTL.
20494 (__new_semctl): Likewise.
20495 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
20496 <bp-checks.h> and <bp-semctl.h>.
20497 (semctl): Don't use CHECK_SEMCTL.
20500 * Makerules (elide-bp-thunks): Remove variable.
20501 (elide-routines.oS): Don't use $(elide-bp-thunks).
20502 (elide-routines.os): Likewise.
20503 (elide-routines.o): Likewise.
20504 (elide-routines.op): Likewise.
20505 (elide-routines.og): Likewise.
20506 (objects): Don't use $(bp-thunks).
20507 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
20509 (common-generated): Do not add s-proto-bp.d.
20510 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
20513 Do not generate makefile rules for bounded-pointer thunks.
20514 * sysdeps/generic/bp-thunks.h: Remove file.
20515 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
20516 * sysdeps/unix/s-proto-bp.S: Likewise.
20519 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
20520 parts of result separately when argument is not close to line from
20521 -i to i and one part of argument is small.
20522 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20523 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20524 * math/libm-test.inc (cacos_test): Add more tests.
20525 (casin_test): Likewise.
20526 (casinh_test): Likewise.
20527 * sysdeps/i386/fpu/libm-test-ulps: Update.
20528 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20530 2013-01-31 David S. Miller <davem@davemloft.net>
20532 * po/de.po: Update from translation team.
20534 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
20536 * time/tzfile.c: Include stdint.h for SIZE_MAX.
20538 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
20540 * configure.in (_AC_PROG_CC_C89): New definition.
20541 * configure: Regenerate.
20543 * configure.in (AC_PROG_CPP): New definition.
20544 * configure: Regenerate.
20546 2013-01-23 Joseph Myers <joseph@codesourcery.com>
20548 * debug/tst-backtrace.h: New file.
20549 * debug/tst-backtrace2.c: Include tst-backtrace.h.
20550 (ret): Remove variable.
20552 (FAIL): Remove macro.
20553 (NO_INLINE): Likewise.
20554 (fn1): Use match function instead of strstr.
20555 * debug/tst-backtrace3.c: Include tst-backtrace.h.
20556 (ret): Remove variable.
20558 (FAIL): Remove macro.
20559 (NO_INLINE): Likewise.
20560 (fn): Use match function instead of strstr.
20561 * debug/tst-backtrace4.c: Include tst-backtrace.h.
20562 (ret): Remove variable.
20564 (FAIL): Remove macro.
20565 (NO_INLINE): Likewise.
20566 (handle_signal): Use match function instead of strstr.
20567 * debug/tst-backtrace5.c: Include tst-backtrace.h.
20568 (ret): Remove variable.
20570 (FAIL): Remove macro.
20571 (NO_INLINE): Likewise.
20572 (handle_signal): Use match function instead of strstr.
20574 2013-01-23 Roland McGrath <roland@hack.frob.com>
20576 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
20578 2013-01-23 David S. Miller <davem@davemloft.net>
20580 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
20581 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
20582 argument of CAS if possible.
20583 * sysdeps/sparc/sparc64/bits/atomic.h
20584 (__arch_compare_and_exchange_val_32_acq): Likewise.
20585 (__arch_compare_and_exchange_val_64_acq): Likewise.
20587 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
20589 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
20590 * sysdeps/posix/ulimit.c: ... this.
20591 Include <limits.h>.
20592 * sysdeps/unix/bsd/ulimit.c: Remove file.
20594 2013-01-23 Adam Conrad <adconrad@0c3.net>
20596 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
20597 (LDFLAGS-tst-array5): Likewise.
20599 2013-01-23 Joseph Myers <joseph@codesourcery.com>
20602 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
20603 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
20604 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
20605 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
20607 2013-01-21 David S. Miller <davem@davemloft.net>
20609 * sysdeps/sparc/backtrace.c: New file.
20610 * sysdeps/sparc/sparc32/backtrace.h: New file.
20611 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
20612 * sysdeps/sparc/sparc64/backtrace.h: New file.
20613 * sysdeps/sparc/sparc64/backtrace.c: Delete.
20614 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
20617 2013-01-21 Andreas Schwab <schwab@suse.de>
20620 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
20623 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
20625 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
20627 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20629 2013-01-18 Joseph Myers <joseph@codesourcery.com>
20630 Mark Mitchell <mark@codesourcery.com>
20631 Tom de Vries <tom@codesourcery.com>
20632 Paul Pluzhnikov <ppluzhnikov@google.com>
20634 * debug/tst-backtrace2.c: New file.
20635 * debug/tst-backtrace3.c: Likewise.
20636 * debug/tst-backtrace4.c: Likewise.
20637 * debug/tst-backtrace5.c: Likewise.
20638 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
20639 (CFLAGS-tst-backtrace3.c): Likewise.
20640 (CFLAGS-tst-backtrace4.c): Likewise.
20641 (CFLAGS-tst-backtrace5.c): Likewise.
20642 (LDFLAGS-tst-backtrace2): Likewise.
20643 (LDFLAGS-tst-backtrace3): Likewise.
20644 (LDFLAGS-tst-backtrace4): Likewise.
20645 (LDFLAGS-tst-backtrace5): Likewise.
20646 (tests): Add new tests tst-backtrace2, tst-backtrace3,
20647 tst-backtrace4 and tst-backtrace5.
20649 2013-01-18 Anton Blanchard <anton@samba.org>
20650 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20652 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
20653 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
20654 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
20655 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
20656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20657 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
20658 "+r" and remove output regs list as redundant. Add explicit inline
20659 asm to specify register of return val to work around compiler codegen
20660 bug. Remove (int) cast on return value. Add return type parameter to
20661 use in macro so that this macro does not truncate return value for
20663 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
20664 pass to INTERNAL_VSYSCALL_NCS.
20665 (INLINE_VSYSCALL): Add 'long int' as return type to
20666 INTERNAL_VSYSCALL_NCS macro invocation.
20667 (INTERNAL_VSYSCALL): Add 'long int' as return type to
20668 INTERNAL_VSYSCALL_NCS macro invocation.
20669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20671 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
20674 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
20675 Fix application of SIMD FP exception mask.
20677 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
20678 mp_no from a power of two.
20679 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
20680 __mpexp_twomm1. Use __pow_mp.
20682 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
20685 2013-01-17 David S. Miller <davem@davemloft.net>
20687 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20689 2013-01-17 Joseph Myers <joseph@codesourcery.com>
20692 * include/complex.h: Condition contents on [!_COMPLEX_H].
20693 (__kernel_casinhf): New prototype.
20694 (__kernel_casinh): Likewise.
20695 (__kernel_casinhl): Likewise.
20696 * math/Makefile (libm_calls): Add k_casinh.
20697 * math/k_casinh.c: New file.
20698 * math/k_casinhf.c: Likewise.
20699 * math/k_casinhl.c: Likewise.
20700 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
20701 finite nonzero arguments.
20702 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
20703 finite nonzero arguments.
20704 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
20705 finite nonzero arguments.
20706 * math/s_casinh.c: Do not include <float.h>.
20707 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
20708 * math/s_casinhf.c: Do not include <float.h>.
20709 (__casinhf): Move code for finite nonzero arguments to
20711 * math/s_casinhl.c: Do not include <float.h>.
20712 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
20714 (__casinhl): Move code for finite nonzero arguments to
20716 * math/libm-test.inc (cacos_test): Add more tests.
20717 * sysdeps/i386/fpu/libm-test-ulps: Update.
20718 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20720 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
20722 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
20723 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
20724 [!HAVE_MREMAP]: Remove [defined linux] case.
20725 * malloc/arena.c: Do not include <malloc-sysdep.h>.
20727 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
20729 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
20731 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
20733 * elf/elf.h (R_386_SIZE32): New relocation.
20734 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
20736 (elf_machine_rela): Likewise.
20737 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
20738 R_X86_64_SIZE64 and R_X86_64_SIZE32.
20740 2013-01-17 Joseph Myers <joseph@codesourcery.com>
20742 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
20743 (FP_FAST_FMA): Do not define.
20744 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
20745 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
20746 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
20747 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
20748 !_SOFT_FLOAT]: Likewise.
20749 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
20750 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
20752 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
20753 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
20754 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
20755 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
20756 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
20757 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
20760 2013-01-16 Andreas Schwab <schwab@suse.de>
20763 * include/stdlib.h (__mktemp): Add declaration.
20764 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
20765 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
20767 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20769 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
20771 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
20772 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
20773 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
20775 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
20776 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
20778 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
20780 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
20781 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
20782 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
20784 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
20785 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
20787 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
20789 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
20791 2013-01-15 David S. Miller <davem@davemloft.net>
20793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20794 trunc{,f} to libm-sysdep_routes.
20795 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
20798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
20799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
20801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
20803 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
20804 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
20805 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
20806 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
20807 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
20808 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
20809 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
20810 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
20812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20813 nearbyint{,f} to libm-sysdep_routes.
20814 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
20817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
20819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
20821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
20823 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
20824 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
20825 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
20827 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
20828 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
20830 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
20831 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
20832 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
20834 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
20835 libc_feholdexcept and libc_fesetenv.
20837 2013-01-15 Mike Frysinger <vapier@gentoo.org>
20839 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
20841 2013-01-14 David S. Miller <davem@davemloft.net>
20843 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
20844 (SPARC_ASM_VIS2_IFUNC): Likewise.
20845 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
20846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
20847 use of 'siam' instruction.
20848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
20850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
20852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
20854 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
20855 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
20856 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
20857 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
20858 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
20860 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
20862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
20864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
20866 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
20867 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
20868 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
20869 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
20870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
20872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
20873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
20874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
20876 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
20877 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
20878 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
20879 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
20880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
20881 routines to libm-sysdep_routines.
20882 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20885 fdim/fdimf to libm-sysdep_routines.
20886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
20888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
20889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
20891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
20892 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
20893 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
20894 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
20895 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
20896 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
20897 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
20899 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
20901 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
20902 to optimize copies.
20904 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
20905 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
20906 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20908 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
20909 local variable MPTWO.
20910 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
20913 2013-01-13 Mike Frysinger <vapier@gentoo.org>
20915 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
20918 2013-01-13 Mike Frysinger <vapier@gentoo.org>
20920 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
20922 2013-01-13 Mike Frysinger <vapier@gentoo.org>
20924 * manual/pattern.texi (glob_t): Document gl_flags.
20925 (glob64_t): Likewise.
20927 2013-01-11 David S. Miller <davem@davemloft.net>
20929 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
20930 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
20931 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
20932 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
20933 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
20934 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
20935 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
20936 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
20937 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
20938 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
20939 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
20940 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
20941 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
20943 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
20944 sparc V9 rather than using V8 code.
20945 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
20946 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
20948 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
20950 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
20953 2013-01-11 Roland McGrath <roland@hack.frob.com>
20955 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
20956 not in the main loop.
20957 * configure: Regenerated.
20959 2013-01-11 Joseph Myers <joseph@codesourcery.com>
20961 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
20962 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
20964 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
20965 [!__GLIBC_HAVE_LONG_LONG] case.
20966 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
20967 condition to just #else.
20968 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
20969 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
20970 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
20971 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
20973 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
20974 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
20975 #elif condition to just #else.
20976 * sysdeps/unix/sysv/linux/sys/sysmacros.h
20977 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
20978 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
20979 #elif condition to just #else.
20981 2013-01-11 Steve Ellcey <sellcey@mips.com>
20983 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
20984 (EF_MIPS_ARCH_64): Fix value.
20985 (EF_MIPS_ARCH_32R2): New.
20986 (EF_MIPS_ARCH_64R2): New.
20988 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
20990 * Makeconfig (+link-pie-before-libc): New.
20991 (+link-pie-after-libc): Likewise.
20992 (+link-pie-tests): Likewise.
20993 (+link-pie): Rewritten.
20994 (link-before-libc): Remove $(config-LDFLAGS).
20995 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
20996 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
20997 (config-LDFLAGS): Renamed to ...
20998 (rtld-LDFLAGS): This.
20999 (rtld-tests-LDFLAGS): New macro.
21000 (link-libc-rpath-link): Likewise.
21001 (link-libc-tests-rpath-link): Likewise.
21002 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
21003 (link-libc): Prepand $(link-libc-rpath-link).
21004 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
21005 (test-program-prefix): New macro.
21006 (test-via-rtld-prefix): Likewise.
21007 (test-program-cmd): Likewise.
21008 (host-test-program-cmd): Likewise.
21009 * Makefile ($(common-objpfx)testrun.sh): Replace
21010 $(run-program-prefix) with $(test-program-prefix).
21011 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
21013 ($(common-objpfx)shlib.lds): Likewise.
21014 (build-module-helper): Likewise.
21015 ($(common-objpfx)format.lds): Likewise.
21016 * Rules (binaries-pie-tests): New.
21017 (binaries-pie-notests): Likewise.
21018 (binaries-pie): Rewritten.
21019 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
21020 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
21021 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
21022 (make-test-out): Replace $(host-built-program-cmd) with
21023 $(host-test-program-cmd).
21024 * config.make.in (build-hardcoded-path-in-tests): New variable.
21025 * configure.in (--enable-hardcoded-path-in-tests): New configure
21027 (hardcoded_path_in_tests): New AC_SUBST.
21028 * configure: Regenerated.
21029 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
21030 $(built-program-cmd) with $(test-program-cmd).
21031 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
21032 (test_program_cmd): This.
21033 * elf/Makefile ($(objpfx)order.out): Run test with
21034 $(test-program-prefix).
21035 ($(objpfx)order2.out): Likewise.
21036 ($(objpfx)tst-initorder.out): Likewise.
21037 ($(objpfx)tst-initorder2.out): Likewise.
21038 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
21039 $(test-program-cmd).
21040 ($(objpfx)tst-array1-static.out): Likewise.
21041 ($(objpfx)tst-array2.out): Likewise.
21042 ($(objpfx)tst-array3.out): Likewise.
21043 ($(objpfx)tst-array4.out): Likewise.
21044 ($(objpfx)tst-array5.out): Likewise.
21045 ($(objpfx)tst-array5-static.out): Likewise.
21046 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
21047 $(test-program-cmd).
21048 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
21049 $(run-program-prefix) with $(test-program-prefix).
21050 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
21051 (test_program_prefix): This.
21052 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
21053 $(run-program-prefix) with $(test-program-prefix).
21054 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
21055 (test_program_prefix): This.
21056 * iconvdata/tst-tables.sh: Likewise.
21057 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
21058 $(run-program-prefix) with $(test-program-prefix).
21059 ($(objpfx)tst-translit.out): Likewise.
21060 ($(objpfx)tst-gettext2.out): Likewise.
21061 ($(objpfx)tst-gettext4.out): Likewise.
21062 ($(objpfx)tst-gettext6.out): Likewise.
21063 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
21064 (test_program_prefix): This.
21065 * intl/tst-gettext2.sh: Likewise.
21066 * intl/tst-gettext4.sh Likewise.
21067 * intl/tst-gettext6.sh: Likewise.
21068 * intl/tst-translit.sh: Likewise.
21069 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
21070 with $(test-program-cmd).
21071 * libio/Makefile ($(objpfx)test-freopen.out): Replace
21072 $(run-program-prefix) with $(test-program-prefix).
21073 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
21074 (test_program_prefix): This.
21075 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
21076 $(run-program-prefix) with $(test-program-prefix).
21077 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
21078 (test_program_prefix): This.
21079 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
21080 * posix/Makefile ($(objpfx)globtest.out): Replace
21081 $(run-via-rtld-prefix) and $(test-wrapper) with
21082 $(test-program-prefix) and $(test-via-rtld-prefix).
21083 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
21084 $(test-program-prefix).
21085 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
21086 $(host-test-program-cmd).
21087 (tst-spawn-ARGS): Likewise.
21088 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
21089 $(test-program-prefix).
21090 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
21091 (test_via_rtld_prefix): This.
21092 (test_wrapper): Renamed to ...
21093 (test_program_prefix): This.
21094 (run_program_prefix): Replaced by test_program_prefix.
21095 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
21096 (test_program_prefix): This.
21097 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
21098 with $(host-test-program-cmd).
21099 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
21100 $(run-program-prefix) with $(test-program-prefix).
21101 ($(objpfx)tst-printf.out): Likewise.
21102 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
21103 $(test-program-cmd).
21104 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
21105 (test_program_prefix): This.
21106 * stdio-common/tst-unbputc.sh: Likewise.
21107 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
21108 $(run-program-prefix) with $(test-program-prefix).
21109 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
21110 (test_program_prefix): This.
21111 * string/Makefile ($(objpfx)tst-svc.out): Replace
21112 $(built-program-cmd) with $(test-program-cmd).
21114 2013-01-11 Andreas Jaeger <aj@suse.de>
21117 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
21118 value. Sync with Linux 3.7.
21120 2013-01-10 David S. Miller <davem@davemloft.net>
21122 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
21123 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
21124 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
21126 2013-01-10 Roland McGrath <roland@hack.frob.com>
21128 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
21130 * configure: Regenerated.
21132 2013-01-10 David S. Miller <davem@davemloft.net>
21134 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
21135 sparc V9 rather than using V8 code.
21136 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
21137 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
21139 2013-01-10 Roland McGrath <roland@hack.frob.com>
21141 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
21142 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
21143 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
21144 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
21145 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
21146 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
21147 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
21148 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
21149 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
21150 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
21151 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
21152 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
21153 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
21154 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
21155 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
21156 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
21157 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
21158 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
21159 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
21160 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
21161 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
21162 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
21163 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
21164 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
21165 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
21166 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
21167 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
21169 2013-01-10 David S. Miller <davem@davemloft.net>
21171 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21173 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
21175 * posix/Makefile (tests-static): New variable.
21176 (tests): Add $(tests-static).
21177 (tst-exec-static-ARGS): New variable.
21178 (tst-spawn-static-ARGS): Likewise.
21179 * posix/tst-exec-static.c: New file.
21180 * posix/tst-spawn-static.c: Likewise.
21181 * posix/tst-exec.c: Support run directly.
21182 * posix/tst-spawn.c: Likewise.
21184 2013-01-10 Joseph Myers <joseph@codesourcery.com>
21186 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
21188 * math/bits/mathcalls.h (llrint): Likewise.
21189 (llround): Likewise.
21190 * stdlib/stdlib.h (struct drand48_data): Likewise.
21191 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
21192 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
21193 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
21195 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
21197 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
21198 (elf_greg_t): Likewise.
21199 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
21200 (__jmp_buf): Likewise.
21201 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
21203 (llrint): Likewise, for all definitions.
21204 (llrintl): Likewise.
21206 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
21207 Remove [__GNUC__] condition.
21208 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
21209 condition to just [__USE_ISOC99].
21210 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
21212 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
21215 * sysdeps/unix/sysv/linux/x86/bits/environments.h
21216 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
21218 (_POSIX_V6_ILP32_OFF32): Likewise.
21219 (_XBS5_ILP32_OFF32): Likewise.
21220 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
21221 (__ILP32_OFFBIG_LDFLAGS): Likewise.
21223 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21225 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
21227 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
21228 doubles __mpexp_twomm1. Adjust usage.
21229 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
21232 2013-01-10 Andreas Schwab <schwab@suse.de>
21235 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
21236 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
21238 2013-01-09 David S. Miller <davem@davemloft.net>
21241 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
21242 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
21243 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
21244 (TCP_FASTOPEN): Define.
21245 (tcp_repair_opt): New structure.
21246 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
21248 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
21249 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
21250 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
21251 (tcp_cookie_transactions): New structure.
21253 2013-01-09 Anton Blanchard <anton@samba.org>
21255 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
21256 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
21257 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
21258 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
21260 2013-01-09 Joseph Myers <joseph@codesourcery.com>
21262 * include/features.h (__USE_ANSI): Remove.
21264 2013-01-09 Roland McGrath <roland@hack.frob.com>
21266 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
21268 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
21270 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
21272 * sysdeps/s390/fpu/libm-test-ulps: Update.
21274 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21276 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
21280 (denorm): Likewise.
21281 (__mp_dbl): Likewise.
21282 (__dbl_mp): Likewise.
21283 (add_magnitudes): Likewise.
21284 (sub_magnitudes): Likewise.
21290 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
21294 (denorm): Likewise.
21295 (__mp_dbl): Likewise.
21296 (__dbl_mp): Likewise.
21297 (add_magnitudes): Likewise.
21298 (sub_magnitudes): Likewise.
21304 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
21308 (denorm): Likewise.
21309 (__mp_dbl): Likewise.
21310 (__dbl_mp): Likewise.
21311 (add_magnitudes): Likewise.
21312 (sub_magnitudes): Likewise.
21319 2013-01-08 Joseph Myers <joseph@codesourcery.com>
21321 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
21322 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
21323 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
21324 2 && __USE_EXTERN_INLINES]: Likewise.
21326 2013-01-08 Andreas Jaeger <aj@suse.de>
21329 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
21331 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
21332 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
21334 2013-01-07 Anton Blanchard <anton@samba.org>
21336 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
21337 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
21338 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
21339 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
21340 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
21341 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21342 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
21343 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
21344 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
21345 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
21346 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21347 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21348 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
21349 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21350 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
21351 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21352 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21353 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21354 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
21355 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
21356 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
21357 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
21358 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
21359 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
21360 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
21361 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
21362 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
21363 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
21364 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
21365 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
21366 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
21367 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21368 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
21369 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
21370 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
21371 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
21372 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21373 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
21374 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
21375 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
21376 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
21377 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21378 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
21380 2013-01-07 Joseph Myers <joseph@codesourcery.com>
21382 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
21383 (__MALLOC_PMT): Likewise.
21384 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
21385 [__GNUC__], only on [_LIBC].
21386 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
21387 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
21388 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
21389 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
21390 forward declaration.
21391 (realloc_hook_ini): Likewise.
21392 (memalign_hook_ini): Likewise.
21393 (__libc_memalign): Do not use __MALLOC_PMT in variable
21395 (__libc_valloc): Likewise.
21396 (__libc_pvalloc): Likewise.
21397 (__libc_calloc): Likewise.
21398 (__posix_memalign): Likewise.
21401 * math/s_casinh.c: Include <float.h>.
21402 (__casinh): Do not do computation with squaring and square root
21403 for large arguments.
21404 * math/s_casinhf.c: Include <float.h>.
21405 (__casinhf): Do not do computation with squaring and square root
21406 for large arguments.
21407 * math/s_casinhl.c: Include <float.h>.
21408 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
21409 (__casinhl): Do not do computation with squaring and square root
21410 for large arguments.
21411 * math/libm-test.inc (casin_test): Add more tests.
21412 (casinh_test): Likewise.
21413 * sysdeps/i386/fpu/libm-test-ulps: Update.
21414 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21416 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
21418 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
21419 (__x86_64_raw_data_cache_size): Likewise.
21420 (__x86_64_data_cache_size_half): Likewise.
21421 (__x86_64_raw_data_cache_size_half): Likewise.
21422 (__x86_64_shared_cache_size): Likewise.
21423 (__x86_64_raw_shared_cache_size): Likewise.
21424 (__x86_64_shared_cache_size_half): Likewise.
21425 (__x86_64_raw_shared_cache_size_half): Likewise.
21426 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
21428 (__x86_data_cache_size): This.
21429 (__x86_64_raw_data_cache_size): Renamed to ...
21430 (__x86_raw_data_cache_size): This.
21431 (__x86_64_data_cache_size_half): Renamed to ...
21432 (__x86_data_cache_size_half): This.
21433 (__x86_64_raw_data_cache_size_half): Renamed to ...
21434 (__x86_raw_data_cache_size_half): This.
21435 (__x86_64_shared_cache_size): Renamed to ...
21436 (__x86_shared_cache_size): This.
21437 (__x86_64_raw_shared_cache_size): Renamed to ...
21438 (__x86_raw_shared_cache_size): This.
21439 (__x86_64_shared_cache_size_half): Renamed to ...
21440 (__x86_shared_cache_size_half): This.
21441 (__x86_64_raw_shared_cache_size_half): Renamed to ...
21442 (__x86_raw_shared_cache_size_half): This.
21443 * sysdeps/x86_64/memcpy.S: Updated.
21444 * sysdeps/x86_64/memset.S: Likewise.
21445 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
21446 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21447 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21449 2013-01-04 David S. Miller <davem@davemloft.net>
21451 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21453 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
21455 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
21456 1 to avoid redefinition warning.
21457 (__USE_GNU): Don't define.
21458 (init_signaling_nan): Protoize.
21460 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21462 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21464 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
21465 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
21466 (__cpymn): Likewise.
21467 (norm): Remove commented code.
21468 (denorm): Likewise.
21469 (__mp_dbl): Likewise.
21471 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
21472 (__cpymn): Likewise.
21473 (norm): Remove commented code.
21474 (denorm): Likewise.
21475 (__mp_dbl): Likewise.
21478 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
21479 mp_no value for 1.0 and 2.0.
21480 (norm): Use RADIXI instead of radixi.d.
21481 (denorm): Likewise.
21482 (__mul): Use 0.0 instead of zero.d.
21483 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
21484 mp_no value for 1.0 and 2.0.
21485 (norm): Use RADIXI instead of radixi.d.
21486 (denorm): Likewise.
21487 (__mul): Use 0.0 instead of zero.d.
21489 2013-01-04 Joseph Myers <joseph@codesourcery.com>
21492 * math/s_casinh.c (__casinh): Reduce finite argument to first
21493 quadrant then set signs of results at the end.
21494 * math/s_casinhf.c (__casinhf): Likewise.
21495 * math/s_casinhl.c (__casinhl): Likewise.
21496 * math/libm-test.inc (casin_test): Add more tests.
21497 (casinh_test): Likewise.
21498 * sysdeps/i386/fpu/libm-test-ulps: Update.
21499 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21501 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21503 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
21505 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
21507 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
21509 (denorm): Likewise.
21510 (__mp_dbl): Likewise.
21513 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
21514 and adjust the header comment.
21516 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
21517 variable name from declaration.
21519 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
21521 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21522 Initialize COMMON_CPUID_INDEX_7 element.
21523 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
21524 (CPUID_RTM): Likewise.
21525 (HAS_RTM): Likewise.
21526 (COMMON_CPUID_INDEX_7): New enum.
21528 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
21531 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
21532 size is zero, record memory as freed.
21534 2013-01-03 Andreas Jaeger <aj@suse.de>
21536 * po/ia.po: Add new Interlingua translation.
21538 2012-01-03 Allan McRae <allan@archlinux.org>
21540 * locale/programs/localedef.c: Fix description of '--posix' flag.
21542 2013-01-02 Joseph Myers <joseph@codesourcery.com>
21544 * NEWS: Update dates in second copyright notice.
21545 * README: Update copyright dates in example.
21546 * manual/libc.texinfo: Update copyright dates.
21547 * scripts/test-installation.pl: Update copyright date in --version
21550 * hurd/ctty-input.c: Fix copyright notice formatting.
21551 * hurd/ctty-output.c: Likewise.
21552 * hurd/dtable.c: Likewise.
21553 * hurd/hurd-raise.c: Likewise.
21554 * hurd/hurdprio.c: Likewise.
21555 * hurd/msgportdemux.c: Likewise.
21556 * misc/sys/file.h: Likewise.
21557 * misc/sys/ioctl.h: Likewise.
21558 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
21559 * sysdeps/mach/hurd/chdir.c: Likewise.
21560 * sysdeps/mach/hurd/fchdir.c: Likewise.
21561 * sysdeps/mach/hurd/rename.c: Likewise.
21562 * sysdeps/mach/hurd/rmdir.c: Likewise.
21563 * sysdeps/mach/hurd/seekdir.c: Likewise.
21564 * sysdeps/mach/hurd/setsid.c: Likewise.
21565 * sysdeps/posix/wait3.c: Likewise.
21567 * All files with FSF copyright notices: Update copyright dates
21568 using scripts/update-copyrights.
21569 * intl/plural.c: Regenerated.
21570 * locale/programs/charmap-kw.h: Likewise.
21571 * locale/programs/locfile-kw.h: Likewise.
21573 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
21575 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
21578 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
21579 calculation loop and add branch prediction.
21581 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
21582 check access beyond bounds of m1np.
21584 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
21586 (__inv): Remove local variable MPTWO to use the global
21588 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
21589 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
21591 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
21592 MP3HALFS static const.
21594 2013-01-01 David S. Miller <davem@davemloft.net>
21596 * po/ca.po: Update from translation team.
21598 2013-01-01 Joseph Myers <joseph@codesourcery.com>
21600 * scripts/update-copyrights: New file.
21601 * Makeconfig: Reformat copyright notice.
21602 * ctype/ctype.h: Likewise.
21603 * debug/swprintf_chk.c: Likewise.
21604 * elf/dl-cache.c: Likewise.
21605 * elf/dl-debug.c: Likewise.
21606 * elf/dl-object.c: Likewise.
21607 * grp/initgroups.c: Likewise.
21608 * hurd/Makefile: Likewise.
21609 * hurd/hurd/signal.h: Likewise.
21610 * hurd/hurdfault.c: Likewise.
21611 * hurd/hurdioctl.c: Likewise.
21612 * hurd/hurdlookup.c: Likewise.
21613 * hurd/intr-msg.c: Likewise.
21614 * iconv/gconv_open.c: Likewise.
21615 * libio/swprintf.c: Likewise.
21616 * locale/lc-ctype.c: Likewise.
21617 * locale/nl_langinfo.c: Likewise.
21618 * mach/Machrules: Likewise.
21619 * mach/Makefile: Likewise.
21620 * malloc/obstack.h: Likewise.
21621 * manual/Makefile: Likewise.
21622 * manual/tsort.awk: Likewise.
21623 * misc/bits/stab.def: Likewise.
21624 * nis/nis_print_group_entry.c: Likewise.
21625 * nis/nis_table.c: Likewise.
21626 * nis/nss_compat/compat-pwd.c: Likewise.
21627 * nis/nss_compat/compat-spwd.c: Likewise.
21628 * po/Makefile: Likewise.
21629 * posix/fnmatch.c: Likewise.
21630 * posix/regex.h: Likewise.
21631 * resolv/Makefile: Likewise.
21632 * resolv/nss_dns/dns-network.c: Likewise.
21633 * resolv/res_hconf.c: Likewise.
21634 * scripts/gen-sorted.awk: Likewise.
21635 * soft-fp/soft-fp.h: Likewise.
21636 * stdio-common/printf.h: Likewise.
21637 * stdlib/monetary.h: Likewise.
21638 * stdlib/random.c: Likewise.
21639 * stdlib/random_r.c: Likewise.
21640 * sysdeps/generic/Makefile: Likewise.
21641 * sysdeps/gnu/Makefile: Likewise.
21642 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21643 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21644 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21645 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21646 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21647 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21648 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21649 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21650 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21651 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21652 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21653 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21654 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
21655 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
21656 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
21657 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
21658 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21659 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21660 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21661 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21662 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
21663 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
21664 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21665 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
21666 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
21667 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
21668 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
21669 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
21670 * sysdeps/mach/hurd/errnos.awk: Likewise.
21671 * sysdeps/mach/hurd/fork.c: Likewise.
21672 * sysdeps/mach/hurd/getcwd.c: Likewise.
21673 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
21674 * sysdeps/mach/hurd/mmap.c: Likewise.
21675 * sysdeps/mach/hurd/utimes.c: Likewise.
21676 * sysdeps/mach/hurd/xmknod.c: Likewise.
21677 * sysdeps/posix/profil.c: Likewise.
21678 * sysdeps/posix/readdir_r.c: Likewise.
21679 * sysdeps/powerpc/bits/mathdef.h: Likewise.
21680 * sysdeps/powerpc/bits/setjmp.h: Likewise.
21681 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
21682 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
21683 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
21684 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
21685 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
21686 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21687 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21688 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
21689 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
21690 * sysdeps/pthread/lio_listio.c: Likewise.
21691 * sysdeps/sparc/dl-procinfo.h: Likewise.
21692 * sysdeps/unix/i386/sysdep.S: Likewise.
21693 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
21694 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
21695 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
21696 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
21697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21698 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
21699 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
21700 * sysdeps/unix/sysv/linux/speed.c: Likewise.
21701 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
21702 * sysdeps/wordsize-32/divdi3.c: Likewise.
21703 * time/sys/time.h: Likewise.
21704 * wcsmbs/Makefile: Likewise.
21706 2013-01-01 David S. Miller <davem@davemloft.net>
21708 * po/fr.po: Update from translation team.
21710 * catgets/gencat.c: Update copyright year.
21711 * csu/version.c: Likewise.
21712 * debug/catchsegv.sh: Likewise.
21713 * debug/pcprofiledump.c: Likewise.
21714 * debug/xtrace.sh: Likewise.
21715 * elf/ldconfig.c: Likewise.
21716 * elf/ldd.bash.in: Likewise.
21717 * elf/pldd.c: Likewise.
21718 * elf/sotruss.ksh: Likewise.
21719 * elf/sprof.c: Likewise.
21720 * iconv/iconv_prog.c: Likewise.
21721 * iconv/iconvconfig.c: Likewise.
21722 * locale/programs/locale.c: Likewise.
21723 * locale/programs/localedef.c: Likewise.
21724 * login/programs/pt_chown.c: Likewise.
21725 * malloc/memusage.sh: Likewise.
21726 * malloc/memusagestat.c: Likewise.
21727 * malloc/mtrace.pl: Likewise.
21728 * nscd/nscd.c: Likewise.
21729 * nss/getent.c: Likewise.
21730 * nss/makedb.c: Likewise.
21731 * posix/getconf.c: Likewise.
21733 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
21735 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
21738 2012-12-30 Mike Frysinger <vapier@gentoo.org>
21740 * math/bits/mathcalls.h (modf): Use __nonnull.
21742 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21744 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
21745 (split): Use macro CN instead of the bare value.
21746 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
21748 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
21749 instead of the bare value.
21750 (power1): Likewise.
21752 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21754 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
21756 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21758 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
21760 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
21761 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21762 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
21763 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
21765 2012-12-28 Andreas Jaeger <aj@suse.de>
21767 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
21768 values are from Linux 3.7.
21770 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
21771 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
21773 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21775 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
21778 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
21780 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
21781 variables with preprocessor constants.
21782 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21783 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
21784 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
21786 2012-12-27 Bruno Haible <bruno@clisp.org>
21789 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
21792 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21794 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
21795 and use variable directly.
21796 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
21798 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
21800 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
21801 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
21803 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21804 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
21805 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
21806 include directive. Remove local variable MPONE.
21807 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
21808 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
21809 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21811 2012-12-25 David S. Miller <davem@davemloft.net>
21813 * version.h (RELEASE): Set to "development".
21814 (VERSION): Set to "2.17.90".
21815 * NEWS: Add 2.18 section.
21817 2012-12-21 David S. Miller <davem@davemloft.net>
21819 * po/hr.po: Update from translation team.
21821 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21823 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
21825 2012-12-19 Steve Ellcey <sellcey@mips.com>
21827 * NEWS: Mention new memcpy for MIPS.
21829 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21831 * manual/contrib.texi (Contributors): Spelling correction.
21833 2012-12-15 David S. Miller <davem@davemloft.net>
21835 * po/ru.po: Update from translation team.
21837 2012-12-13 David S. Miller <davem@davemloft.net>
21839 * NEWS: Mention IFUNC testsuite enhancements.
21841 * po/pl.po: Update from translation team.
21842 * po/bg.po: Likewise.
21844 * manual/contrib.texi (Contributors): Update entries for Hongjiu
21845 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
21847 2012-12-11 David S. Miller <davem@davemloft.net>
21849 * po/sv.po: Update from translation team.
21851 * po/vi.po: Update from translation team.
21853 * po/cs.po: Update from translation team.
21855 * po/de.po: Update from translation team.
21856 * po/eo.po: Likewise.
21857 * po/nl.po: Likewise.
21859 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21862 * manual/argp.texi (Argp Helper Functions): Move node to follow
21863 Argp Parsing State.
21866 * manual/conf.texi (Limits on File System Capacity): Mention if
21867 terminating null is included in the max size.
21869 2012-12-10 Andreas Jaeger <aj@suse.de>
21871 * po/cs.po: Update from translation team.
21873 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
21875 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
21876 void pointer and cast to uintptr_t.
21877 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
21879 * sysdeps/s390/s390-64/memcpy.S: Likewise.
21880 * sysdeps/s390/s390-64/memset.S: Likewise.
21882 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
21885 * menual/message.texi (Message Translation): Fix typos.
21886 (Helper programs for gettext): Likewise.
21888 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
21891 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
21894 2012-12-07 David S. Miller <davem@davemloft.net>
21896 * po/libc.pot: Update.
21898 2012-12-07 Richard Henderson <rth@redhat.com>
21901 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
21902 normal/normal case to before the switch.
21903 (_FP_DIV): Likewise.
21905 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
21906 Mike Frysinger <vapier@gentoo.org>
21908 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
21909 check for __NR_fadvise64_64.
21911 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
21913 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
21914 0, not just to plain "0" as a statement.
21915 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
21918 2012-12-06 Joseph Myers <joseph@codesourcery.com>
21920 * NEWS: Use sourceware.org in Bugzilla URL.
21922 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
21924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
21925 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
21927 * stdio-common/tst-put-error.c (do_test): Add newline to the
21928 padded test to ensure flush.
21930 2012-12-05 Jeff Law <law@redhat.com>
21932 * sunrpc/etc.rpc (fedfs_admin): Add entry.
21934 2012-12-05 Joseph Myers <joseph@codesourcery.com>
21936 * README: Don't refer to ports add-on as distributed separately.
21937 Mention AArch64 in list of systems supported in the ports add-on.
21939 * LICENSES: Add more non-FSF copyright and license notices.
21941 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
21944 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
21946 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
21947 10000 as width of padded output.
21949 2012-12-04 Joseph Myers <joseph@codesourcery.com>
21951 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
21953 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
21954 variable LX with __attribute__ ((unused)).
21955 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
21957 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
21958 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21959 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
21960 with __attribute__ ((unused)).
21962 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
21964 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
21966 2012-12-04 Joseph Myers <joseph@codesourcery.com>
21968 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
21969 (CFLAGS-nldbl-acos.c): New variable.
21970 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
21971 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
21972 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
21973 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
21974 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
21975 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
21976 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
21977 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
21978 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
21979 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
21980 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
21981 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
21982 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
21983 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
21984 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
21985 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
21986 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
21987 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
21988 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
21989 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
21990 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
21991 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
21992 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
21993 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
21994 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
21995 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
21996 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
21997 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
21998 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
21999 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
22000 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
22001 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
22002 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
22003 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
22004 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
22005 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
22006 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
22007 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
22008 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
22009 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
22010 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
22011 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
22012 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
22013 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
22014 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
22015 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
22016 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
22017 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
22018 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
22019 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
22020 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
22021 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
22022 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
22023 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
22024 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
22025 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
22026 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
22027 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
22028 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
22029 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
22030 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
22031 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
22032 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
22033 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
22034 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
22035 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
22036 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
22037 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
22038 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
22039 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
22040 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
22041 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
22042 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
22043 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
22044 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
22045 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
22046 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
22047 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
22048 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
22049 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
22050 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
22051 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
22052 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
22053 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
22054 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
22055 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
22056 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
22057 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
22058 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
22059 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
22060 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
22061 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
22062 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
22063 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
22064 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
22065 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
22066 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
22068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22069 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
22072 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
22073 whole low double instead of just low 47 bits when splitting values
22076 2012-12-03 Allan McRae <allan@archlinux.org>
22078 * manual/stdio.texi (Predefined Printf Handlers): Remove
22079 @hsep and @vsep usage.
22081 2012-12-03 Mike Frysinger <vapier@gentoo.org>
22083 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
22084 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
22086 2012-12-03 Jeff Law <law@redhat.com>
22088 * time/sys/time.h (settimeofday): Do not mark TV argument
22091 2012-12-01 Mike Frysinger <vapier@gentoo.org>
22093 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
22094 when currently writing and seek to current position when not.
22095 * libio/Makefile (tests): Remove bug-fclose1.
22096 * libio/bug-fclose1.c: Delete.
22098 2012-12-01 Joseph Myers <joseph@codesourcery.com>
22100 * manual/arith.texi (feenableexcept): Fix typo.
22101 (fedisableexcept): Likewise.
22103 2012-11-30 Roland McGrath <roland@hack.frob.com>
22105 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
22106 second, differently-typed declaration, rather than a cast.
22108 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22110 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
22111 * include/rpc/svc.h: ... here.
22113 2012-11-30 Aurelien Jarno <aurel32@debian.org>
22116 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
22117 depending n and resplen2 to catch cases where answer
22120 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
22122 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
22123 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
22125 2012-11-29 Mike Frysinger <vapier@gentoo.org>
22127 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
22129 2012-11-29 Roland McGrath <roland@hack.frob.com>
22131 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
22133 2012-11-28 Jeff Law <law@redhat.com>
22136 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
22137 dataset_temporary. Track alloca usage into alloca_used.
22138 If dataset is large allocate and release it via malloc/free.
22140 2012-06-04 Florian Weimer <fweimer@redhat.com>
22143 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
22145 2012-11-28 David S. Miller <davem@davemloft.net>
22147 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22149 2012-11-28 Joseph Myers <joseph@codesourcery.com>
22152 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
22153 of pi/2 rounded to nearest to 64 bits.
22154 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
22155 nearest to 64 bits.
22156 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
22159 2012-11-28 Jeff Law <law@redhat.com>
22160 Martin Osvald <mosvald@redhat.com>
22163 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
22164 * sunrpc/svc.c: Include time.h.
22165 (__svc_accept_failed): New function.
22166 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
22167 any reason other than EINTR, call __svc_accept_failed.
22168 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
22169 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
22171 2012-11-28 Andreas Schwab <schwab@suse.de>
22173 * scripts/abilist.awk: Also handle indirect functions in .opd
22176 2012-11-28 Joseph Myers <joseph@codesourcery.com>
22179 * sysdeps/x86/fpu/powl_helper.c: New file.
22180 * sysdeps/x86/fpu/Makefile: Likewise.
22181 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
22183 (__ieee754_powl): Use __powl_helper for finite arguments except
22184 integer exponents below 8.
22185 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
22187 (__ieee754_powl): Use __powl_helper for finite arguments except
22188 integer exponents below 8.
22189 * math/libm-test.inc (pow_test): Add more tests and enable some
22190 previously disabled tests.
22191 * sysdeps/i386/fpu/libm-test-ulps: Update.
22192 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22194 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22195 Carlos O'Donell <carlos_odonell@mentor.com>
22197 * nss/makedb.c (is_prime): Assert that input is odd and greater
22198 than 4. Note that fact in a comment too.
22199 (next_prime): Add 4 to input.
22201 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22204 * libio/Makefile (tests): Add test case tst-fwrite-error.
22205 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
22206 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
22207 * libio/tst-fwrite-error.c: New test case.
22209 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
22211 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
22212 before casting to void *.
22213 * include/libc-internal.h (__pointer_type): New macro.
22214 (__integer_if_pointer_type_sub): Likewise.
22215 (__integer_if_pointer_type): Likewise.
22216 (cast_to_integer): Likewise.
22217 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
22218 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
22219 before casting to atomic64_t.
22220 (atomic_exchange_acq): Likewise.
22221 (__arch_exchange_and_add_body): Likewise.
22222 (__arch_add_body): Likewise.
22223 (atomic_add_negative): Likewise.
22224 (atomic_add_zero): Likewise.
22226 2012-11-26 Joseph Myers <joseph@codesourcery.com>
22228 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
22229 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
22230 (add_fdes): Likewise.
22231 (linear_search_fdes): Likewise.
22232 (binary_search_unencoded_fdes): Likewise.
22234 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
22236 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
22238 2012-11-24 Adam Conrad <adconrad@0c3.net>
22240 * configure.in: Autodetect C++ header directories.
22241 * configure: Regenerated.
22243 2012-11-23 Mike Frysinger <vapier@gentoo.org>
22245 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
22247 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
22249 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22251 2012-11-22 Joseph Myers <joseph@codesourcery.com>
22253 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
22254 LDBL_MANT_DIG == 106]: Disable some tests.
22255 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
22257 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
22261 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
22262 input for small inputs. Return +/- pi/2 for large inputs.
22263 * math/libm-test.inc (atan_test): Add more tests.
22265 * sysdeps/generic/unwind-dw2-fde-glibc.c
22266 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
22267 __attribute__ ((unused)).
22270 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
22271 x * y if x and y are nonzero and z is zero.
22274 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
22275 nonzero exponents with absolute value below 0x1p-117 to +/-
22279 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
22280 up arguments below 2**-450, not just those below 2**-500.
22281 * math/libm-test.inc (hypot_test): Add another test.
22284 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
22285 Return a+b for ratio over 2**120, not 2**60.
22286 * math/libm-test.inc (hypot_test): Add another test.
22288 * math/libm-test.inc (clog_test): Use
22289 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
22290 (clog10_test): Likewise.
22293 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
22295 2012-11-22 Andreas Schwab <schwab@suse.de>
22297 * sysdeps/i386/fpu/libm-test-ulps: Update.
22299 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
22301 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
22302 printf output with newline.
22304 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
22307 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
22308 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
22309 -z nodlopen, -z initfirst and -z execstack support.
22310 * configure: Regenerated.
22312 * elf/elf.h (DF_1_NODIRECT): New macro.
22313 (DF_1_IGNMULDEF): Likewise.
22314 (DF_1_NOKSYMS): Likewise.
22315 (DF_1_NOHDR): Likewise.
22316 (DF_1_EDITED): Likewise.
22317 (DF_1_NORELOC): Likewise.
22318 (DF_1_SYMINTPOSE): Likewise.
22319 (DF_1_GLOBAUDIT): Likewise.
22320 (DF_1_SINGLETON): Likewise.
22321 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
22322 DT_1_SUPPORTED_MASK bits.
22323 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
22325 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
22327 * sysdeps/unix/make-syscalls.sh: Document prefixes.
22329 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
22331 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
22334 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
22335 (sendmmsg): Move declarations...
22336 * socket/sys/socket.h: ... here.
22337 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
22338 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
22340 * socket/recvmmsg.c: ... this new file.
22341 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
22342 (sendmmsg): Rename to __sendmmsg, create weak alias and make
22343 definition of __sendmmsg hidden.
22344 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
22345 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
22346 Move ENOSYS stub into and include it from...
22347 * socket/sendmmsg.c: ... this new file.
22348 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
22349 (sysdep_routines): Move recvmmsg and sendmmsg...
22350 * socket/Makefile (routines): ... here.
22351 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
22352 (GLIBC_PRIVATE): Add __sendmmsg.
22353 * include/sys/socket.h (__sendmmsg): Add declarations.
22354 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
22357 2012-11-20 Joseph Myers <joseph@codesourcery.com>
22359 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
22360 variable I1 with __attribute__ ((unused)).
22361 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
22363 2012-11-19 Joseph Myers <joseph@codesourcery.com>
22365 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
22366 DUMMY variables with __attribute__ ((unused)).
22368 * bits/byteswap.h: Include <bits/types.h>.
22369 (__bswap_64): Use __uint64_t instead of unsigned long long int.
22371 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
22373 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
22374 string_t. Do not manually set errno.
22375 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
22376 length with __strnlen. Make sure to both set errno and return it on
22379 2012-11-19 David S. Miller <davem@davemloft.net>
22381 With help from Joseph Myers.
22382 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
22383 very large arguments properly.
22384 * math/libm-test.inc (atan_test): New tests.
22385 (atan2_test): New tests.
22386 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22387 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22389 2012-11-19 Joseph Myers <joseph@codesourcery.com>
22392 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
22395 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
22396 [POSIX] (EADDRNOTAVAIL): Likewise.
22397 [POSIX] (EAFNOSUPPORT): Likewise.
22398 [POSIX] (EALREADY): Likewise.
22399 [POSIX] (ECONNABORTED): Likewise.
22400 [POSIX] (ECONNREFUSED): Likewise.
22401 [POSIX] (ECONNRESET): Likewise.
22402 [POSIX] (EDESTADDRREQ): Likewise.
22403 [POSIX] (EDQUOT): Likewise.
22404 [POSIX] (EHOSTUNREACH): Likewise.
22405 [POSIX] (EIDRM): Likewise.
22406 [POSIX] (EISCONN): Likewise.
22407 [POSIX] (ELOOP): Likewise.
22408 [POSIX] (EMULTIHOP): Likewise.
22409 [POSIX] (ENETDOWN): Likewise.
22410 [POSIX] (ENETUNREACH): Likewise.
22411 [POSIX] (ENOBUFS): Likewise.
22412 [POSIX] (ENODATA): Likewise.
22413 [POSIX] (ENOLINK): Likewise.
22414 [POSIX] (ENOMSG): Likewise.
22415 [POSIX] (ENOPROTOOPT): Likewise.
22416 [POSIX] (ENOSR): Likewise.
22417 [POSIX] (ENOSTR): Likewise.
22418 [POSIX] (ENOTCONN): Likewise.
22419 [POSIX] (ENOTSOCK): Likewise.
22420 [POSIX] (EOPNOTSUPP): Likewise.
22421 [POSIX] (EOVERFLOW): Likewise.
22422 [POSIX] (EPROTO): Likewise.
22423 [POSIX] (EPROTONOSUPPORT): Likewise.
22424 [POSIX] (EPROTOTYPE): Likewise.
22425 [POSIX] (ESTALE): Likewise.
22426 [POSIX] (ETIME): Likewise.
22427 [POSIX] (ETXTBSY): Likewise.
22428 [POSIX] (EWOULDBLOCK): Likewise.
22429 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
22430 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
22431 [POSIX] (SEEK_CUR): Likewise.
22432 [POSIX] (SEEK_END): Likewise.
22433 [POSIX || UNIX98] (mode_t): Do not require.
22434 [POSIX] (off_t): Likewise.
22435 [POSIX] (pid_t): Likewise.
22436 [POSIX] (sys/stat.h): Do not allow header.
22437 [POSIX] (unistd.h): Likewise.
22438 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
22439 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
22440 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
22441 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
22443 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
22444 sigevent): Specify elements.
22445 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
22447 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
22448 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
22450 * conform/data/cpio.h-data [POSIX]: Disable whole file.
22451 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
22452 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
22453 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
22454 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
22455 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
22456 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
22457 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
22458 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
22459 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
22460 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
22461 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
22462 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
22463 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
22465 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
22467 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
22469 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
22471 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
22472 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
22473 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
22474 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
22475 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
22476 Specify lower bound on value.
22477 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
22478 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
22479 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
22480 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
22481 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
22482 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
22483 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
22484 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
22486 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
22488 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
22489 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
22490 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
22491 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
22492 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
22493 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
22494 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
22495 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
22496 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
22497 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
22498 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
22499 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
22500 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
22501 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
22502 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
22503 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
22505 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
22507 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
22508 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
22509 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
22510 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
22511 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
22512 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
22514 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
22515 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
22516 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
22517 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
22518 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
22519 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
22520 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
22522 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
22523 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
22524 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
22525 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
22526 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
22527 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
22528 specify as optional.
22529 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
22530 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
22531 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
22532 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
22533 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
22534 [XPG3] (NL_LANGMAX): Likewise.
22535 [POSIX || XPG3] (NL_MSGMAX): Likewise.
22536 [POSIX || XPG3] (NL_NMAX): Likewise.
22537 [POSIX || XPG3] (NL_SETMAX): Likewise.
22538 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
22539 [XPG3] (NZERO): Likewise.
22540 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
22541 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
22542 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
22543 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
22544 (REG_ERANGE): Expect.
22545 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
22547 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
22548 Use (void) in prototype.
22549 [POSIX] (*_t): Allow.
22550 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
22551 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
22552 (WRDE_BADVAL): Expect.
22554 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
22556 [XPG3 || XPG4] (O_RSYNC): Likewise.
22557 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
22559 [XPG3 || XPG4] (pthread_sigmask): Likewise.
22560 [XPG3 || XPG4] (sigqueue): Likewise.
22561 [XPG3 || XPG4] (sigtimedwait): Likewise.
22562 [XPG3 || XPG4] (sigwaitinfo): Likewise.
22563 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
22564 [XPG3 || XPG4] (vsnprintf): Likewise.
22565 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
22567 [XPG3 || XPG4] (blksize_t): Likewise.
22568 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
22570 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
22571 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
22572 [XPG3 || XPG4] (struct itimerspec): Likewise.
22573 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
22574 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
22575 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
22576 [XPG3 || XPG4] (clockid_t): Likewise.
22577 [XPG3 || XPG4] (timer_t): Likewise.
22578 [XPG3 || XPG4] (clock_getres): Likewise.
22579 [XPG3 || XPG4] (clock_gettime): Likewise.
22580 [XPG3 || XPG4] (clock_settime): Likewise.
22581 [XPG3 || XPG4] (nanosleep): Likewise.
22582 [XPG3 || XPG4] (timer_create): Likewise.
22583 [XPG3 || XPG4] (timer_delete): Likewise.
22584 [XPG3 || XPG4] (timer_gettime): Likewise.
22585 [XPG3 || XPG4] (timer_getoverrun): Likewise.
22586 [XPG3 || XPG4] (timer_settime): Likewise.
22587 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
22588 [XPG3 || XPG4] (getlogin_r): Likewise.
22589 [XPG3 || XPG4] (pread): Likewise.
22590 [XPG3 || XPG4] (pthread_atfork): Likewise.
22591 [XPG3 || XPG4] (pwrite): Likewise.
22594 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
22597 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
22599 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
22600 finalizing MALLSTREAM.
22602 * sysdeps/mach/hurd/syncfs.c: New file.
22604 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22607 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
22608 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
22609 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
22610 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
22611 (_nss_dns_gethostbyname4_r): Likewise.
22612 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
22613 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
22615 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
22618 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
22620 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
22622 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
22623 * elf/cache.c (print_entry): Print ",AArch64" for
22626 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
22627 * elf/cache.c (print_entry): Print ",hard-float" for
22630 2012-11-18 David S. Miller <davem@davemloft.net>
22632 With help from Joseph Myers.
22633 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
22635 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
22637 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
22638 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
22640 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
22641 * math/libm-test.inc (y0_test): New tests.
22642 (y1_test): New tests.
22643 * sysdeps/i386/fpu/libm-test-ulps: Update.
22644 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22645 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22647 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
22649 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
22651 * configure: Regenerated.
22653 2012-11-17 David S. Miller <davem@davemloft.net>
22656 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
22657 nonzero exponents with absolute value below 0x1p-128 to +/-
22660 2012-11-17 Joseph Myers <joseph@codesourcery.com>
22662 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
22664 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
22666 * posix/getconf-speclist.c: New file.
22667 * posix/posix-envs.def: Likewise.
22668 * posix/confstr.c (START_ENV_GROUP): New macro.
22669 (END_ENV_GROUP): Likewise.
22670 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
22671 (KNOWN_PRESENT_ENV_STRING): Likewise.
22672 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
22673 (UNKNOWN_ENVIRONMENT): Likewise.
22674 (confstr): Include posix-envs.def instead of handling
22675 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
22676 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
22677 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
22678 (END_ENV_GROUP): Likewise.
22679 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
22680 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
22681 (UNKNOWN_ENVIRONMENT): Likewise.
22682 (__sysconf): Include posix-envs.def instead of handling associated
22683 cases directly here.
22684 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
22685 preprocessing getconf-speclist.c rather than running getconf or
22686 generating empty file.
22688 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
22690 * scripts/check-local-headers.sh: Ignore 'mach' headers.
22692 2012-11-16 Andrej Lajovic <natrij@gmail.com>
22695 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
22697 2012-11-16 David S. Miller <davem@davemloft.net>
22699 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
22700 smaller than LDBL_EPSILON/2.0L, just return xm1.
22702 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
22704 * elf/tst-array1.c (init): Set constructor priority to 1000.
22705 (fini): Set destructor priority to 1000.
22706 * elf/tst-array2dep.c: Likewise.
22708 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22711 * libio/fileops.c (_IO_new_file_write): Correctly return error.
22712 (_IO_new_file_xsputn): Also return EOF if none of the input
22713 data was written when overflow failed.
22714 * libio/iopadn.c (_IO_padn): Likewise.
22715 * libio/iowpadn.c (_IO_wpadn): Likewise.
22716 * stdio-common/tst-put-error.c: Add copyright notice.
22717 (do_test): Add case for printing padded string.
22718 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
22719 _IO_padn returned error.
22720 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
22721 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
22724 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22726 * libio/libioP.h: Add comment note that the references to C++
22727 bits are now obsolete.
22729 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22731 * math/libm-test.inc (check_complex): Use asprintf.
22733 2012-11-14 Joseph Myers <joseph@codesourcery.com>
22735 * debug/pcprofiledump.c (print_version): Update copyright year.
22736 * malloc/memusagestat.c (print_version): Likewise.
22738 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
22741 * elf/Makefile (tests): Add tst-audit8.
22742 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
22743 ($(objpfx)tst-audit8.out): New target.
22744 (tst-audit8-ENV): New variable.
22745 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
22746 audit if l_reloc_result is NULL.
22747 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
22748 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
22749 * elf/tst-audit8.c: New file.
22751 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22753 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
22754 * misc/Makefile (CFLAGS-select.c): Define.
22755 * posix/Makefile (CFLAGS-pause.c): Define.
22757 2012-11-13 David S. Miller <davem@davemloft.net>
22759 * crypt/Makefile: Move test targets after toplevel Rules
22760 inclusion. Grab any necessary sysdep routines when linking.
22761 * crypt/md5.c (md5_process_block): Remove define, we will always
22762 name it __md5_process_block.
22763 (md5_finish_ctx): Update md5_process_block call.
22764 (md5_stream): Likewise.
22765 (md5_process_bytes): Likewise.
22766 (md5_process_block): Rename to __md5_process_block and move to ...
22767 * crypt/md5-block.c: ... here.
22768 * crypt/sha256.c (sha256_process_block): Move to ...
22769 * crypt/sha256-block.c: ... here.
22770 * crypt/sha512.c (sha512_process_block): Move to ...
22771 * crypt/sha512-block.c: ... here.
22772 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
22774 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
22775 * sysdeps/sparc/sparc64/multiarch/Makefile
22776 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
22778 (localedef-aux): Add md5 crypto assembler when in locale subdir.
22779 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
22781 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
22782 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
22783 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
22784 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
22785 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
22786 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
22787 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
22788 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
22789 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
22791 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
22792 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
22794 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
22796 2012-11-13 Joseph Myers <joseph@codesourcery.com>
22798 * timezone/tzselect.ksh: Update from tzcode git revision
22799 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
22800 * timezone/zdump.c: Likewise.
22801 * timezone/zic.c: Likewise.
22802 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
22803 in TZVERSION setting, not $(PKGVERSION).
22804 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
22805 REPORT_BUGS_TO settings.
22808 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
22811 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22813 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
22814 detection to immediately after _FP_ROUND().
22815 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
22818 2012-11-11 David S. Miller <davem@davemloft.net>
22820 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
22822 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
22823 __close rather than their public counterparts.
22825 2012-11-10 Joseph Myers <joseph@codesourcery.com>
22827 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
22829 [UNIX98] (sem_timedwait): Do not expect.
22830 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
22831 [XPG4 || UNIX98] (sockatmark): Do not expect.
22832 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
22833 (clock_getcpuclockid): Do not expect.
22834 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
22835 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
22837 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
22838 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
22839 [UNIX98] (vwscanf): Likewise.
22840 [UNIX98] (vswscanf): Likewise.
22842 2012-11-09 Joseph Myers <joseph@codesourcery.com>
22844 * timezone/version.h: Remove file.
22845 * timezone/README: Do not refer to version.h.
22846 * timezone/Makefile ($(objpfx)zic.o): New dependency on
22847 $(objpfx)version.h.
22848 ($(objpfx)zdump.o): Likewise.
22849 ($(objpfx)version.h): New target.
22851 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
22853 * timezone/README: Don't mention modification to tzselect.ksh.
22854 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
22855 work on unmodified tzselect.ksh. Substitute version numbers in
22858 * Makefile (format-me): Remove.
22859 (INSTALL): Adjust indentation. Use commands directly instead of
22860 using $(format-me).
22862 * aclocal.m4 (ACX_PKGVERSION): New macro.
22863 (ACX_BUGURL): Likewise.
22864 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
22865 (PKGVERSION): New AC_DEFINE_UNQUOTED.
22866 (REPORT_BUGS_TO): Likewise.
22867 * configure: Regenerated.
22868 * config.h.in (PKGVERSION): New macro.
22869 (REPORT_BUGS_TO): Likewise.
22870 * config.make.in (PKGVERSION): New variable.
22871 (PKGVERSION_TEXI): Likewise.
22872 (REPORT_BUGS_TO): Likewise.
22873 (REPORT_BUGS_TEXI): Likewise.
22874 * Makefile (format-me): Use -I$(common-objpfx)manual.
22875 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
22876 ($(common-objpfx)manual/%): New target.
22877 (manual/%): Remove target.
22878 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
22879 (print_version): Use PKGVERSION.
22880 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
22881 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
22882 and REPORT_BUGS_TO.
22883 ($(objpfx)xtrace): Likewise.
22884 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
22885 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
22886 (print_version): Use PKGVERSION.
22887 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
22888 (do_version): Use PKGVERSION.
22889 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
22891 (common-ldd-rewrite): Likewise.
22892 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
22893 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
22894 (print_version): Use PKGVERSION.
22895 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
22896 * elf/pldd.c (argp_program_bug_address): Remove variable.
22897 (more_help): New function.
22898 (argp): Use more_help.
22899 (print_version): Use PKGVERSION.
22900 * elf/sln.c (main): Use PKGVERSION.
22901 (usage): Use REPORT_BUGS_TO.
22902 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
22903 (top level): Use PKGVERSION.
22904 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
22905 (print_version): Use PKGVERSION.
22906 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
22907 (print_version): Use PKGVERSION.
22908 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
22909 (print_version): Use PKGVERSION.
22910 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
22911 (print_version): Use PKGVERSION.
22912 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
22913 (print_version): Use PKGVERSION.
22914 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
22915 (print_version): Use PKGVERSION.
22916 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
22918 ($(objpfx)memusage): Likewise.
22919 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
22920 (do_version): Use PKGVERSION.
22921 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
22922 (print_version): Use PKGVERSION.
22923 * malloc/mtrace.pl ($PACKAGE): Remove variable.
22924 ($PKGVERSION): New variable.
22925 ($REPORT_BUGS_TO): Likewise.
22926 (usage): Use $REPORT_BUGS_TO.
22927 (top level): Use $PKGVERSION.
22928 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
22929 ($(objpfx)pkgvers.texi): New rule.
22930 ($(objpfx)stamp-pkgvers): Likewise.
22931 * manual/install.texi: Include pkgvers.texi.
22932 (--with-pkgversion): Document new configure option.
22933 (--with-bugurl): Likewise.
22934 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
22935 than necessarily for this particular distribution. Use
22936 REPORT_BUGS_TO for where to report bugs.
22937 * INSTALL: Regenerated.
22938 * manual/libc.texinfo: Include pkgvers.texi.
22939 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
22940 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
22941 (print_version): Use PKGVERSION.
22942 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
22943 (print_version): Use PKGVERSION.
22944 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
22945 (print_version): Use PKGVERSION.
22946 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
22947 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
22949 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
22950 (print_version): Use PKGVERSION.
22951 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
22952 (print_version): Use PKGVERSION.
22953 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
22956 * timezone/checktab.awk: Update from tzcode 2012i.
22957 * timezone/ialloc.c: Likewise.
22958 * timezone/private.h: Likewise.
22959 * timezone/scheck.c: Likewise.
22960 * timezone/tzfile.h: Likewise.
22961 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
22962 (TZVERSION): Hardcode tzcode version number.
22963 * timezone/zdump.c: Update from tzcode 2012i.
22964 * timezone/zic.c: Likewise.
22965 * timezone/version.h: New file.
22966 * timezone/README: Describe version.h. Update upstream location.
22969 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
22970 (mktemp): Enable declaration.
22971 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
22972 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
22973 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
22974 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
22976 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
22978 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
22980 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
22982 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
22984 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
22988 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
22989 offset in buffer as u_int32_t not u_long. Consistently use memcpy
22990 for copies of such integer values.
22991 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
22992 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
22994 2012-11-09 Andreas Jaeger <aj@suse.de>
22996 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
22997 definitions and declarations that are provided by
22998 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
23000 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23002 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
23003 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
23004 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
23007 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23009 * elf/elf.h: Update comment before AArch64 relocations.
23011 2012-11-07 David S. Miller <davem@davemloft.net>
23013 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
23014 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
23015 (__start_context): Declare.
23016 (__makecontext_ret): Delete.
23017 (__makecontext): Hook up __start_context instead of
23019 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
23020 (sysdep_routines): Add __start_context when in stdlib.
23022 2012-11-07 Joseph Myers <joseph@codesourcery.com>
23024 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
23025 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
23026 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
23028 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
23029 (READELF): New variable. Use it instead of hardcoded "readelf".
23031 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
23033 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
23034 * sysdeps/x86/Makefile: Here.
23035 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
23036 * sysdeps/x86/tst-xmmymm.sh: This.
23038 2012-11-07 Joseph Myers <joseph@codesourcery.com>
23040 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
23042 [UNIX98] (pthread_barrier_t): Do not expect.
23043 [UNIX98] (pthread_barrierattr_t): Likewise.
23044 [UNIX98] (pthread_spinlock_t): Likewise.
23045 [UNIX98] (pthread_barrier_destroy): Likewise.
23046 [UNIX98] (pthread_barrier_init): Likewise.
23047 [UNIX98] (pthread_barrier_wait): Likewise.
23048 [UNIX98] (pthread_barrierattr_destroy): Likewise.
23049 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
23050 [UNIX98] (pthread_barrierattr_init): Likewise.
23051 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
23052 [UNIX98] (pthread_getcpuclockid): Likewise.
23053 [UNIX98] (pthread_mutex_timedlock): Likewise.
23054 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
23055 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
23056 [UNIX98] (pthread_sigmask): Likewise.
23057 [UNIX98] (pthread_spin_destroy): Likewise.
23058 [UNIX98] (pthread_spin_init): Likewise.
23059 [UNIX98] (pthread_spin_lock): Likewise.
23060 [UNIX98] (pthread_spin_trylock): Likewise.
23061 [UNIX98] (pthread_spin_unlock): Likewise.
23062 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
23064 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
23065 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
23066 [XPG3 || XPG4] (pthread_cond_t): Likewise.
23067 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
23068 [XPG3 || XPG4] (pthread_key_t): Likewise.
23069 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
23070 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
23071 [XPG3 || XPG4] (pthread_once_t): Likewise.
23072 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
23073 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
23074 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
23075 [XPG3 || XPG4] (pthread_t): Likewise.
23077 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
23079 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
23081 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
23082 Change function return type to int.
23084 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
23085 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
23086 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
23087 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
23088 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
23089 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
23090 [!POSIX] (posix_madvise): Likewise.
23091 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
23093 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
23094 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
23095 (mode_t): Likewise.
23096 (posix_mem_offset): Likewise.
23097 (posix_typed_mem_get_info): Likewise.
23098 (posix_typed_mem_open): Likewise.
23100 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
23101 Change condition to [XOPEN2K8].
23103 * conform/conformtest.pl: Preprocess allow-header data with -x c
23104 instead of from stdin.
23105 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
23106 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
23107 [C99-based standards] (cerfc): Likewise.
23108 [C99-based standards] (cexp2): Likewise.
23109 [C99-based standards] (cexpm1): Likewise.
23110 [C99-based standards] (clog10): Likewise.
23111 [C99-based standards] (clog1p): Likewise.
23112 [C99-based standards] (clog2): Likewise.
23113 [C99-based standards] (clgamma): Likewise.
23114 [C99-based standards] (ctgamma): Likewise.
23115 [C99-based standards] (cerff): Likewise.
23116 [C99-based standards] (cerfcf): Likewise.
23117 [C99-based standards] (cexp2f): Likewise.
23118 [C99-based standards] (cexpm1f): Likewise.
23119 [C99-based standards] (clog10f): Likewise.
23120 [C99-based standards] (clog1pf): Likewise.
23121 [C99-based standards] (clog2f): Likewise.
23122 [C99-based standards] (clgammaf): Likewise.
23123 [C99-based standards] (ctgammaf): Likewise.
23124 [C99-based standards] (cerfl): Likewise.
23125 [C99-based standards] (cerfcl): Likewise.
23126 [C99-based standards] (cexp2l): Likewise.
23127 [C99-based standards] (cexpm1l): Likewise.
23128 [C99-based standards] (clog10l): Likewise.
23129 [C99-based standards] (clog1pl): Likewise.
23130 [C99-based standards] (clog2l): Likewise.
23131 [C99-based standards] (clgammal): Likewise.
23132 [C99-based standards] (ctgammal): Likewise.
23133 * conform/data/inttypes.h-data [C99-based standards]: Include
23134 stdint.h-data. Remove all expectations for stdint.h contents.
23135 [C99-based standards] (PRI*): Do not allow.
23136 [C99-based standards] (SCN*): Likewise.
23137 [C99-based standards] (*_t): Likewise.
23138 [C99-based-standards] (PRId8): Expect macro.
23139 [C99-based-standards] (PRIi8): Likewise.
23140 [C99-based-standards] (PRIo8): Likewise.
23141 [C99-based-standards] (PRIu8): Likewise.
23142 [C99-based-standards] (PRIx8): Likewise.
23143 [C99-based-standards] (PRIX8): Likewise.
23144 [C99-based-standards] (SCNd8): Likewise.
23145 [C99-based-standards] (SCNi8): Likewise.
23146 [C99-based-standards] (SCNo8): Likewise.
23147 [C99-based-standards] (SCNu8): Likewise.
23148 [C99-based-standards] (SCNx8): Likewise.
23149 [C99-based-standards] (PRIdLEAST8): Likewise.
23150 [C99-based-standards] (PRIiLEAST8): Likewise.
23151 [C99-based-standards] (PRIoLEAST8): Likewise.
23152 [C99-based-standards] (PRIuLEAST8): Likewise.
23153 [C99-based-standards] (PRIxLEAST8): Likewise.
23154 [C99-based-standards] (PRIXLEAST8): Likewise.
23155 [C99-based-standards] (SCNdLEAST8): Likewise.
23156 [C99-based-standards] (SCNiLEAST8): Likewise.
23157 [C99-based-standards] (SCNoLEAST8): Likewise.
23158 [C99-based-standards] (SCNuLEAST8): Likewise.
23159 [C99-based-standards] (SCNxLEAST8): Likewise.
23160 [C99-based-standards] (PRIdFAST8): Likewise.
23161 [C99-based-standards] (PRIiFAST8): Likewise.
23162 [C99-based-standards] (PRIoFAST8): Likewise.
23163 [C99-based-standards] (PRIuFAST8): Likewise.
23164 [C99-based-standards] (PRIxFAST8): Likewise.
23165 [C99-based-standards] (PRIXFAST8): Likewise.
23166 [C99-based-standards] (SCNdFAST8): Likewise.
23167 [C99-based-standards] (SCNiFAST8): Likewise.
23168 [C99-based-standards] (SCNoFAST8): Likewise.
23169 [C99-based-standards] (SCNuFAST8): Likewise.
23170 [C99-based-standards] (SCNxFAST8): Likewise.
23171 [C99-based-standards] (PRId16): Likewise.
23172 [C99-based-standards] (PRIi16): Likewise.
23173 [C99-based-standards] (PRIo16): Likewise.
23174 [C99-based-standards] (PRIu16): Likewise.
23175 [C99-based-standards] (PRIx16): Likewise.
23176 [C99-based-standards] (PRIX16): Likewise.
23177 [C99-based-standards] (SCNd16): Likewise.
23178 [C99-based-standards] (SCNi16): Likewise.
23179 [C99-based-standards] (SCNo16): Likewise.
23180 [C99-based-standards] (SCNu16): Likewise.
23181 [C99-based-standards] (SCNx16): Likewise.
23182 [C99-based-standards] (PRIdLEAST16): Likewise.
23183 [C99-based-standards] (PRIiLEAST16): Likewise.
23184 [C99-based-standards] (PRIoLEAST16): Likewise.
23185 [C99-based-standards] (PRIuLEAST16): Likewise.
23186 [C99-based-standards] (PRIxLEAST16): Likewise.
23187 [C99-based-standards] (PRIXLEAST16): Likewise.
23188 [C99-based-standards] (SCNdLEAST16): Likewise.
23189 [C99-based-standards] (SCNiLEAST16): Likewise.
23190 [C99-based-standards] (SCNoLEAST16): Likewise.
23191 [C99-based-standards] (SCNuLEAST16): Likewise.
23192 [C99-based-standards] (SCNxLEAST16): Likewise.
23193 [C99-based-standards] (PRIdFAST16): Likewise.
23194 [C99-based-standards] (PRIiFAST16): Likewise.
23195 [C99-based-standards] (PRIoFAST16): Likewise.
23196 [C99-based-standards] (PRIuFAST16): Likewise.
23197 [C99-based-standards] (PRIxFAST16): Likewise.
23198 [C99-based-standards] (PRIXFAST16): Likewise.
23199 [C99-based-standards] (SCNdFAST16): Likewise.
23200 [C99-based-standards] (SCNiFAST16): Likewise.
23201 [C99-based-standards] (SCNoFAST16): Likewise.
23202 [C99-based-standards] (SCNuFAST16): Likewise.
23203 [C99-based-standards] (SCNxFAST16): Likewise.
23204 [C99-based-standards] (PRId32): Likewise.
23205 [C99-based-standards] (PRIi32): Likewise.
23206 [C99-based-standards] (PRIo32): Likewise.
23207 [C99-based-standards] (PRIu32): Likewise.
23208 [C99-based-standards] (PRIx32): Likewise.
23209 [C99-based-standards] (PRIX32): Likewise.
23210 [C99-based-standards] (SCNd32): Likewise.
23211 [C99-based-standards] (SCNi32): Likewise.
23212 [C99-based-standards] (SCNo32): Likewise.
23213 [C99-based-standards] (SCNu32): Likewise.
23214 [C99-based-standards] (SCNx32): Likewise.
23215 [C99-based-standards] (PRIdLEAST32): Likewise.
23216 [C99-based-standards] (PRIiLEAST32): Likewise.
23217 [C99-based-standards] (PRIoLEAST32): Likewise.
23218 [C99-based-standards] (PRIuLEAST32): Likewise.
23219 [C99-based-standards] (PRIxLEAST32): Likewise.
23220 [C99-based-standards] (PRIXLEAST32): Likewise.
23221 [C99-based-standards] (SCNdLEAST32): Likewise.
23222 [C99-based-standards] (SCNiLEAST32): Likewise.
23223 [C99-based-standards] (SCNoLEAST32): Likewise.
23224 [C99-based-standards] (SCNuLEAST32): Likewise.
23225 [C99-based-standards] (SCNxLEAST32): Likewise.
23226 [C99-based-standards] (PRIdFAST32): Likewise.
23227 [C99-based-standards] (PRIiFAST32): Likewise.
23228 [C99-based-standards] (PRIoFAST32): Likewise.
23229 [C99-based-standards] (PRIuFAST32): Likewise.
23230 [C99-based-standards] (PRIxFAST32): Likewise.
23231 [C99-based-standards] (PRIXFAST32): Likewise.
23232 [C99-based-standards] (SCNdFAST32): Likewise.
23233 [C99-based-standards] (SCNiFAST32): Likewise.
23234 [C99-based-standards] (SCNoFAST32): Likewise.
23235 [C99-based-standards] (SCNuFAST32): Likewise.
23236 [C99-based-standards] (SCNxFAST32): Likewise.
23237 [C99-based-standards] (PRId64): Likewise.
23238 [C99-based-standards] (PRIi64): Likewise.
23239 [C99-based-standards] (PRIo64): Likewise.
23240 [C99-based-standards] (PRIu64): Likewise.
23241 [C99-based-standards] (PRIx64): Likewise.
23242 [C99-based-standards] (PRIX64): Likewise.
23243 [C99-based-standards] (SCNd64): Likewise.
23244 [C99-based-standards] (SCNi64): Likewise.
23245 [C99-based-standards] (SCNo64): Likewise.
23246 [C99-based-standards] (SCNu64): Likewise.
23247 [C99-based-standards] (SCNx64): Likewise.
23248 [C99-based-standards] (PRIdLEAST64): Likewise.
23249 [C99-based-standards] (PRIiLEAST64): Likewise.
23250 [C99-based-standards] (PRIoLEAST64): Likewise.
23251 [C99-based-standards] (PRIuLEAST64): Likewise.
23252 [C99-based-standards] (PRIxLEAST64): Likewise.
23253 [C99-based-standards] (PRIXLEAST64): Likewise.
23254 [C99-based-standards] (SCNdLEAST64): Likewise.
23255 [C99-based-standards] (SCNiLEAST64): Likewise.
23256 [C99-based-standards] (SCNoLEAST64): Likewise.
23257 [C99-based-standards] (SCNuLEAST64): Likewise.
23258 [C99-based-standards] (SCNxLEAST64): Likewise.
23259 [C99-based-standards] (PRIdFAST64): Likewise.
23260 [C99-based-standards] (PRIiFAST64): Likewise.
23261 [C99-based-standards] (PRIoFAST64): Likewise.
23262 [C99-based-standards] (PRIuFAST64): Likewise.
23263 [C99-based-standards] (PRIxFAST64): Likewise.
23264 [C99-based-standards] (PRIXFAST64): Likewise.
23265 [C99-based-standards] (SCNdFAST64): Likewise.
23266 [C99-based-standards] (SCNiFAST64): Likewise.
23267 [C99-based-standards] (SCNoFAST64): Likewise.
23268 [C99-based-standards] (SCNuFAST64): Likewise.
23269 [C99-based-standards] (SCNxFAST64): Likewise.
23270 [C99-based-standards] (PRIdMAX): Likewise.
23271 [C99-based-standards] (PRIiMAX): Likewise.
23272 [C99-based-standards] (PRIoMAX): Likewise.
23273 [C99-based-standards] (PRIuMAX): Likewise.
23274 [C99-based-standards] (PRIxMAX): Likewise.
23275 [C99-based-standards] (PRIXMAX): Likewise.
23276 [C99-based-standards] (SCNdMAX): Likewise.
23277 [C99-based-standards] (SCNiMAX): Likewise.
23278 [C99-based-standards] (SCNoMAX): Likewise.
23279 [C99-based-standards] (SCNuMAX): Likewise.
23280 [C99-based-standards] (SCNxMAX): Likewise.
23281 [C99-based-standards] (PRIdPTR): Likewise.
23282 [C99-based-standards] (PRIiPTR): Likewise.
23283 [C99-based-standards] (PRIoPTR): Likewise.
23284 [C99-based-standards] (PRIuPTR): Likewise.
23285 [C99-based-standards] (PRIxPTR): Likewise.
23286 [C99-based-standards] (PRIXPTR): Likewise.
23287 [C99-based-standards] (SCNdPTR): Likewise.
23288 [C99-based-standards] (SCNiPTR): Likewise.
23289 [C99-based-standards] (SCNoPTR): Likewise.
23290 [C99-based-standards] (SCNuPTR): Likewise.
23291 [C99-based-standards] (SCNxPTR): Likewise.
23292 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
23294 * conform/data/stdint.h-data: Update comments to clarify
23296 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
23298 [C99-based standards] (INT8_MAX): Likewise.
23299 [C99-based standards] (INT16_MIN): Likewise.
23300 [C99-based standards] (INT16_MAX): Likewise.
23301 [C99-based standards] (INT32_MIN): Likewise.
23302 [C99-based standards] (INT32_MAX): Likewise.
23303 [C99-based standards] (INT64_MIN): Likewise.
23304 [C99-based standards] (INT64_MAX): Likewise.
23305 [C99-based standards] (UINT8_MAX): Likewise.
23306 [C99-based standards] (UINT16_MAX): Likewise.
23307 [C99-based standards] (UINT32_MAX): Likewise.
23308 [C99-based standards] (UINT64_MAX): Likewise.
23309 [C99-based standards] (INT_LEAST8_MIN): Likewise.
23310 [C99-based standards] (INT_LEAST8_MAX): Likewise.
23311 [C99-based standards] (INT_LEAST16_MIN): Likewise.
23312 [C99-based standards] (INT_LEAST16_MAX): Likewise.
23313 [C99-based standards] (INT_LEAST32_MIN): Likewise.
23314 [C99-based standards] (INT_LEAST32_MAX): Likewise.
23315 [C99-based standards] (INT_LEAST64_MIN): Likewise.
23316 [C99-based standards] (INT_LEAST64_MAX): Likewise.
23317 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
23318 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
23319 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
23320 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
23321 [C99-based standards] (INT_FAST8_MIN): Likewise.
23322 [C99-based standards] (INT_FAST8_MAX): Likewise.
23323 [C99-based standards] (INT_FAST16_MIN): Likewise.
23324 [C99-based standards] (INT_FAST16_MAX): Likewise.
23325 [C99-based standards] (INT_FAST32_MIN): Likewise.
23326 [C99-based standards] (INT_FAST32_MAX): Likewise.
23327 [C99-based standards] (INT_FAST64_MIN): Likewise.
23328 [C99-based standards] (INT_FAST64_MAX): Likewise.
23329 [C99-based standards] (UINT_FAST8_MAX): Likewise.
23330 [C99-based standards] (UINT_FAST16_MAX): Likewise.
23331 [C99-based standards] (UINT_FAST32_MAX): Likewise.
23332 [C99-based standards] (UINT_FAST64_MAX): Likewise.
23333 [C99-based standards] (INTPTR_MIN): Likewise.
23334 [C99-based standards] (INTPTR_MAX): Likewise.
23335 [C99-based standards] (UINTPTR_MAX): Likewise.
23336 [C99-based standards] (INTMAX_MIN): Likewise.
23337 [C99-based standards] (INTMAX_MAX): Likewise.
23338 [C99-based standards] (UINTMAX_MAX): Likewise.
23339 [C99-based standards] (PTRDIFF_MIN): Likewise.
23340 [C99-based standards] (PTRDIFF_MAX): Likewise.
23341 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
23342 [C99-based standards] (SIZE_MAX): Likewise.
23343 [C99-based standards] (WCHAR_MAX): Likewise.
23344 [C99-based standards] (WINT_MAX): Likewise.
23345 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
23346 constraint on value.
23347 [C99-based standards] (WCHAR_MIN): Likewise.
23348 [C99-based standards] (WINT_MIN): Likewise.
23349 [C99-based standards] (*_t): Allow.
23350 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
23351 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
23352 Include math.h-data and complex.h-data. Remove all expectations
23353 of math.h and complex.h contents.
23354 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
23356 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
23357 (struct tm): Expect tag.
23358 [C99-based-standards] (wcstof): Expect function.
23359 [C99-based-standards] (wcstold): Likewise.
23360 [C99-based-standards] (wcstoll): Likewise.
23361 [C99-based-standards] (wcstoull): Likewise.
23362 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
23363 macro-int-constant. Specify type.
23364 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
23365 constraint on value.
23366 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
23368 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
23370 [ISO C standards]: Do not allow headers.
23371 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
23372 wcs[abcdefghijklmnopqrstuvwxyz]*.
23373 [ISO C standards] (*_t): Do not allow.
23374 * conform/data/wctype.h-data [C99-based standards] (iswblank):
23376 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
23377 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
23379 [ISO C standards]: Do not allow headers.
23380 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
23381 is[abcdefghijklmnopqrstuvwxyz]*.
23382 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
23383 to[abcdefghijklmnopqrstuvwxyz]*.
23384 [ISO C standards] (*_t): Do not allow.
23385 * conform/data/stdalign.h-data: New file.
23386 * conform/data/stdbool.h-data: Likewise.
23387 * conform/data/stdnoreturn.h-data: Likewise.
23389 2012-11-07 Roland McGrath <roland@hack.frob.com>
23392 * manual/filesys.texi (Directory Entries): Typo fix.
23393 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
23395 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23397 * elf/elf.h (EM_AARCH64): New macro.
23398 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
23399 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
23400 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
23401 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
23402 (R_AARCH64_TLSDESC): Likewise.
23403 (NT_ARM_TLS): Likewise.
23404 (NT_ARM_HW_BREAK): Likewise.
23405 (NT_ARM_HW_WATCH): Likewise.
23407 2012-11-07 Joseph Myers <joseph@codesourcery.com>
23410 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
23411 (__ieee754_powl): Saturate nonzero exponents with absolute value
23412 below 0x1p-79 to +/- 0x1p-79.
23413 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
23414 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
23415 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
23416 nonzero exponents with absolute value below 0x1p-32 to +/-
23418 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
23419 (__ieee754_powl): Saturate nonzero exponents with absolute value
23420 below 0x1p-79 to +/- 0x1p-79.
23421 * math/libm-test.inc (pow_test): Add more tests.
23423 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23425 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
23426 _dl_s390_cap_flags with kernel. Increase string length.
23427 (_dl_s390_platforms): Add z196 and zEC12.
23429 2012-11-07 Joseph Myers <joseph@codesourcery.com>
23431 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
23432 Change XOPEN21K to XOPEN2K.
23434 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
23436 * string/memmove.c: Use memcpy when possible.
23438 2012-11-06 Andreas Jaeger <aj@suse.de>
23440 * po/eo.po: Update from translation team.
23442 2012-11-06 Joseph Myers <joseph@codesourcery.com>
23445 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
23446 exponent and small x and y exponents, scale x or y up. Increase
23447 by 2 the exponent used in scaling up.
23448 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23449 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23450 * math/libm-test.inc (fma_test): Add more tests.
23451 (fma_test_towardzero): Likewise.
23452 (fma_test_downward): Likewise.
23453 (fma_test_upward): Likewise.
23455 2012-11-05 Joseph Myers <joseph@codesourcery.com>
23458 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
23462 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
23463 namespace for names of struct fields.
23464 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
23466 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
23467 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
23469 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
23472 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
23474 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
23476 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
23480 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
23483 2012-11-04 Joseph Myers <joseph@codesourcery.com>
23486 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
23487 definitely overflow as x * y not x * y + z.
23488 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23489 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23490 * math/libm-test.inc (fma_test): Add more tests.
23491 (fma_test_towardzero): Likewise.
23492 (fma_test_downward): Likewise.
23493 (fma_test_upward): Likewise.
23495 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
23499 * include/stub-tag.h: Remove file.
23500 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
23502 * manual/maint.texi (Porting): Don't reference it.
23503 * Makerules ($(objpfx)stubs): Likewise.
23504 * dirent/closedir.c: Don't include <stub-tag.h>.
23505 * dirent/dirfd.c: Likewise.
23506 * dirent/fdopendir.c: Likewise.
23507 * dirent/getdents.c: Likewise.
23508 * dirent/getdents64.c: Likewise.
23509 * dirent/opendir.c: Likewise.
23510 * dirent/readdir.c: Likewise.
23511 * dirent/readdir64.c: Likewise.
23512 * dirent/readdir64_r.c: Likewise.
23513 * dirent/readdir_r.c: Likewise.
23514 * dirent/rewinddir.c: Likewise.
23515 * dirent/seekdir.c: Likewise.
23516 * dirent/telldir.c: Likewise.
23517 * gmon/profil.c: Likewise.
23518 * grp/setgroups.c: Likewise.
23519 * inet/if_index.c: Likewise.
23520 * io/access.c: Likewise.
23521 * io/chdir.c: Likewise.
23522 * io/chmod.c: Likewise.
23523 * io/chown.c: Likewise.
23524 * io/close.c: Likewise.
23525 * io/dup.c: Likewise.
23526 * io/dup2.c: Likewise.
23527 * io/dup3.c: Likewise.
23528 * io/euidaccess.c: Likewise.
23529 * io/faccessat.c: Likewise.
23530 * io/fchdir.c: Likewise.
23531 * io/fchmod.c: Likewise.
23532 * io/fchmodat.c: Likewise.
23533 * io/fchown.c: Likewise.
23534 * io/fchownat.c: Likewise.
23535 * io/fcntl.c: Likewise.
23536 * io/flock.c: Likewise.
23537 * io/fstatfs.c: Likewise.
23538 * io/fstatfs64.c: Likewise.
23539 * io/fstatvfs.c: Likewise.
23540 * io/fstatvfs64.c: Likewise.
23541 * io/futimens.c: Likewise.
23542 * io/fxstat.c: Likewise.
23543 * io/fxstat64.c: Likewise.
23544 * io/fxstatat.c: Likewise.
23545 * io/fxstatat64.c: Likewise.
23546 * io/getcwd.c: Likewise.
23547 * io/isatty.c: Likewise.
23548 * io/lchmod.c: Likewise.
23549 * io/lchown.c: Likewise.
23550 * io/link.c: Likewise.
23551 * io/linkat.c: Likewise.
23552 * io/lseek.c: Likewise.
23553 * io/lseek64.c: Likewise.
23554 * io/lxstat64.c: Likewise.
23555 * io/mkdir.c: Likewise.
23556 * io/mkdirat.c: Likewise.
23557 * io/mkfifo.c: Likewise.
23558 * io/mkfifoat.c: Likewise.
23559 * io/open.c: Likewise.
23560 * io/open64.c: Likewise.
23561 * io/openat.c: Likewise.
23562 * io/openat64.c: Likewise.
23563 * io/pipe.c: Likewise.
23564 * io/pipe2.c: Likewise.
23565 * io/poll.c: Likewise.
23566 * io/posix_fadvise.c: Likewise.
23567 * io/posix_fadvise64.c: Likewise.
23568 * io/posix_fallocate.c: Likewise.
23569 * io/posix_fallocate64.c: Likewise.
23570 * io/read.c: Likewise.
23571 * io/readlink.c: Likewise.
23572 * io/readlinkat.c: Likewise.
23573 * io/rmdir.c: Likewise.
23574 * io/sendfile.c: Likewise.
23575 * io/sendfile64.c: Likewise.
23576 * io/statfs.c: Likewise.
23577 * io/statfs64.c: Likewise.
23578 * io/statvfs.c: Likewise.
23579 * io/statvfs64.c: Likewise.
23580 * io/symlink.c: Likewise.
23581 * io/symlinkat.c: Likewise.
23582 * io/ttyname.c: Likewise.
23583 * io/ttyname_r.c: Likewise.
23584 * io/umask.c: Likewise.
23585 * io/unlink.c: Likewise.
23586 * io/unlinkat.c: Likewise.
23587 * io/utime.c: Likewise.
23588 * io/utimensat.c: Likewise.
23589 * io/write.c: Likewise.
23590 * io/xmknod.c: Likewise.
23591 * io/xmknodat.c: Likewise.
23592 * io/xstat.c: Likewise.
23593 * io/xstat64.c: Likewise.
23594 * login/getpt.c: Likewise.
23595 * login/grantpt.c: Likewise.
23596 * login/unlockpt.c: Likewise.
23597 * math/e_acoshl.c: Likewise.
23598 * math/e_acosl.c: Likewise.
23599 * math/e_asinl.c: Likewise.
23600 * math/e_atan2l.c: Likewise.
23601 * math/e_atanhl.c: Likewise.
23602 * math/e_coshl.c: Likewise.
23603 * math/e_expl.c: Likewise.
23604 * math/e_fmodl.c: Likewise.
23605 * math/e_gammal_r.c: Likewise.
23606 * math/e_hypotl.c: Likewise.
23607 * math/e_j0l.c: Likewise.
23608 * math/e_j1l.c: Likewise.
23609 * math/e_jnl.c: Likewise.
23610 * math/e_lgammal_r.c: Likewise.
23611 * math/e_log10l.c: Likewise.
23612 * math/e_log2l.c: Likewise.
23613 * math/e_logl.c: Likewise.
23614 * math/e_powl.c: Likewise.
23615 * math/e_rem_pio2l.c: Likewise.
23616 * math/e_sinhl.c: Likewise.
23617 * math/e_sqrtl.c: Likewise.
23618 * math/fclrexcpt.c: Likewise.
23619 * math/fedisblxcpt.c: Likewise.
23620 * math/feenablxcpt.c: Likewise.
23621 * math/fegetenv.c: Likewise.
23622 * math/fegetexcept.c: Likewise.
23623 * math/fegetround.c: Likewise.
23624 * math/feholdexcpt.c: Likewise.
23625 * math/fesetenv.c: Likewise.
23626 * math/fesetround.c: Likewise.
23627 * math/feupdateenv.c: Likewise.
23628 * math/fgetexcptflg.c: Likewise.
23629 * math/fraiseexcpt.c: Likewise.
23630 * math/fsetexcptflg.c: Likewise.
23631 * math/ftestexcept.c: Likewise.
23632 * math/k_cosl.c: Likewise.
23633 * math/k_rem_pio2l.c: Likewise.
23634 * math/k_sinl.c: Likewise.
23635 * math/k_tanl.c: Likewise.
23636 * math/s_asinhl.c: Likewise.
23637 * math/s_atanl.c: Likewise.
23638 * math/s_cbrtl.c: Likewise.
23639 * math/s_erfl.c: Likewise.
23640 * math/s_expm1l.c: Likewise.
23641 * math/s_log1pl.c: Likewise.
23642 * math/s_tanhl.c: Likewise.
23643 * misc/acct.c: Likewise.
23644 * misc/brk.c: Likewise.
23645 * misc/chflags.c: Likewise.
23646 * misc/chroot.c: Likewise.
23647 * misc/fchflags.c: Likewise.
23648 * misc/fgetxattr.c: Likewise.
23649 * misc/flistxattr.c: Likewise.
23650 * misc/fremovexattr.c: Likewise.
23651 * misc/fsetxattr.c: Likewise.
23652 * misc/fsync.c: Likewise.
23653 * misc/ftruncate.c: Likewise.
23654 * misc/futimes.c: Likewise.
23655 * misc/futimesat.c: Likewise.
23656 * misc/getdomain.c: Likewise.
23657 * misc/getdtsz.c: Likewise.
23658 * misc/gethostid.c: Likewise.
23659 * misc/gethostname.c: Likewise.
23660 * misc/getloadavg.c: Likewise.
23661 * misc/getpagesize.c: Likewise.
23662 * misc/getsysstats.c: Likewise.
23663 * misc/getxattr.c: Likewise.
23664 * misc/gtty.c: Likewise.
23665 * misc/ioctl.c: Likewise.
23666 * misc/lgetxattr.c: Likewise.
23667 * misc/listxattr.c: Likewise.
23668 * misc/llistxattr.c: Likewise.
23669 * misc/lremovexattr.c: Likewise.
23670 * misc/lsetxattr.c: Likewise.
23671 * misc/lutimes.c: Likewise.
23672 * misc/madvise.c: Likewise.
23673 * misc/mincore.c: Likewise.
23674 * misc/mlock.c: Likewise.
23675 * misc/mlockall.c: Likewise.
23676 * misc/mmap.c: Likewise.
23677 * misc/mprotect.c: Likewise.
23678 * misc/msync.c: Likewise.
23679 * misc/munlock.c: Likewise.
23680 * misc/munlockall.c: Likewise.
23681 * misc/munmap.c: Likewise.
23682 * misc/preadv.c: Likewise.
23683 * misc/preadv64.c: Likewise.
23684 * misc/ptrace.c: Likewise.
23685 * misc/pwritev.c: Likewise.
23686 * misc/pwritev64.c: Likewise.
23687 * misc/readv.c: Likewise.
23688 * misc/reboot.c: Likewise.
23689 * misc/remap_file_pages.c: Likewise.
23690 * misc/removexattr.c: Likewise.
23691 * misc/revoke.c: Likewise.
23692 * misc/select.c: Likewise.
23693 * misc/setdomain.c: Likewise.
23694 * misc/setegid.c: Likewise.
23695 * misc/seteuid.c: Likewise.
23696 * misc/sethostid.c: Likewise.
23697 * misc/sethostname.c: Likewise.
23698 * misc/setregid.c: Likewise.
23699 * misc/setreuid.c: Likewise.
23700 * misc/setxattr.c: Likewise.
23701 * misc/sstk.c: Likewise.
23702 * misc/stty.c: Likewise.
23703 * misc/swapoff.c: Likewise.
23704 * misc/swapon.c: Likewise.
23705 * misc/sync.c: Likewise.
23706 * misc/syncfs.c: Likewise.
23707 * misc/syscall.c: Likewise.
23708 * misc/truncate.c: Likewise.
23709 * misc/ualarm.c: Likewise.
23710 * misc/usleep.c: Likewise.
23711 * misc/ustat.c: Likewise.
23712 * misc/utimes.c: Likewise.
23713 * misc/vhangup.c: Likewise.
23714 * misc/writev.c: Likewise.
23715 * posix/_exit.c: Likewise.
23716 * posix/alarm.c: Likewise.
23717 * posix/execve.c: Likewise.
23718 * posix/fexecve.c: Likewise.
23719 * posix/fork.c: Likewise.
23720 * posix/fpathconf.c: Likewise.
23721 * posix/getaddrinfo.c: Likewise.
23722 * posix/getegid.c: Likewise.
23723 * posix/geteuid.c: Likewise.
23724 * posix/getgid.c: Likewise.
23725 * posix/getgroups.c: Likewise.
23726 * posix/getlogin.c: Likewise.
23727 * posix/getlogin_r.c: Likewise.
23728 * posix/getpgid.c: Likewise.
23729 * posix/getpid.c: Likewise.
23730 * posix/getppid.c: Likewise.
23731 * posix/getresgid.c: Likewise.
23732 * posix/getresuid.c: Likewise.
23733 * posix/getsid.c: Likewise.
23734 * posix/getuid.c: Likewise.
23735 * posix/glob64.c: Likewise.
23736 * posix/nanosleep.c: Likewise.
23737 * posix/pathconf.c: Likewise.
23738 * posix/pause.c: Likewise.
23739 * posix/posix_madvise.c: Likewise.
23740 * posix/pread.c: Likewise.
23741 * posix/pread64.c: Likewise.
23742 * posix/pwrite.c: Likewise.
23743 * posix/pwrite64.c: Likewise.
23744 * posix/sched_getaffinity.c: Likewise.
23745 * posix/sched_getp.c: Likewise.
23746 * posix/sched_gets.c: Likewise.
23747 * posix/sched_primax.c: Likewise.
23748 * posix/sched_primin.c: Likewise.
23749 * posix/sched_rr_gi.c: Likewise.
23750 * posix/sched_setaffinity.c: Likewise.
23751 * posix/sched_setp.c: Likewise.
23752 * posix/sched_sets.c: Likewise.
23753 * posix/sched_yield.c: Likewise.
23754 * posix/setgid.c: Likewise.
23755 * posix/setlogin.c: Likewise.
23756 * posix/setpgid.c: Likewise.
23757 * posix/setresgid.c: Likewise.
23758 * posix/setresuid.c: Likewise.
23759 * posix/setsid.c: Likewise.
23760 * posix/setuid.c: Likewise.
23761 * posix/sleep.c: Likewise.
23762 * posix/spawni.c: Likewise.
23763 * posix/sysconf.c: Likewise.
23764 * posix/times.c: Likewise.
23765 * posix/wait.c: Likewise.
23766 * posix/wait3.c: Likewise.
23767 * posix/wait4.c: Likewise.
23768 * posix/waitpid.c: Likewise.
23769 * resolv/gai_sigqueue.c: Likewise.
23770 * resource/getpriority.c: Likewise.
23771 * resource/getrlimit.c: Likewise.
23772 * resource/getrusage.c: Likewise.
23773 * resource/nice.c: Likewise.
23774 * resource/setpriority.c: Likewise.
23775 * resource/setrlimit.c: Likewise.
23776 * resource/ulimit.c: Likewise.
23777 * rt/aio_cancel.c: Likewise.
23778 * rt/aio_fsync.c: Likewise.
23779 * rt/aio_read.c: Likewise.
23780 * rt/aio_sigqueue.c: Likewise.
23781 * rt/aio_suspend.c: Likewise.
23782 * rt/aio_write.c: Likewise.
23783 * rt/clock_getres.c: Likewise.
23784 * rt/clock_gettime.c: Likewise.
23785 * rt/clock_nanosleep.c: Likewise.
23786 * rt/clock_settime.c: Likewise.
23787 * rt/lio_listio.c: Likewise.
23788 * rt/mq_close.c: Likewise.
23789 * rt/mq_getattr.c: Likewise.
23790 * rt/mq_notify.c: Likewise.
23791 * rt/mq_open.c: Likewise.
23792 * rt/mq_receive.c: Likewise.
23793 * rt/mq_send.c: Likewise.
23794 * rt/mq_setattr.c: Likewise.
23795 * rt/mq_timedreceive.c: Likewise.
23796 * rt/mq_timedsend.c: Likewise.
23797 * rt/mq_unlink.c: Likewise.
23798 * rt/shm_open.c: Likewise.
23799 * rt/shm_unlink.c: Likewise.
23800 * rt/timer_create.c: Likewise.
23801 * rt/timer_delete.c: Likewise.
23802 * rt/timer_getoverr.c: Likewise.
23803 * rt/timer_gettime.c: Likewise.
23804 * rt/timer_settime.c: Likewise.
23805 * setjmp/__longjmp.c: Likewise.
23806 * setjmp/setjmp.c: Likewise.
23807 * signal/kill.c: Likewise.
23808 * signal/killpg.c: Likewise.
23809 * signal/raise.c: Likewise.
23810 * signal/sigaction.c: Likewise.
23811 * signal/sigaltstack.c: Likewise.
23812 * signal/sigblock.c: Likewise.
23813 * signal/sigignore.c: Likewise.
23814 * signal/sigintr.c: Likewise.
23815 * signal/signal.c: Likewise.
23816 * signal/sigpause.c: Likewise.
23817 * signal/sigpending.c: Likewise.
23818 * signal/sigqueue.c: Likewise.
23819 * signal/sigreturn.c: Likewise.
23820 * signal/sigset.c: Likewise.
23821 * signal/sigsetmask.c: Likewise.
23822 * signal/sigstack.c: Likewise.
23823 * signal/sigsuspend.c: Likewise.
23824 * signal/sigtimedwait.c: Likewise.
23825 * signal/sigvec.c: Likewise.
23826 * signal/sigwait.c: Likewise.
23827 * signal/sigwaitinfo.c: Likewise.
23828 * signal/sysv_signal.c: Likewise.
23829 * socket/accept.c: Likewise.
23830 * socket/accept4.c: Likewise.
23831 * socket/bind.c: Likewise.
23832 * socket/connect.c: Likewise.
23833 * socket/getpeername.c: Likewise.
23834 * socket/getsockname.c: Likewise.
23835 * socket/getsockopt.c: Likewise.
23836 * socket/isfdtype.c: Likewise.
23837 * socket/listen.c: Likewise.
23838 * socket/recv.c: Likewise.
23839 * socket/recvfrom.c: Likewise.
23840 * socket/recvmsg.c: Likewise.
23841 * socket/send.c: Likewise.
23842 * socket/sendmsg.c: Likewise.
23843 * socket/sendto.c: Likewise.
23844 * socket/setsockopt.c: Likewise.
23845 * socket/shutdown.c: Likewise.
23846 * socket/sockatmark.c: Likewise.
23847 * socket/socket.c: Likewise.
23848 * socket/socketpair.c: Likewise.
23849 * stdio-common/ctermid.c: Likewise.
23850 * stdio-common/cuserid.c: Likewise.
23851 * stdio-common/remove.c: Likewise.
23852 * stdio-common/rename.c: Likewise.
23853 * stdio-common/renameat.c: Likewise.
23854 * stdio-common/tempname.c: Likewise.
23855 * stdlib/getcontext.c: Likewise.
23856 * stdlib/makecontext.c: Likewise.
23857 * stdlib/setcontext.c: Likewise.
23858 * stdlib/swapcontext.c: Likewise.
23859 * stdlib/system.c: Likewise.
23860 * streams/fattach.c: Likewise.
23861 * streams/fdetach.c: Likewise.
23862 * streams/getmsg.c: Likewise.
23863 * streams/getpmsg.c: Likewise.
23864 * streams/putmsg.c: Likewise.
23865 * streams/putpmsg.c: Likewise.
23866 * sysdeps/unix/bsd/getpt.c: Likewise.
23867 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
23868 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
23869 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
23870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
23872 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
23873 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
23874 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
23875 * sysvipc/msgctl.c: Likewise.
23876 * sysvipc/msgget.c: Likewise.
23877 * sysvipc/msgrcv.c: Likewise.
23878 * sysvipc/msgsnd.c: Likewise.
23879 * sysvipc/semctl.c: Likewise.
23880 * sysvipc/semget.c: Likewise.
23881 * sysvipc/semop.c: Likewise.
23882 * sysvipc/semtimedop.c: Likewise.
23883 * sysvipc/shmat.c: Likewise.
23884 * sysvipc/shmctl.c: Likewise.
23885 * sysvipc/shmdt.c: Likewise.
23886 * sysvipc/shmget.c: Likewise.
23887 * termios/tcdrain.c: Likewise.
23888 * termios/tcflow.c: Likewise.
23889 * termios/tcflush.c: Likewise.
23890 * termios/tcgetattr.c: Likewise.
23891 * termios/tcgetpgrp.c: Likewise.
23892 * termios/tcsendbrk.c: Likewise.
23893 * termios/tcsetattr.c: Likewise.
23894 * termios/tcsetpgrp.c: Likewise.
23895 * time/adjtime.c: Likewise.
23896 * time/clock.c: Likewise.
23897 * time/getitimer.c: Likewise.
23898 * time/gettimeofday.c: Likewise.
23899 * time/setitimer.c: Likewise.
23900 * time/settimeofday.c: Likewise.
23901 * time/stime.c: Likewise.
23902 * time/time.c: Likewise.
23904 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
23906 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
23909 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
23911 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
23913 2012-11-03 Joseph Myers <joseph@codesourcery.com>
23916 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
23917 FE_TONEAREST before applying Dekker multiplication and Knuth
23918 addition. Clear inexact exceptions and check for exact zero
23919 results afterwards.
23920 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23921 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23922 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23923 * math/libm-test.inc (fma_test): Add more tests.
23924 (fma_test_towardzero): Likewise.
23925 (fma_test_downward): Likewise.
23926 (fma_test_upward): Likewise.
23927 * sysdeps/generic/math_private.h (default_libc_fesetround): New
23929 (libc_fesetround): New macro.
23930 (libc_fesetroundf): Likewise.
23931 (libc_fesetroundl): Likewise.
23932 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
23934 (libc_fesetround_387): Likewise.
23935 (libc_fesetroundf): New macro.
23936 (libc_fesetround): Likewise.
23937 (libc_fesetroundl): Likewise.
23938 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
23940 (libc_fesetroundf): New macro.
23941 (libc_fesetround): Likewise.
23942 (libc_fesetroundl): Likewise.
23943 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
23944 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
23945 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
23947 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
23948 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
23950 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
23951 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
23953 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
23957 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
23958 integer constant usable in #if and use that to give value to enum
23960 (FE_DIVBYZERO): Likewise.
23961 (FE_UNDERFLOW): Likewise.
23962 (FE_OVERFLOW): Likewise.
23963 (FE_INVALID): Likewise.
23964 (FE_INVALID_SNAN): Likewise.
23965 (FE_INVALID_ISI): Likewise.
23966 (FE_INVALID_IDI): Likewise.
23967 (FE_INVALID_ZDZ): Likewise.
23968 (FE_INVALID_IMZ): Likewise.
23969 (FE_INVALID_COMPARE): Likewise.
23970 (FE_INVALID_SOFTWARE): Likewise.
23971 (FE_INVALID_SQRT): Likewise.
23972 (FE_INVALID_INTEGER_CONVERSION): Likewise.
23973 (FE_TONEAREST): Likewise.
23974 (FE_TOWARDZERO): Likewise.
23975 (FE_UPWARD): Likewise.
23976 (FE_DOWNWARD): Likewise.
23977 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
23978 (FE_DIVBYZERO): Likewise.
23979 (FE_OVERFLOW): Likewise.
23980 (FE_UNDERFLOW): Likewise.
23981 (FE_INEXACT): Likewise.
23982 (FE_TONEAREST): Likewise.
23983 (FE_DOWNWARD): Likewise.
23984 (FE_UPWARD): Likewise.
23985 (FE_TOWARDZERO): Likewise.
23986 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
23987 (FE_UNDERFLOW): Likewise.
23988 (FE_OVERFLOW): Likewise.
23989 (FE_DIVBYZERO): Likewise.
23990 (FE_INVALID): Likewise.
23991 (FE_TONEAREST): Likewise.
23992 (FE_TOWARDZERO): Likewise.
23993 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
23994 (FE_OVERFLOW): Likewise.
23995 (FE_UNDERFLOW): Likewise.
23996 (FE_DIVBYZERO): Likewise.
23997 (FE_INEXACT): Likewise.
23998 (FE_TONEAREST): Likewise.
23999 (FE_TOWARDZERO): Likewise.
24000 (FE_UPWARD): Likewise.
24001 (FE_DOWNWARD): Likewise.
24002 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
24003 (FE_DIVBYZERO): Likewise.
24004 (FE_OVERFLOW): Likewise.
24005 (FE_UNDERFLOW): Likewise.
24006 (FE_INEXACT): Likewise.
24007 (FE_TONEAREST): Likewise.
24008 (FE_DOWNWARD): Likewise.
24009 (FE_UPWARD): Likewise.
24010 (FE_TOWARDZERO): Likewise.
24012 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
24014 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
24016 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
24018 * scripts/cross-test-ssh.sh (command): Use newlines to separate
24019 commands. Quote $PWD.
24020 (blacklist_exports): Don't use remove_newlines. Replace "declare
24022 (remove_newlines): Remove.
24024 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
24026 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
24027 * stdlib/stdlib.h (atof): Moved to ...
24028 * include/bits/stdlib-float.h: Here. New file.
24029 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
24030 * stdlib/bits/stdlib-float.h: New file.
24031 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
24033 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
24036 2012-11-02 Joseph Myers <joseph@codesourcery.com>
24038 * conform/conformtest.pl (@headers): Add fenv.h.
24039 * conform/data/fenv.h-data: New file.
24040 * include/fenv.h [_ISOMAC]: Disable all contents of file except
24041 include of <math/fenv.h>.
24043 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
24044 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
24045 && !UNIX98]. Enables tests for XOPEN2K8.
24046 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
24047 POSIX2008]: Likewise.
24049 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
24050 (struct rusage): Do not expect type or its members.
24053 * math/math.h (FP_NAN): Define macro to integer constant usable in
24054 #if and use that to give value to enum constant.
24055 (FP_INFINITE): Likewise.
24056 (FP_ZERO): Likewise.
24057 (FP_SUBNORMAL): Likewise.
24058 (FP_NORMAL): Likewise.
24060 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
24062 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
24063 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
24066 2012-11-02 Roland McGrath <roland@hack.frob.com>
24068 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
24069 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
24070 autoconf-time if not.
24071 * configure.in: Remove AC_PREREQ.
24073 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24075 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
24076 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
24077 of the internal implementation.
24079 2012-11-02 Joseph Myers <joseph@codesourcery.com>
24081 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
24082 except include of <misc/sys/syslog.h>.
24084 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
24086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
24087 function returns with a NULL context exit with zero.
24089 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24091 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
24093 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
24095 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
24096 (run_program_cmd): This.
24097 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
24098 (tst_langinfo): New variable. Use it.
24100 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
24102 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
24103 floating point opcodes.
24105 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
24107 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
24110 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
24112 * sysdeps/mach/hurd/powerpc: Remove directory.
24113 * sysdeps/mach/powerpc: Likewise.
24115 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
24117 * scripts/check-local-headers.sh: Ignore c++ headers.
24119 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
24121 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
24122 __libc_cleanup_region_start argument.
24124 2012-11-01 Joseph Myers <joseph@codesourcery.com>
24128 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
24129 x * y using scaling, not as x * y + z.
24130 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24131 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24132 * math/libm-test.inc (fma_test): Add more tests.
24133 (fma_test_towardzero): Likewise.
24134 (fma_test_downward): Likewise.
24135 (fma_test_upward): Likewise.
24137 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
24139 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
24141 2012-10-31 Joseph Myers <joseph@codesourcery.com>
24143 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
24146 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
24148 * rt/tst-shm.c (worker): Correct checking for mmap failure.
24150 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
24152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24157 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24160 Fix the order of the list for glibc 2.17.
24161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24164 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
24166 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24168 2012-10-31 Joseph Myers <joseph@codesourcery.com>
24171 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
24172 for low part of x being zero before using __atanl (y).
24173 * math/libm-test.inc (atan2_test): Add another test.
24175 * manual/install.texi (Configuring and compiling): Document
24176 general use of test-wrapper and test-wrapper-env.
24177 * INSTALL: Regenerated.
24179 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
24180 (__fma): Do not extract and scale down low bits on after-rounding
24181 systems when result rounded to normal precision would have normal
24183 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
24184 (__fmal): Do not extract and scale down low bits on after-rounding
24185 systems when result rounded to normal precision would have normal
24187 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
24188 (__fmal): Do not extract and scale down low bits on after-rounding
24189 systems when result rounded to normal precision would have normal
24191 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
24193 (fma_test): Add more tests.
24194 (fma_test_towardzero): Likewise.
24195 (fma_test_downward): Likewise.
24196 (fma_test_upward): Likewise.
24198 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
24200 * sysdeps/i386/tininess.h: Renamed to ...
24201 * sysdeps/x86/tininess.h: This.
24202 * sysdeps/x86_64/tininess.h: Removed.
24204 2012-10-30 Joseph Myers <joseph@codesourcery.com>
24206 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
24207 input. Use $(build-program-cmd).
24208 ($(objpfx)tst-array1-static.out): Likewise.
24209 ($(objpfx)tst-array2.out): Likewise.
24210 ($(objpfx)tst-array3.out): Likewise.
24211 ($(objpfx)tst-array4.out): Likewise.
24212 ($(objpfx)tst-array5.out): Likewise.
24213 ($(objpfx)tst-array5-static.out): Likewise.
24215 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
24217 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
24220 * nss/nsswitch.h (nss_interface_function): Provide new
24221 macro for use with NSS functions.
24222 * grp/initgroups.c: Use new macro.
24223 * nss/getXXbyYY.c: Likewise.
24224 * nss/getXXbyYY_r.c: Likewise.
24225 * nss/getXXent.c: Likewise.
24226 * nss/getXXent_r.c: Likewise.
24227 * sysdeps/posix/getaddrinfo.c: Likewise.
24229 2012-10-30 Andreas Jaeger <aj@suse.de>
24231 * po/ru.po: Update Russion translation from translation project.
24233 2012-10-30 Joseph Myers <joseph@codesourcery.com>
24237 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
24238 result and shift together with sticky bit instead of replicating
24239 round-to-nearest rounding.
24240 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24241 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24242 * math/libm-test.inc (fma_test): Add more tests. Do not permit
24243 missing underflow exceptions.
24244 (fma_test_towardzero): Add more tests.
24245 (fma_test_downward): Likewise.
24246 (fma_test_upward): Likewise.
24249 * sysdeps/generic/tininess.h: New file.
24250 * sysdeps/i386/tininess.h: Likewise.
24251 * sysdeps/sh/tininess.h: Likewise.
24252 * sysdeps/x86_64/tininess.h: Likewise.
24253 * stdlib/tst-strtod-underflow.c: Likewise.
24254 * stdlib/tst-tininess.c: Likewise.
24255 * stdlib/strtod_l.c: Include <tininess.h>.
24256 (round_and_return): Do not set errno for exact underflow cases.
24257 Force an underflow exception when setting errno for underflow.
24258 Determine underflow based on rounding to normal precision if
24259 TININESS_AFTER_ROUNDING.
24260 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
24261 ERANGE for exact underflow cases.
24262 * stdlib/Makefile (tests): Add tst-tininess and
24263 tst-strtod-underflow.
24264 ($(objpfx)tst-tininess): Use $(link-libm).
24265 ($(objpfx)tst-strtod-underflow): Likewise.
24267 2012-10-30 Andreas Jaeger <aj@suse.de>
24270 * elf/Makefile (tests): Remove conditional for have-initfini-array
24271 since this is now always required and the variable does not exist
24273 (tests-static): Likewise.
24274 (modules-names): Likewise.
24276 * po/eo.po: Add Esperanto translation from translation project.
24278 * elf/tst-array1.c (fini_array): Make writeable so that it can be
24279 merged with constructor/destructor.
24280 (init_array): Likewise.
24281 * elf/tst-array2dep.c (fini_array): Likewise.
24282 (init_array): Likewise.
24284 2012-10-29 Mike Frysinger <vapier@gentoo.org>
24286 * manual/message.texi: Delete @cartouche tags.
24288 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
24290 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
24292 * sysdeps/mach/hurd/fsync.c: Likewise.
24294 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
24295 [_POSIX_REALTIME_SIGNALS]: Change condition to
24296 [_POSIX_REALTIME_SIGNALS > 0].
24298 2012-10-27 Andreas Jaeger <aj@suse.de>
24300 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
24301 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
24302 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
24303 [__WORDSIZE != 64]: Likewise.
24305 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
24307 * iconvdata/tst-table.sh: Remove ${SHELL}.
24308 * iconvdata/tst-tables.sh: Likewise.
24310 2012-10-25 David S. Miller <davem@davemloft.net>
24312 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24313 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
24316 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
24318 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24319 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
24320 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
24323 2012-10-25 Roland McGrath <roland@hack.frob.com>
24325 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24326 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
24329 2012-10-25 Joseph Myers <joseph@codesourcery.com>
24330 Jim Blandy <jimb@codesourcery.com>
24332 * scripts/cross-test-ssh.sh: New file.
24333 * manual/install.texi (Configuring and compiling): Document use of
24335 * INSTALL: Regenerated.
24337 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
24339 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
24342 2012-10-25 Joseph Myers <joseph@codesourcery.com>
24344 * Makeconfig (run-program-prefix): Fix comment.
24346 2012-10-24 Joseph Myers <joseph@codesourcery.com>
24347 Jim Blandy <jimb@codesourcery.com>
24349 * Makeconfig (test-wrapper): New variable,
24350 (test-wrapper-env): Likewise.
24351 [$(cross-compiling) = yes && $(test-wrapper) != ""]
24352 (run-built-tests): Define to yes.
24353 (run-program-prefix): Use $(test-wrapper).
24354 (built-program-cmd): Likewise.
24355 * Rules (make-test-out): Use $(test-wrapper-env) and
24356 $(host-built-program-cmd).
24357 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
24358 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
24360 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
24361 $(test-wrapper-env) to tst-rtld-load-self.sh.
24362 ($(objpfx)order2.out): Use $(test-wrapper).
24363 ($(objpfx)tst-initorder.out): Likewise.
24364 ($(objpfx)tst-initorder2.out): Likewise.
24365 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
24366 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
24367 (test_wrapper_env): New variable. Use it to run ld.so.
24368 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
24369 Use it to run ld.so.
24370 (test_wrapper_env): Likewise.
24371 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
24372 $(test-wrapper) to run-iconv-test.sh.
24373 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
24374 (ICONV): Use $test_wrapper.
24375 * posix/Makefile ($(objpfx)globtest.out): Pass
24376 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
24377 globtest.sh, not $(run-program-prefix).
24378 * posix/globtest.sh (run_via_rtld_prefix): New variable.
24379 (test_wrapper): Likewise.
24380 (test_wrapper_env): Likewise. Use it to run globtest with HOME
24381 set together with run_via_rtld_prefix.
24382 (run_program_prefix): Define in terms of test_wrapper and
24383 run_via_rtld_prefix.
24385 2012-10-24 Roland McGrath <roland@hack.frob.com>
24387 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
24388 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
24392 * include/time.h: Remove librt_hidden_proto (clock_gettime).
24393 Declare __clock_getres, __clock_gettime, __clock_settime,
24394 __clock_nanosleep, and __clock_getcpuclockid.
24395 * rt/clock_gettime.c: Define __clock_gettime as an alias.
24396 Remove librt_hidden_def (clock_gettime).
24397 * sysdeps/unix/clock_gettime.c: Likewise.
24398 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
24399 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
24400 * rt/clock_getres.c: Define __clock_getres as an alias.
24401 * sysdeps/posix/clock_getres.c: Likewise.
24402 * rt/clock_settime.c: Define __clock_settime as an alias.
24403 * sysdeps/unix/clock_settime.c: Likewise.
24404 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
24405 * sysdeps/unix/clock_nanosleep.c: Likewise.
24406 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
24407 * rt/clock-compat.c: New file.
24408 * rt/Makefile (librt-routines): Add clock-compat and move
24409 $(clock-routines) to ...
24410 (routines): ... here, new variable.
24411 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
24412 Don't add get_clockfreq here.
24413 * rt/Versions (libc: GLIBC_2.17): New version set.
24414 Add clock_* symbols here.
24415 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
24416 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
24417 (GLIBC_2.17): Add clock_* symbols.
24418 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
24419 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
24420 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
24421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24425 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
24426 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
24427 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
24428 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
24429 * NEWS: Mention the move.
24431 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
24432 Use __open, __read, __close rather than their public counterparts.
24433 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24434 (__get_clockfreq_via_cpuinfo): Likewise.
24435 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
24436 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
24438 * config.h.in (HAVE_IFUNC): New #undef.
24439 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
24441 * configure: Regenerated.
24443 2012-10-24 Mike Frysinger <vapier@gentoo.org>
24445 * configure.in: Move READELF check to start of file.
24446 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
24447 libc_cv_asm_gnu_indirect_function in the process.
24448 * configure: Regenerated.
24450 2012-10-24 Mike Frysinger <vapier@gentoo.org>
24452 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
24453 send the output to /dev/null.
24454 (libc_cv_cc_with_libunwind): Likewise.
24455 (libc_cv_as_noexecstack): Likewise.
24456 * configure: Regenerate.
24458 2012-10-24 Joseph Myers <joseph@codesourcery.com>
24460 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
24462 * posix/globtest.sh (TMPDIR): Do not set.
24463 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
24464 (testout): Likewise.
24466 2012-10-24 Andreas Jaeger <aj@suse.de>
24468 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
24469 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
24470 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
24471 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
24472 posix_fadvise64, posix_fallocate64.
24474 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
24475 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
24476 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
24478 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
24480 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
24482 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
24483 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
24484 <bits/fcntl-linux.h>.
24485 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
24487 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
24488 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
24489 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
24490 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
24491 [__WORDSIZE != 64]: Likewise.
24493 2012-10-23 Joseph Myers <joseph@codesourcery.com>
24495 * Makeconfig (run-built-tests): New variable.
24496 * Rules [$(cross-compiling) = yes]: Change condition to
24497 [$(run-built-tests) = no].
24498 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
24499 to [$(run-built-tests) = yes].
24500 * elf/Makefile [$(cross-compiling) = no]: Likewise
24501 * grp/Makefile [$(cross-compiling) = no]: Likewise.
24502 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
24503 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
24504 * intl/Makefile [$(cross-compiling) = no]: Likewise.
24505 * io/Makefile [$(cross-compiling) = no]: Likewise.
24506 * libio/Makefile [$(cross-compiling) = no]: Likewise.
24507 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
24508 * misc/Makefile [$(cross-compiling) = no]: Likewise.
24509 * posix/Makefile [$(cross-compiling) = no]: Likewise.
24510 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
24511 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
24512 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
24513 * string/Makefile [$(cross-compiling) = no]: Likewise.
24515 * posix/Makefile ($(objpfx)globtest.out): Pass
24516 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
24517 $(rtld-installed-name).
24518 * posix/globtest.sh (elf_objpfx): Remove variable.
24519 (rtld_installed_name): Likewise.
24520 (library_path): Likewise.
24521 (run_program_prefix): New variable. Use for running globtest
24524 2012-10-23 Jim Blandy <jimb@codesourcery.com>
24525 Joseph Myers <joseph@codesourcery.com>
24527 * Makeconfig (host-built-program-cmd): New variable.
24528 * elf/Makefile (tst-stackguard1-ARGS): Use
24529 $(host-built-program-cmd).
24530 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
24531 (tst-spawn-ARGS): Likewise.
24532 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
24534 2012-10-23 Joseph Myers <joseph@codesourcery.com>
24535 Jim Blandy <jimb@codesourcery.com>
24537 * Makeconfig (run-via-rtld-prefix): New variable.
24538 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
24539 (built-program-cmd): Likewise.
24541 2012-10-22 Andreas Jaeger <aj@suse.de>
24543 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
24544 __O_RSYNC if it exists, otherwise to O_SYNC.
24546 2012-10-22 Jim Blandy <jimb@codesourcery.com>
24547 Joseph Myers <joseph@codesourcery.com>
24549 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
24551 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
24553 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
24556 2012-10-22 Andreas Jaeger <aj@suse.de>
24558 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
24560 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
24562 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24563 bits/fcntl-linux.h.
24565 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
24566 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
24568 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
24570 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
24573 2012-10-21 Jim Blandy <jimb@codesourcery.com>
24574 Joseph Myers <joseph@codesourcery.com>
24576 * config.make.in (NM): New variable.
24578 2012-10-21 Andreas Jaeger <aj@suse.de>
24580 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
24581 definitions and declarations that are provided by
24582 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
24584 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
24587 * elf/Makefile (tests-static): Add tst-leaks1-static.
24588 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
24589 ($(objpfx)tst-leaks1-static): New rule.
24590 ($(objpfx)tst-leaks1-static-mem): Likewise.
24591 (tst-leaks1-static-ENV): New macro.
24592 * elf/dl-open.c (dl_open_worker): Check the main application
24593 only if SHARED is defined.
24594 * elf/tst-leaks1-static.c: New file.
24596 2012-10-20 Andreas Jaeger <aj@suse.de>
24598 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
24599 generic values for Linux.
24600 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
24601 and declarations that are provided by <bits/fcntl-linux.h> and
24602 include <bits/fcntl-linux.h>.
24603 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24604 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24606 2012-10-20 Roland McGrath <roland@hack.frob.com>
24608 * io/fcntl.h: Move include of <bits/types.h> to the top and
24609 include it unconditionally.
24611 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
24613 * wcsmbs/Makefile (tests-ifunc): New variable.
24614 (tests): Add $(tests-ifunc).
24615 * wcsmbs/test-wcschr-ifunc.c: New file.
24616 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
24617 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
24618 * wcsmbs/test-wcslen-ifunc.c: Likewise.
24619 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
24620 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
24622 * string/Makefile (tests-ifunc): New variable.
24623 (tests): Add $(tests-ifunc).
24624 * string/test-memccpy.c (TEST_NAME): New macro.
24625 * string/test-memchr.c (TEST_NAME): Likewise.
24626 * string/test-memcmp.c (TEST_NAME): Likewise.
24627 * string/test-memcpy.c (TEST_NAME): Likewise.
24628 * string/test-memmem.c (TEST_NAME): Likewise.
24629 * string/test-memmove.c (TEST_NAME): Likewise.
24630 * string/test-memset.c (TEST_NAME): Likewise.
24631 * string/test-rawmemchr.c (TEST_NAME): Likewise.
24632 * string/test-stpcpy.c (TEST_NAME): Likewise.
24633 * string/test-stpncpy.c (TEST_NAME): Likewise.
24634 * string/test-strcasecmp.c (TEST_NAME): Likewise.
24635 * string/test-strcasestr.c (TEST_NAME): Likewise.
24636 * string/test-strcat.c (TEST_NAME): Likewise.
24637 * string/test-strchr.c (TEST_NAME): Likewise.
24638 * string/test-strcmp.c(TEST_NAME): Likewise.
24639 * string/test-strcpy.c (TEST_NAME): Likewise.
24640 * string/test-strcspn.c (TEST_NAME): Likewise.
24641 * string/test-strlen.c (TEST_NAME): Likewise.
24642 * string/test-strncasecmp.c (TEST_NAME): Likewise.
24643 * string/test-strncmp.c (TEST_NAME): Likewise.
24644 * string/test-strncpy.c (TEST_NAME): Likewise.
24645 * string/test-strnlen.c (TEST_NAME): Likewise.
24646 * string/test-strpbrk.c (TEST_NAME): Likewise.
24647 * string/test-strrchr.c (TEST_NAME): Likewise.
24648 * string/test-strspn.c (TEST_NAME): Likewise.
24649 * string/test-strstr.c (TEST_NAME): Likewise.
24650 * string/test-bcopy-ifunc.c: New file.
24651 * string/test-bzero-ifunc.c: Likewise.
24652 * string/test-memccpy-ifunc.c: Likewise.
24653 * string/test-memchr-ifunc.c: Likewise.
24654 * string/test-memcmp-ifunc.c: Likewise.
24655 * string/test-memcpy-ifunc.c: Likewise.
24656 * string/test-memmem-ifunc.c: Likewise.
24657 * string/test-memmove-ifunc.c: Likewise.
24658 * string/test-mempcpy-ifunc.c: Likewise.
24659 * string/test-memset-ifunc.c: Likewise.
24660 * string/test-rawmemchr-ifunc.c: Likewise.
24661 * string/test-stpcpy-ifunc.c: Likewise.
24662 * string/test-stpncpy-ifunc.c: Likewise.
24663 * string/test-strcasecmp-ifunc.c: Likewise.
24664 * string/test-strcasestr-ifunc.c: Likewise.
24665 * string/test-strcat-ifunc.c: Likewise.
24666 * string/test-strchr-ifunc.c: Likewise.
24667 * string/test-strchrnul-ifunc.c: Likewise.
24668 * string/test-strcmp-ifunc.c: Likewise.
24669 * string/test-strcpy-ifunc.c: Likewise.
24670 * string/test-strcspn-ifunc.c: Likewise.
24671 * string/test-strlen-ifunc.c: Likewise.
24672 * string/test-strncasecmp-ifunc.c: Likewise.
24673 * string/test-strncat-ifunc.c: Likewise.
24674 * string/test-strncmp-ifunc.c: Likewise.
24675 * string/test-strncpy-ifunc.c: Likewise.
24676 * string/test-strnlen-ifunc.c: Likewise.
24677 * string/test-strpbrk-ifunc.c: Likewise.
24678 * string/test-strrchr-ifunc.c: Likewise.
24679 * string/test-strspn-ifunc.c: Likewise.
24680 * string/test-strstr-ifunc.c: Likewise.
24682 * debug/Makefile (tests-ifunc): New variable.
24683 (tests): Add $(tests-ifunc).
24684 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
24685 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
24686 * debug/test-stpcpy_chk-ifunc.c: New file.
24687 * debug/test-strcpy_chk-ifunc.c: Likewise.
24689 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
24692 * elf/dl-load.c (open_verify): Retry read if the entire ELF
24693 header is not read in.
24695 2012-10-19 Joseph Myers <joseph@codesourcery.com>
24697 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
24698 script to $(SHELL) as $<. Pass $(common-objpfx) to script
24699 directly. Pass built executable to script as
24700 $(built-program-cmd).
24701 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
24702 $testprogram without using LD_LIBRARY_PATH and $ldso.
24704 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
24705 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
24706 $(rtld-installed-name).
24707 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
24708 (rtld_installed_name): Likewise.
24709 (library_path): Likewise.
24710 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
24711 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
24712 $(run-program-prefix) to tst-tables.sh.
24713 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
24714 it to run tst-table-from and tst-table-to.
24715 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
24716 Pass it to tst-table.sh.
24717 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
24718 $(run-program-prefix) to tst-gettext.sh.
24719 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
24721 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
24723 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
24724 to run tst-gettext.
24725 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
24726 to run tst-gettext2.
24727 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
24728 to run tst-translit.
24729 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
24730 $(run-program-prefix) to tst-mtrace.sh.
24731 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
24733 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
24734 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
24735 $(rtld-installed-name).
24736 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
24737 (rtld_installed_name): Likewise.
24738 (run_program_prefix): New variable. Use it to run wordexp-test.
24740 * Makeconfig (ARCH): Remove all definitions.
24741 (machine): Likewise.
24742 [ARCH]: Remove conditional code.
24743 [!objdir]: Give error.
24744 [!objdir] (objpfx): Remove.
24745 [!objdir] (common-objpfx): Likewise.
24746 [!objdir] (common-objdir): Likewise.
24747 * configure.in (config_makefile): Remove. Hardcode Makefile in
24748 AC_CONFIG_FILES call.
24749 * configure: Regenerated.
24752 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
24754 (testout): Likewise.
24756 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
24757 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
24758 $(rtld-installed-name).
24759 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
24760 (rtld_installed_name): Likwise.
24761 (runit): Remove function.
24762 (run_getconf): New variable, Use it for running getconf binary.
24764 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
24767 * string/test-memmem.c (check_result): New function.
24768 (do_one_test): Use it.
24769 (check1): New function.
24770 (test_main): Use it.
24772 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
24774 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
24776 2012-10-18 Joseph Myers <joseph@codesourcery.com>
24778 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
24779 (_G_LSEEK64): Likewise.
24780 (_G_MMAP64): Likewise.
24781 (_G_FSTAT64): Likewise.
24782 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
24783 (_G_LSEEK64): Likewise.
24784 (_G_MMAP64): Likewise.
24785 (_G_FSTAT64): Likewise.
24786 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
24787 unconditional. Call __mmap64 directly.
24788 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
24789 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
24790 __lseek64 directly.
24791 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
24792 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
24794 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
24795 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
24796 __lseek64 directly.
24797 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
24798 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
24799 __lseek64 directly.
24800 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
24801 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
24802 __lseek64 directly.
24803 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
24804 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
24805 __fxstat64 directly.
24806 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
24807 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
24809 (freopen64) [!_G_OPEN64]: Remove conditional code.
24810 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
24812 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
24813 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
24815 (ftello64) [!_G_LSEEK64]: Remove conditional code.
24816 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
24818 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
24819 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
24821 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
24822 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
24824 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
24825 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
24827 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
24828 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
24830 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
24832 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24835 * manual/memory.texi (Malloc Tunable Parameters): Add note
24836 about free list pointers overwriting some perturb bytes.
24837 Wording suggested by Roland McGrath.
24839 2012-10-17 Joseph Myers <joseph@codesourcery.com>
24841 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
24842 (lgamma_test): Likewise.
24843 (tgamma_test): Likewise.
24845 2012-10-16 Florian Weimer <fweimer@redhat.com>
24848 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
24849 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
24851 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
24853 * NEWS: Mention BZ #14716.
24854 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
24855 when removing AVAILABLE1_USES_J macro.
24857 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
24859 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
24860 (__bswap_64): __uint64_t for unsigned 64-bit int.
24862 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
24864 * include/string.h (memmem): Declare libc hidden alias.
24865 * string/memmem.c (memmem): Define libc hidden alias.
24866 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
24867 __read, __close instead of open, read, close.
24869 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
24871 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
24872 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
24874 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
24875 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
24876 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
24878 (__rawmemchr_sse2): Likewise.
24879 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
24880 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
24881 (__strchr_sse2): Likewise.
24882 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
24883 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
24884 (__strcasecmp_sse2): Likewise.
24885 (__strncasecmp_sse2): Likewise.
24886 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
24887 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
24888 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
24889 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
24890 (__strrchr_sse2): Likewise.
24891 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
24893 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
24894 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
24895 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
24896 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
24897 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
24898 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
24899 * sysdeps/x86_64/multiarch/memset.S: Likewise.
24900 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24901 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
24902 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
24903 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
24904 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
24905 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
24906 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
24907 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
24908 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
24909 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
24910 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
24911 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
24912 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
24913 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
24914 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
24915 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
24916 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
24917 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
24918 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24919 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
24920 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
24921 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
24922 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
24924 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
24926 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
24927 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
24928 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
24929 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
24931 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
24933 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
24934 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
24935 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
24936 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
24938 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
24939 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
24940 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
24941 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24942 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24943 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24944 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24945 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24946 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24947 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
24948 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
24949 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
24950 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
24951 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
24952 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
24953 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24954 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
24955 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
24956 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
24957 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
24958 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24959 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
24960 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
24961 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
24962 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24963 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
24964 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
24965 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
24966 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
24967 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
24968 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
24969 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
24970 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
24971 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
24972 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
24973 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
24974 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
24975 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
24976 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
24977 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
24978 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
24980 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
24981 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
24982 * include/ifunc-impl-list.h: New file.
24983 * misc/ifunc-impl-list.c: Likewise.
24984 * misc/Makefile (routines): Add ifunc-impl-list.
24985 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
24986 * string/test-string.h: Include <ifunc-impl-list.h>.
24987 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
24988 TEST_NAME]: New variables.
24989 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
24991 (test_init): Call __libc_ifunc_impl_list to initialize
24992 func_list if TEST_IFUNC and TEST_NAME are defined.
24994 * string/Makefile (strop-tests): Add bcopy and bzero.
24995 * string/test-bcopy.c: New file.
24996 * string/test-bzero.c: Likewise.
24997 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
24999 * string/test-memset.c: Support bzero test if TEST_BZERO is
25001 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
25003 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
25005 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
25008 2012-10-10 Joseph Myers <joseph@codesourcery.com>
25010 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
25011 * configure: Regenerated.
25013 * Makeconfig (+link-static-before-libc): Don't include
25014 $(link-static-libc).
25016 * libio/libio.h (_IO_pos_t): Remove.
25018 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
25020 * NEWS: Add note about FIPS mode. Wording suggested by Roland
25023 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
25025 * crypt/crypt-entry.c: Include fips-private.h.
25026 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
25027 * crypt/md5c-test.c (main): Tolerate disabled MD5.
25028 * sysdeps/unix/sysv/linux/fips-private.h: New file.
25029 * sysdeps/generic/fips-private.h: New file, dummy fallback.
25031 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
25033 * crypt/crypt-private.h: Include stdbool.h.
25034 (_ufc_setup_salt_r): Return bool.
25035 * crypt/crypt-entry.c: Include errno.h.
25036 (__crypt_r): Return NULL with EINVAL for bad salt.
25037 * crypt/crypt_util.c (bad_for_salt): New.
25038 (_ufc_setup_salt_r): Check that salt is long enough and within
25039 the specified alphabet.
25040 * crypt/badsalttest.c: New file.
25041 * crypt/Makefile (tests): Add it.
25042 ($(objpfx)badsalttest): New.
25044 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
25046 * NEWS: Add entry for BZ #14602.
25048 2012-10-09 Joseph Myers <joseph@codesourcery.com>
25050 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
25052 * math/libm-test.inc: Update comment listing what functions and
25054 (isgreater_test): New function.
25055 (isgreaterequal_test): Likewise.
25056 (isless_test): Likewise.
25057 (islessequal_test): Likewise.
25058 (islessgreater_test): Likewise.
25059 (isunordered_test): Likewise.
25060 (main): Call the new functions.
25062 2012-10-09 Roland McGrath <roland@hack.frob.com>
25064 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
25065 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
25066 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
25067 * sysdeps/i386/configure: Regenerated.
25068 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
25069 * sysdeps/mach/configure: Regenerated.
25070 * sysdeps/mach/hurd/configure: Regenerated.
25071 * sysdeps/powerpc/configure: Regenerated.
25072 * sysdeps/powerpc/powerpc32/configure: Regenerated.
25073 * sysdeps/powerpc/powerpc64/configure: Regenerated.
25074 * sysdeps/s390/s390-32/configure: Regenerated.
25075 * sysdeps/s390/s390-64/configure: Regenerated.
25076 * sysdeps/sh/configure: Regenerated.
25077 * sysdeps/sparc/configure: Regenerated.
25078 * sysdeps/unix/sysv/linux/configure: Regenerated.
25079 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
25080 * sysdeps/x86_64/configure: Regenerated.
25082 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
25083 defined. Don't check if MAP is NULL.
25085 2012-10-09 Joseph Myers <joseph@codesourcery.com>
25087 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
25088 (_G_stat64): Likewise.
25089 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
25090 (_G_stat64): Likewise.
25091 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
25092 instead of struct _G_stat64.
25093 * libio/fileops.c (mmap_remap_check): Likewise.
25094 (decide_maybe_mmap): Likewise.
25095 (_IO_new_file_seekoff): Likewise.
25096 (_IO_file_stat): Likewise.
25097 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
25099 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
25100 instead of struct _G_stat64.
25101 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
25103 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
25106 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
25108 (CHECK_EOL): New macro.
25109 (two_way_short_needle): Check beginning of haystack for EOL. Use
25111 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
25112 Replace with CHECK_EOL.
25113 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
25114 Replace with CHECK_EOL.
25116 2012-10-08 Joseph Myers <joseph@codesourcery.com>
25118 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
25120 * math/libm-test.inc: Update comment listing what functions and
25122 (finite_test): New function.
25123 (isinf_test): Likewise.
25124 (isnan_test): Likewise.
25125 (fpclassify_test): Test subnormal input.
25126 (isfinite_test): Likewise.
25127 (isnormal_test): Likewise.
25128 (main): Call the new functions.
25130 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
25133 * Makerules (%.dynsym): Force C locale when running
25134 $(OBJDUMP) --dynamic-syms.
25136 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
25138 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
25141 2012-10-06 David S. Miller <davem@davemloft.net>
25143 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
25144 upper 32-bits of the length value in %o2 since we use branch-on-register
25145 tests which consider the entire 64-bit register.
25147 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
25149 * string/test-strstr.c (check2): Add a test for page boundary.
25151 2012-10-05 David S. Miller <davem@davemloft.net>
25153 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
25154 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
25156 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
25158 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
25159 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
25160 and bzero when HWCAP_SPARC_CRYPTO is present.
25162 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
25165 * string/test-strstr.c (check2): New function.
25166 (test_main): Call check2.
25168 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
25170 * string/bug-strcasestr1.c (do_test): Moved to ...
25171 * string/test-strcasestr.c (check1): Here. New function.
25172 (do_one_test): Break out result checking code into ...
25173 (check_result): This. New function.
25174 (do_one_test): Call check_result.
25175 (test_main): Call check1.
25176 * string/bug-strchr1.c (do_test): Moved to ...
25177 * string/test-strchr.c (check1): Here. New function.
25178 (do_one_test): Break out result checking code into ...
25179 (check_result): This. New function.
25180 (do_one_test): Call check_result.
25181 (test_main): Call check1.
25182 * string/bug-strstr1.c (main): Moved to ...
25183 * string/test-strstr.c (check1): Here. New function.
25184 (do_one_test): Break out result checking code into ...
25185 (check_result): This. New function.
25186 (do_one_test): Call check_result.
25187 (test_main): Call check1.
25188 * string/bug-strcasestr1.c: Removed.
25189 * string/bug-strchr1.c: Likewise.
25190 * string/bug-strstr1.c: Likewise.
25192 * elf/Makefile (dl-routines): Add hwcaps.
25193 * elf/dl-support.c (_dl_important_hwcaps): Removed.
25194 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
25195 (_dl_important_hwcaps): Moved to ...
25196 * elf/dl-hwcaps.c: Here. New file.
25197 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
25200 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
25201 if IS_IN_rtld isn't defined.
25203 * elf/dl-support.c (_dl_sysinfo_map): New.
25204 Include "get-dynamic-info.h" and "setup-vdso.h".
25205 (_dl_non_dynamic_init): Call setup_vdso.
25206 * elf/dynamic-link.h: Don't include <assert.h>.
25207 (elf_get_dynamic_info): Moved to ...
25208 * elf/get-dynamic-info.h: Here. New file.
25209 * elf/dynamic-link.h: Include "get-dynamic-info.h".
25210 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
25211 * elf/setup-vdso.h: Here. New file.
25212 * elf/rtld.c: Include "setup-vdso.h".
25213 (dl_main): Call setup_vdso.
25215 2012-10-05 Joseph Myers <joseph@codesourcery.com>
25217 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
25218 creal in comment listing functions tested. List finite, isinf,
25219 isnan, isless, islessequal, isgreater, isgreaterequal,
25220 islessgreater, isunordered, lgamma_r and pow10 as functions and
25221 macros not tested. Mention which functions not tested are aliases
25222 for other functions. Fix typo. Note that signs of NaNs are not
25225 * scripts/config.guess: Update from config.git.
25226 * scripts/config.sub: Likewise.
25228 2012-10-04 Roland McGrath <roland@hack.frob.com>
25230 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
25231 * misc/madvise.c (madvise): Renamed to __madvise.
25232 Make madvise a weak alias.
25233 * include/sys/mman.h: Declare __madvise.
25234 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
25235 * sysdeps/unix/syscalls.list
25236 (madvise): Make __madvise the strong name, and madvise a weak alias.
25237 * sysdeps/unix/sysv/linux/syscalls.list
25238 (madvise, mmap): Remove redundant entries.
25239 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
25240 * malloc/malloc.c (mtrim): Likewise.
25241 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
25243 2012-10-03 Roland McGrath <roland@hack.frob.com>
25245 * sysdeps/mach/hurd/dl-cache.c: File removed.
25246 * config.h.in (USE_LDCONFIG): New #undef.
25247 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
25248 * configure: Regenerated.
25249 * elf/Makefile (dl-routines): Add dl-cache only under
25250 [$(use-ldconfig) = yes].
25251 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
25252 cache on [USE_LDCONFIG].
25253 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
25255 * elf/rtld.c (dl_main): Likewise.
25257 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
25259 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
25260 _SC_LEVEL4_CACHE_LINESIZE.
25262 2012-10-03 Roland McGrath <roland@hack.frob.com>
25264 * sysdeps/unix/bsd/confstr.h: File removed.
25266 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
25268 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
25271 2012-10-02 Roland McGrath <roland@hack.frob.com>
25273 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
25274 Make 'mapoff' field ElfW(Off) rather than off_t.
25276 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
25278 * nscd/Makefile: Remove nscd-cflags and all its users.
25279 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
25280 (CFLAGS-nonlib): Add compiler flags for nscd modules.
25283 * malloc.c (malloc_printerr): Clarify error message.
25285 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
25288 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25289 Set bit_FMA_Usable if FMA is supported.
25290 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
25292 (bit_FMA4_Usable): Updated.
25293 (index_FMA_Usable): New macro.
25294 (CPUID_FMA): Likewise
25295 (HAS_FMA): Defined with bit_FMA_Usable.
25297 2012-10-01 Roland McGrath <roland@hack.frob.com>
25299 * bits/types.h (__swblk_t): Type removed.
25300 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
25301 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
25302 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25303 (__SWBLK_T_TYPE): Likewise.
25304 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25305 (__SWBLK_T_TYPE): Likewise.
25306 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25307 (__SWBLK_T_TYPE): Likewise.
25308 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25309 (__SWBLK_T_TYPE): Likewise.
25311 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
25312 Honza Horak <hhorak@redhat.com>
25314 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
25315 (xdr_mapname): Use YPMAXMAP as maxsize.
25316 (xdr_peername): Use YPMAXPEER as maxsize.
25317 (xdr_keydat): Use YPAXRECORD as maxsize.
25318 (xdr_valdat): Use YPMAXRECORD as maxsize.
25320 2012-10-01 Roland McGrath <roland@hack.frob.com>
25322 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
25324 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
25325 * csu/init-first.c: ... here.
25326 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
25327 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
25328 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
25329 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
25330 * sysdeps/i386/init-first.c: File removed.
25331 * sysdeps/sh/init-first.c: File removed.
25333 2012-10-01 Joseph Myers <joseph@codesourcery.com>
25336 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
25337 if x * y might underflow to zero and z is zero.
25338 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25339 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25340 * math/libm-test.inc (min_subnorm_value): New variable.
25341 (fma_test): Add more tests.
25342 (fma_test_towardzero): Likewise.
25343 (fma_test_downward): Likewise
25344 (fma_test_upward): Likewise.
25345 (initialize): Set min_subnorm_value.
25347 2012-09-29 Joseph Myers <joseph@codesourcery.com>
25350 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
25352 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
25353 mode for addition resulting in exact zero.
25354 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
25355 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
25357 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25358 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25359 * math/libm-test.inc (fma_test): Add more tests.
25360 (fma_test_towardzero): New function.
25361 (fma_test_downward): Likewise.
25362 (fma_test_upward): Likewise.
25363 (main): Call the new functions.
25365 2012-09-28 David S. Miller <davem@davemloft.net>
25367 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
25369 2012-09-28 Roland McGrath <roland@hack.frob.com>
25371 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
25372 instead of SIGALRM.
25374 * sysdeps/gnu/_G_config.h: Moved to ...
25375 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
25376 * sysdeps/mach/hurd/_G_config.h: Moved to ...
25377 * sysdeps/generic/_G_config.h: ... here.
25379 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
25381 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
25383 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
25384 Conditionalize target on [libnss_test1.so-version].
25386 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
25388 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
25389 (elfobjdir): Move out of conditionals.
25391 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
25392 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
25393 (__nss_lookup_function): Conditionalize label remove_from_tree on
25394 [!DO_STATIC_NSS || SHARED], matching its only use.
25396 2012-09-28 David S. Miller <davem@davemloft.net>
25398 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
25399 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
25401 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
25403 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
25404 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
25405 when HWCAP_SPARC_CRYPTO is present.
25407 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
25409 * io/tst-mknodat.c: Create a FIFO instead of a socket.
25411 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
25414 * stdio-common/vfprintf.c (process_string_arg): Revert
25417 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
25419 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
25421 * stdio-common/tst-sprintf.c: Include <locale.h>
25422 (main): Test sprintf's handling of incomplete multibyte
25425 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
25427 * elf/dl-runtime.c (VERSYMIDX): Removed.
25428 * elf/dl-version.c (VERSYMIDX): Likewise.
25429 * elf/do-rel.h (VERSYMIDX): Likewise.
25430 (VALIDX): Likewise.
25431 * elf/dynamic-link.h (VERSYMIDX): Likewise.
25432 * elf/rtld.c (VALIDX): Likewise.
25433 (ADDRIDX): Likewise.
25434 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
25435 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
25436 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
25437 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
25438 (VALIDX): Likewise.
25439 (ADDRIDX): Likewise.
25441 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
25443 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
25445 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
25448 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
25450 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
25451 addresses are in the same scope as 192.0.2/24.
25452 * posix/gai.conf: Document new scope table defaults.
25454 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25457 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
25458 for ftell. Compute offsets from write pointers instead.
25459 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
25461 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25464 * libio/Makefile (tests): New test case tst-fseek.
25465 * libio/tst-fseek.c: New test case to verify that fseek/ftell
25466 combination works in wide mode.
25467 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
25468 state when the external buffer state changes.
25470 2012-09-27 David S. Miller <davem@davemloft.net>
25473 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
25474 pass reloc->r_addend in as the 'high' argument to
25475 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
25477 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25479 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
25481 * rt/tst-aio2.c: Include <pthread.h>.
25482 * rt/tst-aio3.c: Likewise.
25484 2012-09-27 Steve Ellcey <sellcey@mips.com>
25486 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
25488 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
25490 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
25491 contents on [SHARED].
25493 2012-09-26 Marek Polacek <polacek@redhat.com>
25497 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
25498 for C++ and GCC <4.3 as well as for non GCC compilers.
25500 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
25502 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25504 2012-09-25 Roland McGrath <roland@hack.frob.com>
25506 * Makefile.in (all, install): Declare with .PHONY.
25507 Reported by Michael Hope <michael.hope@linaro.org>.
25509 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25511 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
25512 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
25514 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
25516 (sydep_routines): Add the new and the internal functions.
25517 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
25518 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
25519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
25520 (GLIBC_2.17): Add the new function.
25521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
25522 (GLIBC_2.17): Likewise.
25523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
25524 (GLIBC_2.17): Likewise.
25525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
25526 (GLIBC_2.17): Likewise.
25527 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
25529 2012-09-25 Alan Modra <amodra@gmail.com>
25531 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
25532 Add release barrier before setting once_control to say
25533 initialisation is done. Add hints on lwarx. Use macro in
25535 (clear_once_control): Add release barrier.
25537 2012-09-25 Joseph Myers <joseph@codesourcery.com>
25540 * math/s_clog.c (__clog): Handle more values close to |z| = 1
25542 * math/s_clog10.c (__clog10): Likewise.
25543 * math/s_clog10f.c (__clog10f): Likewise.
25544 * math/s_clog10l.c (__clog10l): Likewise.
25545 * math/s_clogf.c (__clogf): Likewise.
25546 * math/s_clogl.c (__clogl): Likewise.
25547 * math/Makefile (libm-calls): Add x2y2m1.
25548 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
25549 (__x2y2m1): Likewise.
25550 (__x2y2m1l): Likewise.
25551 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
25552 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
25553 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
25554 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
25555 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
25556 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
25557 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
25558 * sysdeps/i386/fpu/libm-test-ulps: Update.
25559 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25562 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
25563 int as type of variable DEPTH.
25564 (glob): Use size_t instead of int as type of variables NEWCOUNT
25567 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25569 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
25570 Add s_sincosf-sse2.
25571 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
25572 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
25573 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
25574 macros for using routine as __sincosf_ia32.
25575 Use macro for function declaration and weak_alias.
25576 * sysdeps/i386/fpu/libm-test-ulps: Update.
25578 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
25579 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25581 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
25582 subnormal argument.
25583 * math/s_cexpf.c (__cexpf): Likewise.
25584 * math/s_csinf.c (__csinf): Likewise.
25585 * math/s_csinhf.c (__csinhf): Likewise.
25586 * math/s_ctanf.c (__ctanf): Likewise.
25587 * math/s_ctanhf.c (__ctanhf): Likewise.
25588 * math/s_ccosh.c (__ccoshf): Likewise.
25589 * math/s_cexp.c (__cexpl): Likewise.
25590 * math/s_csin.c (__csin): Likewise.
25591 * math/s_csinh.c (__csinh): Likewise.
25592 * math/s_ctan.c (__ctan): Likewise.
25593 * math/s_ctanh.c (ctanh): Likewise.
25594 * math/s_ccoshl.c (__ccoshl): Likewise.
25595 * math/s_cexpl.c (__cexpl): Likewise.
25596 * math/s_csinl.c (__csinl): Likewise.
25597 * math/s_csinhl.c (__csinhl): Likewise.
25598 * math/s_ctanl.c (__ctanl): Likewise.
25599 * math/s_ctanhl.c (__ctanhl): Likewise.
25601 2012-09-25 Joseph Myers <joseph@codesourcery.com>
25603 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
25604 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
25605 (_IO_off_t): Define to __off_t, not _G_off_t.
25606 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
25607 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
25608 (_IO_wint_t): Define to wint_t, not _G_wint_t.
25609 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
25610 type of __dummy and __dummy2 fields.
25611 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
25612 (_G_ssize_t): Likewise.
25613 (_G_off_t): Likewise.
25614 (_G_pid_t): Likewise.
25615 (_G_uid_t): Likewise.
25616 (_G_wchar_t): Likewise.
25617 (_G_wint_t): Likewise.
25618 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
25619 (_G_ssize_t): Likewise.
25620 (_G_off_t): Likewise.
25621 (_G_pid_t): Likewise.
25622 (_G_uid_t): Likewise.
25623 (_G_wchar_t): Likewise.
25624 (_G_wint_t): Likewise.
25625 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
25626 (_G_ssize_t): Likewise.
25627 (_G_off_t): Likewise.
25628 (_G_pid_t): Likewise.
25629 (_G_uid_t): Likewise.
25630 (_G_wchar_t): Likewise.
25631 (_G_wint_t): Likewise.
25633 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25635 * malloc/arena.c: Include malloc-sysdep.h.
25636 (shrink_heap): Use check_may_shrink_heap to decide if madvise
25637 is sufficient to shrink the heap or an unmap is needed.
25638 * sysdeps/generic/malloc-sysdep.h: New file. Define
25639 new function check_may_shrink_heap.
25640 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
25641 new function check_may_shrink_heap.
25643 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25645 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
25648 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
25650 * catgets/test-gencat.sh: Add "set -e".
25651 * elf/tst-pathopt.sh: Likewise.
25652 * grp/tst_fgetgrent.sh: Likewise.
25653 * iconvdata/run-iconv-test.sh: Likewise.
25654 * intl/tst-gettext.sh: Likewise.
25655 * intl/tst-gettext2.sh: Likewise.
25656 * intl/tst-gettext4.sh: Likewise.
25657 * intl/tst-gettext6.sh: Likewise.
25658 * intl/tst-translit.sh: Likewise.
25659 * io/ftwtest-sh: Likewise.
25660 * libio/test-freopen.sh: Likewise.
25661 * malloc/tst-mtrace.sh: Likewise.
25662 * posix/globtest.sh: Likewise.
25663 * posix/tst-getconf.sh: Likewise.
25664 * posix/wordexp-tst.sh: Likewise.
25665 * stdio-common/tst-printf.sh: Likewise.
25666 * stdio-common/tst-unbputc.sh: Likewise.
25667 * stdlib/tst-fmtmsg.sh: Likewise.
25668 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
25669 * catgets/Makefile: Do not specify -e option when running
25670 testsuite shell scripts.
25671 * elf/Makefile: Likewise.
25672 * grp/Makefile: Likewise.
25673 * iconvdata/Makefile: Likewise.
25674 * intl/Makefile: Likewise.
25675 * io/Makefile: Likewise.
25676 * libio/Makefile: Likewise.
25677 * malloc/Makefile: Likewise.
25678 * posix/Makefile: Likewise.
25679 * stdio-common/Makefile: Likewise.
25680 * stdlib/Makefile: Likewise.
25681 * sysdeps/x86_64/Makefile: Likewise.
25683 * io/ftwtest-sh: Add copyright header.
25684 * posix/globtest.sh: Likewise.
25685 * posix/tst-getconf.sh: Likewise.
25686 * posix/wordexp-tst.sh: Likewise.
25687 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
25689 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
25692 * Makeconfig (+link): Defined as $(+link-static) if
25693 $(build-shared) isn't yes.
25694 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
25696 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
25698 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
25701 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
25702 new chunk size with MALLOC_ALIGN_MASK.
25704 2012-09-24 Joseph Myers <joseph@codesourcery.com>
25707 * stdio-common/printf_fphex.c: Include <stdbool.h> and
25709 (__printf_fphex): Determine rounding using get_rounding_mode and
25711 * stdio-common/tst-printf-round.c (struct hex_test): New
25713 (hex_tests): New variable.
25714 (test_hex_in_one_mode): New function.
25715 (do_test): Also run tests for hex float output.
25717 2012-09-21 Joseph Myers <joseph@codesourcery.com>
25719 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
25720 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
25721 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
25722 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
25723 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
25724 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
25725 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
25726 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
25728 2012-09-20 Joseph Myers <joseph@codesourcery.com>
25730 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
25731 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
25732 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
25733 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
25735 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
25738 * elf/rtld.c (dl_main): Limit the check for self loading to normal
25740 * elf/tst-rtld-load-self.sh: New test.
25741 * elf/Makefile: Run it.
25743 2012-09-18 Joseph Myers <joseph@codesourcery.com>
25745 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
25746 (tst-writev-ENV): Remove.
25747 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
25749 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
25751 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
25753 2012-09-17 Joseph Myers <joseph@codesourcery.com>
25755 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
25757 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
25759 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
25760 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
25761 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
25764 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
25767 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
25768 * config.make.in (have-cpp-asm-debuginfo): Removed.
25769 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
25770 * configure: Regenerated.
25772 2012-09-14 Joseph Myers <joseph@codesourcery.com>
25775 * stdio-common/printf_fp.c: Include <stdbool.h> and
25777 (___printf_fp): Determine rounding using get_rounding_mode and
25779 * stdio-common/tst-printf-round.c: New file.
25780 * stdio-common/Makefile (tests): Add tst-printf-round.
25781 (link-libm): New variable.
25782 ($(objpfx)tst-printf-round): Depend in $(link-libm).
25784 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
25787 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
25788 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
25790 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
25793 2012-09-13 Joseph Myers <joseph@codesourcery.com>
25795 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
25796 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25797 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25798 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25800 2012-09-12 Joseph Myers <joseph@codesourcery.com>
25803 * include/rounding-mode.h: New file.
25804 * sysdeps/generic/get-rounding-mode.h: Likewise.
25805 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
25806 * stdlib/strtod_l.c: Include <rounding-mode.h>.
25807 (MAX_VALUE): New macro.
25808 (MIN_VALUE): Likewise.
25809 (overflow_value): New function.
25810 (underflow_value): Likewise.
25811 (round_and_return): Use overflow_value and underflow_value to
25812 determine return values in overflow and underflow cases. Use
25813 round_away to determine rounding depending on rounding mode.
25814 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
25815 determine return values in overflow and underflow cases.
25816 * stdlib/tst-strtod-round.c: Include <fenv.h>.
25817 (struct test_results): New structure.
25818 (struct test): Use struct test_results to store expected results
25819 for all rounding modes.
25820 (TEST): Include expected results for all rounding modes.
25821 (test_in_one_mode): New function.
25822 (do_test): Use test_in_one_mode to compute and check results.
25823 Check results for all rounding modes.
25824 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
25827 2012-12-09 Allan McRae <allan@archlinux.org>
25829 * sysdeps/i386/fpu/libm-test-ulps: Update
25831 2012-09-11 Joseph Myers <joseph@codesourcery.com>
25833 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
25834 (_G_int32_t): Likewise.
25835 (_G_uint16_t): Likewise.
25836 (_G_uint32_t): Likewise.
25837 (_G_HAVE_BOOL): Likewise.
25838 (_G_HAVE_ATEXIT): Likewise.
25839 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25840 (_G_HAVE_IO_FILE_OPEN): Likewise.
25841 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
25842 (_G_int32_t): Likewise.
25843 (_G_uint16_t): Likewise.
25844 (_G_uint32_t): Likewise.
25845 (_G_HAVE_BOOL): Likewise.
25846 (_G_HAVE_ATEXIT): Likewise.
25847 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25848 (_G_HAVE_IO_FILE_OPEN): Likewise.
25849 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
25850 (_G_int32_t): Likewise.
25851 (_G_uint16_t): Likewise.
25852 (_G_uint32_t): Likewise.
25853 (_G_HAVE_BOOL): Likewise.
25854 (_G_HAVE_ATEXIT): Likewise.
25855 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25856 (_G_HAVE_IO_FILE_OPEN): Likewise.
25858 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
25860 * csu/libc-tls.c: Update copyright years.
25862 2012-09-10 Joseph Myers <joseph@codesourcery.com>
25864 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
25865 [!_G_USING_THUNKS]: Remove conditional code.
25866 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
25867 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
25869 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
25870 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
25871 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25872 (_G_VTABLE_LABEL_PREFIX): Likewise.
25873 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25874 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25875 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25876 (_G_VTABLE_LABEL_PREFIX): Likewise.
25877 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
25878 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25879 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25880 (_G_VTABLE_LABEL_PREFIX): Likewise.
25881 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
25883 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
25885 * libio/Makefile: Include ../Makeconfig before tests.
25886 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
25887 only if $(build-shared) is yes.
25889 * iconv/gconv_db.c: Update copyright years.
25891 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25893 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
25894 unwind info if defined PIC. Fix special cases description.
25895 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
25897 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
25899 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
25901 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
25903 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
25905 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
25908 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
25909 (LDLIBS-tst-chk4): This.
25910 (LDFLAGS-tst-chk5): Renamed to ...
25911 (LDLIBS-tst-chk5): This.
25912 (LDFLAGS-tst-chk6): Renamed to ...
25913 (LDLIBS-tst-chk6): This.
25914 (LDFLAGS-tst-lfschk4): Renamed to ...
25915 (LDLIBS-tst-lfschk4): This.
25916 (LDFLAGS-tst-lfschk5): Renamed to ...
25917 (LDLIBS-tst-lfschk5): This.
25918 (LDFLAGS-tst-lfschk6): Renamed to ...
25919 (LDLIBS-tst-lfschk6): This.
25921 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
25922 on $(common-objpfx)soversions.mk.
25924 2012-09-07 Joseph Myers <joseph@codesourcery.com>
25927 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
25930 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
25932 * malloc/arena.c (arena_get_retry): New function that gets
25933 another arena for the caller to try its request on.
25934 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
25935 current arena cannot fulfill the request.
25936 (__libc_memalign): Likewise.
25937 (__libc_memalign): Likewise.
25938 (__libc_pvalloc): Likewise.
25939 (__libc_calloc): Likewise.
25941 2012-09-05 John Tobey <john.tobey@gmail.com>
25944 * manual/arith.texi (Operations on Complex): Fix description
25945 of carg branch cut.
25947 2012-09-06 Joseph Myers <joseph@codesourcery.com>
25950 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
25954 * manual/memory.texi (Memory): Make order of menu items match
25957 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
25959 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
25960 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
25961 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
25963 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
25965 * csu/libc-tls.c (static_dtv): Renamed to ...
25966 (_dl_static_dtv): This. Make it global.
25967 (_dl_initial_dtv): Removed.
25968 (__libc_setup_tls): Updated.
25969 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
25970 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
25973 2012-09-06 Petr Machata <pmachata@redhat.com>
25975 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
25976 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
25977 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
25978 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
25980 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
25983 * csu/libc-tls.c (_dl_initial_dtv): New variable.
25984 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
25987 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
25990 * Makeconfig (link-static-before-libc): Replace $(+prector)
25992 (link-static-after-libc): Replace $(+postctor) with
25994 (link-bounded): Replace $(+prector)/$(+postctor) with
25995 $(+prectorT)/$(+postctorT).
25996 (+prectorT): New macro.
25997 (+postctorT): Likewise.
25999 2012-09-06 Joseph Myers <joseph@codesourcery.com>
26001 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
26002 (round_str): Handle values above the maximum for IBM long double
26004 * stdlib/tst-strtod-round.c (tests): Regenerated.
26006 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26008 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
26010 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
26011 zarch_nohighgprs around the zarch optimized routines.
26012 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
26013 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
26014 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
26017 2012-09-05 David S. Miller <davem@davemloft.net>
26019 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26021 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
26022 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
26023 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
26024 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
26027 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
26029 * malloc/arena.c: Fold copyright years.
26030 * malloc/mcheck.c, malloc/memusage.c: Likewise.
26032 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
26034 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
26036 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
26038 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
26040 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
26042 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
26043 change internal state upon failure.
26045 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
26047 * malloc/mcheck.c (mcheck_check_all): Fix typo.
26048 * malloc/memusage.c (mmap): Likewise.
26049 (mmap64, mremap): Likewise. Adjust name in comment.
26051 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
26053 * libio/fileops.c: Fix typos in comments.
26054 * libio/oldfileops.c: Likewise.
26055 * libio/wfileops.c: Likewise.
26057 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
26060 * malloc/Makefile (tests): Add tst-malloc-usable test case.
26061 (tst-malloc-usable-ENV): Set environment for test case.
26062 * malloc/hooks.c (malloc_check_get_size): New function to get
26064 * malloc/malloc.c (musable): Use malloc_check_get_size.
26065 * malloc/tst-malloc-usable.c: New test case.
26067 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
26069 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
26071 2012-09-05 Allan McRae <allan@archlinux.org>
26074 * configure.in (CXX_SYSINCLUDES): Use compiler output to
26075 determine header location.
26076 * configure: Regenerated.
26078 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
26080 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
26082 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
26083 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
26085 (test): Regenerate.
26087 2012-09-04 David S. Miller <davem@davemloft.net>
26089 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
26090 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
26091 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
26093 2012-09-04 Florian Weimer <fweimer@redhat.com>
26095 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
26098 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
26100 2012-09-04 Joseph Myers <joseph@codesourcery.com>
26103 * libio/iogetdelim.c: Include <limits.h>.
26104 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
26105 + len + 1 would overflow.
26107 2012-09-03 Andreas Jaeger <aj@suse.de>
26109 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26110 * sysdeps/i386/fpu/libm-test-ulps: Update.
26112 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26114 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
26115 Add s_sinf-sse2, s_conf-sse2.
26117 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
26118 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
26119 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
26120 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
26122 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
26123 for using routine as __sinf_ia32.
26124 Use macro for function declaration and weak_alias.
26125 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
26126 for using routine as __cosf_ia32.
26127 Use macro for function declaration and weak_alias.
26129 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
26130 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
26132 * sysdeps/x86_64/fpu/s_sinf.S: New file.
26133 * sysdeps/x86_64/fpu/s_cosf.S: New file.
26134 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26136 * math/libm-test.inc (cos_test): Add more test cases.
26137 (sin_test): Likewise.
26138 (sincos_test): Likewise.
26140 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26142 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
26143 (IFUNC_RESOLVE): Make pointers to the specialized implementations
26145 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
26147 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
26150 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
26151 first element of the GOT.
26152 (elf_machine_load_address): Return the difference between
26153 the runtime address of _DYNAMIC and elf_machine_dynamic ().
26155 2012-09-01 Allan McRae <allan@archlinux.org>
26158 * configure.in (AWK): Require gawk version 3.0 or later.
26159 * configure: Regenerated.
26161 2012-09-01 Joseph Myers <joseph@codesourcery.com>
26163 * sysdeps/unix/sysv/linux/kernel-features.h
26164 (__ASSUME_POSIX_CPU_TIMERS): Remove.
26165 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
26166 [__NR_clock_getres]: Make code unconditional.
26167 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
26168 (clock_getcpuclockid): Remove code left unreachable by removal of
26170 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
26171 code unconditional.
26172 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
26173 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
26174 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
26175 Make code unconditional.
26176 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
26177 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
26178 * sysdeps/unix/sysv/linux/clock_settime.c
26179 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
26181 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
26182 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
26184 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
26187 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
26188 scripts/test-installation.pl.
26190 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
26191 and $ld_so_version if it is set.
26193 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26196 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
26197 failure if reading from procfs failed.
26198 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
26200 2012-08-27 Joseph Myers <joseph@codesourcery.com>
26202 * sysdeps/unix/sysv/linux/kernel-features.h
26203 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
26204 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
26205 Remove conditional code.
26206 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26207 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
26208 Remove conditional code.
26209 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26210 * sysdeps/unix/sysv/linux/i386/fxstat.c
26211 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
26212 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26213 * sysdeps/unix/sysv/linux/i386/fxstatat.c
26214 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
26215 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26216 * sysdeps/unix/sysv/linux/i386/lxstat.c
26217 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
26218 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26219 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
26220 Remove conditional code.
26221 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26222 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
26223 Remove conditional code.
26224 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26225 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
26226 <kernel-features.h>.
26227 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
26229 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
26230 Remove conditional code.
26231 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26232 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
26233 Remove conditional.
26235 2012-08-27 Mike Frysinger <vapier@gentoo.org>
26238 * NEWS: Add fixed bug number.
26240 2012-08-27 Joseph Myers <joseph@codesourcery.com>
26243 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
26244 underflowing exponent in case of negative sign.
26245 * stdlib/tst-strtod-round-data: Add more tests.
26246 * stdlib/tst-strtod-round.c (tests): Regenerated.
26249 * stdlib/strtod_l.c (NDIG): Remove.
26250 (HEXNDIG): Likewise.
26251 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
26252 smallest representable value.
26253 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
26254 lie within an exact representation of 1/2 ulp of the result.
26255 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
26257 (TENS_P9_IDX): Define unconditionally.
26258 (TENS_P9_SIZE): Likewise.
26259 (TENS_P10_IDX): Likewise.
26260 (TENS_P10_SIZE): Likewise.
26261 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
26262 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
26263 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
26264 entries for 10^2^13 and 10^2^14.
26265 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
26266 (TENS_P13_IDX): Define.
26267 (TENS_P13_SIZE): Likewise.
26268 (TENS_P14_IDX): Likewise.
26269 (TENS_P14_SIZE): Likewise.
26270 (_fpioconst_pow10): Change array size to
26271 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
26273 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
26274 1024]: Add entries for 10^2^13 and 10^2^14.
26275 [LAST_POW10 > _LAST_POW10]: Remove #error.
26276 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
26277 (_fpioconst_pow10): Change array size to
26278 FPIOCONST_POW10_ARRAY_SIZE.
26279 * stdlib/gen-fpioconst.c: New file.
26280 * stdlib/gen-tst-strtod-round.c: Likewise.
26281 * stdlib/tst-strtod-round-data: Likewise.
26282 * stdlib/tst-strtod-round.c: Likewise.
26283 * stdlib/Makefile (tests): Add tst-strtod-round.
26286 * stdlib/strtod_l.c: Include <stdint.h>.
26287 (NDEBUG): Do not define.
26288 (round_and_return): Change EXPONENT parameter to type intmax_t.
26289 Rearrange calculations to avoid internal overflow possibilities.
26290 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
26291 Rearrange calculations to avoid internal overflow possibilities.
26292 Assert that number fits inside MPNSIZE limbs.
26293 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
26294 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
26295 calculations and add assertions to avoid internal overflow
26296 possibilities. Add casts to avoid signed/unsigned operations.
26297 * stdlib/tst-strtod-overflow.c: New file.
26298 * stdlib/Makefile (tests): Add tst-strtod-overflow.
26300 2012-08-25 Marek Polacek <polacek@redhat.com>
26302 * time/time.h: Fix some typos in comments.
26304 2012-08-23 Roland McGrath <roland@hack.frob.com>
26306 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
26307 * posix/tst-rfc3484-2.c: Likewise.
26308 * posix/tst-rfc3484-3.c: Likewise.
26310 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
26312 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
26313 (EF_ARM_ABI_FLOAT_HARD): Likewise.
26315 2012-08-23 Joseph Myers <joseph@codesourcery.com>
26317 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
26318 #include of fxstatat64.c.
26320 2012-08-22 Roland McGrath <roland@hack.frob.com>
26322 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
26323 * shadow/getspent_r.c: Likewise.
26324 * shadow/getspnam.c: Likewise.
26325 * shadow/getspnam_r.c: Likewise.
26326 * gshadow/getsgent.c: Likewise.
26327 * gshadow/getsgent_r.c: Likewise.
26328 * gshadow/getsgnam.c: Likewise.
26329 * gshadow/getsgnam_r.c: Likewise.
26330 * inet/getnetbyad.c: Likewise.
26331 * inet/getnetbyad_r.c: Likewise.
26332 * inet/getnetbynm.c: Likewise.
26333 * inet/getnetbynm_r.c: Likewise.
26334 * inet/getnetent.c: Likewise.
26335 * inet/getnetent_r.c: Likewise.
26336 * inet/getproto.c: Likewise.
26337 * inet/getproto_r.c: Likewise.
26338 * inet/getprtent.c: Likewise.
26339 * inet/getprtent_r.c: Likewise.
26340 * inet/getprtname.c: Likewise.
26341 * inet/getprtname_r.c: Likewise.
26342 * inet/getrpcbyname.c: Likewise.
26343 * inet/getrpcbyname_r.c: Likewise.
26344 * inet/getrpcbynumber.c: Likewise.
26345 * inet/getrpcbynumber_r.c: Likewise.
26346 * inet/getrpcent.c: Likewise.
26347 * inet/getrpcent_r.c: Likewise.
26348 * inet/getaliasent.c: Likewise.
26349 * inet/getaliasent_r.c: Likewise.
26350 * inet/getaliasname.c: Likewise.
26351 * inet/getaliasname_r.c: Likewise.
26352 * nscd/getgrgid_r.c: Likewise.
26353 * nscd/getgrnam_r.c: Likewise.
26354 * nscd/gethstbyad_r.c: Likewise.
26355 * nscd/gethstbynm3_r.c: Likewise.
26356 * nscd/getpwnam_r.c: Likewise.
26357 * nscd/getpwuid_r.c: Likewise.
26358 * nscd/getsrvbynm_r.c: Likewise.
26359 * nscd/getsrvbypt_r.c: Likewise.
26360 * nscd/gai.c: Likewise.
26362 * configure.in (build_nscd): New substituted variable, set
26363 by --disable-build-nscd and defaults to $use_nscd.
26364 * configure: Regenerated.
26365 * config.make.in (build-nscd): New substituted variable.
26366 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
26367 Change conditional to require [$(build-nscd) = yes] as well.
26368 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
26371 * configure.in (use_nscd): New substituted variable, set by
26372 --disable-nscd. If enabled, define USE_NSCD.
26373 * configure: Regenerated.
26374 * config.h.in: Add USE_NSCD.
26375 * config.make.in (use-nscd): New substituted variable.
26376 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
26377 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
26378 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
26379 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
26380 (CFLAGS-getgrnam_r.c): Likewise.
26381 (CFLAGS-initgroups.c): Likewise.
26382 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
26383 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
26385 * inet/getnetgrent_r.c
26386 (nscd_setnetgrent): New function, broken out of ...
26387 (setnetgrent): ... here. Call it.
26388 (innetgr): Conditionalize nscd bits on [USE_NSCD].
26389 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
26390 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
26391 * nscd/Makefile (routines, aux): Move definitions after include of
26392 Makeconfig. Conditionalize on [$(use-nscd) != no].
26393 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
26394 Conditionalize on [USE_NSCD].
26395 (is_nscd, nscd_init_cb): Likewise.
26396 (nss_load_library): Conditionalize init callback on [USE_NSCD].
26397 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
26398 * nss/nss_db/db-init.c: Likewise.
26399 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
26401 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
26402 (make_request): Use it.
26403 (cache_valid_p): New function.
26404 (__check_pf): Use it.
26405 * NEWS: Add item for --disable-nscd.
26407 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
26409 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
26410 to support sed >= 4.2.1-20-ga9bf076.
26411 * configure: Regenerated.
26413 2012-08-22 Roland McGrath <roland@hack.frob.com>
26415 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
26416 Conditionalize whole body on [IREL].
26418 2012-08-22 Jeff Law <law@redhat.com>
26421 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
26422 if the family is PF_UNSPEC.
26424 2012-08-22 Mike Frysinger <vapier@gentoo.org>
26426 * Makerules (lib-version): Rename from V.
26427 (install-lib-nosubdir): Change V to lib-version.
26429 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
26432 * powerpc32/power6/wcschr.c: New file.
26433 * powerpc32/power6/wcscpy.c: New file.
26434 * powerpc32/power6/wcsrchr.c: New file.
26435 * powerpc64/power6/wcschr.c: New file.
26436 * powerpc64/power6/wcscpy.c: New file.
26437 * powerpc64/power6/wcsrchr.c: New file.
26439 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
26441 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
26442 (two_way_short_needle): Use it.
26443 * string/strstr.c (AVAILABLE1_USES_J): Define.
26444 * string/strcasestr.c: Likewise.
26446 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
26448 * string/strcasestr.c (TOLOWER): Make side-effect safe.
26451 * NEWS: Add an entry.
26452 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
26453 define their defaults.
26454 (two_way_short_needle): Detect end-of-string on-the-fly.
26455 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
26456 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
26457 * string/bug-strcasestr1.c: New test.
26458 * string/Makefile: Run it.
26460 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
26463 * string/str-two-way.h (two_way_short_needle): Optimize matching of
26464 the first character.
26466 2012-08-21 Roland McGrath <roland@hack.frob.com>
26468 * csu/elf-init.c (__libc_csu_irel): Function removed.
26469 * csu/libc-start.c (apply_irel): New function.
26470 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
26472 2012-08-21 Joseph Myers <joseph@codesourcery.com>
26474 * sysdeps/unix/sysv/linux/kernel-features.h
26475 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
26476 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
26477 <kernel-features.h>.
26478 [__NR_fadvise64_64]: Make code unconditional.
26479 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
26480 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
26481 !__NR_fadvise64_64)]: Likewise.
26482 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
26483 !__NR_fadvise64_64))]: Likewise.
26484 [__NR_fadvise64]: Make code unconditional.
26485 [!__NR_fadvise64]: Remove conditional code.
26486 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
26487 <kernel-features.h>.
26488 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26490 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
26493 not include <kernel-features.h>.
26494 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26496 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26498 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
26499 include <kernel-features.h>.
26500 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26502 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26505 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
26507 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
26508 slight instruction rearrangements per scrollpipe analysis.
26509 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
26511 2012-08-20 Roland McGrath <roland@hack.frob.com>
26513 * manual/syslog.texi (syslog; vsyslog, closelog):
26514 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
26515 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
26517 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
26518 DSOCAPS to match condition on defining it.
26520 2012-08-20 Joseph Myers <joseph@codesourcery.com>
26522 * sysdeps/unix/sysv/linux/kernel-features.h
26523 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
26524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
26525 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26526 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
26528 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26529 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
26531 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26532 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26534 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
26535 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
26537 * sysdeps/unix/sysv/linux/kernel-features.h
26538 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
26539 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
26541 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26542 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
26543 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
26544 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26545 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
26546 Make code unconditional.
26547 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26548 (__mmap64) [!__NR_mmap2]: Likewise.
26549 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
26550 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
26551 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26552 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
26553 [__NR_mmap2]: Make code unconditional.
26554 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26555 (__mmap64) [!__NR_mmap2]: Likewise.
26557 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26559 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
26561 2012-08-18 Andreas Jaeger <aj@suse.de>
26563 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
26565 2012-08-18 Mike Frysinger <vapier@gentoo.org>
26567 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
26568 * include/unistd.h (__have_sock_cloexec): Likewise.
26569 (__have_pipe2): Likewise.
26570 (__have_dup3): Likewise.
26572 2012-08-18 Mike Frysinger <vapier@gentoo.org>
26575 * include/unistd.h (__have_pipe2): Change define into an extern int.
26576 (__have_dup3): Likewise.
26577 * socket/have_sock_cloexec.c: Include fcntl.h.
26578 (__have_pipe2): New variable.
26579 (__have_dup3): Likewise.
26581 2012-08-17 Mike Frysinger <vapier@gentoo.org>
26583 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
26585 2012-08-17 Marek Polacek <polacek@redhat.com>
26587 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
26588 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
26590 2012-08-17 Roland McGrath <roland@hack.frob.com>
26592 * configure.in: Add AC_SUBST for sysheaders.
26593 * configure: Regenerated.
26594 * config.make.in (sysheaders): New substituted variable.
26596 * sysdeps/unix/mkfifo.c: Moved ...
26597 * sysdeps/posix/mkfifo.c: ... here.
26598 * sysdeps/unix/mkfifoat.c: Moved ...
26599 * sysdeps/posix/mkfifoat.c: ... here.
26601 * sysdeps/unix/utime.c: Moved ...
26602 * sysdeps/posix/utime.c: ... here.
26604 * sysdeps/unix/time.c: Moved ...
26605 * sysdeps/posix/time.c: ... here.
26606 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
26607 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
26609 * sysdeps/unix/nice.c: Moved ...
26610 * sysdeps/posix/nice.c: ... here.
26612 * sysdeps/unix/alarm.c: Moved ...
26613 * sysdeps/posix/alarm.c: ... here.
26615 * intl/Makefile ($(codeset_mo)): Depend on the input file.
26617 2012-08-17 Jeff Law <law@redhat.com>
26619 * intl/Makefile (codeset_mo): New variable.
26620 ($(codeset_mo)): New target.
26621 (tst-codeset.out): Depend on that. Remove explicit rule.
26622 (tst-gettext3.out, tst-gettext5.out): Likewise.
26623 (LOCPATH-ENV, tst-codeset-ENV): New variables.
26624 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
26625 * intl/tst-codeset.sh: Remove.
26626 * intl/tst-gettext3.sh: Likewise.
26627 * intl/tst-gettext5.sh: Likewise.
26629 2012-08-17 Roland McGrath <roland@hack.frob.com>
26631 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
26632 * sysdeps/unix/syscalls.list: ... here.
26634 * sysdeps/posix/getaddrinfo.c
26635 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
26636 (gaiconf_init, gaiconf_reload): Use them.
26637 [!_STATBUF_ST_NSEC]
26638 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
26639 Define using time_t rather than struct timespec.
26641 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
26642 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
26644 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
26646 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
26647 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
26650 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
26651 __libc_cleanup_push argument.
26653 * bits/param.h: New file.
26654 * misc/sys/param.h: New file.
26655 * include/sys/param.h: New file.
26656 * misc/Makefile (headers): Add bits/param.h.
26657 * sysdeps/generic/sys/param.h: File removed.
26658 * sysdeps/unix/sysv/linux/bits/param.h: New file.
26659 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
26660 * sysdeps/mach/hurd/bits/param.h: New file.
26661 * sysdeps/mach/hurd/sys/param.h: File removed.
26663 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
26666 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
26668 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
26669 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
26672 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
26673 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
26674 rather than -D_IO_MTSAFE_IO conditionally.
26675 * stdio-common/Makefile (CPPFLAGS): Likewise.
26676 * wcsmbs/Makefile (CPPFLAGS): Likewise.
26677 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
26678 Use $(libio-mtsafe).
26679 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
26680 of -D_IO_MTSAFE_IO.
26681 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
26682 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
26683 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
26684 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
26685 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
26686 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
26687 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
26688 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
26689 (CFLAGS-fread_u_chk.c): Likewise.
26690 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
26691 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
26692 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
26693 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
26694 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
26695 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
26696 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
26697 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
26698 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
26700 * libio/Makefile: Test [$(libc-reentrant) = yes]
26701 instead of [$(filter %REENTRANT, $(defines)) nonempty].
26704 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
26705 * sysdeps/pthread/configure: File removed.
26706 * sysdeps/pthread/Makeconfig: New file.
26707 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
26708 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
26710 2012-08-16 Gary Benson <gbenson@redhat.com>
26712 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
26713 unmapping the first object in a namespace.
26715 2012-08-16 Roland McGrath <roland@hack.frob.com>
26717 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
26718 (__internal_setnetgrent): ... this. Add internal_function to
26719 definition. Add libc_hidden_def.
26720 (setnetgrent): Update caller.
26721 (internal_endnetgrent): Renamed to ...
26722 (__internal_endnetgrent): ... this. Add internal_function to
26723 definition. Add libc_hidden_def.
26724 (endnetgrent): Update caller.
26725 (internal_getnetgrent_r): Renamed to ...
26726 (__internal_getnetgrent_r): ... this. Add internal_function to
26727 definition. Add libc_hidden_def.
26728 (__getnetgrent_r): Update caller.
26729 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
26731 2012-08-16 Joseph Myers <joseph@codesourcery.com>
26733 * stdlib/longlong.h: Update from GCC.
26735 2012-08-16 Roland McGrath <roland@hack.frob.com>
26737 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
26738 on _QL, which is set by umul_ppmm but never used.
26739 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
26740 variables, which are set by GMP macros but never used.
26741 * stdio-common/_itowa.c (_itowa): Likewise.
26742 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
26743 * stdlib/mod_1.c (mpn_mod_1): Likewise.
26745 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
26747 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
26748 struct La_sh_regs is not constant.
26749 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
26750 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
26751 and struct La_sparc64_regs are not constant.
26753 2012-08-16 Joseph Myers <joseph@codesourcery.com>
26755 * sysdeps/unix/sysv/linux/kernel-features.h
26756 (__ASSUME_POSIX_TIMERS): Remove.
26757 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
26758 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26759 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
26760 Make code unconditional.
26761 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26762 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
26763 Make code unconditional.
26764 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26765 * sysdeps/unix/sysv/linux/clock_nanosleep.c
26766 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
26767 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26768 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
26769 Make code unconditional.
26770 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26771 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
26772 (__libc_missing_posix_timers): Remove.
26774 2012-08-15 Roland McGrath <roland@hack.frob.com>
26776 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
26777 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
26779 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
26781 * elf/dl-sym.c: Include <stdlib.h>.
26783 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
26784 constants, which avoids warnings in 32-bit builds.
26786 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
26787 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
26789 * misc/lseek.c: File moved to ...
26790 * io/lseek.c: ... here.
26792 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
26794 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
26795 shifting LEN more than 31 bits at once.
26797 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26800 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
26801 segmentation fault for a case of two empty input strings.
26802 * string/test-strncasecmp.c (check1): Renamed to...
26803 (bz12205): ...this.
26804 (bz14195): Add new testcase for two empty input strings and N > 0.
26805 (test_main): Call new testcase, adapt for renamed function.
26807 2012-08-15 Andreas Jaeger <aj@suse.de>
26810 * crypt/md5test2.c: New test, based on test supplied by Serge
26811 Belyshev <belyshev@depni.sinp.msu.ru>.
26812 * crypt/Makefile (xtests): Add md5test-giant..
26813 * crypt/Makefile ($(objpfx)md5test-giant): Add.
26815 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
26818 * crypt/md5.c (md5_process_block): Don't assume the buffer
26819 length is less than 2**32.
26820 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
26821 length is less than 2**64.
26823 2012-08-15 Roland McGrath <roland@hack.frob.com>
26825 * string/str-two-way.h: Include <sys/param.h>.
26826 (MAX): Macro removed.
26828 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
26829 Move #define and #undef of memmove to just before and after
26830 including <string.h>.
26832 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
26833 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
26834 and after including <string.h>. Move declarations of
26835 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
26836 to before #include "string/memmove.c".
26838 * include/dirent.h: Declare __getdirentries.
26840 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
26841 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
26843 2012-08-14 Mike Frysinger <vapier@gentoo.org>
26845 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
26846 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
26847 * sysdeps/i386/configure: Regenerated.
26848 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
26849 STABS_CURRENT_FILE, and STABS_FUN.
26850 (END): Remove call to STABS_FUN_END.
26851 (STABS_CURRENT_FILE1): Delete.
26852 (STABS_CURRENT_FILE): Likewise.
26853 (STABS_FUN): Likewise.
26854 (STABS_FUN_END): Likewise.
26855 (STABS_FUN2): Likewise.
26856 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
26857 * sysdeps/x86_64/configure: Regenerated.
26859 2012-08-14 Roland McGrath <roland@hack.frob.com>
26861 * elf/dl-open.c: Include <atomic.h>.
26862 * elf/dl-lookup.c: Likewise.
26864 2012-08-14 Joseph Myers <joseph@codesourcery.com>
26866 * sysdeps/unix/sysv/linux/kernel-features.h
26867 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
26868 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
26870 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
26872 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
26873 condition on __ASSUME_CLONE_THREAD_FLAGS.
26875 2012-08-14 Andreas Jaeger <aj@suse.de>
26877 * sysdeps/i386/fpu/libm-test-ulps: Update.
26879 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
26881 * include/atomic.h (atomic_exchange_and_add): Split into ...
26882 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
26885 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
26887 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26889 2012-08-13 Jeff Law <law@redhat.com>
26891 * manual/stdio.texi (snprintf): Clarify handling of the trailing
26892 null byte in the output string.
26894 2012-08-10 Joseph Myers <joseph@codesourcery.com>
26896 * sysdeps/unix/sysv/linux/kernel-features.h
26897 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
26898 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
26899 (__ASSUME_ARG_MAX_STACK_BASED): Define.
26900 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
26901 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
26902 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
26903 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
26905 2012-08-09 Jeff Law <law@redhat.com>
26908 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
26909 When avoid_arena is set, don't retry in the that arena. Pick the
26910 next one, whatever it might be.
26911 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
26912 (arena_lock): Pass in new parameter to arena_get2.
26913 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
26915 (__libc_malloc): Unify retrying after main arena failure with
26916 __libc_memalign version.
26917 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
26919 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
26922 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
26923 to __redirect_strstr.
26924 (__strstr_sse42): Use typeof __redirect_strstr.
26925 (__strstr_ia32): Likewise.
26926 (__libc_strstr): New prototype.
26927 (strstr): Renamed to ...
26928 (__libc_strstr): This.
26929 (strstr): New strong alias of __libc_strstr.
26930 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
26931 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
26934 (__libc_time): New prototype.
26935 (time_ifunc): Replace time with __libc_time.
26936 (time): New strong alias and hidden definition of __libc_time.
26937 (__GI_time): Remove strong alias.
26938 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
26939 Include <stddef.h>.
26940 (memmove): Redefined to __redirect_memmove.
26941 (__memmove_sse2): Use typeof __redirect_memmove.
26942 (__memmove_ssse3): Likewise.
26943 (__memmove_ssse3_back): Likewise.
26944 (__libc_memmove): New prototype.
26945 (memmove): Renamed to ...
26946 (__libc_memmove): This.
26947 (memmove): New strong alias of __libc_memmove.
26949 2012-08-08 Mark Salter <msalter@redhat.com>
26952 (R_MN10300_TLS_GD): Define.
26953 (R_MN10300_TLS_LD): Likewise.
26954 (R_MN10300_TLS_LDO): Likewise.
26955 (R_MN10300_TLS_GOTIE): Likewise.
26956 (R_MN10300_TLS_IE): Likewise.
26957 (R_MN10300_TLS_LE): Likewise.
26958 (R_MN10300_TLS_DTPMOD): Likewise.
26959 (R_MN10300_TLS_DTPOFF): Likewise.
26960 (R_MN10300_TLS_TPOFF): Likewise.
26961 (R_MN10300_SYM_DIFF): Likewise.
26962 (R_MN10300_ALIGN): Likewise.
26963 (R_MN10300_NUM): Update.
26965 2012-08-08 Joseph Myers <joseph@codesourcery.com>
26967 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
26970 2012-08-08 Roland McGrath <roland@hack.frob.com>
26972 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
26974 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
26975 sysdeps/unix -> sysdeps/posix move.
26976 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
26978 2012-08-07 Allan McRae <allan@archlinux.org>
26981 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
26982 (SUNOS_CPP): Likewise.
26983 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
26985 (open_input): Call CPP using execvp.
26987 2012-08-07 Joseph Myers <joseph@codesourcery.com>
26989 * sysdeps/unix/sysv/linux/kernel-features.h
26990 (__ASSUME_PROT_GROWSUPDOWN): Remove.
26991 (__ASSUME_NO_CLONE_DETACHED): Likewise.
26992 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
26993 (__ASSUME_WAITID_SYSCALL): Likewise.
26994 * sysdeps/unix/sysv/linux/dl-execstack.c
26995 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
26996 code unconditional.
26997 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
26999 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
27000 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
27001 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
27003 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
27005 [__ASSUME_WAITID_SYSCALL]: Likewise.
27006 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
27008 2012-08-07 Roland McGrath <roland@hack.frob.com>
27010 * sysdeps/unix/closedir.c: Renamed to ...
27011 * sysdeps/posix/closedir.c: ... here.
27012 * sysdeps/unix/dirfd.c: Renamed to ...
27013 * sysdeps/posix/dirfd.c: ... here.
27014 * sysdeps/unix/dirstream.h: Renamed to ...
27015 * sysdeps/posix/dirstream.h: ... here.
27016 * sysdeps/unix/fdopendir.c: Renamed to ...
27017 * sysdeps/posix/fdopendir.c: ... here.
27018 * sysdeps/unix/opendir.c: Renamed to ...
27019 * sysdeps/posix/opendir.c: ... here.
27020 * sysdeps/unix/readdir.c: Renamed to ...
27021 * sysdeps/posix/readdir.c: ... here.
27022 * sysdeps/unix/readdir_r.c: Renamed to ...
27023 * sysdeps/posix/readdir_r.c: ... here.
27024 * sysdeps/unix/rewinddir.c: Renamed to ...
27025 * sysdeps/posix/rewinddir.c: ... here.
27026 * sysdeps/unix/seekdir.c: Renamed to ...
27027 * sysdeps/posix/seekdir.c: ... here.
27028 * sysdeps/unix/telldir.c: Renamed to ...
27029 * sysdeps/posix/telldir.c: ... here.
27030 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
27031 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
27032 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
27033 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
27035 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
27036 * bits/fcntl.h: ... here.
27038 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
27040 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
27041 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
27042 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
27043 (struct flock): Move l_start, l_len to the beginning.
27044 Use __pid_t for l_pid.
27045 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
27046 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
27047 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
27048 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
27049 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
27050 [__USE_LARGEFILE64] (struct flock64): New type.
27051 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
27053 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
27054 * bits/dirent.h: ... here.
27056 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
27057 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
27059 2012-08-07 Joseph Myers <joseph@codesourcery.com>
27061 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27062 Change from 2.6.0 to 2.6.16.
27063 * sysdeps/unix/sysv/linux/configure: Regenerated.
27064 * sysdeps/unix/sysv/linux/kernel-features.h
27065 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
27066 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
27068 (__ASSUME_UTIMES): Likewise.
27069 (__ASSUME_CLONE_STOPPED): Remove.
27070 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
27071 architectures, not kernel version.
27072 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
27073 (__ASSUME_NO_CLONE_DETACHED): Likewise.
27074 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
27075 (__ASSUME_WAITID_SYSCALL): Likewise.
27076 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
27077 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
27078 * README: State 2.6.16 as minimum Linux kernel version. Do not
27079 refer to older versions.
27081 2012-08-06 Roland McGrath <roland@hack.frob.com>
27083 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
27084 Define alphasort64 as an alias.
27085 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
27086 Define versionsort64 as an alias.
27087 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
27088 Define scandir64 as an alias.
27089 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
27090 Define scandirat64 as an alias.
27091 * dirent/alphasort64.c (alphasort64):
27092 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
27093 * dirent/versionsort64.c: Likewise.
27094 * dirent/scandir64.c: Likewise.
27095 * dirent/scandirat64.c: Likewise.
27096 * sysdeps/wordsize-64/alphasort.c: File removed.
27097 * sysdeps/wordsize-64/alphasort64.c: File removed.
27098 * sysdeps/wordsize-64/scandir.c: File removed.
27099 * sysdeps/wordsize-64/scandir64.c: File removed.
27100 * sysdeps/wordsize-64/scandirat.c: File removed.
27101 * sysdeps/wordsize-64/scandirat64.c: File removed.
27102 * sysdeps/wordsize-64/versionsort.c: File removed.
27103 * sysdeps/wordsize-64/versionsort64.c: File removed.
27104 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
27105 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
27106 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
27107 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
27108 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
27109 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
27110 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
27111 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
27113 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
27114 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
27115 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
27116 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27117 [defined __arch64__ || defined __sparcv9]
27118 (__INO_T_MATCHES_INO64_T): New macro.
27119 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
27120 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
27121 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
27122 * sysdeps/unix/sysv/linux/bits/dirent.h
27123 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
27124 (_DIRENT_MATCHES_DIRENT64): New macro.
27126 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
27127 Define lockf64 as an alias.
27128 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
27129 Define fseeko64 as an alias.
27130 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
27131 Define ftello64 as an alias.
27132 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
27133 Define _IO_fgetpos64 and fgetpos64 as aliases.
27134 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
27135 Define _IO_fsetpos64 and fsetpos64 as aliases.
27136 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
27137 Conditionalize body on this.
27138 * libio/fseeko64.c: Likewise.
27139 * libio/ftello64.c: Likewise.
27140 * libio/iofgetpos64.c: Likewise.
27141 * libio/iofsetpos64.c: Likewise.
27142 * sysdeps/wordsize-64/lockf.c: File removed.
27143 * sysdeps/wordsize-64/lockf64.c: File removed.
27144 * sysdeps/wordsize-64/fseeko.c: File removed.
27145 * sysdeps/wordsize-64/fseeko64.c: File removed.
27146 * sysdeps/wordsize-64/ftello.c: File removed.
27147 * sysdeps/wordsize-64/ftello64.c: File removed.
27148 * sysdeps/wordsize-64/iofgetpos.c: File removed.
27149 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
27150 * sysdeps/wordsize-64/iofsetpos.c: File removed.
27151 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
27152 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
27153 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
27154 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
27155 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
27156 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
27157 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
27158 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
27159 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
27160 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
27161 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
27163 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
27164 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
27165 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
27166 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27167 [defined __arch64__ || defined __sparcv9]
27168 (__OFF_T_MATCHES_OFF64_T): New macro.
27169 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
27170 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
27171 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27172 (__OFF_T_MATCHES_OFF64_T): New macro.
27174 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
27176 * stdlib/secure-getenv.c (__secure_getenv): Replace
27177 GLIBC_2_16 with GLIBC_2_17.
27179 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
27181 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
27182 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
27184 2012-08-03 David S. Miller <davem@davemloft.net>
27186 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27188 2012-08-03 Joseph Myers <joseph@codesourcery.com>
27190 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
27192 (__ASSUME_CORRECT_SI_PID): Likewise.
27193 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
27194 (__ASSUME_TMPFS_NAME): Likewise.
27195 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
27196 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
27197 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
27198 (HAVE_AUX_SECURE): Make definition unconditional.
27199 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
27200 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
27202 2012-08-03 Roland McGrath <roland@hack.frob.com>
27204 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
27205 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
27206 * sysdeps/mach/hurd/eloop-threshold.h: New file.
27207 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
27208 __eloop_threshold instead of SYMLOOP_MAX.
27210 * sysdeps/generic/eloop-threshold.h: New file.
27211 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
27213 * elf/chroot_canon.c (chroot_canon): Likewise.
27215 2012-08-03 Joseph Myers <joseph@codesourcery.com>
27218 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27219 Change to 2.6.0 everywhere.
27220 * sysdeps/unix/sysv/linux/configure: Regenerated.
27221 * sysdeps/unix/sysv/linux/kernel-features.h
27222 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
27223 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
27225 (__ASSUME_POSIX_TIMERS): Define unconditionally.
27226 (__ASSUME_FUTEX_REQUEUE): Remove.
27227 (__ASSUME_STATFS64): Define unconditionally.
27228 (__ASSUME_AT_SECURE): Likewise.
27229 (__ASSUME_CORRECT_SI_PID): Likewise.
27230 (__ASSUME_TGKILL): Define without depending on kernel version for
27232 (__ASSUME_UTIMES): Likewise.
27233 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
27235 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
27236 (__ASSUME_TMPFS_NAME): Likewise.
27237 * README: Update reference to Linux kernel versions.
27239 2012-08-02 Marek Polacek <polacek@redhat.com>
27242 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
27243 libc_cv_asm_type_prefix with %.
27244 * configure: Regenerated.
27245 * include/libc-symbols.h: Remove comment about
27246 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
27247 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
27248 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
27249 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
27250 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
27251 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
27252 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
27253 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
27254 * elf/tst-unique2mod1.c: Likewise.
27255 * elf/tst-unique1mod2.c: Likewise.
27256 * elf/tst-unique1mod1.c: Likewise.
27257 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
27258 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
27259 Replace ASM_TYPE_DIRECTIVE with .type.
27260 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27261 * sysdeps/i386/sysdep.h: Likewise.
27262 * sysdeps/x86_64/sysdep.h: Likewise.
27263 * sysdeps/sh/sysdep.h: Likewise.
27264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
27265 Do not define ASM_TYPE_DIRECTIVE.
27266 * sysdeps/powerpc/sysdep.h: Likewise.
27267 * sysdeps/powerpc/powerpc32/sysdep.h:
27268 Replace ASM_TYPE_DIRECTIVE with .type.
27269 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
27270 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
27271 * sysdeps/i386/fpu/e_powf.S: Likewise.
27272 * sysdeps/i386/fpu/e_expl.S: Likewise.
27273 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27274 * sysdeps/i386/fpu/e_acosh.S: Likewise.
27275 * sysdeps/i386/fpu/e_pow.S: Likewise.
27276 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
27277 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27278 * sysdeps/i386/fpu/s_expm1.S: Likewise.
27279 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
27280 * sysdeps/i386/fpu/e_log2.S: Likewise.
27281 * sysdeps/i386/fpu/e_log2l.S: Likewise.
27282 * sysdeps/i386/fpu/e_scalb.S: Likewise.
27283 * sysdeps/i386/fpu/e_powl.S: Likewise.
27284 * sysdeps/i386/fpu/e_log10f.S: Likewise.
27285 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
27286 * sysdeps/i386/fpu/e_logl.S: Likewise.
27287 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
27288 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
27289 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
27290 * sysdeps/i386/fpu/e_log2f.S: Likewise.
27291 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27292 * sysdeps/i386/fpu/e_log.S: Likewise.
27293 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27294 * sysdeps/i386/fpu/e_logf.S: Likewise.
27295 * sysdeps/i386/fpu/e_log10l.S: Likewise.
27296 * sysdeps/i386/fpu/e_atanh.S: Likewise.
27297 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
27298 * sysdeps/i386/fpu/e_log10.S: Likewise.
27299 * sysdeps/i386/fpu/s_frexp.S: Likewise.
27300 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27301 * sysdeps/i386/fpu/s_asinh.S: Likewise.
27302 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
27303 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27304 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
27305 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
27306 * sysdeps/i386/i686/strtok.S: Likewise.
27307 * sysdeps/i386/i386-mcount.S: Likewise.
27308 * sysdeps/i386/strtok.S: Likewise.
27309 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
27310 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27311 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27312 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27313 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
27314 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27315 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
27316 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
27317 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27318 * sysdeps/x86_64/_mcount.S: Likewise.
27319 * sysdeps/x86_64/strtok.S: Likewise.
27320 * sysdeps/sh/_mcount.S: Likewise.
27322 2012-08-01 Roland McGrath <roland@hack.frob.com>
27324 * libio/iofopen.c: Include <fcntl.h>.
27325 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
27326 (_IO_fopen64, fopen64): Define as aliases.
27327 * libio/iofopen64.c: Include <fcntl.h>.
27328 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
27329 Conditionalize body on this.
27330 * sysdeps/wordsize-64/iofopen.c: File removed.
27331 * sysdeps/wordsize-64/iofopen64.c: File removed.
27333 2012-08-01 Marek Polacek <polacek@redhat.com>
27335 * libc/Makeconfig: Use elf in place of binfmt-subdir.
27336 Use dlfcn directly instead of a variable.
27337 (binfmt-subdir): Do not define.
27340 2012-08-01 Joseph Myers <joseph@codesourcery.com>
27342 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
27343 Remove all definitions.
27344 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
27345 <kernel-features.h>.
27346 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
27347 (miss_F_GETOWN_EX): Remove all definitions.
27348 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
27350 [!__ASSUME_FCNTL64]: Remove conditional code.
27351 [__ASSUME_FCNTL64]: Make code unconditional.
27352 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
27353 <kernel-features.h>.
27354 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
27355 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
27356 (lockf64) [__NR_fcntl64]: Make code unconditional.
27357 (lockf64) [__ASSUME_FCNTL64]: Likewise.
27359 * sysdeps/unix/sysv/linux/kernel-features.h
27360 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
27361 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
27362 Make code unconditional.
27363 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
27364 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
27365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
27366 [__NR_vfork]: Make code unconditional.
27367 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
27368 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
27369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
27370 [__NR_vfork]: Make code unconditional.
27371 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
27372 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
27374 2012-08-01 Roland McGrath <roland@hack.frob.com>
27376 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
27377 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
27379 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27380 Define mkstemp64 as an alias.
27381 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27382 Define mkstemps64 as an alias.
27383 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27384 Define mkostemp64 as an alias.
27385 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27386 Define mkostemps64 as an alias.
27387 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
27388 Conditionalize body on this.
27389 * misc/mkostemp64.c: Likewise.
27390 * misc/mkostemps64.c: Likewise.
27391 * misc/mkstemps64.c: Likewise.
27392 * sysdeps/wordsize-64/mkstemp64.c: File removed.
27393 * sysdeps/wordsize-64/mkostemp64.c: File removed.
27394 * sysdeps/wordsize-64/mkostemp.c: File removed.
27395 * sysdeps/wordsize-64/mkstemp.c: File removed.
27396 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
27397 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
27398 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
27399 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
27402 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
27403 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
27404 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
27405 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
27407 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
27408 compat_symbol macros from <shlib-compat.h> rather than the underlying
27409 default_symbol_version and symbol_version macros, so that DEFAULT
27410 lines in shlib-versions are respected.
27411 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
27413 2012-08-01 Florian Weimer <fweimer@redhat.com>
27415 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
27416 Declare with warn_unused_result.
27417 (setgid, setregid, setegid, setresgid): Likewise.
27418 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
27420 * WUR-REPORT: Remove set*id functions.
27422 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
27424 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
27426 2012-07-31 Roland McGrath <roland@hack.frob.com>
27429 * include/sys/socket.h (__libc_accept, __libc_accept4):
27430 Add attribute_hidden.
27431 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
27433 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
27435 * inet/getnetgrent_r.c (setup): Likewise.
27437 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
27439 2012-07-31 David S. Miller <davem@davemloft.net>
27441 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27443 2012-07-31 Joseph Myers <joseph@codesourcery.com>
27446 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
27447 value between 1.0 and 2.0 and smaller part has absolute value less
27449 * math/s_clog10.c (__clog10): Likewise.
27450 * math/s_clog10f.c (__clog10f): Likewise.
27451 * math/s_clog10l.c (__clog10l): Likewise.
27452 * math/s_clogf.c (__clogf): Likewise.
27453 * math/s_clogl.c (__clogl): Likewise.
27454 * math/libm-test.inc (clog_test): Add more tests.
27455 (clog10_test): Likewise.
27456 * sysdeps/i386/fpu/libm-test-ulps: Update.
27457 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27459 2012-07-31 Florian Weimer <fweimer@redhat.com>
27461 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
27462 Exit with zero in case no suitable GID is found, and write a
27463 message to standard error.
27465 2012-07-30 Roland McGrath <roland@hack.frob.com>
27467 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
27469 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
27470 (MAXPATHLEN): Removed.
27471 (NOGROUP, NODEV): New macros.
27472 (setbit, clrbit, isset, isclr): New macros.
27473 (howmany, roundup, powerof2): New macros.
27474 (DEV_BSIZE): New macro.
27476 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
27477 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
27479 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
27480 definition on [!__NO_LONG_DOUBLE_MATH].
27482 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
27483 PTR_MANGLE and PTR_DEMANGLE.
27485 * socket/accept4.c (accept4): Rename to __libc_accept4.
27486 Define accept4 as a weak alias.
27488 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
27489 on [_DIRENT_HAVE_D_TYPE].
27490 * io/ftw.c (ftw_dir): Likewise.
27492 * io/xmknod.c (__xmknod): Don't check PATH for being null.
27494 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
27496 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
27497 Use the BSD numbers rather than the arbitrary ones we had.
27498 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
27499 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
27500 (SIGXCPU, SIGXFSZ): New macros.
27503 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
27504 initializer on [_LIBC_REENTRANT].
27506 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
27507 definitions inside [_POSIX_MAPPED_FILES].
27509 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
27511 * dirent/opendir.c: Include <fcntl.h>.
27513 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
27514 (__libc_getspecific): Likewise.
27515 (__libc_key_create): Likewise.
27517 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
27518 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
27519 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
27520 (tmpfile64): Define as alias.
27521 * sysdeps/wordsize-64/tmpfile.c: File removed.
27522 * sysdeps/wordsize-64/tmpfile64.c: File removed.
27523 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
27524 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
27526 * stdio-common/vfscanf.c: Include <stdbool.h>.
27527 * nss/makedb.c: Likewise.
27528 * stdio-common/_i18n_number.h: Likewise.
27529 * argp/argp-help.c: Likewise.
27530 * posix/wordexp.c: Likewise.
27531 * sysdeps/posix/spawni.c: Likewise.
27532 * nss/nss_files/files-initgroups.c: Likewise.
27533 * stdio-common/reg-modifier.c: Include <stdlib.h>.
27534 * nss/nss_files/files-initgroups.c: Likewise.
27535 * nss/nss_db/db-netgrp.c: Likewise.
27536 * nss/nss_db/db-initgroups.c: Likewise.
27537 * io/fchmodat.c: Include <sys/stat.h>.
27539 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
27540 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
27542 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
27545 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
27546 Add multiple inclusion protection.
27548 2012-07-27 David S. Miller <davem@davemloft.net>
27550 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27552 2012-07-27 Gary Benson <gbenson@redhat.com>
27555 * elf/rtld.c: Include <stap-probe.h>.
27556 (dl_main): Added static probes "init_start" and "init_complete".
27557 * elf/dl-load.c: Include <stap-probe.h>.
27558 (lose): Take new parameter "nsid".
27559 Added static probe "map_failed".
27560 (_dl_map_object_from_fd): Pass namespace id to lose.
27561 Added static probe "map_start".
27562 (open_verify): Pass namespace id to lose.
27563 * elf/dl-open.c: Include <stap-probe.h>.
27564 (dl_open_worker) Added static probes "map_complete", "reloc_start"
27565 and "reloc_complete".
27566 * elf/dl-close.c: Include <stap-probe.h>.
27567 (_dl_close_worker): Added static probes "unmap_start" and
27569 * elf/rtld-debugger-interface.txt: New file documenting the above.
27571 2012-07-26 Roland McGrath <roland@hack.frob.com>
27573 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
27574 rather than a string variable.
27575 * sunrpc/rpc_main.c (h_output): Likewise.
27576 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
27578 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
27580 * inet/check_native.c: New file.
27582 2012-07-26 Joseph Myers <joseph@codesourcery.com>
27585 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
27586 if larger part has absolute value 1.0.
27587 * math/s_clog10.c (__clog10): Likewise.
27588 * math/s_clog10f.c (__clog10f): Likewise.
27589 * math/s_clog10l.c (__clog10l): Likewise.
27590 * math/s_clogf.c (__clogf): Likewise.
27591 * math/s_clogl.c (__clogl): Likewise.
27592 * math/libm-test.inc (clog_test): Add more tests.
27593 (clog10_test): Likewise.
27594 * sysdeps/i386/fpu/libm-test-ulps: Update.
27595 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27597 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
27598 (pltexit): Likewise.
27599 (La_regs): Likewise.
27600 (La_retval): Likewise.
27601 (int_retval): Likewise.
27602 Update #error for removed macros to refer only to definitions in
27604 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
27606 (pltexit): Likewise.
27607 (La_regs): Likewise.
27608 (La_retval): Likewise.
27609 (int_retval): Likewise.
27610 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
27612 (pltexit): Likewise.
27613 (La_regs): Likewise.
27614 (La_retval): Likewise.
27615 (int_retval): Likewise.
27616 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
27618 (pltexit): Likewise.
27619 (La_regs): Likewise.
27620 (La_retval): Likewise.
27621 (int_retval): Likewise.
27622 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
27624 (pltexit): Likewise.
27625 (La_regs): Likewise.
27626 (La_retval): Likewise.
27627 (int_retval): Likewise.
27628 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
27630 (pltexit): Likewise.
27631 (La_regs): Likewise.
27632 (La_retval): Likewise.
27633 (int_retval): Likewise.
27634 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
27636 (pltexit): Likewise.
27637 (La_regs): Likewise.
27638 (La_retval): Likewise.
27639 (int_retval): Likewise.
27640 * sysdeps/generic/tst-audit.h: Update comment to refer only to
27641 macro definitions in tst-audit.h.
27642 * sysdeps/i386/tst-audit.h: New file.
27643 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
27644 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
27645 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
27646 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
27647 * sysdeps/sh/tst-audit.h: Likewise.
27648 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
27649 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
27650 * sysdeps/x86_64/tst-audit.h: Likewise.
27652 2012-07-26 Andreas Jaeger <aj@suse.de>
27654 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
27657 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
27658 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
27659 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
27661 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
27662 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
27663 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
27665 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
27668 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
27670 (si_call_addr, si_syscall, si_arch): Define new macro.
27671 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
27673 (si_call_addr, si_syscall, si_arch): Define new marcro.
27674 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
27676 (si_call_addr, si_syscall, si_arch): Define new macro.
27677 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
27679 (si_call_addr, si_syscall, si_arch): Define new macro.
27681 2012-07-25 Joseph Myers <joseph@codesourcery.com>
27684 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27685 Change to 2.4.21 where previously 2.4.1.
27686 * sysdeps/unix/sysv/linux/configure: Regenerated.
27687 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
27688 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
27689 Linux kernel version.
27690 (__ASSUME_STD_AUXV): Remove.
27691 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
27693 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
27694 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
27695 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
27696 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
27697 (__ASSUME_NETLINK_SUPPORT): Likewise.
27698 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
27699 (__no_netlink_support): Remove conditional definition.
27700 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
27702 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
27703 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
27704 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
27705 (if_nameindex_ioctl): Remove.
27706 (if_nameindex_netlink): Do not handle __no_netlink_support.
27707 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
27709 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
27710 Remove conditional code.
27711 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
27713 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
27715 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
27716 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
27717 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
27719 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
27720 [!__ASSUME_STD_AUXV]: Remove conditional code.
27721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
27722 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
27723 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
27724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
27725 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
27726 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
27728 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
27729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27730 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
27731 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
27733 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
27734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
27735 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
27737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27738 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
27740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
27741 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27742 code unconditional.
27743 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27745 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27747 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27750 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27752 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
27755 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27756 code unconditional.
27757 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27759 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27761 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
27764 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27765 code unconditional.
27766 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27768 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27770 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27773 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
27775 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
27776 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
27777 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
27778 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
27779 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
27780 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
27781 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
27782 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
27783 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
27784 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
27785 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
27786 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
27787 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
27788 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
27789 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
27790 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
27791 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
27792 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
27793 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
27794 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
27795 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
27796 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
27797 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
27799 2012-07-25 Florian Weimer <fweimer@redhat.com>
27801 * Versions.def: Add GLIBC_2.17.
27802 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
27803 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
27804 Introduce __libc_secure_getenv.
27805 * stdlib/Versions (2.17): Add secure_getenv
27806 (GLIBC_PRIVATE): Add __libc_secure_getenv.
27807 * stdlib/secure-getenv.c: Rename __secure_getenv to
27808 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
27809 symbol __secure_getenv for GLIBC_2.0.
27810 * stdlib/tst-secure-getenv.c: New.
27811 * stdlib/Makefile (tests): Add testcase.
27812 * manual/startup.texi (Environment Access): Document
27814 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
27815 __libc_secure_getenv.
27816 * inet/ruserpass.c (ruserpass): Likewise.
27817 * malloc/mtrace.c (mtrace): Likewise.
27818 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
27819 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
27820 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
27821 * sysdeps/posix/tempname.c: Likewise. Evaluate
27822 HAVE_SECURE_GETENV.
27823 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
27824 __secure_getenv to __libc_secure_getenv.
27825 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
27826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27830 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
27831 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
27832 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27833 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
27834 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
27835 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27836 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
27838 2012-07-25 Joseph Myers <joseph@codesourcery.com>
27840 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
27841 (struct La_i86_retval): Likewise.
27842 (struct La_x86_64_regs): Likewise.
27843 (struct La_x86_64_retval): Likewise.
27844 (struct La_x32_regs): Likewise.
27845 (struct La_x32_retval): Likewise.
27846 (struct La_ppc32_regs): Likewise.
27847 (struct La_ppc32_retval): Likewise.
27848 (struct La_ppc64_regs): Likewise.
27849 (struct La_ppc64_retval): Likewise.
27850 (struct La_sh_regs): Likewise.
27851 (struct La_sh_retval): Likewise.
27852 (struct La_s390_32_regs): Likewise.
27853 (struct La_s390_32_retval): Likewise.
27854 (struct La_s390_64_regs): Likewise.
27855 (struct La_s390_64_retval): Likewise.
27856 (struct La_sparc32_regs): Likewise.
27857 (struct La_sparc32_retval): Likewise.
27858 (struct La_sparc64_regs): Likewise.
27859 (struct La_sparc64_retval): Likewise.
27860 (struct audit_ifaces): Remove architecture-specific pltenter and
27862 * sysdeps/i386/ldsodefs.h: New file.
27863 * sysdeps/powerpc/ldsodefs.h: Likewise.
27864 * sysdeps/s390/ldsodefs.h: Likewise.
27865 * sysdeps/sh/ldsodefs.h: Likewise.
27866 * sysdeps/sparc/ldsodefs.h: Likewise.
27867 * sysdeps/x86_64/ldsodefs.h: Likewise.
27869 2012-07-25 Marek Polacek <polacek@redhat.com>
27872 * math/libm-test.inc (yn_test): Add another test.
27873 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
27874 to ERANGE when the result is +-Inf.
27875 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
27876 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
27877 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
27878 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
27880 2012-07-24 Joseph Myers <joseph@codesourcery.com>
27882 * conform/data/time.h-data (NULL): Use macro-constant. Require
27884 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
27886 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
27888 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
27890 * configure.in <sysdeps resolving>: Correct printing
27892 * configure: Regenerate.
27894 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
27896 * math/w_ilogb.c: Include <limits.h>.
27897 * math/w_ilogbl.c: Likewise.
27899 2012-07-20 Joseph Myers <joseph@codesourcery.com>
27901 * manual/lang.texi (__va_copy): Document primarily as ISO C99
27902 va_copy. Document allowing for unavailable va_copy only as
27903 pre-C99 compatibility.
27904 * manual/string.texi (Copying and Concatenation): Use va_copy
27905 instead of __va_copy in concat example.
27907 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
27909 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
27910 (__sendto): Use create_address_port. Initialize APORT and deallocate
27913 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
27914 with O_NOLINK passed to __file_name_lookup.
27916 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
27917 with O_NOLINK passed to __file_name_lookup.
27919 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
27920 negative N or less than NGIDS.
27922 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
27923 type to string_t. Set ERANGE as errno and return it if NAME is not big
27924 enough. Use memcpy instead of strncpy.
27926 2012-07-20 Joseph Myers <joseph@codesourcery.com>
27928 * elf/Makefile (check-data): Remove.
27929 (localplt.data): New vpath directive.
27930 ($(objpfx)check-localplt.out): Use localplt.data from vpath
27931 instead of $(check-data).
27932 * scripts/data/localplt-generic.data: Move to ...
27933 * sysdeps/generic/localplt.data: ... here.
27934 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
27935 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
27936 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
27937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
27939 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
27940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
27942 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
27943 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
27945 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
27946 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
27948 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
27949 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
27951 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
27952 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
27955 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27957 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
27958 PPC32 and PPC64 files.
27959 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
27960 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
27962 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27964 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
27965 __makecontext_ret to ...
27966 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
27967 ... here and call exit if uc_link is NULL. New file.
27968 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
27969 __makecontext_ret.S.
27970 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
27971 __makecontext_ret to ...
27972 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
27973 ... here and call exit if uc_link is NULL. New file.
27974 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
27975 __makecontext_ret.S.
27977 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27979 * elf/elf.h (R_390_IRELATIVE): New definition.
27980 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
27981 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
27982 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
27983 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
27984 (elf_machine_lazy_rel): Likewise.
27985 * sysdeps/s390/dl-irel.h: New file.
27986 * sysdeps/s390/s390-64/memcpy.S: New asm code.
27987 * sysdeps/s390/s390-64/memset.S: New asm code.
27988 * sysdeps/s390/s390-64/memcmp.S: New asm code.
27989 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
27990 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
27991 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
27992 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
27993 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
27994 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
27995 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
27996 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
27997 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
27998 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
27999 * sysdeps/s390/s390-32/memcpy.S: New asm code.
28000 * sysdeps/s390/s390-32/memset.S: New asm code.
28001 * sysdeps/s390/s390-32/memcmp.S: New asm code.
28003 2012-07-17 Marek Polacek <polacek@redhat.com>
28006 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
28007 * sysdeps/s390/s390-64/configure.in: Likewise.
28008 * sysdeps/sparc/configure.in: Likewise.
28009 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
28010 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
28011 * sysdeps/i386/configure.in: Likewise.
28012 * sysdeps/x86_64/configure.in: Likewise.
28013 * sysdeps/sh/configure.in: Likewise.
28014 * sysdeps/s390/s390-32/configure: Regenerated.
28015 * sysdeps/s390/s390-64/configure: Likewise.
28016 * sysdeps/x86_64/configure: Likewise.
28017 * sysdeps/sh/configure: Likewise.
28018 * sysdeps/powerpc/powerpc64/configure: Likewise.
28019 * sysdeps/powerpc/powerpc32/configure: Likewise.
28020 * sysdeps/sparc/configure: Likwise.
28021 * sysdeps/i386/configure: Likewise.
28023 * elf/dl-open.c: Comment fixes.
28025 2012-07-17 Joseph Myers <joseph@codesourcery.com>
28027 * Makefile [CXX] (check-data): Remove.
28028 [CXX] (c++-types.data): New vpath directive.
28029 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
28030 vpath. Do not allow for C++ type data being missing.
28031 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
28032 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
28033 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
28034 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
28035 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
28036 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
28037 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
28038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
28040 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
28041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
28043 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
28044 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
28046 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
28047 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
28049 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
28050 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
28052 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
28053 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
28055 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
28056 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
28058 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
28059 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
28061 * elf/tls-macros.h (TLS_LE): Move architecture-specific
28062 definitions to architecture-specific files.
28063 (TLS_IE): Likewise.
28064 (TLS_LD): Likewise.
28065 (TLS_GD): Likewise.
28066 * sysdeps/i386/tls-macros.h: New file.
28067 * sysdeps/powerpc/tls-macros.h: Likewise.
28068 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
28069 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
28070 * sysdeps/sh/tls-macros.h: Likewise.
28071 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
28072 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
28073 * sysdeps/x86_64/tls-macros.h: Likewise.
28075 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
28077 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
28078 zero value for regular exit case.
28080 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
28081 (__start_context): Preserve zero value for regular exit case.
28083 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
28084 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28086 * manual/setjmp.texi (setcontext): Clarify normal process
28087 termination when uc_link is the null pointer.
28088 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
28091 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
28093 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
28094 preprocessor. Test for each exception mask separately.
28096 2012-07-16 Andreas Jaeger <aj@suse.de>
28098 * po/ru.po: Update from translation team.
28100 2012-07-15 Joseph Myers <joseph@codesourcery.com>
28102 * conform/data/string.h-data (NULL): Use macro-constant. Require
28104 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
28105 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
28106 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
28107 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
28108 [ISO || ISO99 || ISO11] (*_t): Do not allow.
28110 2012-07-13 Andreas Jaeger <aj@suse.de>
28112 * po/fr.po: Update from translation team.
28114 2012-07-12 Marek Polacek <polacek@redhat.com>
28117 * math/libm-test.inc (yn_test): Add test for BZ #14173.
28118 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
28121 2012-07-12 Joseph Myers <joseph@codesourcery.com>
28124 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28125 Change to 2.4.1 where previously 2.4.0.
28126 * sysdeps/unix/sysv/linux/configure: Regenerated.
28127 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
28128 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
28130 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
28131 (__ASSUME_AT_CLKTCK): Remove.
28132 (__ASSUME_AT_PAGESIZE): Likewise.
28133 (__ASSUME_AT_XID): Likewise.
28134 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
28135 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
28136 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
28138 (HAVE_AUX_PAGESIZE): Likewise.
28139 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
28140 [__ASSUME_AT_CLKTCK]: Make code unconditional.
28141 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
28143 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
28146 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
28147 the temporary buffer used to invoke __gethostbyname2_r,
28148 __gethostbyaddr_r and gethostbyname4_r to make room for struct
28149 host_data / struct gaih_addrtuple.
28150 * resolv/nss_dns/dns-host.c (global scope): Move definition of
28151 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
28152 header file nss/nsswitch.h.
28153 * nss/nsswitch.h (global scope): Add definition of implementation
28154 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
28155 resolv/nss_dns/dns-host.c).
28157 2012-07-11 Andreas Jaeger <aj@suse.de>
28159 * po/fr.po: Update from translation team.
28161 * po/sv.po: Update from translation team
28162 * po/fr.po: Another update from translation team.
28164 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28166 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
28167 for subnormals or multiply small sinh result by itself.
28168 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
28169 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28171 2012-07-11 David S. Miller <davem@davemloft.net>
28173 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28175 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
28178 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
28179 (INTERNAL_MARK): Shift it here.
28181 2012-07-10 Marek Polacek <polacek@redhat.com>
28184 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
28185 libc_cv_asm_global_directive with .globl.
28186 * configure: Regenerated.
28187 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
28189 * sysdeps/i386/configure: Regenerated.
28190 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
28192 * sysdeps/x86_64/configure: Regenerated.
28193 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
28194 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
28195 * elf/tst-unique2mod2.c: Likewise.
28196 * elf/tst-unique2mod1.c: Likewise.
28197 * elf/tst-unique1mod2.c: Likewise.
28198 * elf/tst-unique1mod1.c: Likewise.
28199 * sysdeps/s390/s390-32/sysdep.h: Likewise.
28200 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
28201 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28202 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
28203 * sysdeps/mach/sysdep.h: Likewise.
28204 * sysdeps/i386/sysdep.h: Likewise.
28205 * sysdeps/i386/i386-mcount.S: Likewise.
28206 * sysdeps/x86_64/_mcount.S: Likewise.
28207 * sysdeps/x86_64/sysdep.h: Likewise.
28208 * sysdeps/sh/_mcount.S: Likewise.
28209 * sysdeps/sh/sysdep.h: Likewise.
28210 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
28211 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
28212 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
28213 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
28214 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
28215 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
28216 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
28217 * locale/localeinfo.h: Likewise.
28218 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
28219 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
28221 2012-07-09 Roland McGrath <roland@hack.frob.com>
28224 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
28226 * manual/message.texi (The Uniforum approach): Likewise.
28227 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
28228 (glibc iconv Implementation): Likewise.
28230 2012-07-09 Joseph Myers <joseph@codesourcery.com>
28233 * math/s_clog.c (__clog): Avoid scaling a value down where that
28234 could result in underflow.
28235 * math/s_clog10.c (__clog10): Likewise.
28236 * math/s_clog10f.c (__clog10f): Likewise.
28237 * math/s_clog10l.c (__clog10l): Likewise.
28238 * math/s_clogf.c (__clogf): Likewise.
28239 * math/s_clogl.c (__clogl): Likewise.
28240 * math/libm-test.inc (clog_test): Add more tests.
28241 (clog10_test): Likewise.
28242 * sysdeps/i386/fpu/libm-test-ulps: Update.
28243 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28245 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
28248 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
28249 by 7 not 8 to examine high bit of fractional part.
28252 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
28253 for call to __mcount_internal.
28254 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
28255 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
28256 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
28258 2012-07-06 Joseph Myers <joseph@codesourcery.com>
28261 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
28262 approximation for values within 0x1p-13f of an odd multiple of
28264 * math/libm-test.inc (tan_test): Do not allow spurious underflow
28265 exception. Add more tests.
28266 * sysdeps/i386/fpu/libm-test-ulps: Update.
28269 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
28270 inputs and return -1 for them. Do not check for +Inf in case not
28271 reachable for +Inf.
28272 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
28273 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
28274 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
28275 and return -1 for them. Do not check for +Inf in case not
28276 reachable for +Inf.
28277 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
28279 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
28280 and return -1 for them. Do not check for +Inf in case not
28281 reachable for +Inf.
28282 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
28283 spurious underflow.
28284 * sysdeps/i386/fpu/libm-test-ulps: Update.
28285 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28287 2012-07-06 Mike Frysinger <vapier@gentoo.org>
28289 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
28291 2012-07-05 Joseph Myers <joseph@codesourcery.com>
28295 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
28296 could result in spurious underflow. Scale down values above
28297 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
28298 * math/s_csqrtf.c (__csqrtf): Likewise.
28299 * math/s_csqrtl.c (__csqrtl): Likewise.
28300 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
28301 spurious underflow.
28302 * sysdeps/i386/fpu/libm-test-ulps: Update.
28303 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28305 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
28307 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
28309 * catgets/xopen-msg.awk: New file.
28310 * catgets/xopen-msg.sed: Removed.
28312 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
28314 * intl/po2test.awk: New file.
28315 * intl/po2test.sed: Removed.
28317 2012-07-04 Joseph Myers <joseph@codesourcery.com>
28320 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
28321 or multiply small sinh result by itself.
28322 * math/s_ctanf.c (__ctanf): Likewise.
28323 * math/s_ctanh.c (__ctanh): Likewise.
28324 * math/s_ctanhf.c (__ctanhf): Likewise.
28325 * math/s_ctanhl.c (__ctanhl): Likewise.
28326 * math/s_ctanl.c (__ctanl): Likewise.
28327 * math/libm-test.inc (ctan_test_tonearest): New function.
28328 (ctan_test_towardzero): Likewise.
28329 (ctan_test_downward): Likewise.
28330 (ctan_test_upward): Likewise.
28331 (ctanh_test_tonearest): Likewise.
28332 (ctanh_test_towardzero): Likewise.
28333 (ctanh_test_downward): Likewise.
28334 (ctanh_test_upward): Likewise.
28335 (main): Call these new functions.
28336 * sysdeps/i386/fpu/libm-test-ulps: Update.
28337 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28339 2012-07-03 Mike Frysinger <vapier@gentoo.org>
28341 * .gitignore: Delete /ports entry.
28343 2012-07-03 Andreas Jaeger <aj@suse.de>
28345 * po/bg.po: Update from translation team.
28346 * po/cs.po: Likewise.
28347 * po/de.po: Likewise.
28348 * po/hr.po: Likewise.
28349 * po/nl.pl: Likewise.
28350 * po/pl.po: Likewise.
28351 * po/vi.po: Likewise.
28353 2012-07-03 Joseph Myers <joseph@codesourcery.com>
28355 * Makeconfig [!+link] (+link-before-libc): New variable.
28356 [!+link] (+link-after-libc): Likewise.
28357 [!+link] (+link-tests): Likewise.
28358 [!+link] (+link): Define in terms of $(+link-before-libc) and
28359 $(+link-after-libc).
28360 [!+link-static] (+link-static-before-libc): New variable.
28361 [!+link-static] (+link-static-after-libc): Likewise.
28362 [!+link-static] (+link-static-tests): Likewise.
28363 [!+link-static] (+link-static): Define in terms of
28364 $(+link-static-before-libc) and $(+link-static-after-libc).
28365 [build-shared] (link-libc-before-gnulib): New variable.
28366 [build-shared] (link-libc-tests): Likewise.
28367 [build-shared] (link-libc): Define in terms of
28368 $(link-libc-before-gnulib).
28369 [!build-shared] (link-libc-tests): New variable.
28370 (link-libc-static-tests): New variable.
28371 [!gnulib] (gnulib-arch): New variable.
28372 [!gnulib] (gnulib-tests): Likewise.
28373 [!gnulib] (static-gnulib-arch): Likewise.
28374 [!gnulib] (static-gnulib-tests): Likewise.
28375 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
28376 Define with "=" instead of ":=".
28377 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
28378 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
28379 * Rules (binaries-all-notests): New variable.
28380 (binaries-all-tests): Likewise.
28381 (binaries-static-notests): Likewise.
28382 (binaries-static-tests): Likewise.
28383 (binaries-all): Define using $(binaries-all-notests) and
28384 $(binaries-all-tests).
28385 (binaries-static): Define using $(binaries-static-notests) and
28386 $(binaries-static-tests).
28387 (binaries-shared-tests): New variable.
28388 (binaries-shared-notests): Likewise.
28389 (binaries-shared): Remove variable.
28390 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
28391 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
28392 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
28393 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
28394 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
28395 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
28396 * elf/Makefile (sln-modules): New variable.
28397 (extra-objs): Add $(sln-modules:=.o).
28398 (ldconfig-modules): Add static-stubs.
28399 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
28400 * elf/static-stubs.c: New file.
28403 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
28404 by 7 not 8 to examine high bit of fractional part. Use volatile
28405 variables when splitting into final array of floats if
28406 __FLT_EVAL_METHOD__ != 0.
28407 * math/libm-test.inc (cos_test): Add another test.
28408 (sin_test): Likewise.
28409 * sysdeps/i386/fpu/libm-test-ulps: Update.
28412 * math/libm-test.inc (cosh_test): Add more tests.
28414 * version.h (RELEASE): Set to "development".
28415 (VERSION): Set to "2.16.90".
28417 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
28419 * NEWS: Update copyright. Remove last-updated date.
28420 Mention math library bug fixes and timezone data changes.
28421 * README: Mention GNU/Hurd, x32, and HPPA support status.
28423 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
28425 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
28427 2012-06-27 Andreas Jaeger <aj@suse.de>
28429 * manual/contrib.texi (Contributors): Add Samuel Thibault.
28431 2012-06-25 Andreas Jaeger <aj@suse.de>
28433 * sysdeps/s390/fpu/libm-test-ulps: Update.
28435 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
28436 Thomas Schwinge <thomas@codesourcery.com>
28438 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
28439 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
28440 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
28443 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
28445 * sysdeps/mach/start.c: Remove file.
28446 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
28447 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
28448 * sysdeps/sh/init-first.c: Likewise.
28450 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
28451 registers for frame unwinding purposes, add CFI directives.
28452 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
28453 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
28454 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
28457 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
28458 __fortify_fail returning.
28459 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
28461 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
28462 sysdeps/sh/____longjmp_chk.S.
28463 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
28464 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
28465 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
28466 (gen-as-const-headers): Append sigaltstack-offsets.sym.
28468 * sysdeps/sh/abort-instr.h: New file.
28469 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
28470 process in case exit returns.
28472 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
28473 initialize the GOT register before use.
28475 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
28476 calculation of ARGC > 4.
28478 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
28479 meaningful names to some local labels.
28481 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28482 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28484 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
28485 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
28486 (__arch_compare_and_exchange_val_16_acq): Likewise.
28487 (__arch_compare_and_exchange_val_32_acq): Likewise.
28488 (atomic_exchange_and_add): Fix gUSA sequence.
28489 (atomic_add): Likewise.
28490 (atomic_add_negative): Likewise.
28491 (atomic_add_zero): Likewise.
28492 (atomic_bit_test_set): Likewise.
28494 2012-06-22 Andreas Schwab <schwab@redhat.com>
28497 * include/link.h (struct link_map): Add l_free_initfini.
28498 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
28500 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
28501 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
28502 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
28505 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
28507 * configure.in: Use AC_LANG_SOURCE.
28508 * configure: Regenerate.
28510 2012-06-22 Roland McGrath <roland@hack.frob.com>
28512 * configure.in (libc_cv_localstatedir): New substituted variable.
28513 * configure: Regenerated.
28514 * config.make.in (localstatedir): New variable, substituted from
28515 libc_cv_localstatedir.
28516 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
28517 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
28518 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
28519 * sysdeps/gnu/configure: Regenerated.
28521 2012-06-21 Jeff Law <law@redhat.com>
28524 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
28525 free. Simplify list management for _LIBC case.
28527 2012-06-21 Joseph Myers <joseph@codesourcery.com>
28530 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
28531 Clear sign bit of 64-bit integer value before comparing against
28534 * sysdeps/mach/configure: Regenerated.
28536 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
28539 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
28541 2012-06-21 Jeff Law <law@redhat.com>
28544 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
28545 uint16_t for elements in the "seen" array to avoid char overflows.
28546 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28547 * elf/dl-open.c (dl_open_worker): Likewise.
28549 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
28551 * scripts/list-sources.sh: Scan PORTS for translations.
28552 * po/libc.pot: Regenerated.
28554 2012-06-21 Andreas Jaeger <aj@suse.de>
28557 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
28559 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
28560 * bits/byteswap-16.h (__bswap_16): Likewise.
28561 * bits/byteswap.h (__bswap_constant_16): Likewise.
28563 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
28566 * sysdeps/i386/fpu_control.h: Removed.
28567 * sysdeps/x86_64/fpu_control.h: Moved to ...
28568 * sysdeps/x86/fpu_control.h: Here.
28570 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
28571 (_FPU_SETCW): Likewise.
28573 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
28576 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
28577 * sysdeps/x86/fpu/bits/mathinline.h: This.
28578 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
28582 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
28583 functions if __x86_64__ is defined.
28585 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
28587 * string/endian.h: Add !__ASSEMBLER__ condition for including
28588 conversion interfaces.
28590 2012-06-15 Joseph Myers <joseph@codesourcery.com>
28593 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
28594 of ABS(x) in calculating zero to negative powers other than odd
28596 * math/libm-test.inc (pow_test): Add more tests.
28598 2012-06-15 Andreas Jaeger <aj@suse.de>
28600 * manual/contrib.texi (Contributors): Update entry of Liubov
28601 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
28604 2012-06-15 Cyril Hrubis <metan@ucw.cz>
28606 * string/string.h: Add __wur to GNU version of strerror_r.
28608 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
28611 * string/Makefile (tests): Add tst-strtok_r.
28612 * string/tst-strtok_r.c: New file.
28613 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
28614 RAX_LP/RDX_LP on SAVE_PTR.
28616 2012-06-14 Roland McGrath <roland@hack.frob.com>
28618 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
28620 2012-06-14 Joseph Myers <joseph@codesourcery.com>
28622 * libm_test.inc (csqrt_test): Allow more spurious underflow
28624 (j0_test): Likewise.
28625 (j1_test): Likewise.
28626 (y0_test): Likewise.
28627 (y1_test): Likewise.
28629 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
28631 * po/Makefile (libc.pot): Use UTF-8 charset.
28633 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
28636 Suppress sign-conversion warning from FD_SET.
28637 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
28638 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
28639 not unsigned long int.
28640 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
28642 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
28646 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
28647 __extern_always_inline instead of __extern_inline.
28648 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
28649 (__signbit): Likewise.
28650 (__signbitl): Support C++ namespace.
28651 (lrintf): New inline function.
28653 (llrintf): Likewise.
28654 (llrint): Likewise.
28664 (floorf): Likewise.
28665 (nearbyint): Likewise.
28666 (nearbyintf): Likewise.
28668 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
28670 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
28671 non-default versions.
28673 2012-06-11 Roland McGrath <roland@hack.frob.com>
28676 * manual/argp.texi (Argp): Reword argp_parse description slightly.
28678 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
28680 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
28681 (FE_UPWARD, FE_DOWNWARD): Don't define.
28682 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
28683 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
28685 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
28687 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
28688 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
28690 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28692 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
28693 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
28694 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
28695 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
28697 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
28700 * sysdeps/i386/fpu/bits/fenv.h: Removed.
28701 * sysdeps/i386/fpu/Implies: New file.
28702 * sysdeps/x86_64/fpu/Implies: Likewise.
28703 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
28704 * sysdeps/x86/fpu/bits/fenv.h: This.
28706 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
28709 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
28712 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
28713 character 0xffff that matches the last element of the
28716 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28718 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
28721 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28723 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
28724 values higher than 25.6283.
28726 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28728 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
28729 subnormal exponent extraction and add some __builtin_expect.
28730 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
28731 Fix for subnormal mantissa calculation.
28733 2012-06-04 Mike Frysinger <vapier@gentoo.org>
28735 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
28736 cpu2 is -1 and errno is not ENOSYS.
28738 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
28741 * sysdeps/i386/i486/bits/string.h: Renamed to ...
28742 * sysdeps/x86/bits/string.h: This.
28743 * sysdeps/x86_64/bits/string.h: Removed.
28745 * sysdeps/i386/i486/bits/string.h: Define inline functions only
28746 if not compiling for x86-64, but compiling for >= i486.
28748 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
28749 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
28751 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
28752 New macro from Linux kernel 3.4.0.
28753 (FP_XSTATE_MAGIC2): Likewise.
28754 (FP_XSTATE_MAGIC2_SIZE): Likewise.
28755 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
28756 (struct _fpx_sw_bytes): New struct.
28757 (struct _xsave_hdr): Likewise.
28758 (struct _ymmh_state): Likewise.
28759 (struct _xstate): Likewise.
28761 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
28762 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
28763 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
28764 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
28765 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
28766 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
28768 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
28769 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
28770 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
28771 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
28772 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
28773 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
28775 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28778 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
28779 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
28780 (sysdep_headers): Include sys/platform/ppc.h.
28781 * sysdeps/powerpc/test-gettimebase.c: Test for
28782 __ppc_get_timebase() to catch future ISA opcode/insn changes.
28783 * manual/Makefile (appendices): Include platform.texi.
28784 * manual/contrib.texi (Contributors): Update @node pointers.
28785 * manual/maint.texi (Maintenance): Likewise.
28786 (Platform): New node.
28787 * manual/platform.texi: New file. Document the new features.
28789 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
28790 Jakub Jelinek <jakub@redhat.com>
28793 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
28794 where __builtin_expect is unavailable.
28796 2012-06-03 David S. Miller <davem@davemloft.net>
28798 * stdlib/longlong.h: Updated from GCC.
28800 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
28803 * sysdeps/powerpc/powerpc32/mcount.c: New file.
28804 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
28806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
28807 (GLIBC_2.16): Likewise.
28809 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
28811 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
28813 2012-06-01 Joseph Myers <joseph@codesourcery.com>
28815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
28816 (default-abi): New variable.
28817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
28818 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
28820 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
28822 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
28824 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
28827 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
28828 definition. Document in comment.
28830 2012-06-01 David S. Miller <davem@davemloft.net>
28832 * stdlib/longlong.h: Updated from GCC.
28834 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
28837 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
28838 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
28839 sys/debugreg.h sys/io.h here.
28840 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
28841 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
28843 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
28844 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
28845 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
28846 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
28847 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
28848 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
28850 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
28851 Define only if __x86_64__ is defined.
28853 2012-06-01 Joseph Myers <joseph@codesourcery.com>
28856 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
28857 Use int64_t for variable i.
28858 * math/libm-test.inc (fmod_test): Add more tests.
28860 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
28861 z computation is not scheduled after fetestexcept.
28862 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
28863 Use math_force_eval instead of asm to ensure calculation scheduled
28864 before exception test.
28865 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
28866 Ensure a1 + u.d computation is not scheduled after fetestexcept.
28868 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
28870 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
28871 computation is not scheduled after fetestexcept.
28873 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
28876 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
28877 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
28879 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28881 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
28882 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
28884 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
28887 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
28889 (__WCHAR_MIN): Support __WORDSIZE == 64.
28890 (__WCHAR_MAX): Likewise.
28892 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
28893 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
28896 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
28897 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
28900 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
28901 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
28903 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
28904 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
28906 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
28907 Defined to 1 if __x86_64__ isn't defined.
28908 (_STAT_VER_LINUX_OLD): New.
28909 (st_atime): Remove duplicate.
28910 (st_mtime): Likewise.
28911 (st_ctime): Likewise.
28913 2012-05-31 David S. Miller <davem@davemloft.net>
28915 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
28918 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
28920 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
28924 * elf/dl-reloc.c: Include <_itoa.h>.
28925 (_dl_reloc_bad_type): Remove use of INTUSE.
28926 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
28927 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
28928 * stdio-common/psiginfo.c (psiginfo): Likewise.
28929 * stdio-common/psignal.c (psignal): Likewise.
28930 * string/strsignal.c (strsignal): Likewise.
28931 * include/signal.h (_sys_siglist): Declare hidden proto.
28932 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
28933 INTVARDEF with libc_hidden_data_def.
28934 * stdio-common/itoa-udigits.c: Likewise.
28935 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
28936 (_itoa_lower_digits_internal): Remove declaration.
28937 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
28938 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
28939 (_sys_sigabbrev_internal): Remove aliases.
28940 (_sys_siglist): Define hidden alias.
28942 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
28944 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28947 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
28950 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
28951 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
28953 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
28954 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
28955 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
28956 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
28957 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
28958 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
28960 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
28961 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
28962 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
28964 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
28972 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
28973 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
28974 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
28976 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
28977 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
28978 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
28979 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
28980 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
28981 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
28983 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
28984 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
28986 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
28987 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
28989 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
28990 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
28991 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
28993 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
28994 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
28996 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
28998 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
28999 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
29000 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
29002 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
29004 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
29006 2012-05-31 Joseph Myers <joseph@codesourcery.com>
29008 * math/math.h (M_El): Use two more decimal places.
29009 (M_LOG2El): Likewise.
29010 (M_LOG10El): Likewise.
29011 (M_LN2l): Likewise.
29012 (M_LN10l): Likewise.
29014 (M_PI_2l): Likewise.
29015 (M_PI_4l): Likewise.
29016 (M_1_PIl): Likewise.
29017 (M_2_PIl): Likewise.
29018 (M_2_SQRTPIl): Likewise.
29019 (M_SQRT2l): Likewise.
29020 (M_SQRT1_2l): Likewise.
29022 2012-05-31 David S. Miller <davem@davemloft.net>
29024 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
29025 values between float registers.
29026 * sysdeps/sparc/sparc64/memset.S: Likewise.
29027 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
29029 2012-05-31 Mike Frysinger <vapier@gentoo.org>
29031 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
29032 -D_FORTIFY_SOURCE=1.
29033 (CPPFLAGS-tst-longjmp_chk.c): Define.
29034 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
29035 (CPPFLAGS-tst-longjmp_chk2.c): Define.
29036 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
29037 CFLAGS-tst-wchar-h.c.
29039 2012-05-31 Marek Polacek <polacek@redhat.com>
29042 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
29043 __endmntent_internal): Remove declaration.
29044 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
29045 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
29046 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
29048 2012-05-30 David S. Miller <davem@davemloft.net>
29050 * sysdeps/sparc/sparc32/soft-fp/q_util.c
29051 (___Q_simulate_exceptions): Use real FP ops rather than writing
29053 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
29056 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
29059 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
29060 * sysdeps/x86/bits/xtitypes.h: This.
29062 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
29063 * sysdeps/x86/bits/wordsize.h: This.
29065 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
29066 * sysdeps/x86/bits/huge_vall.h: This.
29068 * sysdeps/i386/bits/select.h: Removed.
29069 * sysdeps/x86_64/bits/select.h: Renamed to ...
29070 * sysdeps/x86/bits/select.h: This.
29072 * sysdeps/i386/bits/setjmp.h: Removed.
29073 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
29074 * sysdeps/x86/bits/setjmp.h: This.
29076 * sysdeps/i386/bits/mathdef.h: Removed.
29077 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
29078 * sysdeps/x86/bits/mathdef.h: This.
29080 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
29083 * include/sys/socket.h (__connect_internal)
29084 (__libc_sa_len_internal): Remove declaration.
29085 (__connect, __libc_sa_len): Declare hidden_proto.
29086 (SA_LEN): Remove use of INTUSE.
29087 * socket/connect.c: Add libc_hidden_def.
29088 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
29089 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
29090 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
29092 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
29093 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
29094 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
29095 of adding _internal alias.
29097 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
29100 * sysdeps/i386/bits/link.h: Removed.
29101 * sysdeps/i386/bits/linkmap.h: Likewise.
29102 * sysdeps/x86_64/bits/link.h: Renamed to ...
29103 * sysdeps/x86/bits/link.h: This.
29104 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
29105 * sysdeps/x86/bits/linkmap.h: This.
29107 * sysdeps/i386/bits/endian.h: Removed.
29108 * sysdeps/x86_64/bits/endian.h: Renamed to ...
29109 * sysdeps/x86/bits/endian.h: This.
29111 * sysdeps/i386/bits/byteswap.h: Removed.
29112 * sysdeps/i386/bits/byteswap-16.h: Likewise.
29113 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
29114 * sysdeps/x86/bits/byteswap.h: This.
29115 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
29116 * sysdeps/x86/bits/byteswap-16.h: This.
29117 * sysdeps/i386/Implies: Add x86.
29118 * sysdeps/x86_64/Implies: Likewise.
29120 2012-05-30 David S. Miller <davem@davemloft.net>
29122 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
29123 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
29124 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
29125 (FP_TRAPPING_EXCEPTIONS): Define.
29126 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
29127 (FP_TRAPPING_EXCEPTIONS): Define.
29128 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
29129 subnormals only when inexact has been signalled or underflow
29130 exceptions are enabled.
29131 (_FP_PACK_CANONICAL): Likewise.
29133 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
29136 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
29137 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
29139 2012-05-30 Richard Henderson <rth@twiddle.net>
29141 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
29142 with #ifndef NOT_IN_libc.
29144 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
29145 marked to avoid plt entry.
29147 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
29150 * Makeconfig (default-abi): New macro.
29151 (abi-includes): Likewise.
29152 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
29153 $(abi-$(default-abi)-lib-soname) for soname if defined.
29154 ($(common-objpfx)gnu/lib-names.stmp): Generate from
29156 * Makefile (installed-stubs): Likewise.
29157 * include/stubs-biarch.h: Removed.
29158 * scripts/lib-names.awk: Only handle one library at a time.
29159 * scripts/soversions.awk: Remove WORDSIZE support.
29160 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
29162 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
29164 (syscall-list-default-condition): Likewise.
29165 (syscall-list-default-condition): Likewise.
29166 (syscall-list-includes): Likewise.
29167 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
29168 syscall-list-* with abi-*. Handle undefined abi-variants.
29169 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
29170 * sysdeps/unix/sysv/linux/i386/Implies: New file.
29171 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
29172 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
29173 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
29174 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
29176 (syscall-list-32-options): Likewise.
29177 (syscall-list-32-condition): Likewise.
29178 (syscall-list-64-options): Likewise.
29179 (syscall-list-64-condition): Likewise.
29180 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
29182 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
29185 (abi-64-ld-soname): New macro.
29186 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
29187 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
29190 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
29191 * sysdeps/x86_64/x32/shlib-versions: Likewise.
29193 2012-05-30 Joseph Myers <joseph@codesourcery.com>
29195 * sysdeps/unix/sysv/linux/kernel-features.h
29196 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
29197 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
29198 include <kernel-features.h>.
29199 [!__NR_ftruncate64]: Remove conditional code.
29200 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29201 [__NR_ftruncate64]: Make code unconditional.
29202 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29203 * sysdeps/unix/sysv/linux/truncate64.c: Do not
29204 include <kernel-features.h>.
29205 [!__NR_ftruncate64]: Remove conditional code.
29206 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29207 [__NR_ftruncate64]: Make code unconditional.
29208 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
29210 include <kernel-features.h>.
29211 [!__NR_ftruncate64]: Remove conditional code.
29212 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29213 [__NR_ftruncate64]: Make code unconditional.
29214 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
29216 include <kernel-features.h>.
29217 [!__NR_ftruncate64]: Remove conditional code.
29218 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29219 [__NR_ftruncate64]: Make code unconditional.
29220 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29222 * configure.in (libc_cv_fpie): Weaken to a compile test using
29223 LIBC_TRY_CC_OPTION.
29224 * configure: Regenerated.
29226 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29228 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
29229 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
29230 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
29231 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
29233 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
29234 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
29235 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
29236 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
29237 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
29238 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
29241 2012-05-27 David S. Miller <davem@davemloft.net>
29243 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
29245 (__Q_simulate_exceptions): Return void. Change to simulate
29246 exceptions by writing into the %fsr.
29247 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
29248 (__Qp_handle_exceptions): Likewise.
29250 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
29251 __Qp_handle_exceptions.
29252 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
29253 __Qp_handle_exceptions.
29254 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
29255 as unused and give dummy FP_RND_NEAREST initializer.
29256 (FP_INHIBIT_RESULTS): Define.
29257 (___Q_simulate_exceptions): Update declaration.
29258 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
29260 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
29261 as unused and give dummy FP_RND_NEAREST initializer.
29262 (__Qp_handle_exceptions): Update declaration.
29263 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
29266 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
29268 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
29269 the temporary FPU control word.
29270 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
29271 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
29272 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
29273 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
29274 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
29275 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
29276 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
29277 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
29278 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
29279 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
29280 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
29282 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29284 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
29287 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
29289 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
29290 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
29291 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
29292 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
29294 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
29295 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
29298 2012-05-27 Ulrich Drepper <drepper@gmail.com>
29300 * po/h.po: Update from translation team.
29302 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
29304 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
29306 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
29307 handling of denormals.
29308 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
29309 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
29310 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
29311 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
29312 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29313 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
29314 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
29317 2012-05-26 Marek Polacek <polacek@redhat.com>
29320 * math/libm-test.inc (fma_test): Don't always expect underflow
29323 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29326 * elf/tst-execstack.c: Include stackinfo.h.
29327 (do_test): Adjust test case to ensure that pthread_getattr_np
29328 behaviour remains the same after marking stack executable.
29330 2012-05-25 Joseph Myers <joseph@codesourcery.com>
29332 * sysdeps/unix/sysv/linux/kernel-features.h
29333 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
29334 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
29336 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
29337 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
29338 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
29340 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
29341 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
29343 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
29345 * configure.in: Define the default includes to being none.
29346 * configure: Regenerated.
29348 2012-05-25 Roland McGrath <roland@hack.frob.com>
29350 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
29351 * sysdeps/x86_64/setjmp.S: Likewise.
29352 * sysdeps/i386/bsd-setjmp.S: Likewise.
29353 * sysdeps/i386/bsd-_setjmp.S: Likewise.
29354 * sysdeps/i386/setjmp.S: Likewise.
29355 * sysdeps/i386/__longjmp.S: Likewise.
29356 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
29357 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
29359 * include/stap-probe.h: New file.
29360 * configure.in: Handle --enable-systemtap.
29361 * configure: Regenerated.
29362 * config.h.in (USE_STAP_PROBE): New #undef.
29363 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
29364 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
29365 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
29367 2012-05-25 Joseph Myers <joseph@codesourcery.com>
29370 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
29371 to 2.4.0 where earlier.
29372 * sysdeps/unix/sysv/linux/configure: Regenerated.
29373 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
29374 <kernel-features.h>.
29375 [__ASSUME_32BITUIDS]: Make code unconditional.
29376 [!__ASSUME_32BITUIDS]: Remove conditional code.
29377 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
29378 <kernel-features.h>.
29379 [__ASSUME_32BITUIDS]: Make code unconditional.
29380 [!__ASSUME_32BITUIDS]: Remove conditional code.
29381 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
29382 [__ASSUME_32BITUIDS]: Make code unconditional.
29383 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
29384 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
29385 <kernel-features.h>.
29386 [__ASSUME_32BITUIDS]: Make code unconditional.
29387 [!__ASSUME_32BITUIDS]: Remove conditional code.
29388 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
29389 <kernel-features.h>.
29390 [__ASSUME_32BITUIDS]: Make code unconditional.
29391 [!__ASSUME_32BITUIDS]: Remove conditional code.
29392 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
29393 <kernel-features.h>.
29394 [__ASSUME_32BITUIDS]: Make code unconditional.
29395 [!__ASSUME_32BITUIDS]: Remove conditional code.
29396 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
29397 <kernel-features.h>.
29398 [__ASSUME_32BITUIDS]: Make code unconditional.
29399 [!__ASSUME_32BITUIDS]: Remove conditional code.
29400 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
29401 <kernel-features.h>.
29402 [__ASSUME_32BITUIDS]: Make code unconditional.
29403 [!__ASSUME_32BITUIDS]: Remove conditional code.
29404 * sysdeps/unix/sysv/linux/i386/getresuid.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/getuid.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/lchown.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/msgctl.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/semctl.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/setegid.c: Do not include
29425 <kernel-features.h>.
29426 [__NR_setresgid] (__setresgid): Do not declare.
29427 [__ASSUME_32BITUIDS]: Make code unconditional.
29428 [!__ASSUME_32BITUIDS]: Remove conditional code.
29429 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
29430 <kernel-features.h>.
29431 [__NR_setresuid] (__setresuid): Do not declare.
29432 [__ASSUME_32BITUIDS]: Make code unconditional.
29433 [!__ASSUME_32BITUIDS]: Remove conditional code.
29434 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
29435 <kernel-features.h>.
29436 [__ASSUME_32BITUIDS]: Make code unconditional.
29437 [!__ASSUME_32BITUIDS]: Remove conditional code.
29438 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
29439 <kernel-features.h>.
29440 [__ASSUME_32BITUIDS]: Make code unconditional.
29441 [!__ASSUME_32BITUIDS]: Remove conditional code.
29442 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
29443 <kernel-features.h>.
29444 [__ASSUME_32BITUIDS]: Make code unconditional.
29445 [!__ASSUME_32BITUIDS]: Remove conditional code.
29446 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
29447 <kernel-features.h>.
29448 [__ASSUME_32BITUIDS]: Make code unconditional.
29449 [!__ASSUME_32BITUIDS]: Remove conditional code.
29450 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
29451 <kernel-features.h>.
29452 [__ASSUME_32BITUIDS]: Make code unconditional.
29453 [!__ASSUME_32BITUIDS]: Remove conditional code.
29454 * sysdeps/unix/sysv/linux/i386/setresgid.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/setresuid.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/setreuid.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/setuid.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/shmctl.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/kernel-features.h
29475 (__ASSUME_SETRESUID_SYSCALL): Remove.
29476 (__ASSUME_SETRESGID_SYSCALL): Likewise.
29477 (__ASSUME_32BITUIDS): Likewise.
29478 (__ASSUME_LDT_WORKS): Likewise.
29479 (__ASSUME_O_DIRECTORY): Likewise.
29480 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
29481 architecture but not kernel version.
29482 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
29483 (__ASSUME_MMAP2_SYSCALL): Likewise.
29484 (__ASSUME_STAT64_SYSCALL): Likewise.
29485 (__ASSUME_IPC64): Likewise.
29486 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
29487 <kernel-features.h>.
29488 [__ASSUME_32BITUIDS]: Make code unconditional.
29489 [!__ASSUME_32BITUIDS]: Remove conditional code.
29490 * sysdeps/unix/sysv/linux/opendir.c: Do not include
29491 <kernel-features.h>.
29492 [__ASSUME_O_DIRECTORY]: Make code unconditional.
29493 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
29494 132096]: Remove conditional code.
29495 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
29496 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
29497 <kernel-features.h>.
29498 [__ASSUME_32BITUIDS]: Make code unconditional.
29499 [!__ASSUME_32BITUIDS]: Remove conditional code.
29500 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
29501 <kernel-features.h>.
29502 [__ASSUME_32BITUIDS]: Make code unconditional.
29503 [!__ASSUME_32BITUIDS]: Remove conditional code.
29504 * sysdeps/unix/sysv/linux/setegid.c: Do not include
29505 <kernel-features.h>.
29506 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
29508 (__setresgid): Do not declare.
29509 [__ASSUME_32BITUIDS]: Make code unconditional.
29510 [!__ASSUME_32BITUIDS]: Remove conditional code.
29511 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
29512 <kernel-features.h>.
29513 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
29515 (__setresuid): Do not declare.
29516 [__ASSUME_32BITUIDS]: Make code unconditional.
29517 [!__ASSUME_32BITUIDS]: Remove conditional code.
29518 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
29519 <kernel-features.h>.
29520 [__ASSUME_32BITUIDS]: Make code unconditional.
29521 [!__ASSUME_32BITUIDS]: Remove conditional code.
29522 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
29523 <kernel-features.h>.
29524 [__ASSUME_32BITUIDS]: Make code unconditional.
29525 [!__ASSUME_32BITUIDS]: Remove conditional code.
29527 2012-05-25 Richard Henderson <rth@twiddle.net>
29529 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
29530 dl_hwcap to ifunc resolver.
29531 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
29533 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
29534 dl_hwcap to ifunc resolver.
29535 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
29537 2012-05-24 Joseph Myers <joseph@codesourcery.com>
29540 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
29541 for |x| <= 2**-26, not 2**-57.
29542 * math/libm-test.inc (acos_test): Do not allow spurious underflow
29545 2012-05-24 Jeff Law <law@redhat.com>
29547 * stdio-common/Makefile (tests): Add bug25.
29548 * stdio-common/bug25.c: New test.
29550 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
29553 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
29554 multiple of MALLOC_ALIGNMENT in size.
29555 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
29557 2012-05-24 Joseph Myers <joseph@codesourcery.com>
29559 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
29561 (FILENAME_MAX): Use macro-int-constant.
29562 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
29563 (_IOFBF): Use macro-int-constant.
29564 (_IOLBF): Likewise.
29565 (_IONBF): Likewise.
29566 (SEEK_CUR): Likewise.
29567 (SEEK_END): Likewise.
29568 (SEEK_SET): Likewise.
29569 (TMP_MAX): Likewise.
29570 (EOF): Use macro-int-constant. Require < 0.
29571 (NULL): Use macro-constant. Require == 0.
29572 (stdin): Require type to be FILE *.
29573 (stdout): Likewise.
29574 (stderr): Likewise.
29575 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
29576 macro-int-constant.
29577 (EXIT_SUCCESS): Likewise.
29578 (NULL): Use macro-constant. Require == 0.
29579 (RAND_MAX): Use macro-int-constant.
29580 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
29581 [C99-based standards] (strtof): Require function.
29582 [C99-based standards] (strtold): Likewise.
29583 [C99-based standards] (strtoll): Likewise.
29584 [C99-based standards] (strtoull): Likewise.
29585 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
29586 [ISO || ISO99 || ISO11] (limits.h): Likewise.
29587 [ISO || ISO99 || ISO11] (math.h): Likewise.
29588 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
29589 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
29590 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29592 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
29595 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
29596 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
29597 * intl/dgettext.c (DCGETTEXT): Likewise.
29598 * intl/gettext.c (DCGETTEXT): Likewise.
29599 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
29600 * posix/regex_internal.h (gettext): Likewise.
29601 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
29602 Remove declaration.
29603 * include/argz.h (__argz_count_internal)
29604 (__argz_stringify_internal): Remove declaration.
29605 (__argz_count, __argz_stringify): Declare hidden proto.
29606 * intl/dcgettext.c: Remove use of INTDEF.
29607 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
29608 * string/argz-stringify.c: Likewise.
29609 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
29610 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
29611 Declare hidden proto.
29612 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
29613 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
29614 Declare hidden proto.
29615 * include/stdio.h (__asprintf_internal): Don't declare.
29616 (__asprintf): Don't define as macro. Declare hidden proto.
29617 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
29618 (__fsetlocking): Declare hidden proto.
29619 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
29620 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
29622 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
29623 (_IO_setlinebuf): Remove use of INTUSE.
29624 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
29625 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
29626 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
29627 Remove declaration.
29628 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
29629 (_IO_do_flush): Remove use of INTUSE.
29630 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
29631 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
29632 (_IO_adjust_column, _IO_least_wmarker)
29633 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
29634 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
29635 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
29636 (_IO_default_doallocate, _IO_wdefault_doallocate)
29637 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
29638 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
29639 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
29640 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
29641 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
29642 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
29643 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
29644 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
29645 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
29646 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
29647 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
29648 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
29649 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
29651 (_IO_flush_all_internal, _IO_adjust_column_internal)
29652 (_IO_default_uflow_internal, _IO_default_finish_internal)
29653 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
29654 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
29655 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
29656 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
29657 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
29658 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
29659 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
29660 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
29661 (_IO_file_close_internal, _IO_file_close_it_internal)
29662 (_IO_file_underflow_internal, _IO_file_overflow_internal)
29663 (_IO_file_init_internal, _IO_file_attach_internal)
29664 (_IO_file_fopen_internal, _IO_file_read_internal)
29665 (_IO_file_sync_internal, _IO_file_seek_internal)
29666 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
29667 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
29668 (_IO_str_underflow_internal, _IO_str_overflow_internal)
29669 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
29670 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
29671 (_IO_list_all_internal, _IO_link_in_internal)
29672 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
29673 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
29674 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
29675 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
29676 (_IO_do_write_internal, _IO_padn_internal)
29677 (_IO_getline_info_internal, _IO_getline_internal)
29678 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
29679 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
29680 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
29681 (_IO_vfscanf_internal, _IO_vfprintf_internal)
29682 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
29683 (_IO_init_internal, _IO_un_link_internal): Don't declare.
29684 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
29685 with libc_hidden_ver, remove use of INTUSE.
29686 * libio/genops.c: Likewise.
29687 * libio/freopen.c: Likewise.
29688 * libio/freopen64.c: Likewise.
29689 * libio/iofclose.c: Likewise.
29690 * libio/iofdopen.c: Likewise.
29691 * libio/iofflush.c: Likewise.
29692 * libio/iofflush_u.c: Likewise.
29693 * libio/iofgets.c: Likewise.
29694 * libio/iofgets_u.c: Likewise.
29695 * libio/iofopen.c: Likewise.
29696 * libio/iofopncook.c: Likewise.
29697 * libio/iofread.c: Likewise.
29698 * libio/iofread_u.c: Likewise.
29699 * libio/ioftell.c: Likewise.
29700 * libio/iofwrite.c: Likewise.
29701 * libio/iogetline.c: Likewise.
29702 * libio/iogets.c: Likewise.
29703 * libio/iogetwline.c: Likewise.
29704 * libio/iopadn.c: Likewise.
29705 * libio/iopopen.c: Likewise.
29706 * libio/ioseekoff.c: Likewise.
29707 * libio/ioseekpos.c: Likewise.
29708 * libio/iosetbuffer.c: Likewise.
29709 * libio/iosetvbuf.c: Likewise.
29710 * libio/ioungetc.c: Likewise.
29711 * libio/ioungetwc.c: Likewise.
29712 * libio/iovdprintf.c: Likewise.
29713 * libio/iovsprintf.c: Likewise.
29714 * libio/iovsscanf.c: Likewise.
29715 * libio/memstream.c: Likewise.
29716 * libio/obprintf.c: Likewise.
29717 * libio/oldfileops.c: Likewise.
29718 * libio/oldiofclose.c: Likewise.
29719 * libio/oldiofdopen.c: Likewise.
29720 * libio/oldiofopen.c: Likewise.
29721 * libio/oldiopopen.c: Likewise.
29722 * libio/oldstdfiles.c: Likewise.
29723 * libio/putc.c: Likewise.
29724 * libio/setbuf.c: Likewise.
29725 * libio/setlinebuf.c: Likewise.
29726 * libio/stdfiles.c: Likewise.
29727 * libio/strops.c: Likewise.
29728 * libio/vasprintf.c: Likewise.
29729 * libio/vscanf.c: Likewise.
29730 * libio/vsnprintf.c: Likewise.
29731 * libio/vswprintf.c: Likewise.
29732 * libio/wfiledoalloc.c: Likewise.
29733 * libio/wfileops.c: Likewise.
29734 * libio/wgenops.c: Likewise.
29735 * libio/wmemstream.c: Likewise.
29736 * libio/wstrops.c: Likewise.
29737 * libio/__fpurge.c: Likewise.
29738 * libio/__fsetlocking.c: Likewise.
29739 * assert/assert.c: Likewise.
29740 * debug/fgets_chk.c: Likewise.
29741 * debug/fgets_u_chk.c: Likewise.
29742 * debug/fread_chk.c: Likewise.
29743 * debug/fread_u_chk.c: Likewise.
29744 * debug/gets_chk.c: Likewise.
29745 * debug/obprintf_chk.c: Likewise.
29746 * debug/vasprintf_chk.c: Likewise.
29747 * debug/vdprintf_chk.c: Likewise.
29748 * debug/vsnprintf_chk.c: Likewise.
29749 * debug/vsprintf_chk.c: Likewise.
29750 * malloc/mtrace.c: Likewise.
29751 * misc/error.c: Likewise.
29752 * misc/syslog.c: Likewise.
29753 * stdio-common/asprintf.c: Likewise.
29754 * stdio-common/fxprintf.c: Likewise.
29755 * stdio-common/getw.c: Likewise.
29756 * stdio-common/isoc99_fscanf.c: Likewise.
29757 * stdio-common/isoc99_scanf.c: Likewise.
29758 * stdio-common/isoc99_vfscanf.c: Likewise.
29759 * stdio-common/isoc99_vscanf.c: Likewise.
29760 * stdio-common/isoc99_vsscanf.c: Likewise.
29761 * stdio-common/printf-prs.c: Likewise.
29762 * stdio-common/printf_fp.c: Likewise.
29763 * stdio-common/printf_fphex.c: Likewise.
29764 * stdio-common/printf_size.c: Likewise.
29765 * stdio-common/putw.c: Likewise.
29766 * stdio-common/scanf.c: Likewise.
29767 * stdio-common/sprintf.c: Likewise.
29768 * stdio-common/tmpfile.c: Likewise.
29769 * stdio-common/vfprintf.c: Likewise.
29770 * stdio-common/vfscanf.c: Likewise.
29771 * stdlib/strfmon_l.c: Likewise.
29772 * sunrpc/openchild.c: Likewise.
29773 * sunrpc/xdr_stdio.c: Likewise.
29774 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
29775 * sysdeps/mach/hurd/tmpfile.c: Likewise.
29777 2012-05-24 Roland McGrath <roland@hack.frob.com>
29779 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
29781 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
29782 in the third column, to generate for the shared library an IFUNC
29783 that uses _dl_vdso_vsym.
29784 * Makerules (COMPILE.c, compile-stdin.c): New variables.
29785 * Makeconfig (object-suffixes-noshared): New variable.
29787 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
29788 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
29789 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
29790 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
29793 * include/sys/time.h (__gettimeofday): Remove macro.
29794 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
29795 * time/gettimeofday.c (__gettimeofday): Remove #undef.
29797 (__gettimeofday): Add libc_hidden_def.
29798 (gettimeofday): Add libc_hidden_weak.
29799 * sysdeps/mach/gettimeofday.c: Likewise.
29800 * sysdeps/posix/gettimeofday.c: Likewise.
29801 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
29802 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
29803 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
29804 (__gettimeofday_internal): Remove strong_alias.
29805 (__gettimeofday): Add libc_hidden_def.
29806 (gettimeofday): Add libc_hidden_weak.
29807 * sysdeps/unix/syscalls.list (gettimeofday):
29808 Remove __gettimeofday_internal alias.
29810 2012-05-24 Daniel Jacobowitz <drow@false.org>
29811 H.J. Lu <hongjiu.lu@intel.com>
29814 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
29815 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
29816 (largebin_index_32_big): New.
29817 (largebin_index): Use it for 16-byte alignment.
29818 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
29819 correction with front_misalign.
29821 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
29823 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
29824 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
29826 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
29828 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
29830 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
29832 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
29834 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
29836 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
29838 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
29840 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
29842 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
29844 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
29846 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
29849 * scripts/data/c++-types-x32-linux-gnu.data: New file.
29850 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
29852 2012-05-24 Joseph Myers <joseph@codesourcery.com>
29856 * math/libm-test.inc (exp_test): Add test from bug 14036.
29857 (pow_test): Add test from bug 10846.
29859 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
29861 (special_function): Do not include flags in test name.
29862 (parse_args): Likewise.
29863 * sysdeps/i386/fpu/libm-test-ulps: Update.
29864 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29865 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
29866 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
29867 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29869 * math/gen-libm-test.pl (%beautify): Add entries for underflow
29871 * math/libm-test.inc ("Philosophy"): Update comment about
29873 (UNDERFLOW_EXCEPTION): New macro.
29874 (UNDERFLOW_EXCEPTION_OK): Likewise.
29875 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
29876 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
29877 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
29878 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
29879 (INVALID_EXCEPTION_OK): Update value.
29880 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
29881 (OVERFLOW_EXCEPTION_OK): Likewise.
29882 (IGNORE_ZERO_INF_SIGN): Likewise.
29883 (test_exceptions): Handle underflow exceptions.
29884 (acos_test): Update for underflow exception expectations.
29885 (cexp_test): Likewise.
29886 (clog_test): Likewise.
29887 (clog10_test): Likewise.
29888 (csqrt_test): Likewise.
29889 (ctan_test): Likewise.
29890 (ctanh_test): Likewise.
29891 (exp_test): Likewise.
29892 (exp10_test): Likewise.
29893 (exp2_test): Likewise.
29894 (expm1_test): Likewise.
29895 (fma_test): Likewise.
29896 (j0_test): Likewise.
29897 (jn_test): Likewise.
29898 (nexttoward_test): Likewise.
29899 (pow_test): Likewise.
29900 (scalbn_test): Likewise.
29901 (scalbln_test): Likewise.
29902 (tan_test): Likewise.
29903 (y1_test): Likewise.
29904 * sysdeps/i386/fpu/libm-test-ulps: Update.
29905 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29907 2012-05-23 David S. Miller <davem@davemloft.net>
29909 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
29910 (__libc_sigaction): Remove unused local variables.
29912 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
29914 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
29916 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
29918 mktime: avoid signed integer overflow
29919 * time/mktime.c (__mktime_internal): Do not mishandle the case
29920 where diff == INT_MIN.
29922 mktime: simplify computation of average
29923 * time/mktime.c (ranged_convert): Use new time_t_avg function
29924 instead of rolling our own (probably-slower) code.
29926 mktime: do not assume signed right shift propagates sign bit
29927 * time/mktime.c (isdst_differ): New static function.
29928 (__mktime_internal): No need to normalize tm_isdst now.
29929 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
29932 mktime: merge another wrapv change from gnulib
29933 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
29934 from some compilers.
29936 mktime: remove incorrect attempt at unusual arithmetics
29937 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
29938 The code didn't really work on such machines anyway.
29939 (TYPE_MINIMUM): Assume two's complement.
29940 (twos_complement_arithmetic): Verify that long_int and time_t
29941 are two's complement (or unsigned, in the latter case).
29943 mktime: check signed shifts on long_int and time_t, too
29944 * time/mktime.c (SHR): Check that shifts work as desired
29945 on the types long_int and time_t too, as SHR is used on
29948 mktime: do not assume 'long' is wide enough
29949 * time/mktime.c (verify): Move decl up.
29950 (long_int): New type.
29951 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
29952 to remove assumption in the code that 'long' is wide enough to
29953 store year values. This assumption is not true on x32 and on
29954 some non-glibc platforms.
29956 mktime: merge wrapv change from gnulib
29957 * time/mktime.c (WRAPV): New macro.
29958 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
29959 (guess_time_tm, __mktime_internal): Do not assume that signed
29960 integer overflow wraps around; modern compilers generate code
29961 where this assumption is no longer valid.
29963 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
29965 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
29966 Replace "jmp L(pseudo_end)" with "ret".
29967 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
29970 2012-05-23 Andreas Jaeger <aj@suse.de>
29972 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
29973 * sysdeps/unix/sysv/linux/poll.c: Remove file.
29975 2012-05-23 Andreas Jaeger <aj@suse.de>
29976 Maximilian Attems <max@stro.at>
29978 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
29981 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
29983 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
29984 code so that pseudo_end is just ret and the stack pointer is
29985 correct also for static library in error case.
29987 2012-05-23 Joseph Myers <joseph@codesourcery.com>
29989 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
29990 move to syscalls.list.
29991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
29992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
29993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
29994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
29996 * manual/install.texi (Running make install): Do not mention Linux
29997 kernel version for which pt_chown is not needed.
29998 (Linux): Do not mention problems with nscd with 2.0 kernels.
29999 * INSTALL: Regenerated.
30001 2012-05-23 Andreas Jaeger <aj@suse.de>
30003 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
30004 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
30006 * sysdeps/unix/sysv/linux/s390/bits/mman.h
30007 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30008 * sysdeps/unix/sysv/linux/sh/bits/mman.h
30009 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30010 * sysdeps/unix/sysv/linux/i386/bits/mman.h
30011 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30012 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
30013 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30014 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
30015 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30016 * sysdeps/unix/sysv/linux/bits/in.h
30017 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
30019 2012-05-22 Roland McGrath <roland@hack.frob.com>
30021 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
30022 (PREPARE_VERSION): Just use assert instead, it will be elided
30023 under [NDEBUG] anyway.
30025 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
30027 * sysdeps/unix/sysv/linux/Makefile: Include
30028 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
30029 (sysdep_routines): Remove sysctl.
30030 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
30031 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
30032 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
30033 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
30034 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
30036 2012-05-22 Andreas Jaeger <aj@suse.de>
30038 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
30039 that pseudo_end is just ret and the stack pointer is correct also
30040 for static library in error case.
30042 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
30045 * nss/nsswitch.c (defconfig_entries): New variable.
30046 (__nss_database_lookup): Don't leak defconfig entries.
30047 (nss_parse_service_list): Don't leak on error paths.
30048 (free_database_entries): New function.
30049 (free_defconfig): New function.
30050 (free_mem): Move common code to free_database_entries.
30052 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
30054 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
30056 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
30058 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
30059 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
30060 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
30062 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
30063 (INTERNAL_SYSCALL_TYPES): Likewise.
30064 (LOAD_ARGS_TYPES_[1-6]): Likewise.
30065 (LOAD_REGS_TYPES_[1-6]): Likewise.
30066 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
30067 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
30069 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30071 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
30072 copysignl for GLIBC_2_0.
30073 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
30074 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
30075 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
30076 logbl for GLIBC_2_0.
30077 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
30078 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
30080 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
30082 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
30083 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
30085 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
30088 * time/mktime.c: Update copyright years.
30090 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
30092 mktime: merge comment-quoting-style change from gnulib
30093 * time/mktime.c: Quote 'like this' in comments.
30094 The GNU coding standards suggest that we no longer quote `like this',
30095 as "`" and "'" are typically rendered asymmetrically nowadays.
30096 The typical gnulib style is to quote 'like this' when quoting
30097 code, and "like this" when quoting English.
30099 * time/mktime.c (compile-command): Add "-I.".
30101 mktime: merge mktime-internal.h change from gnulib
30102 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
30104 mktime: merge time_r change from gnulib
30105 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
30107 mktime: merge DEBUG change from gnulib
30108 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
30109 case system <time.h> has a #define.
30111 mktime: merge <sys/types.h> change from gnulib
30112 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
30113 since <time.t> is now guaranteed to define time_t.
30115 mktime: merge HAVE_CONFIG_H change from gnulib
30116 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
30118 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
30120 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
30123 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
30125 (struct rusage): Use anonymous union to pad each field to
30128 2012-05-21 David S. Miller <davem@davemloft.net>
30130 * Makefules (o-iterator): Remove .s cases.
30131 (compile-command.s): Delete.
30132 (COMPILE.s): Delete.
30133 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
30135 2012-05-21 Joseph Myers <joseph@codesourcery.com>
30137 * configure.in (libc_cv_predef_stack_protector): Only consider
30138 "foobar" and "__stack_chk_fail" lines in libc_undefs.
30139 * configure: Regenerated.
30141 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
30143 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
30144 New macro. Use R*LP on int and pointer.
30145 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
30146 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
30147 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
30148 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
30150 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
30151 [__WORDSIZE_TIME64_COMPAT32] instead of
30152 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
30153 (struct utmp): Likewise.
30154 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
30155 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
30157 (__WORDSIZE_TIME64_COMPAT32): This.
30158 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
30159 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
30160 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
30161 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
30162 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
30163 (__WORDSIZE_TIME64_COMPAT32): New macro.
30165 2012-05-21 Andreas Jaeger <aj@suse.de>
30167 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
30168 only if [SHARED]. Add prototype for __wcschr_ia32.
30170 2012-05-21 Roland McGrath <roland@hack.frob.com>
30172 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
30173 of %rbp unmolested in the jmp_buf while mangling the low bits.
30174 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
30175 unmolested high bits of %rbp while demangling the low bits.
30176 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
30178 2012-05-21 Andreas Jaeger <aj@suse.de>
30180 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
30181 * sunrpc/svc_simple.c: Use it for registerrpc.
30182 * sunrpc/xcrypt.c: Use it for passwd2des.
30184 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
30186 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
30188 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
30189 Don't define if [__SYSCALL_WORDSIZE != 32].
30190 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
30193 2012-05-21 Bruno Haible <bruno@clisp.org>
30194 Andreas Jaeger <aj@suse.de>
30196 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
30197 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
30198 inptr and inend for must_buffer_ch.
30199 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
30200 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
30201 * stdio-common/Makefile (tests): Remove bug15.
30202 (bug15-ENV): Remove macro.
30203 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
30206 2012-05-19 Andreas Jaeger <aj@suse.de>
30207 Roland McGrath <roland@hack.frob.com>
30209 * manual/contrib.texi: Completely rewritten. It contains now an
30210 alphabetical list of contributors and their contributions.
30212 2012-05-21 Richard Henderson <rth@twiddle.net>
30214 * misc/getauxval.c (__getauxval): Use unsigned long int.
30215 * misc/sys/auxv.h: Include <sys/cdefs.h>.
30216 (getauxval): Use unsigned long int.
30218 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
30220 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
30222 2012-05-21 Roland McGrath <roland@hack.frob.com>
30224 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
30225 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
30226 __alignof__ (long double).
30228 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30230 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30232 2012-05-20 Richard Henderson <rth@twiddle.net>
30234 * misc/getauxval.c: New file.
30235 * misc/sys/auxv.h: New file.
30236 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
30237 (routines): Add getauxval.
30238 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
30239 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
30240 * elf/dl-sysdep.c (_dl_auxv): Remove.
30241 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
30242 * elf/dl-support.c (_dl_auxv): New variable.
30243 (_dl_aux_init): Initialize it.
30244 * manual/startup.texi (Auxiliary Vector): New node.
30245 * sysdeps/generic/bits/hwcap.h: New file.
30246 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
30247 * sysdeps/powerpc/sysdep.h: ... here. Include it.
30248 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
30249 * sysdeps/sparc/sysdep.h: ... here. Include it.
30250 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
30251 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
30252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
30255 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
30256 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
30257 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
30258 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
30259 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
30260 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
30261 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
30263 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30265 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30267 2012-05-19 David S. Miller <davem@davemloft.net>
30269 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30271 2012-05-19 Joseph Myers <joseph@codesourcery.com>
30274 * math/s_ccosh.c: Include <float.h>
30275 (__ccosh): Avoid internal overflow calculating sinh and cosh
30276 values before multiplying by sin and cos values.
30277 * math/s_ccoshf.c: Likewise.
30278 * math/s_ccoshl.c: Likewise.
30279 * math/s_csin.c: Likewise.
30280 * math/s_csinf.c: Likewise.
30281 * math/s_csinl.c: Likewise.
30282 * math/s_csinh.c: Likewise.
30283 * math/s_csinhf.c: Likewise.
30284 * math/s_csinhl.c: Likewise.
30285 * math/libm-test.inc (ccos_test): Add more tests.
30286 (ccosh_test): Likewise.
30287 (csin_test): Likewise.
30288 (csinh_test): Likewise.
30289 * sysdeps/i386/fpu/libm-test-ulps: Update.
30290 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30292 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
30294 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
30295 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
30297 * sysdeps/x86_64/x32/_itoa.h: Add comment.
30299 2012-05-19 Joseph Myers <joseph@codesourcery.com>
30301 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
30302 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
30303 * sysdeps/powerpc/soft-fp/Versions: Likewise.
30304 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
30305 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
30306 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
30307 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
30308 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
30309 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
30310 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
30311 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
30312 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
30313 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
30314 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
30315 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
30316 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
30317 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
30318 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
30319 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
30320 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
30321 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
30322 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
30323 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
30324 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
30325 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
30326 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
30327 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
30328 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
30329 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
30330 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
30331 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
30333 2012-05-18 Andreas Jaeger <aj@suse.de>
30335 * csu/.gitignore: Delete.
30337 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
30339 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
30340 (timex): Use __syscall_slong_t.
30342 2012-05-18 Andreas Jaeger <aj@suse.de>
30343 Carlos O'Donell <carlos_odonell@mentor.com>
30345 * manual/install.texi (Configuring and compiling): Update
30346 description about files modified in the source directory.
30347 * INSTALL: Regenerated.
30349 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
30351 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
30352 value. Use "or" to set return value to -1.
30353 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
30354 negate return value.
30356 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30358 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
30359 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
30360 failure if the compiler has Graphite support disabled.
30361 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
30363 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
30364 (CFLAGS-memmove.c): Likewise.
30365 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
30368 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
30370 * sysdeps/x86_64/x32/_itoa.h: New file.
30372 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
30373 getdents system call only if kernel and user dirents have the
30374 same d_ino and d_off.
30376 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
30377 LLONG_MAX != LONG_MAX.
30378 (_itoa_word): Use _ITOA_WORD_TYPE on value.
30379 (_fitoa_word): Likewise.
30381 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
30383 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
30384 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
30385 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
30387 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
30388 include <bits/wordsize.h>. Check __x86_64__ instead of
30390 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
30391 if __x86_64__ is defined. Use anonymous union on fpstate.
30393 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
30396 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
30398 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
30399 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
30400 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
30401 Refer to _rtld_local_ro instead of _rtld_global_ro.
30402 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
30404 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
30406 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
30408 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
30409 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
30410 of _rtld_global, and rtld_progname instead of _dl_argv[0].
30412 * sysdeps/powerpc/powerpc32/dl-machine.c
30413 (__elf_machine_runtime_setup) [PROF]: Don't reference
30416 2012-05-18 Andreas Jaeger <aj@suse.de>
30418 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
30419 function only available for GCCs before 3.4 since GCC 3.4
30420 introduced a builtin.
30422 (llrintf): Likewise.
30423 (llrint): Likewise.
30430 (nearbyint): Likewise.
30431 (nearbyintf): Likewise.
30435 (floorf): Likewise.
30437 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
30439 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
30440 on both fields and cast pointer to __syscall_ulong_t.
30442 * bits/types.h (__fsword_t): New type.
30443 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
30444 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
30445 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30446 (__FSWORD_T_TYPE): Likewise.
30447 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30448 (__FSWORD_T_TYPE): Likewise.
30449 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30450 (__FSWORD_T_TYPE): Likewise.
30451 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
30452 (__FSWORD_T_TYPE): Likewise.
30453 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
30454 __SWORD_TYPE with __fsword_t.
30455 (statfs64): Likewise.
30457 2012-05-17 David S. Miller <davem@davemloft.net>
30459 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
30461 2012-05-17 Andreas Jaeger <aj@suse.de>
30463 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
30466 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
30468 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
30470 2012-05-17 Andreas Jaeger <aj@suse.de>
30472 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
30475 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
30477 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
30479 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
30481 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
30482 * sysdeps/x86_64/tst-mallocalign1.c: New file.
30484 2012-05-17 Andreas Jaeger <aj@suse.de>
30485 Carlos O'Donell <carlos_odonell@mentor.com>
30488 * sysdeps/x86_64/multiarch/init-arch.h
30489 (bit_YMM_Usable): Rename to...
30490 (bit_AVX_Usable): ... this.
30491 (bit_FMA4_Usable): New macro.
30492 (bit_XMM_state): New macro.
30493 (bit_YMM_state): New macro.
30494 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
30495 [__ASSEMBLER__] (index_AVX_Usable): ... this.
30496 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
30497 (CPUID_OSXSAVE): New macro.
30498 (CPUID_AVX): New macro.
30499 (CPUID_FMA4): New macro.
30500 (index_YMM_Usable): Rename to...
30501 (index_AVX_Usable): ... this.
30502 (HAS_AVX): Use HAS_ARCH_FEATURE.
30503 (HAS_FMA4): Likewise.
30504 (HAS_YMM_USABLE): Remove.
30505 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30506 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
30508 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
30509 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
30510 * sysdeps/x86_64/multiarch/Makefile: Likewise.
30511 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
30512 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
30514 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
30516 * math/libm-test.c: Support platforms without multiple rounding modes.
30517 * math/bug-nextafter.c: Support platforms without FP exceptions.
30518 * math/bug-nexttoward.c: Likewise.
30519 * math/test-fenv.c: Likewise.
30520 * math/test-misc.c: Likewise.
30521 * stdlib/bug-getcontext.c: Likewise.
30523 2012-05-17 Andreas Jaeger <aj@suse.de>
30525 * manual/examples/search.c (critter_cmp): Change signature to
30527 * manual/string.texi (Collation Functions): Likewise.
30529 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30531 * bits/types.h: Fold copyright years.
30532 * bits/typesizes.h: Likewise.
30533 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
30534 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
30535 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
30536 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
30537 * time/time.h: Likewise.
30539 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
30542 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
30543 in instead of returning them. Return void.
30544 (__libc_mallinfo): Accumulate over all arenas.
30545 (__malloc_stats): Adjust for change in int_mallinfo interface.
30547 2012-05-16 Roland McGrath <roland@hack.frob.com>
30550 * configure.in (NM): Add AC_CHECK_TOOL for it.
30551 (libc_extra_cflags): New substituted variable.
30552 Check for -fstack-protector being used implicitly.
30553 * configure: Regenerated.
30554 * config.make.in (config-extra-cflags): New variable,
30555 gets @libc_extra_cflags@.
30556 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
30559 * configure.in: Check for _FORTIFY_SOURCE being predefined.
30560 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
30561 * configure: Regenerated.
30562 * config.make.in (CPPUNDEFS): New substituted variable.
30563 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
30564 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
30565 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
30567 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30569 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
30570 (mq_attr): Use __syscall_slong_t.
30572 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30574 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
30575 Check __x86_64__ instead of __WORDSIZE.
30576 (_STAT_VER_LINUX): Likewise.
30577 (stat): Check __x86_64__ instead of __WORDSIZE. Use
30578 __syscall_ulong_t and __syscall_slong_t.
30579 (stat64): Likewise.
30581 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30583 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
30585 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30587 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
30589 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30591 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
30594 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
30595 include <bits/wordsize.h>. Check __x86_64__ instead of
30597 (greg_t): Use "__extension__ long long int" if __x86_64__ is
30599 (mcontext_t): Replace "unsigned long" with "unsigned long long".
30601 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
30602 include <bits/wordsize.h>. Check __x86_64__ instead of
30604 (user_regs_struct): Use "__extension__ unsigned long long"
30605 instead of "unsigned long" if __x86_64__ is defined.
30606 (user): Likewise. Pad after pointer field if __ILP32__ is
30609 2012-05-16 Joseph Myers <joseph@codesourcery.com>
30611 * configure.in (makeinfo): Require version 4.5 or later. Allow
30613 * configure: Regenerated.
30614 * manual/install.texi (texinfo): Increase version requirement to
30616 * INSTALL: Regenerated.
30618 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
30620 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30622 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
30624 * sysdeps/x86_64/x32/ffs.c: New file.
30626 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
30628 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
30629 defined. Use __syscall_ulong_t.
30630 (shminfo): Use __syscall_ulong_t.
30631 (shm_info): Likewise.
30633 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
30636 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
30638 (msgqnum_t): Use __syscall_ulong_t.
30639 (msglen_t): Likewise.
30640 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
30643 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
30644 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
30646 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
30648 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
30649 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
30651 * sysvipc/sys/msg.h (msgbuf): Replace long int with
30654 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
30655 include <bits/wordsize.h>. Check __x86_64__ instead of
30658 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
30659 "unsigned long long int" if __x86_64__ is defined.
30660 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
30662 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
30663 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
30664 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
30666 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
30668 (GET_PC): Cast to uintptr_t first.
30669 (GET_FRAME): Likewise.
30670 (GET_STACK): Likewise.
30672 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
30673 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
30674 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
30675 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
30676 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
30677 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
30678 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
30679 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
30680 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
30681 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
30682 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
30683 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
30684 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
30685 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
30686 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
30687 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
30688 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
30689 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
30690 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
30691 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
30692 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
30693 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
30694 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
30695 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
30696 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
30697 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
30698 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
30699 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
30700 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
30702 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
30704 * Makerules (+depfiles): Also collect depfiles from .oS in
30706 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
30707 .oS, $(libnldbl-routines)).
30709 * Makerules (native-compile-mkdep-flags): Define.
30710 * sunrpc/Makefile (extra-objs): Add $(addprefix
30711 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
30712 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
30713 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
30714 calling $(make-target-directory).
30716 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30718 * bits/types.h (__snseconds_t): Removed.
30719 * time/time.h (struct timespec): Replace __snseconds_t with
30721 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
30722 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
30724 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30725 (__SNSECONDS_T_TYPE): Likewise.
30726 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30727 (__SNSECONDS_T_TYPE): Likewise.
30728 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30729 (__SNSECONDS_T_TYPE): Likewise.
30731 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30733 * sysdeps/mach/hurd/bits/typesizes.h
30734 (__SYSCALL_SLONG_TYPE): New macro.
30735 (__SYSCALL_ULONG_TYPE): Likewise.
30737 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30739 * bits/types.h (__syscall_slong_t): New type.
30740 (__syscall_ulong_t): Likewise.
30742 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
30743 (__SYSCALL_ULONG_TYPE): Likewise.
30744 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30745 (__SYSCALL_SLONG_TYPE): Likewise.
30746 (__SYSCALL_ULONG_TYPE): Likewise.
30747 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30748 (__SYSCALL_SLONG_TYPE): Likewise.
30749 (__SYSCALL_ULONG_TYPE): Likewise.
30750 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30751 (__SYSCALL_SLONG_TYPE): Likewise.
30752 (__SYSCALL_ULONG_TYPE): Likewise.
30754 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30756 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
30757 Add sigaltstack-offsets.sym.
30758 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
30759 <sigaltstack-offsets.h>.
30760 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
30761 longjmp_msg pointer.
30762 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
30763 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
30765 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
30767 2012-05-15 Joseph Myers <joseph@codesourcery.com>
30769 * elf/stackguard-macros.h: Remove file.
30770 * sysdeps/generic/stackguard-macros.h: New file.
30771 * sysdeps/i386/stackguard-macros.h: Likewise.
30772 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
30773 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
30774 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
30775 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
30776 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
30777 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
30778 * sysdeps/x86_64/stackguard-macros.h: Likewise.
30779 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
30780 <elf/stackguard-macros.h>.
30783 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
30784 __aligned__ in attribute.
30785 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
30786 (gregset_t): Likewise.
30788 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30790 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
30791 * sysdeps/x86_64/64/Implies-after: Here. New file.
30792 * sysdeps/x86_64/x32/Implies-after: New file.
30794 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30796 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
30797 and access return value for _dl_profile_fixup. Use R10_LP to
30800 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30802 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
30804 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30806 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
30807 * sysdeps/x86_64/x32/sysdep.h: New file.
30809 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30811 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
30812 * sysdeps/x86_64/setjmp.S: Likewise.
30814 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30816 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
30817 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
30818 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
30819 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
30820 remove unused global constant.
30822 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
30824 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
30825 include of <not-cancel.h>.
30827 2012-05-15 Roland McGrath <roland@hack.frob.com>
30829 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
30831 2012-05-15 Jeff Law <law@redhat.com>
30832 Andreas Jaeger <aj@suse.de>
30835 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
30837 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
30838 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
30839 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
30840 code changing __hst_map_handle.map.
30842 2012-05-15 Roland McGrath <roland@hack.frob.com>
30844 * configure.in (sysnames): Look for Implies-before and Implies-after
30846 * configure: Regenerated.
30848 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30850 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
30851 8-byte data alignment with LP_SIZE alignment.
30853 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30855 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
30858 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30860 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
30862 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30864 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
30865 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
30866 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
30868 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
30870 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30872 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
30873 (stackinfo_sub_sp): Likewise.
30875 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30877 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
30880 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30882 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
30885 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30887 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
30890 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30892 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
30894 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30896 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
30897 into R11_LP and load __x86_64_shared_cache_size_half into
30900 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30902 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
30905 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30907 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
30909 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
30911 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
30913 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
30914 powerpc32/power7/fpu/s_logb.c via #include.
30915 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
30916 powerpc32/power7/fpu/s_logbf.c via #include.
30917 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
30918 powerpc32/power7/fpu/s_logbl.c via #include.
30920 2012-05-15 Joseph Myers <joseph@codesourcery.com>
30922 * README.libm: Remove file.
30924 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30926 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
30927 count for x32. Use R*_LP and omit operand-size suffix.
30929 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30931 * shlib-versions: Move x86_64-.*-linux.* entries to ...
30932 * sysdeps/x86_64/64/shlib-versions: Here. New file.
30933 * sysdeps/x86_64/x32/shlib-versions: New file.
30935 2012-05-14 Roland McGrath <roland@hack.frob.com>
30937 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
30938 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
30939 Use _dl_fatal_printf instead.
30941 2012-05-14 Joseph Myers <joseph@codesourcery.com>
30943 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
30944 set if not set by the user. Do not allow for being unset.
30945 * sysdeps/unix/sysv/linux/configure: Regenerated.
30947 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30949 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
30950 the `q' suffix from lea and replace .quad with ASM_ADDR.
30952 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30954 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
30955 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
30957 (PTR_DEMANGLE): Likewise.
30959 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30961 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
30963 (ASM_ADDR): Likewise.
30964 (RAX_LP): Likewise.
30965 (RBP_LP): Likewise.
30966 (RBX_LP): Likewise.
30967 (RCX_LP): Likewise.
30968 (RDI_LP): Likewise.
30969 (RSI_LP): Likewise.
30970 (RSP_LP): Likewise.
30973 (R10_LP): Likewise.
30974 (R10_LP): Likewise.
30975 (R11_LP): Likewise.
30976 (R12_LP): Likewise.
30977 (R13_LP): Likewise.
30978 (R14_LP): Likewise.
30979 (R15_LP): Likewise.
30981 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30983 * sysdeps/x86_64/x32/dl-machine.h: New file.
30985 2012-05-14 Andreas Jaeger <aj@suse.de>
30987 * manual/Makefile (subdir): Remove export of subdir.
30988 (all): Remove target.
30989 (.PHONY): Remove all from list.
30990 (mkinstalldirs): Remove.
30991 (.PHONY): Remove installdirs from list.
30992 ($(inst_infodir)/libc.info): Use make-target-directory.
30993 (installdirs): Remove.
30994 (subdir_%): Remove.
30995 (glibc-targets): Remove.
30998 ($(objpfx)stubs ../po/manual.pot): Remove.
30999 ($(objpfx)stamp%): Remove.
31000 (make-target-directory): Remove.
31001 (subdir_install): Remove.
31002 (routines): Remove.
31009 * manual/.gitignore: Remove, it's not needed anymore.
31010 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
31012 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
31014 (texis): Renamed to $(objpfx)texis.
31015 (texis-path): New, contains path to generated files.
31016 (chapters.%): Use texis-path for complete path, add extra argument
31018 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
31019 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
31020 (summary,texi, stamp-summary): Use complete path of
31021 files. Generate files in build dir.
31022 (dir-add.texi): Build in build dir.
31023 (libm-err.texi,stamp-libm-err): Likewise.
31024 (version.texi, stamp-version): Likewise.
31025 (.%c.texi): Likewise.
31026 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
31027 (mostlyclean): Remove target.
31028 (realclean): Remove target.
31029 (generated): Add new variable with contents from mostlyclean and
31030 realclean, remove entries duplicated in common-mostlyclean, add
31031 stamp-libm-err and stamp-version.
31032 (generated-dirs): Add libc directory.
31033 ($(inst_infodir)/libc.info): Install files from build dir.
31035 * manual/install.texi (Configuring and compiling): Adjust since
31036 the info files are not part of the tar ball anymore.
31038 2012-05-14 Andreas Jaeger <aj@suse.de>
31040 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
31043 2012-05-14 Joseph Myers <joseph@codesourcery.com>
31046 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
31047 to 2.2.0 where earlier.
31048 * sysdeps/unix/sysv/linux/configure: Regenerated.
31049 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
31050 Remove conditional code.
31051 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
31052 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
31053 Remove conditional code.
31054 [!__NR_lchown]: Likewise.
31055 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
31056 [__NR_lchown]: Likewise.
31057 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
31058 comment referencing __ASSUME_LCHOWN_SYSCALL.
31059 * sysdeps/unix/sysv/linux/i386/sigaction.c
31060 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31061 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31062 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
31063 Remove conditional code.
31064 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
31065 (__protocol_available): Remove #if 0 code.
31066 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
31068 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
31069 * sysdeps/unix/sysv/linux/kernel-features.h
31070 (__ASSUME_GETCWD_SYSCALL): Don't define.
31071 (__ASSUME_REALTIME_SIGNALS): Likewise.
31072 (__ASSUME_PREAD_SYSCALL): Likewise.
31073 (__ASSUME_PWRITE_SYSCALL): Likewise.
31074 (__ASSUME_POLL_SYSCALL): Likewise.
31075 (__ASSUME_LCHOWN_SYSCALL): Likewise.
31076 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
31078 (__ASSUME_SIOCGIFNAME): Don't define.
31079 (__ASSUME_MSG_NOSIGNAL): Likewise.
31080 (__ASSUME_SENDFILE): Define unconditionally.
31081 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
31082 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
31084 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
31085 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
31086 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
31087 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
31088 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
31089 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
31090 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
31091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
31092 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31093 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
31095 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31096 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
31098 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31099 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
31101 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31102 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
31104 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31105 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
31107 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31108 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
31110 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31111 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
31113 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31114 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31115 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
31116 Remove conditional code.
31117 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31118 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
31119 Remove conditional code.
31120 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31121 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
31122 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
31123 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
31124 Remove conditional code.
31125 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31126 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
31127 Remove conditional code.
31128 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31129 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
31130 Remove conditional code.
31131 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31132 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
31133 Remove conditional code.
31134 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31135 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
31136 Remove conditional code.
31137 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31138 * sysdeps/unix/sysv/linux/sh/pwrite64.c
31139 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31140 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31141 * sysdeps/unix/sysv/linux/sigaction.c
31142 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31143 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31144 * sysdeps/unix/sysv/linux/sigpending.c
31145 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31146 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31147 * sysdeps/unix/sysv/linux/sigprocmask.c
31148 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31149 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31150 * sysdeps/unix/sysv/linux/sigsuspend.c
31151 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31152 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31153 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
31154 (__libc_missing_rt_sigs): Remove.
31155 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
31156 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
31157 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
31158 Remove conditional code.
31159 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
31160 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
31162 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
31163 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
31164 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
31165 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
31167 2012-05-14 Andreas Jaeger <aj@suse.de>
31169 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
31170 it's not used in glibc.
31171 (__coshm1): Likewise.
31172 (__acosh1p): Likewise.
31175 * manual/string.texi (Copying and Concatenation): Add missing
31176 variable in concat example.
31177 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
31179 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31182 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
31183 __builtin_clzl with __builtin_clzll.
31185 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31188 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
31191 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31193 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
31194 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
31195 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
31196 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
31198 2012-05-14 Mike Frysinger <vapier@gentoo.org>
31200 * NEWS: Update ia64 info.
31202 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
31204 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
31207 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
31209 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
31210 * sysdeps/unix/syscalls.list (dup3): Likewise.
31211 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
31212 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
31214 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
31216 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
31217 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
31219 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
31221 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
31223 (TLS_IE): Use mov/add instead of movq/addq to load thread
31225 (TLS_GD_PREFIX): New.
31228 2012-05-11 David S. Miller <davem@davemloft.net>
31230 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
31231 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
31232 (_FPU_SETCW): Likewise.
31234 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31236 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
31237 is 32-byte aligned.
31239 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
31242 * iconvdata/gb18030.c: Update tables.
31243 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
31244 characters specially.
31245 (BODY for TO_LOOP): Add encoding of missing ranges.
31247 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
31250 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
31251 * sysdeps/mach/hurd/dup3.c: Likewise.
31252 * sysdeps/mach/hurd/readlinkat.c: Likewise.
31253 * sysdeps/powerpc/memmove.c:: Likewise.
31255 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31257 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
31258 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
31260 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31262 * elf/elf.h (R_X86_64_RELATIVE64): New.
31263 (R_X86_64_NUM): Updated.
31264 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
31265 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
31266 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
31267 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
31268 tst-quad1pie tst-quad2pie
31269 (modules-names): Add tst-quadmod1 tst-quadmod2.
31270 ($(objpfx)tst-quad1): New dependency.
31271 ($(objpfx)tst-quad2): Likewise.
31272 ($(objpfx)tst-quad1pie): Likewise.
31273 ($(objpfx)tst-quad2pie): Likewise.
31274 * sysdeps/x86_64/tst-quad1.c: New file.
31275 * sysdeps/x86_64/tst-quad1pie.c: New file.
31276 * sysdeps/x86_64/tst-quad2.c: Likewise.
31277 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
31278 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
31279 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
31280 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
31281 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
31283 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31285 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
31286 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
31287 * streams/stropts.h (t_scalar_t): Define type.
31289 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
31290 (_PATH_PRESERVE): Set to "/var/lib".
31291 (_PATH_RWHODIR): Set to "/var/spool/rwho".
31293 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
31296 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
31297 if __dir_mkfile succeeded.
31299 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
31300 checking for _hurd_dtablesize. Unlock it right after having
31301 finished _hurd_dtable allocation.
31303 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31305 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
31306 * sysdeps/mach/hurd/configure: Regenerated.
31307 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
31308 special-casing to...
31309 * sysdeps/gnu/configure.in: ... this new file.
31310 * sysdeps/unix/sysv/linux/configure: Regenerated.
31311 * sysdeps/gnu/configure: New generated file.
31313 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
31314 for Linux: use nsec instead of usec, as well as:
31315 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
31316 members of type struct timespec.
31317 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
31319 (struct stat64): Likewise.
31320 (_STATBUF_ST_NSEC): New macro.
31321 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
31323 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
31324 __strtoul_internal rather than strtoul.
31326 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
31328 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
31331 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31333 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
31334 which preserves existing values.
31335 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
31337 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
31339 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
31340 TIMEOUT values. Return EINVAL for NFDS values either negative or
31341 greater than FD_SETSIZE.
31343 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31345 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
31346 allocated, call __vm_protect to finish enabling the existing space, and
31347 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
31348 allocate the remainder.
31350 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
31352 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
31353 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
31355 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31357 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
31358 sysdeps/mach/hurd/readlink.c.
31360 * posix/tst-sysconf.c (posix_options): Only use
31361 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
31362 _POSIX_SYNCHRONIZED_IO when they are defined
31363 * sysdeps/mach/hurd/bits/posix_opt.h:
31364 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
31365 (_XOPEN_REALTIME): Undefine macro.
31366 (_XOPEN_REALTIME_THREADS): Undefine macro.
31367 (_XOPEN_SHM): Undefine macro.
31368 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
31370 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
31372 (_POSIX_ASYNC_IO): Undefine macro.
31373 (_POSIX_PRIORITIZED_IO): Undefine macro.
31374 (_POSIX_SPIN_LOCKS): Define macro to -1.
31376 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
31377 SA_NODEFER, SA_RESETHAND.
31378 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
31379 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
31382 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31384 * elf/Makefile (pldd-modules): Define unconditionally.
31386 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31388 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
31390 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31392 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
31393 Return ENOENT when name is empty.
31394 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
31396 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31398 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
31400 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
31402 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31404 Fix mlock in all cases except non-readable pages.
31405 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
31406 instead of VM_PROT_ALL as parameter to __vm_wire function.
31408 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
31409 (__mkdir): When path is `/', just fail with EEXIST.
31410 * sysdeps/mach/hurd/mkdirat.c: Likewise.
31412 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31414 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
31415 <sys/uio.h> (for writev).
31416 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
31417 and <sys/param.h> (for MIN).
31419 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
31421 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
31422 REQUESTED_TIME. Properly set the remaining time and return EINTR
31425 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31427 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
31428 Depend on against $(link-rpcuserlibs).
31430 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31432 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
31433 (__libc_stack_end): Do not use attribute_relro.
31434 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
31435 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
31436 to libthread-provided value.
31437 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
31440 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31443 * bits/libc-lock.h (__libc_once_get): New macro.
31444 * sysdeps/mach/bits/libc-lock.h: Likewise.
31445 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
31446 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
31447 instead of using implementation details.
31449 * libio/fileops.c: Unconditionally include <kernel-features.h>.
31450 * libio/freopen.c: Likewise.
31451 * libio/freopen64.c: Likewise.
31452 * misc/syslog.c: Likewise.
31453 * nscd/connections.c: Likewise.
31454 * nscd/netgroupcache.c: Likewise.
31455 * sysdeps/posix/getcwd.c: Likewise.
31457 2012-05-10 Roland McGrath <roland@hack.frob.com>
31459 * math/w_ilogbf.c: Add #include <limits.h>.
31461 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31463 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
31464 path instead of returning without unlocking.
31466 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
31467 immediate-write ioctls.
31468 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
31470 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31472 * sysdeps/mach/hurd/i386/init-first.c (init): Use
31473 __builtin_frame_address instead of making assumptions about the
31474 location of the return address relative to DATA. Force early load of
31475 the return address.
31476 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
31477 __builtin_frame_address.
31480 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
31481 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
31482 implement dup3 and do some further code clean-ups.
31483 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
31484 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
31486 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31488 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
31490 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
31491 HURD_CRITICAL_END around holding _hurd_dtable_lock.
31492 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
31493 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
31494 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
31497 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
31498 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
31499 when handler == SIG_ERR, not when handler != SIG_ERR.
31501 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31503 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
31504 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
31507 accept4 for GNU Hurd.
31508 * include/sys/socket.h (__libc_accept4): New prototype.
31509 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
31510 to implement __libc_accept4.
31511 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
31513 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
31515 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
31516 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
31517 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
31518 signal-defines.sym.
31520 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31522 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
31524 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31526 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
31527 assertion on O_CLOEXEC flag.
31528 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
31529 * hurd/intern-fd.c: Likewise.
31530 * hurd/port2fd.c: Likewise.
31532 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31535 * bits/in.h (IPV6_PKTINFO): Define new macro.
31536 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
31538 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31543 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
31544 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
31545 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
31546 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
31547 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31548 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
31549 * math/libm-test.inc (logb_test) : Additional logb tests.
31551 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
31552 Andreas Jaeger <aj@suse.de>
31554 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
31555 * configure: Regenerated.
31556 * config.h.in (LINK_OBSOLETE_RPC): New macro.
31557 * config.make.in (link-obsolete-rpc): New substituted variable.
31558 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
31559 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
31560 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
31561 (shared-only-routines): Don't set it under [link-obsolete-rpc],
31562 so that libc.a contains the symbols.
31563 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
31564 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
31565 * sunrpc/auth_none.c: Likewise.
31566 * sunrpc/auth_unix.c: Likewise.
31567 * sunrpc/authdes_prot.c: Likewise.
31568 * sunrpc/authuxprot.c: Likewise.
31569 * sunrpc/clnt_gen.c: Likewise.
31570 * sunrpc/clnt_perr.c: Likewise.
31571 * sunrpc/clnt_raw.c: Likewise.
31572 * sunrpc/clnt_simp.c: Likewise.
31573 * sunrpc/clnt_tcp.c: Likewise.
31574 * sunrpc/clnt_udp.c: Likewise.
31575 * sunrpc/clnt_unix.c: Likewise.
31576 * sunrpc/des_crypt.c: Likewise.
31577 * sunrpc/des_soft.c: Likewise.
31578 * sunrpc/get_myaddr.c: Likewise.
31579 * sunrpc/key_call.c: Likewise.
31580 * sunrpc/key_prot.c: Likewise.
31581 * sunrpc/netname.c: Likewise.
31582 * sunrpc/pm_getmaps.c: Likewise.
31583 * sunrpc/pm_getport.c: Likewise.
31584 * sunrpc/pmap_clnt.c: Likewise.
31585 * sunrpc/pmap_prot.c: Likewise.
31586 * sunrpc/pmap_prot2.c: Likewise.
31587 * sunrpc/pmap_rmt.c: Likewise.
31588 * sunrpc/publickey.c: Likewise.
31589 * sunrpc/rpc_cmsg.c: Likewise.
31590 * sunrpc/rpc_common.c: Likewise.
31591 * sunrpc/rpc_dtable.c: Likewise.
31592 * sunrpc/rpc_prot.c: Likewise.
31593 * sunrpc/rpc_thread.c: Likewise.
31594 * sunrpc/rtime.c: Likewise.
31595 * sunrpc/svc.c: Likewise.
31596 * sunrpc/svc_auth.c: Likewise.
31597 * sunrpc/svc_raw.c: Likewise.
31598 * sunrpc/svc_run.c: Likewise.
31599 * sunrpc/svc_tcp.c: Likewise.
31600 * sunrpc/svc_udp.c: Likewise.
31601 * sunrpc/svc_unix.c: Likewise.
31602 * sunrpc/svcauth_des.c: Likewise.
31603 * sunrpc/xcrypt.c: Likewise.
31604 * sunrpc/xdr.c: Likewise.
31605 * sunrpc/xdr_array.c: Likewise.
31606 * sunrpc/xdr_float.c: Likewise.
31607 * sunrpc/xdr_intXX_t.c: Likewise.
31608 * sunrpc/xdr_mem.c: Likewise.
31609 * sunrpc/xdr_rec.c: Likewise.
31610 * sunrpc/xdr_ref.c: Likewise.
31611 * sunrpc/xdr_sizeof.c: Likewise.
31612 * sunrpc/xdr_stdio.c: Likewise.
31614 2012-05-10 Roland McGrath <roland@hack.frob.com>
31616 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
31617 change. Update copyright years.
31619 2012-05-10 Joseph Myers <joseph@codesourcery.com>
31621 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
31623 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
31624 Joseph Myers <joseph@codesourcery.com>
31625 Paul Pluzhnikov <ppluzhnikov@google.com>
31628 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
31630 [cross-compiling] (extra-libs): Likewise.
31631 [cross-compiling] (extra-libs-others): Likewise.
31632 [cross-compiling] (librpcsvc-routines): Likewise.
31633 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
31634 [cross-compiling] (omit-deps): Likewise.
31635 (sunrpc-CPPFLAGS): New variable.
31636 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
31637 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
31638 (cross-rpcgen-objs): New variable.
31639 (extra-objs): Append $(cross-rpcgen-objs).
31640 ($(cross-rpcgen-objs)): New rule.
31641 ($(objpfx)cross-rpcgen): Likewise.
31642 (rpcgen-cmd): Define to use $(built-program-file). Expand
31644 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
31645 ($(objpfx)x%.stmp): Likewise.
31646 * sunrpc/proto.h [IS_IN_build] (_): Define.
31647 [IS_IN_build] (_libc_intl_domainname): Likewise.
31649 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31651 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
31652 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
31653 and R_X86_64_TPOFF64.
31655 2012-05-10 Joseph Myers <joseph@codesourcery.com>
31657 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
31658 sysdeps/unix/sysv/syscalls.list.
31661 * sysdeps/unix/sysv/syscalls.list: Remove file.
31663 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
31666 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
31667 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
31668 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
31669 (__LC_IDENTIFICATION): Make these macros useful in #if
31670 expressions, as required by C99.
31672 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
31674 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
31675 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
31678 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
31680 * stdlib/longlong.h: Updated from GCC.
31682 2012-05-09 Andreas Jaeger <aj@suse.de>
31684 * nscd/nscd.c (run_modes): Make named enum, reorder so that
31685 default is first entry.
31686 (run_mode): Set type.
31687 (main): Remove informal message about syslog.
31688 (options): Fix typo.
31691 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
31694 (llrintf): Likewise.
31695 (llrint): Likewise.
31698 (nearbyint): Likewise.
31699 (nearbyintf): Likewise.
31701 2012-05-09 Andreas Jaeger <aj@suse.de>
31702 Pedro Alves <palves@redhat.com>
31704 * nscd/nscd.c (run_mode): Use enum.
31705 (main): Cleanup coding style issue.
31707 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
31708 Andreas Jaeger <aj@suse.de>
31710 * nscd/nscd.c (go_background): Replaced with...
31711 (run_mode): ... this.
31712 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
31713 (options): Add -F --foreground.
31714 (main): Implement it.
31715 (parse_opt): Parse it.
31717 2012-05-09 Andreas Jaeger <aj@suse.de>
31720 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
31721 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
31722 -Wconversion warning.
31723 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
31726 2012-05-09 Joseph Myers <joseph@codesourcery.com>
31728 * conform/data/locale.h-data (NULL): Use macro-constant. Require
31730 (LC_ALL): Use macro-int-constant.
31731 (LC_COLLATE): Likewise.
31732 (LC_CTYPE): Likewise.
31733 (LC_MESSAGES): Likewise.
31734 (LC_MONETARY): Likewise.
31735 (LC_NUMERIC): Likewise.
31736 (LC_TIME): Likewise.
31737 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
31738 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
31739 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31740 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
31742 [C99-based standards] (float_t): Expect type.
31743 [C99-based standards] (double_t): Expect type.
31744 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
31746 [C99-based standards] (HUGE_VALL): Likewise.
31747 [C99-based standards] (INFINITY): Likewise.
31748 [C99-based standards] (NAN): Likewise.
31749 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
31750 [C99-based standards] (FP_NAN): Likewise.
31751 [C99-based standards] (FP_NORMAL): Likewise.
31752 [C99-based standards] (FP_SUBNORMAL): Likewise.
31753 [C99-based standards] (FP_ZERO): Likewise.
31754 [C99-based standards] (FP_FAST_FMA): Use
31755 optional-macro-int-constant. Specify type. Require == 1.
31756 [C99-based standards] (FP_FAST_FMAF): Likewise.
31757 [C99-based standards] (FP_FAST_FMAL): Likewise.
31758 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
31759 [C99-based standards] (FP_ILOGBNAN): Likewise.
31760 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
31762 [C99-based standards] (MATH_ERREXCEPT): Likewise.
31763 [C99-based standards] (math_errhandling): Specify type.
31764 [ISO99 || ISO11] (signgam): Do not allow.
31765 [non-C99-based standards] (copysignf): Do not allow.
31766 [non-C99-based standards] (exp2f): Likewise.
31767 [non-C99-based standards] (log2f): Likewise.
31768 [non-C99-based standards] (modff): Allow.
31769 [non-C99-based standards] (erff): Do not allow.
31770 [non-C99-based standards] (erfcf): Likewise.
31771 [non-C99-based standards] (gammaf): Likewise.
31772 [non-C99-based standards] (hypotf): Likewise.
31773 [non-C99-based standards] (j0f): Likewise.
31774 [non-C99-based standards] (j1f): Likewise.
31775 [non-C99-based standards] (jnf): Likewise.
31776 [non-C99-based standards] (lgammaf): Likewise.
31777 [non-C99-based standards] (tgammaf): Likewise.
31778 [non-C99-based standards] (y0f): Likewise.
31779 [non-C99-based standards] (y1f): Likewise.
31780 [non-C99-based standards] (ynf): Likewise.
31781 [non-C99-based standards] (isnanf): Likewise.
31782 [non-C99-based standards] (acoshf): Likewise.
31783 [non-C99-based standards] (asinhf): Likewise.
31784 [non-C99-based standards] (atanhf): Likewise.
31785 [non-C99-based standards] (cbrtf): Likewise.
31786 [non-C99-based standards] (expm1f): Likewise.
31787 [non-C99-based standards] (ilogbf): Likewise.
31788 [non-C99-based standards] (log1pf): Likewise.
31789 [non-C99-based standards] (logbf): Likewise.
31790 [non-C99-based standards] (nextafterf): Likewise.
31791 [non-C99-based standards] (remainderf): Likewise.
31792 [non-C99-based standards] (rintf): Likewise.
31793 [non-C99-based standards] (scalbf): Likewise.
31794 [non-C99-based standards] (copysignl): Likewise.
31795 [non-C99-based standards] (exp2l): Likewise.
31796 [non-C99-based standards] (log2l): Likewise.
31797 [non-C99-based standards] (modfl): Allow.
31798 [non-C99-based standards] (erfl): Do not allow.
31799 [non-C99-based standards] (erfcl): Likewise.
31800 [non-C99-based standards] (gammal): Likewise.
31801 [non-C99-based standards] (hypotl): Likewise.
31802 [non-C99-based standards] (j0l): Likewise.
31803 [non-C99-based standards] (j1l): Likewise.
31804 [non-C99-based standards] (jnl): Likewise.
31805 [non-C99-based standards] (lgammal): Likewise.
31806 [non-C99-based standards] (tgammal): Likewise.
31807 [non-C99-based standards] (y0l): Likewise.
31808 [non-C99-based standards] (y1l): Likewise.
31809 [non-C99-based standards] (ynl): Likewise.
31810 [non-C99-based standards] (isnanl): Likewise.
31811 [non-C99-based standards] (acoshl): Likewise.
31812 [non-C99-based standards] (asinhl): Likewise.
31813 [non-C99-based standards] (atanhl): Likewise.
31814 [non-C99-based standards] (cbrtl): Likewise.
31815 [non-C99-based standards] (expm1l): Likewise.
31816 [non-C99-based standards] (ilogbl): Likewise.
31817 [non-C99-based standards] (log1pl): Likewise.
31818 [non-C99-based standards] (logbl): Likewise.
31819 [non-C99-based standards] (nextafterl): Likewise.
31820 [non-C99-based standards] (remainderl): Likewise.
31821 [non-C99-based standards] (rintl): Likewise.
31822 [non-C99-based standards] (scalbl): Likewise.
31823 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31824 [non-C99-based standards] (FP_*): Do not allow.
31825 [C99-based standards] (FP_*): Change to
31826 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
31827 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
31829 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
31830 (SIG_ERR): Likewise.
31831 [X/Open-based standards] (SIG_HOLD): Likewise.
31832 (SIG_IGN): Likewise.
31833 (SIGABRT): Use macro-int-constant. Specify type. Require
31835 (SIGFPE): Likewise.
31836 (SIGILL): Likewise.
31837 (SIGINT): Likewise.
31838 (SIGSEGV): Likewise.
31839 (SIGTER): Likewise.
31840 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
31841 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
31842 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
31843 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
31844 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
31845 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
31846 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
31847 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
31848 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
31849 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
31850 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
31851 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
31852 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
31853 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
31854 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
31855 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
31856 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
31857 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
31858 [X/Open-based standards] (SIGTRAP): Likewise.
31859 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
31860 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
31861 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
31862 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
31863 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
31866 2012-05-08 Ian Wienand <ianw@vmware.com>
31869 * time/tzset.c (__tzset_parse_tz): Update default rules for
31870 daylight time changes in the Energy Policy Act of 2005.
31872 2012-05-09 Andreas Jaeger <aj@suse.de>
31875 * elf/ldconfig.c (parse_conf): Change string to make clear that
31876 ldconfig only issued a warning if ld.so.conf does not exist.
31878 2012-05-08 David S. Miller <davem@davemloft.net>
31880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
31881 movxtod instead of popping the value on the stack.
31883 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31885 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
31887 * config.h.in: Add HAVE_ARM_PCS_VFP.
31889 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
31892 * include/features.h: Warn if user requests __FORTIFY_SOURCE
31893 checking but the checks are disabled for any reason.
31895 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
31897 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
31898 and ELF64_R_TYPE with ELFW(R_TYPE).
31900 2012-05-08 Joseph Myers <joseph@codesourcery.com>
31902 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
31903 (ulimit): Likewise.
31905 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
31906 (settimeofday): Likewise.
31908 2012-05-08 Mike Frysinger <vapier@gentoo.org>
31910 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
31911 a struct th_u2 inside the union, and move tu_block/tu_code into
31912 a new th_u3 union of tu_block/tu_code inside of that. Move
31913 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
31914 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
31915 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
31916 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
31917 (th_stuff): Change to th_u1.tu_stuff.
31919 (th_msg): Change to th_u1.th_u2.tu_data.
31921 2012-05-07 David S. Miller <davem@davemloft.net>
31923 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31926 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
31927 (SETUP_PIC_REG): Use it.
31928 (SETUP_PIC_REG_LEAF): Use it.
31930 2012-05-07 Joseph Myers <joseph@codesourcery.com>
31934 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31936 (EXPL_FINITE): Likewise.
31937 (FLDLOG): Likewise.
31938 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
31939 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
31941 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31943 (EXPL_FINITE): Likewise.
31944 (FLDLOG): Likewise.
31945 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
31946 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
31948 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
31949 test of -max_value argument for long double.
31950 * sysdeps/i386/fpu/libm-test-ulps: Update.
31951 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31953 2012-05-06 David S. Miller <davem@davemloft.net>
31955 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
31956 quad soft-float symbols whose references which are compiler
31958 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
31960 2012-05-06 Joseph Myers <joseph@codesourcery.com>
31964 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31966 (EXPL_FINITE): Likewise.
31967 (FLDLOG): Likewise.
31970 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
31971 Adjust comments for base varying.
31972 (__expl_finite): Change alias to EXPL_FINITE.
31973 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
31975 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
31976 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
31977 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
31978 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
31979 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31981 (EXPL_FINITE): Likewise.
31982 (FLDLOG): Likewise.
31985 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
31986 Adjust comments for base varying.
31987 (__expl_finite): Change alias to EXPL_FINITE.
31988 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
31990 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31993 * math/libm-test.inc (check_float_internal): Correct ulp
31994 calculation for subnormal expected results.
31996 2012-05-06 Andreas Jaeger <aj@suse.de>
31998 * Makeconfig (+math-flags): New, set to -frounding-math.
31999 (+cflags): Add +math-flags so that all of glibc gets compiled with
32002 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
32004 2012-05-05 Joseph Myers <joseph@codesourcery.com>
32006 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
32012 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
32013 (__ieee754_expl): Allow for and saturate large arguments.
32014 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
32015 (u_threshold): Likewise.
32016 (__exp): Call __ieee754_exp before checking for overflow and
32018 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
32019 (u_threshold): Likewise.
32020 (__expf): Call __ieee754_expf before checking for overflow and
32022 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
32023 (u_threshold): Likewise.
32024 (__expl): Call __ieee754_expl before checking for overflow and
32026 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
32027 (__ieee754_expl): Allow for and saturate large arguments.
32028 * math/libm-test.inc (exp_test): Add another test. Do not allow
32029 missing overflow exception on overflow.
32030 (expm1_test): Do not allow missing overflow exception on overflow.
32032 * sysdeps/i386/fpu/e_expl.c: Move to ...
32033 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
32034 rather than using inline asm.
32035 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
32036 * sysdeps/x86_64/fpu/e_expl.S: Copy from
32037 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
32039 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
32042 (signal): Likewise.
32046 2012-05-04 Joseph Myers <joseph@codesourcery.com>
32048 * sysdeps/unix/syscalls.list (adjtime): Add entry from
32049 sysdeps/unix/common/syscalls.list.
32050 (fchmod): Likewise.
32051 (fchown): Likewise.
32052 (ftruncate): Likewise.
32053 (getrusage): Likewise.
32054 (gettimeofday): Likewise.
32055 (setpgid): Likewise.
32056 (setregid): Likewise.
32057 (setreuid): Likewise.
32058 (sigaction): Likewise.
32059 (truncate): Likewise.
32060 (vhangup): Likewise.
32061 * sysdeps/unix/common/syscalls.list: Remove file.
32062 * sysdeps/unix/bsd/Implies: Don't include unix/common.
32063 * sysdeps/unix/sysv/linux/Implies: Likewise.
32065 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
32067 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
32068 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
32069 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
32071 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
32073 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
32075 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
32076 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
32078 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
32079 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
32081 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
32082 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
32084 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
32085 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
32087 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
32088 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
32090 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
32091 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
32093 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
32095 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
32097 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
32099 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
32101 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
32102 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
32104 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
32106 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
32108 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
32110 2012-05-04 Joseph Myers <joseph@codesourcery.com>
32112 * sysdeps/unix/common/bits/dirent.h: Remove file.
32113 * sysdeps/unix/common/bits/fcntl.h: Likewise.
32115 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
32116 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
32117 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
32118 * sysdeps/unix/bsd/isatty.c: Likewise.
32119 * sysdeps/unix/bsd/tcdrain.c: Likewise.
32120 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
32121 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
32123 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32126 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
32127 long double comparison inaccuracies.
32128 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
32129 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32131 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
32133 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
32134 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
32136 2012-05-04 Joseph Myers <joseph@codesourcery.com>
32139 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
32140 nonzero digits before rounding a hex value.
32141 * stdlib/tst-strtod.c (tests): Add another test.
32143 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32145 * sysdeps/s390/fpu/libm-test-ulps: Update.
32147 2012-05-03 Andreas Jaeger <aj@suse.de>
32149 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
32150 does not get optimized out.
32151 (malloc_opt_barrier): New.
32153 2012-05-03 Andreas Jaeger <aj@suse.de>
32154 Roland McGrath <roland@hack.frob.com>
32156 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
32157 intermediate file deletion.
32158 (generated): Add .symlist files.
32160 2012-05-03 Joseph Myers <joseph@codesourcery.com>
32163 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
32164 Redirect under this condition.
32165 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
32166 [__USE_GNU] (__dprintf_chk): Not under this condition.
32167 [__USE_GNU] (__vdprintf_chk): Likewise.
32168 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
32169 under this condition.
32170 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
32171 [__USE_XOPEN2K8] (dprintf): Define under this condition.
32172 [__USE_XOPEN2K8] (vdprintf): Likewise.
32173 [__USE_GNU] (__dprintf_chk): Not under this condition.
32174 [__USE_GNU] (__vdprintf_chk): Likewise.
32175 [__USE_GNU] (dprintf): Likewise.
32176 [__USE_GNU] (vdprintf): Likewise.
32178 2012-05-03 Roland McGrath <roland@hack.frob.com>
32180 * elf/Makefile (common-generated): Set this instead of generated for
32181 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
32182 $(all-built-dso)-derived lists.
32184 2012-05-03 Andreas Jaeger <aj@suse.de>
32186 * sysdeps/i386/fpu/libm-test-ulps: Update.
32189 * FAQ.in: Likewise.
32190 * scripts/gen-FAQ.pl: Likewise.
32191 * manual/install.texi (Installation): Point to online location of
32193 * Makefile (files-for-dist): Remove FAQ.
32196 2012-05-02 Allan McRae <allan@archlinux.org>
32198 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
32199 (LDFLAGS-reldepmod5.so): Likewise.
32200 (LDFLAGS-reldep6mod1.so): Likewise.
32201 (LDFLAGS-reldep6mod4.so): Likewise.
32202 (LDFLAGS-reldep8mod3.so): Likewise.
32203 (LDFLAGS-unload4mod1.so): Likewise.
32204 (LDFLAGS-unload4mod2.so): Likewise.
32205 (LDFLAGS-tst-initorder): Likewise.
32206 (LDFLAGS-tst-initordera2.so): Likewise.
32207 (LDFLAGS-tst-initordera3.so): Likewise.
32208 (LDFLAGS-tst-initordera4.so): Likewise.
32209 (LDFLAGS-tst-initorderb2.so): Likewise.
32210 (LDFLAGS-noload): Likewise.
32211 (LDFLAGS-next): Likewise.
32212 (LDFLAGS-order2mod1.so): Likewise.
32213 (LDFLAGS-order2mod2.so): Likewise.
32214 (LDFLAGS-tst-initorder2): Likewise.
32215 (LDFLAGS-tst-initorder2a.so): Likewise.
32216 (LDFLAGS-tst-initorder2b.so): Likewise.
32217 (LDFLAGS-tst-initorder2c.so): Likewise.
32218 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
32220 2012-05-02 David S. Miller <davem@davemloft.net>
32222 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32224 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
32227 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
32229 2012-05-02 Andreas Jaeger <aj@suse.de>
32231 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
32232 since we manipulate rounding mode.
32233 (CPPFLAGS-test-idouble.c): Likewise.
32234 (CPPFLAGS-test-ifloat.c): Likewise.
32235 (CFLAGS-test-ldouble.c): Likewise.
32236 (CFLAGS-test-double.c): Likewise.
32237 (CFLAGS-test-float.c): Likewise.
32238 (CFLAGS-test-misc.c): Likewise.
32239 (CFLAGS-test-test-fenv.c): Likewise.
32241 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32245 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
32246 comparisons to determine direction to adjust input.
32248 2012-05-01 Roland McGrath <roland@hack.frob.com>
32250 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
32251 output to the target.
32253 * scripts/localplt.awk: New file.
32254 * elf/Makefile ($(objpfx)check-localplt): Target removed.
32255 (check-localplt-CFLAGS): Variable removed.
32256 ($(all-built-dso:=.jmprel)): New static pattern rule.
32257 (generated): Add those targets.
32258 (localplt-built-dso): New variable.
32259 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
32261 * elf/check-localplt.c: File removed.
32263 * scripts/check-execstack.awk: New file.
32264 * elf/Makefile ($(objpfx)check-execstack): Target removed.
32265 (check-execstack-CFLAGS): Variable removed.
32266 ($(objpfx)check-execstack.h): Target removed.
32267 ($(objpfx)execstack-default): New target.
32268 (generated): Add that instead of check-execstack.h.
32269 ($(all-built-dso:=.phdr)): New static pattern rule.
32270 (generated): Add those targets.
32271 * elf/check-execstack.c: File removed.
32273 * scripts/check-textrel.awk: New file.
32274 * elf/Makefile ($(objpfx)check-textrel): Target removed.
32275 (check-textrel-CFLAGS): Variable removed.
32276 (all-built-dso): Use := to define.o
32277 ($(all-built-dso:=.dyn)): New static pattern rule.
32278 (generated): Add those targets.
32279 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
32280 * config.make.in (READELF): New substituted variable.
32281 * elf/check-textrel.c: File removed.
32283 2012-05-01 Joseph Myers <joseph@codesourcery.com>
32285 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
32287 * conform/data/ctype.h-data [C99-based standards] (isblank):
32289 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
32290 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
32291 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32292 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
32293 Specify type. Require positive value.
32294 (EILSEQ): Likewise.
32295 (ERANGE): Likewise.
32296 [ISO || POSIX] (EILSEQ): Do not expect.
32297 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
32298 Specify type. Require positive value.
32299 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
32300 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
32301 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
32302 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
32303 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
32304 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
32305 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
32306 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
32307 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
32308 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
32309 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
32310 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
32311 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
32312 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
32313 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
32314 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
32315 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
32316 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
32317 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
32318 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
32319 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
32320 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
32321 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
32322 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
32323 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
32324 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
32325 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
32326 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
32327 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
32328 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
32329 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
32330 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
32331 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
32332 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
32333 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
32334 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
32335 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
32336 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
32337 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
32338 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
32339 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
32340 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
32341 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
32342 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
32343 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
32344 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
32345 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
32346 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
32347 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
32348 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
32349 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
32350 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
32351 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
32352 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
32353 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
32354 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
32355 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
32356 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
32357 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
32358 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
32359 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
32360 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
32361 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
32362 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
32363 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
32364 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
32365 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
32366 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
32367 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
32368 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
32369 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
32370 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
32371 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
32372 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
32373 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
32374 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
32375 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
32377 (FLT_ROUNDS): Expect as macro, not constant.
32378 (FLT_MANT_DIG): Use macro-int-constant.
32379 (DBL_MANT_DIG): Likewise.
32380 (LDBL_MANT_DIG): Likewise.
32381 (FLT_DIG): Likewise.
32382 (DBL_DIG): Likewise.
32383 (LDBL_DIG): Likewise.
32384 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
32385 (DBL_MIN_EXP): Likewise.
32386 (LDBL_MIN_EXP): Likewise.
32387 (FLT_MAX_EXP): Use macro-int-constant.
32388 (DBL_MAX_EXP): Likewise.
32389 (LDBL_MAX_EXP): Likewise.
32390 (FLT_MAX_10_EXP): Likewise.
32391 (DBL_MAX_10_EXP): Likewise.
32392 (LDBL_MAX_10_EXP): Likewise.
32393 (FLT_MAX): Use macro-constant.
32394 (DBL_MAX): Likewise.
32395 (LDBL_MAX): Likewise.
32396 (FLT_EPSILON): Use macro-constant. Give upper bound.
32397 (DBL_EPSILON): Likewise.
32398 (LDBL_EPSILON): Likewise.
32399 (FLT_MIN): Likewise.
32400 (DBL_MIN): Likewise.
32401 (LDBL_MIN): Likewise.
32402 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
32403 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
32404 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
32405 [ISO11] (FLT_HAS_SUBNORM): Likewise.
32406 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
32407 [ISO11] (DBL_DECIMAL_DIG): Likewise.
32408 [ISO11] (FLT_DECIMAL_DIG): Likewise.
32409 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
32410 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
32411 [ISO11] (FLT_TRUE_MIN): Likewise.
32412 [ISO11] (LDBL_TRUE_MIN): Likewise.
32413 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32414 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
32415 (SCHAR_MIN): Use macro-int-constant. Specify type.
32416 (SCHAR_MAX): Likewise.
32417 (UCHAR_MAX): Likewise.
32418 (CHAR_MIN): Likewise.
32419 (CHAR_MAX): Likewise.
32420 (MB_LEN_MAX): Use macro-int-constant.
32421 (SHRT_MIN): Use macro-int-constant. Specify type.
32422 (SHRT_MAX): Likewise.
32423 (USHRT_MAX): Likewise.
32424 (INT_MAX): Likewise.
32425 (INT_MIN): Use macro-int-constant. Specify type. Make upper
32427 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
32429 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
32431 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
32432 bound negative. Suffix upper bound with "L".
32433 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
32435 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
32437 [C99-based standards] (LLONG_MAX): Likewise.
32438 [C99-based standards] (ULLONG_MAX): Likewise.
32439 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
32441 [ISO11] (max_align_t): Require type.
32442 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32444 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
32445 from $CFLAGS, without defining away __attribute__ calls.
32446 (checknamespace): Use $CFLAGS_namespace.
32448 * conform/conformtest.pl (@keywords): Only include C99 keywords
32449 for standards based on C99 or C11.
32451 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
32453 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
32456 * conform/conformtest.pl: Handle "macro-int-constant" and test for
32457 usability of symbols in #if.
32459 * conform/conformtest.pl: If macro or constant types start
32460 "promoted:", expect the symbol to be of the following type
32461 promoted by the integer promotions.
32463 * conform/conformtest.pl: Parse all "constant" and "macro" lines
32464 in one place. Also handle "macro-constant".
32466 * conform/conformtest.pl: Only accept expected macro values with
32467 "==". Parse all "macro" lines in one place.
32468 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
32470 * conform/conformtest.pl: Handle braced types on "constant" lines
32471 instead of handling "typed-constant".
32472 * conform/data/signal.h-data: Use "constant" instead of
32475 * conform/conformtest.pl: Handle "optional-" at start of lines in
32476 one place rather than duplicating several cases. Handle each
32477 format of "macro" line with initial "optional-".
32479 * conform/conformtest.pl: Only accept expected constant or
32480 optional-constant values with "==". Parse all "constant" lines in
32481 one place. Parse all "optional-constant" lines in one place.
32482 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
32483 * conform/data/fmtmsg.h-data: Likewise.
32484 * conform/data/netinet/in.h-data: Likewise.
32485 * conform/data/tar.h-data: Likewise.
32486 * conform/data/limits.h-data: Use "==" form on "constant" and
32487 "optional-constant" lines.
32489 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
32490 Use -std=c99 for XOPEN2K.
32491 (@knownproblems): Remove.
32492 (newtoken): Don't check %isknown.
32494 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
32495 Do not expect macro.
32496 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
32497 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
32498 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
32499 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
32500 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
32501 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
32502 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
32503 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
32504 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
32505 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
32506 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
32507 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
32508 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
32509 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
32510 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
32511 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
32512 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
32513 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
32514 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
32515 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
32516 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
32517 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
32518 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
32519 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
32520 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
32521 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
32522 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
32523 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
32524 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
32525 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
32526 [XPG3] (acosh): Likewise.
32527 [XPG3] (asinh): Likewise.
32528 [XPG3] (atanh): Likewise.
32529 [XPG3] (cbrt): Likewise.
32530 [XPG3] (expm1): Likewise.
32531 [XPG3] (ilogb): Likewise.
32532 [XPG3] (log1p): Likewise.
32533 [XPG3] (logb): Likewise.
32534 [XPG3] (nextafter): Likewise.
32535 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
32536 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
32537 [XPG3] (remainder): Likewise.
32538 [XPG3] (rint): Likewise.
32539 [XPG3 || XPG4 || UNIX98] (round): Likewise.
32540 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
32541 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
32542 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
32543 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
32544 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
32545 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
32546 [UNIX98 || XOPEN2K] (scalb): Expect.
32547 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
32548 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
32549 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
32550 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
32551 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
32552 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
32553 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
32554 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
32555 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
32556 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
32557 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
32558 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
32559 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
32560 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
32561 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
32562 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
32563 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
32564 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
32565 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
32566 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
32567 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
32568 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
32569 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
32570 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
32571 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
32572 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
32573 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
32574 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
32575 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
32576 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
32577 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
32578 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
32579 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
32580 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
32581 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
32582 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
32583 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
32584 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
32585 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
32586 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
32587 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
32588 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
32589 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
32590 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
32591 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
32592 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
32593 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
32594 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
32595 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
32596 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
32597 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
32598 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
32599 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
32600 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
32601 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
32602 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
32603 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
32604 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
32605 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
32606 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
32607 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
32608 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
32609 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
32610 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
32611 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
32612 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
32613 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
32614 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
32615 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
32616 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
32617 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
32618 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
32619 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
32620 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
32621 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
32622 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
32623 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
32624 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
32625 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
32626 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
32627 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
32628 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
32629 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
32630 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
32631 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
32632 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
32633 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
32634 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
32635 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
32636 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
32637 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
32638 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
32639 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
32640 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
32641 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
32642 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
32643 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
32644 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
32645 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
32646 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
32647 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
32648 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
32649 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
32650 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
32651 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
32652 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
32653 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
32654 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
32655 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
32656 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
32657 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
32658 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
32659 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
32660 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
32661 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
32662 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
32663 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
32664 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
32665 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
32666 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
32667 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
32668 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
32669 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
32670 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
32671 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
32672 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
32673 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
32674 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
32675 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
32676 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
32677 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
32678 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
32679 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
32680 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
32681 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
32682 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
32683 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
32685 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
32686 _XOPEN_SOURCE_EXTENDED for XPG4.
32688 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
32690 * Makeconfig (localtime): Remove variable.
32691 (inst_localtime-file): Likewise.
32693 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
32695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
32697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
32701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
32703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
32705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
32707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
32711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32714 2012-05-01 Joseph Myers <joseph@codesourcery.com>
32718 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
32719 comparisons to determine direction to adjust input.
32720 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
32721 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
32722 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
32724 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
32726 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
32728 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
32729 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
32731 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
32733 * math/libm-test.inc (nexttoward_test): Add more tests.
32735 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
32738 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
32739 in version GLIBC_2.1, not GLIBC_2.0.
32740 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
32743 2012-04-30 Joseph Myers <joseph@codesourcery.com>
32746 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
32748 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
32749 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
32750 * math/libm-test.inc (acos_test): Add more tests.
32751 (asin_test): Likewise.
32752 * sysdeps/i386/fpu/libm-test-ulps: Update.
32753 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32756 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
32758 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
32759 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
32760 * math/libm-test.inc (acos_test_tonearest): New function.
32761 (acos_test_towardzero): Likewise.
32762 (acos_test_downward): Likewise.
32763 (acos_test_upward): Likewise.
32764 (asin_test_tonearest): Likewise.
32765 (asin_test_towardzero): Likewise.
32766 (asin_test_downward): Likewise.
32767 (asin_test_upward): Likewise.
32768 (main): Call the new functions.
32769 * sysdeps/i386/fpu/libm-test-ulps: Update.
32770 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32774 * math/e_exp10.c: Include <float.h>.
32775 (__ieee754_exp10): Handle underflow here rather than multiplying
32776 large negative argument by M_LN10.
32777 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
32779 * math/e_exp10l.c: Include <float.h>.
32780 (__ieee754_exp10l): Handle underflow here rather than multiplying
32781 large negative argument by M_LN10l.
32782 * math/libm-test.inc (exp10_test): Add another test. Do not allow
32783 spurious overflow exception on underflow.
32785 2012-04-29 Marek Polacek <polacek@redhat.com>
32787 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
32788 (__fortify_function): New macro.
32789 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
32790 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
32791 __extern_always_inline.
32792 * libio/bits/stdio2.h: Likewise.
32793 * libio/bits/stdio.h: Likewise.
32794 * string/string.h: Likewise.
32795 * string/bits/string3.h: Likewise.
32796 * include/stdio.h: Likewise.
32797 * stdlib/bits/stdlib.h: Likewise.
32798 * stdlib/stdlib.h: Likewise.
32799 * rt/bits/mqueue2.h: Likewise.
32800 * rt/mqueue.h: Likewise.
32801 * posix/bits/unistd.h: Likewise.
32802 * posix/unistd.h: Likewise.
32803 * io/bits/poll2.h: Likewise.
32804 * io/bits/fcntl2.h: Likewise.
32805 * io/fcntl.h: Likewise.
32806 * io/sys/poll.h: Likewise.
32807 * misc/bits/syslog.h: Likewise.
32808 * misc/bits/syslog-ldbl.h: Likewise.
32809 * misc/sys/syslog.h: Likewise.
32810 * socket/bits/socket2.h: Likewise.
32811 * socket/sys/socket.h: Likewise.
32812 * debug/tst-chk1.c: Likewise.
32813 * wcsmbs/bits/wchar2.h: Likewise.
32814 * wcsmbs/bits/wchar-ldbl.h: Likewise.
32815 * wcsmbs/wchar.h: Likewise.
32817 2012-04-29 Andreas Jaeger <aj@suse.de>
32819 * Makerules (tests): Remove enable-check-abi protection.
32820 (check-abi-warn): Remove.
32821 (check-abi-%): Remove check-abi-warn usage.
32823 * configure.in: Remove check-abi configure option.
32824 * configure: Regenerated.
32825 * config.make.in (enable-check-abi): Remove.
32827 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
32830 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
32831 double functions to double *_finite functions.
32834 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
32835 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
32837 * stdio-common/Makefile (tests): Add tst-sprintf3.
32838 * stdio-common/tst-sprintf3.c: New file.
32840 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
32841 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
32843 2012-04-28 Joseph Myers <joseph@codesourcery.com>
32845 * conform/conformtest.pl: Remove duplicate typed-constant
32848 2012-04-28 David S. Miller <davem@davemloft.net>
32850 * Makerules (%.abilist): Add vpath on sysdep_dirs.
32851 (check-abi-%): Remove AWK script prerequisite and explicit
32853 (check-abi): Rewrite to just diff the symlist with the abilist.
32854 (config-tls, config-abi-config): Delete, no longer used.
32855 (update-abi-%): Remove AWK script and explicit abilist directory.
32856 (update-abi): Rewrite to simply compare and conditionally copy the
32857 symlist and the sysdep abilist file. Remove update-abi-config
32859 * abilist/ld.abilist: Remove.
32860 * abilist/libBrokenLocale.abilist: Remove.
32861 * abilist/libanl.abilist: Remove.
32862 * abilist/libcrypt.abilist: Remove.
32863 * abilist/libdl.abilist: Remove.
32864 * abilist/librt.abilist: Remove.
32865 * abilist/libthread_db.abilist: Remove.
32866 * abilist/libutil.abilist: Remove.
32867 * scripts/extract-abilist.awk: Remove.
32868 * scripts/merge-abilist.awk: Remove.
32869 * sysdeps/generic/libcidn.abilist: New file.
32870 * sysdeps/generic/libnss_compat.abilist: New file.
32871 * sysdeps/generic/libnss_db.abilist: New file.
32872 * sysdeps/generic/libnss_dns.abilist: New file.
32873 * sysdeps/generic/libnss_files.abilist: New file.
32874 * sysdeps/generic/libnss_hesiod.abilist: New file.
32875 * sysdeps/generic/libnss_nis.abilist: New file.
32876 * sysdeps/generic/libnss_nisplus.abilist: New file.
32877 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
32878 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
32879 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
32881 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
32882 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
32883 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
32884 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
32885 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
32886 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
32887 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
32888 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
32889 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
32891 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
32892 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
32893 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
32894 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
32896 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
32897 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
32898 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
32899 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
32900 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
32901 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
32903 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
32904 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
32905 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
32907 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
32908 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
32910 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
32912 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
32914 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
32916 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
32918 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
32920 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
32922 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
32924 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
32926 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
32928 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
32930 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
32932 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
32934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
32936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
32938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
32940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
32942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
32944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
32946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
32948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
32950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
32954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
32956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
32958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
32960 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
32961 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
32963 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
32965 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
32967 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
32969 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
32971 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
32973 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
32975 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32977 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
32979 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
32981 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
32983 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
32985 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
32986 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
32988 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
32990 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
32992 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
32994 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
32996 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
32998 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
33000 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33002 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
33004 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
33006 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
33008 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
33010 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
33011 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
33012 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
33014 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
33015 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
33016 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
33017 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
33018 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
33019 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
33020 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
33021 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
33022 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
33023 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
33024 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
33025 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
33027 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
33029 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
33031 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
33033 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
33035 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
33037 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
33039 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
33041 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
33043 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
33045 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
33047 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
33049 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
33050 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
33052 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
33054 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
33056 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
33058 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
33060 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
33062 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
33064 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
33066 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
33068 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
33070 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
33072 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
33075 2012-04-28 Joseph Myers <joseph@codesourcery.com>
33077 * conform/conformtest.pl: Fix typo in handling typed-constant from
33080 2012-04-27 Joseph Myers <joseph@codesourcery.com>
33082 * README: Cut down references to pre-2.6 Linux kernels and
33083 Linuxthreads. Update lists of configurations in libc and ports
33084 and sort alphabetically. Say "or newer" with Linux kernel version
33087 * config.h.in [IS_IN_build]: Allow compiling without optimization.
33089 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33092 * math/libm-test.inc (logb_test_downward): New test to expose
33093 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
33096 2012-04-27 Joseph Myers <joseph@codesourcery.com>
33099 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
33101 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
33102 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
33104 2012-04-26 Joseph Myers <joseph@codesourcery.com>
33106 * sysdeps/unix/i386/brk.S: Remove file.
33107 * sysdeps/unix/i386/dl-brk.S: Likewise.
33108 * sysdeps/unix/i386/pipe.S: Likewise.
33109 * sysdeps/unix/i386/sigreturn.S: Likewise.
33110 * sysdeps/unix/i386/syscall.S: Likewise.
33111 * sysdeps/unix/i386/vfork.S: Likewise.
33112 * sysdeps/unix/i386/wait.S: Likewise.
33114 * sysdeps/unix/common/tcsendbrk.c: Move to ...
33115 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
33117 * configure.in (arm*-none*): Do not allow without
33118 --enable-hacker-mode.
33119 (netbsd*): Remove case setting base_os.
33120 (386bsd*): Likewise.
33121 (freebsd*): Likewise.
33124 (sunos*): Likewise.
33125 (ultrix*): Likewise.
33126 (newsos*): Likewise.
33127 (dynix*): Likewise.
33133 (minix*): Likewise.
33134 (irix4*): Likewise.
33135 (irix6*): Likewise.
33136 (solaris[2-9]*): Likewise.
33138 * configure: Regenerated.
33140 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33143 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
33144 overflow or cancellation in calculating denominator.
33145 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
33146 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
33147 down expression to avoid unexpected rounding in newer GCCs.
33148 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
33150 2012-04-26 David S. Miller <davem@davemloft.net>
33152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
33153 long-double compat symbols.
33154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
33155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
33156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
33157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
33158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
33159 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
33160 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
33161 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
33162 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
33163 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
33164 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
33165 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
33166 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
33168 2012-04-25 David S. Miller <davem@davemloft.net>
33170 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
33171 HWCAP_* values only after the memory barriers have been defined.
33172 (atomic_full_barrier): Define.
33173 (atomic_read_barrier): Define.
33174 (atomic_write_barrier): Define.
33176 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33178 * shlib-versions: Add libgcc_s version information.
33179 * sysdeps/generic/libgcc_s.h: Remove.
33180 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
33182 * sysdeps/gnu/unwind-resume.c: Likewise.
33183 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
33185 2012-04-25 David S. Miller <davem@davemloft.net>
33187 * sysdeps/unix/sparc/brk.S: Delete.
33188 * sysdeps/unix/sparc/dl-brk.S: Delete.
33189 * sysdeps/unix/sparc/pipe.S: Delete.
33190 * sysdeps/unix/sparc/sysdep.S: Delete.
33191 * sysdeps/unix/sparc/sysdep.h: Delete.
33192 * sysdeps/unix/sparc/vfork.S: Delete.
33193 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
33194 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
33195 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
33196 (ret_ERRVAL, r0, r1, MOVE): Define.
33197 (JUMPTARGET): Remove.
33198 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
33199 sysdeps/unix/sparc/sysdep.h
33200 (ENTRY, END): Remove.
33201 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33203 2012-04-25 Joseph Myers <joseph@codesourcery.com>
33205 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
33206 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
33209 * timezone/README: Update upstream location and email address for
33211 * timezone/zdump.c: Update from tzcode 2012b.
33212 * timezone/zic.c: Likewise.
33214 * configure.in (libc_cv_as_needed): Remove test.
33215 * configure: Regenerated.
33216 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
33217 conditional definition.
33218 [$(have-as-needed) != yes] (no-as-needed): Likewise.
33219 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
33220 * config.make.in (have-as-needed): Remove variable.
33222 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
33223 Paul Pluzhnikov <ppluzhnikov@google.com>
33225 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
33228 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
33230 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
33231 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
33232 * sysdeps/sh/strlen.S: Likewise.
33234 2012-04-24 Joseph Myers <joseph@codesourcery.com>
33236 * sysdeps/unix/fork.S: Remove file.
33237 * sysdeps/unix/i386/fork.S: Likewise.
33238 * sysdeps/unix/sparc/fork.S: Likewise.
33240 * sysdeps/unix/system.c: Remove file.
33241 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
33243 * sysdeps/unix/getegid.S: Remove file.
33244 * sysdeps/unix/geteuid.S: Likewise.
33246 2012-04-24 Roland McGrath <roland@hack.frob.com>
33248 * scripts/check-localplt.awk: New file.
33249 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
33251 * scripts/data/localplt-generic.data: Add a comment.
33253 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
33254 NODE when __dir_mkfile failed.
33255 * sysdeps/mach/hurd/symlinkat.c: Likewise.
33256 Reported by Ludovic Courtès <ludo@gnu.org>.
33258 2012-04-24 Andreas Jaeger <aj@suse.de>
33260 * Makerules (common-clean): Also remove gen-as-const-headers
33263 2012-04-24 Joseph Myers <joseph@codesourcery.com>
33265 * Makerules (native-compile): Do not change working directory for
33266 build. Use $(OUTPUT_OPTION) in command.
33267 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
33269 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33272 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
33273 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
33274 * math/libm-test.inc (floor_test): Add more tests.
33275 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
33277 2012-04-24 Joseph Myers <joseph@codesourcery.com>
33279 * sysdeps/unix/getdents.c: Remove file.
33280 * sysdeps/unix/sysv/getdents.c: Likewise.
33281 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
33283 * sysdeps/unix/syscalls.list (madvise): Add syscall from
33284 sysdeps/unix/mman/syscalls.list.
33286 (mprotect): Likewise.
33288 (munmap): Likewise.
33289 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
33290 * sysdeps/unix/mman/syscalls.list: Remove.
33291 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
33293 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
33294 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
33295 * configure: Regenerated.
33296 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
33297 $(libgcc_s_suffix).
33298 * config.make.in (libgcc_s_suffix): Remove variable.
33300 2012-04-23 Joseph Myers <joseph@codesourcery.com>
33302 * sysdeps/unix/sysv/gethostname.c: Move to ...
33303 * sysdeps/posix/gethostname.c: ... here.
33305 * sysdeps/unix/execve.S: Remove file.
33307 * sysdeps/unix/_exit.S: Remove file.
33309 2012-04-23 Andreas Jaeger <aj@suse.de>
33312 * manual/Makefile: Remove make dist support, there's no
33313 need for a stand-alone documentation tar ball.
33314 (TEXI2DVI): Define always, it's not in Makeconfig.
33317 (edition): Removed.
33318 (glibc-doc-$(edition).tar): Removed
33322 (ETAGS): Remove, it's in Makeconfig.
33323 (move-if-change): Remove, it's in Makeconfig.
33325 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
33328 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
33329 (strtod, strtof, strtold, strtol, strtoul, strtoq)
33330 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
33331 (strtod_l, strtof_l, strtold_l): Remove __wur.
33332 It is not necessarily an error to ignore strtol's return value.
33333 One can reliably look at the stored endptr to decide whether
33334 the number had valid syntax.
33336 2012-04-21 Andreas Jaeger <aj@suse.de>
33339 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
33341 2012-04-21 Joseph Myers <joseph@codesourcery.com>
33343 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
33344 * sysdeps/unix/sysv/Versions: Remove file.
33346 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
33349 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33351 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
33354 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
33355 version from __vm86.
33357 2012-04-20 Joseph Myers <joseph@codesourcery.com>
33359 * sysdeps/unix/common/lxstat.c: Remove file.
33360 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
33362 * sysdeps/unix/sysv/Makefile: Remove file.
33364 * sysdeps/unix/sysv/direct.h: Remove file.
33366 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
33367 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
33368 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
33369 * sysdeps/unix/sysv/bits/signum.h: Likewise.
33370 * sysdeps/unix/sysv/bits/stat.h: Likewise.
33371 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
33372 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
33374 * sysdeps/unix/sysv/setrlimit.c: Remove file.
33376 * sysdeps/unix/xmknod.c: Remove file.
33377 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
33379 * sysdeps/unix/sysv/settimeofday.c: Remove file.
33381 * sysdeps/unix/sysv/i386/time.S: Remove file.
33383 * sysdeps/unix/fxstat.c: Remove file.
33384 * sysdeps/unix/xstat.c: Likewise.
33385 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
33387 * sysdeps/unix/sysv/sigaction.c: Remove file.
33389 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
33390 (sysdep_headers): Remove variable.
33391 [termio.h not in sysdep_headers] (generated): Likewise.
33392 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
33393 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
33394 * sysdeps/unix/sysv/tcdrain.c: Likewise.
33395 * sysdeps/unix/sysv/tcflow.c: Likewise.
33396 * sysdeps/unix/sysv/tcflush.c: Likewise.
33397 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
33398 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
33399 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
33400 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
33401 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
33403 * sysdeps/unix/siglist.c: Remove file.
33405 * sysdeps/unix/getppid.S: Remove file.
33407 * sysdeps/unix/mkdir.c: Remove file.
33408 * sysdeps/unix/rmdir.c: Likewise.
33410 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
33412 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
33414 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
33415 errlist-compat value.
33417 2012-04-18 David S. Miller <davem@davemloft.net>
33419 * sysdeps/generic/memcopy.h (reg_char): Delete.
33420 * debug/strcat_chk.c: Use char, not reg_char.
33421 * debug/strcpy_chk.c: Likewise.
33422 * debug/strncat_chk.c: Likewise.
33423 * debug/strncpy_chk.c: Likewise.
33424 * string/memchr.c: Likewise.
33425 * string/memrchr.c: Likewise.
33426 * string/rawmemchr.c: Likewise.
33427 * string/strcat.c: Likewise.
33428 * string/strchr.c: Likewise.
33429 * string/strchrnul.c: Likewise.
33430 * string/strcmp.c: Likewise.
33431 * string/strcpy.c: Likewise.
33432 * string/strncat.c: Likewise.
33433 * string/strncmp.c: Likewise.
33434 * string/strncpy.c: Likewise.
33436 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
33438 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
33439 __builtin_memcopy is called when src and dest ranges are known to not
33442 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
33444 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
33445 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
33446 fwd_align_merge macro call.
33447 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
33448 bwd_align_merge macro call.
33449 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
33451 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
33453 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
33454 bwd_align_merge macros.
33455 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
33456 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
33457 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
33459 2012-04-18 David S. Miller <davem@davemloft.net>
33461 * sysdeps/sparc/sparc64/memcopy.h: Delete.
33463 2012-04-18 Andreas Jaeger <aj@suse.de>
33466 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
33467 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
33468 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33470 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
33471 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
33472 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33474 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
33475 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
33476 Adjust for changed ldbl-128 files.
33478 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
33479 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
33480 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33482 2012-04-17 David S. Miller <davem@davemloft.net>
33484 * sysdeps/sparc/sparc32/memcopy.h: Delete.
33486 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
33488 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
33489 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
33490 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
33491 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
33492 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
33493 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
33495 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33498 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
33499 * math/libm-test.inc: Add ilogb errno and exception tests.
33500 * math/w_ilogb.c: New file: ilogb wrapper.
33501 * math/w_ilogbf.c: New file: ilogbf wrapper.
33502 * math/w_ilogbl.c: New file: ilogbl wrapper.
33503 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
33504 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
33505 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
33506 exception being thrown with 0.0 as argument.
33507 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
33508 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
33509 exception being thrown with 0.0 as argument.
33510 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
33511 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
33512 exception being thrown with 0.0 as argument.
33513 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
33514 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
33515 exception being thrown with 0.0 as argument.
33516 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
33517 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
33518 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
33519 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
33520 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
33521 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
33522 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
33523 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
33524 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
33526 2012-04-17 Petr Baudis <pasky@ucw.cz>
33528 * include/sys/uio.h: Change __vector to __iovec to avoid clash
33531 2012-04-16 Marek Polacek <polacek@redhat.com>
33533 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
33535 2012-04-16 Marek Polacek <polacek@redhat.com>
33537 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
33538 operands of fdivp instruction.
33540 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
33542 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
33543 * elf/tst-auditmod3b.c: Likewise.
33544 * elf/tst-auditmod4b.c: Likewise.
33545 * elf/tst-auditmod5b.c: Likewise.
33546 * elf/tst-auditmod6b.c: Likewise.
33547 * elf/tst-auditmod6c.c: Likewise.
33548 * elf/tst-auditmod7b.c: Likewise.
33549 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
33550 * sysdeps/x86_64/preconfigure.in: Likewise.
33551 * sysdeps/x86_64/preconfigure: Regenerated.
33553 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
33555 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
33558 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
33560 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33561 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
33563 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
33566 * locale/iso-639.def: Fix gl language name. Spotted by
33569 2012-04-12 Roland McGrath <roland@hack.frob.com>
33572 * libio/libio.h (__io_write_fn): Update comment.
33574 2012-04-12 Petr Baudis <pasky@ucw.cz>
33577 * stdio.texi (Hook Functions): The user provided writer function
33578 is not allowed to return -1.
33580 2012-04-11 David S. Miller <davem@davemloft.net>
33582 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33584 2012-04-11 Mike Frysinger <vapier@gentoo.org>
33586 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
33587 Add a leading slash to rtkaio.
33589 2012-04-11 Jim Meyering <meyering@redhat.com>
33592 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
33593 It is not necessarily an error to ignore fwrite's return
33594 value. One can reliably use ferror to test for errors after
33597 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
33599 * bits/types.h (__snseconds_t): New type.
33600 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
33602 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
33603 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33604 (__SNSECONDS_T_TYPE): Likewise.
33605 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33606 (__SNSECONDS_T_TYPE): Likewise.
33607 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33608 (__SNSECONDS_T_TYPE): Likewise.
33610 2012-04-10 Andreas Jaeger <aj@suse.de>
33613 * manual/time.texi (Processor Time): Return type of times is
33614 elapsed real time since an arbitrary point in the past.
33615 (CPU Time): Move CLK_TCK from here...
33616 (Processor Time): ...to here. Correct description.
33617 * manual/conf.texi (Constants for Sysconf): Correct description of
33620 2012-04-10 David S. Miller <davem@davemloft.net>
33623 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
33624 where the is a gap between DT_REL(A) and DT_JMPREL.
33626 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
33628 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
33629 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
33630 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
33632 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
33634 * elf/dl-support.c (_dl_inhibit_cache): New variable.
33635 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
33636 (dl_main): Handle --inhibit-cache.
33637 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
33639 * elf/dl-load.c (_dl_map_object): Use it.
33640 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
33642 2012-04-09 Joseph Myers <joseph@codesourcery.com>
33645 * sysdeps/i386/fpu/e_powl.S (p78): New object.
33646 (__ieee754_powl): Saturate large exponents rather than testing for
33647 overflow of y*log2(x).
33648 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33649 * math/libm-test.inc (pow_test): Do not permit spurious overflow
33653 * math/s_ctan.c: Include <float.h>.
33654 (__ctan): Avoid internal overflow or cancellation in calculating
33656 * math/s_ctanf.c: Likewise.
33657 * math/s_ctanl.c: Likewise.
33658 * math/s_ctanh.c: Likewise.
33659 * math/s_ctanhf.c: Likewise.
33660 * math/s_ctanhl.c: Likewise.
33661 * math/libm-test.inc (ctan_test): Add more tests.
33662 (ctanh_test): Likewise.
33663 * sysdeps/i386/fpu/libm-test-ulps: Update.
33664 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33666 2012-04-09 Andreas Jaeger <aj@suse.de>
33669 * manual/filesys.texi (Directory Entries): Mention that d_namlen
33670 is an optional BSD extension.
33673 * manual/stdio.texi (Opening Streams): Document additional fopen
33676 2012-04-09 Roland McGrath <roland@hack.frob.com>
33678 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
33679 %eax without telling the compiler.
33681 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
33684 * manual/install.texi: Use sourceware.org.
33686 2012-04-09 Joseph Myers <joseph@codesourcery.com>
33689 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
33690 (__ieee754_pow): Generate overflow and underflow using huge*huge
33691 and tiny*tiny rather than just returning constant infinity or zero
33692 for large exponents.
33693 * math/libm-test.inc (pow_test): Require overflow exceptions for
33694 applicable cases of large exponents.
33697 * sysdeps/i386/fpu/e_pow.S (p10): New object.
33698 (__ieee754_pow): Use iterative multiplication algorithm only for
33699 integer exponents with absolute value below 1024. Check for odd
33700 integer exponents when using algorithm for real exponents.
33701 * math/libm-test.inc (pow_test): Add more tests.
33702 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33704 2012-04-08 Joseph Myers <joseph@codesourcery.com>
33707 * math/libm-test.inc (exp_test): Do not allow overflow exception
33710 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
33713 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
33714 instead of __kernel_standard_f.
33716 2012-04-08 Mike Frysinger <vapier@gentoo.org>
33718 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
33719 * sysdeps/x86_64/memset_chk.S: Likewise.
33721 2012-04-08 Andreas Jaeger <aj@suse.de>
33724 * manual/startup.texi (Environment Access): Describe return value
33725 for putenv and setenv.
33728 * manual/filesys.texi (Directory Entries): Add description for
33732 * manual/filesys.texi (Directory Entries): Clarify that it's file
33733 system not operating system in the description of DT_UNKNOWN.
33736 * manual/syslog.texi (closelog): Fix reference, it's openlog.
33738 2012-04-08 Stephen Compall <s11@member.fsf.org>
33741 * manual/llio.texi (Opening and Closing Files): Add cross
33742 reference to explain mode argument.
33744 2012-04-07 Mike Frysinger <vapier@gentoo.org>
33746 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
33747 * sysdeps/x86_64/memset_chk.S: Likewise.
33749 2012-04-07 David S. Miller <davem@davemloft.net>
33751 * elf/elf.h (R_SPARC_WDISP10): Define.
33752 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
33754 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
33755 R_SPARC_SIZE64 and R_SPARC_H34.
33757 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
33759 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
33760 conditions and remove no longer applicable assertion.
33762 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
33764 * bits/byteswap.h: Include <features.h>.
33765 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
33766 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
33768 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
33770 * bits/byteswap.h (__bswap_16): Removed.
33771 Include <bits/byteswap-16.h> to get __bswap_16.
33772 * sysdeps/i386/bits/byteswap.h: Likewise.
33773 * sysdeps/s390/bits/byteswap.h: Likewise.
33774 * sysdeps/x86_64/bits/byteswap.h: Likewise.
33775 * bits/byteswap-16.h: New file.
33776 * sysdeps/i386/bits/byteswap-16.h: Likewise.
33777 * sysdeps/s390/bits/byteswap-16.h: Likewise.
33778 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
33779 * string/Makefile (headers): Add bits/byteswap-16.h.
33781 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
33784 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
33786 * nss/Makefile (tests-static, tests): Add tst-nss-static.
33787 * nss/tst-nss-static.c: New.
33789 2012-04-06 Robert Millan <rmh@gnu.org>
33792 * manual/llio.texi (File Position Primitive): lseek
33793 refers to WHENCE when it really means OFFSET.
33795 2012-04-06 Andreas Jaeger <aj@suse.de>
33797 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
33798 strncmp declarations.
33800 * abilist/libc.abilist: Add __poll and __ppoll.
33802 2012-04-05 David S. Miller <davem@davemloft.net>
33804 * scripts/check-local-headers.sh: Accept a host triplet in the
33805 path matched by the exclude regexp.
33807 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
33809 * sysdeps/powerpc/powerpc32/dl-machine.h
33810 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
33811 * sysdeps/s390/s390-32/dl-machine.h
33812 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33813 * sysdeps/sparc/sparc32/dl-machine.h
33814 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33815 * sysdeps/sparc/sparc64/dl-machine.h
33816 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33818 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
33820 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
33821 undefined symbol errors.
33823 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
33826 2012-04-05 Michael Matz <matz@suse.de>
33829 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
33831 2012-04-05 Andreas Jaeger <aj@suse.de>
33834 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
33837 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33839 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
33840 which ROUND is no valid rounding mode.
33842 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33844 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
33846 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
33848 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33850 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
33851 an exception using FPU order intentionally.
33853 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33855 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
33856 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
33857 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
33858 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
33860 2012-04-05 Simon Josefsson <simon@josefsson.org>
33863 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
33864 EINVAL when BUFLEN is too smal.
33866 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
33869 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
33870 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
33872 2012-04-03 Andreas Jaeger <aj@suse.de>
33875 * manual/setjmp.texi (System V contexts): Fix sentence.
33878 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
33879 New macro for this case.
33880 [!__GNUC__] (__bswap_64): New inline function for this case.
33881 * sysdeps/x86_64/bits/byteswap.h: Likewise.
33882 * bits/byteswap.h: Likewise.
33883 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
33884 ull, guard with __GLIBC_HAVE_LONG_LONG.
33886 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
33887 __GLIBC_HAVE_LONG_LONG.
33889 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
33890 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
33892 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33895 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
33896 inptr and inend, rather than using last_ch.
33898 2012-04-02 David S. Miller <davem@davemloft.net>
33900 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
33901 * stdio-common/printf-parse.h (read_int): Change return type to
33902 'int', return -1 on INT_MAX overflow.
33903 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
33904 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
33905 overflows INT_MAX. Check for overflow of in-format-string precision
33906 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
33907 SIZE_MAX not INT_MAX for integer overflow test.
33908 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
33909 skip the construct in the format string but do not record anything.
33910 * stdio-common/bug22.c: Adjust to test both width/prevision
33911 INT_MAX overflow as well as total length INT_MAX overflow. Check
33912 explicitly for proper errno values.
33914 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
33916 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
33918 * string/test-strcmp.c [! WIDE]: Likewise.
33919 * time/tst-mktime2.c: Likewise for INT_MAX.
33920 * string/test-string.h: #include <sys/param.h> for MIN.
33922 * csu/init-first.c (__libc_init_first): Call __ctype_init.
33923 * sysdeps/i386/init-first.c (init): Likewise.
33924 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
33925 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
33926 * sysdeps/sh/init-first.c (init): Likewise.
33928 2012-04-01 Ulrich Drepper <drepper@gmail.com>
33930 * po/ru.po: Update from translation team.
33931 * po/vi.po: Likewise.
33933 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
33935 * resolv/nss_dns/dns-host.c: Merge copyright years.
33937 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33939 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
33940 Optimize memcpy with prefetch if
33941 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
33942 src, dst pointers have unequal 16 byte alignments.
33944 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
33947 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
33948 from a CNAME entry and return the minimum ttl for the query.
33949 (gaih_getanswer_slice): Likewise.
33951 2012-03-30 Jeff Law <law@redhat.com>
33953 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
33955 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
33956 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
33958 * resolv/nss_dns/dns-host.c: Update copyright year.
33960 2012-03-30 Ulrich Drepper <drepper@gmail.com>
33962 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
33963 requests to save a system call. Fix check that all bytes are sent.
33965 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
33966 comments for sendmmsg.
33968 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33971 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
33972 with only 1 character between 0x0041 and 0x01b0.
33973 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
33974 * wcsmbs/tst-mbsnrtowcs.c: New file.
33976 2012-03-29 David S. Miller <davem@davemloft.net>
33978 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
33979 small copies by hand.
33981 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33984 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
33985 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
33988 2012-03-28 David S. Miller <davem@davemloft.net>
33990 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
33991 that branches into memcpy.
33992 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
33993 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
33994 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
33995 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
33996 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
33998 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
33999 implementation too.
34000 * sysdeps/sparc/mempcpy.S: New file.
34002 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
34003 the IFUNC routine in the libc case.
34004 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
34006 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
34007 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
34008 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
34009 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
34010 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
34011 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
34012 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
34013 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
34015 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
34016 loop to 256 bytes instead of 64 bytes and fix test signedness.
34018 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
34019 * sysdeps/sparc/sparc32/Makefile: rather than here...
34020 * sysdeps/sparc/sparc64/Makefile: and here.
34022 2012-03-28 Ulrich Drepper <drepper@gmail.com>
34024 * malloc/mallocbug.c: Avoid warnings about unused variables.
34026 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
34029 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
34030 in the right place. Discard and retry query if response is
34031 larger than input buffer size.
34033 2012-03-28 Joseph Myers <joseph@codesourcery.com>
34038 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
34039 x for large integer exponent.
34040 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
34041 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
34042 sign of result as needed afterwards.
34043 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
34044 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
34045 result for underflowing pow the same as for overflow.
34046 (__kernel_standard_l): Handle powl overflow and underflow here
34047 rather than calling __kernel_standard.
34048 * math/libm-test.inc (pow_test): Add more tests.
34063 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
34064 * sysdeps/ieee754/k_standard.c: Include <float.h>.
34065 (__kernel_standard_l): New function.
34066 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
34068 * math/w_acosl.c (__acosl): Likewise.
34069 * math/w_asinl.c (__asinl): Likewise.
34070 * math/w_atan2l.c (__atan2l): Likewise.
34071 * math/w_atanhl.c (__atanhl): Likewise.
34072 * math/w_coshl.c (__coshl): Likewise.
34073 * math/w_exp10l.c (__exp10l): Likewise.
34074 * math/w_exp2l.c (__exp2l): Likewise.
34075 * math/w_fmodl.c (__fmodl): Likewise.
34076 * math/w_hypotl.c (__hypotl): Likewise.
34077 * math/w_j0l.c (__j0l, __y0l): Likewise.
34078 * math/w_j1l.c (__j1l, __y1l): Likewise.
34079 * math/w_jnl.c (__jnl, __ynl): Likewise.
34080 * math/w_lgammal.c (__lgammal): Likewise.
34081 * math/w_log10l.c (__log10l): Likewise.
34082 * math/w_log2l.c (__log2l): Likewise.
34083 * math/w_logl.c (__logl): Likewise.
34084 * math/w_powl.c (__powl): Likewise.
34085 * math/w_remainderl.c (__remainderl): Likewise.
34086 * math/w_scalbl.c (sysv_scalbl): Likewise.
34087 * math/w_sinhl.c (__sinhl): Likewise.
34088 * math/w_sqrtl.c (__sqrtl): Likewise.
34089 * math/w_tgammal.c (__tgammal): Likewise.
34090 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
34091 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
34092 * math/libm-test.inc (acos_test): Add more tests.
34093 (acosh_test): Likewise.
34094 (asin_test): Likewise.
34095 (atanh_test): Likewise.
34096 (exp_test): Likewise.
34097 (exp10_test): Likewise.
34098 (exp2_test): Likewise.
34099 (expm1_test): Likewise.
34100 (lgamma_test): Likewise.
34101 (log_test): Likewise.
34102 (log10_test): Likewise.
34103 (log1p_test): Likewise.
34104 (log2_test): Likewise.
34105 (pow_test): Do not allow some spurious overflow exceptions.
34106 (sqrt_test): Add more tests.
34107 (tgamma_test): Likewise.
34108 (y0_test): Likewise.
34109 (y1_test): Likewise.
34110 (yn_test): Likewise.
34112 2012-03-27 Anton Blanchard <anton@samba.org>
34114 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
34116 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
34117 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
34118 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
34120 2012-03-27 David S. Miller <davem@davemloft.net>
34122 * conform/Makefile: Run run-conformtest.sh using $(BASH).
34124 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
34125 have-as-vis3 check.
34127 2012-03-27 Andreas Jaeger <aj@suse.de>
34129 * sysdeps/x86_64/elf/configure.in: Moved to ...
34130 * sysdeps/x86_64/configure.in: ... here.
34131 * sysdeps/x86_64/elf/start.S: Moved to ...
34132 * sysdeps/x86_64/start.S: ... here.
34133 * sysdeps/x86_64/elf/configure: Delete.
34135 * sysdeps/x86_64/configure.in: Merge contents from
34136 sysdeps/i386/configure.in (without i686 check).
34138 * sysdeps/i386/elf/Versions: Merge into ...
34139 * sysdeps/i386/Versions: ... this.
34140 * sysdeps/i386/elf/Versions: Delete file.
34141 * sysdeps/i386/elf/start.S: Moved to ...
34142 * sysdeps/i386/start.S: ...here.
34143 * sysdeps/i386/elf/configure.in: Merge into...
34144 * sysdeps/i386/configure.in: ...here.
34145 * sysdeps/i386/elf/configure.in: Delete file.
34146 * sysdeps/i386/elf/configure: Delete file.
34148 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
34149 * debug/backtracesyms.c: ... here.
34150 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
34151 * debug/backtracesymsfd.c: ... here.
34152 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
34153 * sysdeps/generic/ifunc-sel.h: ... here.
34155 * sysdeps/unix/i386/start.c: Delete file.
34156 * sysdeps/unix/sparc/start.c: Delete file.
34157 * sysdeps/unix/start.c: Delete file.
34159 * sysdeps/sh/elf/configure.in: Moved to ...
34160 * sysdeps/sh/configure.in: ... here.
34161 * sysdeps/sh/elf/start.S: Moved to ...
34162 * sysdeps/sh/start.S: ... here.
34163 * sysdeps/sh/elf/configure: Delete file.
34165 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
34166 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
34167 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
34168 * sysdeps/powerpc/powerpc64/entry.h: ... here.
34169 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
34170 * sysdeps/powerpc/powerpc64/start.S: here.
34171 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
34172 * sysdeps/powerpc/powerpc64/Makefile: ... this.
34173 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
34174 * sysdeps/powerpc/powerpc64/configure.in: ... this.
34175 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
34177 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
34178 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
34179 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
34180 * sysdeps/powerpc/powerpc32/start.S: ... here.
34181 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
34182 * sysdeps/powerpc/powerpc32/configure.in: ... this.
34183 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
34185 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
34186 * sysdeps/powerpc/ifunc-sel.h: ... here.
34187 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
34188 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
34190 * sysdeps/sparc/elf/configure.in: Moved to ...
34191 * sysdeps/sparc/configure.in: ... here.
34192 * sysdeps/sparc/elf/configure: Delete file.
34193 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
34194 * sysdeps/sparc/sparc32/start.S: ... here.
34195 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
34196 * sysdeps/sparc/sparc64/start.S: ... here.
34197 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
34198 * sysdeps/sparc/sparc32/Makefile: ... this.
34199 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
34200 * sysdeps/sparc/sparc64/Makefile: ... this.
34202 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
34203 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
34204 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
34205 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
34206 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
34207 * sysdeps/s390/s390-32/setjmp.S: ... here.
34208 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
34209 * sysdeps/s390/s390-32/configure.in: ... here.
34210 * sysdeps/s390/s390-32/elf/configure: Delete file.
34211 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
34212 * sysdeps/s390/s390-32/start.S: ... here.
34214 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
34215 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
34216 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
34217 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
34218 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
34219 * sysdeps/s390/s390-64/setjmp.S: ... here.
34220 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
34221 * sysdeps/s390/s390-64/configure.in: ... here
34222 * sysdeps/s390/s390-64/elf/configure: Delete file.
34223 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
34224 * sysdeps/s390/s390-64/start.S: ... here.
34225 * sysdeps/s390/s390-64/elf/configure: Delete.
34227 * configure.in: Remove support for elf directories in sysdeps.
34229 * configure: Regenerated.
34230 * sysdeps/i386/configure: Regenerated.
34231 * sysdeps/powerpc/powerpc32/configure: Regenerated.
34232 * sysdeps/powerpc/powerpc64/configure: Regenerated.
34233 * sysdeps/s390/s390-32/configure: Regenerated.
34234 * sysdeps/s390/s390-64/configure: Regenerated.
34235 * sysdeps/sh/configure: Regenerated.
34236 * sysdeps/sparc/configure: Regenerated.
34237 * sysdeps/x86_64/configure: Regenerated.
34239 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
34241 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34243 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
34244 denormal result into account.
34246 2012-03-25 Roland McGrath <roland@hack.frob.com>
34248 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
34249 Reported by Allan McRae <allan@archlinux.org>.
34251 2012-03-23 Jeff Law <law@redhat.com>
34253 * nss/getnssent.c (__nss_getent): Fix typo.
34255 2012-03-23 David S. Miller <davem@davemloft.net>
34257 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34259 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
34261 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
34262 to pad to uint64_t for each field.
34263 (dl_tls_index): Replace unsigned long with uint64_t.
34265 2012-03-23 Daniel Jacobowitz <dmj@google.com>
34266 Paul Pluzhnikov <ppluzhnikov@google.com>
34269 * grp/Makefile (otherlibs): Don't set it.
34270 * inet/Makefile (otherlibs): Likewise.
34271 * login/Makefile (otherlibs): Likewise.
34272 * nscd/Makefile (otherlibs): Likewise.
34273 * posix/Makefile (otherlibs): Likewise.
34274 * pwd/Makefile (otherlibs): Likewise.
34275 * rt/Makefile (otherlibs): Likewise.
34276 * sunrpc/Makefile (otherlibs): Likewise.
34277 * nss/Makefile (otherlibs): Likewise.
34278 Add libnss_files to routines and static-only-routines.
34279 ($(objpfx)getent): Remove rule.
34280 * resolv/Makefile: Add libnss_dns and libresolv to routines and
34281 static-only-routines.
34283 2012-03-22 Joseph Myers <joseph@codesourcery.com>
34286 * math/s_cexp.c: Include <float.h>.
34287 (__cexp): Handle exp result overflowing not necessarily
34288 overflowing both real and imaginary parts of result.
34289 * math/s_cexpf.c: Likewise.
34290 * math/s_cexpl.c: Likewise.
34291 * math/libm-test.inc (cexp_test): Add more tests.
34292 * sysdeps/i386/fpu/libm-test-ulps: Update.
34293 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34295 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34297 * include/link.h (ELFW): New macro.
34298 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
34299 Replace ELF64_R_TYPE with ELFW(R_TYPE).
34301 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34303 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
34306 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34308 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
34310 (struct La_x32_retval): Likewise.
34312 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34314 * sysdeps/x86_64/preconfigure.in: New file.
34315 * sysdeps/x86_64/preconfigure: New generated file.
34317 2012-03-22 Joseph Myers <joseph@codesourcery.com>
34320 * math/e_exp2l.c: Include <float.h>.
34321 (__ieee754_exp2l): Handle overflow and underflow cases
34322 separately. Only pass fractional part of argument to
34324 * math/libm-test.inc (exp2_test): Add more tests.
34326 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
34327 negating x to take absolute value.
34328 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
34330 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
34331 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
34333 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
34334 computing low part if x was negated.
34335 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
34337 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
34339 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
34340 la_x32_gnu_pltexit.
34341 (pltexit): Cast int_retval to ptrdiff_t.
34342 * elf/tst-auditmod3b.c: Likewise.
34343 * elf/tst-auditmod4b.c: Likewise.
34344 * elf/tst-auditmod5b.c: Likewise.
34345 * elf/tst-auditmod6b.c: Likewise.
34346 * elf/tst-auditmod6c.c: Likewise.
34347 * elf/tst-auditmod7b.c: Likewise.
34349 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
34350 and x32_gnu_pltexit.
34352 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
34353 __ELF_NATIVE_CLASS.
34354 (La_x32_regs): New macro.
34355 (La_x32_retval): Likewise.
34356 (la_x32_gnu_pltenter): New function prototype.
34357 (la_x32_gnu_pltexit): Likewise.
34359 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
34361 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
34364 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34366 * configure.in (libc_cv_cc_nofma): Check for option to disable
34367 generation of FMA instructions.
34368 * configure: Regenerate.
34369 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
34370 * sysdeps/ieee754/dbl-64/Makefile: New file.
34371 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
34372 Remove brandred-fma4.
34373 (CFLAGS-brandred-fma4.c): Remove.
34374 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
34375 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
34377 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
34380 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
34382 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
34383 LLONG_MAX != LONG_MAX.
34384 (_itoa_word): Use _ITOA_WORD_TYPE on value.
34385 (_fitoa_word): Likewise.
34386 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
34387 LLONG_MAX != LONG_MAX.
34388 * stdio-common/_itowa.h: Include <_itoa.h>.
34389 (_itowa_word): Use _ITOA_WORD_TYPE on value.
34390 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
34391 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
34392 only if not defined.
34393 (_ITOA_WORD_TYPE): Likewise.
34394 (_itoa_word): Use _ITOA_WORD_TYPE on value.
34395 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
34397 2012-03-21 David S. Miller <davem@davemloft.net>
34399 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34401 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
34403 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
34404 of x86_64 when setting libc_cv_slibdir, libdir and
34406 * sysdeps/unix/sysv/linux/configure: Regenerated.
34408 2012-03-21 Joseph Myers <joseph@codesourcery.com>
34410 * manual/lang.texi (Old Varargs): Remove section.
34411 (How Variadic): Update menu.
34412 (va_start): Do not mention varargs.h.
34414 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
34415 Joseph Myers <joseph@codesourcery.com>
34417 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
34419 * configure: Regenerated.
34421 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
34423 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
34424 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
34427 2012-03-21 Joseph Myers <joseph@codesourcery.com>
34430 * Makefile (files-for-dist): Remove NOTES.
34431 (NOTES): Remove rule.
34432 * README: Don't refer to NOTES.
34433 * manual/creature.texi: Don't include macros.texi.
34434 * manual/intro.texi (creature.texi): Remove comment referring to
34437 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
34438 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
34439 * configure: Regenerated.
34440 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
34441 LIBC_TRY_CC_OPTION.
34442 (libc_cv_as_i686): Likewise.
34443 (libc_cv_cc_avx): Likewise.
34444 (libc_cv_cc_sse2avx): Likewise.
34445 (libc_cv_cc_fma4): Likewise.
34446 (libc_cv_cc_novzeroupper): Likewise.
34447 * sysdeps/i386/configure: Regenerated.
34450 * sysdeps/i386/fpu/s_cexp.S: Remove.
34451 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
34452 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
34453 * math/libm-test.inc (cexp_test): Add more tests.
34454 * sysdeps/i386/fpu/libm-test-ulps: Update.
34455 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34457 2012-03-21 Allan McRae <allan@archlinux.org>
34459 * timezone/Makefile: Do not install iso3166.tab and zone.tab
34461 2012-03-21 Joseph Myers <joseph@codesourcery.com>
34464 * math/w_exp2.c: Do not include <float.h>.
34465 (o_threshold, u_threshold): Remove.
34466 (__exp2): Calculate result before checking finiteness and calling
34468 * math/w_exp2f.c: Likewise.
34469 * math/w_exp2l.c: Likewise.
34470 * math/libm-test.inc (exp2_test): Require overflow exception for
34474 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
34475 range of signed 64-bit integers before using fistpll. Remove
34476 checks for whether integers fit in mantissa bits.
34477 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
34478 the range of signed 32-bit integers before using fistpl. Remove
34479 checks for whether integers fit in mantissa bits.
34480 * sysdeps/i386/fpu/e_powl.S (p64): New object.
34481 (__ieee754_powl): Test for y outside the range of signed 64-bit
34482 integers before using fistpll. Reduce 64-bit values to 63-bit
34484 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
34485 divide-by-zero is raised for zero to large negative powers.
34486 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
34487 (__ieee754_powl): Test for y outside the range of signed 64-bit
34488 integers before using fistpll. Reduce 64-bit values to 63-bit
34490 * math/libm-test.inc (pow_test): Add more tests.
34492 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
34494 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
34495 <stdio-common/_itoa.h>.
34496 * debug/segfault.c: Likewise.
34497 * elf/dl-cache.c: Likewise.
34498 * elf/dl-minimal.c: Likewise.
34499 * elf/dl-misc.c: Likewise.
34500 * elf/dl-sysdep.c: Likewise.
34501 * elf/dl-version.c: Likewise.
34502 * elf/rtld.c: Likewise.
34503 * hurd/hurdsock.c: Likewise.
34504 * hurd/lookup-retry.c: Likewise.
34505 * malloc/malloc.c: Likewise.
34506 * malloc/mtrace.c: Likewise.
34507 * nscd/nscd_getgr_r.c: Likewise.
34508 * nscd/nscd_getpw_r.c: Likewise.
34509 * nscd/nscd_getserv_r.c: Likewise.
34510 * posix/getopt_init.c: Likewise.
34511 * posix/wordexp.c: Likewise.
34512 * stdio-common/_itoa.c: Likewise.
34513 * stdio-common/printf_fphex.c: Likewise.
34514 * stdio-common/vfprintf.c: Likewise.
34515 * string/_strerror.c: Likewise.
34516 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
34517 * sysdeps/i386/i686/hp-timing.h: Likewise.
34518 * sysdeps/mach/_strerror.c: Likewise.
34519 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
34520 * sysdeps/mach/hurd/sethostid.c: Likewise.
34521 * sysdeps/mach/hurd/xmknodat.c: Likewise.
34522 * sysdeps/mach/xpg-strerror.c: Likewise.
34523 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
34524 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
34525 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
34526 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
34527 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
34528 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
34529 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
34530 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
34531 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
34532 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
34533 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
34534 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
34535 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
34536 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
34537 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
34538 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
34539 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
34540 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
34541 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
34542 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
34543 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
34545 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
34547 * stdio-common/_itoa.h: Moved to ...
34548 * sysdeps/generic/_itoa.h: Here.
34550 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
34552 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
34553 instead of "_itoa.h" and "_itowa.h".
34554 * stdio-common/vfprintf.: Likewise.
34556 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
34558 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
34560 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
34561 (__signbit): Likwise.
34562 (llrintf): Likwise.
34565 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
34567 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
34570 2012-03-20 Joseph Myers <joseph@codesourcery.com>
34572 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
34573 OVERFLOW_EXCEPTION_OK.
34574 * math/libm-test.inc ("Philosophy"): Update comment about
34576 (OVERFLOW_EXCEPTION): Define.
34577 (OVERFLOW_EXCEPTION_OK): Likewise.
34578 (INVALID_EXCEPTION_OK): Renumber.
34579 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34580 (IGNORE_ZERO_INF_SIGN): Likewise.
34581 (test_exceptions): Handle FE_OVERFLOW.
34582 (exp10_test): Expect overflow exceptions.
34583 (exp2_test): Likewise.
34584 (expm1_test): Likewise.
34585 (nextafter_test): Likewise.
34586 (pow_test): Likewise.
34587 (scalbn_test): Likewise.
34588 (scalbln_test): Likewise.
34590 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34592 * sysdeps/x86_64/bits/atomic.h
34593 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
34595 (atomic_exchange_acq): Likewise.
34596 (__arch_exchange_and_add_body): Likewise.
34597 (__arch_add_body): Likewise.
34598 (atomic_add_negative): Likewise.
34599 (atomic_add_zero): Likewise.
34601 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34603 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
34604 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
34606 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34608 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
34609 Check __x86_64__ instead of __WORDSIZE.
34611 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34613 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
34615 2012-03-19 David S. Miller <davem@davemloft.net>
34617 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34619 * sysdeps/sparc/fpu/fenv_private.h: New file.
34620 * sysdeps/sparc/fpu/math_private.h: Use it.
34621 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
34623 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
34624 (libc_feholdexcept_setroundl): Remove.
34625 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
34627 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
34628 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
34630 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34632 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
34633 int64_t instead of long int.
34634 (INSERT_WORDS64): Likwise.
34636 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34638 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
34639 _Unwind_GetCFA return to _Unwind_Ptr first.
34641 2012-03-19 Joseph Myers <joseph@codesourcery.com>
34644 * math/s_clog.c: Include <float.h>.
34645 (__clog): Scale large or subnormal inputs.
34646 * math/s_clogf.c: Likewise.
34647 * math/s_clogl.c: Likewise.
34648 * math/s_clog10.c: Include <float.h>.
34649 (M_LOG10_2): Define.
34650 (__clog10): Scale large or subnormal inputs.
34651 * math/s_clog10f.c: Likewise.
34652 * math/s_clog10l.c: Likewise.
34653 * math/libm-test.inc (clog_test): Add more tests.
34654 (clog10_test): Likewise.
34655 * sysdeps/i386/fpu/libm-test-ulps: Update.
34656 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34659 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
34661 * math/libm-test.inc (atan2_test): Add another test.
34663 * Makerules (common-objdir-compile): Remove.
34664 * sysdeps/unix/Makefile (config-generated): Do not add
34665 $(unix-generated) to variable.
34666 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
34667 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
34669 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
34671 [generic bits/local_lim.h] (before-compile): Do not append to
34673 [generic bits/local_lim.h] (common-generated): Likewise.
34674 [generic sys/param.h] (before-compile): Do not append to variable.
34675 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
34676 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
34677 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
34678 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
34680 [generic sys/param.h] (sys/param.h-includes): Remove variable.
34681 [generic sys/param.h] (sys/param.h-includes): Remove rule.
34682 [generic sys/param.h] ($(addprefix
34683 $(common-objpfx),$(sys/param.h-includes))): Likewise.
34684 [generic sys/param.h] (common-generated): Do not append to
34686 [generic sys/param.h] (sysdep_headers): Likewise.
34687 [generic bits/errno.h] (before-compile): Do not append to
34689 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
34691 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
34692 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
34693 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
34694 [generic bits/errno.h] (common-generated): Do not append to
34696 [generic bits/ioctls.h] (before-compile): Do not append to
34698 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
34700 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
34701 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
34702 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
34704 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
34705 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
34706 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
34707 [generic bits/ioctls.h] (common-generated): Do not append to
34709 [generic sys/syscall.h] (syscall.h): Remove variable.
34710 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
34712 [generic sys/syscall.h] (before-compile): Do not append to
34714 [generic sys/syscall.h] (common-generated): Likewise.
34715 * sysdeps/unix/errnos-tmpl.c: Remove file.
34716 * sysdeps/unix/errnos.awk: Likewise.
34717 * sysdeps/unix/ioctls-tmpl.c: Likewise.
34718 * sysdeps/unix/ioctls.awk: Likewise.
34719 * sysdeps/unix/mk-local_lim.c: Likewise.
34720 * sysdeps/unix/snarf-ioctls: Likewise.
34722 2012-03-19 Richard Henderson <rth@twiddle.net>
34724 * sysdeps/i386/fpu/fenv_private.h: New file.
34725 * sysdeps/i386/fpu/math_private.h: Use it.
34726 (math_opt_barrier, math_force_eval): Remove.
34727 (libc_feholdexcept_setround_53bit): Remove.
34728 (libc_feupdateenv_53bit): Remove.
34729 * sysdeps/x86_64/fpu/math_private.h: Likewise.
34730 (math_opt_barrier, math_force_eval): Remove.
34731 (libc_feholdexcept): Remove.
34732 (libc_feholdexcept_setround): Remove.
34733 (libc_fetestexcept, libc_fesetenv): Remove.
34734 (libc_feupdateenv_test): Remove.
34735 (libc_feupdateenv, libc_feholdsetround): Remove.
34736 (libc_feresetround): Remove.
34738 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
34739 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
34741 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
34742 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
34743 (libc_feupdateenv_testl): New.
34744 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
34745 (libc_feupdateenv_testf): New.
34746 (libc_feupdateenv): Use libc_feupdateenv_test.
34747 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
34748 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
34750 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
34751 (libc_feholdsetroundf, libc_feholdsetroundl): New.
34752 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
34753 (libc_feresetround_noex): New.
34754 (libc_feresetround_noexf): New.
34755 (libc_feresetround_noexl): New.
34756 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
34757 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
34758 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
34759 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
34761 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
34762 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
34764 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
34765 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
34766 SET_RESTORE_ROUND_NOEX.
34767 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
34768 SET_RESTORE_ROUND_NOEXF.
34769 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
34770 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
34771 (libc_feholdsetroundf): New.
34772 (libc_feresetround, libc_feresetroundf): New.
34774 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
34775 (libc_feholdexcept_setround_53bit): Convert from macro to function.
34776 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
34778 * sysdeps/generic/math_private.h: Include <fenv.h>.
34779 (default_libc_feholdexcept): New.
34780 (default_libc_feholdexcept_setround): New.
34781 (default_libc_fesetenv, default_libc_feupdateenv): New.
34782 (libc_feholdexcept): Only define if undefined.
34783 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
34784 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
34785 (libc_feholdexcept_setroundl): Likewise.
34786 (libc_feholdexcept_setround_53bit): Likewise.
34787 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
34788 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
34789 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
34790 (libc_feupdateenv_53bit): Likewise.
34791 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
34792 (libc_feholdexcept): Convert from macro to inline function.
34793 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
34794 (libc_fesetenv, libc_feupdateenv): Likewise.
34796 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
34797 not previously defined.
34798 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
34799 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
34800 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
34801 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
34802 * sysdeps/ieee754/flt-32/math_private.h: New file.
34803 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
34804 math_private.h below SET_FLOAT_WORD.
34805 (__isnan, __isinf_ns, __finite): Remove.
34806 (__isnanf, __isinf_nsf, __finitef): Remove.
34808 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
34810 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34812 2012-03-17 David S. Miller <davem@davemloft.net>
34815 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
34818 2012-03-16 David S. Miller <davem@davemloft.net>
34820 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
34824 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
34826 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
34827 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
34828 sysdep_routines when subdir is sysvipc.
34829 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
34830 __getshmlba helper.
34832 * sysdeps/sparc/fpu/libm-test/ulps: Update.
34834 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34836 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
34839 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34841 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
34842 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
34843 (__lround): Renamed to ...
34844 (__llround): This. Replace long int with long long int.
34845 Define lround functions as aliases of llround functions.
34846 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
34848 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34850 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
34851 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
34852 adresses to uintptr_t. Replace "long int" and "unsigned long
34853 int" with "greg_t" on va_arg.
34855 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34857 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
34858 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
34860 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
34861 Move e_machine check before EI_CLASS check. Handle x32
34862 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
34863 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
34864 SKIP_EM_IA_64 and include
34865 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
34867 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
34868 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
34869 (add_system_dir): New macro.
34871 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
34872 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
34874 2012-03-16 Joseph Myers <joseph@codesourcery.com>
34885 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
34887 * math/w_j0f.c (j0f): Likewise.
34889 * math/w_j0l.c (__j0l): Likewise.
34891 * math/w_j1.c (j1): Likewise.
34893 * math/w_j1f.c (j1f): Likewise.
34895 * math/w_j1l.c (__j1l): Likewise.
34897 * math/w_jn.c (jn): Likewise.
34899 * math/w_jnf.c (jnf): Likewise.
34901 * math/w_jnl.c (__jnl): Likewise.
34903 * math/libm-test.inc (j0_test): Add more tests.
34904 (j1_test): Likewise.
34905 (jn_test): Likewise. Add trailing semicolon to existing test.
34906 (y0_test): Likewise.
34907 (y1_test): Likewise.
34908 * sysdeps/i386/fpu/libm-test-ulps: Update.
34909 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34913 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
34914 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
34915 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
34916 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
34917 (__tanl): Set errno for infinite argument.
34918 * sysdeps/i386/fpu/mptan.c: Remove.
34919 * sysdeps/i386/fpu/s_tan.S: Likewise.
34920 * sysdeps/i386/fpu/s_tanl.S: Likewise.
34921 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
34922 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
34923 * math/libm-test.inc (tan_test): Add more tests and enable more
34924 tests for double and long double.
34925 * sysdeps/i386/fpu/libm-test-ulps: Update.
34926 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34928 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
34930 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
34931 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
34933 2012-03-16 Roland McGrath <roland@hack.frob.com>
34935 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
34936 * configure.in: Use it for both main tree and add-ons.
34937 * configure: Regenerated.
34939 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34941 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
34943 2012-03-16 Joseph Myers <joseph@codesourcery.com>
34945 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
34949 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
34950 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
34951 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
34952 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
34953 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
34955 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
34956 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
34957 != 0 for prec == 2.
34958 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
34959 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
34960 * sysdeps/i386/fpu/s_cosl.S: Likewise.
34961 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
34962 * sysdeps/i386/fpu/s_sinl.S: Likewise.
34963 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
34964 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
34965 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
34966 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
34967 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
34968 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
34969 * math/libm-test.inc (cos_test): Add more tests and enable more
34970 tests for long double.
34971 (sin_test): Likewise.
34972 (sincos_test): Likewise.
34973 * sysdeps/i386/fpu/libm-test-ulps: Update.
34974 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34976 2012-03-16 David S. Miller <davem@davemloft.net>
34978 * sysdeps/sparc/fpu/math_private.h: New file.
34980 2012-03-15 David S. Miller <davem@davemloft.net>
34982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
34984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
34985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
34987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
34988 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
34989 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
34990 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
34991 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
34992 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
34994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
34996 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
34997 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
34999 * sysdeps/sparc/sparc-ifunc.h: New file.
35000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
35002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
35003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
35005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
35007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
35008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
35009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
35010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
35012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
35013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
35014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
35015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
35016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
35018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
35020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
35021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
35022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
35023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
35024 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
35025 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
35026 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
35027 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
35028 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
35029 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
35030 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
35031 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
35032 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
35033 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
35034 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
35035 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
35036 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
35037 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
35038 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
35039 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
35040 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
35041 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
35042 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
35043 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
35045 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
35047 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
35049 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35051 2012-03-15 Andreas Jaeger <aj@suse.de>
35054 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
35055 ieee754/flt-32 implementation for sin, cos and sincos.
35056 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
35057 * sysdeps/i386/fpu/s_cosf.S: Likewise.
35058 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
35059 * sysdeps/i386/fpu/s_sinf.S: Likewise.
35060 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
35061 ieee754/flt-32 implementation for tan.
35063 * math/libm-test.inc (cos_test): Enable some large input tests for
35065 (sin_test): Likewise.
35066 (sincos_test): Likewise.
35067 (tan_test): Add tests for large input.
35069 * sysdeps/i386/fpu/libm-test-ulps: Update.
35071 2012-03-15 Andreas Jaeger <aj@suse.de>
35074 * math/libm-test.inc (cos_test): Add more test cases.
35075 (sin_test): Likewise.
35076 (sincos_test): Likewise.
35078 2012-03-15 Andreas Jaeger <aj@suse.de>
35081 * math/libm-test.inc (cos_test): Add a test case for large input
35083 (sin_test): Likewise.
35084 (sincos_test): Likewise.
35086 2012-03-15 Andreas Jaeger <aj@suse.de>
35087 Joseph Myers <joseph@codesourcery.com>
35090 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
35091 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
35092 * sysdeps/i386/fpu/branred.c: Likewise.
35093 * sysdeps/i386/fpu/dosincos.c: Likewise.
35094 * sysdeps/i386/fpu/mpa.c: Likewise.
35095 * sysdeps/i386/fpu/s_cos.S: Likewise.
35096 * sysdeps/i386/fpu/s_sin.S: Likewise.
35097 * sysdeps/i386/fpu/s_sincos.S: Likewise.
35098 * sysdeps/i386/fpu/sincos32.c: Likewise.
35100 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
35102 (libc_feupdateenv_53bit): Define.
35103 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
35105 (libc_feupdateenv_53bit): Define.
35107 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
35108 53 bit (without extend i386 double precision).
35110 * math/libm-test.inc (sincos_test): Add tests for large input.
35114 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
35116 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
35118 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35120 2012-03-15 David S. Miller <davem@davemloft.net>
35122 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
35123 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
35124 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
35125 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
35126 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
35127 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
35128 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
35129 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
35130 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
35131 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
35132 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
35133 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
35134 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
35135 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
35136 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
35137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
35139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
35140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
35142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
35143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
35145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
35146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
35148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
35149 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
35150 fmin/fmax sysdep routines.
35151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
35153 2012-03-14 David S. Miller <davem@davemloft.net>
35155 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
35156 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
35157 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
35158 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
35159 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
35160 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
35161 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
35162 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
35163 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
35164 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
35165 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
35166 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
35167 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
35168 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
35169 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
35170 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
35171 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
35172 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
35173 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
35174 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
35175 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
35176 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
35177 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
35178 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
35179 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
35180 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
35181 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
35182 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
35183 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
35185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
35187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
35188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
35190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
35191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
35193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
35194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
35196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
35197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
35199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
35200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
35202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
35204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
35206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
35208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
35210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
35212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
35214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
35215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
35217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
35218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
35220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
35221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
35223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
35224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
35227 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
35230 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35232 * sysdeps/sparc/configure.in: New file.
35233 * sysdeps/sparc/configure: Generate.
35234 * configure.in (libc_cv_sparc_as_vis3): Substitute.
35235 * configure: Regenerate.
35236 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
35237 * config.make.in (have-as-vis3): New.
35238 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
35239 available use -Av9d instead of -Av9a.
35240 * sysdeps/sparc/sparc64/Makefile: Likewise.
35241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
35242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
35244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
35246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
35248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
35250 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
35251 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
35252 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
35253 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
35254 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
35256 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
35257 fzeros/fnegs to load 0x80000000 into a float register instead of
35259 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
35261 2012-03-14 Joseph Myers <joseph@codesourcery.com>
35263 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35265 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
35266 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
35267 ($(inst_includedir)/bits/syscall.h): Remove rule.
35268 ($(objpfx)bits/syscall.d): Include instead of
35269 $(objpfx)syscall-list.d.
35270 (generated): Change syscall-list.h and syscall-list.d to
35271 bits/syscall.h and bits/syscall.d.
35273 2012-03-14 Roland McGrath <roland@hack.frob.com>
35276 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
35278 2012-03-14 Joseph Myers <joseph@codesourcery.com>
35281 * math/s_csqrt.c: Include <float.h>.
35282 (__csqrt): Scale large or subnormal inputs.
35283 * math/s_csqrtf.c: Likewise.
35284 * math/s_csqrtl.c: Likewise.
35285 * math/libm-test.inc (csqrt_test): Add more tests.
35286 * sysdeps/i386/fpu/libm-test-ulps: Update.
35287 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35290 * math/libm-test.inc (hypot_test): Add more tests.
35292 2012-03-13 David S. Miller <davem@davemloft.net>
35295 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
35296 double-precision for the calculation instead of scaling.
35298 2012-03-13 Joseph Myers <joseph@codesourcery.com>
35300 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
35301 manipulate bits before adding and subtracting TWO52[sx].
35302 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
35303 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
35305 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
35307 2012-03-13 David S. Miller <davem@davemloft.net>
35309 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
35310 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
35311 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
35312 rtld-global-offsets.h
35313 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35315 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
35318 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
35320 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
35321 'err' in the ifdef scope in which it is actually used.
35323 * nss/nss_db/db-init.c: Include string.h
35325 2012-03-12 David S. Miller <davem@davemloft.net>
35327 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
35328 masking out of the most significant byte of random value used.
35329 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35330 Fix coding style in previous change.
35332 * sysdeps/unix/sysv/linux/kernel-features.h
35333 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
35334 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
35336 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
35339 2012-03-11 David S. Miller <davem@davemloft.net>
35341 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
35342 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
35343 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
35344 for 'resultvar' otherwise things get truncated on 64-bit.
35346 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35347 Fix masking out of the most significant byte of random value used.
35349 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35351 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
35353 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35355 2012-03-09 David S. Miller <davem@davemloft.net>
35357 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
35358 variables with appropriate CPP guards.
35359 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
35360 from the frame pointer, not the stack pointer. Correct layout
35361 comments. Fix test on resulting framesize and the management of
35362 the outregs buffer for pltexit. Preserve floating point return
35363 values across _dl_call_pltexit call.
35364 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
35365 framesize and the management of the outregs buffer for pltexit.
35366 Preserve floating point return values across _dl_call_pltexit
35368 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
35369 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
35370 (la_sparc64_gnu_pltexit): New functions.
35371 (print_exit): Fix format string for return register value.
35373 2012-03-10 Joseph Myers <joseph@codesourcery.com>
35375 * sunrpc/Makefile (others): Add rpcgen.
35376 ($(objpfx)rpcgen): Remove special build rule and dependency on
35378 * sunrpc/rpcgen.c: New file.
35380 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
35383 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
35384 * stdio-common/bug-vfprintf-nargs.c: Likewise.
35385 * sysdeps/i386/crti.S: Likewise.
35386 * sysdeps/i386/crtn.S: Likewise.
35387 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
35388 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
35389 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
35390 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
35391 * sysdeps/sh/crti.S: Likewise.
35392 * sysdeps/sh/crtn.S: Likewise.
35393 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
35396 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
35398 * locale/programs/locfile-kw.gperf: Likewise.
35399 * locale/programs/charmap-kw.h: Regenerated.
35400 * locale/programs/locfile-kw.h: Likewise.
35403 * intl/plural.y: Replace FSF snail mail address with URL.
35404 * intl/plural.c: Regenerated.
35406 2012-03-09 Richard Henderson <rth@twiddle.net>
35408 * include/math_private.h: Remove file.
35409 * math/math_private.h: Move file ...
35410 * sysdeps/generic/math_private.h: ... here.
35412 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
35413 * sysdeps/powerpc/fpu/math_private.h: Likewise.
35414 * sysdeps/x86_64/fpu/math_private.h: Likewise.
35416 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
35417 and <math_private.h>.
35418 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
35419 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
35420 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
35421 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
35422 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
35423 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
35424 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
35425 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
35426 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
35427 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
35428 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
35429 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35430 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
35431 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
35432 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
35433 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
35434 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
35435 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
35436 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
35437 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
35438 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
35439 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
35440 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
35441 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
35442 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
35443 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
35444 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
35445 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
35446 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
35447 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35448 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
35449 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
35450 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
35451 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
35452 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
35453 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
35454 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
35455 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
35456 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
35457 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35458 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
35459 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
35460 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
35461 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
35462 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
35463 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
35464 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
35465 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
35466 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
35467 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
35468 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
35469 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
35470 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
35471 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
35472 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
35473 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
35474 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
35475 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
35476 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
35477 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
35478 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
35479 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
35480 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
35481 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
35482 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
35483 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
35484 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
35485 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
35486 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
35487 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
35488 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
35489 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
35490 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
35491 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
35492 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
35493 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
35494 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
35495 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35496 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
35497 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
35498 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
35499 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
35500 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
35501 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
35502 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
35503 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
35504 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
35505 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
35506 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
35507 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35508 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35509 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
35510 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35511 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
35512 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
35513 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
35514 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
35515 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
35516 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
35517 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
35518 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
35519 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
35520 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
35521 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
35522 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35523 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
35524 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
35525 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
35526 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35527 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35528 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35529 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35530 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
35531 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35532 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
35533 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
35534 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35535 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
35536 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35537 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
35538 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35539 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
35540 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
35541 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
35542 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35543 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
35544 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
35545 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
35546 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
35547 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
35548 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
35549 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
35550 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35551 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
35552 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
35553 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
35554 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
35555 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
35556 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
35557 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
35558 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
35559 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
35560 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
35561 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
35562 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
35563 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
35564 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
35565 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
35566 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
35567 * sysdeps/ieee754/k_standard.c: Likewise.
35568 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
35569 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
35570 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35571 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
35572 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
35573 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
35574 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
35575 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
35576 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
35577 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
35578 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
35579 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
35580 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
35581 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
35582 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
35583 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
35584 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
35585 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
35586 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
35587 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
35588 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
35589 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
35590 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35591 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
35592 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
35593 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
35594 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
35595 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
35596 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
35597 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35598 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
35599 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
35600 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
35601 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
35602 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
35603 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
35604 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
35605 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
35606 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
35607 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
35608 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
35609 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
35610 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
35611 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
35612 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
35613 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
35614 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
35615 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
35616 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
35617 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35618 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35619 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
35620 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
35621 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
35622 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35623 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35624 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
35625 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
35626 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
35627 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
35628 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35629 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
35630 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
35631 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
35632 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35633 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35634 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
35635 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
35636 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
35637 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
35638 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
35639 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35640 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
35641 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
35642 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
35643 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
35644 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
35645 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
35646 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
35647 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
35648 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
35649 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
35650 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
35651 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
35652 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
35653 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
35654 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
35655 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
35656 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
35657 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
35658 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
35659 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
35660 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
35661 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
35662 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
35663 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
35664 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
35665 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
35666 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
35667 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
35668 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
35669 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
35670 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35671 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
35672 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
35673 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35674 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35675 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
35676 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
35677 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
35678 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
35679 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
35680 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
35681 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35682 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
35683 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
35684 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
35685 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35686 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
35687 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
35688 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
35689 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
35690 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
35691 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
35692 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35693 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
35694 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
35695 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
35696 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
35697 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35698 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
35699 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
35700 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
35701 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
35702 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
35703 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
35704 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
35705 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
35706 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
35707 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
35708 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
35709 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
35710 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
35711 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
35712 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
35713 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
35714 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
35715 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
35716 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
35717 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
35718 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
35719 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
35720 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
35721 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
35722 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
35723 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
35724 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
35725 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
35726 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
35727 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
35728 * sysdeps/ieee754/s_lib_version.c: Likewise.
35729 * sysdeps/ieee754/s_matherr.c: Likewise.
35730 * sysdeps/ieee754/s_signgam.c: Likewise.
35731 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
35732 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
35733 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
35734 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
35735 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
35736 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
35737 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
35738 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
35739 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
35740 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
35741 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
35742 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
35743 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
35744 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
35745 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
35746 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
35747 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
35748 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
35749 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
35750 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35751 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
35753 2012-03-09 Joseph Myers <joseph@codesourcery.com>
35755 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
35756 * sunrpc/rpc_main.c: Likewise.
35757 * sunrpc/rpc_svcout.c: Likewise.
35759 2012-03-09 David S. Miller <davem@davemloft.net>
35761 * include/math_private.h: New file.
35763 2012-03-09 Joseph Myers <joseph@codesourcery.com>
35765 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
35766 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
35767 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
35768 from <bits/socket_type.h>.
35769 (enum __socket_type): Don't define here.
35770 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
35771 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35772 bits/socket_type.h.
35775 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
35776 checking __USE_GNU.
35778 * Makerules ($(inst_includedir)/%.h): New rule.
35779 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
35780 (install-others): Remove variable setting.
35781 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
35783 2012-03-08 Richard Henderson <rth@twiddle.net>
35785 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
35786 from macro to inline function; merge with the
35787 !__LIBC_INTERNAL_MATH_INLINES version.
35788 (__ieee754_sqrtf): Likewise.
35790 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
35791 to inline function.
35792 (__rintf, __floor, __floorf): Likewise.
35794 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
35795 macro to inline function.
35796 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
35798 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
35799 not <math/math_private.h>.
35801 2012-03-08 David S. Miller <davem@davemloft.net>
35803 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
35805 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
35807 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
35809 * resolv/gai_misc.c (handle_requests): Fix struct timespec
35811 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
35812 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
35814 2012-03-08 Ulrich Drepper <drepper@gmail.com>
35816 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
35817 be defined individually, they must be defined as a block. Define
35818 S for printing a string instead of hidint the different by using a
35819 macro for adding the 'l'.
35820 * stdio-common/tst-fphex-wide.c: Adjust.
35822 2012-03-07 Marek Polacek <polacek@redhat.com>
35824 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
35826 2012-03-08 Marek Polacek <polacek@redhat.com>
35829 * stdio-common/Makefile (tests): Add tst-fphex-wide.
35830 * stdio-common/tst-fphex.c: Define a few macros to make the
35831 test reusable. Use them.
35832 * stdio-common/tst-fphex-wide.c: New file.
35834 2012-03-08 Joseph Myers <joseph@codesourcery.com>
35837 * manual/macros.texi (gnusystems): New macro.
35838 (nongnusystems): Likewise.
35839 (gnulinuxhurdsystems): Likewise.
35840 (gnuhurdsystems): Likewise..
35841 (gnulinuxsystems): Likewise.
35842 * manual/charset.texi: Use new macros or @theglibc{} to refer to
35843 variants of the GNU system, not "GNU system".
35844 * manual/conf.texi: Likewise.
35845 * manual/errno.texi: Likewise. Update example of errno macro
35847 * manual/filesys.texi: Likewise.
35848 (getumask): Document as specific to GNU/Hurd.
35849 * manual/install.texi: Likewise. Reword some references to
35851 * manual/intro.texi: Likewise.
35852 * manual/io.texi: Likewise.
35853 (File Name Portability): Detail which constraints are inapplicable
35854 to all GNU systems and which are only inapplicable to GNU/Hurd.
35855 * manual/job.texi: Likewise.
35856 * manual/llio.texi: Likewise.
35857 (O_NOCTTY): Document as present on GNU/Linux.
35858 * manual/maint.texi: Likewise.
35859 * manual/memory.texi: Likewise.
35860 * manual/pattern.texi: Likewise.
35861 * manual/pipe.texi: Likewise.
35862 * manual/process.texi: Likewise.
35863 * manual/resource.texi: Likewise.
35864 (RUSAGE_CHILDREN): Remove statement about specifying a particular
35866 * manual/setjmp.texi: Likewise.
35867 * manual/signal.texi: Likewise.
35868 * manual/startup.texi: Likewise.
35869 * manual/stdio.texi: Likewise.
35870 * manual/terminal.texi: Likewise.
35871 (ONLCR): Document as POSIX.
35872 (OXTABS): Document availability on GNU/Linux as XTABS.
35873 (ONOEOT): Document availability separately from other bits.
35874 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
35875 * manual/time.texi: Likewise.
35876 * manual/users.texi: Likewise.
35877 * INSTALL: Regenerated.
35878 * sysdeps/gnu/errlist.c: Regenerated.
35880 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
35881 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
35882 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
35884 * configure: Regenerated.
35886 2012-03-07 Joseph Myers <joseph@codesourcery.com>
35888 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
35889 default includes instead of AC_HEADER_CHECK.
35890 * sysdeps/i386/configure: Regenerated.
35893 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
35894 * math/s_cacoshf.c (__cacoshf): Likewise.
35895 * math/s_cacoshl.c (__cacoshl): Likewise.
35896 * math/s_casinh.c (__casinh): Set signs of result from argument.
35897 * math/s_casinhf.c (__casinhf): Likewise.
35898 * math/s_casinhl.c (__casinhl): Likewise.
35899 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
35900 (casinh_test): Add more tests.
35901 * sysdeps/i386/fpu/libm-test-ulps: Update.
35902 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35904 2012-03-07 Ulrich Drepper <drepper@gmail.com>
35906 * po/zh_TW.po: Update from translation team.
35908 * login/Makefile (distribute): Remove variable.
35909 * catgets/Makefile: Likewise.
35910 * mach/Makefile: Likewise.
35911 * malloc/Makefile: Likewise.
35912 * misc/Makefile: Likewise.
35913 * iconv/Makefile: Likewise.
35914 * nscd/Makefile: Likewise.
35915 * hurd/Makefile: Likewise.
35916 * manual/Makefile: Likewise.
35917 * locale/Makefile: Likewise.
35918 * intl/Makefile: Likewise.
35919 * conform/Makefile: Likewise.
35920 * nss/Makefile: Likewise.
35921 * time/Makefile: Likewise.
35922 * soft-fp/Makefile: Likewise.
35923 * dirent/Makefile: Likewise.
35924 * gmon/Makefile: Likewise.
35925 * po/Makefile: Likewise.
35926 * rt/Makefile: Likewise.
35927 * socket/Makefile: Likewise.
35928 * math/Makefile: Likewise.
35929 * signal/Makefile: Likewise.
35930 * debug/Makefile: Likewise.
35931 * elf/Makefile: Likewise.
35932 * timezone/Makefile: Likewise.
35933 * stdlib/Makefile: Likewise.
35934 * iconvdata/Makefile: Likewise.
35935 * sunrpc/Makefile: Likewise.
35936 * io/Makefile: Likewise.
35937 * argp/Makefile: Likewise.
35938 * inet/Makefile: Likewise.
35939 * hesiod/Makefile: Likewise.
35940 * grp/Makefile: Likewise.
35941 * csu/Makefile: Likewise.
35942 * wctype/Makefile: Likewise.
35943 * crypt/Makefile: Likewise.
35944 * libio/Makefile: Likewise.
35945 * string/Makefile: Likewise.
35946 * nis/Makefile: Likewise.
35947 * resolv/Makefile: Likewise.
35948 * stdio-common/Makefile: Likewise.
35949 * wcsmbs/Makefile: Likewise.
35950 * dlfcn/Makefile: Likewise.
35951 * posix/Makefile: Likewise.
35954 * timezone/Makefile: Don't install timezone files, just the programs
35957 2012-03-06 Ulrich Drepper <drepper@gmail.com>
35959 * nss/databases.def: Add missing gshadow entry.
35961 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
35963 2012-03-06 Marek Polacek <polacek@redhat.com>
35966 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
35967 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
35968 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
35969 * stdio-common/tst-long-dbl-fphex.c: New file.
35971 2012-03-06 David S. Miller <davem@davemloft.net>
35973 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35974 (set_obp_int): New function.
35975 (get_obp_int): New function.
35976 (__get_clockfreq_via_dev_openprom): Likewise.
35977 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
35978 Avoid unused variable warnings on 'val' and use builtin_expect.
35979 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
35981 (INLINE_CLONE_SYSCALL): Likewise.
35983 2012-03-05 David S. Miller <davem@davemloft.net>
35985 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35987 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
35989 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35991 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
35992 only for |x| >= 40.
35993 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
35995 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
35997 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
35998 Replace gettimeofday with __vdso_gettimeofday.
36000 * sysdeps/unix/sysv/linux/x86_64/init-first.c
36001 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
36002 __vdso_clock_gettime and __vdso_getcpu.
36004 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
36005 time with __vdso_time.
36007 2012-03-05 Joseph Myers <joseph@codesourcery.com>
36009 * manual/lang.texi (size_t): Note types to which size_t may be
36010 equivalent with the GNU C Library, but do not describe when
36011 differences between them are significant.
36013 2012-03-05 Andreas Jaeger <aj@suse.de>
36015 * sysdeps/i386/fpu/libm-test-ulps: Update.
36017 2012-03-05 Joseph Myers <joseph@codesourcery.com>
36020 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
36021 (__ieee754_pow): Save and restore rounding mode and use
36022 round-to-nearest for main computations.
36023 * math/libm-test.inc (pow_test_tonearest): New function.
36024 (pow_test_towardzero): Likewise.
36025 (pow_test_downward): Likewise.
36026 (pow_test_upward): Likewise.
36027 (main): Call the new functions.
36028 * sysdeps/i386/fpu/libm-test-ulps: Update.
36029 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36032 * math/libm-test.inc (cosh_test_tonearest): New function.
36033 (cosh_test_towardzero): Likewise.
36034 (cosh_test_downward): Likewise.
36035 (cosh_test_upward): Likewise.
36036 (sinh_test_tonearest): Likewise.
36037 (sinh_test_towardzero): Likewise.
36038 (sinh_test_downward): Likewise.
36039 (sinh_test_upward): Likewise.
36040 (main): Call the new functions.
36041 * sysdeps/i386/fpu/libm-test-ulps: Update.
36042 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36044 2012-03-05 Tom de Vries <tom@codesourcery.com>
36046 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
36047 default stack guard is set in last bytes.
36048 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
36050 2012-03-05 Kees Cook <keescook@chromium.org>
36052 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
36055 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
36056 possibly allocate from heap instead of stack.
36057 * stdio-common/bug-vfprintf-nargs.c: New file.
36058 * stdio-common/Makefile (tests): Add nargs overflow test.
36060 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
36062 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36064 2012-03-03 Marek Polacek <polacek@redhat.com>
36066 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
36067 * math/math_private.h: Likewise.
36068 * stdlib/tst-strtod.c: Likewise.
36069 * sysdeps/i386/i486/bits/atomic.h: Likewise.
36070 * sysdeps/x86_64/bits/atomic.h: Likewise.
36072 2012-03-02 David S. Miller <davem@davemloft.net>
36074 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
36075 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
36076 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
36077 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
36078 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
36079 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
36080 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
36081 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
36083 2012-03-02 Roland McGrath <roland@hack.frob.com>
36086 * manual/examples/README: New file, says the example source files
36087 can be used under GPL>=2.
36088 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
36089 line containing just "*/".
36090 * manual/examples/add.c: Add copyright header (GPL>=2).
36091 * manual/examples/argp-ex1.c: Likewise.
36092 * manual/examples/argp-ex2.c: Likewise.
36093 * manual/examples/argp-ex3.c: Likewise.
36094 * manual/examples/argp-ex4.c: Likewise.
36095 * manual/examples/atexit.c: Likewise.
36096 * manual/examples/db.c: Likewise.
36097 * manual/examples/dir.c: Likewise.
36098 * manual/examples/dir2.c: Likewise.
36099 * manual/examples/execinfo.c: Likewise.
36100 * manual/examples/filecli.c: Likewise.
36101 * manual/examples/filesrv.c: Likewise.
36102 * manual/examples/fmtmsgexpl.c: Likewise.
36103 * manual/examples/genpass.c: Likewise.
36104 * manual/examples/inetcli.c: Likewise.
36105 * manual/examples/inetsrv.c: Likewise.
36106 * manual/examples/isockad.c: Likewise.
36107 * manual/examples/longopt.c: Likewise.
36108 * manual/examples/memopen.c: Likewise.
36109 * manual/examples/memstrm.c: Likewise.
36110 * manual/examples/mkfsock.c: Likewise.
36111 * manual/examples/mkisock.c: Likewise.
36112 * manual/examples/mygetpass.c: Likewise.
36113 * manual/examples/pipe.c: Likewise.
36114 * manual/examples/popen.c: Likewise.
36115 * manual/examples/rprintf.c: Likewise.
36116 * manual/examples/search.c: Likewise.
36117 * manual/examples/select.c: Likewise.
36118 * manual/examples/setjmp.c: Likewise.
36119 * manual/examples/sigh1.c: Likewise.
36120 * manual/examples/sigusr.c: Likewise.
36121 * manual/examples/stpcpy.c: Likewise.
36122 * manual/examples/strdupa.c: Likewise.
36123 * manual/examples/strftim.c: Likewise.
36124 * manual/examples/strncat.c: Likewise.
36125 * manual/examples/subopt.c: Likewise.
36126 * manual/examples/swapcontext.c: Likewise.
36127 * manual/examples/termios.c: Likewise.
36128 * manual/examples/testopt.c: Likewise.
36129 * manual/examples/testpass.c: Likewise.
36130 * manual/examples/timeval_subtract.c: Likewise.
36133 * manual/time.texi (Elapsed Time): Move timeval_subtract example
36135 * manual/timeval_subtract.c.texi: ... here, new file.
36137 2012-03-02 David S. Miller <davem@davemloft.net>
36139 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
36141 2012-03-02 Joseph Myers <joseph@codesourcery.com>
36144 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
36145 (__sin): Save and restore rounding mode and use round-to-nearest
36146 for all computations.
36147 (__cos): Save and restore rounding mode and use round-to-nearest
36148 for all computations.
36149 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
36151 (tan): Save and restore rounding mode and use round-to-nearest for
36153 * math/libm-test.inc (cos_test_tonearest): New function.
36154 (cos_test_towardzero): Likewise.
36155 (cos_test_downward): Likewise.
36156 (cos_test_upward): Likewise.
36157 (sin_test_tonearest): Likewise.
36158 (sin_test_towardzero): Likewise.
36159 (sin_test_downward): Likewise.
36160 (sin_test_upward): Likewise.
36161 (tan_test_tonearest): Likewise.
36162 (tan_test_towardzero): Likewise.
36163 (tan_test_downward): Likewise.
36164 (tan_test_upward): Likewise.
36165 (main): Call the new functions.
36166 * sysdeps/i386/fpu/libm-test-ulps: Update.
36167 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36170 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
36171 small n, then large n, before computing and testing k+n.
36172 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
36173 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
36175 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
36177 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
36178 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
36179 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
36180 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
36181 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
36182 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
36183 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
36184 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
36185 * math/libm-test.inc (scalbn_test): Add more tests.
36186 (scalbln_test): Likewise.
36188 * manual/filesys.texi (mode_t): Describe constraints on size and
36189 signedness, not exact equivalence to a particular type.
36191 (ino64_t): Likewise.
36193 (nlink_t): Likewise.
36194 (blkcnt_t): Likewise.
36195 (blkcnt64_t): Likewise.
36196 * manual/llio.texi (off_t): Likewise.
36199 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
36200 (__ieee754_exp): Save and restore rounding mode and use
36201 round-to-nearest for all computations.
36202 * math/libm-test.inc (exp_test_tonearest): New function.
36203 (exp_test_towardzero): Likewise.
36204 (exp_test_downward): Likewise.
36205 (exp_test_upward): Likewise.
36206 (main): Call the new functions.
36207 * sysdeps/i386/fpu/libm-test-ulps: Update.
36208 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36210 2012-03-01 Chris Demetriou <cgd@google.com>
36212 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
36213 have predictable order.
36215 2012-03-01 David S. Miller <davem@davemloft.net>
36217 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
36219 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
36220 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
36221 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
36222 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
36224 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
36225 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
36226 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
36227 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
36228 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
36229 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
36230 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
36231 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
36232 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
36234 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36236 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
36237 * sysdeps/sparc/fpu/libm-test-ulps: to here.
36238 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
36240 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
36241 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
36242 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
36243 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
36244 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
36245 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
36246 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
36247 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
36248 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
36249 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
36250 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
36251 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36252 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
36253 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
36254 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
36255 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36256 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
36257 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
36258 * sysdeps/sparc/elf/configure: Regenerated.
36260 2012-03-01 Joseph Myers <joseph@codesourcery.com>
36262 * configure.in (AS, LD): Require binutils 2.20 or later.
36263 * configure: Regenerated.
36264 * manual/install.texi (Tools for Compilation): Give binutils 2.20
36265 as required minimum version.
36266 * INSTALL: Regenerated.
36270 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
36271 before squaring exponent.
36272 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
36273 bottom long double and 27 bits of top long double before squaring
36275 * math/libm-test.inc (erfc_test): Add more tests.
36276 * sysdeps/i386/fpu/libm-test-ulps: Update.
36277 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36278 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36280 2012-03-01 Kai Tietz <ktietz@redhat.com>
36282 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
36283 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
36284 containing bit-fields.
36285 * soft-fp/extended.h (_FP_UNION_E): Likewise.
36286 * soft-fp/single.h (_FP_UNION_S): Likewise.
36287 * soft-fp/double.h (_FP_UNION_D): Likewise.
36289 2012-02-29 Joseph Myers <joseph@codesourcery.com>
36292 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
36293 not include ../strcmp.S.
36294 [USE_AS_STRNCASECMP_L]: Likewise.
36295 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
36296 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
36297 * sysdeps/i386/i686/multiarch/strncase_l-c.c
36298 (__strncasecmp_l_ia32): Define as alias to
36299 __strncasecmp_l_nonascii.
36302 * math/libm-test.inc (expm1_test): Add test for bug 5794.
36303 * sysdeps/i386/fpu/libm-test-ulps: Update.
36304 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36306 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
36307 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36309 2012-02-29 Jeff Law <law@redhat.com>
36311 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
36312 out of bounds read.
36314 2012-02-29 Marek Polacek <polacek@redhat.com>
36317 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
36318 * elf/Makefile: Add rules to run tst-unused-dep.out.
36320 2012-02-28 David S. Miller <davem@davemloft.net>
36322 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
36323 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
36324 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
36325 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
36326 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
36327 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
36329 2012-02-29 Joseph Myers <joseph@codesourcery.com>
36331 * math/libm-test.inc (llround_test): Move one test from
36332 lround_test. Use TEST_f_L in moved test.
36333 (lround_test): Move misplaced test to llround_test. Add testcase
36336 2012-02-28 Ulrich Drepper <drepper@gmail.com>
36338 * sysdeps/x86_64/fpu/e_expf.S: New file.
36339 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
36341 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
36344 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
36345 of remain_len that may cause incomplete multi-byte character and
36347 * posix/bug-regex33.c: New file.
36348 * posix/Makefile (tests): Add bug-regex33.
36350 2012-02-28 Joseph Myers <joseph@codesourcery.com>
36352 * manual/macros.texi: New file.
36353 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
36354 * manual/libc.texinfo: Include macros.texi.
36355 * manual/creatute.texi: Likewise.
36356 * manual/install.texi: Likewise.
36357 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
36358 @glibcadj{} in references to the GNU C Library.
36359 * manual/charset.texi: Likewise.
36360 * manual/conf.texi: Likewise.
36361 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
36362 when not using those macros.
36363 * manual/creature.texi: Likewise.
36364 * manual/crypt.texi: Likewise.
36365 * manual/errno.texi: Likewise.
36366 * manual/filesys.texi: Likewise.
36367 * manual/header.texi: Likewise.
36368 * manual/install.texi: Likewise.
36369 * manual/intro.texi: Likewise.
36370 * manual/io.texi: Likewise.
36371 * manual/job.texi: Likewise.
36372 * manual/lang.texi: Likewise.
36373 * manual/libc.texiinfo: Likewise.
36374 * manual/llio.texi: Likewise.
36375 * manual/locale.texi: Likewise.
36376 * manual/maint.texi: Likewise.
36377 * manual/math.texi: Likewise.
36378 * manual/memory.texi: Likewise.
36379 * manual/message.texi: Likewise.
36380 * manual/nss.texi: Likewise.
36381 * manual/pattern.texi: Likewise.
36382 * manual/process.texi: Likewise.
36383 * manual/resource.texi: Likewise.
36384 * manual/search.texi: Likewise.
36385 * manual/setjmp.texi: Likewise.
36386 * manual/signal.texi: Likewise.
36387 * manual/socket.texi: Likewise.
36388 * manual/startup.texi: Likewise.
36389 * manual/stdio.texi: Likewise.
36390 * manual/string.texi: Likewise.
36391 * manual/sysinfo.texi: Likewise.
36392 * manual/syslog.texi: Likewise.
36393 * manual/terminal.texi: Likewise.
36394 * manual/time.texi: Likewise.
36395 * manual/users.texi: Likewise.
36396 * INSTALL: Regenerated.
36397 * NOTES: Regenerated.
36398 * sysdeps/gnu/errlist.c: Regenerated.
36400 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
36402 * include/dirent.h: Include <dirstream.h> before
36405 2012-02-28 David S. Miller <davem@davemloft.net>
36407 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
36408 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
36409 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
36410 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
36412 2012-02-27 David S. Miller <davem@davemloft.net>
36414 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
36415 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
36416 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
36417 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
36419 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
36420 frame pointer instead of stack pointer relative arg slot.
36421 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
36422 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
36423 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
36425 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
36428 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
36430 2012-02-27 David S. Miller <davem@davemloft.net>
36432 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
36433 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
36434 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
36435 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
36436 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
36437 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
36438 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
36439 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
36441 2012-02-27 Joseph Myers <joseph@codesourcery.com>
36443 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
36444 later. Allow versions 5-9.
36445 * configure: Regenerated.
36446 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
36447 required minimum version and 4.6 as recommended version. Do not
36448 mention bugs in GCC 2.7 and 2.8.
36449 * INSTALL: Regenerated.
36451 2012-02-27 David S. Miller <davem@davemloft.net>
36453 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
36454 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
36455 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
36456 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
36457 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
36458 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
36459 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
36460 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
36462 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
36463 manipulate bits before adding and subtracting TWO112[sx].
36464 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
36466 2012-02-27 Roland McGrath <roland@hack.frob.com>
36469 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
36470 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
36471 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
36472 being in POSIX, because they are in 1003.1-2008.
36474 * rt/tst-aio.c: Include <fcntl.h>.
36475 * rt/tst-aio7.c: Likewise.
36476 * rt/tst-aio64.c: Likewise.
36478 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
36480 2012-02-27 Joseph Myers <joseph@codesourcery.com>
36482 * manual/install.texi (--with-headers): Describe headers as
36483 interface headers, not private headers.
36484 (Specific advice for GNU/Linux systems): Describe use of headers
36485 from "make headers_install", not private headers from older
36487 * INSTALL: Regenerated.
36488 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
36490 * sysdeps/unix/sysv/linux/configure: Regenerated.
36492 * manual/llio.texi (fclean): Remove documentation.
36494 * manual/Makefile (libc-texi-generated): New variable. Include
36496 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
36497 $(libc-texi-generated), not duplicated list of files.
36498 (version.texi, stamp-version): New rules.
36499 (realclean): Remove $(libc-texi-generated), not individual files
36500 from that list. Do not remove dir-add.texinfo.
36501 * manual/libc.texinfo: Comment out uses of edition numbers and
36502 references to printed manual. Remove last-updated dates.
36503 (EDITION): Comment out.
36505 (VERSION, UPDATED): Remove.
36506 (version.texi): Include.
36508 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
36510 * sysdeps/posix/spawni.c: Include <signal.h>.
36511 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
36512 * sysdeps/pthread/aio_fsync.c: Likewise.
36514 2012-02-26 Ulrich Drepper <drepper@gmail.com>
36516 * conform/Makefile (tests): Run only when not cross-compiling and
36517 when fast-check is not defined.
36519 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
36520 * conform/data/limits.h-data: Fixes for POSIX2008.
36521 * conform/run-conformtest.sh: Run all tests.
36522 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
36524 * include/bits/dlfcn.h: Likewise.
36525 * include/langinfo.h: Likewise.
36526 * include/monetary.h: Likewise.
36527 * include/sys/poll.h: Likewise.
36529 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
36531 * posix/spawn.h: Define __need_sigset_t.
36532 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
36533 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
36534 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
36535 to get sigevent_t only.
36536 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
36537 only for __USE_GNU.
36538 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36539 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
36540 process_vm_writev only for __USE_GNU.
36541 * termios/termios.h: Declare tcgetsid also for POSIX2008.
36543 * conform/Makefile: For now ignore errors from run-conformtest.
36544 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
36545 POSIX to avoid namespace pollution. Don't prepend headers.
36546 * conform/data/aio.h-data: Fixes for POSIX testing.
36547 * conform/data/fcntl.h-data: Likewise.
36548 * conform/data/glob.h-data: Likewise.
36549 * conform/data/grp.h-data: Likewise.
36550 * conform/data/pthread.h-data: Likewise.
36551 * conform/data/pwd.h-data: Likewise.
36552 * conform/data/signal.h-data: Likewise.
36553 * conform/data/spawn.h-data: Likewise.
36554 * conform/data/stdio.h-data: Likewise.
36555 * conform/data/stdlib.h-data: Likewise.
36556 * conform/data/stropts.h-data: Likewise.
36557 * conform/data/sys/mman.h-data: Likewise.
36558 * conform/data/sys/stat.h-data: Likewise.
36559 * conform/data/sys/types.h-data: Likewise.
36560 * conform/data/sys/wait.h-data: Likewise.
36561 * conform/data/time.h-data: Likewise.
36562 * conform/data/unistd.h-data: Likewise.
36563 * conform/data/utime.h-data: Likewise.
36565 * io/sys/stat.h: fchmod was always in POSIX.
36566 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
36567 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
36568 * rt/aio.h: Define __need_timespec before including <time.h>.
36569 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
36570 struct. Add forward declaration of pthread_attr_t and use it in
36572 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
36573 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
36574 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
36575 always remove CLK_TCK definition.
36577 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
36579 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
36581 2012-02-25 Ulrich Drepper <drepper@gmail.com>
36583 * conform/run-conformtest.sh: New file.
36584 * conform/Makefile: Run run-conformtest for tests.
36585 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
36588 * conform/data/uchar.h-data: New file.
36589 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
36590 * conform/data/arpa/inet.h-data: Likewise.
36591 * conform/data/assert.h-data: Likewise.
36592 * conform/data/complex.h-data: Likewise.
36593 * conform/data/cpio.h-data: Likewise.
36594 * conform/data/ctype.h-data: Likewise.
36595 * conform/data/dirent.h-data: Likewise.
36596 * conform/data/dlfcn.h-data: Likewise.
36597 * conform/data/errno.h-data: Likewise.
36598 * conform/data/fcntl.h-data: Likewise.
36599 * conform/data/float.h-data: Likewise.
36600 * conform/data/fmtmsg.h-data: Likewise.
36601 * conform/data/fnmatch.h-data: Likewise.
36602 * conform/data/ftw.h-data: Likewise.
36603 * conform/data/glob.h-data: Likewise.
36604 * conform/data/grp.h-data: Likewise.
36605 * conform/data/iconv.h-data: Likewise.
36606 * conform/data/inttypes.h-data: Likewise.
36607 * conform/data/langinfo.h-data: Likewise.
36608 * conform/data/libgen.h-data: Likewise.
36609 * conform/data/limits.h-data: Likewise.
36610 * conform/data/locale.h-data: Likewise.
36611 * conform/data/math.h-data: Likewise.
36612 * conform/data/monetary.h-data: Likewise.
36613 * conform/data/mqueue.h-data: Likewise.
36614 * conform/data/ndbm.h-data: Likewise.
36615 * conform/data/net/if.h-data: Likewise.
36616 * conform/data/netdb.h-data: Likewise.
36617 * conform/data/netinet/in.h-data: Likewise.
36618 * conform/data/nl_types.h-data: Likewise.
36619 * conform/data/poll.h-data: Likewise.
36620 * conform/data/pthread.h-data: Likewise.
36621 * conform/data/pwd.h-data: Likewise.
36622 * conform/data/regex.h-data: Likewise.
36623 * conform/data/sched.h-data: Likewise.
36624 * conform/data/search.h-data: Likewise.
36625 * conform/data/semaphore.h-data: Likewise.
36626 * conform/data/setjmp.h-data: Likewise.
36627 * conform/data/signal.h-data: Likewise.
36628 * conform/data/spawn.h-data: Likewise.
36629 * conform/data/stdarg.h-data: Likewise.
36630 * conform/data/stdio.h-data: Likewise.
36631 * conform/data/stdlib.h-data: Likewise.
36632 * conform/data/string.h-data: Likewise.
36633 * conform/data/strings.h-data: Likewise.
36634 * conform/data/stropts.h-data: Likewise.
36635 * conform/data/sys/ipc.h-data: Likewise.
36636 * conform/data/sys/mman.h-data: Likewise.
36637 * conform/data/sys/msg.h-data: Likewise.
36638 * conform/data/sys/resource.h-data: Likewise.
36639 * conform/data/sys/select.h-data: Likewise.
36640 * conform/data/sys/sem.h-data: Likewise.
36641 * conform/data/sys/shm.h-data: Likewise.
36642 * conform/data/sys/socket.h-data: Likewise.
36643 * conform/data/sys/stat.h-data: Likewise.
36644 * conform/data/sys/statvfs.h-data: Likewise.
36645 * conform/data/sys/time.h-data: Likewise.
36646 * conform/data/sys/timeb.h-data: Likewise.
36647 * conform/data/sys/times.h-data: Likewise.
36648 * conform/data/sys/types.h-data: Likewise.
36649 * conform/data/sys/uio.h-data: Likewise.
36650 * conform/data/sys/un.h-data: Likewise.
36651 * conform/data/sys/utsname.h-data: Likewise.
36652 * conform/data/sys/wait.h-data: Likewise.
36653 * conform/data/syslog.h-data: Likewise.
36654 * conform/data/tar.h-data: Likewise.
36655 * conform/data/termios.h-data: Likewise.
36656 * conform/data/utime.h-data: Likewise.
36657 * conform/data/utmpx.h-data: Likewise.
36658 * conform/data/varargs.h-data: Likewise.
36659 * conform/data/wchar.h-data: Likewise.
36660 * conform/data/wctype.h-data: Likewise.
36661 * conform/data/wordexp.h-data: Likewise.
36663 * include/stropts.h: New file.
36664 * include/uchar.h: New file.
36665 * include/aio.h: Changes to allow conformtest.pl to use the headers.
36666 * include/assert.h: Likewise.
36667 * include/ctype.h: Likewise.
36668 * include/dirent.h: Likewise.
36669 * include/dlfcn.h: Likewise.
36670 * include/fcntl.h: Likewise.
36671 * include/fnmatch.h: Likewise.
36672 * include/glob.h: Likewise.
36673 * include/grp.h: Likewise.
36674 * include/libio.h: Likewise.
36675 * include/locale.h: Likewise.
36676 * include/math.h: Likewise.
36677 * include/net/if.h: Likewise.
36678 * include/netdb.h: Likewise.
36679 * include/netinet/in.h: Likewise.
36680 * include/pthread.h: Likewise.
36681 * include/pwd.h: Likewise.
36682 * include/regex.h: Likewise.
36683 * include/sched.h: Likewise.
36684 * include/search.h: Likewise.
36685 * include/setjmp.h: Likewise.
36686 * include/signal.h: Likewise.
36687 * include/stdio.h: Likewise.
36688 * include/stdlib.h: Likewise.
36689 * include/string.h: Likewise.
36690 * include/sys/cdefs.h: Likewise.
36691 * include/sys/mman.h: Likewise.
36692 * include/sys/msg.h: Likewise.
36693 * include/sys/resource.h: Likewise.
36694 * include/sys/select.h: Likewise.
36695 * include/sys/socket.h: Likewise.
36696 * include/sys/stat.h: Likewise.
36697 * include/sys/statvfs.h: Likewise.
36698 * include/sys/time.h: Likewise.
36699 * include/sys/times.h: Likewise.
36700 * include/sys/uio.h: Likewise.
36701 * include/sys/utsname.h: Likewise.
36702 * include/sys/wait.h: Likewise.
36703 * include/termios.h: Likewise.
36704 * include/time.h: Likewise.
36705 * include/ulimit.h: Likewise.
36706 * include/unistd.h: Likewise.
36707 * include/utime.h: Likewise.
36708 * include/wchar.h: Likewise.
36709 * include/wctype.h: Likewise.
36710 * include/wordexp.h: Likewise.
36712 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
36714 * time/time.h: TIME_UTC must be a macro.
36715 Make timespec_get available for ISO C11 only as well.
36717 2012-02-24 Ulrich Drepper <drepper@gmail.com>
36719 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
36720 Reported by Peng Haitao <penght@cn.fujitsu.com>.
36722 2012-02-24 Joseph Myers <joseph@codesourcery.com>
36724 * configure.in: Use -o not -a in test for unsupported multi-arch.
36726 2012-02-24 Joseph Myers <joseph@codesourcery.com>
36728 * manual/texinfo.tex: Update to version 2012-01-19.16.
36730 2012-02-24 Joseph Myers <joseph@codesourcery.com>
36732 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
36734 2012-02-24 Roland McGrath <roland@hack.frob.com>
36737 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
36738 * manual/fdl-1.3.texi: New file.
36739 * manual/fdl-1.1.texi: File removed.
36742 * manual/libc.texinfo (FDL_VERSION): New @set.
36743 Use it for mention of FDL in cover text.
36744 (Documentation License): Use it in @include file name.
36746 2012-02-22 Joseph Myers <joseph@codesourcery.com>
36747 Roland McGrath <roland@hack.frob.com>
36750 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
36751 (not LONG_LONG_MAX and LONG_LONG_MIN.
36752 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
36753 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
36755 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
36757 2012-02-22 Joseph Myers <joseph@codesourcery.com>
36761 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
36762 manipulate bits before adding and subtracting TWO23[sx].
36763 * math/libm-test.inc (nearbyint_test): Add more tests.
36765 2012-02-22 Joseph Myers <joseph@codesourcery.com>
36768 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
36769 bits before adding and subtracting TWO23[sx].
36770 * math/libm-test.inc (rint_test): Add more tests.
36771 (rint_test_tonearest): Likewise.
36772 (rint_test_towardzero): Likewise.
36773 (rint_test_downward): Likewise.
36774 (rint_test_upward: Likewise.
36776 2012-02-22 Joseph Myers <joseph@codesourcery.com>
36779 * include/stdc-predef.h: New file. Extracted from features.h.
36780 * include/features.h: Include stdc-predef.h.
36781 * Makefile (headers): Add stdc-predef.h.
36782 * CONFORMANCE (Compiler limitations): Update.
36784 2012-02-22 Joseph Myers <joseph@codesourcery.com>
36786 * manual/libc.texinfo (VERSION, UPDATED): Revert.
36788 2012-02-21 David S. Miller <davem@davemloft.net>
36790 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
36791 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
36793 2012-02-20 David S. Miller <davem@davemloft.net>
36795 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
36796 using a normal save/restore sequence, rather than allocating a
36797 dummy stack frame just to store a frame pointer and restore.
36798 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36800 2012-02-21 Joseph Myers <joseph@codesourcery.com>
36802 * manual/install.texi: Fix stray word in line-wrapped comment.
36804 2012-02-20 David S. Miller <davem@davemloft.net>
36806 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
36807 both binutils and gcc support GOTDATA.
36809 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
36810 "rd %pc" in the PIC register setup sequences.
36812 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
36813 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
36814 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
36815 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
36816 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
36817 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
36818 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36819 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36820 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
36821 (SYSCALL_ERROR_HANDLER): Likewise.
36822 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
36823 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
36824 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
36825 (SYSCALL_ERROR_HANDLER): Likewise.
36827 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
36828 (HAVE_GCC_GOTDATA): New.
36829 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
36830 relocation support in both binutils and gcc.
36831 * sysdeps/sparc/elf/configure: Regenerate.
36833 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
36834 * sysdeps/sparc/sparc32/elf/configure: Delete.
36835 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
36836 * sysdeps/sparc/sparc64/elf/configure: Delete.
36837 * sysdeps/sparc/elf/configure.in: New file.
36838 * sysdeps/sparc/elf/configure: Generate.
36840 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
36841 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
36842 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
36843 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
36844 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
36846 2012-02-21 Joseph Myers <joseph@codesourcery.com>
36848 * manual/install.texi: Do not mention specific glibc version
36850 * manual/libc.texinfo (VERSION, UPDATED): Update.
36851 (@copying): Use @copyright{} and range of years.
36853 2012-02-21 Joseph Myers <joseph@codesourcery.com>
36856 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
36857 [crti.S not in sysdirs] (generated): Do not append.
36858 [crti.S not in sysdirs] (omit-deps): Likewise.
36859 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
36860 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
36861 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
36862 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
36863 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
36865 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
36866 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
36867 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
36868 * csu/defs.awk: Remove file.
36869 * sysdeps/generic/initfini.c: Likewise.
36870 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
36872 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
36875 2012-02-20 Joseph Myers <joseph@codesourcery.com>
36877 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
36878 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
36879 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
36880 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
36881 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36882 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
36884 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
36885 (__EPOLL_PACKED): Define to empty if not defined by
36887 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
36888 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36891 2012-02-20 Joseph Myers <joseph@codesourcery.com>
36893 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
36894 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
36895 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
36896 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
36898 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
36899 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36902 2012-02-20 Joseph Myers <joseph@codesourcery.com>
36904 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
36906 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36907 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
36908 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
36909 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36911 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
36913 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
36914 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
36916 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
36918 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
36919 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
36921 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
36923 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
36926 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
36928 * math/w_acos.c: Use non-signaling floating-point comparisons.
36929 * math/w_acosf.c: Likewise.
36930 * math/w_acosh.c: Likewise.
36931 * math/w_acoshf.c: Likewise.
36932 * math/w_acoshl.c: Likewise.
36933 * math/w_acosl.c: Likewise.
36934 * math/w_asin.c: Likewise.
36935 * math/w_asinf.c: Likewise.
36936 * math/w_asinl.c: Likewise.
36937 * math/w_atanh.c: Likewise.
36938 * math/w_atanhf.c: Likewise.
36939 * math/w_atanhl.c: Likewise.
36940 * math/w_exp2.c: Likewise.
36941 * math/w_exp2f.c: Likewise.
36942 * math/w_exp2l.c: Likewise.
36943 * math/w_j0.c: Likewise.
36944 * math/w_j0f.c: Likewise.
36945 * math/w_j0l.c: Likewise.
36946 * math/w_j1.c: Likewise.
36947 * math/w_j1f.c: Likewise.
36948 * math/w_j1l.c: Likewise.
36949 * math/w_jn.c: Likewise.
36950 * math/w_jnf.c: Likewise.
36951 * math/w_log.c: Likewise.
36952 * math/w_log10.c: Likewise.
36953 * math/w_log10f.c: Likewise.
36954 * math/w_log10l.c: Likewise.
36955 * math/w_log2.c: Likewise.
36956 * math/w_log2f.c: Likewise.
36957 * math/w_log2l.c: Likewise.
36958 * math/w_logf.c: Likewise.
36959 * math/w_logl.c: Likewise.
36960 * math/w_sqrt.c: Likewise.
36961 * math/w_sqrtf.c: Likewise.
36962 * math/w_sqrtl.c: Likewise.
36963 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
36964 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
36965 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36966 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
36967 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
36969 2012-02-19 Joseph Myers <joseph@codesourcery.com>
36972 * manual/string.texi (strnlen): Use correct parameter name in
36973 equivalent expression.
36975 2012-02-19 Joseph Myers <joseph@codesourcery.com>
36978 * manual/users.texi (seteuid): Consistently use neweuid for
36981 2012-02-19 Joseph Myers <joseph@codesourcery.com>
36984 * manual/nss.texi (Services in the NSS configuration): Correct
36985 list of services in example configuration file.
36987 2012-02-19 Nick Bowler <nbowler@draconx.ca>
36990 * manual/arith.texi: Remove statements about negative zero
36991 behaving identically to zero.
36993 2012-02-18 Joseph Myers <joseph@codesourcery.com>
36996 * manual/install.texi: Do not document upgrading from libc5.
36998 2012-02-18 Joseph Myers <joseph@codesourcery.com>
37001 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
37003 2012-02-18 David S. Miller <davem@davemloft.net>
37005 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
37006 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
37007 %o7 across the call.
37008 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
37010 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
37011 SETUP_PIC_REG_LEAF.
37012 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37013 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
37014 * sysdeps/sparc/crtn.S: Likewise.
37016 2012-02-17 Ulrich Drepper <drepper@gmail.com>
37018 * aout/Makefile: Remove.
37020 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
37023 * manual/examples/argp-ex1.c (main): Format definition in GNU
37025 * manual/examples/argp-ex2.c (main): Likewise.
37026 * manual/examples/argp-ex3.c (main): Likewise.
37027 * manual/examples/argp-ex4.c (main): Likewise.
37028 * manual/examples/longopt.c (main): Use new-style prototype
37030 * manual/examples/strncat.c (main): Specify return type and use
37031 (void) for arguments.
37032 * manual/examples/subopt.c (main): Use char **argv argument.
37034 2012-02-17 Joseph Myers <joseph@codesourcery.com>
37037 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
37040 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
37043 * manual/string.texi (strchr): Change when strchrnul is
37046 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
37049 * manual/locale.texi (setlocale): Document LOCPATH.
37051 2012-02-17 Joseph Myers <joseph@codesourcery.com>
37054 * manual/process.texi (execle): Move @dots{} before last argument.
37056 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
37059 * manual/charset.texi (Generic Charset Conversion): Fix typo
37060 (LC_TYPE -> LC_CTYPE).
37062 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
37065 * manual/arith.texi (scalbn): Use @var{} on parameter names.
37066 (scalbnf): Likewise.
37067 (scalbnl): Likewise.
37068 (scalbln): Likewise.
37069 (scalblnf): Likewise.
37070 (scalblnl): Likewise.
37071 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
37072 (vwarnx): Likewise.
37075 * manual/filesys.texi (telldir): Use braces around return type.
37076 * manual/llio.texi (mmap): Add space after comma.
37077 (mmap64): Likewise.
37078 * manual/math.texi (jn): Use @var{} on parameter names.
37084 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
37086 * manual/resource.texi (ulimit): Use @dots{} instead of literal
37088 (sched_get_priority_min): Remove semicolon on @deftypefun line.
37089 (sched_get_priority_max): Likewise.
37090 * manual/signal.texi (sigvec): Add space after comma.
37091 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
37093 (if_indextoname): Likewise.
37094 (if_freenameindex): Likewise.
37095 (sendto): Use ',' instead of '.' in prototype.
37096 * manual/startup.texi (syscall): Use @dots{} instead of literal
37098 * manual/stdio.texi (__fpending): Separate initial words of
37099 paragraph from @deftypefun line.
37100 * manual/syslog.texi (syslog): Use @dots{} instead of literal
37102 (vsyslog): Use @var{} on parameter names.
37103 * manual/terminal.texi (stty): Use @var{} on parameter names.
37104 * manual/users.texi (getutmp): Use @var{} on parameter names.
37105 (getutmpx): Likewise.
37107 2012-02-17 Joseph Myers <joseph@codesourcery.com>
37110 * manual/stdio.texi (fopen): Fix typos in description of
37113 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
37116 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
37117 get clock_id definition.
37119 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
37122 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
37123 (madvise): Cast every argument to void on its own.
37125 2012-02-17 Joseph Myers <joseph@codesourcery.com>
37128 * manual/startup.texi (Exit Status): Fix typo.
37130 2012-02-17 Joseph Myers <joseph@codesourcery.com>
37133 * manual/examples/argp-ex1.c: Include <stdlib.h>.
37134 * manual/examples/argp-ex2.c: Likewise.
37135 * manual/examples/argp-ex3.c: Likewise.
37137 2012-02-16 Richard Henderson <rth@redhat.com>
37139 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
37140 * sysdeps/s390/s390-32/initfini.c: Remove.
37141 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
37142 * sysdeps/s390/s390-64/initfini.c: Remove.
37144 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
37146 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
37147 compiler output for sysdeps/generic/initfini.c.
37148 * sysdeps/sh/elf/initfini.c: Remove file.
37150 2012-02-16 David S. Miller <davem@davemloft.net>
37153 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
37155 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
37156 * sysdeps/sparc/crti.S: New file.
37157 * sysdeps/sparc/crtn.S: New file.
37158 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
37159 * sysdeps/sparc/sparc64/Makefile: Likewise.
37161 2012-02-15 Mike Frysinger <vapier@gentoo.org>
37164 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
37166 2012-02-15 Roland McGrath <roland@hack.frob.com>
37169 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
37171 * mach/devstream.c (cookie_io_functions_t): Macro removed.
37172 (write, read, close): Likewise.
37173 Patch by Aurelien Jarno <aurelien@aurel32.net>.
37175 2012-02-15 Joseph Myers <joseph@codesourcery.com>
37177 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
37178 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
37179 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
37180 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
37182 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
37183 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37186 2012-02-14 Marek Polacek <polacek@redhat.com>
37188 * sysdeps/x86_64/crti.S: New file.
37189 * sysdeps/x86_64/crtn.S: New file.
37190 * sysdeps/x86_64/elf/initfini.c: Remove file.
37192 2012-02-13 Joseph Myers <joseph@codesourcery.com>
37194 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
37195 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
37196 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
37197 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
37199 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
37200 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37203 2012-02-13 Joseph Myers <joseph@codesourcery.com>
37205 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
37206 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
37207 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
37208 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
37210 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
37211 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37214 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
37216 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
37217 __feraiseexcept instead of feraiseexcept.
37219 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
37220 nanosleep invocations.
37221 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
37222 strings, and add error checking for a nanosleep invocations.
37224 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
37226 Replace FSF snail mail address with URLs, as per GNU coding standards.
37227 Most of the snail mail addresses were wrong anyway, and omitting
37228 them makes the source code easier to maintain. Almost all of the
37229 changes are to license notices and to locale LC_IDENTIFICATION
37230 addresses, except for this one:
37231 * manual/libc.texinfo: In "Published by", give the FSF's URL,
37232 not its snail mail address.
37234 2012-02-09 Richard Henderson <rth@twiddle.net>
37236 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
37237 of kernel-features.h.
37239 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
37241 2012-02-08 Marek Polacek <polacek@redhat.com>
37243 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
37244 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
37245 * sysdeps/gnu/_G_config.h: Likewise.
37246 * sysdeps/generic/_G_config.h: Likewise.
37248 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
37250 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
37252 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37254 * sysdeps/powerpc/powerpc32/crti.S: New file.
37255 * sysdeps/powerpc/powerpc32/crtn.S: New file.
37256 * sysdeps/powerpc/powerpc64/crti.S: New file.
37257 * sysdeps/powerpc/powerpc64/crtn.S: New file.
37259 * Makeconfig (have-initfini): Don't set.
37260 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
37261 * configure.in (nopic_initfini): Don't substitute.
37262 * config.h.in (HAVE_INITFINI): Don't #undef.
37263 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
37264 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
37266 2012-02-08 Joseph Myers <joseph@codesourcery.com>
37268 Support crti.S and crtn.S provided directly by architectures.
37269 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
37270 [crti.S in sysdirs] (omit-deps): Likewise.
37271 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
37272 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
37273 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
37274 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
37275 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
37276 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
37277 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
37278 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
37279 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
37280 compiler output for sysdeps/generic/initfini.c.
37281 * sysdeps/i386/elf/Makefile: Remove file.
37282 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
37284 2012-02-07 Marek Polacek <polacek@redhat.com>
37286 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
37287 * sysdeps/gnu/_G_config.h: Likewise.
37288 * sysdeps/mach/hurd/_G_config.h: Likewise.
37290 2012-02-07 Marek Polacek <polacek@redhat.com>
37292 * math/Makefile (tests): Add tst-CMPLX2.
37293 * math/tst-CMPLX2.c: New file.
37295 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
37297 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37299 * math/libm-test.inc (jn_test): Add missing L suffix.
37301 2012-02-06 Marek Polacek <polacek@redhat.com>
37303 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
37304 * sysdeps/i386/fpu/e_powf.S: Likewise.
37305 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
37306 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
37307 * sysdeps/i386/fpu/e_acosh.S: Likewise.
37308 * sysdeps/i386/fpu/e_pow.S: Likewise.
37309 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
37310 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
37311 * sysdeps/i386/fpu/s_expm1.S: Likewise.
37312 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
37313 * sysdeps/i386/fpu/e_log2.S: Likewise.
37314 * sysdeps/i386/fpu/e_log2l.S: Likewise.
37315 * sysdeps/i386/fpu/e_scalb.S: Likewise.
37316 * sysdeps/i386/fpu/e_powl.S: Likewise.
37317 * sysdeps/i386/fpu/s_log1p.S: Likewise.
37318 * sysdeps/i386/fpu/e_log10f.S: Likewise.
37319 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
37320 * sysdeps/i386/fpu/e_logl.S: Likewise.
37321 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
37322 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
37323 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
37324 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
37325 * sysdeps/i386/fpu/e_log2f.S: Likewise.
37326 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
37327 * sysdeps/i386/fpu/e_log.S: Likewise.
37328 * sysdeps/i386/fpu/s_cexp.S: Likewise.
37329 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
37330 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
37331 * sysdeps/i386/fpu/e_logf.S: Likewise.
37332 * sysdeps/i386/fpu/e_log10l.S: Likewise.
37333 * sysdeps/i386/fpu/e_atanh.S: Likewise.
37334 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
37335 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
37336 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
37337 * sysdeps/i386/fpu/e_log10.S: Likewise.
37338 * sysdeps/i386/fpu/s_frexp.S: Likewise.
37339 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
37340 * sysdeps/i386/fpu/s_asinh.S: Likewise.
37341 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
37342 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
37343 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
37344 * sysdeps/i386/asm-syntax.h: Likewise.
37345 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
37346 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37347 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
37348 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
37349 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
37350 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
37351 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
37352 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
37353 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
37354 * sysdeps/powerpc/sysdep.h: Likewise.
37355 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
37356 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
37358 2012-02-06 Joseph Myers <joseph@codesourcery.com>
37361 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
37363 2012-02-06 Joseph Myers <joseph@codesourcery.com>
37365 * sysdeps/i386/sysdep.h: Include <features.h>.
37366 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
37369 2012-02-05 Joseph Myers <joseph@codesourcery.com>
37371 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
37373 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
37376 2012-02-03 Joseph Myers <joseph@codesourcery.com>
37378 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
37379 (SETUP_PIC_REG): Use GET_PC_THUNK.
37380 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
37383 2012-02-03 Joseph Myers <joseph@codesourcery.com>
37385 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
37386 for non-PIC compilation.
37387 (SETUP_PIC_REG): Add .p2align directive.
37388 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
37389 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
37390 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
37391 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
37392 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
37393 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
37394 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
37395 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
37396 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
37397 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
37398 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
37399 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
37400 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
37401 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
37402 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
37403 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
37404 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
37405 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
37406 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
37407 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
37408 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
37409 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
37410 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
37411 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
37412 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
37413 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
37414 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37415 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
37416 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
37417 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
37418 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
37419 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37420 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
37421 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
37422 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
37423 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
37424 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
37425 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
37426 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
37427 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
37428 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
37430 2012-02-03 Joseph Myers <joseph@codesourcery.com>
37432 * math/tst-CMPLX.c: Include <stdio.h>.
37434 2012-01-31 Joseph Myers <joseph@codesourcery.com>
37436 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
37438 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
37439 * sysdeps/sparc/bits/mathdef.h: Likewise.
37441 2012-01-31 Marek Polacek <polacek@redhat.com>
37443 * libio/libio.h: Don't define _PARAMS.
37444 * locale/programs/config.h: Don't define PARAMS.
37445 * stdlib/strtol_l.c: Likewise.
37446 (__strtol_l): Remove PARAMS from the prototype.
37448 2012-01-31 Ulrich Drepper <drepper@gmail.com>
37450 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
37451 names. Just use the correct names. Remove unnecessary wrapper
37453 * malloc/arena.c: Likewise.
37454 * malloc/hooks.c: Likewise.
37456 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
37457 ARENA_TEST says not to. Simplify test for creation of a new arena.
37458 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
37460 2012-01-30 Ulrich Drepper <drepper@gmail.com>
37462 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
37464 (update_get_addr): New function.
37465 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
37466 GET_ADDR_MODULE parameter.
37468 2012-01-30 Joseph Myers <joseph@codesourcery.com>
37470 * crypt/cert.c: Remove __STDC__ conditionals.
37471 * crypt/crypt-entry.c: Likewise.
37472 * crypt/crypt_util.c: Likewise.
37473 * libio/filedoalloc.c: Likewise.
37474 * libio/fileops.c: Likewise.
37475 * libio/genops.c: Likewise.
37476 * libio/iofclose.c: Likewise.
37477 * libio/iofdopen.c: Likewise.
37478 * libio/iofopen.c: Likewise.
37479 * libio/iofopen64.c: Likewise.
37480 * libio/iogetdelim.c: Likewise.
37481 * libio/iopopen.c: Likewise.
37482 * libio/obprintf.c: Likewise.
37483 * libio/oldfileops.c: Likewise.
37484 * libio/oldiofclose.c: Likewise.
37485 * libio/oldiofdopen.c: Likewise.
37486 * libio/oldiofopen.c: Likewise.
37487 * libio/oldiopopen.c: Likewise.
37488 * libio/wfiledoalloc.c: Likewise.
37489 * libio/wgenops.c: Likewise.
37490 * locale/programs/xmalloc.c: Likewise.
37491 * misc/syslog.c: Likewise.
37492 * stdio-common/xbug.c: Likewise.
37493 * string/memchr.c: Likewise.
37494 * string/memcmp.c: Likewise.
37495 * string/memrchr.c: Likewise.
37496 * string/rawmemchr.c: Likewise.
37497 * sysdeps/posix/getcwd.c: Likewise.
37498 * time/strftime_l.c: Likewise.
37500 2012-01-30 Joseph Myers <joseph@codesourcery.com>
37502 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
37503 * config.make.in (config-cflags-sse2avx): Define.
37504 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
37507 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
37509 * scripts/config.guess: Update from upstream config git repository.
37510 * scripts/config.sub: Likewise.
37512 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
37514 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
37516 (R_TILEPRO_*, R_TILEGX_*): New macros.
37518 * scripts/firstversions.awk: Fix bug in version range handling.
37520 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
37522 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
37524 * include/sys/epoll.h: New file.
37525 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
37528 2012-01-28 Ulrich Drepper <drepper@gmail.com>
37530 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
37531 Avoid unnecessary __WORDSIZE == 64 test.
37532 (fmaxf): Use VEX format if possible.
37537 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
37538 * math/math_private.h: Remove libc_fegetround* and
37540 * sysdeps/i386/configure.in: Check for -msse2avx.
37541 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
37542 also if SSE2AVX is defined.
37543 Remove libc_fegetround* and libc_fesetround*.
37544 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
37545 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
37546 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
37548 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37549 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37550 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37551 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37552 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37554 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
37556 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37558 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
37560 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
37562 2012-01-27 Ulrich Drepper <drepper@gmail.com>
37565 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
37567 * Makeconfig (libm): Define.
37568 * elf/Makefile: Add rules to build and run tst-relsort1.
37569 * elf/tst-relsort1.c: New file.
37570 * elf/tst-relsort1mod1.c: New file.
37571 * elf/tst-relsort1mod2.c: New file.
37573 2012-01-27 Joseph Myers <joseph@codesourcery.com>
37575 * math/s_ldexp.c: Remove __STDC__ conditionals.
37576 * math/s_ldexpf.c: Likewise.
37577 * math/s_ldexpl.c: Likewise.
37578 * math/s_nextafter.c: Likewise.
37579 * math/s_nexttowardf.c: Likewise.
37580 * math/s_significand.c: Likewise.
37581 * math/s_significandf.c: Likewise.
37582 * math/s_significandl.c: Likewise.
37583 * math/w_jnl.c: Likewise.
37584 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
37585 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
37586 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
37587 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
37588 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
37589 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
37590 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
37591 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
37592 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
37593 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
37594 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
37595 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37596 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
37597 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
37598 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
37599 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
37600 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
37601 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
37602 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
37603 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37604 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37605 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
37606 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
37607 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
37608 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
37609 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
37610 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
37611 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
37612 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
37613 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
37614 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
37615 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
37616 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
37617 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
37618 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
37619 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
37620 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
37621 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
37622 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
37623 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
37624 * sysdeps/ieee754/k_standard.c: Likewise.
37625 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37626 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
37627 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
37628 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
37629 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
37630 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
37631 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
37632 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
37633 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
37634 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
37635 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
37636 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
37637 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
37638 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
37639 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
37640 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
37641 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
37642 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
37643 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
37644 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
37645 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
37646 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
37647 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
37648 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
37649 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
37650 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
37651 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37652 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37653 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
37654 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
37655 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
37656 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
37657 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
37658 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
37659 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
37660 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
37661 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
37662 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
37663 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
37664 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
37665 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
37666 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
37667 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
37668 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
37669 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
37670 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
37671 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
37672 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
37673 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
37674 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
37675 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
37676 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
37677 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
37678 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
37679 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
37680 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
37681 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
37682 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37683 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37684 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37685 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
37686 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
37687 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
37688 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
37689 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
37690 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
37691 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
37692 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
37693 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
37694 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
37695 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
37696 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
37697 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
37698 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
37699 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
37700 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
37701 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
37702 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
37703 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
37704 * sysdeps/ieee754/s_matherr.c: Likewise.
37705 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
37706 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
37707 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
37708 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
37710 2012-01-26 Joseph Myers <joseph@codesourcery.com>
37712 * crypt/md5.h: Remove __STDC__ conditionals.
37713 * libio/libioP.h: Likewise.
37714 * locale/programs/config.h: Likewise.
37715 * sysdeps/generic/sysdep.h: Likewise.
37716 * sysdeps/i386/asm-syntax.h: Likewise.
37717 * sysdeps/s390/asm-syntax.h: Likewise.
37718 * sysdeps/unix/sysdep.h: Likewise.
37719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
37720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
37722 2012-01-26 Joseph Myers <joseph@codesourcery.com>
37724 * libio/libio.h: Remove __STDC__ conditionals.
37725 * malloc/obstack.h: Likewise.
37726 * math/complex.h: Likewise.
37727 * math/math.h: Likewise.
37728 * sysdeps/generic/_G_config.h: Likewise.
37729 * sysdeps/gnu/_G_config.h: Likewise.
37730 * sysdeps/mach/hurd/_G_config.h: Likewise.
37731 * sysdeps/powerpc/bits/mathdef.h: Likewise.
37732 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
37733 * sysdeps/sparc/bits/mathdef.h: Likewise.
37735 2012-01-26 Ulrich Drepper <drepper@gmail.com>
37738 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
37739 Clean up HAS_* macros.
37740 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
37741 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
37743 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
37745 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37746 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37747 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37748 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37749 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37751 2012-01-25 Joseph Myers <joseph@codesourcery.com>
37753 * elf/tst-unique3.cc (gets): Remove declaration.
37754 * elf/tst-unique3lib.cc (gets): Likewise.
37755 * elf/tst-unique3lib2.cc (gets): Likewise.
37756 * elf/tst-unique4.cc (gets): Likewise.
37758 2012-01-24 Ulrich Drepper <drepper@gmail.com>
37760 * include/stdio.h: Add C++ protection. Add gets declarations and
37762 * debug/tst-chk1.c: Don't declare gets here.
37763 * stdio-common/tst-gets.c: Likewise.
37765 2012-01-24 Joseph Myers <joseph@codesourcery.com>
37767 * posix/glob: Remove directory.
37769 2012-01-24 Joseph Myers <joseph@codesourcery.com>
37771 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
37773 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
37775 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
37776 of the non-standard EPFNOSUPPORT.
37778 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
37780 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
37781 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
37782 ANYWHERE set to 1 only on KERN_NO_SPACE error.
37784 2012-01-21 Ulrich Drepper <drepper@gmail.com>
37786 * wcsmbs/uchar.h: Test __STDC_VERSION__.
37788 2012-01-20 Ulrich Drepper <drepper@gmail.com>
37790 * nscd/aicache.c (addhstaiX): Do not cache negative results of
37792 * nscd/grpcache.c (cache_addgr): Likewise.
37793 * nscd/hstcache.c (cache_addhst): Likewise.
37794 * nscd/initgrcache.c (addinitgroupsX): Likewise.
37795 * nscd/pwdcache.c (cache_addpw): Likewise.
37796 * nscd/servicescache.c (cache_addserv): Likewise.
37798 2012-01-16 Ulrich Drepper <drepper@gmail.com>
37800 * malloc/malloc.c: Various cleanups.
37801 * malloc/hooks.c: Likewise.
37803 * stdlib/Makefile (tests): Add bug-fmtmsg1.
37804 * stdlib/bug-fmtmsg1.c: New file.
37806 * stdlib/fmtmsg.c (init): Add missing unlock.
37807 Patch by Peng Haitao <penght@cn.fujitsu.com>.
37809 2012-01-12 Marek Polacek <polacek@redhat.com>
37811 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
37814 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
37816 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
37817 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
37818 macro to ensure uniqueness of label name.
37819 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
37820 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
37822 2012-01-11 Ulrich Drepper <drepper@gmail.com>
37824 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
37826 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
37827 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
37828 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
37829 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
37831 2012-01-10 Ulrich Drepper <drepper@gmail.com>
37833 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
37835 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
37836 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
37837 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
37839 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
37841 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
37842 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
37843 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
37844 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
37846 * math/bits/math-finite.h: Add ldexp support.
37848 2012-01-10 Marek Polacek <polacek@redhat.com>
37850 * locale/programs/localedef.h (show_archive_content): Add noreturn
37853 2012-01-09 Ulrich Drepper <drepper@gmail.com>
37855 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
37857 2012-01-08 Ulrich Drepper <drepper@gmail.com>
37859 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
37861 * io/Makefile (headers): Add bits/poll2.h.
37863 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
37865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
37866 typo #include statement.
37868 2012-01-08 Ulrich Drepper <drepper@gmail.com>
37870 * include/sys/cdefs.h: Define __attribute_alloc_size.
37871 * catgets/gencat.c: Add alloc_size attribute and apply consistently
37872 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
37873 * elf/pldd.c: Likewise.
37874 * iconv/iconv_charmap.c: Likewise.
37875 * iconv/iconvconfig.c: Likewise.
37876 * iconv/strtab.c: Likewise.
37877 * locale/programs/locale.c: Likewise.
37878 * locale/programs/localedef.h: Likewise.
37879 * locale/programs/simple-hash.c: Likewise.
37880 * nscd/nscd.h: Likewise.
37881 * nss/makedb.c: Likewise.
37882 * sysdeps/generic/ldconfig.h: Likewise.
37883 * locale/programs/localedef.c: Remove xmalloc prototype.
37884 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
37886 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
37888 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
37891 2012-01-08 Ulrich Drepper <drepper@gmail.com>
37893 * math/Makefile (tests): Add tst-CMPLX.
37894 * math/tst-CMPLX.c: New file.
37896 * math/complex.h (CMPLXL): Fix typo.
37898 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
37899 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
37901 * debug/tst-chk1.c: Add poll and ppoll tests.
37902 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
37903 * include/sys/poll.h: Add hidden proto for ppoll.
37904 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
37905 * sysdeps/mach/hurd/ppoll.c: Likewise.
37906 * io/ppoll.c: Likewise.
37907 * debug/poll_chk.c: New file.
37908 * debug/ppoll_chk.c: New file.
37909 * include/bits/poll2.h: New file.
37910 * io/bits/poll2.h: New file.
37913 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
37915 * configure.in: static is always set to yes. Remove.
37916 * config.make.in: Don't set build-static.
37917 * Makeconfig: Remove use of build-static.
37918 * dlfcn/Makefile: Likewise.
37919 * elf/Makefile: Likewise.
37920 * math/Makefile: Likewise.
37921 * misc/Makefile: Likewise.
37922 * nptl/Makefile: Likewise.
37923 * sysdeps/mach/hurd/Makefile: Likewise.
37925 * configure.in: PWD_P is not used anymore.
37926 * config.make.in: Remove PWD_P entry.
37928 * configure.in: Remove last remnants of RANLIB.
37929 No need to check for signed size_t anymore.
37930 Don't set libc_commonpagesize and libc_relro_required here for Alpha
37932 Remove __builtin_expect test because we require at least gcc 3.4.
37933 * aclocal.m4: Likewise.
37935 * wcsmbs/mbrtoc16.c: Implement using towc function.
37936 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
37937 * wcsmbs/wcsmbsload.c: Likewise.
37938 * iconv/gconv_simple.c: Likewise.
37939 * iconv/gconv_int.h: Likewise.
37940 * iconv/gconv_builtin.h: Likewise.
37941 * iconv/iconv_prog.c: Remove CHAR16 handling.
37943 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
37945 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
37947 * configure.in: Remove --with-elf and --enable-bounded options.
37948 Dont set base_machine for ia64. More non-ELF conditions removed.
37949 Remove testing and setting of leading underscore information.
37950 * config.make.in (build-bounded): Set to no.
37951 * config.h.in: Remove NO_UNDERSCORES entry.
37952 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
37954 * csu/start.c: Remove !NO_UNDERSCORE code.
37955 * locale/localeinfo.h: Likewise.
37956 * sysdeps/generic/machine-gmon.h: Likewise.
37957 * sysdeps/generic/sysdep.h: Likewise.
37958 * sysdeps/i386/sysdep.h: Likewise.
37959 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
37960 * sysdeps/mach/sysdep.h: Likewise.
37961 * sysdeps/s390/s390-32/sysdep.h: Likewise.
37962 * sysdeps/s390/s390-64/sysdep.h: Likewise.
37963 * sysdeps/sh/sysdep.h: Likewise.
37964 * sysdeps/sparc/sparc32/alloca.S: Likewise.
37965 * sysdeps/unix/i386/sysdep.S: Likewise.
37966 * sysdeps/unix/sparc/start.c: Likewise.
37967 * sysdeps/unix/sparc/sysdep.S: Likewise.
37968 * sysdeps/unix/sparc/sysdep.h: Likewise.
37969 * sysdeps/unix/start.c: Likewise.
37970 * sysdeps/unix/x86_64/sysdep.S: Likewise.
37971 * sysdeps/x86_64/sysdep.h: Likewise.
37973 2012-01-07 Ulrich Drepper <drepper@gmail.com>
37976 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
37978 * argp/argp-fmtstream.h: Use const instead __const.
37979 * argp/argp.h: Likewise.
37980 * assert/assert.h: Likewise.
37981 * bits/fenv.h: Likewise.
37982 * bits/sched.h: Likewise.
37983 * bits/sigset.h: Likewise.
37984 * bits/sigthread.h: Likewise.
37985 * catgets/nl_types.h: Likewise.
37986 * conform/data/pthread.h-data: Likewise.
37987 * crypt/crypt-private.h: Likewise.
37988 * crypt/crypt.h: Likewise.
37989 * crypt/crypt_util.c: Likewise.
37990 * ctype/ctype.h: Likewise.
37991 * debug/execinfo.h: Likewise.
37992 * debug/mbsnrtowcs_chk.c: Likewise.
37993 * debug/mbsrtowcs_chk.c: Likewise.
37994 * debug/wcsnrtombs_chk.c: Likewise.
37995 * debug/wcsrtombs_chk.c: Likewise.
37996 * debug/wcstombs_chk.c: Likewise.
37997 * dirent/dirent.h: Likewise.
37998 * dlfcn/dlfcn.h: Likewise.
37999 * elf/neededtest4.c: Likewise.
38000 * grp/grp.h: Likewise.
38001 * gshadow/gshadow.h: Likewise.
38002 * iconv/gconv.h: Likewise.
38003 * iconv/gconv_int.h: Likewise.
38004 * iconv/gconv_simple.c: Likewise.
38005 * iconv/iconv.h: Likewise.
38006 * iconv/loop.c: Likewise.
38007 * iconv/skeleton.c: Likewise.
38008 * include/aio.h: Likewise.
38009 * include/aliases.h: Likewise.
38010 * include/argz.h: Likewise.
38011 * include/arpa/inet.h: Likewise.
38012 * include/assert.h: Likewise.
38013 * include/dirent.h: Likewise.
38014 * include/dlfcn.h: Likewise.
38015 * include/execinfo.h: Likewise.
38016 * include/fcntl.h: Likewise.
38017 * include/fenv.h: Likewise.
38018 * include/glob.h: Likewise.
38019 * include/grp.h: Likewise.
38020 * include/libintl.h: Likewise.
38021 * include/mntent.h: Likewise.
38022 * include/netdb.h: Likewise.
38023 * include/pwd.h: Likewise.
38024 * include/rpc/netdb.h: Likewise.
38025 * include/sched.h: Likewise.
38026 * include/search.h: Likewise.
38027 * include/shadow.h: Likewise.
38028 * include/signal.h: Likewise.
38029 * include/stdio.h: Likewise.
38030 * include/stdlib.h: Likewise.
38031 * include/string.h: Likewise.
38032 * include/sys/socket.h: Likewise.
38033 * include/sys/stat.h: Likewise.
38034 * include/sys/statfs.h: Likewise.
38035 * include/sys/statvfs.h: Likewise.
38036 * include/sys/syslog.h: Likewise.
38037 * include/sys/time.h: Likewise.
38038 * include/sys/uio.h: Likewise.
38039 * include/time.h: Likewise.
38040 * include/unistd.h: Likewise.
38041 * include/utmp.h: Likewise.
38042 * include/wchar.h: Likewise.
38043 * include/wctype.h: Likewise.
38044 * inet/aliases.h: Likewise.
38045 * inet/arpa/inet.h: Likewise.
38046 * inet/netinet/ether.h: Likewise.
38047 * inet/netinet/in.h: Likewise.
38048 * intl/libintl.h: Likewise.
38049 * io/bits/fcntl2.h: Likewise.
38050 * io/fcntl.h: Likewise.
38051 * io/ftw.h: Likewise.
38052 * io/sys/poll.h: Likewise.
38053 * io/sys/stat.h: Likewise.
38054 * io/sys/statfs.h: Likewise.
38055 * io/sys/statvfs.h: Likewise.
38056 * io/utime.h: Likewise.
38057 * libio/bits/stdio.h: Likewise.
38058 * libio/bits/stdio2.h: Likewise.
38059 * libio/libio.h: Likewise.
38060 * libio/libioP.h: Likewise.
38061 * libio/stdio.h: Likewise.
38062 * locale/lc-ctype.c: Likewise.
38063 * locale/locale.h: Likewise.
38064 * login/utmp.h: Likewise.
38065 * malloc/arena.c: Likewise.
38066 * malloc/malloc.c: Likewise.
38067 * malloc/malloc.h: Likewise.
38068 * malloc/mcheck.c: Likewise.
38069 * malloc/mtrace.c: Likewise.
38070 * math/bits/mathcalls.h: Likewise.
38071 * math/fenv.h: Likewise.
38072 * math/math_private.h: Likewise.
38073 * misc/bits/error.h: Likewise.
38074 * misc/bits/syslog.h: Likewise.
38075 * misc/err.h: Likewise.
38076 * misc/error.h: Likewise.
38077 * misc/fstab.h: Likewise.
38078 * misc/mntent.h: Likewise.
38079 * misc/regexp.h: Likewise.
38080 * misc/search.h: Likewise.
38081 * misc/sgtty.h: Likewise.
38082 * misc/sys/mman.h: Likewise.
38083 * misc/sys/syslog.h: Likewise.
38084 * misc/sys/uio.h: Likewise.
38085 * misc/sys/xattr.h: Likewise.
38086 * misc/ttyent.h: Likewise.
38087 * nis/rpcsvc/ypclnt.h: Likewise.
38088 * nss/nss.h: Likewise.
38089 * posix/bits/unistd.h: Likewise.
38090 * posix/fnmatch.h: Likewise.
38091 * posix/glob.h: Likewise.
38092 * posix/sched.h: Likewise.
38093 * posix/spawn.h: Likewise.
38094 * posix/sys/wait.h: Likewise.
38095 * posix/unistd.h: Likewise.
38096 * posix/wordexp.h: Likewise.
38097 * pwd/pwd.h: Likewise.
38098 * resolv/netdb.h: Likewise.
38099 * resource/sys/resource.h: Likewise.
38100 * rt/aio.h: Likewise.
38101 * rt/bits/mqueue2.h: Likewise.
38102 * rt/mqueue.h: Likewise.
38103 * shadow/shadow.h: Likewise.
38104 * signal/signal.h: Likewise.
38105 * socket/send.c: Likewise.
38106 * socket/sendto.c: Likewise.
38107 * socket/sys/socket.h: Likewise.
38108 * stdio-common/printf.h: Likewise.
38109 * stdlib/bits/stdlib.h: Likewise.
38110 * stdlib/fmtmsg.h: Likewise.
38111 * stdlib/monetary.h: Likewise.
38112 * stdlib/stdlib.h: Likewise.
38113 * stdlib/ucontext.h: Likewise.
38114 * streams/stropts.h: Likewise.
38115 * string/argz.h: Likewise.
38116 * string/bits/string2.h: Likewise.
38117 * string/string.h: Likewise.
38118 * string/strings.h: Likewise.
38119 * sunrpc/rpc/auth.h: Likewise.
38120 * sunrpc/rpc/auth_des.h: Likewise.
38121 * sunrpc/rpc/clnt.h: Likewise.
38122 * sunrpc/rpc/netdb.h: Likewise.
38123 * sunrpc/rpc/pmap_clnt.h: Likewise.
38124 * sunrpc/rpc/xdr.h: Likewise.
38125 * sysdeps/generic/inttypes.h: Likewise.
38126 * sysdeps/generic/net/if.h: Likewise.
38127 * sysdeps/generic/sys/swap.h: Likewise.
38128 * sysdeps/gnu/net/if.h: Likewise.
38129 * sysdeps/gnu/utmpx.h: Likewise.
38130 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
38131 * sysdeps/i386/i486/bits/string.h: Likewise.
38132 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
38133 * sysdeps/s390/bits/string.h: Likewise.
38134 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
38135 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
38136 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
38137 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
38138 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
38139 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
38140 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
38141 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
38142 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
38143 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
38144 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
38145 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
38146 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
38147 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
38148 * sysdeps/unix/sysv/linux/readv.c: Likewise.
38149 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
38150 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
38151 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38152 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
38153 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
38154 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
38155 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
38156 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
38157 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
38158 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
38159 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
38160 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
38161 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
38162 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
38163 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
38164 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
38165 * sysvipc/sys/ipc.h: Likewise.
38166 * sysvipc/sys/msg.h: Likewise.
38167 * sysvipc/sys/sem.h: Likewise.
38168 * sysvipc/sys/shm.h: Likewise.
38169 * termios/termios.h: Likewise.
38170 * time/sys/time.h: Likewise.
38171 * time/time.h: Likewise.
38172 * wcsmbs/bits/wchar2.h: Likewise.
38173 * wcsmbs/uchar.h: Likewise.
38174 * wcsmbs/wchar.h: Likewise.
38175 * wctype/wctype.h: Likewise.
38178 * Makeconfig: Remove all but ELF support including AIX support.
38179 * Makerules: Likewise.
38180 * config.h.in: Likewise.
38181 * config.make.in: Likewise.
38182 * configure: Likewise.
38183 * configure.in: Likewise.
38184 * csu/Makefile: Likewise.
38185 * csu/version.c: Likewise.
38186 * debug/Makefile: Likewise.
38187 * dlfcn/Makefile: Likewise.
38188 * elf/Makefile: Likewise.
38189 * extra-lib.mk: Likewise.
38190 * iconv/Makefile: Likewise.
38191 * include/libc-symbols.h: Likewise.
38192 * include/shlib-compat.h: Likewise.
38193 * resolv/Makefile: Likewise.
38194 * resolv/res_libc.c: Likewise.
38195 * rt/Makefile: Likewise.
38196 * sysdeps/i386/asm-syntax.h: Likewise.
38197 * sysdeps/i386/sysdep.h: Likewise.
38198 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
38199 * sysdeps/mach/sysdep.h: Likewise.
38200 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
38201 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
38202 * sysdeps/s390/asm-syntax.h: Likewise.
38203 * sysdeps/s390/s390-32/sysdep.h: Likewise.
38204 * sysdeps/s390/s390-64/sysdep.h: Likewise.
38205 * sysdeps/sh/sysdep.h: Likewise.
38206 * sysdeps/unix/sparc/sysdep.h: Likewise.
38207 * sysdeps/wordsize-32/divdi3.c: Likewise.
38208 * sysdeps/x86_64/sysdep.h: Likewise.
38210 * argp/Versions: Remove _argp_unlock_xxx.
38213 * abilist/ld.abilist: Update. Adjust for removal of tls option.
38214 * abilist/libBrokenLocale.abilist: Likewise.
38215 * abilist/libanl.abilist: Likewise.
38216 * abilist/libc.abilist: Likewise.
38217 * abilist/libcrypt.abilist: Likewise.
38218 * abilist/libdl.abilist: Likewise.
38219 * abilist/libm.abilist: Likewise.
38220 * abilist/libnsl.abilist: Likewise.
38221 * abilist/libpthread.abilist: Likewise.
38222 * abilist/libresolv.abilist: Likewise.
38223 * abilist/librt.abilist: Likewise.
38224 * abilist/libthread_db.abilist: Likewise.
38225 * abilist/libutil.abilist: Likewise.
38226 * abilist/libnss_db.abilist: New file.
38228 * scripts/abilist.awk: Add support for indirect functions.
38230 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
38232 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
38234 * shlib-versions: Remove entries for ports architectures.
38236 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
38238 * elf/stackguard-macros.h: Remove support for IA-64.
38239 * elf/tst-auditmod1.c: Likewise.
38240 * sysdeps/generic/ldsodefs.h: Likewise.
38242 * sysdeps/unix/sysv/linux/configure.in: Ports should define
38243 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
38247 * configure.in: Remove --enable-omitfp support.
38249 * config.make.in: Likewise.
38250 * Makeconfig: Likewise.
38251 * manual/install.texi: Likewise.
38253 In case anyone cares, the IA-64 architecture could move to ports.
38254 * sysdeps/ia64/*: Removed.
38255 * sysdeps/unix/sysv/linux/ia64/*: Removed.
38256 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
38259 * configure.in: Remove entries for unsupported architectures.
38262 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
38263 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
38265 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
38266 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
38267 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
38268 fall back to using wcrtomb.
38269 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
38270 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
38272 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
38273 * wcsmbs/tst-c16c32-1.c: New file.
38275 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
38278 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
38280 * elf/tst-unique3.cc: Add explicit declaration of gets.
38281 * elf/tst-unique3lib.cc: Likewise.
38282 * elf/tst-unique3lib2.cc: Likewise.
38283 * elf/tst-unique4.cc: Likewise.
38285 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
38287 2012-01-06 Joseph Myers <joseph@codesourcery.com>
38290 * assert/assert.h (static_assert): Don't define for C++.
38291 * libio/stdio.h (gets): Do declare for C++ <= C++11.
38292 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
38294 2012-01-03 Ulrich Drepper <drepper@gmail.com>
38296 * iconv/loop.c (single loop): Fix assertion in storing of
38299 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
38301 2012-01-01 Ulrich Drepper <drepper@gmail.com>
38303 * posix/getconf.c: Update copyright year.
38304 * nss/getent.c: Likewise.
38305 * nss/makedb.c: Likewise.
38306 * iconv/iconvconfig.c: Likewise.
38307 * iconv/iconv_prog.c: Likewise.
38308 * elf/ldconfig.c: Likewise.
38309 * elf/pldd.c: Likewise.
38310 * elf/sotruss.ksh: Likewise.
38311 * catgets/gencat.c: Likewise.
38312 * csu/version.c: Likewise.
38313 * elf/ldd.bash.in: Likewise.
38314 * elf/sprof.c (print_version): Likewise.
38315 * locale/programs/locale.c: Likewise.
38316 * locale/programs/localedef.c: Likewise.
38317 * login/programs/pt_chown.c: Likewise.
38318 * nscd/nscd.c (print_version): Likewise.
38319 * debug/xtrace.sh: Likewise.
38320 * malloc/memusage.sh: Likewise.
38321 * malloc/mtrace.pl: Likewise.
38322 * debug/catchsegv.sh: Likewise.
38324 2011-12-30 Jakub Jelinek <jakub@redhat.com>
38326 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
38329 2011-12-24 Ulrich Drepper <drepper@gmail.com>
38332 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
38333 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
38335 * iconv/gconv_int.h: Likewise.
38336 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
38337 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
38338 from libc for GLIBC_2.16.
38339 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
38340 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
38341 * wcsmbs/uchar.h: Really define mbstate_t.
38342 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
38343 * wcsmbs/c16rtomb.c: New file.
38344 * wcsmbs/mbrtoc16.c: New file.
38345 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
38346 for C/POSIX locale.
38347 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
38348 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
38350 * wcsmbs/wchar.h: Add missing __restrict.
38352 2011-12-23 Ulrich Drepper <drepper@gmail.com>
38355 * time/Makefile (routines): Add timespec_get.
38356 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
38357 * time/time.h: Define TIME_UTC and declare timespec_get. Define
38358 timespec for ISO C11.
38359 * time/timespec_get.c: New file.
38360 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
38361 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
38364 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
38365 * stdlib/stdlib.h: Declare aligned_alloc.
38366 * Versions.def: Add GLIBC_2.16 for libc.
38367 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
38370 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
38373 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
38377 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
38380 * assert/assert.h (static_assert): Define.
38382 * version.h: Update for 2.16 development version.
38385 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
38388 * version.h (RELEASE): Bump for 2.15 release.
38389 * include/features.h (__GLIBC_MINOR__): Bump to 15.
38391 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
38392 Patch by Marek Polacek <mpolacek@redhat.com>.
38394 * bits/byteswap.h: Protect long long constants with __extension__.
38395 * sysdeps/i386/bits/byteswap.h: Likewise.
38396 * sysdeps/ia64/bits/byteswap.h: Likewise.
38397 * sysdeps/s390/bits/byteswap.h: Likewise.
38398 * sysdeps/x86_64/bits/byteswap.h: Likewise.
38400 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38403 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
38404 destination buffer.
38405 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
38407 2011-12-23 Marek Polacek <polacek@redhat.com>
38409 * elf/dl-addr.c (determine_info): Add inline keyword.
38410 * elf/tst-auditmod4b.c (check_avx): Likewise.
38411 * elf/tst-auditmod6b.c (check_avx): Likewise.
38412 * elf/tst-auditmod6c.c (check_avx): Likewise.
38413 * elf/tst-auditmod7b.c (check_avx): Likewise.
38415 2011-12-23 Ulrich Drepper <drepper@gmail.com>
38417 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
38420 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38423 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
38424 processing for last bytes.
38426 2011-08-06 Bruno Haible <bruno@clisp.org>
38429 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
38430 U+0385, not to U+1FEE.
38433 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
38434 entry for U+00A5 U+0301.
38436 2011-12-22 Ulrich Drepper <drepper@gmail.com>
38439 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
38440 buffer for the output is too small.
38442 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
38446 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
38447 SSE flags if possible.
38449 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38452 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
38453 processing for last bytes.
38455 2011-12-22 Joseph Myers <joseph@codesourcery.com>
38457 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
38458 (syscall-list-default-options, syscall-list-default-condition)
38459 (syscall-list-includes): Define.
38460 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
38461 list of ABIs and options and #if conditions for each ABI. Do not
38462 handle common syscalls between ABIs specially.
38463 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
38465 (syscall-list-variants, syscall-list-32bit-options)
38466 (syscall-list-32bit-condition, syscall-list-64bit-options)
38467 (syscall-list-64bit-condition): Define.
38468 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
38469 (syscall-list-variants, syscall-list-32bit-options)
38470 (syscall-list-32bit-condition, syscall-list-64bit-options)
38471 (syscall-list-64bit-condition): Define.
38472 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
38474 (syscall-list-variants, syscall-list-32bit-options)
38475 (syscall-list-32bit-condition, syscall-list-64bit-options)
38476 (syscall-list-64bit-condition): Define.
38477 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
38479 (syscall-list-variants, syscall-list-32bit-options)
38480 (syscall-list-32bit-condition, syscall-list-64bit-options)
38481 (syscall-list-64bit-condition): Define.
38483 2011-12-22 Ulrich Drepper <drepper@gmail.com>
38485 * locale/iso-639.def: Add brx entry.
38488 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
38489 Proposed by Mariusz_Cukr <marcukr@op.pl>.
38491 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
38492 __feraiseexcept_renamed.
38494 2011-12-21 Ulrich Drepper <drepper@gmail.com>
38497 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
38498 EPOLLET with unsigned values.
38499 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
38500 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
38502 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
38503 to large cancellation.
38504 * math/s_cacoshf.c: Likewise.
38505 * math/s_cacoshl.c: Likewise.
38507 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
38511 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
38512 * math/s_cacoshf.c: Likewise.
38513 * math/s_cacoshl.c: Likewise.
38515 2011-12-21 Ulrich Drepper <drepper@gmail.com>
38518 * iconv/gconv.h: Define __GCONV_SWAP.
38519 * iconvdata/unicode.c: The swap bit must be stored in __flags.
38520 * iconvdata/utf-16.c: Likewise.
38521 * iconvdata/utf-32.c: Likewise.
38523 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
38526 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
38527 numerator after shifting it by one limb.
38529 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
38531 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
38532 under [__USE_EXTERN_INLINES].
38534 2011-12-17 Ulrich Drepper <drepper@gmail.com>
38537 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
38539 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38541 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
38542 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
38544 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
38545 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
38546 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
38547 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
38548 for strncasecmp/strncasecmp_l compilation.
38549 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
38550 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
38552 2011-12-08 Marek Polacek <mpolacek@redhat.com>
38555 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
38558 2011-12-17 Ulrich Drepper <drepper@gmail.com>
38561 * time/tzfile.c (__tzfile_read): Check values from file header.
38563 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
38565 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
38566 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
38567 * powerpc/powerpc32/dl-start.S: Likewise.
38568 * powerpc/powerpc32/elf/start.S: Likewise.
38569 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
38570 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
38571 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
38572 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
38573 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
38574 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
38575 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
38576 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
38577 * powerpc/powerpc32/fpu/s_round.S: Likewise.
38578 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
38579 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
38580 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
38581 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
38582 * powerpc/powerpc32/memset.S: Likewise.
38583 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
38584 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
38585 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
38586 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
38587 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
38588 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
38589 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
38590 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
38591 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
38592 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
38593 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
38594 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
38595 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
38597 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38599 * math/libm-test.inc: Added more nearbyint tests.
38600 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
38601 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
38602 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
38603 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
38605 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
38607 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
38610 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38612 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
38613 Add wcscpy-ssse3 wcscpy-c.
38614 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
38615 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
38616 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
38617 * sysdeps/x86_64/wcschr.S: New file.
38618 * sysdeps/x86_64/wcsrchr.S: New file.
38619 * string/test-strcmp.c: Remove checking of wcscmp function for
38621 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
38622 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
38623 wcsrchr-sse2 wcsrchr-c.
38624 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
38625 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
38626 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
38627 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
38628 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
38629 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
38630 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
38631 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
38632 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
38633 * wcsmbc/wcschr.c (WCSCHR): New macro.
38635 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38637 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
38638 * wcsmbs/test-wcsrchr.c: New file.
38639 * string/test-strrchr.c: Add wcsrchr support.
38641 * wcsmbs/test-wcscpy.c: New file.
38642 * string/test-strcpy.c: Add wcscpy support.
38645 2011-12-10 Ulrich Drepper <drepper@gmail.com>
38647 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
38650 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
38653 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
38655 2011-12-04 Ulrich Drepper <drepper@gmail.com>
38657 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
38658 Minor optimizations.
38660 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
38661 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
38662 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
38664 2011-12-03 Ulrich Drepper <drepper@gmail.com>
38666 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
38667 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
38668 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
38669 for gcc to avoid warnings.
38670 * inet/Makefile (tests): Add tst-checks.
38671 * inet/tst-checks.c: New file.
38673 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
38676 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
38679 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
38680 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
38682 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
38684 2011-12-02 Ulrich Drepper <drepper@gmail.com>
38686 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
38689 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
38691 2011-11-29 Joseph Myers <joseph@codesourcery.com>
38693 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
38694 conditional on GCC version.
38695 (__arch_compare_and_exchange_val_8_acq)
38696 (__arch_compare_and_exchange_val_16_acq)
38697 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
38698 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
38699 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
38701 2011-12-02 Joseph Myers <joseph@codesourcery.com>
38703 * sysdeps/sh/backtrace.c: New file.
38705 2011-12-02 Andreas Schwab <schwab@redhat.com>
38707 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
38710 2011-12-01 Andreas Schwab <schwab@redhat.com>
38712 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
38713 falling back to utime.
38715 2011-11-30 Andreas Schwab <schwab@redhat.com>
38717 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
38718 expectations for float.
38720 2011-11-29 Andreas Schwab <schwab@redhat.com>
38722 * locale/weight.h (findidx): Add parameter len.
38723 * locale/weightwc.h (findidx): Likewise.
38724 * posix/fnmatch_loop.c (FCT): Adjust caller.
38725 * posix/regcomp.c (build_equiv_class): Likewise.
38726 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
38727 * posix/regexec.c (check_node_accept_bytes): Likewise.
38728 * string/strcoll_l.c (STRCOLL): Likewise.
38729 * string/strxfrm_l.c (STRXFRM): Likewise.
38731 2011-11-17 Ulrich Drepper <drepper@gmail.com>
38733 * Makefile.in: Remove CVSOPT handling.
38734 * configure.in: Remove use of AC_REVISION.
38735 * iconvdata/Makefile (distribute): No need to filter out CVS.
38736 * scripts/list-sources.sh: Remove CVS, subversion and monotone
38739 2011-11-16 Andreas Schwab <schwab@redhat.com>
38741 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
38742 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
38743 [USE_AS_STRNCASECMP_L]: Likewise.
38744 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
38745 NO_TLS_DIRECT_SEG_REFS.
38746 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
38747 Fix argument offsets for non-PIC.
38748 [USE_AS_STRNCASECMP_L]: Likewise.
38749 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
38750 NO_TLS_DIRECT_SEG_REFS.
38752 2011-11-15 Ulrich Drepper <drepper@gmail.com>
38754 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
38756 * locale/loadlocale.c (_nl_load_locale): Likewise.
38758 2011-11-15 Andreas Schwab <schwab@redhat.com>
38760 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
38761 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
38762 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
38763 (SYSCALL_GETTIME): Set errno on error.
38765 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
38766 count references to noai6ai_cached.
38768 2011-11-15 Ulrich Drepper <drepper@gmail.com>
38770 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
38772 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
38773 FD_CLOEXEC for /proc/self/maps.
38775 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
38776 FD_CLOEXEC for /proc/meminfo.
38778 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
38781 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
38782 FD_CLOEXEC for given file.
38784 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
38786 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
38787 FD_CLOEXEC for /etc/hosts.
38788 (_gethtent): Likewise.
38790 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
38792 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
38793 cancellation and set FD_CLOEXEC for /etc/netgroup.
38795 * nss/nss_files/files-key.c (search): Don't allow cancellation when
38796 reading /etc/publickey.
38798 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
38799 allow cancellation when reading /etc/group.
38801 * nss/nss_files/files-alias.c (internal_setent): Don't allow
38803 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
38805 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
38806 when using data file.
38808 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
38810 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
38811 (write_nis_obj): Use "c" and "e" in fopen.
38813 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
38815 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
38817 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
38819 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
38821 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
38824 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
38826 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
38828 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
38830 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
38831 file parsing and set FD_CLOEXEC.
38833 2011-11-14 Ulrich Drepper <drepper@gmail.com>
38835 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
38837 2011-11-14 Andreas Schwab <schwab@redhat.com>
38839 * malloc/arena.c (arena_get2): Don't call reused_arena when
38840 _int_new_arena failed.
38842 2011-11-14 Ulrich Drepper <drepper@gmail.com>
38844 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
38845 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
38846 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
38847 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
38848 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
38849 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
38850 to compile strcasecmp and strncasecmp.
38851 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
38852 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
38854 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
38856 2011-11-13 Ulrich Drepper <drepper@gmail.com>
38858 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
38859 locale-defines.sym to gen-as-const-headers.
38860 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
38861 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
38862 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
38863 to compile strcasecmp and strncasecmp.
38864 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
38865 strcasecmp_l and strncasecmp_l.
38866 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
38867 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
38868 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
38869 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
38870 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
38871 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
38872 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
38873 * sysdeps/i386/i686/multiarch/strncase.S: New file.
38874 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
38875 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
38876 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
38878 2011-11-12 Ulrich Drepper <drepper@gmail.com>
38880 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
38881 result of SYSDEP_GETTIME_CPU to retval.
38882 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
38883 parameter list to macro. Remove trailing semicolon. Adjust users.
38885 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
38888 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
38890 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
38892 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
38893 from unused variable.
38895 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
38897 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
38900 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
38903 * sunrpc/rpc_prot.c (rejected): Fix case value.
38905 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
38906 unsigned long long int to avoid warnings in shift.
38908 * posix/regex_internal.c (re_string_reconstruct): Actually use result
38910 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
38913 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
38914 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
38915 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
38917 * nis/nis_table.c (nis_list): Use variable of correct type for
38918 result of __follow_path call.
38920 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38922 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
38923 of math functions ceil, trunc, floor, round, and sqrt, when
38924 avaliable on the platform.
38925 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
38927 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
38928 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
38929 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
38931 2011-10-30 Marek Polacek <mpolacek@redhat.com>
38933 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
38934 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
38936 2011-11-11 Roland McGrath <roland@hack.frob.com>
38938 * include/unistd.h: Fix __readlink return type.
38939 Reported by Chris Metcalf <cmetcalf@tilera.com>.
38941 2011-11-11 Ulrich Drepper <drepper@gmail.com>
38943 * stdlib/ucontext.h: Undo last change for makecontext.
38945 2011-11-11 Andreas Schwab <schwab@redhat.com>
38947 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
38949 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
38950 * setjmp/setjmp.h: Mark functions as non-leaf.
38951 * setjmp/bits/setjmp2.h: Likewise.
38952 * stdlib/ucontext.h: Likewise.
38954 2011-11-10 Andreas Schwab <schwab@redhat.com>
38956 * malloc/arena.c (_int_new_arena): Don't increment narenas.
38957 (reused_arena): Don't check arena limit.
38958 (arena_get2): Atomically check arena limit.
38960 2011-11-08 Ulrich Drepper <drepper@gmail.com>
38962 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
38963 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
38965 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
38968 2011-11-07 Andreas Schwab <schwab@redhat.com>
38970 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
38971 handler when locking.
38973 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
38974 Fix size of allocated buffer.
38976 2011-11-04 Andreas Schwab <schwab@redhat.com>
38979 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
38980 declarations for long double functions.
38981 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
38983 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
38985 2011-11-03 Andreas Schwab <schwab@redhat.com>
38987 * nscd/nscd.c (main): Don't start AVC thread until credentials are
38990 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
38993 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
38995 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
38997 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
38999 * include/alloca.h (stackinfo_alloca_round): Define.
39000 (extend_alloca): Use it.
39001 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
39002 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
39005 * scripts/check-local-headers.sh: Ignore libaudit.h.
39007 * nscd/Makefile (extra-objs): Make recursively expanded.
39009 2011-11-01 Ulrich Drepper <drepper@gmail.com>
39011 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
39012 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
39014 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
39015 * posix/tst-rfc3484-2.c: Likewise.
39016 * posix/tst-rfc3484-3.c: Likewise.
39018 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
39020 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
39022 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
39023 process_vm_writev from libc using GLIBC_2.15 version.
39025 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
39027 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
39029 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
39032 2011-10-31 Ulrich Drepper <drepper@gmail.com>
39035 * nss/getent.c (initgroups_keys): Show error message in case no group
39038 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
39039 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
39040 __bump_nl_timestamp.
39041 * nscd/connections (nscd_init): When host database is served open
39042 netlink socket and request notification about configuration changes.
39043 (main_loop_poll): Track netlink file descriptor and bump timestamp
39044 in case data becomes available.
39045 (main_loop_epoll): Likewise.
39046 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
39047 (database_pers_head): Add extra_data fileds.
39048 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
39049 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
39050 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
39052 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
39053 in6ai data, call __free_in6ai.
39054 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
39055 Add -DHAVE_NETLINK.
39056 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
39057 interface information. Reuse previous data if netlink timestamp
39059 (__bump_nl_timestamp): New function.
39060 (__free_in6ai): New function.
39062 2011-10-30 Ulrich Drepper <drepper@gmail.com>
39064 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
39065 close_not_cancel_no_status here.
39066 (__check_pf): Reorganize code a bit to not call close twice if OOM.
39068 2011-10-29 Ulrich Drepper <drepper@gmail.com>
39071 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
39074 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
39075 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
39076 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
39078 2011-07-03 Andreas Jaeger <aj@suse.de>
39081 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
39082 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
39083 * math/libm-test.inc (sin_test): Add test case.
39085 2011-10-29 Ulrich Drepper <drepper@gmail.com>
39088 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
39089 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
39091 * elf/chroot_canon.c (chroot_canon): Cleanups.
39093 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
39096 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
39097 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
39099 * string/test-strchr.c: Make usable for strchrnul testing.
39100 * string/test-strchrnul.c: New file.
39101 * string/Makefile (strop-tests): Add strchrnul.
39103 * po/it.po: Update from translation team.
39104 * po/es.po: Likewise.
39106 2011-10-28 Ulrich Drepper <drepper@gmail.com>
39108 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
39109 the three constants needed as parameters. Drop the others.
39110 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
39111 __m128i_strloadu_tolower.
39112 Create and initialize variable zero and use it in all the places
39113 where _mm_setzero_si128 was used.
39115 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
39116 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
39117 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
39118 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
39120 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
39121 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
39122 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
39123 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
39124 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
39125 __mpranred, __mptan.
39126 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
39127 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
39128 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
39129 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
39130 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
39131 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
39132 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
39133 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
39134 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
39136 2011-10-28 Andreas Schwab <schwab@redhat.com>
39138 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
39139 redefine if SHARED.
39140 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
39142 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
39143 wide char related routines to wcsmbs subdir.
39145 2011-10-27 Andreas Schwab <schwab@redhat.com>
39148 * misc/sys/cdefs.h (__THROWNL): Define.
39149 * posix/unistd.h: Use __THREADNL instead of __THREAD
39150 for memory synchronization functions.
39152 2011-10-26 Roland McGrath <roland@hack.frob.com>
39155 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
39157 * manual/stdio.texi (Obstack Streams): Node removed.
39159 2011-10-26 Andreas Schwab <schwab@redhat.com>
39161 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
39162 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
39163 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
39165 * math/math_private.h (math_force_eval): Allow non-addressable
39167 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
39169 2011-10-25 Ulrich Drepper <drepper@gmail.com>
39171 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
39172 file is not needed.
39174 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
39175 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
39176 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
39177 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
39178 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
39179 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
39180 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
39181 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
39183 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
39184 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
39185 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
39186 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
39187 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
39188 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
39189 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
39190 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
39191 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
39192 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
39193 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
39194 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
39195 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
39196 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
39197 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
39198 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
39199 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
39200 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
39201 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
39203 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
39204 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
39206 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
39207 place. Use VEX encoding when compiling for AVX.
39209 2011-10-25 Andreas Schwab <schwab@redhat.com>
39211 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
39212 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
39214 * string/test-strchr.c (do_test): Don't generate NUL bytes.
39216 2011-10-25 Ulrich Drepper <drepper@gmail.com>
39218 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
39219 useless if() expression.
39220 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
39221 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
39222 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
39223 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39224 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
39225 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
39226 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39227 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39228 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
39229 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39230 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
39231 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39232 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
39233 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39234 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
39235 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
39236 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39237 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39238 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
39240 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
39242 2011-10-25 Andreas Schwab <schwab@redhat.com>
39244 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
39246 * elf/dl-fini.c (_dl_sort_fini): Likewise.
39248 2011-10-25 Ulrich Drepper <drepper@gmail.com>
39250 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
39251 .text section. Avoid duplicate constants.
39252 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
39253 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39254 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39255 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39256 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39257 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39258 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39259 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39260 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
39261 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
39262 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
39263 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
39264 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
39265 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
39266 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
39267 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
39268 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
39269 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
39270 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39271 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39272 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
39273 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
39274 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
39275 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
39276 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
39277 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
39278 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
39279 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
39280 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
39281 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
39282 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
39283 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
39284 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
39285 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
39286 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
39287 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
39288 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
39289 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
39290 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
39291 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
39292 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
39293 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
39294 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
39295 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
39296 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
39298 2011-10-24 Ulrich Drepper <drepper@gmail.com>
39300 * sysdeps/x86_64/dla.h: Move to ...
39301 * sysdeps/x86_64/fpu/dla.h: ...here.
39302 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
39303 situations. Use __builtin_fma only for gcc 4.6 and up.
39305 * config.make.in: Add have-mfma4 entry.
39306 * configure.in: Substitute libc_cv_cc_fma4.
39307 * math/Makefile (dbl-only-routines): Add sincostab.
39308 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
39309 Use __sincostab not sincos.
39310 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
39312 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39313 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39314 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39315 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
39317 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
39318 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
39319 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
39320 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
39322 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
39323 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
39325 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
39326 define aliases when function name is a macro.
39327 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
39328 sysdeps/ieee754/dbl-64/sincos.tbl.
39329 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
39330 fma4-enabled routines.
39331 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
39332 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
39333 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
39334 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
39335 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
39336 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
39337 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
39338 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
39339 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
39340 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
39341 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
39342 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
39343 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
39344 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
39345 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
39346 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
39347 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
39348 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
39349 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
39350 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
39351 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
39352 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
39353 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
39354 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
39355 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
39356 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
39357 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
39358 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
39359 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
39360 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
39362 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
39364 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39365 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39366 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39367 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39368 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39369 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39370 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39371 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39373 2011-10-24 Andreas Schwab <schwab@redhat.com>
39375 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
39377 2011-10-23 Ulrich Drepper <drepper@gmail.com>
39379 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
39381 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
39383 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
39385 * string/strnlen.c: Don't define STRNLEN, reverse logic.
39386 Remove unused variable magic_bits.
39387 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
39389 * string/strnlen.c: Define and use STRNLEN macro.
39390 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
39391 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
39392 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
39393 * wcsmbs/wcslen.c: Define and use WCSLEN.
39394 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
39395 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
39396 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
39397 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
39398 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
39399 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
39400 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
39402 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39404 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39405 strnlen-sse2-no-bsf.
39406 Rename strlen-no-bsf to strlen-sse2-no-bsf.
39407 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
39408 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
39409 Add strnlen support.
39410 (USE_AS_STRNLEN): New macro.
39411 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
39412 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
39413 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
39414 * sysdeps/x86_64/wcslen.S: New file.
39416 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
39418 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
39419 XMM-moves are used for copying on small sizes.
39421 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39423 * wcsmbs/Makefile (strop-tests): Add wcschr.
39424 * wcsmbs/test-wcschr.c: New file.
39425 * string/test-strchr.c: Update.
39426 Add wcschr support.
39429 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39431 * wcsmbs/Makefile (strop-tests): Add wcslen.
39432 * wcsmbs/test-wcslen.c: New file.
39433 * string/test-strlen.c: Update.
39434 Add wcslen support.
39437 2011-10-23 Ulrich Drepper <drepper@gmail.com>
39439 * po/it.po: Update from translation team.
39441 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39443 * sysdeps/x86_64/wcscmp.S: Update.
39444 Fix wrong comparison semantics.
39445 wcscmp shall use signed comparison not unsigned.
39446 Don't use substraction to avoid overflow bug.
39447 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
39448 * wcsmbc/wcscmp.c: Likewise.
39449 * string/test-strcmp.c: Likewise.
39450 Add new tests to check cases with negative values.
39452 2011-10-23 Ulrich Drepper <drepper@gmail.com>
39454 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
39455 * sysdeps/x86_64/dla.h: ...here. New file.
39456 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
39457 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39458 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39459 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39460 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39461 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39462 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39463 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39464 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39466 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
39468 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
39469 __ynl_finite aliases.
39471 2011-10-22 Ulrich Drepper <drepper@gmail.com>
39473 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39475 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
39477 [DLA_FMA] (EMULV): Use DLA_FMA.
39478 [DLA_FMA] (MUL12): Use EMULV.
39479 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
39480 that are not needed.
39481 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39482 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39483 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39484 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39485 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39486 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39487 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39489 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
39491 * math/s_nan.c: Undef __nan.
39492 * math/s_nanf.c: Undef __nanf.
39493 * math/s_nanl.c: Undef __nanl.
39494 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
39497 2011-10-22 Ulrich Drepper <drepper@gmail.com>
39499 * math/s_catan.c: Add branch predictions.
39500 * math/s_catanf.c: Likewise.
39501 * math/s_catanh.c: Likewise.
39502 * math/s_catanhf.c: Likewise.
39503 * math/s_catanhl.c: Likewise.
39504 * math/s_catanl.c: Likewise.
39505 * math/s_cexp.c: Likewise.
39506 * math/s_cexpf.c: Likewise.
39507 * math/s_cexpl.c: Likewise.
39508 * math/s_clog.c: Likewise.
39509 * math/s_clog10.c: Likewise.
39510 * math/s_clog10f.c: Likewise.
39511 * math/s_clog10l.c: Likewise.
39512 * math/s_clogf.c: Likewise.
39513 * math/s_clogl.c: Likewise.
39514 * math/s_csqrt.c: Likewise.
39515 * math/s_csqrtf.c: Likewise.
39516 * math/s_csqrtl.c: Likewise.
39517 * math/s_ctanf.c: Likewise.
39518 * math/s_ctanh.c: Likewise.
39519 * math/s_ctanhf.c: Likewise.
39520 * math/s_ctanhl.c: Likewise.
39521 * math/s_ctanl.c: Likewise.
39523 * math/math_private.h: Define __nan, __nanf, __nanl.
39524 * math/s_cacosh.c: Include <math_private.h>.
39525 * math/s_cacoshl.c: Likewise.
39526 * math/s_casinh.c: Likewise.
39527 * math/s_casinhf.c: Likewise.
39528 * math/s_casinhl.c: Likewise.
39529 * math/s_ccos.c: Rely entire on ccosh.
39530 * math/s_ccosf.c: Rely entire on ccoshf.
39531 * math/s_ccosl.c: Rely entirely on ccoshl.
39532 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
39533 Remove tests for FE_INVALID.
39534 * math/s_ccoshf.c: Likewise.
39535 * math/s_ccoshl.c: Likewise.
39536 * math/s_csin.c: Likewise.
39537 * math/s_csinf.c: Likewise.
39538 * math/s_csinh.c Likewise.
39539 * math/s_csinhf.c: Likewise.
39540 * math/s_csinhl.c: Likewise.
39541 * math/s_csinl.c: Likewise.
39542 * math/s_ctan.c: Likewise.
39543 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
39544 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
39545 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
39547 2011-10-21 Ulrich Drepper <drepper@gmail.com>
39549 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
39550 compilation problems.
39552 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
39555 2011-10-20 Ulrich Drepper <drepper@gmail.com>
39557 * sysdeps/i386/configure.in: Test for -mfma4 option.
39558 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
39559 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
39560 COMMON_CPUID_INDEX_80000001.
39561 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
39562 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
39563 use it if FMA3 is not supported.
39564 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
39566 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
39567 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
39569 2011-10-20 Andreas Schwab <schwab@redhat.com>
39572 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
39573 it would create a cycle with a link time dependency.
39575 2011-10-19 Ulrich Drepper <drepper@gmail.com>
39577 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
39579 * string/Makefile (strop-tests): Add rawmemchr.
39580 * string/test-rawmemchr.c: New file.
39582 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
39583 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
39584 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
39585 when compiling str{,n}casecmp and when AVX is available. Hook up
39586 new optimized code in initializers.
39588 2011-10-19 Andreas Schwab <schwab@redhat.com>
39590 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
39591 __feraiseexcept instead of feraiseexcept.
39593 2011-10-18 Ulrich Drepper <drepper@gmail.com>
39595 * math/math_private.h: Define defaults for libc_fetestexcept and
39597 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
39598 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
39599 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
39600 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
39601 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
39602 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
39603 libc_fetestexcept and libc_feupdateenv.
39605 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
39606 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
39607 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
39608 * sysdeps/x86_64/fpu/math_private.h: Define special version of
39609 libc_feholdexcept_setround.
39611 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
39612 Add s_nearbyint-c and s_nearbyintf-c.
39613 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
39614 nearbyintf inlines.
39615 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
39616 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
39617 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
39618 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
39620 * math/math_private.h: Define defaults for libc_fegetround,
39621 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
39622 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
39623 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
39624 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
39625 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
39626 standard functions.
39627 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
39628 Remove comments and hacks for old compiler versions.
39629 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
39630 libc_fegetround, libc_fesetround, libc_feholdexcept, and
39631 libc_feholdexceptl.
39633 2011-10-18 Andreas Schwab <schwab@redhat.com>
39635 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
39636 (__feraiseexcept_renamed): Add __NTH.
39637 (feraiseexcept): Add __NTH. Rename local variables to fix
39638 namespace violations.
39640 2011-10-17 Ulrich Drepper <drepper@gmail.com>
39642 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
39644 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
39646 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
39647 recently added interfaces.
39648 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
39650 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
39651 about macro parameter expansion.
39653 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
39654 __NO_MATH_INLINES is defined. Cleanups.
39656 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
39657 and __floorf is target has SSE4.1.
39658 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
39659 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
39660 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
39661 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
39663 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
39665 (floorf): Likewise.
39667 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
39669 2011-10-17 Andreas Schwab <schwab@redhat.com>
39671 * misc/sys/cdefs.h: Fix last change.
39673 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
39676 2011-10-16 Ulrich Drepper <drepper@gmail.com>
39678 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
39680 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
39681 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39682 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
39683 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39684 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39685 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
39686 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39687 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39688 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
39689 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
39690 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
39691 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
39692 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
39693 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
39694 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
39695 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
39696 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
39697 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
39698 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
39699 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
39700 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
39701 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
39703 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
39704 ceil, ceilf, floor, floorf.
39706 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
39707 Perform IRELATIVE relocations last.
39709 * elf/do-rel.h: Add another parameter nrelative, replacing the
39710 local variable with the same name. Change name of the function
39711 to end in Rel or Rela (uppercase).
39712 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
39713 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
39714 elf_dynamic_do_##reloc function.
39716 2011-10-15 Ulrich Drepper <drepper@gmail.com>
39718 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
39719 is sufficient, at least on modern CPUs.
39721 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
39723 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
39724 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
39726 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
39728 * math/bits/math-finite.h: Add entries for exp.
39729 * math/e_expl.c: Add __*_finite alias.
39730 * sysdeps/i386/fpu/e_exp.S: Likewise.
39731 * sysdeps/i386/fpu/e_expf.S: Likewise.
39732 * sysdeps/i386/fpu/e_expl.c: Likewise.
39733 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39734 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
39735 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
39736 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
39737 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
39738 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
39739 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
39741 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
39742 is sufficient, at least on modern CPUs.
39744 * ctype/ctype-info.c (__ctype_init): Define.
39745 * include/ctype.h (__ctype_init): Declare.
39746 (__ctype_b_loc): The variable is always initialized.
39747 (__ctype_toupper_loc): Likewise.
39748 (__ctype_tolower_loc): Likewise.
39749 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
39750 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
39752 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
39754 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
39756 * configure.in: Also look in $cxxmachine/include for C++ system
39759 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39761 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
39762 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
39763 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
39764 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
39765 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
39766 (USE_AS_WMEMCMP): New macro.
39768 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
39769 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
39770 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
39771 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
39772 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39773 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
39774 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
39775 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
39776 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
39777 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
39778 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
39779 (USE_AS_WMEMCMP): New macro.
39780 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
39781 * sysdeps/string/test-memcmp.c: Update.
39782 Fix simple_wmemcmp.
39784 * wcsmbs/wmemcmp.c: Update.
39785 (WMEMCMP): New macro.
39788 2011-10-12 Andreas Jaeger <aj@suse.de>
39791 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
39793 2011-10-15 Ulrich Drepper <drepper@gmail.com>
39795 * libio/iofwide.c (do_length): Avoid warning.
39797 * ctype/ctype.h (__isctype_f): Add missing __THROW.
39799 2011-10-14 Ulrich Drepper <drepper@gmail.com>
39801 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
39803 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
39804 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
39805 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
39806 * sysdeps/i386/i686/fpu/e_log.S: New file.
39807 * sysdeps/i386/i686/fpu/e_logf.S: New file.
39808 * sysdeps/i386/i686/fpu/e_logl.S: New file.
39810 * ctype/ctype.h: Add support for inlined isXXX functions when
39811 compiling C++ code.
39813 2011-10-14 Andreas Schwab <schwab@redhat.com>
39815 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39817 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
39819 2011-10-13 Roland McGrath <roland@hack.frob.com>
39822 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
39824 2011-10-13 Andreas Schwab <schwab@redhat.com>
39826 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
39827 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
39830 * sysdeps/x86_64/memrchr.S: Check for zero size.
39832 * string/stratcliff.c: Add memrchr tests.
39834 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39836 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39837 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
39838 rawmemchr-sse2 rawmemchr-sse2-bsf.
39839 * sysdeps/i386/i686/multiarch/memchr.S: New file.
39840 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
39841 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
39842 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
39843 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
39844 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
39845 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
39846 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
39847 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
39848 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
39849 * string/memrchr.c (MEMRCHR): New macro.
39851 2011-10-12 Ulrich Drepper <drepper@gmail.com>
39853 Add integration with gcc's -ffinite-math-only and optimize wrapper
39855 * Versions.def: Define GLIBC_2.15 version for libm.
39856 * math/Makefile (headers): Add bits/math-finite.h.
39857 * math/bits/math-finite.h: New file.
39858 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
39859 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
39860 * math/e_acoshl.c: Add __*_finite alias.
39861 * math/e_acosl.c: Likewise.
39862 * math/e_asinl.c: Likewise.
39863 * math/e_atan2l.c: Likewise.
39864 * math/e_atanhl.c: Likewise.
39865 * math/e_coshl.c: Likewise.
39866 * math/e_exp10.c: Likewise.
39867 * math/e_exp10f.c: Likewise.
39868 * math/e_exp10l.c: Likewise.
39869 * math/e_exp2l.c: Likewise.
39870 * math/e_fmodl.c: Likewise.
39871 * math/e_gammal_r.c: Likewise.
39872 * math/e_hypotl.c: Likewise.
39873 * math/e_j0l.c: Likewise.
39874 * math/e_j1l.c: Likewise.
39875 * math/e_jnl.c: Likewise.
39876 * math/e_lgammal_r.c: Likewise.
39877 * math/e_log10l.c: Likewise.
39878 * math/e_log2l.c: Likewise.
39879 * math/e_logl.c: Likewise.
39880 * math/e_powl.c: Likewise.
39881 * math/e_sinhl.c: Likewise.
39882 * math/e_sqrtl.c: Likewise.
39883 * math/e_scalb.c: Completely rewritten and optimized.
39884 * math/e_scalbf.c: Likewise.
39885 * math/e_scalbl.c: Likewise.
39886 * math/w_acos.c: Likewise.
39887 * math/w_acosf.c: Likewise.
39888 * math/w_acosl.c: Likewise.
39889 * math/w_acosh.c: Likewise.
39890 * math/w_acoshf.c: Likewise.
39891 * math/w_acoshl.c: Likewise.
39892 * math/w_asin.c: Likewise.
39893 * math/w_asinf.c: Likewise.
39894 * math/w_asinl.c: Likewise.
39895 * math/w_atan2.c: Likewise.
39896 * math/w_atan2f.c: Likewise.
39897 * math/w_atan2l.c: Likewise.
39898 * math/w_atanh.c: Likewise.
39899 * math/w_atanhf.c: Likewise.
39900 * math/w_atanhl.c: Likewise.
39901 * math/w_exp10.c: Likewise.
39902 * math/w_exp10f.c: Likewise.
39903 * math/w_exp10l.c: Likewise.
39904 * math/w_fmod.c: Likewise.
39905 * math/w_fmodf.c: Likewise.
39906 * math/w_fmodl.c: Likewise.
39907 * math/w_j0.c: Likewise.
39908 * math/w_j0f.c: Likewise.
39909 * math/w_j0l.c: Likewise.
39910 * math/w_j1.c: Likewise.
39911 * math/w_j1f.c: Likewise.
39912 * math/w_j1l.c: Likewise.
39913 * math/w_jn.c: Likewise.
39914 * math/w_jnf.c: Likewise.
39915 * math/w_log.c: Likewise.
39916 * math/w_logf.c: Likewise.
39917 * math/w_logl.c: Likewise.
39918 * math/w_log10.c: Likewise.
39919 * math/w_log10f.c: Likewise.
39920 * math/w_log10l.c: Likewise.
39921 * math/w_log2.c: Likewise.
39922 * math/w_log2f.c: Likewise.
39923 * math/w_log2l.c: Likewise.
39924 * math/w_pow.c: Likewise.
39925 * math/w_powf.c: Likewise.
39926 * math/w_powl.c: Likewise.
39927 * math/w_remainder.c: Likewise.
39928 * math/w_remainderf.c: Likewise.
39929 * math/w_remainderl.c: Likewise.
39930 * math/w_scalb.c: Likewise.
39931 * math/w_scalbf.c: Likewise.
39932 * math/w_scalbl.c: Likewise.
39933 * math/w_sqrt.c: Likewise.
39934 * math/w_sqrtf.c: Likewise.
39935 * math/w_sqrtl.c: Likewise.
39936 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
39937 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
39939 * math/math_private.h: Declare __kernel_standard_f.
39940 * math/w_cosh.c: Remove cruft and optimize a bit.
39941 * math/w_coshf.c: Likewise.
39942 * math/w_coshl.c: Likewise.
39943 * math/w_exp2.c: Likewise.
39944 * math/w_exp2f.c: Likewise.
39945 * math/w_exp2l.c: Likewise.
39946 * math/w_hypot.c: Likewise.
39947 * math/w_hypotf.c: Likewise.
39948 * math/w_hypotl.c: Likewise.
39949 * math/w_lgamma.c: Likewise.
39950 * math/w_lgamma_r.c: Likewise.
39951 * math/w_lgammaf.c: Likewise.
39952 * math/w_lgammaf_r.c: Likewise.
39953 * math/w_lgammal.c: Likewise.
39954 * math/w_lgammal_r.c: Likewise.
39955 * math/w_sinh.c: Likewise.
39956 * math/w_sinhf.c: Likewise.
39957 * math/w_sinhl.c: Likewise.
39958 * math/w_tgamma.c: Likewise.
39959 * math/w_tgammaf.c: Likewise.
39960 * math/w_tgammal.c: Likewise.
39961 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39962 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39963 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
39964 Minor optimizations. Pretty printing. Remove cruft.
39965 * sysdeps/i386/fpu/e_acosf.S: Likewise.
39966 * sysdeps/i386/fpu/e_acosh.S: Likewise.
39967 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
39968 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
39969 * sysdeps/i386/fpu/e_acosl.c: Likewise.
39970 * sysdeps/i386/fpu/e_asin.S: Likewise.
39971 * sysdeps/i386/fpu/e_asinf.S: Likewise.
39972 * sysdeps/i386/fpu/e_atan2.S: Likewise.
39973 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
39974 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
39975 * sysdeps/i386/fpu/e_atanh.S: Likewise.
39976 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
39977 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
39978 * sysdeps/i386/fpu/e_exp10.S: Likewise.
39979 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
39980 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
39981 * sysdeps/i386/fpu/e_exp2.S: Likewise.
39982 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
39983 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
39984 * sysdeps/i386/fpu/e_fmod.S: Likewise.
39985 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
39986 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
39987 * sysdeps/i386/fpu/e_hypot.S: Likewise.
39988 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
39989 * sysdeps/i386/fpu/e_log.S: Likewise.
39990 * sysdeps/i386/fpu/e_log10.S: Likewise.
39991 * sysdeps/i386/fpu/e_log10f.S: Likewise.
39992 * sysdeps/i386/fpu/e_log10l.S: Likewise.
39993 * sysdeps/i386/fpu/e_log2.S: Likewise.
39994 * sysdeps/i386/fpu/e_log2f.S: Likewise.
39995 * sysdeps/i386/fpu/e_log2l.S: Likewise.
39996 * sysdeps/i386/fpu/e_logf.S: Likewise.
39997 * sysdeps/i386/fpu/e_logl.S: Likewise.
39998 * sysdeps/i386/fpu/e_pow.S: Likewise.
39999 * sysdeps/i386/fpu/e_powf.S: Likewise.
40000 * sysdeps/i386/fpu/e_powl.S: Likewise.
40001 * sysdeps/i386/fpu/e_remainder.S: Likewise.
40002 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
40003 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
40004 * sysdeps/i386/fpu/e_scalb.S: Likewise.
40005 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40006 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40007 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
40008 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
40009 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
40010 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
40011 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40012 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40013 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
40014 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
40015 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
40016 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
40017 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
40018 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40019 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
40020 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
40021 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
40022 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40023 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
40024 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
40025 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40026 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40027 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
40028 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40029 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40030 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
40031 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
40032 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40033 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40034 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
40035 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
40036 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
40037 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
40038 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
40039 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
40040 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40041 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
40042 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40043 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
40044 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
40045 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
40046 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
40047 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
40048 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
40049 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
40050 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
40051 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
40052 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
40053 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
40054 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40055 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
40056 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
40057 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
40058 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
40059 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
40060 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
40061 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
40062 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
40063 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40064 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
40065 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
40066 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
40067 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
40068 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
40069 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
40070 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
40071 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
40072 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40073 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40074 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
40075 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
40076 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
40077 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
40078 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
40079 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
40080 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
40081 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
40082 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
40083 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
40084 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
40085 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40086 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
40087 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
40088 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40089 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
40090 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40091 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
40092 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
40093 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40094 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40095 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
40096 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40097 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
40098 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
40099 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
40100 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40101 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
40102 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
40103 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
40104 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
40105 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
40106 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
40107 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
40108 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
40109 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
40110 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
40111 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
40112 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
40113 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
40114 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40115 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40116 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40117 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40118 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
40119 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40120 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
40121 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
40122 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
40123 (__isnanf): Likewise.
40124 (__isinf_ns): Likewise.
40125 (__isinf_nsf): Likewise.
40126 (__finite): Likewise.
40127 (__finitef): Likewise.
40128 (__ieee754_sqrt): Define as macro.
40129 (__ieee754_sqrtf): Define as macro.
40130 (__ieee754_sqrtl): Define as macro.
40131 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
40133 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
40134 __FINITE_MATH_ONLY__ consistent.
40135 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
40137 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
40139 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
40142 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
40144 2011-10-09 Ulrich Drepper <drepper@gmail.com>
40146 * po/ja.po: Update from translation team.
40148 2011-10-08 Roland McGrath <roland@hack.frob.com>
40150 * locale/programs/locarchive.c (prepare_address_space): New function.
40151 (create_archive, enlarge_archive, open_archive): Use it.
40153 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
40154 inside [SHARED], where it is used.
40156 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
40158 * nss/getent.c (netgroup_keys): Remove unused variable.
40159 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
40161 2011-10-08 Ulrich Drepper <drepper@gmail.com>
40163 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
40164 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
40165 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
40166 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
40167 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
40168 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
40169 * math/Makefile (libm-calls): Add s_isinf_ns.
40170 * math/divtc3.c: Use __isinf_nsl instead of isinf.
40171 * math/multc3.c: Likewise.
40172 * math/s_casin.c: Likewise.
40173 * math/s_casinf.c: Likewise.
40174 * math/s_casinl.c: Likewise.
40175 * math/s_ccos.c: Likewise.
40176 * math/s_ccosf.c: Likewise.
40177 * math/s_ccosl.c: Likewise.
40178 * math/s_ctan.c: Likewise.
40179 * math/s_ctanf.c: Likewise.
40180 * math/s_ctanh.c: Likewise.
40181 * math/s_ctanhf.c: Likewise.
40182 * math/s_ctanhl.c: Likewise.
40183 * math/s_ctanl.c: Likewise.
40184 * math/w_fmod.c: Likewise.
40185 * math/w_fmodf.c: Likewise.
40186 * math/w_fmodl.c: Likewise.
40187 * math/w_remainder.c: Likewise.
40188 * math/w_remainderf.c: Likewise.
40189 * math/w_remainderl.c: Likewise.
40190 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
40191 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
40192 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
40193 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
40194 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
40195 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
40196 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
40197 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
40199 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
40201 * stdio-common/printf_fphex.c: Likewise.
40202 * stdio-common/printf_size.c: Likewise.
40204 * math/e_exp10.c: Include math_private.h using <...> not "...".
40205 * math/e_exp10f.c: Likewise.
40206 * math/e_exp10l.c: Likewise.
40207 * math/e_exp2l.c: Likewise.
40208 * math/e_j0l.c: Likewise.
40209 * math/e_j1l.c: Likewise.
40210 * math/e_jnl.c: Likewise.
40211 * math/e_lgammal_r.c: Likewise.
40212 * math/e_rem_pio2l.c: Likewise.
40213 * math/e_scalb.c: Likewise.
40214 * math/e_scalbf.c: Likewise.
40215 * math/e_scalbl.c: Likewise.
40216 * math/k_cosl.c: Likewise.
40217 * math/k_sinl.c: Likewise.
40218 * math/k_tanl.c: Likewise.
40219 * math/s_cacoshf.c: Likewise.
40220 * math/s_catan.c: Likewise.
40221 * math/s_catanf.c: Likewise.
40222 * math/s_catanh.c: Likewise.
40223 * math/s_catanhf.c: Likewise.
40224 * math/s_catanhl.c: Likewise.
40225 * math/s_catanl.c: Likewise.
40226 * math/s_ccosh.c: Likewise.
40227 * math/s_ccoshf.c: Likewise.
40228 * math/s_ccoshl.c: Likewise.
40229 * math/s_cexp.c: Likewise.
40230 * math/s_cexpf.c: Likewise.
40231 * math/s_cexpl.c: Likewise.
40232 * math/s_clog.c: Likewise.
40233 * math/s_clog10.c: Likewise.
40234 * math/s_clog10f.c: Likewise.
40235 * math/s_clog10l.c: Likewise.
40236 * math/s_clogf.c: Likewise.
40237 * math/s_clogl.c: Likewise.
40238 * math/s_csin.c: Likewise.
40239 * math/s_csinf.c: Likewise.
40240 * math/s_csinh.c: Likewise.
40241 * math/s_csinhf.c: Likewise.
40242 * math/s_csinhl.c: Likewise.
40243 * math/s_csinl.c: Likewise.
40244 * math/s_csqrt.c: Likewise.
40245 * math/s_csqrtf.c: Likewise.
40246 * math/s_csqrtl.c: Likewise.
40247 * math/s_ctan.c: Likewise.
40248 * math/s_ctanf.c: Likewise.
40249 * math/s_ctanh.c: Likewise.
40250 * math/s_ctanhf.c: Likewise.
40251 * math/s_ctanhl.c: Likewise.
40252 * math/s_ctanl.c: Likewise.
40253 * math/s_ldexp.c: Likewise.
40254 * math/s_ldexpf.c: Likewise.
40255 * math/s_ldexpl.c: Likewise.
40256 * math/s_significand.c: Likewise.
40257 * math/s_significandf.c: Likewise.
40258 * math/s_significandl.c: Likewise.
40259 * math/w_acos.c: Likewise.
40260 * math/w_acosf.c: Likewise.
40261 * math/w_acosh.c: Likewise.
40262 * math/w_acoshf.c: Likewise.
40263 * math/w_acoshl.c: Likewise.
40264 * math/w_acosl.c: Likewise.
40265 * math/w_asin.c: Likewise.
40266 * math/w_asinf.c: Likewise.
40267 * math/w_asinl.c: Likewise.
40268 * math/w_atan2.c: Likewise.
40269 * math/w_atan2f.c: Likewise.
40270 * math/w_atan2l.c: Likewise.
40271 * math/w_atanh.c: Likewise.
40272 * math/w_atanhf.c: Likewise.
40273 * math/w_atanhl.c: Likewise.
40274 * math/w_cosh.c: Likewise.
40275 * math/w_coshf.c: Likewise.
40276 * math/w_coshl.c: Likewise.
40277 * math/w_dremf.c: Likewise.
40278 * math/w_exp10.c: Likewise.
40279 * math/w_exp10f.c: Likewise.
40280 * math/w_exp10l.c: Likewise.
40281 * math/w_exp2.c: Likewise.
40282 * math/w_exp2f.c: Likewise.
40283 * math/w_fmod.c: Likewise.
40284 * math/w_fmodf.c: Likewise.
40285 * math/w_fmodl.c: Likewise.
40286 * math/w_hypot.c: Likewise.
40287 * math/w_hypotf.c: Likewise.
40288 * math/w_hypotl.c: Likewise.
40289 * math/w_j0.c: Likewise.
40290 * math/w_j0f.c: Likewise.
40291 * math/w_j0l.c: Likewise.
40292 * math/w_j1.c: Likewise.
40293 * math/w_j1f.c: Likewise.
40294 * math/w_j1l.c: Likewise.
40295 * math/w_jn.c: Likewise.
40296 * math/w_jnf.c: Likewise.
40297 * math/w_jnl.c: Likewise.
40298 * math/w_lgamma.c: Likewise.
40299 * math/w_lgamma_r.c: Likewise.
40300 * math/w_lgammaf.c: Likewise.
40301 * math/w_lgammaf_r.c: Likewise.
40302 * math/w_lgammal.c: Likewise.
40303 * math/w_lgammal_r.c: Likewise.
40304 * math/w_log.c: Likewise.
40305 * math/w_log10.c: Likewise.
40306 * math/w_log10f.c: Likewise.
40307 * math/w_log10l.c: Likewise.
40308 * math/w_log2.c: Likewise.
40309 * math/w_log2f.c: Likewise.
40310 * math/w_log2l.c: Likewise.
40311 * math/w_logf.c: Likewise.
40312 * math/w_logl.c: Likewise.
40313 * math/w_pow.c: Likewise.
40314 * math/w_powf.c: Likewise.
40315 * math/w_powl.c: Likewise.
40316 * math/w_remainder.c: Likewise.
40317 * math/w_remainderf.c: Likewise.
40318 * math/w_remainderl.c: Likewise.
40319 * math/w_scalb.c: Likewise.
40320 * math/w_scalbf.c: Likewise.
40321 * math/w_scalbl.c: Likewise.
40322 * math/w_sinh.c: Likewise.
40323 * math/w_sinhf.c: Likewise.
40324 * math/w_sinhl.c: Likewise.
40325 * math/w_sqrt.c: Likewise.
40326 * math/w_sqrtf.c: Likewise.
40327 * math/w_sqrtl.c: Likewise.
40328 * math/w_tgamma.c: Likewise.
40329 * math/w_tgammaf.c: Likewise.
40330 * math/w_tgammal.c: Likewise.
40332 * po/ja.po: Update from translation team.
40334 2011-09-29 Andreas Jaeger <aj@suse.de>
40337 * sunrpc/netname.c (netname2host): Fix logic.
40341 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
40343 * math/w_remainder.c (__remainder): Likewise.
40344 * math/w_remainderf.c (__remainderf): Likewise.
40345 * math/libm-test.inc (remainder_test): Add test cases.
40347 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40349 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
40352 2011-10-07 Ulrich Drepper <drepper@gmail.com>
40354 * string/test-memcmp.c: Avoid unncessary #defines.
40355 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
40357 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40359 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
40360 Use new sse2 version for core i3 - i7 as it's faster
40361 than sse42 version.
40362 (bit_Prefer_PMINUB_for_stringop): New.
40363 * sysdeps/x86_64/rawmemchr.S: Update.
40364 Replace with faster SSE2 version.
40365 * sysdeps/x86_64/memrchr.S: New file.
40366 * sysdeps/x86_64/memchr.S: Update.
40367 Replace with faster SSE2 version.
40369 2011-09-12 Marek Polacek <mpolacek@redhat.com>
40371 * elf/dl-load.c (lose): Add cast to avoid warning.
40373 2011-10-07 Ulrich Drepper <drepper@gmail.com>
40375 * po/ca.po: Update from translation team.
40377 * inet/getnetgrent_r.c: Hook up nscd.
40378 * nscd/Makefile (routines): Add nscd_netgroup.
40379 (nscd-modules): Add netgroupcache.
40380 (CFLAGS-netgroupcache.c): Define.
40381 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
40382 (cache_search): Add const to second parameter.
40383 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
40385 (dbs): Add netgrdb entry.
40386 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
40387 (verify_persistent_db): Handle netgrdb.
40388 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
40389 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
40391 (netgroup_response_header): Define.
40392 (innetgroup_response_header): Define.
40393 (datahead): Add netgroup_response_header and innetgroup_response_header
40395 * nscd/nscd.conf: Add entries for netgroup cache.
40396 * nscd/nscd.h (dbtype): Add netgrdb.
40397 (_PATH_NSCD_NETGROUP_DB): Define.
40398 (netgroup_iov_disabled): Declare.
40399 (xmalloc, xcalloc, xrealloc): Move declarations here.
40400 (cache_search): Adjust prototype.
40401 Add netgroup-related prototypes.
40402 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
40403 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
40404 (__nscd_innetgr): Declare.
40405 * nscd/selinux.c (perms): Use access_vector_t as element type and
40406 add netgroup-related initializers.
40407 * nscd/netgroupcache.c: New file.
40408 * nscd/nscd_netgroup.c: New file.
40409 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
40410 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
40411 For four parameters use innetgr.
40412 * nss/nss_files/files-init.c: Add definition and callback for netgr.
40413 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
40414 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
40415 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
40417 * nscd/connections.c (register_traced_file): Don't register file
40418 for disabled databases.
40420 2011-10-06 Ulrich Drepper <drepper@gmail.com>
40422 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
40424 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
40425 from tree and freeing node.
40427 2011-09-25 Jiri Olsa <jolsa@redhat.com>
40429 * nss/nsswitch.c (__nss_database_lookup): Handle
40430 nss_parse_service_list out of memory case.
40432 2011-09-15 Jiri Olsa <jolsa@redhat.com>
40434 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
40435 out of memory case.
40437 2011-10-04 Andreas Schwab <schwab@redhat.com>
40439 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
40440 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
40442 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
40443 elf_machine_rela, elf_machine_lazy_rel.
40444 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
40445 (ELF_DYNAMIC_DO_REL): Likewise.
40446 (ELF_DYNAMIC_DO_RELA): Likewise.
40447 (ELF_DYNAMIC_RELOCATE): Likewise.
40448 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
40449 to ELF_DYNAMIC_DO_REL.
40450 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
40451 (dl_main): In trace mode always set __RTLD_NOIFUNC.
40452 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
40454 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
40455 skip_ifunc, don't call ifunc function if non-zero.
40456 (elf_machine_rela): Likewise.
40457 (elf_machine_lazy_rel): Likewise.
40458 (elf_machine_lazy_rela): Likewise.
40459 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
40460 (elf_machine_lazy_rel): Likewise.
40461 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
40463 (elf_machine_lazy_rel): Likewise.
40464 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
40466 (elf_machine_lazy_rel): Likewise.
40467 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
40468 (elf_machine_lazy_rel): Likewise.
40469 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
40470 (elf_machine_lazy_rel): Likewise.
40471 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
40472 (elf_machine_lazy_rel): Likewise.
40473 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
40474 (elf_machine_lazy_rel): Likewise.
40475 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
40476 (elf_machine_lazy_rel): Likewise.
40477 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
40478 (elf_machine_lazy_rel): Likewise.
40480 2011-09-28 Ulrich Drepper <drepper@gmail.com>
40482 * nss/nss_files/files-init.c (_nss_files_init): Use static
40483 initialization for all the *_traced_file variables.
40485 2011-09-28 Andreas Schwab <schwab@redhat.com>
40487 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40489 2011-09-27 Roland McGrath <roland@hack.frob.com>
40492 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
40494 2011-09-27 Andreas Schwab <schwab@redhat.com>
40496 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
40497 Reread the line before reparsing it.
40499 2011-09-26 Andreas Schwab <schwab@redhat.com>
40501 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
40503 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
40504 Maxim Kuvyrkov <maxim@codesourcery.com>
40505 Joseph Myers <joseph@codesourcery.com>
40507 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
40508 if needed for __stack_chk_guard.
40510 2011-09-19 Roland McGrath <roland@hack.frob.com>
40512 * sysdeps/posix/spawni.c (script_execute): Always define it.
40513 It will be optimized away if unused.
40514 (maybe_script_execute): New function.
40515 (__spawni): Call it.
40517 * Makerules: Don't include tls.make.
40518 (config-tls): Always set to thread.
40519 * tls.make.c: File removed.
40521 2011-09-19 Mike Frysinger <vapier@gentoo.org>
40523 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
40524 * config.make.in (CPPFLAGS-config): New substituted variable.
40526 2011-09-15 Ulrich Drepper <drepper@gmail.com>
40528 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
40531 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
40532 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
40534 2011-09-15 Roland McGrath <roland@hack.frob.com>
40536 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
40537 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
40538 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
40539 (CALL_FAIL): Likewise.
40540 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
40541 (CALL_FAIL): Macro removed.
40542 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
40544 2011-09-15 Ulrich Drepper <drepper@gmail.com>
40546 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
40547 for __FINITE_MATH_ONLY__ == 1.
40549 2011-09-15 Andreas Schwab <schwab@redhat.com>
40551 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
40552 __ieee754_sqrt instead of sqrt.
40553 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
40554 __ieee754_sqrtf instead of sqrtf.
40555 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
40556 __floorf instead of floorf.
40557 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
40558 __floorf, __truncf instead of floorf, truncf.
40560 2011-09-14 Ulrich Drepper <drepper@gmail.com>
40562 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
40564 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
40565 __extern_always_inline.
40566 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
40569 2011-09-14 Andreas Schwab <schwab@redhat.com>
40571 * elf/rtld.c (dl_main): Also relocate in dependency order when
40572 doing symbol dependency testing.
40574 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
40576 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
40577 Always define `refsym'.
40579 2011-09-13 Andreas Schwab <schwab@redhat.com>
40581 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
40582 (__FD_ELT): Renamed from __FDELT.
40583 * misc/bits/select2.h (__FD_ELT): Likewise.
40584 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
40585 __FD_MASK instead of __FDELT, __FDMASK.
40586 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
40588 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
40591 * elf/Makefile (gen-ldd): Fix pattern.
40593 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
40594 (init_tls): Likewise.
40596 2011-09-12 Ulrich Drepper <drepper@gmail.com>
40598 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
40600 2011-09-12 Andreas Schwab <schwab@redhat.com>
40602 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
40603 `struct cmsghdr *' instead of `void *'.
40604 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
40607 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
40609 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
40611 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
40612 ldd_rewrite_script.
40614 2011-09-11 Ulrich Drepper <drepper@gmail.com>
40616 * configure.in: Remove --with-tls option.
40617 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
40618 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
40619 out in case it is missing.
40620 * sysdeps/ia64/elf/configure.in: Likewise.
40621 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
40622 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
40623 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
40624 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
40625 * sysdeps/sh/elf/configure.in: Likewise.
40626 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
40627 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
40628 * sysdeps/x86_64/elf/configure.in: Likewise.
40629 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
40630 * sysdeps/mach/hurd/tls.h: Likewise.
40633 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
40636 * configure.in: Fix use of AC_INIT.
40638 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
40640 2011-09-10 Ulrich Drepper <drepper@gmail.com>
40642 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
40644 * malloc/hooks.c: Likewise.
40647 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
40648 variables statically.
40649 (narenas): Initialize.
40650 (list_lock): Initialize.
40651 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
40652 initializtion of main_arena and list_lock. Small cleanups.
40653 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
40654 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
40655 Add initializers to main_arena and mp_.
40656 (malloc_state): Remove pagesize member. Change all users to use
40659 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
40660 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
40661 is always initialized.
40663 * malloc/malloc.c: Removed unused configurations and dead code.
40664 * malloc/arena.c: Likewise.
40665 * malloc/hooks.c: Likewise.
40666 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
40668 * include/tls.h: Removed. USE___THREAD must always be defined.
40669 * bits/libc-tsd.h: Don't handle !USE___THREAD.
40670 * elf/dl-libc.c: Likewise.
40671 * elf/dl-tsd.c: Likewise.
40672 * include/errno.h: Likewise.
40673 * include/netdb.h: Likewise.
40674 * include/resolv.h: Likewise.
40675 * inet/herrno-loc.c: Likewise.
40676 * inet/herrno.c: Likewise.
40677 * malloc/arena.c: Likewise.
40678 * malloc/hooks.c: Likewise.
40679 * malloc/malloc.c: Likewise.
40680 * resolv/res-state.c: Likewise.
40681 * resolv/res_libc.c: Likewise.
40682 * sysdeps/i386/dl-machine.h: Likewise.
40683 * sysdeps/ia64/dl-machine.h: Likewise.
40684 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
40685 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
40686 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
40687 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
40688 * sysdeps/sh/dl-machine.h: Likewise.
40689 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
40690 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
40691 * sysdeps/unix/i386/sysdep.S: Likewise.
40692 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
40693 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
40694 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
40695 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
40696 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
40697 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
40698 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
40699 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40700 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40701 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
40702 * sysdeps/unix/x86_64/sysdep.S: Likewise.
40703 * sysdeps/x86_64/dl-machine.h: Likewise.
40704 * tls.make.c: Likewise.
40706 * configure.in: Remove --with-__thread option. Make tests for
40707 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
40708 tls_model attribute fail if no support is available. Remove
40710 * Makeconfig: Adjust for dropped configure option. All features are
40712 * Makerules: Likewise.
40713 * Versions.def: Likewise.
40714 * argp/argp-fmtstream.c: Likewise.
40715 * argp/argp-fmtstream.h: Likewise.
40716 * argp/argp-help.c: Likewise.
40717 * assert/assert.c: Likewise.
40718 * config.h.in: Likewise.
40719 * config.make.in: Likewise.
40720 * configure: Likewise.
40721 * configure.in: Likewise.
40722 * csu/Versions: Likewise.
40723 * csu/init.c: Likewise.
40724 * elf/tst-audit2.c: Likewise.
40725 * elf/tst-tls10.c: Likewise.
40726 * elf/tst-tls10.h: Likewise.
40727 * elf/tst-tls11.c: Likewise.
40728 * elf/tst-tls12.c: Likewise.
40729 * elf/tst-tls14.c: Likewise.
40730 * elf/tst-tlsmod11.c: Likewise.
40731 * elf/tst-tlsmod12.c: Likewise.
40732 * elf/tst-tlsmod13.c: Likewise.
40733 * elf/tst-tlsmod13a.c: Likewise.
40734 * elf/tst-tlsmod14a.c: Likewise.
40735 * elf/tst-tlsmod15b.c: Likewise.
40736 * elf/tst-tlsmod16a.c: Likewise.
40737 * elf/tst-tlsmod16b.c: Likewise.
40738 * elf/tst-tlsmod7.c: Likewise.
40739 * elf/tst-tlsmod8.c: Likewise.
40740 * elf/tst-tlsmod9.c: Likewise.
40741 * gmon/gmon.c: Likewise.
40742 * grp/fgetgrent_r.c: Likewise.
40743 * grp/putgrent.c: Likewise.
40744 * hurd/fopenport.c: Likewise.
40745 * include/libc-symbols.h: Likewise.
40746 * include/tls.h: Likewise.
40747 * intl/gettextP.h: Likewise.
40748 * intl/loadinfo.h: Likewise.
40749 * locale/global-locale.c: Likewise.
40750 * locale/localeinfo.h: Likewise.
40751 * mach/devstream.c: Likewise.
40752 * malloc/arena.c: Likewise.
40753 * malloc/set-freeres.c: Likewise.
40754 * misc/err.c: Likewise.
40755 * misc/getttyent.c: Likewise.
40756 * misc/mntent_r.c: Likewise.
40757 * posix/getopt.c: Likewise.
40758 * posix/wordexp.c: Likewise.
40759 * pwd/fgetpwent_r.c: Likewise.
40760 * resolv/Versions: Likewise.
40761 * resolv/res_hconf.c: Likewise.
40762 * shadow/fgetspent_r.c: Likewise.
40763 * shadow/putspent.c: Likewise.
40764 * stdio-common/printf_fphex.c: Likewise.
40765 * stdio-common/tmpfile.c: Likewise.
40766 * stdlib/abort.c: Likewise.
40767 * stdlib/fmtmsg.c: Likewise.
40768 * sunrpc/auth_unix.c: Likewise.
40769 * sunrpc/clnt_perr.c: Likewise.
40770 * sunrpc/clnt_tcp.c: Likewise.
40771 * sunrpc/clnt_udp.c: Likewise.
40772 * sunrpc/clnt_unix.c: Likewise.
40773 * sunrpc/openchild.c: Likewise.
40774 * sunrpc/svc_simple.c: Likewise.
40775 * sunrpc/svc_tcp.c: Likewise.
40776 * sunrpc/svc_udp.c: Likewise.
40777 * sunrpc/svc_unix.c: Likewise.
40778 * sunrpc/xdr.c: Likewise.
40779 * sunrpc/xdr_array.c: Likewise.
40780 * sunrpc/xdr_rec.c: Likewise.
40781 * sunrpc/xdr_ref.c: Likewise.
40782 * sunrpc/xdr_stdio.c: Likewise.
40784 2011-09-09 Ulrich Drepper <drepper@gmail.com>
40786 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40788 2011-07-03 Andreas Jaeger <aj@suse.de>
40790 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
40791 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
40792 regenerate with gen-libm-tests.pl.
40794 2010-05-12 Petr Baudis <pasky@suse.cz>
40797 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
40798 around j0() zero points by switching to j1().
40799 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40800 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40801 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40802 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40804 2011-09-09 Ulrich Drepper <drepper@gmail.com>
40806 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
40808 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
40810 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40811 Patch in part by Pavel Roskin <proski@gnu.org>.
40814 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
40816 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
40817 Free memory block if necessary.
40820 * libio/genops.c (INTDEF): For string streams the _lock pointer can
40821 be NULL. Don't lock in this case.
40823 2011-09-09 Roland McGrath <roland@hack.frob.com>
40825 * elf/elf.h (ELFOSABI_GNU): New macro.
40826 (ELFOSABI_LINUX): Define to that.
40828 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
40830 * string/strncat.c (strncat): Undef the symbol in case it has been
40831 defined in bits/string.h.
40833 2011-09-09 Ulrich Drepper <drepper@gmail.com>
40835 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
40837 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
40840 2011-08-17 Andreas Jaeger <aj@suse.de>
40842 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
40844 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
40845 Ian Lance Taylor <iant@google.com>
40847 * math/libm-test.inc (lround_test): New testcase.
40848 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
40850 2011-09-08 Ulrich Drepper <drepper@gmail.com>
40852 * Makefile: Remove support for automatic cvs check-ins.
40853 * Makerules: Likewise.
40854 * config.make.in: Likewise.
40855 * configure.in: Likewise.
40856 * intl/Makefile: Likewise.
40857 * locale/Makefile: Likewise.
40858 * po/Makefile: Likewise.
40859 * posix/Makefile: Likewise.
40860 * sysdeps/gnu/Makefile: Likewise.
40861 * sysdeps/mach/hurd/Makefile: Likewise.
40862 * sysdeps/sparc/sparc32/Makefile: Likewise.
40865 * posix/Makefile (bug-regex32-ENV): Define.
40866 Patch by John Stanley <jpsinthemix@verizon.net>.
40868 * misc/Makefile (headers): Add bits/select2.h.
40869 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
40870 * misc/bits/select2.h: New file.
40871 * include/bits/select2.h: New file.
40872 * debug/Makefile (routines): Add fdelt_chk.
40873 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
40874 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
40876 * debug/fdelt_chk.c: New file.
40878 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
40879 * wcsmbs/test-wmemcmp.c: Likewise.
40880 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
40881 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
40883 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40885 * string/Makefile (strop-tests): Add memcmp.
40886 * string/test-wmemcmp.c: New file.
40887 * string/test-memcmp.c: Add wmemcmp support.
40889 2011-09-08 Roland McGrath <roland@hack.frob.com>
40892 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
40895 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
40896 garbage value in a __mach_port_mod_refs call in the cases of the
40897 task-self and thread-self ports.
40899 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
40901 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
40903 2011-09-08 Andreas Schwab <schwab@redhat.com>
40905 * elf/dl-load.c (lose): Check for non-null L.
40907 2011-09-07 Ulrich Drepper <drepper@gmail.com>
40909 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
40911 * elf/dl-libc.c (dlerror_run): Pass back error code from
40915 * elf/dl-load.c (lose): Free l_origin if it is valid.
40917 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
40919 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
40920 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
40921 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
40922 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
40923 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
40924 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
40926 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40928 * sysdeps/powerpc/fpu/e_hypot.c: New file.
40929 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
40930 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
40931 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
40932 * sysdeps/powerpc/fpu/k_cosf.c: New file.
40933 * sysdeps/powerpc/fpu/k_sinf.c: New file.
40934 * sysdeps/powerpc/fpu/s_cosf.c: New file.
40935 * sysdeps/powerpc/fpu/s_sinf.c: New file.
40936 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
40937 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
40939 2011-08-15 Alan Modra <amodra@gmail.com>
40942 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
40943 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
40944 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
40945 ppc_mcount to static-only-routines.
40946 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
40948 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
40949 __mcount_internal with usual JUMPTARGET. Remove useless nop.
40951 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
40953 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
40954 for finite and infinity parameters.
40956 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
40958 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
40959 and add nop instructions for throughput optimization.
40960 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
40962 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
40964 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
40965 aligned copy for power7 with vector-scalar instructions.
40966 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
40968 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
40970 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
40973 2011-09-07 Andreas Schwab <schwab@redhat.com>
40976 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
40979 2011-09-07 Ulrich Drepper <drepper@gmail.com>
40981 * sysdeps/unix/sysv/linux/x86_64/init-first.c
40982 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
40983 syscall wrapper around clock_gettime in __vdso_clock_gettime.
40984 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
40987 2011-09-06 Ulrich Drepper <drepper@gmail.com>
40989 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
40990 Forgot to demangle the pointer.
40992 * sysdeps/i386/sysdep.h: Define atom_text_section.
40993 * sysdeps/x86_64/sysdep.h: Likewise.
40994 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
40995 section with atom_text_section.
40996 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
40997 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
40998 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
40999 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
41000 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
41002 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
41003 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
41004 already be defined. Change to take two parameters and don't assign
41005 result to variable. Adjust all users.
41006 Define INTERNAL_GETTIME if not already defined.
41007 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
41009 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
41010 HAVE_CLOCK_GETTIME_VSYSCALL.
41011 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
41013 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
41014 gettimeofday vsyscall, just use time.
41016 2011-09-06 Andreas Schwab <schwab@redhat.com>
41018 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
41021 2011-09-06 Ulrich Drepper <drepper@gmail.com>
41023 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
41025 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
41027 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
41028 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
41029 syscall if possible.
41031 2011-09-05 Ulrich Drepper <drepper@gmail.com>
41033 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
41034 e_ident. Don't pass to find_mapsXX.
41035 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
41037 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41039 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41040 strchr-sse2-no-bsf strrchr-sse2-no-bsf
41041 * sysdeps/x86_64/multiarch/strchr.S: Update.
41042 Check bit_slow_BSF bit.
41043 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
41044 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
41045 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
41047 2011-09-05 Ulrich Drepper <drepper@gmail.com>
41050 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
41052 (tryshell): Define.
41053 (__spawni): Change last parameter to be flag. Test
41054 SPAWN_XFLAGS_USE_PATH flag to use path or not.
41055 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
41056 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
41057 * posix/spawni.c: Likewise.
41058 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
41059 * posix/spawnp.c: Likewise. Change normal version to use
41060 SPAWN_XFLAGS_USE_PATH.
41061 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
41062 SPAWN_XFLAGS_TRY_SHELL.
41065 * posix/glob.h: Remove gcc 1.x support.
41068 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
41070 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41072 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41073 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
41075 * sysdeps/i386/i686/multiarch/strchr.S: New file.
41076 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
41077 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
41078 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
41079 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
41080 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
41082 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41084 * sysdeps/x86_64/wcscmp.S: New file.
41086 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
41087 wcscmp-c wcscmp-sse2
41088 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
41089 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
41090 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
41091 * wcsmbs/wcscmp.c: Allow renaming.
41093 2011-09-05 David S. Miller <davem@davemloft.net>
41095 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
41096 stack slot, rather than the struct return pointer slot.
41097 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
41098 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
41099 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
41100 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
41102 2011-09-05 Ulrich Drepper <drepper@gmail.com>
41104 * po/ja.po: Update from translation team.
41107 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
41108 kernel in 64-bit binaries.
41110 2011-09-01 David S. Miller <davem@davemloft.net>
41112 * elf/elf.h (HWCAP_SPARC_*): Move to..
41113 * sysdeps/sparc/sysdep.h: this new file and add new values.
41114 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
41115 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
41116 _DL_HWCAP_COUNT to 24.
41117 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
41119 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
41120 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
41121 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
41122 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
41123 instead of magic constants.
41124 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41126 2011-08-31 David S. Miller <davem@davemloft.net>
41128 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
41129 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
41130 Reimplement to do errno handling inline.
41131 (SYSCALL_ERROR_HANDLER): New macro.
41132 (__SYSCALL_STRING): Do not do errno handling in asm.
41133 (__CLONE_SYSCALL_STRING): Delete.
41134 (__INTERNAL_SYSCALL_STRING): Delete.
41135 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
41136 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
41137 (PSEUDO): Reimplement to do errno handling inline.
41138 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
41139 (SYSCALL_ERROR_HANDLER): New macro.
41140 (__SYSCALL_STRING): Do not do errno handling in asm.
41141 (__CLONE_SYSCALL_STRING): Delete.
41142 (__INTERNAL_SYSCALL_STRING): Delete.
41143 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
41144 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
41146 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
41147 (inline_syscall*): Add 'err' argument.
41148 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
41149 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
41150 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
41151 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
41153 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
41154 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
41156 2011-08-30 Andreas Schwab <schwab@redhat.com>
41158 * elf/rtld.c (dl_main): Relocate objects in dependency order.
41160 2011-08-29 Jiri Olsa <jolsa@redhat.com>
41162 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
41165 2011-08-24 David S. Miller <davem@davemloft.net>
41167 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
41169 2011-08-24 Andreas Schwab <schwab@redhat.com>
41171 * elf/Makefile: Add rules to build and run unload8 test.
41172 * elf/unload8.c: New file.
41173 * elf/unload8mod1.c: New file.
41174 * elf/unload8mod1x.c: New file.
41175 * elf/unload8mod2.c: New file.
41176 * elf/unload8mod3.c: New file.
41178 * elf/dl-close.c (_dl_close_worker): Reset private search list if
41181 2011-08-23 David S. Miller <davem@davemloft.net>
41183 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
41184 subtract stack bias.
41185 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
41186 %sp not %fp in calculations.
41187 (_JMPBUF_UNWINDS_ADJ): Likewise.
41189 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
41190 (aio_suspend): Call it to force an exception region around the
41191 AIO_MISC_WAIT() invocation.
41193 2011-08-23 Andreas Schwab <schwab@redhat.com>
41195 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
41198 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
41200 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
41202 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
41203 and <dl-machine.h>.
41204 (Elf64_FuncDesc): Remove.
41206 2011-08-22 David S. Miller <davem@davemloft.net>
41208 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
41209 sigaltstack check, add missing cfi directives.
41210 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
41211 missing cfi directives, and sigaltstack handling.
41213 2011-08-16 Andreas Schwab <schwab@redhat.com>
41216 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
41217 object is seen twice.
41218 * elf/dl-fini.c (_dl_sort_fini): Likewise.
41220 * elf/Makefile (distribute): Add tst-initorder2.c.
41221 (tests): Add tst-initorder2.
41222 (modules-names): Add tst-initorder2a tst-initorder2b
41223 tst-initorder2c tst-initorder2d. Add rules to build them.
41224 ($(objpfx)tst-initorder2.out): New rule.
41225 * elf/tst-initorder2.c: New file.
41226 * elf/tst-initorder2.exp: New file.
41228 2011-08-22 Andreas Schwab <schwab@redhat.com>
41230 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
41232 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
41233 dependencies back to end of function.
41235 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
41236 $(elfobjdir)/ld.so.
41238 2011-08-21 Ulrich Drepper <drepper@gmail.com>
41240 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
41241 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
41242 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
41243 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
41244 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
41245 of __vdso_gettimeofday.
41246 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
41247 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
41249 (_libc_vdso_platform_setup): Remove initialization of
41250 __vdso_gettimeofday and __vdso_time.
41252 2011-08-20 Ulrich Drepper <drepper@gmail.com>
41254 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
41255 and fgetc_unlocked.
41256 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
41259 * elf/dl-open.c (add_to_global): Report additions to the global scope
41260 for LD_DEBUG=scopes.
41261 (dl_open_worker): Also print scope of newly loaded dependencies.
41262 (_dl_show_scope): Indicate if there is no scope.
41265 * stdio-common/Makefile (tests): Add bug24.
41266 * stdio-common/bug24.c: New file.
41268 2011-08-19 Andreas Jaeger <aj@suse.de>
41271 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
41272 non-existant file when using close-on-exec mode.
41274 2011-08-20 Ulrich Drepper <drepper@gmail.com>
41276 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
41277 the very first instruction.
41279 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
41280 the CFI state in the end.
41281 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
41282 inclusion of dl-trampoline.h.
41283 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
41285 2011-08-19 Andreas Schwab <schwab@redhat.com>
41287 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
41288 expectations for long double.
41290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
41291 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
41293 2011-08-14 David S. Miller <davem@davemloft.net>
41295 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
41296 artificual limit depends upon the system page size.
41298 2011-08-17 Ulrich Drepper <drepper@gmail.com>
41300 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
41301 * resolv/Makefile: Define CFLAGS-libresolv.
41303 2011-08-17 Andreas Schwab <schwab@redhat.com>
41305 * nss/makedb.c (compute_tables): Make variables used in nested
41308 2011-08-17 Ulrich Drepper <drepper@gmail.com>
41310 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
41311 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
41312 if buffer was too small.
41314 * elf/pldd.c (main): Attach to all threads in the process.
41315 Rewrite /proc handling to use *at functions.
41317 2011-08-16 Ulrich Drepper <drepper@gmail.com>
41319 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
41320 specifies first scope to show.
41321 (dl_open_worker): Update callers. Move printing scope of new
41322 object to before the relocation.
41323 * elf/rtld.c (dl_main): Update _dl_show_scope call.
41324 * sysdeps/generic/ldsodefs.h: Update declaration.
41326 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
41327 string for the scope number.
41329 2011-08-14 Ulrich Drepper <drepper@gmail.com>
41331 * nscd/servicescache.c (cache_addserv): Make sure written is always
41334 2011-08-14 Roland McGrath <roland@hack.frob.com>
41336 * sysdeps/i386/i486/bits/atomic.h
41337 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
41338 statement expression, so as to suppress "set but not used" warning.
41339 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
41341 * string/strncat.c (STRNCAT): Use prototype definition.
41343 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
41344 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
41346 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
41347 (localedef-modules): Add localedef.
41348 (locale-modules): Add locale.
41350 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
41351 * elf/rtld.c (dl_main): Invert order of assignment in last change,
41352 to avoid a warning.
41354 2011-08-14 David S. Miller <davem@davemloft.net>
41356 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
41357 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
41359 2011-08-13 Ulrich Drepper <drepper@gmail.com>
41361 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
41362 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
41363 * elf/rtld.c (dl_main): Set l_name of vDSO.
41364 Call _dl_show_scope when DL_DEBUG_SCOPES.
41365 (process_dl_debug): Recognize scopes flag and also set it for all.
41366 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
41367 Declare _dl_show_scope.
41369 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
41370 (do_dlopen): Pass caller_dlopen to dl_open.
41371 (__libc_dlopen_mode): Initialize caller_dlopen.
41373 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
41374 of libc. Make tolower call locale-independent. Optimize a bit by
41375 using isdigit instead of isalnum.
41376 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
41378 2011-08-12 Ulrich Drepper <drepper@gmail.com>
41380 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
41381 was a dependency or dynamically loaded.
41383 2011-08-11 Ulrich Drepper <drepper@gmail.com>
41385 * intl/l10nflist.c: Allow architecture-specific pop function.
41386 * sysdeps/x86_64/l10nflist.c: New file.
41388 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
41391 2011-08-10 Andreas Schwab <schwab@redhat.com>
41393 * include/dirent.h: Add libc_hidden_proto for scandirat and
41394 scandirat64. Don't declare __scandirat64.
41395 * dirent/scandirat.c: Add libc_hidden_def.
41396 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
41397 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
41399 2011-08-10 David S. Miller <davem@davemloft.net>
41401 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
41403 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
41404 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
41405 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
41407 2011-08-09 Ulrich Drepper <drepper@gmail.com>
41409 * Versions.def [libc]: Add GLIBC_2.15.
41410 * dirent/Makefile (routines): Add scandirat and scandirat64.
41411 * dirent/Versions [libc]: Export scandirat and scandirat64 for
41413 * dirent/dirent.h: Declare scandirat and scandirat64.
41414 * dirent/scandirat.c: New file.
41415 * dirent/scandirat64.c: New file.
41416 * sysdeps/wordsize-64/scandirat.c: New file.
41417 * sysdeps/wordsize-64/scandirat64.c: New file.
41418 * dirent/opendir.c: Define opendirat.
41419 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
41421 * dirent/scandir64.c: Adjust for scandir.c change.
41422 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
41423 __scandirat64, and __scandir_cancel_handler.
41424 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
41425 additional parameter and use openat instead of open (outside of ld.so).
41426 Add new __opendir as wrapper around __opendirat.
41427 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
41428 here without requiring old scandirat implementation.
41430 2011-08-08 Ulrich Drepper <drepper@gmail.com>
41432 * dirent/scandir.c (cancel_handler): Renamed to
41433 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
41434 defined. Adjust users.
41435 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
41436 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
41438 2011-08-04 Ulrich Drepper <drepper@gmail.com>
41440 * string/test-string.h (IMPL): Use __STRING to expand name and then
41443 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
41446 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41448 * string/Makefile: Update.
41449 (strop-tests): Append strncat.
41450 * string/test-wcscmp.c: New file.
41451 New comprehensive test for wcscmp.
41452 * string/test-strcmp.c: Update.
41453 (WIDE): New define.
41455 2011-07-22 Andreas Schwab <schwab@redhat.com>
41457 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
41460 2011-07-26 Andreas Schwab <schwab@redhat.com>
41462 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
41463 encoding to ACE if AI_IDN.
41465 2011-08-01 Jakub Jelinek <jakub@redhat.com>
41467 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
41468 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
41470 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41472 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
41473 Fix overflow bug in strncat.
41474 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
41476 * string/test-strncat.c: Update.
41477 Add new tests for checking overflow bugs.
41479 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41481 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41482 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
41483 * sysdeps/i386/i686/multiarch/strcat.S: New file.
41484 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
41485 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
41486 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
41487 * sysdeps/i386/i686/multiarch/strncat.S: New file.
41488 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
41489 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
41491 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
41492 (USE_AS_STRCAT): Define.
41493 Add strcat and strncat support.
41494 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
41496 2011-07-25 Andreas Schwab <schwab@redhat.com>
41498 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
41499 __n bigger than INT_MAX+1.
41500 (__strncmp_g): Likewise.
41502 2011-07-23 Ulrich Drepper <drepper@gmail.com>
41504 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
41505 * libio/stido.h: Likewise.
41507 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
41509 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
41512 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
41513 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
41514 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
41515 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
41516 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
41519 * scripts/test-installation.pl: Don't expect libnss_test1 to be
41522 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
41524 (_dl_x86_64_save_sse): Likewise.
41526 2011-07-22 Ulrich Drepper <drepper@gmail.com>
41528 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
41530 (_dl_x86_64_save_sse): Likewise.
41532 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
41534 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
41536 2011-07-21 Andreas Schwab <schwab@redhat.com>
41538 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
41540 (_dl_x86_64_save_sse): Use correct AVX check.
41542 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41544 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
41545 bug in strncpy/strncat.
41546 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
41548 2011-07-21 Ulrich Drepper <drepper@gmail.com>
41550 * string/tester.c (test_strcat): Add tests for different alignments
41551 of source and destination.
41552 (test_strncat): Likewise.
41554 2011-07-20 Ulrich Drepper <drepper@gmail.com>
41557 * posix/glob.c (glob): Check passed in values before using them in
41558 expressions to avoid some overflows.
41559 (glob_in_dir): Likewise.
41562 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
41563 check for AVX enablement so that we don't crash with old kernels and
41565 * elf/tst-audit4.c: Add same checks here.
41566 * elf/tst-audit6.c: Likewise.
41568 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
41570 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
41572 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
41574 2011-07-20 Ulrich Drepper <drepper@gmail.com>
41576 * po/cs.po: Update from translation team.
41577 * po/bg.po: Likewise.
41579 2011-07-12 Marek Polacek <mpolacek@redhat.com>
41581 * misc/sys/cdefs.h: Add support for const attribute.
41582 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
41583 to gnu_dev_{major,minor,makedev} functions.
41585 2011-07-20 Marek Polacek <mpolacek@redhat.com>
41587 * intl/dcigettext.c (get_output_charset): Add missing bracket.
41589 2011-07-20 Andreas Schwab <schwab@redhat.com>
41591 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
41594 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41596 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
41597 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
41598 register in order to avoid conflicts with the soft frame pointer
41599 being held in r11 when necessary.
41600 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
41601 (INTERNAL_VSYSCALL_NCS): Likewise.
41603 2011-07-14 Marek Polacek <mpolacek@redhat.com>
41605 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
41606 * elf/dl-fini.c (_dl_fini): Adjust caller.
41607 * elf/dl-close.c (_dl_close_worker): Likewise.
41608 * sysdeps/generic/ldsodefs.h: Adjust declaration.
41610 2011-07-15 Marek Polacek <mpolacek@redhat.com>
41612 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
41613 "aux_cache->nlibs < 0".
41615 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
41616 in the reload-count case.
41618 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41620 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41621 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
41622 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
41623 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
41624 * sysdeps/x86_64/multiarch/strcat.S: New file.
41625 * sysdeps/x86_64/multiarch/strncat.S: New file.
41626 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
41627 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
41628 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
41629 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
41630 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
41631 (USE_AS_STRCAT): Define.
41632 Add strcat and strncat support.
41633 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
41634 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
41635 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
41636 * string/strncat.c: Update.
41637 (USE_AS_STRNCAT): Define.
41638 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41639 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
41641 * sysdeps/x86_64/multiarch/init-arch.h
41642 (bit_Prefer_PMINUB_for_stringop): New.
41643 (index_Prefer_PMINUB_for_stringop): Likewise.
41644 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
41645 bit_Prefer_PMINUB_for_stringop.
41647 2011-07-19 Ulrich Drepper <drepper@gmail.com>
41649 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
41651 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
41652 of casting of buffer.
41653 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
41654 buffer32 and buffer64.
41655 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
41656 writes instead of casting of buffer.
41657 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
41659 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
41662 2011-07-19 Andreas Schwab <schwab@redhat.com>
41664 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
41666 2011-07-19 Ulrich Drepper <drepper@gmail.com>
41668 * nscd/nscd.c (termination_handler): Don't do anything for a database
41669 if it has not yet been initialized.
41671 2011-07-18 Ulrich Drepper <drepper@gmail.com>
41673 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
41675 2011-07-15 Marek Polacek <mpolacek@redhat.com>
41677 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
41679 2011-07-18 Ulrich Drepper <drepper@gmail.com>
41681 * po/nl.po: Update from translation team.
41682 * po/sv.po: Likewise.
41684 2011-07-16 Roland McGrath <roland@hack.frob.com>
41686 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
41687 now disallowed by GCC.
41689 * configure.in (use-default-link): Default to yes if a test -shared
41690 link meets our qualifications.
41691 * configure: Regenerated.
41693 * config.make.in (output-format): New variable.
41694 * configure.in: Check for ld --print-output-format support.
41695 * configure: Regenerated.
41696 * Makerules ($(common-objpfx)format.lds)
41697 [$(output-format) != unknown]: Just use $(output-format),
41698 instead of the linker-script munging.
41700 2011-07-14 Roland McGrath <roland@hack.frob.com>
41702 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
41703 of $(common-objpfx)shlib.lds.
41704 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
41706 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
41707 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
41709 * configure.in (-z relro check): Adjust test code to add a large
41710 writable data section after it.
41711 * configure: Regenerated.
41713 2011-07-11 Roland McGrath <roland@hack.frob.com>
41715 * configure.in (-z relro check): Fix test code to make the variable
41717 * configure: Regenerated.
41719 2011-07-11 Ulrich Drepper <drepper@gmail.com>
41721 * nscd/nscd.h (struct traced_file): Define.
41722 (struct database_dyn): Remove inotify_descr, reset_res, and filename
41723 elements. Add traced_files.
41724 (inotify_fd): Declare.
41725 (register_traced_file): Declare.
41726 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
41727 (inotify_fd): Export.
41728 (resolv_conf_descr): Remove.
41729 (nscd_init): Move inotify descriptor creation to main.
41730 Don't register files for notification here.
41731 (register_traced_file): New function.
41732 (invalidate_cache): Don't use reset_res to determine whether to call
41733 res_init, go through the list of registered files.
41734 (main_loop_poll): The inotify descriptors are now stored in the
41735 structures for the traced files.
41736 (main_loop_epoll): Likewise
41737 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
41738 to __nss_disable_nscd.
41739 * nscd/cache.c (prune_cache): There is no single inotify descriptor
41740 for a database anymore. Check the records for all the registered
41742 * nss/Makefile (libnss_files-routines): Add files-init.
41743 (libnss_db-routines): Add db-init.
41744 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
41745 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
41746 * nss/nss_db/db-init.c: New file.
41747 * nss/nss_files/files-init.c: New file.
41748 * nss/nsswitch.c (nss_load_library): New function. Broken out of
41749 __nss_lookup_function.
41750 (__nss_lookup_function): Call nss_load_library.
41751 (nss_load_all_libraries): New function.
41752 (__nss_disable_nscd): Take parameter with callback function for files
41753 to register. Set is_nscd. Load all the DSOs for the NSS modules
41754 used for the cached services.
41755 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
41756 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
41757 options for features to all the files in nscd.
41759 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
41761 2011-07-10 Roland McGrath <roland@hack.frob.com>
41763 * csu/elf-init.c (__libc_csu_init): Comment typo.
41765 2011-07-09 Ulrich Drepper <drepper@gmail.com>
41767 * po/pl.po: Update from translation team.
41768 * po/ja.po: Likewise.
41769 * po/ru.po: Likewise.
41770 * po/ko.po: Likewise.
41771 * po/fr.po: Likewise.
41773 2011-07-09 Roland McGrath <roland@hack.frob.com>
41775 * configure.in (.ctors/.dtors header and trailer check):
41776 Use an empirical test on a built program.
41777 * configure: Regenerated.
41779 * configure.in (-z relro check): Use an empirical test on a built DSO.
41780 Detect, but do not require, on ia64.
41781 * configure: Regenerated.
41783 * configure.in (READELF): Find it with AC_CHECK_TOOL.
41784 Update tests that use readelf to use $READELF instead.
41785 * configure: Regenerated.
41787 2011-07-08 Ulrich Drepper <drepper@gmail.com>
41789 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
41790 if the result is not used.
41792 2011-07-05 Andreas Jaeger <aj@suse.de>
41795 * stdlib/tst-strtod.c: Add testcase.
41797 2011-07-07 Ulrich Drepper <drepper@gmail.com>
41799 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
41800 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
41801 The latter has a higher limit. Take additional parameter to pass to
41803 (__pathconf): Pass file to __statfs_link_max.
41804 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
41806 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
41810 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
41811 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
41813 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
41814 (__statfs_filesize_max): Likewise.
41815 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
41817 2011-07-05 Andreas Jaeger <aj@suse.de>
41819 * resolv/res_comp.c (dn_skipname): Remove unused variable.
41821 2011-07-06 Marek Polacek <mpolacek@redhat.com>
41823 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
41825 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
41828 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
41830 * Makefile (strop-tests): Add strncat.
41831 * string/test-strncat.c: New file.
41833 2011-06-30 Marek Polacek <mpolacek@redhat.com>
41835 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
41837 2011-06-21 Andreas Jaeger <aj@suse.de>
41839 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
41840 Copy rule from iconvdata/Makefile.
41842 2011-07-06 Ulrich Drepper <drepper@gmail.com>
41845 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
41846 but no long options are defined, just return 'W'.
41848 2011-06-22 Marek Polacek <mpolacek@redhat.com>
41851 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
41853 2011-07-06 Ulrich Drepper <drepper@gmail.com>
41855 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
41857 (innetgr): Likewise.
41859 2011-07-05 Roland McGrath <roland@hack.frob.com>
41861 * config.make.in (install_root): Default to $(DESTDIR).
41863 2011-07-05 Ulrich Drepper <drepper@gmail.com>
41865 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
41867 2011-07-02 Roland McGrath <roland@hack.frob.com>
41869 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
41871 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
41872 containing directory rather than embedding absolute directory names.
41874 * scripts/check-local-headers.sh: Rewritten using awk.
41875 Match by word, not by line. Print error messages for matches.
41876 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
41878 * Makerules [shlib-lds-flags empty]:
41879 ($(common-objpfx)libc_pic.opts): New target.
41880 ($(common-objpfx)libc_pic.os.clean): New target.
41881 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
41883 * config.make.in (OBJCOPY): New variable.
41884 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
41885 * configure: Regenerated.
41887 * config.make.in (use-default-link): New variable.
41888 * configure.in (use_default_link): Grok --with-default-link to set it.
41889 * configure: Regenerated.
41890 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
41891 (shlib-lds, shlib-lds-flags): Define to empty.
41893 * Makerules (shlib-lds): New variable.
41894 (shlib-lds-flags): New variable.
41895 (build-shlib, build-moduile, build-module-asneeded): Use it.
41896 ($(common-objpfx)libc.so): Use $(shlib-lds).
41897 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
41898 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
41900 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
41901 DT_FLAGS/DT_FLAGS_1 with zero flags.
41903 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
41904 linker script munging.
41906 2011-07-02 Ulrich Drepper <drepper@gmail.com>
41908 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
41910 * crypt/sha512.c (sha512_process_block): Perform total addition using
41911 128-bit if possible.
41912 (__sha512_finish_ctx): Likewise.
41913 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
41915 * crypt/sha256.c (SWAP64): Define.
41916 (sha256_process_block): Perform total addition using 64-bit if
41918 (__sha256_finish_ctx): Likewise.
41920 2011-07-01 Ulrich Drepper <drepper@gmail.com>
41922 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
41923 * nscd/initgrcache.c (addinitgroupsX): Likewise.
41924 * nscd/hstcache.c (cache_addhst): Likewise.
41925 * nscd/grpcache.c (cache_addgr): Likewise.
41926 * nscd/aicache.c (addhstaiX): Likewise
41927 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
41929 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
41931 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
41932 * nscd/initgrcache.c (addinitgroupsX): Likewise.
41933 * nscd/hstcache.c (cache_addhst): Likewise.
41934 * nscd/grpcache.c (cache_addgr): Likewise.
41935 * nscd/aicache.c (addhstaiX): Likewise
41937 2011-07-01 Andreas Schwab <schwab@redhat.com>
41939 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
41940 domain only when needed.
41942 2011-06-30 Andreas Schwab <schwab@redhat.com>
41944 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
41945 is always restored.
41947 2011-06-29 Ulrich Drepper <drepper@gmail.com>
41949 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
41950 are re-adding the entry.
41951 * nscd/servicescache.c (cache_addserv): Likewise.
41953 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
41955 * sysdeps/generic/dl-irel.h: fix protection against multiple
41957 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
41959 2011-06-28 Ulrich Drepper <drepper@gmail.com>
41962 * malloc/memusage.sh: Fix quoting in message.
41963 * debug/xtrace.sh: Likewise.
41965 * configure.in: Remove support for --experimental-malloc option, make
41967 * config.make.in: Likewise.
41968 * malloc/Makefile: Likewise.
41970 2011-06-27 Andreas Schwab <schwab@redhat.com>
41972 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
41973 two-byte characters.
41975 2011-06-27 Roland McGrath <roland@hack.frob.com>
41977 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
41978 AC_CACHE_CHECK invocation.
41979 * configure: Regenerated.
41981 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
41983 2011-06-27 Ulrich Drepper <drepper@gmail.com>
41986 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
41987 bit from old_res_options.
41989 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
41991 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
41992 value type for setfct.
41994 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
41996 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
41997 __gettimeofday instead of gettimeofday.
41999 2011-06-26 Ulrich Drepper <drepper@gmail.com>
42001 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
42003 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
42005 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
42007 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
42010 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
42012 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42013 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
42014 strcpy-sse2-unaligned strncpy-sse2-unaligned
42015 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
42016 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
42017 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
42018 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
42019 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
42020 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
42021 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
42022 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
42023 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
42024 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
42025 (STRCPY): Support SSE2 and SSSE3 versions.
42027 2011-06-24 Ulrich Drepper <drepper@gmail.com>
42030 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
42031 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
42032 kernels which artificially limit size of requests.
42034 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
42036 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42037 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
42038 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
42039 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
42040 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
42041 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
42042 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
42043 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
42044 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
42045 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
42046 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
42047 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
42048 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
42049 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
42050 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
42051 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42052 Enable unaligned load optimization for Intel Core i3, i5 and i7
42054 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
42056 (index_Fast_Unaligned_Load): Define.
42057 (HAS_FAST_UNALIGNED_LOAD): Define.
42059 2011-06-23 Marek Polacek <mpolacek@redhat.com>
42061 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
42063 2011-06-22 Ulrich Drepper <drepper@gmail.com>
42066 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
42067 until it is clear that the information is realy needed.
42068 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
42070 2011-06-22 Andreas Schwab <schwab@redhat.com>
42072 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
42074 2011-06-22 Ulrich Drepper <drepper@gmail.com>
42076 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
42077 /sys/devices/system/cpu/online if it is usable.
42079 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
42080 reading the information from the /proc filesystem to once a second.
42082 2011-06-21 Andreas Jaeger <aj@suse.de>
42084 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
42085 NULL after inclusion of kernel headers.
42087 2011-06-21 Ulrich Drepper <drepper@gmail.com>
42089 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
42090 calls to internal_setent.
42093 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
42094 addresses using gethostbyname4_r ignore IPv4 addresses.
42096 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
42097 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
42099 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
42101 2011-06-20 David S. Miller <davem@davemloft.net>
42103 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
42105 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
42107 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
42108 (elf_irel): Use it.
42109 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
42110 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
42111 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
42112 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
42113 * sysdeps/x86_64/dl-irel.h: Likewise.
42115 * elf/dl-runtime.c: Use elf_ifunc_invoke.
42116 * elf/dl-sym.c: Likewise.
42118 2011-06-15 Ulrich Drepper <drepper@gmail.com>
42120 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
42121 need to dereference resplen2.
42123 2011-06-14 Andreas Schwab <schwab@redhat.com>
42125 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
42127 2011-06-15 Ulrich Drepper <drepper@gmail.com>
42129 * Makeconfig: Define vardbdir and inst_vardbdir.
42130 * nss/Makefile: Add rules to install db-Makefile.
42132 * nss/nss_db/db-XXX.c: Cleanup.
42134 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
42135 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
42137 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
42138 * nss/makedb.c: Implement -g option to specify that value strings
42139 are generated and should not be added to table iterated over for
42141 * nss/nss_db/db-initgroups.c: New file.
42143 * nss/getent.c: Add support for initgroups lookups through getgrouplist
42146 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
42147 (internal_getgrouplist): Adjust to name change.
42148 Update use_initgroups_entry if this is not the first call.
42149 * nss/databases.def: Add initgroups entry.
42151 * nss/makedb.c (compute_tables): Check result of multiple hash table
42152 sizes to minimize maximum chain length.
42154 2011-06-14 Ulrich Drepper <drepper@gmail.com>
42156 * Versions.def: Add entry for libnss_db.
42157 * shlib-versions: Likewise.
42158 * nss/Makefile: Add rules to build libnss_db.
42159 * nss/Versions: Add libnss_db information. Organize libnss_files
42161 * nss/db-Makefile: Add gshadow support. Change rules for the new
42162 makedb progra. Some minor improvements to generate smaller files.
42163 * nss/nss_db/nss_db.h: Move NSS database header data structures to
42165 * nss/makedb.c: ...here.
42166 Improve database format to be smaller and require less memory at
42168 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
42170 * nss/nss_db/db-netgrp.c: Likewise.
42171 * nss/nss_db/db-open.c: Likewise.
42172 * nss/nss_files/flies-XXX.x: Adjust comments.
42173 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
42174 * nss/nss_files/files-grp.c: Likewise.
42175 * nss/nss_files/files-hosts.c: Likewise.
42176 * nss/nss_files/files-network.c: Likewise.
42177 * nss/nss_files/files-proto.c: Likewise.
42178 * nss/nss_files/files-pwd.c: Likewise.
42179 * nss/nss_files/files-rpc.c: Likewise.
42180 * nss/nss_files/files-service.c: Likewise.
42181 * nss/nss_files/files-sgrp.c: Likewise.
42182 * nss/nss_files/files-spwd.c: Likewise.
42183 * nss/nss_db/db-alias.c: Removed.
42184 * nss/nss_db/dummy-db.h: Removed.
42186 2011-06-02 Ulrich Drepper <drepper@gmail.com>
42188 * nss/makedb.c: Rewritten to not use database library.
42189 * nss/Makefile: Update to build new makedb program.
42191 2011-06-14 Andreas Jaeger <aj@suse.de>
42193 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
42194 memset declaration.
42196 2011-06-10 Andreas Schwab <schwab@redhat.com>
42198 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
42201 2011-06-10 Roland McGrath <roland@hack.frob.com>
42203 * Makerules (shlib.lds): Fail if the linker script comes out empty.
42204 * elf/Makefile ($(objpfx)ld.so): Likewise.
42206 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
42207 Don't list ld.so twice in dependencies.
42209 * posix/bug-regex31.c: Include <stdlib.h>.
42211 * nscd/hstcache.c (cache_addhst): Remove unused variable.
42213 * nis/nss_compat/compat-spwd.c
42214 (getspent_next_nss_netgr): Remove unused variable.
42215 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
42217 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
42218 nonmembers" output to use the right array.
42220 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
42222 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
42224 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
42225 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
42226 * catgets/gencat.c (read_input_file): Likewise.
42227 * locale/programs/locarchive.c (enlarge_archive): Likewise.
42229 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
42230 variable definition inside #if's controlling its use.
42232 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
42234 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
42236 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
42238 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
42241 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
42243 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
42244 * configure: Regenerated.
42246 * Makerules: Revert last change.
42247 * elf/Makefile: Likewise.
42249 2011-06-09 Roland McGrath <roland@hack.frob.com>
42251 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
42252 * elf/Makefile ($(objpfx)librtld.os): Likewise.
42253 (reloc-link): Likewise.
42255 2011-06-09 Ulrich Drepper <drepper@gmail.com>
42257 * elf/Makefile: Add rules to build pldd.
42258 * elf/pldd.c: New file.
42259 * elf/pldd-xx.c: New file.
42261 2011-06-07 Ulrich Drepper <drepper@gmail.com>
42263 * version.h: Update for 2.15 development version.
42265 2011-06-07 David S. Miller <davem@davemloft.net>
42267 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
42269 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
42270 elf_machine_lazy_rel): Likewise.
42271 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
42272 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
42273 elf_machine_lazy_rel): Likewise.
42274 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
42275 dl_hwcap via passed in argument.
42276 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
42279 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42281 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
42283 2011-06-06 Roland McGrath <roland@hack.frob.com>
42286 * manual/fdl-1.1.texi: New file, verbatim from:
42287 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
42288 * manual/lgpl-2.1.texi: New file, verbatim from:
42289 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
42290 * manual/Makefile (licenses): New variable, list those new file names.
42292 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
42294 * manual/fdl.texi: File removed.
42295 * manual/lesser.texi: File removed.
42296 * manual/libc.texinfo (Copying, Documentation License):
42297 Use new @include file names, put @appendix directive before @include.
42299 2011-06-04 Jakub Jelinek <jakub@redhat.com>
42302 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
42303 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
42304 (mq_open): Add __NTH.
42306 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
42308 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42309 Assume Intel Core i3/i5/i7 processor if AVX is available.
42311 2011-05-31 Ulrich Drepper <drepper@gmail.com>
42313 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
42316 2011-05-31 Andreas Schwab <schwab@redhat.com>
42318 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
42319 memory. Use alloca_account. Fix memory leak when retrying.
42321 2011-05-31 Ulrich Drepper <drepper@gmail.com>
42323 * version.h (RELEASE): Bump for 2.14 release.
42324 * include/features.h (__GLIBC_MINOR__): Bump to 14.
42326 * config.make.in (RANLIB): Remove entry.
42328 2011-05-30 Ulrich Drepper <drepper@gmail.com>
42330 * po/Makefile (po-sed-cmd): Add ksh to extensions.
42331 (libc.pot): Work around missing support for .ksh extension in xgettext.
42334 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
42335 if both request failed.
42336 (send_dg): In case of server errors clear resplen or *resplen2.
42339 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
42340 when there are multiple maps.
42341 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
42342 (_dl_fini): Remove test here.
42344 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
42346 2011-05-29 Ulrich Drepper <drepper@gmail.com>
42349 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
42350 bit from old_res_options.
42351 (gaih_inet): Likewise.
42354 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
42357 * resolv/res_init.c (res_setoptions): Make the code more compact.
42360 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
42364 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
42366 * malloc/malloc.h: Mark malloc hook variables as deprecated.
42369 * malloc/malloc.h: Declare malloc hook variables as volatile.
42371 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
42375 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
42376 raise in the comment.
42377 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
42378 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
42379 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
42381 2011-05-28 Ulrich Drepper <drepper@gmail.com>
42384 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
42385 grow the buffers more if it already has to be sufficient.
42386 (build_wcs_upper_buffer): Likewise.
42387 * posix/regexec.c (check_matching): Likewise.
42388 (clean_state_log_if_needed): Likewise.
42389 (extend_buffers): Don't enlarge buffers beyond size of the input
42391 Patches mostly by Emil Wojak <emil@wojak.eu>.
42392 * posix/bug-regex32.c: New file.
42393 * posix/Makefile (tests): Add bug-regex32.
42395 * locale/findlocale.c (_nl_find_locale): Return right away if
42396 _nl_explode_name failed.
42397 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
42399 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
42401 * debug/xtrace.sh: Unify messages.
42402 * malloc/memusage.sh: Likewise.
42405 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
42406 time symbol from vDSO. Substitute with vsyscall if not available.
42407 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
42410 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
42411 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
42412 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
42413 Add sendmmsg and internal_sendmmsg.
42414 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
42415 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
42416 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
42418 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
42419 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
42420 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
42422 2011-05-27 Ulrich Drepper <drepper@gmail.com>
42425 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
42426 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
42428 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
42432 * iconvdata/Makefile (tests): Add bug-iconv9.
42433 * iconvdata/bug-iconv9.c: New file.
42435 2011-05-27 Andreas Schwab <schwab@redhat.com>
42438 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
42440 2011-05-25 Jakub Jelinek <jakub@redhat.com>
42442 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
42443 (struct user_regs_struct): Change intcs field back to cs.
42445 2011-05-25 Ulrich Drepper <drepper@gmail.com>
42447 * po/ja.po: Update from translation team.
42449 2011-05-23 Ulrich Drepper <drepper@gmail.com>
42452 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
42453 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
42455 2011-05-20 Andreas Schwab <schwab@redhat.com>
42457 * stdlib/longlong.h: Update from GCC.
42459 2011-05-23 Andreas Schwab <schwab@redhat.com>
42461 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
42463 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
42464 Add parameter name.
42465 (__sysconf): Pass it down.
42467 2011-05-22 Ulrich Drepper <drepper@gmail.com>
42470 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
42472 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
42473 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
42474 add in in __libc_use_alloca calls. Adjust callers.
42475 (glob): Use malloc in some situations.
42477 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
42478 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
42481 2011-05-21 Ulrich Drepper <drepper@gmail.com>
42483 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
42484 and CLOCK_BOOTTIME_ALARM.
42487 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
42490 * string/_strerror.c (__strerror_r): Print negative errors as signed
42494 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
42495 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
42496 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
42498 * configure.in: Fix typo in redirection and correct removal of test
42499 files in two cases.
42502 * locale/setlocale.c (new_composite_name): Fix test to check for
42503 identical name of all categories.
42506 * libio/filedoalloc.c (local_isatty): New function.
42507 (_IO_file_doallocate): Use local_isatty.
42508 * stdio-common/perror.c (perror): In case a new stream is used
42509 forward the stream error.
42510 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
42513 2011-05-20 Ulrich Drepper <drepper@gmail.com>
42516 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
42518 * include/alloca.h (extend_alloca_account): Define.
42521 * posix/regex.h: Fix comments with documentation of user-accessible
42522 fields after compilation and describe correct free'ing of pattern
42523 after re_compile_pattern.
42524 Patch by Reuben Thomas <rrt@sc3d.org>.
42526 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
42528 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
42529 and -mno-altivec to prevent the compiler from using Altivec and/or
42530 VSX instructions when the corresponding registers are not available.
42532 2011-05-19 Andreas Schwab <schwab@redhat.com>
42534 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
42536 2011-05-19 Ulrich Drepper <drepper@gmail.com>
42538 * libio/freopen.c (freopen): Use __dup2, not dup2.
42539 * libio/freopen64.c (freopen64): Likewise.
42541 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
42544 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
42545 * math/Makefile (tests): Add test-powl.
42546 (CFLAGS-test-powl.c): Define.
42547 * math/test-powl.c: New file.
42549 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
42551 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
42553 2011-05-17 Ulrich Drepper <drepper@gmail.com>
42556 * iconvdata/gb18030.c: Update to GB18020-2005.
42558 2011-05-16 Ulrich Drepper <drepper@gmail.com>
42560 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
42561 RE_SYNTAX_POSIX_AWK): Update to match recent development.
42562 Patch by Aharon Robbins <arnold@skeeve.com>.
42565 * stdlib/putenv.c (putenv): Don't always create copy of the variable
42569 * misc/pselect.c (__pselect): Handle timeout value errors hidden
42570 through underflows.
42573 * misc/error.c (error_at_line): Ensure file_name and old_file_name
42574 point to strings before performing equality test for error_one_per_line
42578 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
42581 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
42582 (struct user_fpregs_struct): Avoid __uint*_t types.
42585 * malloc/mtrace.c (tr_where): Add additional parameter to point to
42586 symbol info. Use it instead of calling _dl_addr locally.
42587 (lock_and_info): New function.
42588 (tr_freehook): Call lock_and_info and pass symbol info as additional
42589 parameter to tr_where.
42590 (tr_mallochook): Likewise.
42591 (tr_reallochook): Likewise.
42592 (tr_memalignhook): Likewise.
42594 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
42595 used and couldn't be at all thread-safe.
42597 2011-05-15 Ulrich Drepper <drepper@gmail.com>
42599 * libio/freopen.c (freopen): Don't close old file descriptor
42600 before the new one is opened. Instead dup the new file descriptor
42601 to the old one after the new stream is created.
42602 * libio/freopen64.c (freopen64): Likewise.
42603 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
42604 * libio/fileops.c (_IO_new_file_close_it): Handle new
42605 _IO_FLAGS2_NOCLOSE flag.
42606 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
42607 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
42608 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
42609 _IO_FLAGS2_NOCLOSE flag.
42610 * include/unistd.h: Add hidden_proto for dup3.
42611 Define __have_dup3.
42612 * io/dup3.c: Define hidden symbol.
42613 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
42616 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
42617 when an incomplete long option is used.
42618 * posix/tst-getopt_long1.c: New file.
42619 * posix/Makefile (tests): Add tst-getopt_long1.
42622 * scripts/config.guess: Update from autoconf-2.68.
42623 * scripts/config.sub: Likewise.
42626 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
42628 (has_cpuclock): ...this. New function.
42629 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
42630 macro here based on has_cpuclock code.
42633 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42634 First byte (not low byte) is now always NUL.
42635 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
42637 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42638 Use non-cancelable interfaces.
42641 * locale/iso-639.def: Add entry for Sorani.
42644 * include/stdlib.h: Move include protection to the right place.
42645 Define abort_msg_s. Declare __abort_msg with it.
42646 * stdlib/abort.c (__abort_msg): Adjust type.
42647 * assert/assert.c (__assert_fail_base): New function. Majority
42648 of code from __assert_fail. Allocate memory for __abort_msg with
42650 (__assert_fail): Now call __assert_fail_base.
42651 * assert/assert-perr.c: Remove bulk of implementation. Use
42652 __assert_fail_base.
42653 * include/assert.hL Declare __assert_fail_base.
42654 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
42656 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
42658 2011-05-14 Ulrich Drepper <drepper@gmail.com>
42662 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
42663 until all modules are registered in the DTV.
42664 * elf/Makefile: Add rules to build and run tst-tls19.
42665 * elf/tst-tls19.c: New file.
42666 * elf/tst-tls19mod1.c: New file.
42667 * elf/tst-tls19mod2.c: New file.
42668 * elf/tst-tls19mod3.c: New file.
42669 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
42672 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
42676 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
42677 two-byte sequence errors.
42678 * iconvdata/Makefile (tests): Add bug-iconv8.
42679 * iconvdata/bug-iconv8.c: New file.
42682 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
42685 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
42688 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
42689 (dummy_getcfa): New function.
42690 (init): Get _Unwind_GetCFA address, use dummy if not found.
42691 (backtrace_helper): In recursion check, also check whether CFA changes.
42692 (__backtrace): Completely initialize arg.
42694 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
42695 storing incomplete byte sequence in state object. Avoid testing for
42696 guaranteed too small input if we know there is enough data available.
42698 2011-05-11 Andreas Schwab <schwab@redhat.com>
42700 * Makeconfig (+link-pie): Indent.
42701 * Rules (binaries-pie): Define if $(have-fpie) and
42703 (binaries-shared): Also filter out $(binaries-pie).
42704 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
42705 * nscd/Makefile (others-pie): Add nscd.
42706 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
42707 ($(objpfx)nscd): Remove command override.
42708 * login/Makefile (others-pie): Add pt_chown.
42709 ($(objpfx)pt_chown): Remove command override.
42710 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
42711 remove command overrides.
42713 2011-05-13 Ulrich Drepper <drepper@gmail.com>
42715 * libio/tst_putwc.c: Fix error messages.
42718 * libio/fileops.c (_IO_new_file_close_it): Always flush when
42719 currently writing and seek to current position when not.
42720 * libio/Makefile (tests): Add bug-fclose1.
42721 * libio/bug-fclose1.c: New file.
42723 2011-05-12 Ulrich Drepper <drepper@gmail.com>
42726 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
42727 don't set DF_1_NODELETE here.
42728 (do_lookup_x): When entering new entry test for copy relocation
42729 and if necessary set DF_1_NODELETE flag.
42730 * elf/tst-unique4.cc: New file.
42731 * elf/tst-unique4.h: New file.
42732 * elf/tst-unique4lib.cc: New file.
42733 * elf/Makefile: Add rules to build and run tst-unique4.
42734 Patch by Piotr Bury <pbury@goahead.com>.
42736 2011-05-11 Ulrich Drepper <drepper@gmail.com>
42739 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
42742 * misc/mntent_r.c (addmntent): Flush the stream after the output
42745 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
42746 (is_trusted_path_normalize): Skip initial colon. Append slash
42747 to empty buffer. Duplicate is_trusted_path code but allow
42748 constructed patch to be prefix.
42749 (is_dst): Allow $ORIGIN followed by /.
42750 (_dl_dst_substitute): Correct clearing of check_for_trusted.
42751 Correct testing of result of is_trusted_path_normalize
42752 (decompose_rpath): Fix warning.
42754 2011-05-10 Ulrich Drepper <drepper@gmail.com>
42757 * grp/initgroups.c (internal_getgrouplist): When we found the service
42758 list through the initgroups entry in nsswitch.conf do not always
42759 continue on a successful lookup. Don't always use the
42760 __nss_group_database value if it is set.
42761 * nss/nsswitch.conf (initgroups): Change action for successful db
42762 lookup to continue for compatibility.
42764 2011-05-09 Ulrich Drepper <drepper@gmail.com>
42767 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
42769 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
42771 * iconvdata/tst-tables.sh: Likewise.
42772 * iconvdata/cp770.c: New file.
42773 * iconvdata/cp771.c: New file.
42774 * iconvdata/cp772.c: New file.
42775 * iconvdata/cp773.c: New file.
42776 * iconvdata/cp774.c: New file.
42777 * iconvdata/testdata/CP770: New file.
42778 * iconvdata/testdata/CP770..UTF8: New file.
42779 * iconvdata/testdata/CP771: New file.
42780 * iconvdata/testdata/CP771..UTF8: New file.
42781 * iconvdata/testdata/CP772: New file.
42782 * iconvdata/testdata/CP772..UTF8: New file.
42783 * iconvdata/testdata/CP773: New file.
42784 * iconvdata/testdata/CP773..UTF8: New file.
42785 * iconvdata/testdata/CP774: New file.
42786 * iconvdata/testdata/CP774..UTF8: New file.
42788 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
42790 * iconvdata/gen-8bit-gap.sh: Likewise.
42791 * iconvdata/gen-8bit.sh: Likewise.
42793 * locale/iso-639.def: Add ary entry.
42796 * locale/C-translit.h.in: Add U20A1 transliteration.
42799 * locale/iso-639.def: Add wae entry.
42800 Patch by Kevin Bortis <bortis@translate-wae.ch>.
42803 * locale/programs/localedef.c (construct_output_path): Use ssize_t
42807 * locale/C-translit.h.in: Add entry for U20B9.
42808 Patch by pravin.d.s@gmail.com.
42810 2011-05-08 Ulrich Drepper <drepper@gmail.com>
42813 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
42814 ENAMETOOLONG use generic getcwd.
42815 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
42816 in rtld. Use *stat64.
42817 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
42818 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
42819 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
42820 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
42821 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
42822 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
42823 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
42824 __fstatat64 macros.
42825 * include/dirent.h: Add libc_hidden_proto for rewinddir.
42826 * dirent/rewinddir.c: Add libc_hidden_def.
42827 * sysdeps/mach/hurd/rewinddir.c: Likewise.
42828 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
42830 * include/dirent.h (__alloc_dir): Add flags parameter.
42831 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
42832 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
42834 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
42835 from fdopendir if O_CLOEXEC is already set.
42837 2011-03-15 Alan Modra <amodra@gmail.com>
42839 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
42840 l_tls_firstbyte_offset non-zero. Save padding offset in
42841 l_tls_firstbyte_offset for later use.
42842 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
42843 freeing static tls block.
42845 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
42847 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
42848 where #ifdef was intended. The intent is to prevent ARG_MAX from
42849 being defined by the kernel headers.
42851 2011-05-07 Ulrich Drepper <drepper@gmail.com>
42854 * resolv/resolv.h: Define RES_NOTLDQUERY.
42855 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
42856 no-tld-query and set RES_NOTLDQUERY.
42857 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
42858 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
42859 modern BIND to search name as TLD unless forbidden.
42861 2011-05-07 Petr Baudis <pasky@suse.cz>
42862 Ulrich Drepper <drepper@gmail.com>
42865 * elf/dl-load.c (fillin_rpath): Move trusted path check...
42866 (is_trusted_path): ...to here.
42867 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
42868 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
42869 using is_trusted_path_normalize() in setuid scripts.
42871 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
42873 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
42874 __BEGIN/__END_DECLS.
42876 2011-05-06 Ulrich Drepper <drepper@gmail.com>
42878 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
42879 NSS_STATUS_NOTFOUND if no record was found.
42881 2011-05-05 Andreas Schwab <schwab@redhat.com>
42883 * sunrpc/Makefile (headers): Add rpc/netdb.h.
42884 (headers-not-in-tirpc): Remove rpc/netdb.h
42885 * resolv/netdb.h: Revert last change.
42887 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
42889 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
42890 circular dependency between libgcc.a and libc.a.
42892 2011-05-05 Andreas Schwab <schwab@redhat.com>
42894 * resolv/netdb.h: Don't include <rpc/netdb.h>.
42895 * nis/Makefile: Don't install rpcsvc/*.
42896 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
42897 instead of <rpc/types.h>.
42898 (MAXHOSTNAMELEN): Define.
42900 2011-05-03 Andreas Schwab <schwab@redhat.com>
42902 * elf/ldconfig.c (add_dir): Don't crash on empty path.
42904 2011-04-28 Maciej Babinski <mbabinski@google.com>
42907 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
42908 gethostbyname4_r when IPv6 results are possible.
42910 2011-05-02 Ulrich Drepper <drepper@gmail.com>
42913 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
42914 _PC_PIPE_BUF handling.
42916 2011-04-30 Bruno Haible <bruno@clisp.org>
42919 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
42920 * resolv/netdb.h (getnameinfo): Change type of flags parameter
42922 * inet/getnameinfo.c (getnameinfo): Likewise.
42924 2011-04-29 Ulrich Drepper <drepper@gmail.com>
42926 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
42927 to groups setting in database lookup.
42928 * nss/nsswitch.conf: Add initgroups entry.
42930 2011-04-22 Ulrich Drepper <drepper@gmail.com>
42933 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
42935 Patch by Eric Blake <eblake@redhat.com>.
42937 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
42939 * sunrpc/Makefile (need-export-routines): Add svc_run.
42940 (routines): Remove svc_run.
42941 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
42942 * sunrpc/clnt_perr.c (clnt_perrno): Export.
42943 * sunrpc/svc_run.c (svc_run): Likewise.
42944 * sunrpc/svc_udp.c (svcudp_create): Likewise.
42946 2011-04-21 Ulrich Drepper <drepper@gmail.com>
42948 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
42949 problem in reallocation in last patch.
42951 2011-04-20 Ulrich Drepper <drepper@gmail.com>
42953 * sunrpc/Makefile: Move inclusion of Rules.
42955 2011-04-19 Ulrich Drepper <drepper@gmail.com>
42957 * nss/nss_files/files-initgroups.c: New file.
42958 * nss/Makefile (libnss_files-routines): Add files-initgroups.
42959 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
42960 _nss_files_initgroups_dyn.
42962 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
42964 * elf/elf.h (R_ARM_IRELATIVE): Define.
42966 2011-04-19 Ulrich Drepper <drepper@gmail.com>
42968 * po/ru.po: Update from translation team.
42970 2011-04-17 Ulrich Drepper <drepper@gmail.com>
42972 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
42975 2011-02-06 Mike Frysinger <vapier@gentoo.org>
42978 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
42979 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
42980 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
42981 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
42982 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
42984 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
42986 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
42988 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
42989 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
42990 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
42992 2011-04-17 Ulrich Drepper <drepper@gmail.com>
42995 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
42997 * stdlib/bug-getcontext.c: New file.
42998 * stdlib/Makefile: Add rules to build and run bug-getcontext.
43000 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43002 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
43003 instructions into .machine "z9-109".
43004 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
43005 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
43007 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43009 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
43010 between environment variables and auxiliary vector.
43012 2011-04-16 Ulrich Drepper <drepper@gmail.com>
43014 * Makefile: Add rules to build linkobj/libc.so.
43015 * include/libc-symbols.h: Define libc_hidden_nolink.
43016 * include/rpc/auth.h: Mark functions which are to be hidden.
43017 * include/rpc/auth_des.h: Likewise.
43018 * include/rpc/auth_unix.h: Likewise.
43019 * include/rpc/clnt.h: Likewise.
43020 * include/rpc/des_crypt.h: Likewise.
43021 * include/rpc/key_prot.h: Likewise.
43022 * include/rpc/pmap_clnt.h: Likewise.
43023 * include/rpc/pmap_prot.h: Likewise.
43024 * include/rpc/pmap_rmt.h: Likewise.
43025 * include/rpc/rpc_msg.h: Likewise.
43026 * include/rpc/svc.h: Likewise.
43027 * include/rpc/svc_auth.h: Likewise.
43028 * include/rpc/xdr.h: Likewise.
43029 * nis/Makefile: Link all DSOs against linkobj/libc.so.
43030 * nss/Makefile: Likewise.
43031 * sunrpc/Makefile: Don't install headers. Build library with normal
43032 entry points. Don't build rpcinfo. Link RPC tests appropriately.
43033 * sunrpc/auth_des.c: Hide exported symbols by default, export some
43034 for the compat linking library. Remove use of INTDEF/INTUSE.
43035 * sunrpc/auth_none.c: Likewise.
43036 * sunrpc/auth_unix.c: Likewise.
43037 * sunrpc/authdes_prot.c: Likewise.
43038 * sunrpc/authuxprot.c: Likewise.
43039 * sunrpc/clnt_gen.c: Likewise.
43040 * sunrpc/clnt_perr.c: Likewise.
43041 * sunrpc/clnt_raw.c: Likewise.
43042 * sunrpc/clnt_simp.c: Likewise.
43043 * sunrpc/clnt_tcp.c: Likewise.
43044 * sunrpc/clnt_udp.c: Likewise.
43045 * sunrpc/clnt_unix.c: Likewise.
43046 * sunrpc/des_crypt.c: Likewise.
43047 * sunrpc/des_soft.c: Likewise.
43048 * sunrpc/get_myaddr.c: Likewise.
43049 * sunrpc/key_call.c: Likewise.
43050 * sunrpc/key_prot.c: Likewise.
43051 * sunrpc/netname.c: Likewise.
43052 * sunrpc/pm_getmaps.c: Likewise.
43053 * sunrpc/pm_getport.c: Likewise.
43054 * sunrpc/pmap_clnt.c: Likewise.
43055 * sunrpc/pmap_prot.c: Likewise.
43056 * sunrpc/pmap_prot2.c: Likewise.
43057 * sunrpc/pmap_rmt.c: Likewise.
43058 * sunrpc/publickey.c: Likewise.
43059 * sunrpc/rpc_cmsg.c: Likewise.
43060 * sunrpc/rpc_common.c: Likewise.
43061 * sunrpc/rpc_dtable.c: Likewise.
43062 * sunrpc/rpc_prot.c: Likewise.
43063 * sunrpc/rpc_thread.c: Likewise.
43064 * sunrpc/rtime.c: Likewise.
43065 * sunrpc/svc.c: Likewise.
43066 * sunrpc/svc_auth.c: Likewise.
43067 * sunrpc/svc_authux.c: Likewise.
43068 * sunrpc/svc_raw.c: Likewise.
43069 * sunrpc/svc_run.c: Likewise.
43070 * sunrpc/svc_simple.c: Likewise.
43071 * sunrpc/svc_tcp.c: Likewise.
43072 * sunrpc/svc_udp.c: Likewise.
43073 * sunrpc/svc_unix.c: Likewise.
43074 * sunrpc/svcauth_des.c: Likewise.
43075 * sunrpc/xcrypt.c: Likewise.
43076 * sunrpc/xdr.c: Likewise.
43077 * sunrpc/xdr_array.c: Likewise.
43078 * sunrpc/xdr_float.c: Likewise.
43079 * sunrpc/xdr_intXX_t.c: Likewise.
43080 * sunrpc/xdr_mem.c: Likewise.
43081 * sunrpc/xdr_rec.c: Likewise.
43082 * sunrpc/xdr_ref.c: Likewise.
43083 * sunrpc/xdr_sizeof.c: Likewise.
43084 * sunrpc/xdr_stdio.c: Likewise.
43086 2011-04-10 Ulrich Drepper <drepper@gmail.com>
43089 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
43090 * sysdeps/ia64/dl-tls.h: Likewise.
43091 * sysdeps/powerpc/dl-tls.h: Likewise.
43092 * sysdeps/s390/dl-tls.h: Likewise.
43093 * sysdeps/sh/dl-tls.h: Likewise.
43094 * sysdeps/sparc/dl-tls.h: Likewise.
43095 * sysdeps/x86_64/dl-tls.h: Likewise.
43096 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
43098 2011-03-14 Andreas Schwab <schwab@redhat.com>
43100 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
43101 rpath element also skip the following colon.
43102 (expand_dynamic_string_token): Add is_path parameter and pass
43103 down to DL_DST_REQUIRED and _dl_dst_substitute.
43104 (decompose_rpath): Call expand_dynamic_string_token with
43105 non-zero is_path. Ignore empty rpaths.
43106 (_dl_map_object_from_fd): Call expand_dynamic_string_token
43109 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
43111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
43114 2011-04-09 Ulrich Drepper <drepper@gmail.com>
43117 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
43118 Patch by Filipe David Manana <fdmanana@apache.org>.
43120 2011-04-07 Andreas Schwab <schwab@redhat.com>
43122 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
43123 Maintain aligned stack.
43124 (CHECK_RSP): Remove unused macro.
43126 2011-04-03 Ulrich Drepper <drepper@gmail.com>
43128 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
43129 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
43131 2011-04-02 Ulrich Drepper <drepper@gmail.com>
43133 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
43135 * include/features.h: Mention __USE_XOPEN2K8 in comment.
43137 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
43140 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
43141 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
43142 * sysdeps/x86_64/memmove.c: New file.
43143 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
43144 (memcpy): Renamed to ...
43145 (__new_memcpy): This.
43146 (memcpy): Provide GLIBC_2_14 memcpy.
43147 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
43148 (memcpy): Provide GLIBC_2_2_5 memcpy.
43150 2011-04-01 Ulrich Drepper <drepper@gmail.com>
43153 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
43155 2011-03-30 Andreas Schwab <schwab@redhat.com>
43157 * misc/syncfs.c: New file.
43158 * misc/Makefile (routines): Add syncfs.
43159 * posix/unistd.h: Declare syncfs.
43160 * sysdeps/unix/syscalls.list: Add syncfs.
43162 2011-04-01 Andreas Schwab <schwab@redhat.com>
43164 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
43166 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
43167 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
43168 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43169 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43170 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43171 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
43172 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43174 2011-04-01 Ulrich Drepper <drepper@gmail.com>
43176 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
43177 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
43178 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
43179 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43180 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43181 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43182 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43184 * io/Makefile: Compile fallocate.c, fallocate64.c, and
43185 sync_file_range.c with -fexceptions.
43186 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
43187 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
43188 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
43189 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
43190 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
43191 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
43192 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
43193 sync_file_range as cancellation point
43194 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
43195 now a wrapper around __call_sync_file_range with cancellation handling.
43196 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
43197 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
43198 function name to __call_sync_file_range.
43199 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
43200 Add call_sync_file_range.
43202 2011-04-01 Andreas Schwab <schwab@redhat.com>
43204 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43207 2011-04-01 Ulrich Drepper <drepper@gmail.com>
43209 * iconv/iconv.h: Fix typo in comment.
43210 * io/fcntl.h: Likewise.
43211 * libio/stdio.h: Likewise.
43212 * posix/spawn.h: Likewise.
43213 * posix/unistd.h: Likewise.
43214 * stdlib/stdlib.h: Likewise.
43215 * time/time.h: Likewise.
43216 * wcsmbs/wchar.h: Likewise.
43218 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
43219 open_by_handle): Add.
43220 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
43221 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
43222 Augment a few comments.
43223 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
43224 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43225 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43226 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43227 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43228 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
43231 * io/fcntl.h (AT_EMPTY_PATH): Define.
43233 2011-03-30 Ulrich Drepper <drepper@gmail.com>
43235 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
43236 * sysdeps/unix/sysv/linux/bits/time.h: New file.
43237 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
43239 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
43240 * Versions.def: Add GLIBC_2.14.
43241 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
43244 2011-03-22 Ulrich Drepper <drepper@gmail.com>
43246 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
43248 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
43250 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
43253 * string/test-strncmp.c (do_page_test): New function.
43254 (check2): Likewise.
43255 (test_main): Call check2.
43256 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
43258 2011-03-20 Ulrich Drepper <drepper@gmail.com>
43261 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
43262 Handle cache information in CPU leaf 4.
43263 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
43265 2011-03-18 Ulrich Drepper <drepper@gmail.com>
43268 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
43269 character representation.
43270 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
43272 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
43274 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
43275 END(__isnan) to END(__isnanf) to match function entry point/label
43276 EALIGN(__isnanf,...).
43278 2011-03-10 Jakub Jelinek <jakub@redhat.com>
43280 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
43282 2011-03-10 Ulrich Drepper <drepper@gmail.com>
43285 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
43286 copy from the symbol referenced in the relocation to initialize the
43288 Patch by Piotr Bury <pbury@goahead.com>.
43289 * elf/Makefile: Add rules to build and tst-unique3.
43290 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
43291 * elf/tst-unique3.cc: New file.
43292 * elf/tst-unique3.h: New file.
43293 * elf/tst-unique3lib.cc: New file.
43294 * elf/tst-unique3lib2.cc: New file.
43296 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
43298 2011-03-10 Mike Frysinger <vapier@gentoo.org>
43300 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
43301 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
43304 2011-03-06 Ulrich Drepper <drepper@gmail.com>
43306 * elf/dl-load.c (_dl_map_object): If we are looking for the first
43307 to-be-loaded object along a path to loader is ld.so.
43309 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
43310 Ulrich Drepper <drepper@gmail.com>
43312 * sysdeps/x86_64/memset.S: After aligning destination, code
43313 branches to different locations depending on the value of
43314 misalignment, when multiarch is enabled. Fix this.
43316 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
43318 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
43319 Set _x86_64_preferred_memory_instruction for AMD processsors.
43320 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43321 Set bit_Prefer_SSE_for_memop for AMD processors.
43323 2011-03-04 Ulrich Drepper <drepper@gmail.com>
43325 * libio/fmemopen.c (fmemopen): Optimize a bit.
43327 2011-03-03 Andreas Schwab <schwab@redhat.com>
43329 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
43331 2011-03-03 Roland McGrath <roland@redhat.com>
43333 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
43335 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
43337 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
43338 __bzero_ultra1 instead of __memset_ultra1.
43340 2011-02-23 Andreas Schwab <schwab@redhat.com>
43341 Ulrich Drepper <drepper@gmail.com>
43344 * include/link.h (struct link_map): Add l_orig_initfini.
43345 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
43346 returning unsuccessfully.
43347 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
43348 close of a file loaded at startup, restore the original l_initfini
43350 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
43351 list, store the pointer.
43352 * elf/Makefile ($(objpfx)noload-mem): New rule.
43353 (noload-ENV): Define.
43354 (tests): Add $(objpfx)noload-mem.
43355 * elf/noload.c: Include <memcheck.h>.
43356 (main): Call mtrace. Close all opened handles.
43358 2011-02-17 Andreas Schwab <schwab@redhat.com>
43361 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
43362 dependencies are missing.
43364 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
43366 Fix __if_freereq crash: Unlike the generic version which uses free,
43368 * sysdeps/mach/hurd/ifreq.h: New file.
43370 2011-01-27 Petr Baudis <pasky@suse.cz>
43371 Ulrich Drepper <drepper@gmail.com>
43374 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
43375 to extend_alloca().
43376 * stdio-common/bug23.c: New file.
43377 * stdio-common/Makefile (tests): Add bug23.
43379 2010-09-28 Andreas Schwab <schwab@redhat.com>
43380 Ulrich Drepper <drepper@gmail.com>
43383 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
43384 before performing relro protection. At old place add assertion
43385 to make sure nothing changed.
43387 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
43388 Glauber de Oliveira Costa <glommer@gmail.com>
43390 * elf/elf.h: Add new ARM TLS relocs.
43392 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
43394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
43395 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
43397 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
43399 * sysdeps/wordsize-64/tst-writev.c: New file.
43401 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
43403 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
43404 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
43405 insns in _dl_start to prevent a TOC reference before relocs are
43408 2011-02-15 Ulrich Drepper <drepper@gmail.com>
43411 * Makeconfig: Remove RANLIB definition.
43412 * Makerules: Don't use RANLIB.
43413 * aclocal.m4: Remove ranlib test.
43414 * configure.in: No need to check for ranlib.
43415 * elf/rtld-Rules: Don't use RANLIB.
43417 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
43419 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
43421 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
43422 inclusion protection macro.
43424 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
43425 SIGRTMIN and SIGRTMAX and print information in that case only when
43426 SIGRTMIN is defined.
43428 2011-02-11 Jakub Jelinek <jakub@redhat.com>
43430 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
43431 arginfo fn returning -1.
43433 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
43434 and thousands string is zero terminated.
43436 2011-02-03 Andreas Schwab <schwab@redhat.com>
43438 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
43439 sysdeps/unix/sysv/linux/bits/socket.h.
43441 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
43443 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
43444 (__CPU_COUNT): Remove old macros.
43445 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
43446 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
43447 (__CPU_ALLOC, __CPU_FREE): Add macros.
43448 (__sched_cpualloc, __sched_cpufree): Add declarations.
43450 2011-02-05 Ulrich Drepper <drepper@gmail.com>
43452 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
43453 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
43454 * nscd/aicache.c (addhstaiX): Return timeout of added value.
43455 (readdhstai): Return value of addhstaiX call.
43456 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
43457 (addgrbyX): Return value returned by cache_addgr.
43458 (readdgrbyname): Return value returned by addgrbyX.
43459 (readdgrbygid): Likewise.
43460 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
43461 (addpwbyX): Return value returned by cache_addpw.
43462 (readdpwbyname): Return value returned by addhstbyX.
43463 (readdpwbyuid): Likewise.
43464 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
43465 (addservbyX): Return value returned by cache_addserv.
43466 (readdservbyname): Return value returned by addservbyX:
43467 (readdservbyport): Likewise.
43468 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
43469 (addhstbyX): Return value returned by cache_addhst.
43470 (readdhstbyname): Return value returned by addhstbyX.
43471 (readdhstbyaddr): Likewise.
43472 (readdhstbynamev6): Likewise.
43473 (readdhstbyaddrv6): Likewise.
43474 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
43475 (readdinitgroups): Return value returned by addinitgroupsX.
43476 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
43477 (prune_cache): Keep track of timeout value of re-added entries.
43478 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
43479 * nscd/nscd.h: Adjust prototypes of readd* functions.
43481 2011-02-04 Roland McGrath <roland@redhat.com>
43483 * nis/nis_server.c (nis_servstate): Use the right name for 0.
43484 (nis_stats): Likewise.
43485 * nis/nis_modify.c (nis_modify): Likewise.
43486 * nis/nis_remove.c (nis_remove): Likewise.
43487 * nis/nis_add.c (nis_add): Likewise.
43489 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
43491 * posix/fnmatch_loop.c: Add some consts.
43493 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
43495 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
43498 * config.make.in (config-cflags-novzeroupper): Define.
43499 * configure.in: Substitute libc_cv_cc_novzeroupper.
43500 * elf/Makefile (AVX-CFLAGS): Define.
43501 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
43502 (CFLAGS-tst-auditmod4a.c): Likewise.
43503 (CFLAGS-tst-auditmod4b.c): Likewise.
43504 (CFLAGS-tst-auditmod6b.c): Likewise.
43505 (CFLAGS-tst-auditmod6c.c): Likewise.
43506 (CFLAGS-tst-auditmod7b.c): Likewise.
43507 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
43509 2011-02-02 Ulrich Drepper <drepper@gmail.com>
43511 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
43512 function to the callback.
43513 Patch partly by Jiri Olsa <jolsa@redhat.com>.
43515 2011-02-02 Andreas Schwab <schwab@redhat.com>
43517 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
43520 2011-01-19 Ulrich Drepper <drepper@gmail.com>
43523 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
43525 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
43527 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
43530 * elf/Makefile: Add rules to build and run new test.
43531 * elf/tst-initorder.c: New file.
43532 * elf/tst-initorder.exp: New file.
43533 * elf/tst-initordera1.c: New file.
43534 * elf/tst-initordera2.c: New file.
43535 * elf/tst-initordera3.c: New file.
43536 * elf/tst-initordera4.c: New file.
43537 * elf/tst-initorderb1.c: New file.
43538 * elf/tst-initorderb2.c: New file.
43539 * elf/tst-order-a1.c: New file.
43540 * elf/tst-order-a2.c: New file.
43541 * elf/tst-order-a3.c: New file.
43542 * elf/tst-order-a4.c: New file.
43543 * elf/tst-order-b1.c: New file.
43544 * elf/tst-order-b2.c: New file.
43545 * elf/tst-order-main.c: New file.
43546 New test case by George Gensure <werkt0@gmail.com>.
43548 2010-10-01 Andreas Schwab <schwab@redhat.com>
43550 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
43551 decoding ACE if AI_CANONIDN.
43553 2011-01-18 Ulrich Drepper <drepper@gmail.com>
43555 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
43557 2011-01-17 Ulrich Drepper <drepper@gmail.com>
43559 * version.h (RELEASE): Bump for 2.13 release.
43560 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
43562 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
43564 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
43566 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
43567 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
43568 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
43569 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
43570 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
43571 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
43573 * posix/getconf.c: Update copyright year.
43574 * catgets/gencat.c: Likewise.
43575 * csu/version.c: Likewise.
43576 * debug/catchsegv.sh: Likewise.
43577 * debug/xtrace.sh: Likewise.
43578 * elf/ldconfig.c: Likewise.
43579 * elf/ldd.bash.in: Likewise.
43580 * elf/sprof.c (print_version): Likewise.
43581 * iconv/iconv_prog.c: Likewise.
43582 * iconv/iconvconfig.c: Likewise.
43583 * locale/programs/locale.c: Likewise.
43584 * locale/programs/localedef.c: Likewise.
43585 * malloc/memusage.sh: Likewise.
43586 * malloc/mtrace.pl: Likewise.
43587 * nscd/nscd.c (print_version): Likewise.
43588 * nss/getent.c: Likewise.
43590 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
43591 PF_CAIF, and PF_ALG.
43592 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43594 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
43596 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
43597 (modules-names): Use them.
43598 (ifunc-test-modules, ifunc-pie-tests): Define.
43599 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
43600 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
43601 (test-extras): Likewise.
43602 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
43603 $(compile-command.c).
43604 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
43605 (all-built-dso): Define.
43606 (check-textrel.out, check-execstack.out): Depend on it.
43608 * configure.in: Don't override --enable-multi-arch.
43610 2011-01-15 Ulrich Drepper <drepper@gmail.com>
43613 * nscd/hstcache.c (tryagain): Define.
43614 (cache_addhst): Return tryagain not notfound for temporary errors.
43615 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
43618 2011-01-14 Ulrich Drepper <drepper@gmail.com>
43621 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
43622 to make the syscall.
43623 * sysdeps/unix/sysv/linux/setgroups.c: New file.
43626 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
43627 and fall back to matching as normal character if the string ends before
43628 the matching ']' is found. This is what POSIX requires.
43629 * posix/testfnm.c: Adjust test result.
43630 * posix/globtest.sh: Adjust test result. Add new test.
43631 * posix/tst-fnmatch.input: Likewise.
43632 * posix/tst-fnmatch2.c: Add new test.
43634 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
43636 * elf/Makefile (check-execstack): Revert last change. Depend on
43638 (check-execstack.h): New target.
43639 (generated): Add check-execstack.h.
43640 * elf/check-execstack.c: Include "check-execstack.h".
43641 (main): Revert last change.
43642 (handle_file): Return zero if GNU_STACK is absent and
43643 DEFAULT_STACK_PERMS doesn't include PF_X.
43645 2011-01-13 Ulrich Drepper <drepper@gmail.com>
43647 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
43648 in child fails because the descriptor is already closed.
43649 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
43650 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
43651 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
43654 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
43658 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
43659 temporary buffer used to handle multi lookups locally.
43660 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
43662 2011-01-12 Ulrich Drepper <drepper@gmail.com>
43664 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
43667 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
43669 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
43670 alignment for SSE2.
43672 2011-01-12 Ulrich Drepper <drepper@gmail.com>
43675 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
43676 characters. When rounding increased number of integer digits recompute
43678 * stdio-common/tst-grouping.c: New file.
43679 * stdio-common/Makefile: Add rules to build and run tst-grouping.
43681 2011-01-09 Ulrich Drepper <drepper@gmail.com>
43683 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
43684 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
43686 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
43688 * bits/select.h: Likewise.
43690 2011-01-08 Ulrich Drepper <drepper@gmail.com>
43692 * po/ja.po: Update from translation team.
43694 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
43697 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
43698 implementation just like for lxstat, fxstatat, et al.
43700 2010-12-27 Jim Meyering <meyering@redhat.com>
43703 * posix/regexec.c (build_trtable): Return failure indication upon
43704 calloc failure. Otherwise, re_search_internal could infloop on OOM.
43706 2010-12-25 Ulrich Drepper <drepper@gmail.com>
43709 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
43710 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
43711 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
43712 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
43715 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
43718 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
43719 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
43721 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
43723 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
43724 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
43725 script has SORT_BY_INIT_PRIORITY.
43726 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
43727 NO_CTORS_DTORS_SECTIONS is defined.
43728 * elf/soinit.c: Likewise.
43729 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
43730 NO_CTORS_DTORS_SECTIONS is defined.
43731 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
43732 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
43733 * sysdeps/sh/init-first.c: Likewise.
43734 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
43736 2010-12-24 Ulrich Drepper <drepper@gmail.com>
43738 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
43739 always use the slow path.
43741 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
43743 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
43744 similar rule which adds the sysdep directories to the header search in
43745 order to pick up the correct platform stackinfo.h.
43746 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
43747 perform test if it is, otherwise return successfully without testing.
43748 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
43749 DEFAULT_STACK_PERMS define in stackinfo.h.
43750 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
43751 defined in stackinfo.h.
43752 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
43753 DEFAULT_STACK_PERMS defined in stackinfo.h.
43754 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
43755 * sysdeps/ia64/stackinfo.h: Likewise.
43756 * sysdeps/s390/stackinfo.h: Likewise.
43757 * sysdeps/sh/stackinfo.h: Likewise.
43758 * sysdeps/sparc/stackinfo.h: Likewise.
43759 * sysdeps/x86_64/stackinfo.h: Likewise.
43760 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
43761 PF_X for powerpc64. Retain PF_X for powerpc32.
43763 2010-12-19 Ulrich Drepper <drepper@gmail.com>
43765 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
43767 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
43768 GETDENTS_64BIT_ALIGNED.
43770 2010-12-14 Ulrich Drepper <dreper@gmail.com>
43772 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
43774 2010-12-10 Andreas Schwab <schwab@redhat.com>
43776 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
43779 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
43780 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
43782 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
43783 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
43785 2010-12-09 Ulrich Drepper <drepper@gmail.com>
43788 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
43791 2010-12-09 Jakub Jelinek <jakub@redhat.com>
43793 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
43795 2010-12-03 Ulrich Drepper <drepper@gmail.com>
43797 * po/it.po: Update from translation team.
43799 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
43801 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
43804 2010-11-30 Ulrich Drepper <drepper@gmail.com>
43806 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
43808 2010-11-24 Andreas Schwab <schwab@redhat.com>
43810 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
43812 (gaih_getanswer_slice): Likewise.
43814 2010-10-20 Jakub Jelinek <jakub@redhat.com>
43816 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
43818 2010-05-31 Petr Baudis <pasky@suse.cz>
43821 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
43822 silently even in the chroot mode.
43824 2010-11-22 Ulrich Drepper <drepper@gmail.com>
43826 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
43827 last patch a bit. Pretty printing
43829 2010-05-31 Petr Baudis <pasky@suse.cz>
43832 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
43833 initialization of skip_initgroups_dyn.
43835 2010-11-19 Ulrich Drepper <drepper@gmail.com>
43837 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
43838 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
43840 2010-11-16 Ulrich Drepper <drepper@gmail.com>
43842 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
43844 2010-11-11 Andreas Schwab <schwab@redhat.com>
43846 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
43847 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
43848 (tst-fnmatch-ENV): Set MALLOC_TRACE.
43849 ($(objpfx)tst-fnmatch-mem): New rule.
43850 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
43851 * posix/tst-fnmatch.c (main): Call mtrace.
43853 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
43855 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43856 Support Intel processor model 6 and model 0x2c.
43858 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
43860 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
43863 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
43866 * string/test-strncasecmp.c (check_result): New function.
43867 (do_one_test): Use it.
43868 (check1): New function.
43869 (test_main): Use it.
43870 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
43871 Support strcasecmp and strncasecmp.
43873 2010-11-08 Ulrich Drepper <drepper@gmail.com>
43876 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
43877 * sysdeps/x86_64/bits/byteswap.h: Likewise.
43879 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
43881 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
43883 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43885 * sysdeps/x86_64/multiarch/bzero.S: New file.
43886 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
43887 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
43888 * sysdeps/x86_64/multiarch/memset.S: New file.
43889 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
43890 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43891 Set bit_Prefer_SSE_for_memop for Intel processors.
43892 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
43894 (index_Prefer_SSE_for_memop): Define.
43895 (HAS_PREFER_SSE_FOR_MEMOP): Define.
43897 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
43899 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
43900 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
43902 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
43905 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
43906 (__x86_64_raw_data_cache_size_half): Likewise.
43907 (__x86_64_raw_shared_cache_size): Likewise.
43908 (__x86_64_raw_shared_cache_size_half): Likewise.
43910 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
43911 (__x86_64_raw_data_cache_size_half): Likewise.
43912 (__x86_64_raw_shared_cache_size): Likewise.
43913 (__x86_64_raw_shared_cache_size_half): Likewise.
43914 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
43915 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
43916 and __x86_64_raw_shared_cache_size_half. Round
43917 __x86_64_data_cache_size_half, __x86_64_data_cache_size
43918 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
43919 to multiple of 256 bytes.
43921 2010-11-03 Ulrich Drepper <drepper@gmail.com>
43924 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
43925 of inacessible symlinks. Verify result of symlink before returning it.
43926 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
43927 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
43929 2010-10-28 Erich Ritz <erichritz@gmail.com>
43931 * math/math.h (isinf): Fix typo in comment.
43933 2010-11-01 Ulrich Drepper <drepper@gmail.com>
43935 * po/da.po: Update from translation team.
43937 2010-10-26 Ulrich Drepper <drepper@gmail.com>
43939 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
43940 is added to the list.
43942 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43943 Ulrich Drepper <drepper@gmail.com>
43945 * elf/dl-object.c (_dl_new_object): Don't append the new object to
43946 the global list here. Move code to...
43947 (_dl_add_to_namespace_list): ...here. New function.
43948 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
43949 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
43950 * elf/dl-load.c (lose): Don't remove the element from the list.
43951 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
43952 (_dl_map_object): Likewise.
43954 2010-10-25 Ulrich Drepper <drepper@gmail.com>
43957 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
43958 into all bytes of SSE register.
43959 Patch by Richard Li <richardpku@gmail.com>.
43961 2010-10-24 Ulrich Drepper <drepper@gmail.com>
43964 * malloc/malloc.c (_int_free): Fill correct number of bytes when
43967 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
43969 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
43970 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
43971 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
43972 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
43973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
43975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
43977 2010-10-22 Andreas Schwab <schwab@redhat.com>
43979 * include/dlfcn.h (__RTLD_SECURE): Define.
43980 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
43981 mode & __RTLD_SECURE instead.
43982 (open_path): Rename preloaded parameter to secure.
43983 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
43984 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
43985 * elf/dl-deps.c (openaux): Likewise.
43986 * elf/rtld.c (struct map_args): Remove is_preloaded.
43987 (map_doit): Don't use it.
43988 (dl_main): Likewise.
43989 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
43990 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
43992 2010-09-09 Andreas Schwab <schwab@redhat.com>
43994 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
43995 (sysd-rules-targets): Remove duplicates.
43996 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
43997 rtld-%.$o dependency.
43999 2010-10-18 Andreas Schwab <schwab@redhat.com>
44001 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
44002 _dl_map_object do it.
44004 2010-10-19 Ulrich Drepper <drepper@gmail.com>
44006 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
44007 fast fma builtins, define the macros in the C99 standard.
44008 (FP_FAST_FMAF): Likewise.
44009 (FP_FAST_FMAL): Likewise.
44010 * sysdeps/x86_64/bits/mathdef.h: Likewise.
44012 * bits/mathdef.h: Update copyright year.
44013 * sysdeps/powerpc/bits/mathdef.h: Likewise.
44015 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
44017 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
44018 builtins, define the macros in the C99 standard.
44019 (FP_FAST_FMAF): Likewise.
44020 (FP_FAST_FMAL): Likewise.
44021 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
44023 (FP_FAST_FMAF): Likewise.
44025 2010-10-15 Jakub Jelinek <jakub@redhat.com>
44028 * math/libm-test.inc (fma_test): Some new testcases.
44029 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
44030 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
44031 y and infinite z. Do multiplication by C already in long double.
44032 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
44033 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
44034 y and infinite z. Do bitwise or of inexact bit into u.d.
44035 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
44036 * sysdeps/i386/fpu/s_fmaf.S: Removed.
44037 * sysdeps/i386/fpu/s_fma.S: Removed.
44038 * sysdeps/i386/fpu/s_fmal.S: Removed.
44040 2010-10-16 Jakub Jelinek <jakub@redhat.com>
44043 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
44044 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
44045 computation is not scheduled after fetestexcept. Fix value
44046 of minimum denormal long double.
44048 2010-10-14 Jakub Jelinek <jakub@redhat.com>
44051 * math/libm-test.inc (fma_test): Add some more tests.
44052 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
44055 2010-10-15 Andreas Schwab <schwab@redhat.com>
44057 * scripts/data/localplt-s390-linux-gnu.data: New file.
44058 * scripts/data/localplt-s390x-linux-gnu.data: New file.
44060 2010-10-13 Jakub Jelinek <jakub@redhat.com>
44063 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
44064 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
44066 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
44068 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
44069 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
44070 if one of x and y is very large and the other is subnormal.
44071 * sysdeps/s390/fpu/s_fmaf.c: New file.
44072 * sysdeps/s390/fpu/s_fma.c: New file.
44073 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
44074 * sysdeps/powerpc/fpu/s_fma.S: New file.
44075 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
44076 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
44077 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
44079 2010-10-12 Jakub Jelinek <jakub@redhat.com>
44082 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
44084 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
44085 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
44086 * sysdeps/i386/i686/multiarch/s_fma.c: Include
44087 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
44088 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
44089 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
44090 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
44092 2010-10-12 Ulrich Drepper <drepper@redhat.com>
44095 * posix/regcomp.c (parse_branch): One more memory leak plugged.
44096 * posix/bug-regex31.input: Add test case.
44098 2010-10-11 Ulrich Drepper <drepper@gmail.com>
44100 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
44101 * posix/bug-regex31.input: New file.
44104 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
44105 (parse_sub_exp): Fix last change, use postorder.
44107 * posix/bug-regex31.c: New file.
44108 * posix/Makefile: Add rules to build and run bug-regex31.
44110 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
44113 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
44116 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
44117 to have entries in sys_siglist.
44120 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
44123 2010-10-07 Jakub Jelinek <jakub@redhat.com>
44126 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
44127 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
44128 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
44129 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
44130 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
44131 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
44132 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
44133 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
44134 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
44135 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
44136 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
44137 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
44138 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
44139 * math/ftestexcept.c (fetestexcept): Likewise.
44140 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
44141 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
44142 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
44143 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
44144 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
44145 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
44146 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
44148 2010-10-11 Ulrich Drepper <drepper@gmail.com>
44151 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
44154 2010-10-06 Ulrich Drepper <drepper@gmail.com>
44156 * string/bug-strstr1.c: New file.
44157 * string/Makefile: Add rules to build and run bug-strstr1.
44159 2010-10-05 Eric Blake <eblake@redhat.com>
44162 * string/str-two-way.h (two_way_long_needle): Always clear memory
44163 when skipping input due to the shift table.
44165 2010-10-03 Ulrich Drepper <drepper@gmail.com>
44168 * malloc/mcheck.c: Handle large requests.
44171 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
44172 for strncmp and strncasecmp.
44173 * string/stratcliff.c: Add tests for strcmp and strncmp.
44174 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
44176 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44178 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
44181 2010-09-30 Andreas Jaeger <aj@suse.de>
44183 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
44184 (CGROUP_SUPER_MAGIC): Define.
44185 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44186 Handle btrfs and cgroup file systems.
44187 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
44190 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
44192 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
44193 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
44195 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44198 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
44199 trying to locate the ELF header.
44201 2010-09-27 Andreas Schwab <schwab@redhat.com>
44204 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
44205 Mask out sign-bit copies when constructing f_fsid.
44207 2010-09-24 Petr Baudis <pasky@suse.cz>
44209 * debug/stack_chk_fail_local.c: Add missing licence exception.
44210 * debug/warning-nop.c: Likewise.
44212 2010-09-15 Joseph Myers <joseph@codesourcery.com>
44214 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
44215 implementing getdents64 using getdents syscall, set d_type if
44216 __ASSUME_GETDENTS32_D_TYPE.
44218 2010-09-16 Andreas Schwab <schwab@redhat.com>
44220 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
44221 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
44223 2010-09-21 Ulrich Drepper <drepper@redhat.com>
44226 * posix/unistd.h: Undo change of feature selection for ftruncate from
44229 2010-09-20 Ulrich Drepper <drepper@redhat.com>
44231 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
44234 2010-09-20 Andreas Schwab <schwab@redhat.com>
44236 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
44238 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
44240 2010-09-14 Andreas Schwab <schwab@redhat.com>
44242 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
44243 variables after CHECK_SP call.
44244 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
44246 2010-09-13 Andreas Schwab <schwab@redhat.com>
44247 Ulrich Drepper <drepper@redhat.com>
44249 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
44250 re-relocationg ld.so.
44251 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
44252 _dl_init_paths call.
44253 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
44256 2010-09-14 Ulrich Drepper <drepper@redhat.com>
44258 * resolv/res_init.c (__res_vinit): Count the default server we added.
44260 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
44261 Ulrich Drepper <drepper@redhat.com>
44264 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
44265 (____longjmp_chk): Use %ebx for saving value across system call.
44268 2010-09-06 Andreas Schwab <schwab@redhat.com>
44270 * manual/Makefile: Don't mix pattern rules with normal rules.
44272 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
44274 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
44276 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
44277 * libio/iofopncook.c (_IO_cookie_init): Likewise.
44278 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
44279 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
44280 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44283 2010-09-04 Ulrich Drepper <drepper@redhat.com>
44286 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
44287 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
44289 2010-09-02 Ulrich Drepper <drepper@redhat.com>
44291 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
44292 * sysdeps/x86_64/addmul_1.S: Likewise.
44293 * sysdeps/x86_64/lshift.S: Likewise.
44294 * sysdeps/x86_64/mul_1.S: Likewise.
44295 * sysdeps/x86_64/rshift.S: Likewise.
44296 * sysdeps/x86_64/sub_n.S: Likewise.
44297 * sysdeps/x86_64/submul_1.S: Likewise.
44299 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
44301 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
44302 Define __sched_param instead of SCHED_* and sched_param when
44303 <bits/sched.h> is included with __need_schedparam defined.
44304 * bits/sched.h [__need_schedparam]
44305 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
44306 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
44307 (__defined_schedparam): Define to 1.
44308 (__sched_param): New structure, identical to sched_param.
44309 (__need_schedparam): Undefine.
44311 2010-08-31 Mike Frysinger <vapier@gentoo.org>
44313 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
44314 (epoll_create1): Declare.
44316 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
44318 2010-08-31 Andreas Schwab <schwab@redhat.com>
44321 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
44322 shifting retval into place.
44324 2010-09-01 Ulrich Drepper <drepper@redhat.com>
44326 * nis/rpcsvc/nis.h: Update copyright notice.
44327 * nis/rpcsvc/nis.x: Likewise.
44328 * nis/rpcsvc/nis_callback.h: Likewise.
44329 * nis/rpcsvc/nis_callback.x: Likewise.
44330 * nis/rpcsvc/nis_object.x: Likewise.
44331 * nis/rpcsvc/nis_tags.h: Likewise.
44332 * nis/rpcsvc/yp.h: Likewise.
44333 * nis/rpcsvc/yp.x: Likewise.
44334 * nis/rpcsvc/ypupd.h: Likewise.
44335 * nis/yp_xdr.c: Likewise.
44336 * nis/ypupdate_xdr.c: Likewise.
44338 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
44339 mainly the body of pmap_getport. Add parameters to specify timeouts.
44340 (pmap_getport): Use __libc_rpc_getport.
44341 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
44342 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
44343 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
44345 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
44347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
44350 2010-08-27 Roland McGrath <roland@redhat.com>
44352 * sysdeps/i386/i686/multiarch/Makefile
44353 (CFLAGS-varshift.c): New variable.
44355 2010-08-27 Ulrich Drepper <drepper@redhat.com>
44357 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
44358 * sysdeps/i386/i686/multiarch/varshift.c: New file.
44360 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
44362 * sysdeps/x86_64/strlen.S: Minimal code improvement.
44364 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
44366 * sysdeps/x86_64/strlen.S: Unroll the loop.
44367 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44368 strlen-sse2 strlen-sse2-bsf.
44369 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
44370 __strlen_no_bsf if bit_Slow_BSF is set.
44371 (__strlen_sse42): Removed.
44372 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
44373 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
44375 2010-08-25 Roland McGrath <roland@redhat.com>
44377 * sysdeps/x86_64/multiarch/varshift.S: File removed.
44378 * sysdeps/x86_64/multiarch/varshift.c: New file.
44379 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
44380 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
44381 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
44382 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
44384 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
44386 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44387 strlen-sse2 strlen-sse2-bsf.
44388 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
44389 __strlen_sse2_bsf if bit_Slow_BSF is unset.
44390 (__strlen_sse2): Removed.
44391 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
44392 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
44393 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
44394 bit_Slow_BSF for Atom.
44395 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
44396 (index_Slow_BSF): Define.
44397 (HAS_SLOW_BSF): Define.
44399 2010-08-25 Ulrich Drepper <drepper@redhat.com>
44402 * resolv/res_init.c (__res_vinit): When no server address at all
44403 is given default to loopback.
44405 2010-08-24 Roland McGrath <roland@redhat.com>
44407 * configure.in: Remove config-name.h generation.
44408 * configure: Regenerated.
44409 * config-name.in: File removed.
44410 * scripts/config-uname.sh: New file.
44411 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
44412 ($(objdir)config-name.h): New target.
44414 * sunrpc/rpc_parse.h: Avoid nested comment.
44416 2010-08-24 Richard Henderson <rth@redhat.com>
44417 Ulrich Drepper <drepper@redhat.com>
44418 H.J. Lu <hongjiu.lu@intel.com>
44420 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
44421 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
44422 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
44423 Replace _mm_srli_si128 with __m128i_shift_right. Replace
44424 _mm_alignr_epi8 with _mm_loadu_si128.
44425 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
44426 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
44427 (__m128i_shift_right): Removed.
44428 * sysdeps/i386/i686/multiarch/varshift.h: New file.
44429 * sysdeps/i386/i686/multiarch/varshift.S: New file.
44430 * sysdeps/x86_64/multiarch/varshift.h: New file.
44431 * sysdeps/x86_64/multiarch/varshift.S: New file.
44433 2010-08-21 Mike Frysinger <vapier@gentoo.org>
44435 * configure.in: Move assembler checks to before sysdep dir checking.
44437 2010-08-20 Petr Baudis <pasky@suse.cz>
44439 * LICENSES: Sync the sunrpc license.
44441 2010-08-19 Ulrich Drepper <drepper@redhat.com>
44443 * sunrpc/auth_des.c: Update copyright notice once again.
44444 * sunrpc/auth_none.c: Likewise.
44445 * sunrpc/auth_unix.c: Likewise.
44446 * sunrpc/authdes_prot.c: Likewise.
44447 * sunrpc/authuxprot.c: Likewise.
44448 * sunrpc/bindrsvprt.c: Likewise.
44449 * sunrpc/clnt_gen.c: Likewise.
44450 * sunrpc/clnt_perr.c: Likewise.
44451 * sunrpc/clnt_raw.c: Likewise.
44452 * sunrpc/clnt_simp.c: Likewise.
44453 * sunrpc/clnt_tcp.c: Likewise.
44454 * sunrpc/clnt_udp.c: Likewise.
44455 * sunrpc/clnt_unix.c: Likewise.
44456 * sunrpc/des_crypt.c: Likewise.
44457 * sunrpc/des_soft.c: Likewise.
44458 * sunrpc/get_myaddr.c: Likewise.
44459 * sunrpc/getrpcport.c: Likewise.
44460 * sunrpc/key_call.c: Likewise.
44461 * sunrpc/key_prot.c: Likewise.
44462 * sunrpc/openchild.c: Likewise.
44463 * sunrpc/pm_getmaps.c: Likewise.
44464 * sunrpc/pm_getport.c: Likewise.
44465 * sunrpc/pmap_clnt.c: Likewise.
44466 * sunrpc/pmap_prot.c: Likewise.
44467 * sunrpc/pmap_prot2.c: Likewise.
44468 * sunrpc/pmap_rmt.c: Likewise.
44469 * sunrpc/rpc/auth.h: Likewise.
44470 * sunrpc/rpc/auth_unix.h: Likewise.
44471 * sunrpc/rpc/clnt.h: Likewise.
44472 * sunrpc/rpc/des_crypt.h: Likewise.
44473 * sunrpc/rpc/key_prot.h: Likewise.
44474 * sunrpc/rpc/netdb.h: Likewise.
44475 * sunrpc/rpc/pmap_clnt.h: Likewise.
44476 * sunrpc/rpc/pmap_prot.h: Likewise.
44477 * sunrpc/rpc/pmap_rmt.h: Likewise.
44478 * sunrpc/rpc/rpc.h: Likewise.
44479 * sunrpc/rpc/rpc_des.h: Likewise.
44480 * sunrpc/rpc/rpc_msg.h: Likewise.
44481 * sunrpc/rpc/svc.h: Likewise.
44482 * sunrpc/rpc/svc_auth.h: Likewise.
44483 * sunrpc/rpc/types.h: Likewise.
44484 * sunrpc/rpc/xdr.h: Likewise.
44485 * sunrpc/rpc_clntout.c: Likewise.
44486 * sunrpc/rpc_cmsg.c: Likewise.
44487 * sunrpc/rpc_common.c: Likewise.
44488 * sunrpc/rpc_cout.c: Likewise.
44489 * sunrpc/rpc_dtable.c: Likewise.
44490 * sunrpc/rpc_hout.c: Likewise.
44491 * sunrpc/rpc_main.c: Likewise.
44492 * sunrpc/rpc_parse.c: Likewise.
44493 * sunrpc/rpc_parse.h: Likewise.
44494 * sunrpc/rpc_prot.c: Likewise.
44495 * sunrpc/rpc_sample.c: Likewise.
44496 * sunrpc/rpc_scan.c: Likewise.
44497 * sunrpc/rpc_scan.h: Likewise.
44498 * sunrpc/rpc_svcout.c: Likewise.
44499 * sunrpc/rpc_tblout.c: Likewise.
44500 * sunrpc/rpc_util.c: Likewise.
44501 * sunrpc/rpc_util.h: Likewise.
44502 * sunrpc/rpcinfo.c: Likewise.
44503 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
44504 * sunrpc/rpcsvc/key_prot.x: Likewise.
44505 * sunrpc/rpcsvc/klm_prot.x: Likewise.
44506 * sunrpc/rpcsvc/mount.x: Likewise.
44507 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
44508 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
44509 * sunrpc/rpcsvc/rex.x: Likewise.
44510 * sunrpc/rpcsvc/rstat.x: Likewise.
44511 * sunrpc/rpcsvc/rusers.x: Likewise.
44512 * sunrpc/rpcsvc/sm_inter.x: Likewise.
44513 * sunrpc/rpcsvc/spray.x: Likewise.
44514 * sunrpc/rpcsvc/yppasswd.x: Likewise.
44515 * sunrpc/rtime.c: Likewise.
44516 * sunrpc/svc.c: Likewise.
44517 * sunrpc/svc_auth.c: Likewise.
44518 * sunrpc/svc_authux.c: Likewise.
44519 * sunrpc/svc_raw.c: Likewise.
44520 * sunrpc/svc_run.c: Likewise.
44521 * sunrpc/svc_simple.c: Likewise.
44522 * sunrpc/svc_tcp.c: Likewise.
44523 * sunrpc/svc_udp.c: Likewise.
44524 * sunrpc/svc_unix.c: Likewise.
44525 * sunrpc/svcauth_des.c: Likewise.
44526 * sunrpc/xcrypt.c: Likewise.
44527 * sunrpc/xdr.c: Likewise.
44528 * sunrpc/xdr_array.c: Likewise.
44529 * sunrpc/xdr_float.c: Likewise.
44530 * sunrpc/xdr_mem.c: Likewise.
44531 * sunrpc/xdr_rec.c: Likewise.
44532 * sunrpc/xdr_ref.c: Likewise.
44533 * sunrpc/xdr_sizeof.c: Likewise.
44534 * sunrpc/xdr_stdio.c: Likewise.
44536 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
44539 2010-08-19 Andreas Schwab <schwab@redhat.com>
44541 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
44543 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
44545 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
44546 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
44547 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
44548 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
44549 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
44550 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
44551 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
44552 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
44553 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
44554 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
44555 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
44556 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
44557 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
44558 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
44560 2010-07-26 Anton Blanchard <anton@samba.org>
44562 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
44563 * malloc/arena.c (heap_trim): Likewise.
44565 2010-08-16 Ulrich Drepper <drepper@redhat.com>
44567 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
44569 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
44570 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
44572 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
44574 * sysdeps/i386/elf/Makefile: New file.
44576 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
44578 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
44579 from fanotify_init.
44580 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
44581 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
44583 2010-08-15 Ulrich Drepper <drepper@redhat.com>
44585 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
44587 * sysdeps/multiarch/strcmp.S: Likewise.
44589 2010-08-14 Ulrich Drepper <drepper@redhat.com>
44591 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
44592 strncase_l-nonascii.
44593 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
44594 Add strncase_l-ssse3.
44595 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
44596 * sysdeps/x86_64/strcmp.S: Likewise.
44597 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
44598 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
44599 * sysdeps/x86_64/strncase.S: New file.
44600 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
44601 * sysdeps/x86_64/strncase_l.S: New file.
44602 * string/Makefile (strop-tests): Add strncasecmp.
44603 * string/test-strncasecmp.c: New file.
44605 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
44608 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
44609 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
44611 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
44613 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
44615 2010-08-12 Ulrich Drepper <drepper@redhat.com>
44617 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
44618 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
44619 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
44621 2010-05-01 Alan Modra <amodra@gmail.com>
44623 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
44624 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
44625 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
44626 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
44627 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
44628 tidying. Don't tail-call __sigjmp_save for static lib.
44629 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
44631 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
44632 (CALL_MCOUNT): Add eh info, and nop after bl.
44633 (TAIL_CALL_SYSCALL_ERROR): New macro.
44634 (PSEUDO_RET): Use it.
44635 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
44636 Correct save location of integer regs and cr.
44637 (_dl_profile_resolve): Correct cr save location. Delete nops
44638 after bl when SHARED. Reduce cfi size a little by better
44639 placement of cfi directives.
44640 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
44641 make a stack frame. Instead use parm save area as a temp.
44642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
44643 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
44644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
44645 Don't make a stack frame for parent, use parm save area.
44646 Increase child stack frame to 112 bytes. Don't save unused reg,
44647 and adjust reg usage. Set up cfi on error recovery and
44648 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
44649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
44650 (__makecontext): Add dummy nop after jump to exit.
44651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
44652 Use correct parm save area and cr save, reduce stack frame.
44653 Correct cfi for possible PSEUDO_RET frame setup.
44654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
44655 Branch to local label emitted by PSEUDO_RET rather than
44658 2010-08-12 Andreas Schwab <schwab@redhat.com>
44661 * locale/programs/locale.c (print_assignment): New function.
44662 (show_locale_vars): Use it.
44664 2010-08-11 Ulrich Drepper <drepper@redhat.com>
44666 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
44668 (struct statfs64): Likewise.
44669 (_STATFS_F_FLAGS): Define.
44670 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
44671 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44672 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
44673 (ST_VALID): Define locally.
44674 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
44675 __statvfs_getflags, use the provided value.
44676 * sysdeps/unix/sysv/linux/kernel-features.h: Define
44677 __ASSUME_STATFS_F_FLAGS.
44679 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
44681 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
44682 Add sys/fanotify.h.
44683 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
44684 fanotify_mask for GLIBC_2.13.
44685 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
44686 fanotify_init and fanotify_mark.
44687 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
44688 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
44690 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
44692 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
44693 prlimit64 for GLIBC_2.13.
44694 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
44696 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
44698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
44699 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
44700 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
44701 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
44702 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
44704 * sysdeps/unix/sysv/linux/prlimit.c: New file.
44707 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
44708 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
44710 * nss/Makefile: Add rules to build and run tst-nss-test1.
44711 * shlib-versions: Add entry for libnss_test1.
44712 * nss/nss_test1.c: New file.
44713 * nss/tst-nss-test1.c: New file.
44715 * nss/nsswitch.c (__nss_database_custom): Define new variable.
44716 (__nss_configure_lookup): Set appropriate entry in
44717 __nss_configure_lookup to true.
44718 * nss/nsswitch.h: Define enum with indeces of databases in
44719 databases and __nss_database_custom arrays. Declare
44720 __nss_database_custom.
44721 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
44722 to avoid using nscd when custom rules are installed.
44723 * nss/getXXbyYY_r.c: Likewise.
44724 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
44726 * nss/nss_files/files-parse.c: Whitespace fixes.
44728 2010-08-09 Ulrich Drepper <drepper@redhat.com>
44731 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
44732 * posix/fnmatch_loop.c: Likewise.
44734 2010-07-17 Andi Kleen <ak@linux.intel.com>
44736 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
44737 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
44738 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
44739 * Versions.def [GLIBC_2.13]: Add.
44741 2010-08-06 Ulrich Drepper <drepper@redhat.com>
44743 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
44744 Also fail if tpwd after pwuid call is NULL.
44746 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
44748 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
44749 when converting to ms.
44751 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
44753 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
44754 EOPNOTSUPP errors with ENOTTY.
44755 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
44756 EOPNOTSUPP errors with ENOTTY.
44758 2010-07-31 Ulrich Drepper <drepper@redhat.com>
44760 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
44761 Add strcasecmp_l-ssse3.
44762 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
44764 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
44765 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
44766 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
44768 2010-07-30 Ulrich Drepper <drepper@redhat.com>
44770 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
44772 * string/Makefile (strop-tests): Add strcasecmp.
44773 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
44774 strcasecmp_l-nonascii.
44775 (gen-as-const-headers): Add locale-defines.sym.
44776 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
44777 * sysdeps/x86_64/strcasecmp.S: New file.
44778 * sysdeps/x86_64/strcasecmp_l.S: New file.
44779 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
44780 * sysdeps/x86_64/locale-defines.sym: New file.
44781 * string/test-strcasecmp.c: New file.
44783 * string/test-strcasestr.c: Test both ends of the range of characters.
44784 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
44786 2010-07-29 Roland McGrath <roland@redhat.com>
44789 * manual/locale.texi (Yes-or-No Questions): Fix example code.
44791 2010-07-27 Ulrich Drepper <drepper@redhat.com>
44793 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
44796 2010-07-27 Andreas Schwab <schwab@redhat.com>
44798 * manual/memory.texi (Malloc Tunable Parameters): Document
44801 2010-07-26 Roland McGrath <roland@redhat.com>
44804 * configure.in (-fgnu89-inline check): Set and substitute
44805 gnu89_inline, not libc_cv_gnu89_inline.
44806 * configure: Regenerated.
44807 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
44809 2010-07-26 Ulrich Drepper <drepper@redhat.com>
44811 * string/test-strnlen.c: New file.
44812 * string/Makefile (strop-tests): Add strnlen.
44813 * string/tester.c (test_strnlen): Add a few more test cases.
44814 * string/tst-strlen.c: Better error reporting.
44816 * sysdeps/x86_64/strnlen.S: New file.
44818 2010-07-24 Ulrich Drepper <drepper@redhat.com>
44820 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
44821 lower-latency instructions.
44823 2010-07-23 Ulrich Drepper <drepper@redhat.com>
44825 * string/test-strcasestr.c: New file.
44826 * string/test-strstr.c: New file.
44827 * string/Makefile (strop-tests): Add strstr and strcasestr.
44828 * string/str-two-way.h: Don't undefine MAX.
44829 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
44831 2010-07-21 Andreas Schwab <schwab@redhat.com>
44833 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44834 strcasestr-nonascii.
44835 (CFLAGS-strcasestr-nonascii.c): Define.
44836 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
44837 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
44838 Remove unused attribute.
44840 2010-07-20 Roland McGrath <roland@redhat.com>
44842 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
44843 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
44844 ld.so.cache was broken. With it, there is no way to disable dsocaps
44845 like LD_HWCAP_MASK can disable hwcaps.
44847 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
44849 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
44851 2010-07-16 Ulrich Drepper <drepper@redhat.com>
44853 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
44854 call in strcasestr.
44855 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
44856 __strcasestr_sse42_nonascii.
44857 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
44858 strcasestr-nonascii.c.
44859 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
44861 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
44863 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
44864 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
44865 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
44866 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
44868 2010-07-09 Ulrich Drepper <drepper@redhat.com>
44870 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
44873 2010-07-06 Andreas Schwab <schwab@redhat.com>
44876 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
44879 2010-07-06 Ulrich Drepper <drepper@redhat.com>
44881 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
44882 _PC_PIPE_BUF using F_GETPIPE_SZ.
44884 2010-07-05 Roland McGrath <roland@redhat.com>
44886 * manual/arith.texi (Rounding Functions): Fix rint description
44887 implicit in round description.
44889 2010-07-02 Ulrich Drepper <drepper@redhat.com>
44891 * elf/Makefile: Fix linking for a few tests to make recent linker
44894 2010-06-30 Andreas Schwab <schwab@redhat.com>
44896 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
44897 $(common-objpfx)libc_nonshared.a.
44899 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
44901 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
44902 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
44903 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
44904 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
44905 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
44906 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
44907 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
44908 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
44909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
44910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
44911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
44912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
44913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
44914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
44915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
44916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
44917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
44918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
44919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
44920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
44921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
44922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
44923 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
44924 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
44925 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
44926 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
44927 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
44928 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
44929 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
44930 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
44931 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
44932 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
44933 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
44934 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
44935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
44936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
44937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
44938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
44939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
44940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
44941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
44942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
44943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
44944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
44945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
44946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
44947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
44948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
44950 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
44952 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
44953 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
44954 * string/memmove.c (memmove): Renamed to ...
44955 (MEMMOVE): ...this. Default to memmove.
44956 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
44957 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
44959 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44960 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
44961 mempcpy-ssse3-back memmove-ssse3-back.
44962 * sysdeps/x86_64/multiarch/bcopy.S: New file .
44963 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
44964 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
44965 * sysdeps/x86_64/multiarch/memcpy.S: New file.
44966 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
44967 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
44968 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
44969 * sysdeps/x86_64/multiarch/memmove.c: New file.
44970 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
44971 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
44972 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
44973 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
44974 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
44975 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
44977 (index_Fast_Copy_Backward): Define.
44978 (HAS_ARCH_FEATURE): Define.
44979 (HAS_FAST_REP_STRING): Define.
44980 (HAS_FAST_COPY_BACKWARD): Define.
44982 2010-06-21 Andreas Schwab <schwab@redhat.com>
44984 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
44985 Restore proper fallback handling.
44987 2010-06-19 Ulrich Drepper <drepper@redhat.com>
44990 * posix/group_member.c (__group_member): Correct checking loop.
44992 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
44993 OOM in getpwuid_r correctly. Return error number when the caller
44994 should return, otherwise -1.
44995 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
44996 call returning > 0 value.
44997 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
44999 2010-06-07 Andreas Schwab <schwab@redhat.com>
45001 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
45002 libc_nonshared.a from targets in modules-names.
45004 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
45006 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
45009 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
45011 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
45012 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
45013 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
45014 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
45016 2010-06-02 Andreas Schwab <schwab@redhat.com>
45018 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
45020 2010-06-14 Ulrich Drepper <drepper@redhat.com>
45022 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
45024 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
45025 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45026 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45027 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45028 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45029 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
45031 2010-06-14 Roland McGrath <roland@redhat.com>
45033 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
45035 2010-06-07 Jakub Jelinek <jakub@redhat.com>
45037 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
45038 __REDIRECT followed by __THROW.
45039 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
45040 * posix/getopt.h (getopt): Likewise.
45042 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
45044 * hurd/lookup-at.c (__file_name_lookup_at): Accept
45045 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
45046 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
45048 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
45049 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
45051 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
45053 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
45055 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
45058 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45059 Properly check family and model.
45061 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
45063 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
45065 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
45067 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
45069 2010-05-21 Ulrich Drepper <drepper@redhat.com>
45071 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
45074 2010-05-19 Andreas Schwab <schwab@redhat.com>
45076 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
45079 2010-05-21 Andreas Schwab <schwab@redhat.com>
45081 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
45082 and internal_recvmmsg.
45083 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
45084 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
45085 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
45086 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
45088 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
45089 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
45090 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
45092 2010-05-20 Andreas Schwab <schwab@redhat.com>
45094 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
45096 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
45098 POWER7 optimizations.
45099 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
45100 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
45102 2010-05-19 Ulrich Drepper <drepper@redhat.com>
45104 * version.h: Update for 2.13 development version.
45106 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
45108 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
45109 exceptions. Return 0.
45111 2010-05-07 Roland McGrath <roland@redhat.com>
45113 * elf/ldconfig.c (main): Add a const.
45115 2010-05-06 Ulrich Drepper <drepper@redhat.com>
45117 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
45118 (args_options): Add no-idn option.
45119 (ahosts_keys_int): Add idn_flags to ai_flags.
45120 (parse_option): Handle 'i' option to clear idn_flags.
45122 * malloc/malloc.c (_int_free): Possible race in the most recently
45123 added check. Only act on the data if no current modification
45126 See ChangeLog.17 for earlier changes.