1 2014-05-30 Roland McGrath <roland@hack.frob.com>
3 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
4 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
6 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
8 * malloc/malloc.c (malloc_info): Inline mi_arena.
10 2014-05-29 Richard Henderson <rth@twiddle.net>
12 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
13 Remove comma before expanding ASM_ARGS_##nr.
14 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
15 Make _x0 a strict output; make _x8 a strict input; adjust expansion
17 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
18 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
19 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
20 (ASM_ARGS_1): Add leading comma.
22 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
23 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
25 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
26 Remove the expected plt for __errno_location.
28 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
29 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
32 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
33 Always allocate 64 bytes of stack frame. Use ldp/stp to create
35 (DOCARGS_0, DOCARGS_1): Do nothing.
36 (DOCARGS_2): Update to store into the new stack frame.
37 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
38 (UNDOCARGS_1): Update to restore from the new stack frame.
39 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
40 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
42 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
43 (SINGLE_THREAD_P): New parameter for result regno.
44 (PSEUDO): Update to match; use cbz instead of beq.
46 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
47 Use ENTRY to define the _nocancel entry point. Share the syscall
48 and syscall error check paths with the cancel path.
51 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
52 whitespace; tabs before and after asm mnemonics.
54 2014-05-29 Eric Wong <normalperson@yhbt.net>
57 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
58 Call fstat64 or stat64 internally, depending on arguments passed.
59 Replace stat buffer argument with file descriptor argument.
60 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
61 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
62 Pass fd to __internal_statvfs instead of calling fstat64.
63 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
64 Pass fd to __internal_statvfs64 instead of calling fstat64.
65 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
66 Pass -1 to __internal_statvfs instead of calling stat64.
67 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
68 Pass -1 to __internal_statvfs64 instead of calling stat64.
70 2014-05-28 Roland McGrath <roland@hack.frob.com>
72 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
73 that was previously under [RESET_PID].
74 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
76 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
77 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
79 2014-05-27 Roland McGrath <roland@hack.frob.com>
81 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
83 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
84 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
86 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
88 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
90 2014-05-27 Andreas Schwab <schwab@suse.de>
92 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
94 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
95 * elf/rtld.c (init_tls, dl_main): Likewise.
96 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
97 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
98 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
99 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
100 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
101 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
102 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
103 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
104 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
105 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
106 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
107 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
108 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
109 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
110 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
111 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
112 * sysdeps/generic/tls.h: Update description.
114 2014-05-27 Will Newton <will.newton@linaro.org>
117 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
118 and restore r2 rather than just restoring.
120 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
123 * libio/tst-ftell-append.c: New test case.
124 * libio/Makefile (tests): Add test case.
125 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
127 * libio/wfileops.c (do_ftell_wide): Likewise.
129 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
131 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
133 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
137 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
138 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
139 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
140 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
141 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
142 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
143 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
146 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
149 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
150 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
151 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
152 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
153 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
155 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
156 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
158 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
160 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
162 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
163 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
164 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
166 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
167 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
168 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
169 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
171 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
174 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
177 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
180 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
184 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
187 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
192 conditional [RESET_PID].
193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
194 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
196 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
201 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
202 (__libc_vfork): New strong alias.
203 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
205 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
210 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
211 (__libc_vfork): New strong alias.
212 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
214 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
217 2014-05-26 Carlos O'Donell <carlos@redhat.com>
219 * malloc/malloc.c (mi_arena): New function.
220 (malloc_info): Remove nested function mi_arena. Call non-nosted
223 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
225 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
227 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
228 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
229 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
230 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
231 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
232 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
233 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
235 2014-05-26 Andreas Schwab <schwab@suse.de>
238 * locale/programs/repertoire.c (repertoire_read): Add slash
239 between I18NPATH element and file name.
240 * locale/programs/locfile.c (locfile_read): Likewise.
242 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
244 * nptl/pthread_mutexattr_settype.c
245 (__pthread_mutexattr_settype):
246 Disable lock elision for PTHREAD_MUTEX_NORMAL.
248 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
250 * nptl/tst-mutex5 (do_test):
251 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
253 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
255 * benchtests/README: Document 'init' directive.
256 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
258 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
259 (parse_file): Recognize 'init' directive.
261 2014-05-26 Kyle McMartin <kyle@redhat.com>
264 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
265 alignment of struct pthread.
267 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
270 * nscd/netgroupcache.c (addgetnetgrentX): Look for
271 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
272 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
273 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
275 2014-05-25 Richard Henderson <rth@twiddle.net>
277 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
278 (SINGLE_THREAD_P_PIC): Remove.
279 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
280 (SINGLE_THREAD_P_PIC): Remove.
282 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
283 branch to syscall error ...
285 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
286 from __local_syscall_error to .Lsyscall_error.
287 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
288 (SYSCALL_ERROR): Update label name.
290 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
291 Do not use DOARGS/UNDOARGS.
292 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
293 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
294 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
295 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
296 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
298 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
301 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
302 define if !NOT_IN_libc.
303 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
304 define with non-default symbol versions.
306 2014-05-23 Richard Henderson <rth@twiddle.net>
308 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
309 (vfork, __vfork): Define via compat_symbol.
311 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
312 [!HAVE_IFUNC] (vfork_compat): Remove.
313 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
315 2014-05-23 Joseph Myers <joseph@codesourcery.com>
318 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
319 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
322 2014-05-23 Richard Henderson <rth@twiddle.net>
324 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
325 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
326 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
327 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
329 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
330 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
331 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
332 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
333 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
334 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
335 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
336 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
337 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
338 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
339 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
340 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
341 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
342 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
343 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
344 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
345 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
346 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
347 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
348 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
349 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
350 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
351 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
352 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
353 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
354 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
355 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
356 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
357 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
358 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
359 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
360 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
361 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
362 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
363 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
364 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
365 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
366 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
367 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
368 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
369 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
370 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
371 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
372 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
373 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
374 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
375 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
376 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
377 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
378 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
379 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
380 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
381 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
382 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
383 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
384 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
386 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
387 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
388 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
389 before exiting on error.
390 (__libc_vfork): New strong alias.
391 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
392 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
394 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
395 that was previously under [RESET_PID].
396 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
398 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
400 2014-05-23 Joseph Myers <joseph@codesourcery.com>
403 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
404 value when x - 1 is zero.
405 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
406 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
407 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
408 0.0L for an argument of 1.0L.
409 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
411 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
412 value when x - 1 is zero.
413 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
414 * sysdeps/i386/fpu/libm-test-ulps: Update.
415 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
417 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
419 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
420 alphasort and versionsort.
422 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
424 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
426 [copysignf]: Likewise.
428 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
430 * crypt/md5-crypt.c: Fix formatting.
432 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
434 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
435 (b64_from_24bit): New function.
437 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
439 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
440 libc_hidden_builtin_def to ifunc.
441 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
442 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
444 2014-05-21 Roland McGrath <roland@hack.frob.com>
446 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
447 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
449 2014-05-21 Joseph Myers <joseph@codesourcery.com>
451 * nscd/Depend (linuxthreads): Remove.
453 * resolv/Depend (linuxthreads): Remove.
454 * rt/Depend (linuxthreads): Remove.
456 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
457 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
458 $(common-objpfx)elf/.
459 (link-libc-before-gnulib): Likewise.
460 (elfobjdir): Remove variable.
461 * Makefile (install): Use $(elf-objpfx) instead of
462 $(common-objpfx)elf/.
463 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
465 (link-libc-deps): Likewise.
466 ($(common-objpfx)libc.so): Likewise.
467 ($(common-objpfx)linkobj/libc.so): Likewise.
468 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
469 instead of $(common-objpfx)elf/.
470 (symbolic-link-list): Likewise.
471 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
472 [$(cross-compiling) = no]: Likewise.
473 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
475 (static-gnulib-arch): Likewise.
476 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
477 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
478 $(common-objpfx)elf/.
480 2014-05-21 Richard Henderson <rth@redhat.com>
482 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
483 (SINGLE_THREAD_P): Use the correct width load. Fold
486 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
487 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
489 2014-05-20 Joseph Myers <joseph@codesourcery.com>
491 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
492 (libgcc_s_resume): Use __attribute_used__.
493 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
496 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
498 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
499 optimization when used with float constants.
501 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
503 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
506 * locale/nl_langinfo_l.c: Make direct reference to every
507 _nl_current_CATEGORY symbol.
508 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
509 (tests-static): Add tst-langinfo-static.
510 (tests-special): Add tst-langinfo-static.out.
511 ($(objpfx)tst-langinfo.out): Redirect output.
512 ($(objpfx)tst-langinfo-static.out): New.
513 * localedata/tst-langinfo.sh: Send output to stdout.
514 * localedata/tst-langinfo-static.c: New file.
517 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
518 when the shift amount is modulo the limb size.
520 2014-05-20 Richard Henderson <rth@redhat.com>
523 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
524 Change type of sa_flags from unsigned int to int.
527 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
529 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
531 2014-05-20 Will Newton <will.newton@linaro.org>
533 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
534 Test the return value of the system call in the nocancel case.
536 2014-05-20 Will Newton <will.newton@linaro.org>
537 Yvan Roux <yvan.roux@linaro.org>
539 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
540 #include of asm/ptrace.h.
541 (PTRACE_GET_THREAD_AREA): Remove #undef.
542 (PTRACE_GETHBPREGS): Likewise.
543 (PTRACE_SETHBPREGS): Likewise.
544 (struct user_regs_struct): New structure.
545 (struct user_fpsimd_struct): New structure.
546 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
547 #include of asm/ptrace.h and second #include of sys/user.h.
548 (PTRACE_GET_THREAD_AREA): Remove #undef.
549 (PTRACE_GETHBPREGS): Likewise.
550 (PTRACE_SETHBPREGS): Likewise.
551 (ELF_NGREG): Use new struct user_regs_struct.
552 (elf_fpregset_t): Use new struct user_fpsimd_struct.
554 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
556 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
557 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
559 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
562 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
563 membar to avoid block loads/stores to overlap previous stores.
565 2014-05-17 Richard Henderson <rth@redhat.com>
567 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
568 Create the __##syscall_name##_nocancel entry point.
569 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
570 Remove; let the sysdep-cancel.h code create it.
572 2014-05-17 David S. Miller <davem@davemloft.net>
574 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
575 Protect with __USE_GNU.
576 (TIOCSET_TEMPT): Likewise.
577 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
578 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
579 these are already provided in bits/ioctl-types.h
581 2014-05-16 Roland McGrath <roland@hack.frob.com>
583 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
584 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
586 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
587 Use wait4 regardless of [__NR_waitpid].
589 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
592 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
593 (_FP_NANSIGN_Q): Set the quiet bit.
595 2014-05-16 Joseph Myers <joseph@codesourcery.com>
597 * benchtests/Makefile
598 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
599 not $(common-objpfx)math/libm.so.
600 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
601 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
602 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
603 $(common-objpfx)dlfcn/libdl.so.
604 ($(objpfx)tst-audit8): Depend on $(libm), not
605 $(common-objpfx)math/libm.so.
606 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
607 not $(common-objpfx)dlfcn/libdl.so.
609 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
610 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
611 [$(build-shared) = yes].
612 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
613 $(common-objpfx)nptl/libpthread.so.
614 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
615 $(common-objpfx)math/libm.so$(libm.so-version) or
616 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
617 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
618 $(common-objpfx)dlfcn/libdl.so.
619 * setjmp/Makefile (link-libm): Remove variable.
620 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
621 * stdio-common/Makefile (link-libm): Remove variable.
622 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
623 * stdlib/Makefile (link-libm): Remove variable.
624 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
625 ($(objpfx)tst-strtod-round): Likewise.
626 ($(objpfx)tst-tininess): Likewise.
627 ($(objpfx)tst-strtod-underflow): Likewise.
628 ($(objpfx)tst-strtod6): Likewise.
629 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
630 $(libdl), not $(common-objpfx)nptl/libpthread.so and
631 $(common-objpfx)dlfcn/libdl.so.
633 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
635 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
636 BSD terminal modes definitions.
638 2014-05-16 Roland McGrath <roland@hack.frob.com>
640 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
641 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
643 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
644 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
645 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
646 Don't do #include_next.
647 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
648 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
649 Don't do #include_next.
650 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
651 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
652 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
653 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
655 2014-05-16 Allan McRae <allan@archlinux.org>
657 * po/sv.po: Update Swedish translation from translation project.
659 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
662 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
665 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
666 errno if the TIOCGPTN ioctl fails with an error different than
668 * login/tst-ptsname.c: New file.
669 * login/Makefile (tests): Add tst-ptsname.
672 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
675 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
678 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
679 herrno to return EAI_AGAIN.
681 2014-05-14 Roland McGrath <roland@hack.frob.com>
683 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
684 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
685 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
686 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
687 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
688 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
689 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
690 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
691 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
692 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
693 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
694 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
695 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
696 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
697 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
698 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
699 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
700 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
701 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
702 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
703 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
704 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
705 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
706 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
707 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
708 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
709 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
710 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
711 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
712 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
713 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
714 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
715 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
716 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
717 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
719 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
720 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
721 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
722 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
723 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
724 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
725 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
726 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
727 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
728 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
729 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
730 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
731 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
732 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
733 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
734 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
735 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
736 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
737 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
738 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
739 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
740 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
741 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
742 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
743 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
744 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
745 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
746 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
748 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
749 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
750 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
751 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
752 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
753 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
754 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
755 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
756 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
757 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
758 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
759 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
760 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
761 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
762 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
763 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
764 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
765 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
766 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
767 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
769 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
770 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
771 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
773 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
774 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
775 (libpthread-sysdep_routines): Add elision-related stuff here instead.
776 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
777 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
778 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
779 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
780 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
781 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
782 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
783 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
784 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
785 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
786 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
787 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
788 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
789 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
790 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
791 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
792 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
793 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
794 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
795 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
796 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
797 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
798 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
799 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
800 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
801 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
802 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
803 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
805 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
806 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
808 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
809 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
810 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
811 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
812 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
813 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
815 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
816 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
818 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
819 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
821 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
822 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
824 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
825 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
826 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
827 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
829 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
830 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
831 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
832 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
833 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
834 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
835 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
836 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
838 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
839 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
841 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
843 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
844 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
845 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
846 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
847 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
849 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
851 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
853 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
854 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
855 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
856 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
857 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
858 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
860 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
861 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
863 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
864 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
866 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
867 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
869 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
870 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
871 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
872 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
874 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
875 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
876 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
877 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
878 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
879 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
880 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
881 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
883 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
884 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
886 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
888 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
889 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
890 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
891 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
892 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
894 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
896 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
898 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
899 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
900 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
901 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
902 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
903 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
904 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
905 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
906 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
907 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
909 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
910 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
912 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
913 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
915 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
916 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
918 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
919 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
920 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
921 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
922 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
923 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
925 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
926 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
927 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
928 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
929 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
930 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
931 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
932 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
934 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
935 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
937 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
939 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
940 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
941 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
942 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
943 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
945 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
947 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
949 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
950 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
951 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
952 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
953 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
954 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
955 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
956 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
957 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
958 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
959 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
961 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
962 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
964 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
965 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
967 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
968 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
969 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
970 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
971 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
972 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
973 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
974 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
975 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
976 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
977 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
978 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
979 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
980 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
981 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
982 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
983 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
984 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
986 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
987 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
988 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
989 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
991 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
992 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
993 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
994 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
995 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
996 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
997 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
998 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
1000 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
1001 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
1003 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
1004 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
1005 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
1006 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
1007 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
1008 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
1009 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
1010 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
1011 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
1012 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
1013 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
1014 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
1015 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
1016 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
1017 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
1018 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
1019 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
1021 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
1022 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
1023 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
1024 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
1025 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
1027 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
1028 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
1029 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
1030 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
1031 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
1032 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
1033 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
1034 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
1035 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
1036 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
1038 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
1039 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
1041 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
1042 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
1043 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
1044 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
1045 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
1046 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
1047 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
1048 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
1049 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
1050 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
1051 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
1052 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
1053 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
1054 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
1055 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
1057 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
1059 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
1061 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
1063 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
1065 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
1067 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
1069 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
1071 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
1073 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
1075 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
1076 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
1077 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
1078 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
1079 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
1080 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
1081 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
1082 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
1083 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
1084 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
1085 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
1086 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
1087 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
1088 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
1089 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
1091 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
1092 that was previously under [RESET_PID].
1093 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
1094 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
1095 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
1097 * sysdeps/i386/nptl/Implies: New file.
1098 * sysdeps/x86_64/nptl/Implies: New file.
1099 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
1100 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
1101 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
1102 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
1104 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
1105 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1106 (__libc_vfork): New strong alias.
1107 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
1108 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
1110 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
1111 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1112 (__libc_vfork): New strong alias.
1113 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
1114 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
1116 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
1117 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1118 (__libc_vfork): New strong alias.
1119 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
1120 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
1121 * nptl/pt-vfork.c: New file.
1122 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
1123 (libpthread: GLIBC_2.20): New version set (empty).
1125 2014-05-14 Will Newton <will.newton@linaro.org>
1127 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
1130 2014-05-14 Joseph Myers <joseph@codesourcery.com>
1133 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
1134 arguments with exponent 65 or above.
1135 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
1136 arguments 0x1p113L or above.
1137 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
1138 to arguments 0x1p107L or above.
1139 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
1140 positive arguments with exponent 65 or above.
1141 * math/auto-libm-test-in: Add more tests of log1p.
1142 * math/auto-libm-test-out: Regenerated.
1145 * math/s_cacos.c (__cacos): Ensure zero real part of result from
1146 non-finite arguments is +0.
1147 * math/s_cacosf.c (__cacosf): Likewise.
1148 * math/s_cacosl.c (__cacosl): Likewise.
1149 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
1150 * sysdeps/i386/fpu/libm-test-ulps: Update.
1151 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1154 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
1156 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
1157 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
1158 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
1159 for explicit high bit of mantissa when testing for argument equal
1161 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
1162 * sysdeps/i386/fpu/libm-test-ulps: Update.
1163 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1166 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
1167 (__erf): Scale by 16 instead of 8 in potentially underflowing
1168 case. Ensure exception if result actually underflows.
1169 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
1170 (__erff): Scale by 16 instead of 8 in potentially underflowing
1171 case. Ensure exception if result actually underflows.
1172 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
1173 (efx8): Remove variable.
1174 (__erfl): Scale by 16 instead of 8 in potentially underflowing
1175 case. Ensure exception if result actually underflows.
1176 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
1177 (efx8): Remove variable.
1178 (__erfl): Scale by 16 instead of 8 in potentially underflowing
1179 case. Ensure exception if result actually underflows.
1180 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
1181 (efx8): Remove variable.
1182 (__erfl): Scale by 16 instead of 8 in potentially underflowing
1183 case. Ensure exception if result actually underflows.
1184 * math/auto-libm-test-in: Add more tests of erf.
1185 * math/auto-libm-test-out: Regenerated.
1187 2014-05-14 Andreas Schwab <schwab@suse.de>
1189 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
1190 Remove code conditionalized on USE___THREAD.
1192 * config.h.in (HAVE_PT_CHOWN): Define as 0.
1193 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
1196 2014-05-14 Joseph Myers <joseph@codesourcery.com>
1198 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
1199 Define unconditionally.
1200 (__ASSUME_O_CLOEXEC): Likewise.
1201 (__ASSUME_SOCK_CLOEXEC): Likewise.
1202 (__ASSUME_IN_NONBLOCK): Likewise.
1203 (__ASSUME_PIPE2): Likewise.
1204 (__ASSUME_EVENTFD2): Likewise.
1205 (__ASSUME_SIGNALFD4): Likewise.
1206 (__ASSUME_DUP3): Likewise.
1207 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1208 (__ASSUME_DUP3): Do not define.
1209 (__ASSUME_EVENTFD2): Likewise.
1210 (__ASSUME_IN_NONBLOCK): Likewise.
1211 (__ASSUME_O_CLOEXEC): Likewise.
1212 (__ASSUME_PIPE2): Likewise.
1213 (__ASSUME_SIGNALFD4): Likewise.
1214 (__ASSUME_SOCK_CLOEXEC): Likewise.
1215 (__ASSUME_UTIMES): Undefine.
1216 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1217 (__ASSUME_UTIMES): Do not define.
1218 (__ASSUME_O_CLOEXEC): Likewise.
1219 (__ASSUME_SOCK_CLOEXEC): Likewise.
1220 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
1221 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
1223 (__ASSUME_PIPE2): Likewise.
1224 (__ASSUME_EVENTFD2): Likewise.
1225 (__ASSUME_SIGNALFD4): Likewise.
1226 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
1227 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
1229 (__ASSUME_EVENTFD2): Likewise.
1230 (__ASSUME_SIGNALFD4): Likewise.
1231 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1232 (__ASSUME_32BITUIDS): Likewise.
1233 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
1234 (__ASSUME_IPC64): Likewise.
1235 (__ASSUME_ST_INO_64_BIT): Likewise.
1236 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
1237 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
1238 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1239 (__ASSUME_UTIMES): Do not define.
1240 (__ASSUME_PSELECT): Likewise.
1241 (__ASSUME_PPOLL): Likewise.
1242 (__ASSUME_O_CLOEXEC): Likewise.
1243 (__ASSUME_SOCK_CLOEXEC): Likewise.
1244 (__ASSUME_IN_NONBLOCK): Likewise.
1245 (__ASSUME_PIPE2): Likewise.
1246 (__ASSUME_EVENTFD2): Likewise.
1247 (__ASSUME_SIGNALFD4): Likewise.
1248 (__ASSUME_DUP3): Likewise.
1249 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1250 (__ASSUME_UTIMES): Likewise.
1251 (__ASSUME_O_CLOEXEC): Likewise.
1252 (__ASSUME_SOCK_CLOEXEC): Likewise.
1253 (__ASSUME_IN_NONBLOCK): Likewise.
1254 (__ASSUME_PIPE2): Likewise.
1255 (__ASSUME_EVENTFD2): Likewise.
1256 (__ASSUME_SIGNALFD4): Likewise.
1257 (__ASSUME_DUP3): Likewise.
1258 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1259 (__ASSUME_UTIMES): Likewise.
1260 (__ASSUME_O_CLOEXEC): Likewise.
1261 (__ASSUME_SOCK_CLOEXEC): Likewise.
1262 (__ASSUME_IN_NONBLOCK): Likewise.
1263 (__ASSUME_PIPE2): Likewise.
1264 (__ASSUME_EVENTFD2): Likewise.
1265 (__ASSUME_SIGNALFD4): Likewise.
1266 (__ASSUME_DUP3): Likewise.
1267 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
1269 (__ASSUME_UTIMES): Likewise.
1270 (__ASSUME_EVENTFD2): Likewise.
1271 (__ASSUME_SIGNALFD4): Likewise.
1272 * sysdeps/unix/sysv/linux/tile/kernel-features.h
1273 (__ASSUME_O_CLOEXEC): Likewise.
1274 (__ASSUME_SOCK_CLOEXEC): Likewise.
1275 (__ASSUME_IN_NONBLOCK): Likewise.
1276 (__ASSUME_PIPE2): Likewise.
1277 (__ASSUME_EVENTFD2): Likewise.
1278 (__ASSUME_SIGNALFD4): Likewise.
1279 (__ASSUME_DUP3): Likewise.
1280 (__ASSUME_UTIMES): Undefine.
1282 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
1283 feclearexcept. Remove symbol versioning code.
1284 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
1285 symbol versioning code.
1286 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
1287 symbol versioning code.
1288 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
1289 feupdateenv. Remove symbol versioning code.
1290 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
1291 fegetexceptflag. Remove symbol versioning code.
1292 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
1293 fesetexceptflag. Remove symbol versioning code.
1294 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
1295 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
1296 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
1297 (__posix_fadvise64_l32): Remove prototype.
1298 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
1301 2014-05-13 Roland McGrath <roland@hack.frob.com>
1303 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
1304 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
1305 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
1306 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
1308 2014-05-13 Sami Kerola <kerolasa@iki.fi>
1310 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
1311 current working directory
1313 2014-05-13 Roland McGrath <roland@hack.frob.com>
1315 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
1316 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
1317 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
1318 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
1319 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
1320 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
1321 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
1322 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
1323 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
1324 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
1325 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
1326 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
1327 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
1328 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
1329 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
1330 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
1331 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
1332 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
1333 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
1334 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
1335 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
1336 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
1337 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
1338 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
1339 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
1340 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
1341 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
1342 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
1343 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
1344 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
1345 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
1346 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
1347 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
1348 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
1349 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
1350 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
1351 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
1352 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
1353 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
1354 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
1355 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
1356 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
1358 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
1359 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
1361 * sysdeps/unix/sysv/linux/arm/Makefile
1362 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
1363 Add rt-aeabi_unwind_cpp_pr1.
1364 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
1365 Add nptl-aeabi_unwind_cpp_pr1.
1366 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
1367 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
1368 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
1369 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
1370 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
1371 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
1373 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
1374 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
1375 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
1376 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
1378 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
1379 Deconditionalize the code that was previously under [RESET_PID].
1380 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
1382 * sysdeps/generic/exit-thread.h: New file.
1383 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
1384 * include/unistd.h (__exit_thread): Remove declaration.
1385 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
1386 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
1387 * csu/libc-start.c: Include <exit-thread.h>.
1388 (LIBC_START_MAIN): Pass no argument to __exit_thread.
1389 * nptl/pthread_create.c: Include <exit-thread.h>.
1390 (start_thread): Call __exit_thread in place of __exit_thread_inline.
1391 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
1392 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
1393 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
1394 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
1395 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
1396 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
1397 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
1398 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
1399 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
1400 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
1401 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
1402 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
1403 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
1404 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
1405 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
1406 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
1408 2014-05-13 Andreas Schwab <schwab@suse.de>
1410 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
1412 2014-05-12 Joseph Myers <joseph@codesourcery.com>
1414 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
1415 (__ASSUME_UTIMES): Do not condition on kernel version.
1416 (__ASSUME_PSELECT): Define unconditionally.
1417 (__ASSUME_PPOLL): Likewise.
1418 (__ASSUME_ATFCTS): Likewise.
1419 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
1420 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
1421 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
1422 (__ASSUME_UTIMENSAT): Define unconditionally.
1423 (__ASSUME_PRIVATE_FUTEX): Likewise.
1424 (__ASSUME_FALLOCATE): Likewise.
1425 (__ASSUME_O_CLOEXEC): Likewise.
1426 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
1427 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
1428 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
1429 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
1430 (__ASSUME_IN_NONBLOCK): Likewise.
1431 (__ASSUME_PIPE2): Likewise.
1432 (__ASSUME_EVENTFD2): Likewise.
1433 (__ASSUME_SIGNALFD4): Likewise.
1434 (__ASSUME_DUP3): Likewise.
1435 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1436 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
1437 (__ASSUME_AT_RANDOM): Likewise.
1438 (__ASSUME_PREADV): Likewise.
1439 (__ASSUME_PWRITEV): Likewise.
1440 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
1441 (__ASSUME_F_GETOWN_EX): Define unconditionally.
1442 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
1443 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
1444 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
1445 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1446 (__ASSUME_O_CLOEXEC): Define unconditionally.
1447 (__ASSUME_PSELECT): Do not undefine conditionally.
1448 (__ASSUME_PPOLL): Likewise.
1449 (__ASSUME_ATFCTS): Likewise.
1450 (__ASSUME_SET_ROBUST_LIST): Likewise.
1451 (__ASSUME_UTIMENSAT): Likewise.
1452 (__ASSUME_FDATASYNC): Define unconditionally.
1453 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1454 (__ASSUME_SIGFRAME_V2): Likewise.
1455 )__ASSUME_EVENTFD2): Likewise.
1456 (__ASSUME_SIGNALFD4): Likewise.
1457 (__ASSUME_PSELECT): Do not undefine conditionally.
1458 (__ASSUME_PPOLL): Likewise.
1459 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1460 (__ASSUME_PSELECT): Define unconditionally.
1461 (__ASSUME_PPOLL): Likewise.
1462 (__ASSUME_O_CLOEXEC): Likewise.
1463 (__ASSUME_SOCK_CLOEXEC): Likewise.
1464 (__ASSUME_IN_NONBLOCK): Likewise.
1465 (__ASSUME_PIPE2): Likewise.
1466 (__ASSUME_EVENTFD2): Likewise.
1467 (__ASSUME_SIGNALFD4): Likewise.
1468 (__ASSUME_DUP3): Likewise.
1469 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1470 (__ASSUME_O_CLOEXEC): Likewise.
1471 (__ASSUME_SOCK_CLOEXEC): Likewise.
1472 (__ASSUME_IN_NONBLOCK): Likewise.
1473 (__ASSUME_PIPE2): Likewise.
1474 (__ASSUME_EVENTFD2): Likewise.
1475 (__ASSUME_SIGNALFD4): Likewise.
1476 (__ASSUME_DUP3): Likewise.
1477 * sysdeps/unix/sysv/linux/mips/kernel-features.h
1478 (__ASSUME_EVENTFD2): Likewise.
1479 (__ASSUME_SIGNALFD4): Likewise.
1480 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1482 2014-05-12 Andreas Schwab <schwab@suse.de>
1485 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
1486 (_nss_nis_gethostbyname4_r): Return error if item length is larger
1487 than maximum RPC packet size.
1488 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
1489 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
1490 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
1491 (_nss_nis_getservbyport_r): Likewise.
1493 2014-05-12 Will Newton <will.newton@linaro.org>
1495 * malloc/Makefile (tests): Add tst-mallopt.
1496 * malloc/tst-mallopt.c: New file.
1498 2014-05-09 Roland McGrath <roland@hack.frob.com>
1500 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
1501 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
1503 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1505 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
1506 (tst-tlsmod6.so): Likewise.
1508 2014-05-09 Roland McGrath <roland@hack.frob.com>
1510 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
1512 2014-05-09 Joseph Myers <joseph@codesourcery.com>
1515 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
1516 and <dl-procinfo.h>.
1517 (__fegetenv): Save SSE state in envp->__eip if supported.
1518 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
1519 envp->__eip if supported.
1520 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
1521 and <dl-procinfo.h>.
1522 (__fesetenv): Always set __eip, __cs_selector, __opcode,
1523 __data_offset and __data_selector in environment to 0. Set SSE
1525 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
1527 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
1529 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
1531 2014-05-09 Will Newton <will.newton@linaro.org>
1533 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
1534 and libc_relro_required for ARM.
1535 * sysdeps/arm/preconfigure: Regenerate.
1537 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
1538 Stefan Liebler <stli@linux.vnet.ibm.com>
1540 * config.make.in (enable-lock-elision): New Makefile variable.
1541 * configure.ac: Likewise.
1542 * configure: Regenerate.
1543 * sysdeps/s390/configure.ac:
1544 Add check for gcc transactions support.
1545 * sysdeps/s390/configure: Regenerate.
1546 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
1547 Build elision files if enabled.
1548 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
1549 Add lock elision support for s390.
1550 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
1551 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
1552 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
1553 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
1554 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
1555 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
1556 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
1558 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
1560 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
1562 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
1564 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
1565 (__lll_timedlock_elision, __lll_lock_elision)
1566 (__lll_unlock_elision, __lll_trylock_elision)
1567 (lll_timedlock_elision, lll_lock_elision)
1568 (lll_unlock_elision, lll_trylock_elision): Add.
1569 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
1570 (pthread_mutex_t): Add lock elision support for s390.
1572 2014-05-14 Wilco <wdijkstr@arm.com>
1574 * sysdeps/arm/fclrexcpt.c: Cleanup.
1575 * sysdeps/arm/fedisblxcpt.c: Cleanup.
1576 * sysdeps/arm/feenablxcpt.c: Cleanup.
1577 * sysdeps/arm/fegetenv.c: Cleanup.
1578 * sysdeps/arm/fegetexcept.c: Cleanup.
1579 * sysdeps/arm/fegetround.c: Cleanup.
1580 * sysdeps/arm/feholdexcpt.c: Cleanup.
1581 * sysdeps/arm/fesetenv.c: Cleanup.
1582 * sysdeps/arm/fesetround.c: Cleanup.
1583 * sysdeps/arm/feupdateenv.c: Cleanup.
1584 * sysdeps/arm/fgetexcptflg.c: Cleanup.
1585 * sysdeps/arm/fraiseexcpt.c: Cleanup.
1586 * sysdeps/arm/fsetexcptflg.c: Cleanup.
1587 * sysdeps/arm/ftestexcept.c: Cleanup.
1588 * sysdeps/arm/get-rounding-mode.h: Cleanup.
1589 * sysdeps/arm/setfpucw.c: Cleanup.
1591 2014-05-09 Will Newton <will.newton@linaro.org>
1593 * sysdeps/arm/armv7/strcmp.S: New file.
1594 * NEWS: Mention addition of ARMv7 optimized strcmp.
1596 2014-05-08 Roland McGrath <roland@hack.frob.com>
1598 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
1599 look for %.ac rather than %.in.
1601 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
1602 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
1603 * sysdeps/mach/hurd/configure: Regenerated.
1604 * sysdeps/unix/sysv/linux/configure: Regenerated.
1606 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
1608 2014-05-07 Steve Ellcey <sellcey@mips.com>
1611 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
1615 2014-05-07 Andreas Schwab <schwab@suse.de>
1617 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
1618 when skipping over non-matching result from nscd.
1620 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
1623 * nptl/sockperf.c (client): Check socket return value.
1626 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
1627 nscd security class.
1629 2014-05-06 Roland McGrath <roland@hack.frob.com>
1631 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
1632 * sysdeps/arm/unwind.h: ... here.
1634 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
1637 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
1640 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1642 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
1643 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
1644 multiarch strncpy for PPC64.
1645 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
1646 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
1647 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
1648 multiarch optimizations.
1649 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1650 (__libc_ifunc_impl_list): Likewise.
1651 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
1652 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
1653 multiarch stpncpy for PPC64.
1654 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
1655 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
1657 2014-05-06 Andreas Schwab <schwab@suse.de>
1660 * gmon/mcount.c (_MCOUNT_DECL): Use
1661 atomic_compare_and_exchange_bool_acq instead of
1662 catomic_compare_and_exchange_bool_acq.
1664 2014-05-05 Roland McGrath <roland@hack.frob.com>
1666 * elf/Makefile (others, install-bin): Remove pldd.
1667 (pldd-modules): Variable removed.
1668 ($(objpfx)pldd): Target removed.
1669 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
1670 (others, install-bin): Append pldd here.
1671 ($(objpfx)pldd): New target.
1673 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
1674 to 0, so the first #if test emitted later doesn't see it undefined.
1675 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
1676 * sysdeps/gnu/errlist.c: Regenerated.
1678 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1680 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
1681 [libc_hidden_builtin_def]: Define to empty value.
1682 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
1683 [libc_hidden_builtin_def]: Likewise.
1684 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
1685 [libc_hidden_builtin_def]: Likewise.
1686 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
1687 [libc_hidden_builtin_def]: Likewise.
1688 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
1689 __redirect_memcpy and define ifunc as default hidden symbol.
1690 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
1691 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
1693 2014-05-04 Adam Conrad <adconrad@0c3.net>
1695 * locale/iso-4217.def: Reintroduce XDR currency.
1697 2014-05-04 Allan McRae <allan@archlinux.org>
1699 * po/eo.po: Update Esperanto translation from translation project.
1701 2014-05-02 Carlos O'Donell <carlos@redhat.com>
1703 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
1704 and FEATURE_INDEX_MAX to 1.
1705 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
1707 2014-05-01 Steve Ellcey <sellcey@mips.com>
1709 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
1710 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
1711 * iconvdata/big5.c (ONE_DIRECTION): Define.
1712 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
1713 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
1714 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
1715 * iconvdata/cp932.c (ONE_DIRECTION): Define.
1716 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
1717 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
1718 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
1719 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
1720 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
1721 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
1722 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
1723 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
1724 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
1725 * iconvdata/gbk.c (ONE_DIRECTION): Define.
1726 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
1727 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
1728 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
1729 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
1730 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
1731 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
1732 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
1733 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
1734 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
1735 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
1736 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
1737 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
1738 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
1739 * iconvdata/iso646.c (ONE_DIRECTION): Define.
1740 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
1741 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
1742 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
1743 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
1744 * iconvdata/johab.c (ONE_DIRECTION): Define.
1745 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
1746 * iconvdata/sjis.c (ONE_DIRECTION): Define.
1747 * iconvdata/t.61.c (ONE_DIRECTION): Define.
1748 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
1749 * iconvdata/tscii.c (ONE_DIRECTION): Define.
1750 * iconvdata/uhc.c (ONE_DIRECTION): Define.
1751 * iconvdata/unicode.c (ONE_DIRECTION): Define.
1752 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
1753 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
1754 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
1756 2014-05-01 Roland McGrath <roland@hack.frob.com>
1758 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
1759 (_IO_JUMPS_OFFSET): Define to 0.
1761 * nptl/sysdeps/pthread/bits/libc-lock.h
1762 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
1763 (__libc_lock_define_initialized_recursive): Always define using
1764 initializer. Modern compilers treat uninitialized (implicit zero) and
1765 explicit zero initializers the same (i.e. put the datum in bss).
1767 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
1769 * nscd/nscd-client.h: Include <string.h>.
1771 2014-05-01 David S. Miller <davem@davemloft.net>
1774 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
1775 multiple zero bytes exist at the end of a string.
1776 Reported by Aurelien Jarno <aurelien@aurel32.net>
1778 * string/test-strcmp.c (check): Add explicit test for situations where
1779 there are multiple zero bytes after the first.
1781 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
1784 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
1785 when compiling wprintf.
1786 * stdio-common/tstdiomisc.c (t3): New function.
1789 2014-05-01 Steve Ellcey <sellcey@mips.com>
1791 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
1792 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
1793 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
1794 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
1796 2014-05-01 Steve Ellcey <sellcey@mips.com>
1798 * stdlib/longlong.h: Updated from GCC.
1800 2014-05-01 Will Newton <will.newton@linaro.org>
1801 Bernard Ogden <bernie.ogden@linaro.org>
1803 * NEWS: Update fixed bug list.
1806 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
1808 2014-04-30 David S. Miller <davem@davemloft.net>
1810 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
1811 (libc_feholdexcept_setround_sparc_ctx): New function.
1812 (libc_fesetenv_sparc_ctx): Likewise.
1813 (libc_feupdateenv_sparc_ctx): Likewise.
1814 (libc_feholdsetround_sparc_ctx): Likewise.
1815 (libc_feholdexcept_setround_ctx): Define.
1816 (libc_feholdexcept_setroundf_ctx): Likewise.
1817 (libc_feholdexcept_setroundl_ctx): Likewise.
1818 (libc_fesetenv_ctx): Likewise.
1819 (libc_fesetenvf_ctx): Likewise.
1820 (libc_fesetenvl_ctx): Likewise.
1821 (libc_feupdateenv_ctx): Likewise.
1822 (libc_feupdateenvf_ctx): Likewise.
1823 (libc_feupdateenvl_ctx): Likewise.
1824 (libc_feresetround_ctx): Likewise.
1825 (libc_feresetroundf_ctx): Likewise.
1826 (libc_feresetroundl_ctx): Likewise.
1827 (libc_feholdsetround_ctx): Likewise.
1828 (libc_feholdsetroundf_ctx): Likewise.
1829 (libc_feholdsetroundl_ctx): Likewise.
1831 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
1832 with __USE_GNU instead of XOPEN cpp guards.
1834 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
1837 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
1838 with XOPEN cpp guards.
1840 2014-04-30 Julian Brown <julian@codesourcery.com>
1843 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
1846 2014-04-30 Joseph Myers <joseph@codesourcery.com>
1849 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
1851 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
1852 * sysdeps/unix/sysv/linux/configure: Regenerated.
1853 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
1854 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
1855 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
1856 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
1857 * README: Update reference to required Linux kernel version.
1858 * manual/install.texi (Linux): Update reference to required Linux
1859 kernel headers version.
1860 * INSTALL: Regenerated.
1862 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
1864 [POSIX] (limits.h): Likewise.
1865 [POSIX] (math.h): Likewise.
1866 [POSIX] (sys/wait.h): Likewise.
1867 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
1869 [POSIX] (stddef.h): Do not allow header inclusion.
1871 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1873 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1875 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
1877 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
1878 Return immediately after lll_futex_wake.
1880 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1883 * nscd/nscd-client.h (datahead_init_common): Initialize entire
1885 (datahead_init_pos): Call datahead_init_common early.
1886 (datahead_init_neg): Likewise.
1888 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
1889 datahead_init_neg): New functions.
1890 * nscd/aicache.c (addhstaiX): Use them.
1891 * nscd/grpcache.c (cache_addgr): Likewise.
1892 * nscd/hstcache.c (cache_addhst): Likewise.
1893 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1894 * nscd/netgroupcache.c (do_notfound): Likewise.
1895 (addgetnetgrentX): Likewise.
1896 (addinnetgrX): Likewise.
1897 * nscd/pwdcache.c (cache_addpw): Likewise.
1898 * nscd/servicescache.c (cache_addserv): Likewise.
1900 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1901 Atsushi Onoe <atsushi@onoe.org>
1906 * resolv/res_query.c (__libc_res_nsearch): Return if at least
1907 one response is valid.
1908 * resolv/res_send.c (send_dg): Check for validity of other
1909 response if the current response is a referral.
1911 2014-04-29 Steve Ellcey <sellcey@mips.com>
1913 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
1915 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
1918 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
1919 Always divide by positive zero when computing -Inf result.
1920 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
1921 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
1923 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1925 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
1926 FPSCR if value do not change.
1927 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
1928 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
1929 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
1930 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
1931 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
1932 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
1935 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
1937 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
1938 * sysdeps/unix/sysv/linux/hppa: Move directory from
1939 ports/systeps/unix/sysv/linux/hppa.
1940 * README: Update listing for hppa-*-linux-gnu.
1942 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
1945 * manual/stdio.texi (Hook functions): Fix types of stream hook
1948 * socket/sys/socket.h: Fix typo in comment.
1950 2014-04-28 Wilco <wdijkstr@arm.com>
1952 * sysdeps/arm/fenv_private.h: New file.
1953 * sysdeps/arm/math_private.h: New file.
1954 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
1956 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
1958 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
1960 (La_x86_64_retval): Likewise.
1962 2014-04-24 Ian Bolton <ian.bolton@arm.com>
1964 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
1965 fpsr if value didn't change.
1966 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
1967 to fpcr if value didn't change.
1968 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
1969 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
1970 fpsr or fpcr if value didn't change.
1971 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
1972 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
1973 fpcr if value didn't change.
1974 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
1975 to fpsr if value didn't change.
1977 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
1979 * nptl/tst-sem3.c: Use test-skeleton.c
1980 (main): Rename to do_test. Use return instead of
1982 * nptl/tst-sem4.c: Use test-skeleton.c
1983 (main): Rename to do_test.
1985 2014-04-22 David S. Miller <davem@davemloft.net>
1987 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
1988 (struct sigaction): New struct member __glibc_reserved0, change
1989 type of sa_flags to int.
1991 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
1993 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
1994 (COUNT_LEADING_ZEROS_0): Define for AArch64.
1996 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
1998 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
1999 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
2001 2014-04-22 Will Newton <will.newton@linaro.org>
2002 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
2004 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
2005 (__longjmp): Add longjmp and longjmp_target SystemTap
2007 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
2008 (__sigsetjmp): Add setjmp SystemTap probe.
2010 2014-04-17 Carlos O'Donell <carlos@redhat.com>
2012 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
2015 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2017 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
2019 * sysdeps/powerpc/fpu/fenv_private.h
2020 (libc_feholdexcept_setroundl_ctx): Define to
2021 libc_feholdexcept_setround_ppc_ctx.
2022 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
2023 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
2024 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
2025 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
2027 2014-04-17 Ian Bolton <ian.bolton@arm.com>
2029 * sysdeps/aarch64/math-tests.h: New file.
2031 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
2033 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
2035 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2036 Check and set bit_AVX2_Usable.
2037 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
2039 (bit_AVX2): Likewise.
2040 (index_AVX2_Usable): Likewise.
2041 (CPUID_AVX2): Likewise.
2042 (HAS_AVX2): Likewise.
2044 2014-04-17 Will Newton <will.newton@linaro.org>
2046 * manual/setjmp.texi (System V contexts): Add note that
2047 calling setcontext on a context created by a call to a
2048 signal handler is undefined. Update text to note that
2049 setcontext from a signal handler is possible but not
2053 * stdlib/tst-setcontext.c: Include signal.h.
2054 (main): Check that the signal stack before and
2055 after swapcontext is the same.
2057 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
2058 Re-implement to restore registers in user code and avoid
2059 rt_sigreturn system call.
2061 2014-04-17 Wilco <wdijkstr@arm.com>
2063 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
2064 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
2065 * math/test-fenv.c: Skip exception trap tests on targets which only
2066 support non-stop mode.
2068 2014-04-17 Ian Bolton <ian.bolton@arm.com>
2069 Wilco Dijkstra <wilco.dijkstra@arm.com>
2071 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
2072 (libc_feholdsetround_aarch64_ctx)
2073 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
2074 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
2075 (libc_feresetround_ctx, libc_feresetroundf_ctx)
2076 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
2077 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
2078 (libc_feresetround_noexl_ctx): Define.
2080 2014-04-16 Richard Henderson <rth@redhat.com>
2082 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
2084 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
2087 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
2088 const from the non-libc, non-ldso copy.
2090 * sysdeps/alpha/libm-test-ulps: Regenerate.
2092 2014-04-16 Ian Bolton <ian.bolton@arm.com>
2093 Wilco Dijkstra <wilco.dijkstra@arm.com>
2095 * sysdeps/aarch64/fpu/math_private.h: New file.
2097 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
2099 * sysdeps/aarch64/libm-test-ulps: Regenerate.
2101 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
2103 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
2104 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
2105 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
2106 Intel MPX bound registers before _dl_profile_fixup.
2107 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
2108 registers after _dl_profile_fixup. Save and restore bound
2109 registers bnd0/bnd1 when calling _dl_call_pltexit.
2110 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
2111 (LR_BND_OFFSET): Likewise.
2112 (LRV_BND0_OFFSET): Likewise.
2113 (LRV_BND1_OFFSET): Likewise.
2115 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
2117 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
2119 * sysdeps/mach/hurd/i386/tls.h: ... here.
2120 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
2121 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
2124 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
2126 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
2128 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
2130 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2132 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
2135 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
2136 * sysdeps/s390/configure: Regenerate.
2139 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
2140 Set round-to-nearest internally to reduce error accumulation.
2142 2014-04-16 Alan Modra <amodra@gmail.com>
2146 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
2147 * math/libm-test.inc (frexp_test_data): Add tests.
2148 * NEWS: Update fixed bug list.
2150 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2152 * benchtests/Makefile: Depend on libraries in build directory.
2153 (bench-math): Separate out math tests.
2154 (bench-pthread): Separate out pthread tests.
2155 (bench): Include math and pthread tests.
2157 2014-04-14 Carlos O'Donell <carlos@redhat.com>
2160 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
2161 _dl_debug_initialize.
2163 * configure.ac: Remove SELinux header check.
2164 * configure: Regenerate.
2165 * nscd/selinux.c (perms): Array of const char* to permission names.
2166 (nscd_request_avc_has_perm): Call security_deny_unknown to find
2167 default policy. Call string_to_security_class and string_to_av_perm to
2168 translate strings. Enforce default policy and call avs_has_perm with
2169 results of translated strings.
2171 2014-04-13 David S. Miller <davem@davemloft.net>
2173 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2175 2014-04-12 Allan McRae <allan@archlinux.org>
2178 * manual/string.texi (Collation Functions): Fix qsort argument
2180 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
2182 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
2184 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
2185 Make the test a no-op if there are no exceptions defined.
2187 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
2189 * elf/Makefile (tests): make tst-dlopen-aout conditional on
2190 enable-hardcoded-path-in-tests
2192 2014-04-11 Will Newton <will.newton@linaro.org>
2194 * benchtests/Makefile (extra-objs): Add json-lib.o.
2195 (bench-func): Tidy up JSON output.
2196 * benchtests/bench-skeleton.c: Include json-lib.h.
2197 (main): Use JSON library functions to do output of
2199 * benchtests/bench-timing-type.c (main): Output the
2200 timing type simply, leaving formatting to the user.
2201 * benchtests/json-lib.c: New file.
2202 * benchtests/json-lib.h: Likewise.
2204 2014-04-11 Torvald Riegel <triegel@redhat.com>
2207 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
2208 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
2209 memory barriers. Add comments.
2210 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
2211 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
2212 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
2213 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
2214 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
2215 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
2217 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
2219 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
2220 * sysdeps/s390/s390-64/configure.ac: ... this ...
2221 * sysdeps/s390/configure.ac: ... to here.
2222 * sysdeps/s390/s390-32/configure: Delete file.
2223 * sysdeps/s390/s390-64/configure: Delete file.
2224 * sysdeps/s390/configure: Regenerate.
2226 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
2228 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
2230 2014-04-11 Will Newton <will.newton@linaro.org>
2232 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
2233 to zero if it is not defined elsewhere. (mtrim): Test
2234 the value of MALLOC_DEBUG with #if rather than #ifdef.
2236 2014-04-10 Torvald Riegel <triegel@redhat.com>
2238 * benchtests/pthread_once-inputs: New file.
2239 * benchtests/pthread_once-source.c: New file.
2240 * benchtests/README: Update documentation.
2242 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
2243 H.J. Lu <hongjiu.lu@intel.com>
2245 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
2246 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
2247 * sysdeps/x86_64/configure: Regenerated.
2248 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
2250 (REGISTER_SAVE_RAX): Likewise.
2251 (REGISTER_SAVE_RCX): Likewise.
2252 (REGISTER_SAVE_RDX): Likewise.
2253 (REGISTER_SAVE_RSI): Likewise.
2254 (REGISTER_SAVE_RDI): Likewise.
2255 (REGISTER_SAVE_R8): Likewise.
2256 (REGISTER_SAVE_R9): Likewise.
2257 (REGISTER_SAVE_BND0): Likewise.
2258 (REGISTER_SAVE_BND1): Likewise.
2259 (REGISTER_SAVE_BND2): Likewise.
2260 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
2261 bound registers when calling _dl_fixup.
2263 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2265 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
2266 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
2268 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
2269 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
2270 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
2271 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
2272 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
2273 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
2274 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
2276 2014-04-09 Peter Brett <peter@peter-b.co.uk>
2279 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
2280 pathconf(_PC_NAME_MAX).
2282 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2284 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
2286 (__PTHREAD_SPINS): Move definition to ...
2287 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2288 (__PTHREAD_SPINS): ... here.
2289 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
2290 (__PTHREAD_SPIN): Likewise.
2291 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
2292 (__PTHREAD_SPIN): Likewise.
2293 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
2294 (__PTHREAD_SPIN): Likewise.
2295 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
2296 (__PTHREAD_SPIN): Likewise.
2297 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
2298 (__PTHREAD_SPIN): Likewise.
2299 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
2300 (__PTHREAD_SPIN): Likewise.
2301 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
2302 (__PTHREAD_SPIN): Likewise.
2303 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
2304 (__PTHREAD_SPIN): Likewise.
2305 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
2306 (__PTHREAD_SPIN): Likewise.
2307 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
2308 (__PTHREAD_SPIN): Likewise.
2309 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
2310 (__PTHREAD_SPIN): Likewise.
2311 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
2312 (__PTHREAD_SPIN): Likewise.
2314 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
2315 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
2316 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
2317 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
2319 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
2320 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
2321 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
2322 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
2324 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
2325 strlen symbol for non multi-arch builds.
2326 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
2327 missing hidden_def and weak_alias.
2329 2014-04-08 Carlos O'Donell <carlos@redhat.com>
2331 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
2333 2014-04-07 Will Newton <will.newton@linaro.org>
2335 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
2336 and contents. [!_LIBC] Remove #ifndef and contents.
2337 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
2338 * string/memccpy.c (__memccpy): Use ANSI prototype.
2339 * string/memfrob.c (memfrob): Likewise.
2340 * string/strcoll.c (STRCOLL): Likewise.
2341 * string/strlen.c (strlen): Likewise.
2342 * string/strtok.c (STRTOK): Likewise.
2343 * string/strcat.c: Remove unused #include of memcopy.h.
2344 (strcat): Use ANSI prototype.
2345 * string/strchr.c: Remove unused #include of memcopy.h.
2346 (strchr): Use ANSI prototype.
2347 * string/strcmp.c: Remove unused #include of memcopy.h.
2348 (strcmp): Use ANSI prototype.
2349 * string/strcpy.c: Remove unused #include of memcopy.h.
2350 (strcpy): Use ANSI prototype.
2352 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2354 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
2355 * config.make.in (config-extra-cppflags): Set it from
2356 libc_extra_cppflags.
2357 * configure.ac (libc_extra_cflags): Make it accumulate over
2358 configure fragments.
2359 (libc_extra_cppflags): New flag.
2360 * configure. Regenerate.
2361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
2362 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
2363 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
2364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
2367 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
2368 result for FE_DOWNWARD rounding mode.
2369 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
2371 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2373 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
2375 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
2376 in function argument name.
2378 2014-04-03 David Svoboda <svoboda@cert.org>
2381 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
2384 2014-04-03 Roland McGrath <roland@hack.frob.com>
2386 * elf/dl-unmap-segments.h: New file.
2387 * sysdeps/generic/ldsodefs.h
2388 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
2389 * elf/dl-close.c: Include <dl-unmap-segments.h>.
2390 * elf/dl-fptr.c: Likewise.
2391 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
2392 * sysdeps/aarch64/tlsdesc.c: Likewise.
2393 * sysdeps/arm/tlsdesc.c: Likewise.
2394 * sysdeps/i386/tlsdesc.c: Likewise.
2395 * sysdeps/tile/dl-runtime.c: Likewise.
2396 * sysdeps/x86_64/tlsdesc.c: Likewise.
2397 * elf/dl-load.h: New file.
2398 * elf/dl-load.c: Include it.
2399 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
2400 Macros moved to dl-load.h.
2401 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
2402 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
2403 Use _dl_unmap_segments in place of __munmap.
2404 Break out segment-mapping loop into ...
2405 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
2407 2014-04-03 Will Newton <will.newton@linaro.org>
2409 * elf/dl-lookup.c (do_lookup_x): Remove comment
2410 referring to nested function and move variable
2411 declarations down to before first use.
2413 2014-04-02 Joseph Myers <joseph@codesourcery.com>
2417 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
2419 * math/s_catanf.c (__catanf): Likewise.
2420 * math/s_catanh.c (__catanh): Likewise.
2421 * math/s_catanhf.c (__catanhf): Likewise.
2422 * math/s_catanhl.c (__catanhl): Likewise.
2423 * math/s_catanl.c (__catanl): Likewise.
2424 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
2425 by positive zero when computing -Inf result.
2426 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
2427 (catanh_test): Likewise.
2428 * sysdeps/i386/fpu/libm-test-ulps: Update.
2429 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2432 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
2433 instead of using underflowing value in computing result.
2434 * math/s_clog10.c (__clog10): Likewise.
2435 * math/s_clog10f.c (__clog10f): Likewise.
2436 * math/s_clog10l.c (__clog10l): Likewise.
2437 * math/s_clogf.c (__clogf): Likewise.
2438 * math/s_clogl.c (__clogl): Likewise.
2439 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
2440 (clog10_test): Likewise.
2441 * sysdeps/i386/fpu/libm-test-ulps: Update.
2442 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2444 2014-04-02 Alan Modra <amodra@gmail.com>
2447 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
2448 output when value is near a power of two. Use int64_t for lx and
2449 remove casts. Use decimal rather than hex exponent constants.
2450 Don't use long double multiplication when double will suffice.
2451 * math/libm-test.inc (nextafter_test_data): Add tests.
2452 * NEWS: Add 16739 and 16786 to bug list.
2454 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
2456 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
2458 2014-04-01 Will Newton <will.newton@linaro.org>
2460 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
2461 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
2463 2014-04-01 Florian Weimer <fweimer@redhat.com>
2466 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
2467 * nptl/tst-setuid2.c: New file.
2468 * nptl/Makefile (xtests): Add tst-setuid2.
2470 2014-04-01 Alan Modra <amodra@gmail.com>
2473 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
2475 2014-03-31 Joseph Myers <joseph@codesourcery.com>
2479 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
2480 set errno as appropriate.
2481 * math/w_scalbf.c (__scalbf): Likewise.
2482 * math/w_scalbl.c (__scalbl): Likewise.
2483 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
2484 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
2485 * math/libm-test.inc (scalb_test_data): Add errno expectations.
2489 * math/w_atan2.c: Include <errno.h>.
2490 (__atan2): Set errno for result underflowing to zero.
2491 * math/w_atan2f.c: Include <errno.h>.
2492 (__atan2f): Set errno for result underflowing to zero.
2493 * math/w_atan2l.c: Include <errno.h>.
2494 (__atan2l): Set errno for result underflowing to zero.
2495 * math/auto-libm-test-in: Don't allow missing errno for some atan2
2497 * math/auto-libm-test-out: Regenerated.
2499 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2501 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
2502 Encode instruction correctly in little endian.
2503 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
2505 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
2507 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
2509 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
2512 2014-03-31 Joseph Myers <joseph@codesourcery.com>
2515 * sysdeps/unix/sysv/linux/kernel-features.h
2516 [__sparc__ && !__arch64__ && !__sparc_v9__]
2517 (__ASSUME_SET_ROBUST_LIST): Do not define.
2518 [__sparc__ && !__arch64__ && !__sparc_v9__]
2519 (__ASSUME_FUTEX_LOCK_PI): Likewise.
2520 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
2522 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2523 (__ASSUME_FUTEX_LOCK_PI): Undefine.
2524 (__ASSUME_REQUEUE_PI): Likewise.
2525 (__ASSUME_SET_ROBUST_LIST): Likewise.
2526 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2527 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
2529 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2530 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
2532 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
2534 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
2536 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2537 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
2539 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
2540 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
2544 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2545 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
2546 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
2548 2014-03-31 Will Newton <will.newton@linaro.org>
2550 * benchtests/Makefile (bench): Add ffs and ffsll to list
2552 * benchtests/ffs-inputs: New file.
2553 * benchtests/ffsll-inputs: Likewise.
2555 2014-03-29 Joseph Myers <joseph@codesourcery.com>
2558 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
2559 too large before casting to int.
2560 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
2561 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
2562 * math/libm-test.inc (scalb_test_data): Add more tests.
2564 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2566 * benchtests/Makefile (DETAILED_OPT): New make option.
2567 (bench-func): Run benchmark program with -d if DETAILED_OPT is
2569 * benchtests/bench-skeleton.c: Include stdbool.h.
2570 (main): Store and print timings per input.
2571 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
2572 member to each argument value.
2573 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
2574 (_print_arg_data): Initialize per-input timing to 0.
2576 * benchtests/Makefile (timing-type): New binary.
2577 (bench-clean): Also remove bench-timing-type.
2578 (bench): New target for timing-type.
2579 (bench-func): Print output in JSON format.
2580 * benchtests/bench-skeleton.c (main): Print output in JSON
2582 * benchtests/bench-timing-type.c: New file.
2583 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
2584 (TIMING_PRINT_STATS): Remove.
2585 * benchtests/scripts/bench.py (_print_arg_data): Store variant
2588 * benchtests/bench-modf.c: Remove.
2589 * benchtests/modf-inputs: New inputs file.
2591 2014-03-28 Joseph Myers <joseph@codesourcery.com>
2594 * math/s_clog10.c (M_PI_LOG10E): New macro.
2595 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
2596 imaginary parts are 0.
2597 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
2598 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
2599 imaginary parts are 0.
2600 * math/s_clog10l.c (M_PI_LOG10El): New macro.
2601 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
2602 imaginary parts are 0.
2603 * math/libm-test.inc (clog10_test_data): Update expected results
2604 for when real and imaginary parts are 0.
2606 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
2608 * elf/dl-load.c: Finish conversion of __builtin_expect into
2611 2014-03-27 Joseph Myers <joseph@codesourcery.com>
2614 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
2615 1+x for argument with exponent below -67.
2616 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
2618 * math/auto-libm-test-in: Add more tests of exp.
2619 * math/auto-libm-test-out: Regenerated.
2621 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2624 * inet/getnetgrent_r.c (get_nonempty_val): New function.
2625 (nscd_getnetgrent): Use it.
2628 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
2631 2014-03-27 Andi Kleen <ak@linux.intel.com>
2633 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
2634 (lll_robust_lock, lll_cond_lock, lll_timedlock)
2635 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
2636 (lll_robust_unlock): Remove out of line section. Use cfi
2638 (LLL_STUB_UNWIND_INFO*): Remove.
2639 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
2640 (lll_robust_lock, lll_cond_lock, lll_timedlock)
2641 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
2642 (lll_robust_unlock): Remove out of line section. Use cfi
2644 (LLL_STUB_UNWIND_INFO*): Remove.
2646 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2649 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
2652 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
2654 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
2656 2014-03-26 Joseph Myers <joseph@codesourcery.com>
2659 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
2661 * math/test-fenv-preserve.c: New file.
2662 * math/Makefile (tests): Add test-fenv-preserve.
2664 2014-03-26 Will Newton <will.newton@linaro.org>
2666 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
2668 2014-03-25 Roland McGrath <roland@hack.frob.com>
2670 * scripts/versionlist.awk: Partition the version sets and emit all
2671 GLIBC_* (sorted) before all others (sorted).
2673 2014-03-25 Joseph Myers <joseph@codesourcery.com>
2675 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
2676 GLIBC_2.2.5 version.
2678 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2680 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
2683 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
2686 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2688 2014-03-25 Andreas Schwab <schwab@suse.de>
2690 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
2691 label to be used after in6ailist is initialized.
2693 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2695 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2696 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
2698 2014-03-25 Joseph Myers <joseph@codesourcery.com>
2702 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
2704 (fp_formats): Update initializers.
2705 (init_fp_formats): Initialize new field.
2706 (output_for_one_input_case): Allow underflow for results up to
2708 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
2709 * math/auto-libm-test-in: Don't mark some underflows from asin and
2711 * math/auto-libm-test-out: Regenerated.
2712 * sysdeps/i386/fpu/libm-test-ulps: Update.
2713 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2715 2014-03-25 Andreas Schwab <schwab@suse.de>
2717 * libio/Makefile (tst-ftell-partial-wide-ENV)
2718 (tst-ftell-active-handler-ENV): Define.
2720 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
2722 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
2724 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
2726 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
2728 2014-03-24 Joseph Myers <joseph@codesourcery.com>
2730 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
2731 * sysdeps/x86_64/fpu/multiarch/e_exp.c
2732 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
2734 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
2737 * elf/dl-load.c (open_verify): Add mode parameter.
2738 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
2739 (open_path): Change from boolean 'secure' to complete flag 'mode'
2740 (_dl_map_object): Adjust.
2741 * elf/Makefile (tests): Add tst-dlopen-aout.
2742 * elf/tst-dlopen-aout.c: New test.
2744 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
2747 * sysdeps/unix/sysv/linux/s390/bits/stat.h
2748 (struct stat): Rename member pad0 to __glibc_reserved0.
2751 * sysdeps/s390/s390-32/bits/wordsize.h
2752 (__WORDSIZE32_SIZE_ULONG): New define.
2753 * sysdeps/s390/s390-64/bits/wordsize.h
2754 (__WORDSIZE32_SIZE_ULONG): Likewise.
2755 * sysdeps/generic/stdint.h (SIZE_MAX):
2756 Define as UL if __WORDSIZE32_SIZE_ULONG.
2759 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
2760 (__glibc_reserved0): New variable.
2761 (sa_flags): Change type to int.
2763 * posix/Makefile (before-compile): Use += before-compile instead
2766 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
2767 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
2769 2014-03-20 Andreas Schwab <schwab@suse.de>
2772 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
2773 non-matching result from nscd.
2775 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2777 * scripts/bench.py: Moved to ...
2778 * benchtests/scripts/bench.py: ... here.
2779 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
2781 2014-03-24 Andreas Schwab <schwab@suse.de>
2784 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
2785 alloca_account and account alloca use for struct in6ailist.
2787 2014-03-24 Joseph Myers <joseph@codesourcery.com>
2790 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
2791 rounding mode to recompute results that overflow to infinity or
2793 * math/auto-libm-test-in: Don't mark tests as expected to fail for
2795 * math/auto-libm-test-out: Regenerated.
2796 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
2797 (ccosh_test): Likewise.
2798 (csin_test_data): Use plus_oflow.
2799 (csin_test): Use ALL_RM_TEST.
2800 (csinh_test_data): Use plus_oflow.
2801 (csinh_test): Use ALL_RM_TEST.
2802 * sysdeps/i386/fpu/libm-test-ulps: Update.
2803 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2805 2014-03-21 Joseph Myers <joseph@codesourcery.com>
2807 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
2808 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
2809 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
2812 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
2814 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
2815 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
2816 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
2817 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
2819 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
2820 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
2822 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
2823 * sysdeps/i386/fpu/libm-test-ulps: Update.
2824 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2826 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2828 * scripts/bench.pl: Remove file.
2829 * scripts/bench.py: New benchmark script.
2830 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
2831 * benchtests/README: Mention python dependency.
2832 * scripts/pylintrc: New file.
2833 * scripts/pylint: New file.
2835 * bits/mathdef.h: Use #ifdef instead of #if.
2836 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
2837 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2838 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
2839 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2840 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
2841 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2843 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2844 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2846 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
2847 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
2848 and strpbrk-ppc64 objects.
2849 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2850 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
2851 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
2852 multiarch strpbrk for POWER7.
2853 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
2854 multiarch strpbrk for PPC64.
2855 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
2857 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
2860 2014-03-20 Joseph Myers <joseph@codesourcery.com>
2862 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
2863 (atan_test): Likewise.
2864 (atanh_test_data): Use NO_TEST_INLINE for two tests.
2865 (atanh_test): Use ALL_RM_TEST.
2866 (atan2_test_data): Likewise.
2867 (cabs_test): Likewise.
2868 (cacosh_test): Likewise.
2869 (carg_test): Likewise.
2870 (casin_test): Likewise.
2871 (casinh_test): Likewise.
2872 (cbrt_test): Likewise.
2873 (csqrt_test): Likewise.
2874 (erf_test): Likewise.
2875 (erfc_test): Likewise.
2876 (pow10_test): Likewise.
2877 (exp2_test): Likewise.
2878 (hypot_test): Likewise.
2879 (j0_test): Likewise.
2880 (j1_test): Likewise.
2881 (lgamma_test): Likewise.
2882 (gamma_test): Likewise.
2883 (sincos_test): Likewise.
2884 (tanh_test): Likewise.
2885 (y0_test): Likewise.
2886 (y1_test): Likewise.
2887 * sysdeps/i386/fpu/libm-test-ulps: Update.
2888 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2890 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2892 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
2893 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
2894 and strcspn-ppc64 objects.
2895 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2896 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
2897 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
2898 multiarch strcspn for POWER7.
2899 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
2900 multiarch strcspn for PPC64.
2901 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
2903 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
2906 2014-03-20 Joseph Myers <joseph@codesourcery.com>
2908 * math/gen-libm-test.pl (generate_testfile): Expect only function
2909 name as argument to AUTO_TESTS_* and pass results for all rounding
2910 modes to parse_args.
2911 (parse_auto_input): Separate inputs of automatic tests from
2912 outputs before storing in %auto_tests.
2913 * math/libm-test.inc (acos_test_data): Update call to
2915 (acos_test): Use ALL_RM_TEST.
2916 (acos_tonearest_test_data): Remove.
2917 (acos_test_tonearest): Likewise.
2918 (acos_towardzero_test_data): Likewise.
2919 (acos_test_towardzero): Likewise.
2920 (acos_downward_test_data): Likewise.
2921 (acos_test_downward): Likewise.
2922 (acos_upward_test_data): Likewise.
2923 (acos_test_upward): Likewise.
2924 (acosh_test_data): Update call to AUTO_TESTS_f_f.
2925 (asin_test_data): Likewise.
2926 (asin_test): Use ALL_RM_TEST.
2927 (asin_tonearest_test_data): Remove.
2928 (asin_test_tonearest): Likewise.
2929 (asin_towardzero_test_data): Likewise.
2930 (asin_test_towardzero): Likewise.
2931 (asin_downward_test_data): Likewise.
2932 (asin_test_downward): Likewise.
2933 (asin_upward_test_data): Likewise.
2934 (asin_test_upward): Likewise.
2935 (asinh_test_data): Update call to AUTO_TESTS_f_f.
2936 (atan_test_data): Likewise.
2937 (atanh_test_data): Likewise.
2938 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
2939 (cabs_test_data): Update call to AUTO_TESTS_c_f.
2940 (carg_test_data): Likewise.
2941 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
2942 (ccos_test_data): Update call to AUTO_TESTS_c_c.
2943 (ccosh_test_data): Likewise.
2944 (cexp_test_data): Likewise.
2945 (clog_test_data): Likewise.
2946 (clog10_test_data): Likewise.
2947 (cos_test_data): Update call to AUTO_TESTS_f_f.
2948 (cos_test): Use ALL_RM_TEST.
2949 (cos_tonearest_test_data): Remove.
2950 (cos_test_tonearest): Likewise.
2951 (cos_towardzero_test_data): Likewise.
2952 (cos_test_towardzero): Likewise.
2953 (cos_downward_test_data): Likewise.
2954 (cos_test_downward): Likewise.
2955 (cos_upward_test_data): Likewise.
2956 (cos_test_upward): Likewise.
2957 (cosh_test_data): Update call to AUTO_TESTS_f_f.
2958 (cosh_test): Use ALL_RM_TEST.
2959 (cosh_tonearest_test_data): Remove.
2960 (cosh_test_tonearest): Likewise.
2961 (cosh_towardzero_test_data): Likewise.
2962 (cosh_test_towardzero): Likewise.
2963 (cosh_downward_test_data): Likewise.
2964 (cosh_test_downward): Likewise.
2965 (cosh_upward_test_data): Likewise.
2966 (cosh_test_upward): Likewise.
2967 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
2968 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
2969 (ctan_test_data): Likewise.
2970 (ctan_test): Use ALL_RM_TEST.
2971 (ctan_tonearest_test_data): Remove.
2972 (ctan_test_tonearest): Likewise.
2973 (ctan_towardzero_test_data): Likewise.
2974 (ctan_test_towardzero): Likewise.
2975 (ctan_downward_test_data): Likewise.
2976 (ctan_test_downward): Likewise.
2977 (ctan_upward_test_data): Likewise.
2978 (ctan_test_upward): Likewise.
2979 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
2980 (ctanh_test): Use ALL_RM_TEST.
2981 (ctanh_tonearest_test_data): Remove.
2982 (ctanh_test_tonearest): Likewise.
2983 (ctanh_towardzero_test_data): Likewise.
2984 (ctanh_test_towardzero): Likewise.
2985 (ctanh_downward_test_data): Likewise.
2986 (ctanh_test_downward): Likewise.
2987 (ctanh_upward_test_data): Likewise.
2988 (ctanh_test_upward): Likewise.
2989 (erf_test_data): Update call to AUTO_TESTS_f_f.
2990 (erfc_test_data): Likewise.
2991 (exp_test_data): Likewise.
2992 (exp_test): Use ALL_RM_TEST.
2993 (exp_tonearest_test_data): Remove.
2994 (exp_test_tonearest): Likewise.
2995 (exp_towardzero_test_data): Likewise.
2996 (exp_test_towardzero): Likewise.
2997 (exp_downward_test_data): Likewise.
2998 (exp_test_downward): Likewise.
2999 (exp_upward_test_data): Likewise.
3000 (exp_test_upward): Likewise.
3001 (exp10_test_data): Update call to AUTO_TESTS_f_f.
3002 (exp10_test): Use ALL_RM_TEST.
3003 (exp10_tonearest_test_data): Remove.
3004 (exp10_test_tonearest): Likewise.
3005 (exp10_towardzero_test_data): Likewise.
3006 (exp10_test_towardzero): Likewise.
3007 (exp10_downward_test_data): Likewise.
3008 (exp10_test_downward): Likewise.
3009 (exp10_upward_test_data): Likewise.
3010 (exp10_test_upward): Likewise.
3011 (exp2_test_data): Update call to AUTO_TESTS_f_f.
3012 (expm1_test_data): Likewise.
3013 (expm1_test): Use ALL_RM_TEST.
3014 (expm1_tonearest_test_data): Remove.
3015 (expm1_test_tonearest): Likewise.
3016 (expm1_towardzero_test_data): Likewise.
3017 (expm1_test_towardzero): Likewise.
3018 (expm1_downward_test_data): Likewise.
3019 (expm1_test_downward): Likewise.
3020 (expm1_upward_test_data): Likewise.
3021 (expm1_test_upward): Likewise.
3022 (fma_test_data): Update call to AUTO_TESTS_fff_f.
3023 (fma_test): Use ALL_RM_TEST.
3024 (fma_towardzero_test_data): Remove.
3025 (fma_test_towardzero): Likewise.
3026 (fma_downward_test_data): Likewise.
3027 (fma_test_downward): Likewise.
3028 (fma_upward_test_data): Likewise.
3029 (fma_test_upward): Likewise.
3030 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
3031 (j0_test_data): Update call to AUTO_TESTS_f_f.
3032 (j1_test_data): Likewise.
3033 (jn_test_data): Update call to AUTO_TESTS_if_f.
3034 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
3035 (log_test_data): Update call to AUTO_TESTS_f_f.
3036 (log10_test_data): Likewise.
3037 (log1p_test_data): Likewise.
3038 (log2_test_data): Likewise.
3039 (pow_test_data): Update call to AUTO_TESTS_ff_f.
3040 (pow_tonearest_test_data): Likewise.
3041 (sin_test_data): Update call to AUTO_TESTS_f_f.
3042 (sin_test): Use ALL_RM_TEST.
3043 (sin_tonearest_test_data): Remove.
3044 (sin_test_tonearest): Likewise.
3045 (sin_towardzero_test_data): Likewise.
3046 (sin_test_towardzero): Likewise.
3047 (sin_downward_test_data): Likewise.
3048 (sin_test_downward): Likewise.
3049 (sin_upward_test_data): Likewise.
3050 (sin_test_upward): Likewise.
3051 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
3052 (sinh_test_data): Update call to AUTO_TESTS_f_f.
3053 (sinh_test): Use ALL_RM_TEST.
3054 (sinh_tonearest_test_data): Remove.
3055 (sinh_test_tonearest): Likewise.
3056 (sinh_towardzero_test_data): Likewise.
3057 (sinh_test_towardzero): Likewise.
3058 (sinh_downward_test_data): Likewise.
3059 (sinh_test_downward): Likewise.
3060 (sinh_upward_test_data): Likewise.
3061 (sinh_test_upward): Likewise.
3062 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
3063 (sqrt_test): Use ALL_RM_TEST.
3064 (sqrt_tonearest_test_data): Remove.
3065 (sqrt_test_tonearest): Likewise.
3066 (sqrt_towardzero_test_data): Likewise.
3067 (sqrt_test_towardzero): Likewise.
3068 (sqrt_downward_test_data): Likewise.
3069 (sqrt_test_downward): Likewise.
3070 (sqrt_upward_test_data): Likewise.
3071 (sqrt_test_upward): Likewise.
3072 (tan_test_data): Update call to AUTO_TESTS_f_f.
3073 (tan_test): Use ALL_RM_TEST.
3074 (tan_tonearest_test_data): Remove.
3075 (tan_test_tonearest): Likewise.
3076 (tan_towardzero_test_data): Likewise.
3077 (tan_test_towardzero): Likewise.
3078 (tan_downward_test_data): Likewise.
3079 (tan_test_downward): Likewise.
3080 (tan_upward_test_data): Likewise.
3081 (tan_test_upward): Likewise.
3082 (tanh_test_data): Update call to AUTO_TESTS_f_f.
3083 (tgamma_test_data): Likewise.
3084 (y0_test_data): Likewise.
3085 (y1_test_data): Likewise.
3086 (yn_test_data): Update call to AUTO_TESTS_if_f.
3087 (main): Do not call removed functions.
3089 2014-03-19 Joseph Myers <joseph@codesourcery.com>
3091 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
3092 (ldexp_test_data): Remove.
3093 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
3095 (scalb_test): Use ALL_RM_TEST.
3097 2014-03-19 Andreas Schwab <schwab@suse.de>
3099 * nscd/nscd.service: Also invalidate netgroup cache on reload.
3101 2014-03-19 Joseph Myers <joseph@codesourcery.com>
3104 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3105 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
3106 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
3107 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3108 (__ASSUME_PREADV): Undefine.
3109 (__ASSUME_PWRITEV): Likewise.
3111 2014-03-18 Roland McGrath <roland@hack.frob.com>
3113 * bits/mman-linux.h: Add comment about non-Linux use.
3114 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
3115 bits/mman-linux.h resting place.
3117 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
3118 * bits/mman-linux.h: ... here.
3120 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3122 * conform/conformtest.pl: Add standard definition when calling C
3123 preprocessor on data files.
3124 (checknamespace): Remove unused variable.
3126 2014-03-18 Joseph Myers <joseph@codesourcery.com>
3128 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
3129 minus_oflow, plus_uflow and minus_uflow in expected results.
3130 * math/libm-test.inc (scalbn_test_data): Add more tests of
3131 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
3133 (scalbn_test): Use ALL_RM_TEST.
3134 (scalbln_test_data): Add more tests of negative arguments. Use
3135 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
3136 (scalbln_test): Use ALL_RM_TEST.
3138 2014-03-18 Roland McGrath <roland@hack.frob.com>
3140 * scripts/abilist.awk: Ignore symbols marked with .hidden.
3142 2014-03-18 Will Newton <will.newton@linaro.org>
3144 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
3147 2014-03-18 Joseph Myers <joseph@codesourcery.com>
3149 * Makerules [!subdir] (check-abi): Exit with error status if a
3152 2014-03-17 Joseph Myers <joseph@codesourcery.com>
3154 * math/libm-test.inc (nearbyint_test_data): Include all tests used
3155 for rint. Include results for all rounding modes.
3156 (nearbyint_test): Use ALL_RM_TEST.
3157 (rint_test_data): Include all tests used for nearbyint.
3159 2014-03-17 Will Newton <will.newton@linaro.org>
3161 * nptl/sysdeps/pthread/pthread.h: Revert previous
3164 * sysdeps/generic/ldsodefs.h: Revert previous
3167 * libio/genops.c: Revert previous change.
3168 * libio/libioP.h: Likewise.
3169 * stdio-common/vfprintf.c: Likewise.
3171 * sysdeps/generic/math_private.h: Revert previous
3174 * sysdeps/generic/math_private.h: Check whether
3175 HAVE_RM_CTX is defined with #ifdef rather
3178 * argp/argp-fmtstream.h: Check whether
3179 __STRICT_ANSI__ is defined with #ifdef rather
3181 * argp/argp.h: Likewise.
3183 * libio/genops.c: Check whether
3184 _IO_JUMPS_OFFSET is defined with #ifdef rather
3186 * libio/libioP.h: Likewise.
3187 * stdio-common/vfprintf.c: Likewise.
3189 * sysdeps/generic/ldsodefs.h: Check whether
3190 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
3193 * nptl/sysdeps/pthread/pthread.h: Check
3194 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
3197 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3199 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
3201 * libio/tst-ftell-active-handler.c (do_append_test): Add a
3205 * libio/fileops.c (_IO_file_open): Seek to end of file but
3206 don't cache the offset.
3207 (get_file_offset): Remove function.
3208 (do_ftell): Use cached offset when available.
3209 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
3210 don't cache the offset.
3211 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
3213 (do_one_test): Call it.
3214 (do_ftell_test): Fix up expected old offset for a+ mode.
3215 * libio/wfileops.c (do_ftell_wide): Used cached offset when
3218 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
3219 up test status with function return status.
3220 (do_write_test): Likewise.
3221 (do_append_test): Likewise.
3223 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
3224 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
3227 2014-03-17 Joseph Myers <joseph@codesourcery.com>
3229 * math/gen-libm-test.pl (parse_args): Handle results specified for
3230 each rounding mode separately.
3231 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
3232 tests and results from lrint_tonearest_test_data,
3233 lrint_towardzero_test_data, lrint_downward_test_data and
3234 lrint_upward_test_data.
3235 (lrint_test): Use ALL_RM_TEST.
3236 (lrint_tonearest_test_data): Remove.
3237 (lrint_test_tonearest): Likewise.
3238 (lrint_towardzero_test_data): Likewise.
3239 (lrint_test_towardzero): Likewise.
3240 (lrint_downward_test_data): Likewise.
3241 (lrint_test_downward): Likewise.
3242 (lrint_upward_test_data): Likewise.
3243 (lrint_test_upward): Likewise.
3244 (llrint_test_data): Merge in per-rounding-mode tests and results
3245 from llrint_tonearest_test_data, llrint_towardzero_test_data,
3246 llrint_downward_test_data and llrint_upward_test_data.
3247 (llrint_test): Use ALL_RM_TEST.
3248 (llrint_tonearest_test_data): Remove.
3249 (llrint_test_tonearest): Likewise.
3250 (llrint_towardzero_test_data): Likewise.
3251 (llrint_test_towardzero): Likewise.
3252 (llrint_downward_test_data): Likewise.
3253 (llrint_test_downward): Likewise.
3254 (llrint_upward_test_data): Likewise.
3255 (llrint_test_upward): Likewise.
3256 (rint_test_data): Merge in per-rounding-mode tests and results
3257 from rint_tonearest_test_data, rint_towardzero_test_data,
3258 rint_downward_test_data and rint_upward_test_data. Add
3259 per-rounding-mode results for tests not in those arrays.
3260 (rint_test): Use ALL_RM_TEST.
3261 (rint_tonearest_test_data): Remove.
3262 (rint_test_tonearest): Likewise.
3263 (rint_towardzero_test_data): Likewise.
3264 (rint_test_towardzero): Likewise.
3265 (rint_downward_test_data): Likewise.
3266 (rint_test_downward): Likewise.
3267 (rint_upward_test_data): Likewise.
3268 (rint_test_upward): Likewise.
3269 (main): Don't call removed functions.
3271 2014-03-14 Roland McGrath <roland@hack.frob.com>
3273 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
3274 "Compiled on ..." crapola. It is anti-useful.
3276 2014-03-14 Joseph Myers <joseph@codesourcery.com>
3278 * scripts/evaluate-test.sh: Handle fourth argument to determine
3279 whether test run should stop on failure.
3280 * Makeconfig (stop-on-test-failure): New variable.
3281 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
3282 $(stop-on-test-failure).
3283 * Makefile (tests): Give a summary of results from testing and
3284 exit with failure status if they include an ERROR or FAIL.
3286 * manual/install.texi (Configuring and compiling): Mention
3287 stop-on-test-failure=y.
3288 * INSTALL: Regenerated.
3290 2014-03-14 Roland McGrath <roland@hack.frob.com>
3292 * scripts/versionlist.awk: New file.
3293 * Makerules [$(build-shared) = yes]
3294 (postclean-generated): Add Versions.def, not Versions.def.v and
3296 ($(common-objpfx)Versions.def.v.i): Target removed.
3297 ($(common-objpfx)Versions.def): New target.
3298 ($(common-objpfx)Versions.all): Depend on that rather that
3299 $(common-objpfx)Versions.def.v.
3300 * Versions.def: File removed.
3302 * Makeconfig (+gccwarn): Add -Wundef.
3303 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
3304 a dl-sysdep.h breaking its contract.
3305 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
3306 * include/stackinfo.h: New file.
3307 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
3308 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
3309 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
3310 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
3311 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
3312 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
3313 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3314 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3315 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3316 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3317 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3318 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
3319 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3320 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3321 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3323 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3326 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
3328 * math/libm-test.inc (round_test_data): Add more tests.
3331 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
3333 * math/libm-test.inc (nearbyint_test_data): Add more tests.
3336 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
3338 * math/libm-test.inc (ceil_test_data): Add more tests.
3340 * math/libm-test.inc (trunc_test_data): Add more tests related to
3343 2014-03-14 Roland McGrath <roland@hack.frob.com>
3345 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
3346 with #if rather than #ifdef.
3347 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
3349 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
3351 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
3352 first. Disable AVX-512 GCC support if assembler doesn't support
3354 * sysdeps/x86_64/configure: Regenerated.
3356 2014-03-13 Carlos O'Donell <carlos@redhat.com>
3358 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
3359 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
3360 (__old_pthread_attr_setstack): Likewise.
3361 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
3362 [!_STACK_GROWS_DOWN]: Likewise.
3364 2014-03-13 Mike Frysinger <vapier@gentoo.org>
3366 * config.make.in (have-bash2): Delete.
3367 * configure.ac (libc_cv_have_bash2): Delete.
3368 * configure: Regenerate.
3369 * elf/Makefile (common-ldd-rewrite): Rename to ...
3370 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
3371 (sh-ldd-rewrite): Delete.
3372 (bash-ldd-rewrite): Delete.
3373 (have-bash2): Delete checks.
3374 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
3377 * config.make.in (have-ksh): Delete.
3379 * configure.ac (libc_cv_have_ksh): Delete.
3380 * configure: Regenerate.
3382 * elf/Makefile: Delete $(have-ksh) check.
3383 ($(objpfx)sotruss): Change KSH to BASH.
3384 * elf/sotruss.ksh: Rename to ...
3385 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
3386 function style to match POSIX. Drop ksh vim mode setting.
3388 * manual/time.texi (Specifying the Time Zone with TZ): Change
3389 Tuesday to Thursday.
3391 * debug/tst-longjmp_chk2.c: Update header comment.
3392 (stackoverflow_handler): Add comment. Call assert on pass value.
3394 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
3396 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
3397 (HAVE_AVX512_ASM_SUPPORT): Likewise.
3398 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
3399 (La_x86_64_vector): Add zmm.
3400 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
3401 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
3402 ($(objpfx)tst-audit10): New target.
3403 ($(objpfx)tst-audit10.out): Likewise.
3404 (tst-audit10-ENV): New.
3405 (AVX512-CFLAGS): Likewise.
3406 (CFLAGS-tst-audit10.c): Likewise.
3407 (CFLAGS-tst-auditmod10a.c): Likewise.
3408 (CFLAGS-tst-auditmod10b.c): Likewise.
3409 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
3410 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
3411 * sysdeps/x86_64/configure: Regenerated.
3412 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
3413 AVX-512 zmm register support.
3414 (_dl_x86_64_save_sse): Likewise.
3415 (_dl_x86_64_restore_sse): Likewise.
3416 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
3417 size vector registers.
3418 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
3419 (ZMM_SIZE): Likewise.
3420 * sysdeps/x86_64/tst-audit10.c: New file.
3421 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
3422 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
3424 2014-03-13 Roland McGrath <roland@hack.frob.com>
3426 * configure.ac (HAVE_EHDR_START): New check.
3427 * configure: Regenerated.
3428 * config.h.in (HAVE_EHDR_START): New #undef.
3429 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
3430 assuming the lowest-addressed segment maps the start of the file.
3432 2014-03-13 Joseph Myers <joseph@codesourcery.com>
3434 * INSTALL: Regenerated.
3436 2014-03-13 Will Newton <will.newton@linaro.org>
3438 * manual/setjmp.texi (System V contexts): Improve
3439 clarity and grammar of documentation.
3441 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
3444 * elf/Makefile (tests): Add tst-pie2.
3445 (tests-pie): Add tst-pie2.
3446 * elf/tst-pie2.c: New file.
3447 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
3449 * elf/rtld.c (map_doit): Load executable as lt_executable.
3450 (dl_main): Likewise.
3452 2014-03-12 Joseph Myers <joseph@codesourcery.com>
3455 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3456 (__ASSUME_PSELECT): Undefine.
3458 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3461 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
3462 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
3464 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
3465 selector for static builds.
3467 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3470 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
3473 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3475 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
3476 IFUNC selector for static builds.
3478 2014-03-11 Joseph Myers <joseph@codesourcery.com>
3480 * sysdeps/mips/math_private.h [__mips_hard_float]
3481 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
3482 libc_feresetround_mips_ctx.
3483 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
3484 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
3485 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
3488 * math/s_nextafter.c (__nextafter): Do not return value from
3489 overflowing computation.
3490 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
3491 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
3492 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
3494 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
3496 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
3497 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
3499 2014-03-11 Roland McGrath <roland@hack.frob.com>
3501 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
3502 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
3503 Move sfi_sp use from the load-multiple (that no longer sets sp) to
3504 the new mov targetting sp.
3506 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3509 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
3510 Define it for static builds as well.
3511 (NO_BZERO_IMPL): Likewise.
3513 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3515 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
3516 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
3517 multiarch strspn for PPC64.
3518 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
3519 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
3520 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3521 (__libc_ifunc_impl_list): Likewise.
3522 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
3523 multiarch optimizations
3524 * string/strspn.c (strspn): Using macro to redefine symbol name.
3526 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3527 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3529 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
3530 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
3531 multiarch strncat for PPC64.
3532 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
3533 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
3534 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3535 (__libc_ifunc_impl_list): Likewise.
3536 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
3537 multiarch optimizations
3539 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3542 * nscd/nscd.service: Make service type forking.
3544 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3546 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
3547 sign in non default rounding modes.
3548 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
3550 2014-03-08 Joseph Myers <joseph@codesourcery.com>
3552 * math/libm-test.inc (ALL_RM_TEST): New macro.
3553 (ceil_test): Use ALL_RM_TEST.
3554 (cimag_test): Likewise.
3555 (conj_test): Likewise.
3556 (copysign_test): Likewise.
3557 (cproj_test): Likewise.
3558 (creal_test): Likewise.
3559 (fabs_test): Likewise.
3560 (floor_test): Likewise.
3561 (fmax_test): Likewise.
3562 (fmin_test): Likewise.
3563 (fmod_test): Likewise.
3564 (fpclassify_test): Likewise.
3565 (frexp_test): Likewise.
3566 (ilogb_test): Likewise.
3567 (isfinite_test): Likewise.
3568 (finite_test): Likewise.
3569 (isgreater_test): Likewise.
3570 (isgreaterequal_test): Likewise.
3571 (isinf_test): Likewise.
3572 (isless_test): Likewise.
3573 (islessequal_test): Likewise.
3574 (islessgreater_test): Likewise.
3575 (isnan_test): Likewise.
3576 (isnormal_test): Likewise.
3577 (issignaling_test): Likewise.
3578 (isunordered_test): Likewise.
3579 (logb_test): Likewise.
3580 (logb_downward_test_data): Remove.
3581 (logb_test_downward): Likewise.
3582 (lround_test): Use ALL_RM_TEST.
3583 (llround_test): Likewise.
3584 (modf_test): Likewise.
3585 (nexttoward_test): Likewise.
3586 (remainder_test): Likewise.
3587 (drem_test): Likewise.
3588 (remainder_tonearest_test_data): Likewise.
3589 (remainder_test_tonearest): Likewise.
3590 (drem_test_tonearest): Likewise.
3591 (remainder_towardzero_test_data): Likewise.
3592 (remainder_test_towardzero): Likewise.
3593 (drem_test_towardzero): Likewise.
3594 (remainder_downward_test_data): Likewise.
3595 (remainder_test_downward): Likewise.
3596 (drem_test_downward): Likewise.
3597 (remainder_upward_test_data): Likewise.
3598 (remainder_test_upward): Likewise.
3599 (drem_test_upward): Likewise.
3600 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
3601 (round_test): Use ALL_RM_TEST.
3602 (signbit_test): Likewise.
3603 (trunc_test): Likewise.
3604 (significand_test): Likewise.
3605 (main): Don't call removed functions.
3607 2014-03-07 Joseph Myers <joseph@codesourcery.com>
3610 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
3612 (ILL_ILLOPN): Likewise.
3613 (ILL_ILLADR): Likewise.
3614 (ILL_ILLTRP): Likewise.
3615 (ILL_PRVOPC): Likewise.
3616 (ILL_PRVREG): Likewise.
3617 (ILL_COPROC): Likewise.
3618 (ILL_BADSTK): Likewise.
3619 (FPE_INTDIV): Likewise.
3620 (FPE_INTOVF): Likewise.
3621 (FPE_FLTDIV): Likewise.
3622 (FPE_FLTOVF): Likewise.
3623 (FPE_FLTUND): Likewise.
3624 (FPE_FLTRES): Likewise.
3625 (FPE_FLTINV): Likewise.
3626 (FPE_FLTSUB): Likewise.
3627 (SEGV_MAPERR): Likewise.
3628 (SEGV_ACCERR): Likewise.
3629 (BUS_ADRALN): Likewise.
3630 (BUS_ADRERR): Likewise.
3631 (BUS_OBJERR): Likewise.
3632 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3633 (TRAP_TRACE): Likewise.
3634 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3636 (CLD_KILLED): Likewise.
3637 (CLD_DUMPED): Likewise.
3638 (CLD_TRAPPED): Likewise.
3639 (CLD_STOPPED): Likewise.
3640 (CLD_CONTINUED): Likewise.
3641 (POLL_IN): Likewise.
3642 (POLL_OUT): Likewise.
3643 (POLL_MSG): Likewise.
3644 (POLL_ERR): Likewise.
3645 (POLL_PRI): Likewise.
3646 (POLL_HUP): Likewise.
3647 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
3649 (ILL_ILLOPN): Likewise.
3650 (ILL_ILLADR): Likewise.
3651 (ILL_ILLTRP): Likewise.
3652 (ILL_PRVOPC): Likewise.
3653 (ILL_PRVREG): Likewise.
3654 (ILL_COPROC): Likewise.
3655 (ILL_BADSTK): Likewise.
3656 (FPE_INTDIV): Likewise.
3657 (FPE_INTOVF): Likewise.
3658 (FPE_FLTDIV): Likewise.
3659 (FPE_FLTOVF): Likewise.
3660 (FPE_FLTUND): Likewise.
3661 (FPE_FLTRES): Likewise.
3662 (FPE_FLTINV): Likewise.
3663 (FPE_FLTSUB): Likewise.
3664 (SEGV_MAPERR): Likewise.
3665 (SEGV_ACCERR): Likewise.
3666 (BUS_ADRALN): Likewise.
3667 (BUS_ADRERR): Likewise.
3668 (BUS_OBJERR): Likewise.
3669 (BUS_MCEERR_AR): Likewise.
3670 (BUS_MCEERR_AO): Likewise.
3671 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3672 (TRAP_TRACE): Likewise.
3673 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3675 (CLD_KILLED): Likewise.
3676 (CLD_DUMPED): Likewise.
3677 (CLD_TRAPPED): Likewise.
3678 (CLD_STOPPED): Likewise.
3679 (CLD_CONTINUED): Likewise.
3680 (POLL_IN): Likewise.
3681 (POLL_OUT): Likewise.
3682 (POLL_MSG): Likewise.
3683 (POLL_ERR): Likewise.
3684 (POLL_PRI): Likewise.
3685 (POLL_HUP): Likewise.
3686 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
3687 (ILL_ILLOPN): Likewise.
3688 (ILL_ILLADR): Likewise.
3689 (ILL_ILLTRP): Likewise.
3690 (ILL_PRVOPC): Likewise.
3691 (ILL_PRVREG): Likewise.
3692 (ILL_COPROC): Likewise.
3693 (ILL_BADSTK): Likewise.
3694 (FPE_INTDIV): Likewise.
3695 (FPE_INTOVF): Likewise.
3696 (FPE_FLTDIV): Likewise.
3697 (FPE_FLTOVF): Likewise.
3698 (FPE_FLTUND): Likewise.
3699 (FPE_FLTRES): Likewise.
3700 (FPE_FLTINV): Likewise.
3701 (FPE_FLTSUB): Likewise.
3702 (SEGV_MAPERR): Likewise.
3703 (SEGV_ACCERR): Likewise.
3704 (BUS_ADRALN): Likewise.
3705 (BUS_ADRERR): Likewise.
3706 (BUS_OBJERR): Likewise.
3707 (BUS_MCEERR_AR): Likewise.
3708 (BUS_MCEERR_AO): Likewise.
3709 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3710 (TRAP_TRACE): Likewise.
3711 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3713 (CLD_KILLED): Likewise.
3714 (CLD_DUMPED): Likewise.
3715 (CLD_TRAPPED): Likewise.
3716 (CLD_STOPPED): Likewise.
3717 (CLD_CONTINUED): Likewise.
3718 (POLL_IN): Likewise.
3719 (POLL_OUT): Likewise.
3720 (POLL_MSG): Likewise.
3721 (POLL_ERR): Likewise.
3722 (POLL_PRI): Likewise.
3723 (POLL_HUP): Likewise.
3724 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
3726 (ILL_ILLOPN): Likewise.
3727 (ILL_ILLADR): Likewise.
3728 (ILL_ILLTRP): Likewise.
3729 (ILL_PRVOPC): Likewise.
3730 (ILL_PRVREG): Likewise.
3731 (ILL_COPROC): Likewise.
3732 (ILL_BADSTK): Likewise.
3733 (ILL_BADIADDR): Likewise.
3734 (ILL_BREAK): Likewise.
3735 (FPE_INTDIV): Likewise.
3736 (FPE_INTOVF): Likewise.
3737 (FPE_FLTDIV): Likewise.
3738 (FPE_FLTOVF): Likewise.
3739 (FPE_FLTUND): Likewise.
3740 (FPE_FLTRES): Likewise.
3741 (FPE_FLTINV): Likewise.
3742 (FPE_FLTSUB): Likewise.
3743 (FPE_DECOVF): Likewise.
3744 (FPE_DECDIV): Likewise.
3745 (FPE_DECERR): Likewise.
3746 (FPE_INVASC): Likewise.
3747 (FPE_INVDEC): Likewise.
3748 (SEGV_MAPERR): Likewise.
3749 (SEGV_ACCERR): Likewise.
3750 (SEGV_PSTKOVF): Likewise.
3751 (BUS_ADRALN): Likewise.
3752 (BUS_ADRERR): Likewise.
3753 (BUS_OBJERR): Likewise.
3754 (BUS_MCEERR_AR): Likewise.
3755 (BUS_MCEERR_AO): Likewise.
3756 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3757 (TRAP_TRACE): Likewise.
3758 (TRAP_BRANCH): Likewise.
3759 (TRAP_HWBKPT): Likewise.
3760 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3762 (CLD_KILLED): Likewise.
3763 (CLD_DUMPED): Likewise.
3764 (CLD_TRAPPED): Likewise.
3765 (CLD_STOPPED): Likewise.
3766 (CLD_CONTINUED): Likewise.
3767 (POLL_IN): Likewise.
3768 (POLL_OUT): Likewise.
3769 (POLL_MSG): Likewise.
3770 (POLL_ERR): Likewise.
3771 (POLL_PRI): Likewise.
3772 (POLL_HUP): Likewise.
3773 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
3774 (ILL_ILLOPN): Likewise.
3775 (ILL_ILLADR): Likewise.
3776 (ILL_ILLTRP): Likewise.
3777 (ILL_PRVOPC): Likewise.
3778 (ILL_PRVREG): Likewise.
3779 (ILL_COPROC): Likewise.
3780 (ILL_BADSTK): Likewise.
3781 (FPE_INTDIV): Likewise.
3782 (FPE_INTOVF): Likewise.
3783 (FPE_FLTDIV): Likewise.
3784 (FPE_FLTOVF): Likewise.
3785 (FPE_FLTUND): Likewise.
3786 (FPE_FLTRES): Likewise.
3787 (FPE_FLTINV): Likewise.
3788 (FPE_FLTSUB): Likewise.
3789 (SEGV_MAPERR): Likewise.
3790 (SEGV_ACCERR): Likewise.
3791 (BUS_ADRALN): Likewise.
3792 (BUS_ADRERR): Likewise.
3793 (BUS_OBJERR): Likewise.
3794 (BUS_MCEERR_AR): Likewise.
3795 (BUS_MCEERR_AO): Likewise.
3796 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3797 (TRAP_TRACE): Likewise.
3798 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3800 (CLD_KILLED): Likewise.
3801 (CLD_DUMPED): Likewise.
3802 (CLD_TRAPPED): Likewise.
3803 (CLD_STOPPED): Likewise.
3804 (CLD_CONTINUED): Likewise.
3805 (POLL_IN): Likewise.
3806 (POLL_OUT): Likewise.
3807 (POLL_MSG): Likewise.
3808 (POLL_ERR): Likewise.
3809 (POLL_PRI): Likewise.
3810 (POLL_HUP): Likewise.
3811 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
3812 (ILL_ILLOPN): Likewise.
3813 (ILL_ILLADR): Likewise.
3814 (ILL_ILLTRP): Likewise.
3815 (ILL_PRVOPC): Likewise.
3816 (ILL_PRVREG): Likewise.
3817 (ILL_COPROC): Likewise.
3818 (ILL_BADSTK): Likewise.
3819 (FPE_INTDIV): Likewise.
3820 (FPE_INTOVF): Likewise.
3821 (FPE_FLTDIV): Likewise.
3822 (FPE_FLTOVF): Likewise.
3823 (FPE_FLTUND): Likewise.
3824 (FPE_FLTRES): Likewise.
3825 (FPE_FLTINV): Likewise.
3826 (FPE_FLTSUB): Likewise.
3827 (SEGV_MAPERR): Likewise.
3828 (SEGV_ACCERR): Likewise.
3829 (BUS_ADRALN): Likewise.
3830 (BUS_ADRERR): Likewise.
3831 (BUS_OBJERR): Likewise.
3832 (BUS_MCEERR_AR): Likewise.
3833 (BUS_MCEERR_AO): Likewise.
3834 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3835 (TRAP_TRACE): Likewise.
3836 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3838 (CLD_KILLED): Likewise.
3839 (CLD_DUMPED): Likewise.
3840 (CLD_TRAPPED): Likewise.
3841 (CLD_STOPPED): Likewise.
3842 (CLD_CONTINUED): Likewise.
3843 (POLL_IN): Likewise.
3844 (POLL_OUT): Likewise.
3845 (POLL_MSG): Likewise.
3846 (POLL_ERR): Likewise.
3847 (POLL_PRI): Likewise.
3848 (POLL_HUP): Likewise.
3849 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
3850 (ILL_ILLOPN): Likewise.
3851 (ILL_ILLADR): Likewise.
3852 (ILL_ILLTRP): Likewise.
3853 (ILL_PRVOPC): Likewise.
3854 (ILL_PRVREG): Likewise.
3855 (ILL_COPROC): Likewise.
3856 (ILL_BADSTK): Likewise.
3857 (FPE_INTDIV): Likewise.
3858 (FPE_INTOVF): Likewise.
3859 (FPE_FLTDIV): Likewise.
3860 (FPE_FLTOVF): Likewise.
3861 (FPE_FLTUND): Likewise.
3862 (FPE_FLTRES): Likewise.
3863 (FPE_FLTINV): Likewise.
3864 (FPE_FLTSUB): Likewise.
3865 (SEGV_MAPERR): Likewise.
3866 (SEGV_ACCERR): Likewise.
3867 (BUS_ADRALN): Likewise.
3868 (BUS_ADRERR): Likewise.
3869 (BUS_OBJERR): Likewise.
3870 (BUS_MCEERR_AR): Likewise.
3871 (BUS_MCEERR_AO): Likewise.
3872 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3873 (TRAP_TRACE): Likewise.
3874 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3876 (CLD_KILLED): Likewise.
3877 (CLD_DUMPED): Likewise.
3878 (CLD_TRAPPED): Likewise.
3879 (CLD_STOPPED): Likewise.
3880 (CLD_CONTINUED): Likewise.
3881 (POLL_IN): Likewise.
3882 (POLL_OUT): Likewise.
3883 (POLL_MSG): Likewise.
3884 (POLL_ERR): Likewise.
3885 (POLL_PRI): Likewise.
3886 (POLL_HUP): Likewise.
3887 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
3888 (ILL_ILLOPN): Likewise.
3889 (ILL_ILLADR): Likewise.
3890 (ILL_ILLTRP): Likewise.
3891 (ILL_PRVOPC): Likewise.
3892 (ILL_PRVREG): Likewise.
3893 (ILL_COPROC): Likewise.
3894 (ILL_BADSTK): Likewise.
3895 (ILL_DBLFLT): Likewise.
3896 (ILL_HARDWALL): Likewise.
3897 (FPE_INTDIV): Likewise.
3898 (FPE_INTOVF): Likewise.
3899 (FPE_FLTDIV): Likewise.
3900 (FPE_FLTOVF): Likewise.
3901 (FPE_FLTUND): Likewise.
3902 (FPE_FLTRES): Likewise.
3903 (FPE_FLTINV): Likewise.
3904 (FPE_FLTSUB): Likewise.
3905 (SEGV_MAPERR): Likewise.
3906 (SEGV_ACCERR): Likewise.
3907 (BUS_ADRALN): Likewise.
3908 (BUS_ADRERR): Likewise.
3909 (BUS_OBJERR): Likewise.
3910 (BUS_MCEERR_AR): Likewise.
3911 (BUS_MCEERR_AO): Likewise.
3912 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3913 (TRAP_TRACE): Likewise.
3914 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3916 (CLD_KILLED): Likewise.
3917 (CLD_DUMPED): Likewise.
3918 (CLD_TRAPPED): Likewise.
3919 (CLD_STOPPED): Likewise.
3920 (CLD_CONTINUED): Likewise.
3921 (POLL_IN): Likewise.
3922 (POLL_OUT): Likewise.
3923 (POLL_MSG): Likewise.
3924 (POLL_ERR): Likewise.
3925 (POLL_PRI): Likewise.
3926 (POLL_HUP): Likewise.
3927 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
3928 (ILL_ILLOPN): Likewise.
3929 (ILL_ILLADR): Likewise.
3930 (ILL_ILLTRP): Likewise.
3931 (ILL_PRVOPC): Likewise.
3932 (ILL_PRVREG): Likewise.
3933 (ILL_COPROC): Likewise.
3934 (ILL_BADSTK): Likewise.
3935 (FPE_INTDIV): Likewise.
3936 (FPE_INTOVF): Likewise.
3937 (FPE_FLTDIV): Likewise.
3938 (FPE_FLTOVF): Likewise.
3939 (FPE_FLTUND): Likewise.
3940 (FPE_FLTRES): Likewise.
3941 (FPE_FLTINV): Likewise.
3942 (FPE_FLTSUB): Likewise.
3943 (SEGV_MAPERR): Likewise.
3944 (SEGV_ACCERR): Likewise.
3945 (BUS_ADRALN): Likewise.
3946 (BUS_ADRERR): Likewise.
3947 (BUS_OBJERR): Likewise.
3948 (BUS_MCEERR_AR): Likewise.
3949 (BUS_MCEERR_AO): Likewise.
3950 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3951 (TRAP_TRACE): Likewise.
3952 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3954 (CLD_KILLED): Likewise.
3955 (CLD_DUMPED): Likewise.
3956 (CLD_TRAPPED): Likewise.
3957 (CLD_STOPPED): Likewise.
3958 (CLD_CONTINUED): Likewise.
3959 (POLL_IN): Likewise.
3960 (POLL_OUT): Likewise.
3961 (POLL_MSG): Likewise.
3962 (POLL_ERR): Likewise.
3963 (POLL_PRI): Likewise.
3964 (POLL_HUP): Likewise.
3965 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
3966 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
3969 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
3970 before #include of <time.h>.
3971 [!__USE_XOPEN2K] (__need_timespec): Likewise.
3972 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
3973 (test-xfail-UNIX98/sched.h/conform): Likewise.
3975 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
3977 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
3978 error absence of trapping exception support.
3979 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
3981 2014-03-07 Joseph Myers <joseph@codesourcery.com>
3983 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
3984 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
3985 * timezone/Makefile (testdata): Move definition above include of
3987 (test-zones): New variable.
3988 (tests-special): Add zone files.
3989 (build-testdata): Use $(evaluate-test).
3991 * elf/Makefile (tests-special): Rename tests to end with .out.
3992 ($(objpfx)noload-mem): Likewise.
3993 ($(objpfx)tst-leaks1-mem): Likewise.
3994 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
3995 * iconv/Makefile (xtests-special): Change test-iconvconfig to
3996 $(objpfx)test-iconvconfig.out.
3997 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
3998 set -e inside subshell and redirect output to file.
3999 * iconvdata/Makefile (generated): Rename tests to end with .out.
4001 (tests-special): Rename tests to end with .out.
4002 ($(objpfx)mtrace-tst-loading): Likewise.
4003 * intl/Makefile (generated): Likewise.
4004 (tests-special): Likewise.
4005 ($(objpfx)mtrace-tst-gettext): Likewise.
4006 * misc/Makefile (generated): Likewise.
4007 (tests-special): Likewise.
4008 ($(objpfx)tst-error1-mem): Likewise.
4009 * nptl/Makefile (tests-special): Likewise.
4010 ($(objpfx)tst-stack3-mem): Likewise.
4011 (generated): Likewise.
4012 * posix/Makefile (generated): Likewise.
4013 (tests-special): Likewise.
4014 (xtests-special): Likewise.
4015 ($(objpfx)tst-fnmatch-mem): Likewise.
4016 ($(objpfx)bug-regex2-mem): Likewise.
4017 ($(objpfx)bug-regex14-mem): Likewise.
4018 ($(objpfx)bug-regex21-mem): Likewise.
4019 ($(objpfx)bug-regex31-mem): Likewise.
4020 ($(objpfx)tst-vfork3-mem): Likewise.
4021 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
4022 ($(objpfx)tst-pcre-mem): Likewise.
4023 ($(objpfx)tst-boost-mem): Likewise.
4024 ($(objpfx)bug-ga2-mem): Likewise.
4025 ($(objpfx)bug-glob2-mem): Likewise.
4026 * resolv/Makefile (generate): Likewise.
4027 (tests-special): Likewise.
4028 (xtests-special): Likewise.
4029 (generated): Likewise.
4030 ($(objpfx)mtrace-tst-leaks): Likewise.
4031 ($(objpfx)mtrace-tst-leaks2): Likewise.
4033 * scripts/merge-test-results.sh: New file.
4034 * Makefile (tests-special-notdir): New variable.
4035 (tests): Run merge-test-results.sh.
4037 * Rules (tests-special-notdir): New variable.
4038 (xtests-special-notdir): Likewise.
4039 (tests): Run merge-test-results.sh
4042 * Makeconfig (test-xfail-name): New variable.
4043 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
4044 compute variable name for expected failures.
4045 * conform/Makefile (conformtest-headers-data): New variable.
4046 (conformtest-standards): Likewise.
4047 (conformtest-headers-ISO): Likewise.
4048 (conformtest-headers-ISO99): Likewise.
4049 (conformtest-headers-ISO11): Likewise.
4050 (conformtest-headers-POSIX): Likewise.
4051 (conformtest-headers-XPG3): Likewise.
4052 (conformtest-headers-XPG4): Likewise.
4053 (conformtest-headers-UNIX98): Likewise.
4054 (conformtest-headers-XOPEN2K): Likewise.
4055 (conformtest-headers-POSIX2008): Likewise.
4056 (conformtest-headers-XOPEN2K8): Likewise.
4057 (conformtest-header-list-base): Likewise.
4058 (conformtest-header-list-tests): Likewise.
4059 (conformtest-header-base): Likewise.
4060 (conformtest-header-tests): Likewise.
4061 (tests-special): Add $(conformtest-header-list-tests). If
4062 [$(fast-check) && !$(cross-compiling)], add
4063 $(conformtest-header-tests) instead of
4064 $(objpfx)run-conformtest.out.
4065 (generated): Add $(conformtest-header-list-base). If
4066 [$(fast-check) && !$(cross-compiling)], add
4067 $(conformtest-header-base). Remove previous setting.
4068 ($(conformtest-header-list-tests)): New target.
4069 (test-xfail-run-conformtest): Remove variable.
4070 ($(objpfx)run-conformtest.out): Remove target.
4071 (test-xfail-ISO11/complex.h/conform): New variable.
4072 (test-xfail-ISO11/stdalign.h/conform): Likewise.
4073 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
4074 (test-xfail-XPG3/varargs.h/conform): Likewise.
4075 (test-xfail-XPG4/varargs.h/conform): Likewise.
4076 (test-xfail-UNIX98/varargs.h/conform): Likewise.
4077 (test-xfail-XPG4/ndbm.h/conform): Likewise.
4078 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
4079 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
4080 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
4081 (test-xfail-XPG3/fcntl.h/conform): Likewise.
4082 (test-xfail-XPG3/ftw.h/conform): Likewise.
4083 (test-xfail-XPG3/grp.h/conform): Likewise.
4084 (test-xfail-XPG3/langinfo.h/conform): Likewise.
4085 (test-xfail-XPG3/limits.h/conform): Likewise.
4086 (test-xfail-XPG3/pwd.h/conform): Likewise.
4087 (test-xfail-XPG3/search.h/conform): Likewise.
4088 (test-xfail-XPG3/signal.h/conform): Likewise.
4089 (test-xfail-XPG3/stdio.h/conform): Likewise.
4090 (test-xfail-XPG3/stdlib.h/conform): Likewise.
4091 (test-xfail-XPG3/string.h/conform): Likewise.
4092 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
4093 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
4094 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
4095 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
4096 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
4097 (test-xfail-XPG3/sys/types.h/conform): Likewise.
4098 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
4099 (test-xfail-XPG3/termios.h/conform): Likewise.
4100 (test-xfail-XPG3/time.h/conform): Likewise.
4101 (test-xfail-XPG3/unistd.h/conform): Likewise.
4102 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
4103 (test-xfail-XPG4/fcntl.h/conform): Likewise.
4104 (test-xfail-XPG4/langinfo.h/conform): Likewise.
4105 (test-xfail-XPG4/netdb.h/conform): Likewise.
4106 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
4107 (test-xfail-XPG4/signal.h/conform): Likewise.
4108 (test-xfail-XPG4/stdio.h/conform): Likewise.
4109 (test-xfail-XPG4/stdlib.h/conform): Likewise.
4110 (test-xfail-XPG4/stropts.h/conform): Likewise.
4111 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
4112 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
4113 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
4114 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
4115 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
4116 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
4117 (test-xfail-XPG4/sys/time.h/conform): Likewise.
4118 (test-xfail-XPG4/sys/types.h/conform): Likewise.
4119 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
4120 (test-xfail-XPG4/termios.h/conform): Likewise.
4121 (test-xfail-XPG4/ucontext.h/conform): Likewise.
4122 (test-xfail-XPG4/unistd.h/conform): Likewise.
4123 (test-xfail-XPG4/utmpx.h/conform): Likewise.
4124 (test-xfail-POSIX/sched.h/conform): Likewise.
4125 (test-xfail-POSIX/signal.h/conform): Likewise.
4126 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
4127 (test-xfail-POSIX/tar.h/conform): Likewise.
4128 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
4129 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
4130 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
4131 (test-xfail-UNIX98/netdb.h/conform): Likewise.
4132 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
4133 (test-xfail-UNIX98/sched.h/conform): Likewise.
4134 (test-xfail-UNIX98/signal.h/conform): Likewise.
4135 (test-xfail-UNIX98/stdio.h/conform): Likewise.
4136 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
4137 (test-xfail-UNIX98/stropts.h/conform): Likewise.
4138 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
4139 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
4140 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
4141 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
4142 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
4143 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
4144 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
4145 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
4146 (test-xfail-UNIX98/unistd.h/conform): Likewise.
4147 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
4148 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
4149 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
4150 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
4151 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
4152 (test-xfail-XOPEN2K/math.h/conform): Likewise.
4153 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
4154 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
4155 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
4156 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
4157 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
4158 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
4159 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
4160 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
4161 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
4162 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
4163 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
4164 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
4165 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
4166 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
4167 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
4168 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
4169 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
4170 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
4171 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
4172 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
4173 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
4174 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
4175 (test-xfail-POSIX2008/signal.h/conform): Likewise.
4176 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
4177 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
4178 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
4179 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
4180 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
4181 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
4182 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
4183 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
4184 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
4185 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
4186 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
4187 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
4188 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
4189 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
4190 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
4191 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
4192 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
4193 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
4194 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
4195 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
4196 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
4197 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
4198 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
4199 (conformtest-cc-flags): Likewise.
4200 ($(conformtest-header-tests): New target.
4201 * conform/check-header-lists.sh: New file.
4202 * conform/run-conformtest.sh: Remove.
4204 * conform/conformtest.pl: Allow ' and \ in values given for
4206 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
4208 [POSIX] (sys/types.h): Likewise.
4209 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
4211 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
4213 * conform/data/signal.h-data (SIGIO): Remove expectation.
4214 [XPG3] (SIGBUS): Do not expect.
4215 [POSIX || XPG3] (SIGPOLL): Likewise.
4216 [POSIX || XPG3] (SIGPROF): Likewise.
4217 [POSIX || XPG3] (SIGSYS): Likewise.
4218 [XPG3] (SIGTRAP): Likewise.
4219 [POSIX || XPG3] (SIGURG): Likewise.
4220 [POSIX || XPG3] (SIGVTALRM): Likewise.
4221 [POSIX || XPG3] (SIGXCPU): Likewise.
4222 [POSIX || XPG3] (SIGXFSZ): Likewise.
4223 [POSIX] (SA_SIGINFO): Expect.
4224 [XPG3] (siginfo_t): Do not expect type or contents.
4225 [POSIX] (si_pid): Do not expect element.
4226 [POSIX] (si_uid): Likewise.
4227 [POSIX] (si_addr): Likewise.
4228 [POSIX] (si_status): Likewise.
4229 [POSIX] (si_band): Likewise.
4230 [XPG4] (si_value): Likewise.
4231 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
4232 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
4233 [POSIX || XPG3] (ILL_ILLADR): Likewise.
4234 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
4235 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
4236 [POSIX || XPG3] (ILL_PRVREG): Likewise.
4237 [POSIX || XPG3] (ILL_COPROC): Likewise.
4238 [POSIX || XPG3] (ILL_BADSTK): Likewise.
4239 [POSIX || XPG3] (FPE_INTDIV): Likewise.
4240 [POSIX || XPG3] (FPE_INTOVF): Likewise.
4241 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
4242 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
4243 [POSIX || XPG3] (FPE_FLTUND): Likewise.
4244 [POSIX || XPG3] (FPE_FLTRES): Likewise.
4245 [POSIX || XPG3] (FPE_FLTINV): Likewise.
4246 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
4247 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
4248 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
4249 [POSIX || XPG3] (BUS_ADRALN): Likewise.
4250 [POSIX || XPG3] (BUS_ADRERR): Likewise.
4251 [POSIX || XPG3] (BUS_OBJERR): Likewise.
4252 [POSIX || XPG3] (CLD_EXITED): Likewise.
4253 [POSIX || XPG3] (CLD_KILLED): Likewise.
4254 [POSIX || XPG3] (CLD_DUMPED): Likewise.
4255 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
4256 [POSIX || XPG3] (CLD_STOPPED): Likewise.
4257 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
4258 [POSIX || XPG3] (POLL_IN): Likewise.
4259 [POSIX || XPG3] (POLL_OUT): Likewise.
4260 [POSIX || XPG3] (POLL_MSG): Likewise.
4261 [POSIX || XPG3] (POLL_ERR): Likewise.
4262 [POSIX || XPG3] (POLL_PRI): Likewise.
4263 [POSIX || XPG3] (POLL_HUP): Likewise.
4264 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
4265 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
4266 (SIG*): Do not allow.
4267 [XPG3] (si_*): Likewise.
4268 [XPG3] (SI_*): Likewise.
4269 [XPG3 || XPG4] (sigev_*): Likewise.
4270 [XPG3 || XPG4] (SIGEV_*): Likewise.
4271 [XPG3 || XPG4] (sival_*): Likewise.
4272 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
4273 [POSIX || XPG3] (BUS_*): Likewise.
4274 [POSIX || XPG3] (CLD_*): Likewise.
4275 [POSIX || XPG3] (FPE_*): Likewise.
4276 [POSIX || XPG3] (ILL_*): Likewise.
4277 [POSIX || XPG3] (POLL_*): Likewise.
4278 [POSIX || XPG3] (SEGV_*): Likewise.
4279 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
4280 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
4281 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
4282 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
4283 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
4284 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
4285 Specify type and value.
4286 (TVERSLEN): Likewise.
4287 (REGTYPE): Likewise.
4288 (AREGTYPE): Likewise.
4289 (LNKTYPE): Likewise.
4290 (SYMTYPE): Likewise.
4291 (CHRTYPE): Likewise.
4292 (BLKTYPE): Likewise.
4293 (DIRTYPE): Likewise.
4294 (FIFOTYPE): Likewise.
4295 (CONTTYPE): Likewise.
4300 (TUWRITE): Likewise.
4303 (TGWRITE): Likewise.
4306 (TOWRITE): Likewise.
4308 [POSIX] (TSVTX): Expect constant.
4310 2014-03-06 Joseph Myers <joseph@codesourcery.com>
4312 * Makefile (tests): Change dependencies to ....
4313 (tests-special): ... additions to this variable.
4314 (tests): Depend on $(tests-special).
4315 * Makerules (check-abi-list): New variable.
4316 (check-abi): Depend on $(check-abi-list).
4317 [$(subdir) = elf] (tests-special): Add
4318 $(objpfx)check-abi-libc.out.
4319 [$(build-shared) = yes && subdir] (tests-special): Add
4321 [$(build-shared) = yes && subdir] (tests): Do not depend on
4323 * Rules (tests): Depend on $(tests-special).
4324 (xtests): Depend on $(xtests-special).
4325 * catgets/Makefile (tests): Change dependencies to ....
4326 (tests-special): ... additions to this variable.
4327 * conform/Makefile (tests): Change dependencies to ....
4328 (tests-special): ... additions to this variable.
4329 * elf/Makefile (tests): Change dependencies to ....
4330 (tests-special): ... additions to this variable.
4331 * grp/Makefile (tests): Change dependencies to ....
4332 (tests-special): ... additions to this variable.
4333 * iconv/Makefile (xtests): Change dependencies to ....
4334 (xtests-special): ... additions to this variable.
4335 * iconvdata/Makefile (tests): Change dependencies to ....
4336 (tests-special): ... additions to this variable.
4337 * intl/Makefile (tests): Change dependencies to ....
4338 (tests-special): ... additions to this variable. Also add
4339 $(objpfx)tst-gettext.out.
4340 * io/Makefile (tests): Change dependencies to ....
4341 (tests-special): ... additions to this variable.
4342 * libio/Makefile (tests): Change dependencies to ....
4343 (tests-special): ... additions to this variable.
4344 * malloc/Makefile (tests): Change dependencies to ....
4345 (tests-special): ... additions to this variable.
4346 * misc/Makefile (tests): Change dependencies to ....
4347 (tests-special): ... additions to this variable.
4348 * nptl/Makefile (tests): Change dependencies to ....
4349 (tests-special): ... additions to this variable.
4350 * nptl_db/Makefile (tests): Change dependencies to ....
4351 (tests-special): ... additions to this variable.
4352 * posix/Makefile (tests): Change dependencies to ....
4353 (tests-special): ... additions to this variable.
4354 (xtests): Change dependencies to ....
4355 (xtests-special): ... additions to this variable.
4356 * resolv/Makefile (tests): Change dependencies to ....
4357 (tests-special): ... additions to this variable.
4358 (xtests): Change dependencies to ....
4359 (xtests-special): ... additions to this variable.
4360 * stdio-common/Makefile (tests): Change dependencies to ....
4361 (tests-special): ... additions to this variable.
4362 (do-tst-unbputc): Remove target.
4363 (do-tst-printf): Likewise.
4364 * stdlib/Makefile (tests): Change dependencies to ....
4365 (tests-special): ... additions to this variable.
4366 * string/Makefile (tests): Change dependencies to ....
4367 (tests-special): ... additions to this variable.
4368 * sysdeps/x86/Makefile (tests): Change dependencies to ....
4369 (tests-special): ... additions to this variable.
4371 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
4373 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
4375 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
4376 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
4378 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
4379 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
4380 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
4381 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
4382 * conform/data/libgen.h-data [XPG3]: Likewise.
4383 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
4384 * conform/data/ndbm.h-data [XPG3]: Likewise.
4385 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
4386 * conform/data/netdb.h-data [XPG3]: Likewise.
4387 * conform/data/netinet/in.h-data [XPG3]: Likewise.
4388 * conform/data/poll.h-data [XPG3]: Likewise.
4389 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
4390 * conform/data/strings.h-data [XPG3]: Likewise.
4391 * conform/data/stropts.h-data [XPG3]: Likewise.
4392 * conform/data/sys/mman.h-data [XPG3]: Likewise.
4393 * conform/data/sys/resource.h-data [XPG3]: Likewise.
4394 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
4396 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
4397 * conform/data/sys/time.h-data [XPG3]: Likewise.
4398 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
4399 * conform/data/sys/uio.h-data [XPG3]: Likewise.
4400 * conform/data/sys/un.h-data [XPG3]: Likewise.
4401 * conform/data/syslog.h-data [XPG3]: Likewise.
4402 * conform/data/ucontext.h-data [XPG3]: Likewise.
4403 * conform/data/utmpx.h-data [XPG3]: Likewise.
4404 * conform/data/varargs.h-data [UNIX98]: Enable file.
4406 * manual/Makefile (INSTALL_INFO): Remove variable setting.
4408 * math/libm-test.inc (struct test_f_f_data): Move expected results
4409 into structure for each rounding mode.
4410 (struct test_ff_f_data): Likewise.
4411 (struct test_ff_f_data_nexttoward): Likewise.
4412 (struct test_fi_f_data): Likewise.
4413 (struct test_fl_f_data): Likewise.
4414 (struct test_if_f_data): Likewise.
4415 (struct test_fff_f_data): Likewise.
4416 (struct test_c_f_data): Likewise.
4417 (struct test_f_f1_data): Likewise.
4418 (struct test_fF_f1_data): Likewise.
4419 (struct test_ffI_f1_data): Likewise.
4420 (struct test_c_c_data): Likewise.
4421 (struct test_cc_c_data): Likewise.
4422 (struct test_f_i_data): Likewise.
4423 (struct test_ff_i_data): Likewise.
4424 (struct test_f_l_data): Likewise.
4425 (struct test_f_L_data): Likewise.
4426 (struct test_fFF_11_data): Likewise.
4428 (RM_FE_DOWNWARD): Likewise.
4429 (RM_FE_TONEAREST): Likewise.
4430 (RM_FE_TOWARDZERO): Likewise.
4431 (RM_FE_UPWARD): Likewise.
4432 (RUN_TEST_LOOP_f_f): Update references to expected results.
4433 (RUN_TEST_LOOP_2_f): Likewise.
4434 (RUN_TEST_LOOP_fff_f): Likewise.
4435 (RUN_TEST_LOOP_c_f): Likewise.
4436 (RUN_TEST_LOOP_f_f1): Likewise.
4437 (RUN_TEST_LOOP_fF_f1): Likewise.
4438 (RUN_TEST_LOOP_fI_f1): Likewise.
4439 (RUN_TEST_LOOP_ffI_f1): Likewise.
4440 (RUN_TEST_LOOP_c_c): Likewise.
4441 (RUN_TEST_LOOP_cc_c): Likewise.
4442 (RUN_TEST_LOOP_f_i): Likewise.
4443 (RUN_TEST_LOOP_f_i_tg): Likewise.
4444 (RUN_TEST_LOOP_ff_i_tg): Likewise.
4445 (RUN_TEST_LOOP_f_b): Likewise.
4446 (RUN_TEST_LOOP_f_b_tg): Likewise.
4447 (RUN_TEST_LOOP_f_l): Likewise.
4448 (RUN_TEST_LOOP_f_L): Likewise.
4449 (RUN_TEST_LOOP_fFF_11): Likewise.
4450 * math/gen-libm-test.pl (parse_args): Output four copies of
4451 expected results for each test.
4453 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4454 (__ASSUME_UTIMES): Remove.
4455 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4456 (__ASSUME_UTIMES): Likewise.
4458 * math/gen-auto-libm-tests.c: Update comment on output format.
4459 (output_for_one_input_case): Generate before-rounding and
4460 after-rounding information as conditions on output flags not
4461 floating-point format.
4462 * math/auto-libm-test-out: Regenerated.
4463 * math/gen-libm-test.pl (cond_value): New function.
4464 (or_cond_value): Use cond_value.
4465 (generate_testfile): Handle conditional exceptions.
4467 2014-03-05 Joseph Myers <joseph@codesourcery.com>
4469 * math/libm-test.inc (max_valid_error): New variable.
4470 (init_max_error): Take new argument specifying whether function
4471 results are exactly determined. Set max_valid_error and bound
4472 other variables for errors based on this argument.
4473 (set_max_error): Do not record results above max_valid_error.
4474 (check_float_internal): Only accept errors of up to 0.5ulps if
4475 also at most max_valid_error.
4476 (START): Take new argument EXACT and pass it to init_max_error.
4477 (acos_test): Update call to START.
4478 (acos_test_tonearest): Likewise.
4479 (acos_test_towardzero): Likewise.
4480 (acos_test_downward): Likewise.
4481 (acos_test_upward): Likewise.
4482 (acosh_test): Likewise.
4483 (asin_test): Likewise.
4484 (asin_test_tonearest): Likewise.
4485 (asin_test_towardzero): Likewise.
4486 (asin_test_downward): Likewise.
4487 (asin_test_upward): Likewise.
4488 (asinh_test): Likewise.
4489 (atan_test): Likewise.
4490 (atanh_test): Likewise.
4491 (atan2_test): Likewise.
4492 (cabs_test): Likewise.
4493 (cacos_test): Likewise.
4494 (cacosh_test): Likewise.
4495 (carg_test): Likewise.
4496 (casin_test): Likewise.
4497 (casinh_test): Likewise.
4498 (catan_test): Likewise.
4499 (catanh_test): Likewise.
4500 (cbrt_test): Likewise.
4501 (ccos_test): Likewise.
4502 (ccosh_test): Likewise.
4503 (ceil_test): Likewise.
4504 (cexp_test): Likewise.
4505 (cimag_test): Likewise.
4506 (clog_test): Likewise.
4507 (clog10_test): Likewise.
4508 (conj_test): Likewise.
4509 (copysign_test): Likewise.
4510 (cos_test): Likewise.
4511 (cos_test_tonearest): Likewise.
4512 (cos_test_towardzero): Likewise.
4513 (cos_test_downward): Likewise.
4514 (cos_test_upward): Likewise.
4515 (cosh_test): Likewise.
4516 (cosh_test_tonearest): Likewise.
4517 (cosh_test_towardzero): Likewise.
4518 (cosh_test_downward): Likewise.
4519 (cosh_test_upward): Likewise.
4520 (cpow_test): Likewise.
4521 (cproj_test): Likewise.
4522 (creal_test): Likewise.
4523 (csin_test): Likewise.
4524 (csinh_test): Likewise.
4525 (csqrt_test): Likewise.
4526 (ctan_test): Likewise.
4527 (ctan_test_tonearest): Likewise.
4528 (ctan_test_towardzero): Likewise.
4529 (ctan_test_downward): Likewise.
4530 (ctan_test_upward): Likewise.
4531 (ctanh_test): Likewise.
4532 (ctanh_test_tonearest): Likewise.
4533 (ctanh_test_towardzero): Likewise.
4534 (ctanh_test_downward): Likewise.
4535 (ctanh_test_upward): Likewise.
4536 (erf_test): Likewise.
4537 (erfc_test): Likewise.
4538 (exp_test): Likewise.
4539 (exp_test_tonearest): Likewise.
4540 (exp_test_towardzero): Likewise.
4541 (exp_test_downward): Likewise.
4542 (exp_test_upward): Likewise.
4543 (exp10_test): Likewise.
4544 (exp10_test_tonearest): Likewise.
4545 (exp10_test_towardzero): Likewise.
4546 (exp10_test_downward): Likewise.
4547 (exp10_test_upward): Likewise.
4548 (pow10_test): Likewise.
4549 (exp2_test): Likewise.
4550 (expm1_test): Likewise.
4551 (expm1_test_tonearest): Likewise.
4552 (expm1_test_towardzero): Likewise.
4553 (expm1_test_downward): Likewise.
4554 (expm1_test_upward): Likewise.
4555 (fabs_test): Likewise.
4556 (fdim_test): Likewise.
4557 (floor_test): Likewise.
4558 (fma_test): Likewise.
4559 (fma_test_towardzero): Likewise.
4560 (fma_test_downward): Likewise.
4561 (fma_test_upward): Likewise.
4562 (fmax_test): Likewise.
4563 (fmin_test): Likewise.
4564 (fmod_test): Likewise.
4565 (fpclassify_test): Likewise.
4566 (frexp_test): Likewise.
4567 (hypot_test): Likewise.
4568 (ilogb_test): Likewise.
4569 (isfinite_test): Likewise.
4570 (finite_test): Likewise.
4571 (isgreater_test): Likewise.
4572 (isgreaterequal_test): Likewise.
4573 (isinf_test): Likewise.
4574 (isless_test): Likewise.
4575 (islessequal_test): Likewise.
4576 (islessgreater_test): Likewise.
4577 (isnan_test): Likewise.
4578 (isnormal_test): Likewise.
4579 (issignaling_test): Likewise.
4580 (isunordered_test): Likewise.
4581 (j0_test): Likewise.
4582 (j1_test): Likewise.
4583 (jn_test): Likewise.
4584 (ldexp_test): Likewise.
4585 (lgamma_test): Likewise.
4586 (gamma_test): Likewise.
4587 (lrint_test): Likewise.
4588 (lrint_test_tonearest): Likewise.
4589 (lrint_test_towardzero): Likewise.
4590 (lrint_test_downward): Likewise.
4591 (lrint_test_upward): Likewise.
4592 (llrint_test): Likewise.
4593 (llrint_test_tonearest): Likewise.
4594 (llrint_test_towardzero): Likewise.
4595 (llrint_test_downward): Likewise.
4596 (llrint_test_upward): Likewise.
4597 (log_test): Likewise.
4598 (log10_test): Likewise.
4599 (log1p_test): Likewise.
4600 (log2_test): Likewise.
4601 (logb_test): Likewise.
4602 (logb_test_downward): Likewise.
4603 (lround_test): Likewise.
4604 (llround_test): Likewise.
4605 (modf_test): Likewise.
4606 (nearbyint_test): Likewise.
4607 (nextafter_test): Likewise.
4608 (nexttoward_test): Likewise.
4609 (pow_test): Likewise.
4610 (pow_test_tonearest): Likewise.
4611 (pow_test_towardzero): Likewise.
4612 (pow_test_downward): Likewise.
4613 (pow_test_upward): Likewise.
4614 (remainder_test): Likewise.
4615 (drem_test): Likewise.
4616 (remainder_test_tonearest): Likewise.
4617 (drem_test_tonearest): Likewise.
4618 (remainder_test_towardzero): Likewise.
4619 (drem_test_towardzero): Likewise.
4620 (remainder_test_downward): Likewise.
4621 (drem_test_downward): Likewise.
4622 (remainder_test_upward): Likewise.
4623 (drem_test_upward): Likewise.
4624 (remquo_test): Likewise.
4625 (rint_test): Likewise.
4626 (rint_test_tonearest): Likewise.
4627 (rint_test_towardzero): Likewise.
4628 (rint_test_downward): Likewise.
4629 (rint_test_upward): Likewise.
4630 (round_test): Likewise.
4631 (scalb_test): Likewise.
4632 (scalbn_test): Likewise.
4633 (scalbln_test): Likewise.
4634 (signbit_test): Likewise.
4635 (sin_test): Likewise.
4636 (sin_test_tonearest): Likewise.
4637 (sin_test_towardzero): Likewise.
4638 (sin_test_downward): Likewise.
4639 (sin_test_upward): Likewise.
4640 (sincos_test): Likewise.
4641 (sinh_test): Likewise.
4642 (sinh_test_tonearest): Likewise.
4643 (sinh_test_towardzero): Likewise.
4644 (sinh_test_downward): Likewise.
4645 (sinh_test_upward): Likewise.
4646 (sqrt_test): Likewise.
4647 (sqrt_test_tonearest): Likewise.
4648 (sqrt_test_towardzero): Likewise.
4649 (sqrt_test_downward): Likewise.
4650 (sqrt_test_upward): Likewise.
4651 (tan_test): Likewise.
4652 (tan_test_tonearest): Likewise.
4653 (tan_test_towardzero): Likewise.
4654 (tan_test_downward): Likewise.
4655 (tan_test_upward): Likewise.
4656 (tanh_test): Likewise.
4657 (tgamma_test): Likewise.
4658 (trunc_test): Likewise.
4659 (y0_test): Likewise.
4660 (y1_test): Likewise.
4661 (yn_test): Likewise.
4662 (significand_test): Likewise.
4664 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
4665 individual tests in comment.
4666 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
4667 (prev_max_error): New variable.
4668 (prev_real_max_error): Likewise.
4669 (prev_imag_max_error): Likewise.
4670 (compare_ulp_data): Don't refer to test names in comment.
4671 (find_test_ulps): Remove function.
4672 (find_function_ulps): Likewise.
4673 (find_complex_function_ulps): Likewise.
4674 (init_max_error): Take function name as argument. Look up ulps
4676 (print_ulps): Remove function.
4677 (print_max_error): Use prev_max_error instead of calling
4679 (print_complex_max_error): Use prev_real_max_error and
4680 prev_imag_max_error instead of calling find_complex_function_ulps.
4681 (check_float_internal): Take max_ulp parameter instead of calling
4682 find_test_ulps. Don't call print_ulps.
4683 (check_float): Update call to check_float_internal.
4684 (check_complex): Update calls to check_float_internal.
4685 (START): Pass argument to init_max_error.
4686 * math/gen-libm-test.pl (%results): Don't include "kind"
4688 (parse_ulps): Don't handle ulps of individual tests.
4689 (print_ulps_file): Likewise.
4690 (output_ulps): Likewise.
4691 * math/README.libm-test: Update.
4692 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
4694 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
4695 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
4696 * sysdeps/arm/libm-test-ulps: Likewise.
4697 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
4698 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
4699 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
4700 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
4701 * sysdeps/microblaze/libm-test-ulps: Likewise.
4702 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
4703 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4704 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4705 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
4706 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4707 * sysdeps/sh/libm-test-ulps: Likewise.
4708 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4709 * sysdeps/tile/libm-test-ulps: Likewise.
4710 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4712 2014-03-04 Joseph Myers <joseph@codesourcery.com>
4714 * math/libm-test.inc (print_complex_max_error): Check separately
4715 whether real and imaginary errors are within allowed range and
4716 pass 0 to print_complex_function_ulps instead of value within
4719 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4721 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
4723 (get_handles_fopen): Likewise.
4724 (do_write_test): Likewise.
4726 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
4728 * libio/fileops.c (do_ftell): Use cached offset when
4730 * libio/iofwide.c (do_ftell_wide): Likewise.
4731 * libio/iofdopen.c (_IO_new_fdopen): Don't use
4733 * libio/wfileops.c (_IO_fwide): Don't cache offset.
4736 * libio/libioP.h (get_file_offset): New function.
4737 * libio/fileops.c (get_file_offset): Likewise.
4738 (do_ftell): Likewise.
4739 (_IO_new_file_seekoff): Split out ftell logic.
4740 * libio/wfileops.c (do_ftell_wide): Likewise.
4741 (_IO_wfile_seekoff): Split out ftell logic.
4742 * libio/tst-ftell-active-handler.c: New test case.
4743 * libio/Makefile (tests): Add it.
4745 2014-03-03 Roland McGrath <roland@hack.frob.com>
4747 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
4748 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
4750 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4753 * nscd/connections.c (nscd_init): Call do_exit.
4754 (start_threads): Call do_exit and notify_parent.
4755 (begin_drop_privileges): Call do_exit.
4756 (finish_drop_privileges): Likewise.
4757 * nscd/selinux.c (preserve_capabilities): Likewise.
4758 (install_real_capabilities): Likewise.
4759 (nscd_selinux_enabled): Likewise.
4760 (avc_create_thread): Likewise.
4761 (avc_alloc_lock): Likewise.
4762 (nscd_avc_init): Likewise.
4763 * nscd/nscd.c (parent_fd): New static variable.
4764 (main): Create a pipe between parent and child processes.
4765 Skip closing parent_fd.
4766 (monitor_child): New function.
4767 (do_exit): Likewise.
4768 (notify_parent): Likewise.
4769 * nscd/nscd.h (notify_parent): Likewise.
4770 (do_exit): Likewise.
4772 2014-03-03 Carlos O'Donell <carlos@redhat.com>
4774 * malloc/malloc.c (__libc_calloc): Revert last change.
4776 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4778 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4780 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4782 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
4783 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
4785 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4786 (__libc_ifunc_impl_list): Likewise.
4787 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
4788 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
4789 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
4790 * string/strrchr.c: Define STRRCHR.
4792 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
4794 * benchtest/bench-strtok.c (simple_strtok): Delete.
4795 (strtok_string): Use as benchmark.
4796 * string/strtok (STRTOK): New macro.
4798 2014-02-28 Carlos O'Donell <carlos@redhat.com>
4800 * manual/threads.texi: Add header and standard comments to all
4803 * elf/dl-lookup.c (check_match): New function.
4804 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
4805 (do_lookup_x): Remove nested function check_match. Use non-nested
4806 function check_match.
4808 2014-02-28 Roland McGrath <roland@hack.frob.com>
4810 * csu/Makefile (generated, before-compile): Use += rather than =.
4811 * catgets/Makefile (generated, generated-dirs): Likewise.
4812 * debug/Makefile (generated): Likewise.
4813 * dlfcn/Makefile (generated): Likewise.
4814 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
4815 * iconvdata/Makefile (before-compile, generated): Likewise.
4816 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
4817 * libio/Makefile (generated): Likewise.
4818 * malloc/Makefile (generated): Likewise.
4819 * manual/Makefile (generated, generated-dirs): Likewise.
4820 * misc/Makefile (generated): Likewise.
4821 * posix/Makefile (generated): Likewise.
4822 * resolv/Makefile (generated): Likewise.
4823 * sunrpc/Makefile (generated, generated-dirs): Likewise.
4824 * timezone/Makefile (generated, generated-dirs): Likewise.
4826 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
4828 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4830 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
4831 power8 implementation.
4832 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
4833 file: POWER8 llround ifunc implementation.
4834 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
4835 (__lllround): Add POWER8 implementation.
4836 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
4837 POWER8 llround implementation.
4839 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
4840 power8 implementation.
4841 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
4842 file: POWER8 llrint ifunc implementation.
4843 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
4844 Add POWER8 implementation.
4845 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
4846 POWER8 llrint implementation.
4848 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
4849 power8 implementation.
4850 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
4851 file: POWER8 finite ifunc implementation.
4852 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
4853 Add POWER8 implementation.
4854 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
4856 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
4857 POWER8 finite implementation.
4858 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
4860 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
4861 power8 implementation.
4862 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
4863 file: POWER8 isinf ifunc implementation.
4864 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
4865 POWER8 implementation.
4866 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
4868 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
4869 isinf implementation.
4870 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
4872 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
4873 (INIT_ARCH): Add hwcap2 initialization.
4874 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
4875 power8 implementation.
4876 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
4877 file: POWER8 isnan ifunc implementation.
4878 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
4879 POWER8 implementation.
4880 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
4882 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
4883 isnan implementation.
4884 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
4886 2014-02-27 Joey Ye <joey.ye@arm.com>
4888 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
4889 (_FP_NANFRAC_Q): Set to zero.
4891 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4894 * math/auto-libm-test-in: New test inputs.
4895 * math/auto-libm-test-out: Regenerate.
4896 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
4899 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
4901 2014-02-27 Joseph Myers <joseph@codesourcery.com>
4903 * scripts/evaluate-test.sh: Take new argument indicating whether
4904 failure is expected.
4905 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
4906 indicating whether failure is expected.
4907 * conform/Makefile (test-xfail-run-conformtest): New variable.
4908 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
4910 * posix/Makefile (test-xfail-annexc): New variable.
4911 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
4913 2014-02-26 Joseph Myers <joseph@codesourcery.com>
4915 * argp/Makefile: Include Makeconfig immediately after defining
4917 * assert/Makefile: Likewise.
4918 * benchtests/Makefile: Likewise.
4919 * catgets/Makefile: Likewise.
4920 * conform/Makefile: Likewise.
4921 * crypt/Makefile: Likewise.
4922 * csu/Makefile: Likewise.
4923 (all): Remove target.
4924 * ctype/Makefile: Include Makeconfig immediately after defining
4926 * debug/Makefile: Likewise.
4927 * dirent/Makefile: Likewise.
4928 * dlfcn/Makefile: Likewise.
4929 * gmon/Makefile: Likewise.
4930 * gnulib/Makefile: Likewise.
4931 * grp/Makefile: Likewise.
4932 * gshadow/Makefile: Likewise.
4933 * hesiod/Makefile: Likewise.
4934 * hurd/Makefile: Likewise.
4935 (all): Remove target.
4936 * iconvdata/Makefile: Include Makeconfig immediately after
4938 * inet/Makefile: Likewise.
4939 * intl/Makefile: Likewise.
4940 * io/Makefile: Likewise.
4941 * libio/Makefile: Likewise.
4942 (all): Remove target.
4943 * locale/Makefile: Include Makeconfig immediately after defining
4945 * login/Makefile: Likewise.
4946 * mach/Makefile: Likewise.
4947 (all): Remove target.
4948 * malloc/Makefile: Include Makeconfig immediately after defining
4950 (all): Remove target.
4951 * manual/Makefile: Include Makeconfig immediately after defining
4953 * math/Makefile: Likewise.
4954 * misc/Makefile: Likewise.
4955 * nis/Makefile: Likewise.
4956 * nss/Makefile: Likewise.
4957 * po/Makefile: Likewise.
4958 (all): Remove target.
4959 * posix/Makefile: Include Makeconfig immediately after defining
4961 * pwd/Makefile: Likewise.
4962 * resolv/Makefile: Likewise.
4963 * resource/Makefile: Likewise.
4964 * rt/Makefile: Likewise.
4965 * setjmp/Makefile: Likewise.
4966 * shadow/Makefile: Likewise.
4967 * signal/Makefile: Likewise.
4968 * socket/Makefile: Likewise.
4969 * soft-fp/Makefile: Likewise.
4970 * stdio-common/Makefile: Likewise.
4971 * stdlib/Makefile: Likewise.
4972 * streams/Makefile: Likewise.
4973 * string/Makefile: Likewise.
4974 * sunrpc/Makefile: Likewise.
4975 (all): Remove target.
4976 * sysvipc/Makefile: Include Makeconfig immediately after defining
4978 * termios/Makefile: Likewise.
4979 * time/Makefile: Likewise.
4980 * timezone/Makefile: Likewise.
4981 (all): Remove target.
4982 * wcsmbs/Makefile: Include Makeconfig immediately after defining
4984 * wctype/Makefile: Likewise.
4986 2014-02-26 Steve Ellcey <sellcey@mips.com>
4988 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
4989 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
4990 (libc_feholdexcept_setround_mips): Ditto.
4991 (libc_feholdsetround): New.
4992 (libc_feholdsetroundf): New.
4993 (libc_feholdsetroundl): New.
4994 (libc_feupdateenv_test_mips): New.
4995 (libc_feupdateenv_test): New.
4996 (libc_feupdateenv_testf): New.
4997 (libc_feupdateenv_testl): New.
4998 (libc_feresetround): New.
4999 (libc_feresetroundf): New.
5000 (libc_feresetroundl): New.
5001 (libc_fetestexcept_mips): New.
5002 (libc_fetestexcept): New.
5003 (libc_fetestexceptf): New.
5004 (libc_fetestexceptl): New.
5006 (libc_feholdexcept_setround_mips_ctx): New.
5007 (libc_feholdexcept_setround_ctx): New.
5008 (libc_feholdexcept_setroundf_ctx): New.
5009 (libc_feholdexcept_setroundl_ctx): New.
5010 (libc_fesetenv_mips_ctx): New.
5011 (libc_fesetenv_ctx): New.
5012 (libc_fesetenv_ctxf): New.
5013 (libc_fesetenv_ctxl): New.
5014 (libc_feupdateenv_mips_ctx): New.
5015 (libc_feupdateenv_ctx): New.
5016 (libc_feupdateenvf_ctx): New.
5017 (libc_feupdateenvl_ctx): New.
5018 (libc_feholdsetround_mips_ctx): New.
5019 (libc_feholdsetround_ctx): New.
5020 (libc_feholdsetroundf_ctx): New.
5021 (libc_feholdsetroundl_ctx): New.
5022 (libc_feresetround_mips_ctx): New.
5023 (libc_feresetround_ctx): New.
5024 (libc_feresetroundf_ctx): New.
5025 (libc_feresetroundl_ctx): New.
5027 2014-02-26 Carlos O'Donell <carlos@redhat.com>
5029 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
5031 * manual/ipc.texi: New file.
5032 * manual/Makefile (chapters): Add ipc.
5033 * manual/job.texi: Add "Inter-Process Communication" to next.
5034 * manual/process.texi: Add "Inter-Process Communication" to prev.
5036 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5038 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5040 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
5042 * malloc/malloc.c (__libc_calloc): Simplify implementation.
5044 * manual/arith.texi: Fix spaces after sentences.
5045 * manual/charset.texi: Likewise.
5046 * manual/errno.texi: Likewise.
5047 * manual/install.texi: Likewise.
5048 * manual/llio.texi: Likewise.
5049 * manual/locale.texi: Likewise.
5050 * manual/maint.texi: Likewise.
5051 * manual/math.texi: Likewise.
5052 * manual/memory.texi: Likewise.
5053 * manual/message.texi: Likewise.
5054 * manual/probes.texi: Likewise.
5055 * manual/resource.texi: Likewise.
5056 * manual/signal.texi: Likewise.
5057 * manual/socket.texi: Likewise.
5058 * manual/stdio.texi: Likewise.
5059 * manual/string.texi: Likewise.
5060 * manual/time.texi: Likewise.
5061 * manual/users.texi: Likewise.
5063 2014-02-25 Carlos O'Donell <carlos@redhat.com>
5066 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
5067 _DEFAULT_SOURCE is defined.
5069 2014-02-25 Ulrich Drepper <drepper@gmail.com>
5070 Carlos O'Donell <carlos@redhat.com>
5073 * elf/dl-tls.c (_dl_count_modids): New function.
5074 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
5075 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
5076 audit library and increment generation counter.
5077 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
5078 * elf/tst-audit9.c: New file.
5079 * elf/tst-auditmod9a.c: New file.
5080 * elf/tst-auditmod9b.c: New file.
5081 * elf/Makefile: Add rules to build and run tst-audit9.
5083 2014-02-25 Florian Weimer <fweimer@redhat.com>
5086 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
5088 2014-02-25 Will Newton <will.newton@linaro.org>
5090 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
5091 (__longjmp): Restore sp and lr before restoring callee
5092 saved registers. Add longjmp and longjmp_target
5093 SystemTap probe point.
5094 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
5095 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
5096 Define to zero to match jmpbuf layout.
5097 * sysdeps/arm/setjmp.S: Include stap-probe.h.
5098 (__sigsetjmp): Save sp and lr before saving callee
5099 saved registers. Add setjmp SystemTap probe point.
5101 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
5103 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5105 2014-02-24 Andreas Schwab <schwab@suse.de>
5108 * elf/pldd.c (wait_for_ptrace_stop): New function.
5109 (main): Call it after attaching.
5111 2014-02-22 Roland McGrath <roland@hack.frob.com>
5113 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
5114 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
5115 Versions files is now verboten.
5116 * hurd/Versions (libc: GLIBC_2.0):
5117 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
5118 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
5119 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
5120 * mach/Versions: Likewise.
5122 * csu/Versions: Remove unused %include.
5123 * resolv/Versions: Likewise.
5125 2014-02-21 Joseph Myers <joseph@codesourcery.com>
5127 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
5128 ($(objpfx)check-local-headers.out): Likewise.
5129 ($(objpfx)begin-end-check.out): Likewise.
5130 * Makerules (check-abi-%.out): Likewise.
5131 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
5132 ($(objpfx)test2.cat): Likewise.
5133 ($(objpfx)de/libc.cat): Likewise.
5134 ($(objpfx)test-gencat.out): Likewise.
5135 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
5136 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
5137 ($(objpfx)noload-mem): Likewise.
5138 ($(objpfx)tst-pathopt.out): Likewise.
5139 ($(objpfx)tst-rtld-load-self.out): Likewise.
5140 ($(objpfx)tst-array1-cmp.out): Likewise.
5141 ($(objpfx)tst-array1-static-cmp.out): Likewise.
5142 ($(objpfx)tst-array2-cmp.out): Likewise.
5143 ($(objpfx)tst-array3-cmp.out): Likewise.
5144 ($(objpfx)tst-array4-cmp.out): Likewise.
5145 ($(objpfx)tst-array5-cmp.out): Likewise.
5146 ($(objpfx)tst-array5-static-cmp.out): Likewise.
5147 ($(objpfx)check-textrel.out): Likewise.
5148 ($(objpfx)check-execstack.out): Likewise.
5149 ($(objpfx)check-localplt.out): Likewise.
5150 ($(objpfx)order2-cmp.out): Likewise.
5151 ($(objpfx)tst-leaks1-mem): Likewise.
5152 ($(objpfx)tst-leaks1-static-mem): Likewise.
5153 ($(objpfx)tst-initorder-cmp.out): Likewise.
5154 ($(objpfx)tst-initorder2-cmp.out): Likewise.
5155 ($(objpfx)tst-unused-dep.out): Likewise.
5156 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
5157 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
5158 * iconv/Makefile (test-iconvconfig): Likewise.
5159 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
5160 ($(objpfx)iconv-test.out): Likewise.
5161 ($(objpfx)tst-tables.out): Likewise.
5162 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
5163 ($(objpfx)tst-gettext.out): Likewise.
5164 ($(objpfx)tst-translit.out): Likewise.
5165 ($(objpfx)tst-gettext2.out): Likewise.
5166 ($(objpfx)tst-gettext4.out): Likewise.
5167 ($(objpfx)tst-gettext6.out): Likewise.
5168 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
5169 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
5170 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
5171 ($(objpfx)tst-fopenloc-mem.out): Likewise.
5172 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
5173 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
5174 * posix/Makefile ($(objpfx)globtest.out): Likewise.
5175 ($(objpfx)wordexp-tst.out): Likewise.
5176 ($(objpfx)annexc.out): Likewise.
5177 ($(objpfx)tst-fnmatch-mem): Likewise.
5178 ($(objpfx)bug-regex2-mem): Likewise.
5179 ($(objpfx)bug-regex14-mem): Likewise.
5180 ($(objpfx)bug-regex21-mem): Likewise.
5181 ($(objpfx)bug-regex31-mem): Likewise.
5182 ($(objpfx)tst-vfork3-mem): Likewise.
5183 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
5184 ($(objpfx)tst-pcre-mem): Likewise.
5185 ($(objpfx)tst-boost-mem): Likewise.
5186 ($(objpfx)tst-getconf.out): Likewise.
5187 ($(objpfx)bug-ga2-mem): Likewise.
5188 ($(objpfx)bug-glob2-mem): Likewise.
5189 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
5190 ($(objpfx)mtrace-tst-leaks2): Likewise.
5191 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
5192 ($(objpfx)tst-printf.out): Likewise.
5193 ($(objpfx)tst-setvbuf1.out): Likewise.
5194 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
5195 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
5196 ($(objpfx)tst-fmtmsg.out): Likewise.
5197 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
5198 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
5200 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
5201 * bits/sigaction.h [__USE_MISC]: Likewise.
5202 * bits/waitstatus.h: Update #endif comments.
5203 * ctype/ctype.h: Likewise.
5204 * dirent/dirent.h: Likewise.
5205 [__USE_MISC]: Remove redundant conditionals.
5206 * grp/grp.h: Update #endif comments.
5207 [__USE_GNU]: Remove redundant conditionals.
5208 [__USE_MISC]: Likewise.
5209 * inet/netinet/in.h [__USE_GNU]: Likewise.
5210 * io/sys/stat.h [__USE_MISC]: Likewise.
5211 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
5212 * libio/bits/stdio.h: Update #endif comments.
5213 [__USE_MISC]: Remove redundant conditionals.
5214 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
5215 * libio/stdio.h: Update #endif comments.
5216 [__USE_MISC]: Remove redundant conditionals.
5217 * math/bits/math-finite.h [__USE_MISC]: Likewise.
5218 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
5219 * math/math.h: Update #else and #endif comments.
5220 [__USE_MISC]: Remove redundant conditionals.
5221 * misc/sys/uio.h: Update #endif comments.
5222 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
5223 * posix/glob.h [__USE_MISC]: Likewise.
5224 * posix/sys/types.h: Update #endif comments.
5225 [__USE_MISC]: Remove redundant conditionals.
5226 * posix/sys/wait.h: Update #endif comments.
5227 [__USE_MISC]: Remove redundant conditionals.
5228 * posix/unistd.h: Update #endif comments.
5229 [__USE_MISC]: Remove redundant conditionals.
5230 * pwd/pwd.h [__USE_GNU]: Likewise.
5231 [__USE_MISC]: Likewise.
5232 * resolv/netdb.h [__USE_GNU]: Likewise.
5233 * signal/signal.h: Update #endif comments.
5234 [__USE_MISC]: Remove redundant conditionals.
5235 * stdlib/stdlib.h: Update #else and #endif comments.
5236 [__USE_MISC]: Remove redundant conditionals.
5237 [__USE_GNU]: Likewise.
5238 * string/bits/string2.h [__USE_MISC]: Likewise.
5239 * string/string.h: Update #endif comments.
5240 [__USE_MISC]: Remove redundant conditionals.
5241 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
5243 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
5244 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
5245 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
5247 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
5249 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
5251 [__USE_MISC]: Remove redundant conditionals.
5252 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
5253 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
5254 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
5255 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
5256 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
5258 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
5259 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
5261 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
5262 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
5264 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
5266 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
5267 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
5269 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
5271 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
5272 * sysdeps/x86/bits/string.h: Update #endif comments.
5273 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
5275 * time/sys/time.h: Update #endif comments.
5276 * time/time.h: Likewise.
5277 [__USE_MISC]: Remove redundant conditionals.
5279 2014-02-21 Yury Gribov <y.gribov@samsung.com>
5282 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
5284 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
5286 * Versions.def (librt): Add GLIBC_2.17.
5288 2014-02-21 Adam Conrad <adconrad@0c3.net>
5290 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
5291 synonym for _SYS_AUXV_H to allow direct inclusion.
5292 * sysdeps/sparc/bits/hwcap.h: Likewise.
5293 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
5294 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
5295 * sysdeps/sparc/sysdep.h: Likewise.
5297 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5299 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
5301 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5303 * benchtests/bench-strrchr.c: Print length instead of position.
5305 2014-02-20 Joseph Myers <joseph@codesourcery.com>
5308 * sysdeps/unix/sysv/linux/kernel-features.h
5309 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
5310 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
5311 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
5312 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
5314 [__i386__ || __powerpc__ || __sh__ || __sparc__]
5315 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5316 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
5317 (__ASSUME_SENDMMSG): Define instead of using previous
5318 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
5319 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5320 (__ASSUME_SENDMMSG_SYSCALL): Define.
5321 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5322 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
5324 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5325 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5327 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5328 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5330 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
5331 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
5332 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
5333 [__ASSUME_SENDMMSG]: Change conditionals to
5334 [__ASSUME_SENDMMSG_SOCKETCALL].
5335 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5336 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
5338 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5339 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
5341 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
5342 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
5343 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
5344 [!__ASSUME_SENDMMSG]: Change conditional to
5345 [!__ASSUME_SENDMMSG_SOCKETCALL].
5346 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5347 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5351 * sysdeps/unix/sysv/linux/kernel-features.h
5352 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
5353 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
5354 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
5355 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
5356 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5357 [__i386__ || __sparc__]
5358 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5359 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
5360 (__ASSUME_RECVMMSG): Define instead of using previous
5361 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
5362 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5363 (__ASSUME_RECVMMSG_SYSCALL): Define.
5364 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5365 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5367 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5368 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5370 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5371 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5373 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
5374 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
5375 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
5376 [__ASSUME_RECVMMSG]: Change condition to
5377 [__ASSUME_RECVMMSG_SOCKETCALL].
5378 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5379 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5381 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5382 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5383 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5385 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
5386 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
5387 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
5388 [!__ASSUME_RECVMMSG]: Change condition to
5389 [!__ASSUME_RECVMMSG_SOCKETCALL].
5390 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5391 (__ASSUME_RECVMMSG_SYSCALL): Define.
5394 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
5395 __powerpc__ || __s390__ || __sh__ || __sparc__]
5396 (__ASSUME_SOCKETCALL): Define.
5397 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
5398 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
5399 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
5400 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
5401 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5402 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
5403 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
5404 (__ASSUME_ACCEPT4): Define instead of using previous
5405 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
5406 __powerpc__ || __sparc__ || __s390__)] condition.
5407 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5408 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
5409 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
5410 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
5411 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
5412 [!__ASSUME_ACCEPT4]: Change condition to
5413 [!__ASSUME_ACCEPT4_SOCKETCALL].
5414 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5415 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
5416 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
5417 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5418 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
5419 __ASSUME_ACCEPT4_SYSCALL.
5420 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
5421 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
5422 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5423 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
5424 __ASSUME_ACCEPT4_SYSCALL.
5425 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
5426 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
5427 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
5428 [__ASSUME_ACCEPT4]: Change condition to
5429 [__ASSUME_ACCEPT4_SOCKETCALL].
5430 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5431 (__ASSUME_SOCKETCALL): Define.
5432 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
5433 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5434 (__ASSUME_SOCKETCALL): Define.
5435 (__ASSUME_ACCEPT4): Remove.
5436 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
5438 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5439 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
5441 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5442 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
5444 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
5446 (HWCAP_ARM_LPAE): Likewise.
5447 (HWCAP_ARM_EVTSTRM): Likewise.
5448 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
5449 Add vpfd32, lpae and evtstrm.
5450 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
5453 2014-02-19 Joseph Myers <joseph@codesourcery.com>
5455 * math/auto-libm-test-in: Add tests of clog10.
5456 * math/auto-libm-test-out: Regenerated.
5457 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
5458 * sysdeps/i386/fpu/libm-test-ulps: Update.
5459 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5461 2014-02-18 Andreas Schwab <schwab@suse.de>
5464 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
5465 Store non-zero if the second buffer was newly allocated.
5466 (send_dg): Likewise.
5467 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
5468 to send_vc and send_dg.
5469 (res_nsend): Pass NULL for ansp2_malloced.
5470 * resolv/res_query.c (__libc_res_nquery): Add parameter
5471 answerp2_malloced and pass it down to __libc_res_nsend.
5472 (res_nquery): Pass additional NULL to __libc_res_nquery.
5473 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
5474 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
5475 second answer buffer if answerp2_malloced was set.
5476 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
5477 (__libc_res_nquerydomain): Add parameter
5478 answerp2_malloced and pass it down to __libc_res_nquery.
5479 (res_nquerydomain): Pass additional NULL to
5480 __libc_res_nquerydomain.
5481 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
5482 additional NULL to __libc_res_nsend and __libc_res_nquery.
5483 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
5484 additional NULL to __libc_res_nsearch.
5485 (_nss_dns_gethostbyname4_r): Revert last change. Use new
5486 parameter of __libc_res_nsearch to check for separately allocated
5488 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
5490 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
5491 additional NULL to __libc_res_nquery.
5492 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
5494 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
5495 * include/resolv.h: Update prototypes of __libc_res_nquery,
5496 __libc_res_nsearch, __libc_res_nsend.
5498 2014-02-18 Joseph Myers <joseph@codesourcery.com>
5500 * math/auto-libm-test-in: Add tests of fma.
5501 * math/auto-libm-test-out: Regenerated.
5502 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
5503 (fma_towardzero_test_data): Likewise.
5504 (fma_downward_test_data): Likewise.
5505 (fma_upward_test_data): Likewise.
5506 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
5508 (rounding_modes): Add values for new field.
5509 (func_calc_method): Add value mpfr_fff_f.
5510 (func_calc_desc): Add mpfr_fff_f union field.
5511 (test_function): Add field exact_args.
5512 (FUNC): Add macro argument EXACT_ARGS.
5513 (FUNC_mpfr_f_f): Update call to FUNC.
5514 (FUNC_mpfr_f_f): Likewise.
5515 (FUNC_mpfr_ff_f): Likewise.
5516 (FUNC_mpfr_if_f): Likewise.
5517 (FUNC_mpc_c_f): Likewise.
5518 (FUNC_mpc_c_c): Likewise.
5519 (test_functions): Add fma. Update calls to FUNC.
5520 (handle_input_arg): Add argument exact_args.
5521 (add_test): Update call to handle_input_arg.
5522 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
5523 (output_for_one_input_case): Update call to calc_generic_results.
5524 Recalculate exact zero results in each rounding mode.
5526 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
5527 non-negative before setting low bit.
5528 * math/auto-libm-test-in: Mark one asin test possibly having
5530 * math/auto-libm-test-out: Regenerated.
5531 * sysdeps/i386/fpu/libm-test-ulps: Update.
5532 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5534 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
5536 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
5537 * sysdeps/unix/sysv/linux/microblaze: Move directory from
5538 ports/sysdeps/unix/sysv/linux/microblaze.
5539 * README: Add missing listing for microblaze*-*-linux-gnu.
5541 2014-02-16 Mike Frysinger <vapier@gentoo.org>
5543 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
5544 * sysdeps/unix/sysv/linux/ia64: Move directory from
5545 ports/sysdeps/unix/sysv/linux/ia64.
5546 * README: Update listing for ia64-*-linux-gnu.
5548 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
5549 Joseph Myers <joseph@codesourcery.com>
5551 * Makeconfig (test-name): New variable.
5552 (evaluate-test): Likewise.
5553 * Makerules (do-test-clean): Remove .test-result files.
5554 (common-mostlyclean): Likewise.
5555 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
5556 * scripts/evaluate-test.sh: New file.
5558 2014-02-14 Joseph Myers <joseph@codesourcery.com>
5560 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
5561 separate $(objpfx)tst-fopenloc-cmp.out and
5562 $(objpfx)tst-fopenloc-mem.out targets.
5563 (tests): Update dependencies.
5564 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
5565 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
5566 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
5567 (tst-rxspencer-no-utf8-ARGS): New variable.
5568 (tst-rxspencer-no-utf8-ENV): Likewise.
5569 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
5570 instead of $(objpfx)tst-rxspencer-mem.
5571 ($(objpfx)tst-rxspencer-mem): Change target to
5572 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
5573 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
5574 * posix/tst-rxspencer-no-utf8.c: New file.
5576 * elf/Makefile ($(objpfx)order.out): Remove rule.
5577 [$(run-built-tests) = yes] (tests): Depend on
5578 $(objpfx)order-cmp.out.
5579 ($(objpfx)order-cmp.out): New rule.
5580 [$(run-built-tests) = yes] (tests): Depend on
5581 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
5582 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
5583 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
5584 $(objpfx)tst-array5-static-cmp.out.
5585 ($(objpfx)tst-array1.out): Remove rule.
5586 ($(objpfx)tst-array1-cmp.out): New rule.
5587 ($(objpfx)tst-array1-static.out): Remove rule.
5588 ($(objpfx)tst-array1-static-cmp.out): New rule.
5589 ($(objpfx)tst-array2.out): Remove rule.
5590 ($(objpfx)tst-array2-cmp.out): New rule.
5591 ($(objpfx)tst-array3.out): Remove rule.
5592 ($(objpfx)tst-array3-cmp.out): New rule.
5593 ($(objpfx)tst-array4.out): Remove rule.
5594 ($(objpfx)tst-array4-cmp.out): New rule.
5595 ($(objpfx)tst-array5.out): Remove rule.
5596 ($(objpfx)tst-array5-cmp.out): New rule.
5597 ($(objpfx)tst-array5-static.out): Remove rule.
5598 ($(objpfx)tst-array5-static-cmp.out): New rule.
5599 [$(run-built-tests) = yes] (tests): Depend on
5600 $(objpfx)order2-cmp.out.
5601 ($(objpfx)order2.out): Remove rule.
5602 ($(objpfx)order2-cmp.out): New rule.
5603 ($(objpfx)tst-initorder.out): Remove rule.
5604 [$(run-built-tests) = yes] (tests): Depend on
5605 $(objpfx)tst-initorder-cmp.out.
5606 ($(objpfx)tst-initorder-cmp.out): New rule.
5607 ($(objpfx)tst-initorder2.out): Remove rule.
5608 [$(run-built-tests) = yes] (tests): Depend on
5609 $(objpfx)tst-initorder2-cmp.out.
5610 ($(objpfx)tst-initorder2-cmp.out): New rule.
5611 [$(run-built-tests) = yes] (tests): Depend on
5612 $(objpfx)tst-unused-dep-cmp.out.
5613 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
5614 ($(objpfx)tst-unused-dep-cmp.out): New rule.
5615 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
5616 on $(objpfx)tst-setvbuf1-cmp.out.
5617 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
5618 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
5619 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
5620 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
5621 ($(objpfx)tst-svc.out): Remove rule.
5622 ($(objpfx)tst-svc-cmp.out): New rule.
5624 2014-02-13 Joseph Myers <joseph@codesourcery.com>
5626 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
5627 * ctype/ctype.h [__USE_MISC]: Likewise.
5628 * dirent/dirent.h [__USE_MISC]: Likewise.
5629 * grp/grp.h [__USE_MISC]: Likewise.
5630 * io/fcntl.h [__USE_MISC]: Likewise.
5631 * io/sys/stat.h [__USE_MISC]: Likewise.
5632 * libio/stdio.h [__USE_MISC]: Likewise.
5633 * posix/unistd.h [__USE_MISC]: Likewise.
5634 * pwd/pwd.h [__USE_MISC]: Likewise.
5635 * stdlib.h [__USE_MISC]: Likewise.
5636 * string/bits/string2.h [__USE_MISC]: Likewise.
5637 * string/string.h [__USE_MISC]: Likewise.
5638 * time/time.h [__USE_MISC]: Likewise.
5640 2014-02-13 Andreas Schwab <schwab@suse.de>
5643 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
5644 second answer buffer if it was separately allocated.
5646 2014-02-12 Joseph Myers <joseph@codesourcery.com>
5648 * sysdeps/mips/math-tests.h: Include <features.h>.
5649 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
5650 (ROUNDING_TESTS_long_double): Do not define.
5651 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
5652 (EXCEPTION_TESTS_long_double): Likewise.
5653 * sysdeps/mips/mips64/libm-test-ulps: Update.
5655 * include/features.h (__USE_BSD): Remove macro definitions.
5656 (__USE_SVID): Likewise.
5657 (_BSD_SOURCE): Likewise.
5658 (_SVID_SOURCE): Likewise.
5659 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
5660 from definition of _DEFAULT_SOURCE.
5661 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
5663 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
5664 * bits/mman.h [__USE_BSD]: Likewise.
5665 * bits/termios.h [__USE_BSD]: Likewise.
5666 * bits/waitstatus.h [__USE_BSD]: Likewise.
5667 * ctype/ctype.h [__USE_SVID]: Likewise.
5668 * dirent/dirent.h [__USE_BSD]: Likewise.
5669 * grp/grp.h [__USE_SVID]: Likewise.
5670 [__USE_BSD]: Likewise.
5671 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
5672 * io/fcntl.h [__USE_BSD]: Likewise.
5673 * io/ftw.h [__USE_BSD]: Likewise.
5674 * io/sys/stat.h [__USE_BSD]: Likewise.
5675 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
5676 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
5677 * libio/stdio.h [__USE_SVID]: Likewise.
5678 [__USE_BSD]: Likewise.
5679 * math/math.h [__USE_SVID]: Likewise.
5680 [__USE_BSD]: Likewise.
5681 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
5682 * misc/bits/syslog.h [__USE_BSD]: Likewise.
5683 * misc/search.h [__USE_SVID]: Likewise.
5684 * misc/sys/mman.h [__USE_BSD]: Likewise.
5685 * misc/sys/syslog.h [__USE_BSD]: Likewise.
5686 * misc/sys/uio.h [__USE_BSD]: Likewise.
5687 * posix/bits/unistd.h [__USE_BSD]: Likewise.
5688 * posix/glob.h [__USE_BSD]: Likewise.
5689 * posix/regex.h [__USE_BSD]: Likewise.
5690 * posix/sys/types.h [__USE_BSD]: Likewise.
5691 [__USE_SVID]: Likewise.
5692 * posix/sys/utsname.h [__USE_SVID]: Likewise.
5693 * posix/sys/wait.h [__USE_BSD]: Likewise.
5694 [__USE_SVID]: Likewise.
5695 * posix/unistd.h [__USE_BSD]: Likewise.
5696 [__USE_SVID]: Likewise.
5697 * pwd/pwd.h [__USE_SVID]: Likewise.
5698 * resolv/netdb.h [__USE_BSD]: Likewise.
5699 * setjmp/setjmp.h [__USE_BSD]: Likewise.
5700 * signal/signal.h [__USE_BSD]: Likewise.
5701 [__USE_SVID]: Likewise.
5702 * socket/sys/socket.h [__USE_BSD]: Likewise.
5703 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
5704 * stdlib/stdlib.h [__USE_BSD]: Likewise.
5705 [__USE_SVID]: Likewise.
5706 * string/bits/string2.h [__USE_BSD]: Likewise.
5707 [__USE_SVID]: Likewise.
5708 * string/bits/string3.h [__USE_BSD]: Likewise.
5709 * string/endian.h [__USE_BSD]: Likewise.
5710 * string/string.h [__USE_SVID]: Likewise.
5711 [__USE_BSD]: Likewise.
5712 * string/strings.h [__USE_BSD]: Likewise.
5713 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
5714 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
5715 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
5716 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
5717 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
5718 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
5720 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
5722 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
5723 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
5725 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
5726 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
5728 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
5730 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
5731 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
5732 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
5734 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
5736 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
5737 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
5738 * termios/termios.h [__USE_BSD]: Likewise.
5739 * time/sys/time.h [__USE_BSD]: Likewise.
5740 * time/time.h [__USE_BSD]: Likewise.
5741 [__USE_SVID]: Likewise.
5743 * Makefile (subdir_targets): Remove subdir_lint.out.
5745 * stdio-common/Makefile (do-tst-unbputc): Remove target.
5746 (do-tst-printf): Likewise.
5747 (tests): Depend directly on $(objpfx)tst-unbputc.out and
5748 $(objpfx)tst-printf.out.
5750 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
5752 * Makerules (check-abi-%): Change target to
5753 $(objpfx)check-abi-%.out.
5754 (check-abi target): Update dependencies.
5755 (check-abi-pattern variable): Redirect output of diff to $@.
5756 (check-abi variable): Likewise.
5757 * elf/Makefile (check-abi): Update dependencies.
5759 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
5761 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
5762 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
5764 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
5765 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
5766 value has largest subnormal exponent.
5767 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
5768 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
5769 * sysdeps/aarch64/soft-fp/sfp-machine.h
5770 (_FP_TININESS_AFTER_ROUNDING): New macro.
5771 * sysdeps/alpha/soft-fp/sfp-machine.h
5772 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5773 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5775 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
5776 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5777 * sysdeps/mips/soft-fp/sfp-machine.h
5778 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5779 * sysdeps/powerpc/soft-fp/sfp-machine.h
5780 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5781 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5783 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
5784 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5785 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
5786 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5787 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5790 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
5793 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
5796 2014-02-12 Richard Henderson <rth@redhat.com>
5798 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
5799 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
5800 * sysdeps/unix/sysv/linux/alpha: Move directory from
5801 ports/sysdeps/unix/sysv/linux/alpha.
5802 * README: Update listing for alpha-*-linux-gnu.
5804 2014-02-11 Joseph Myers <joseph@codesourcery.com>
5806 * include/features.h: Update comment documenting feature test
5808 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
5810 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
5811 (_SVID_SOURCE): Likewise.
5812 (_DEFAULT_SOURCE): Update description of default features.
5813 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
5815 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
5816 (S_ISVTX): Likewise.
5817 * manual/math.texi (Mathematical Constants): Likewise.
5818 * manual/signal.texi (Interrupted Primitives): Likewise.
5819 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
5820 * math/test-matherr.c (_SVID_SOURCE): Do not define.
5821 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
5822 Don't refer to _SVID_SOURCE in warning text.
5824 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5826 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
5828 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
5829 * sysdeps/mips/dl-lookup.c: Remove.
5830 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
5832 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
5835 * math/auto-libm-test-in: Add testcase for expl.
5836 * math/auto-libm-test-out: Regenerate.
5837 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
5838 calculation of unsafe.
5839 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
5841 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
5843 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
5844 * sysdeps/unix/sysv/linux/aarch64: Move directory from
5845 ports/sysdeps/unix/sysv/linux/aarch64.
5846 * README: Update listing for aarch64*-*-linux-gnu.
5848 2014-02-11 Will Newton <will.newton@linaro.org>
5850 * manual/probes.texi (Mathematical Function Probes): Use
5851 "triggered" instead of "hit".
5853 * manual/probes.texi (Internal Probes): Add documentation
5854 of setjmp, longjmp and longjmp_target probes.
5856 * include/stap-probe.h: Add comment about probe argument
5859 * malloc/mtrace.c (attribute_hidden): Remove unused macro
5860 definition. (tr_where, tr_freehook, tr_mallochook,
5861 tr_reallochook, tr_memalignhook): Use ANSI protoype.
5863 2014-02-11 David S. Miller <davem@davemloft.net>
5865 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
5866 processing int_tests.
5868 2014-02-10 Joseph Myers <joseph@codesourcery.com>
5870 * sysdeps/mips: Move directory from ports/sysdeps/mips.
5871 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
5872 * sysdeps/unix/sysv/linux/mips: Move directory from
5873 ports/sysdeps/unix/sysv/linux/mips.
5874 * README: Update listing for mips-*-linux-gnu and
5877 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
5879 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
5880 * sysdeps/unix/sysv/linux/m68k: Move directory from
5881 ports/sysdeps/unix/sysv/linux/m68k.
5882 * README: Update listing for m68k-*-linux-gnu.
5884 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
5886 * sysdeps/tile: Move directory from ports/sysdeps/tile.
5887 * sysdeps/unix/sysv/linux/generic: Move directory from
5888 ports/sysdeps/unix/sysv/linux/generic.
5889 * sysdeps/unix/sysv/linux/tile: Move directory from
5890 ports/sysdeps/unix/sysv/linux/tile.
5891 * README: Update listing for tile*-*-linux-gnu.
5893 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
5895 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
5897 * benchtests/bench-memmem.c (simple_memmem): Likewise.
5898 * catgets/open_catalog.c (__open_catalog): Likewise.
5899 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
5900 * debug/confstr_chk.c: Likewise.
5901 * debug/fread_chk.c (__fread_chk): Likewise.
5902 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
5903 * debug/getgroups_chk.c: Likewise.
5904 * debug/mbsnrtowcs_chk.c: Likewise.
5905 * debug/mbsrtowcs_chk.c: Likewise.
5906 * debug/mbstowcs_chk.c: Likewise.
5907 * debug/memcpy_chk.c: Likewise.
5908 * debug/memmove_chk.c: Likewise.
5909 * debug/mempcpy_chk.c: Likewise.
5910 * debug/memset_chk.c: Likewise.
5911 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
5912 * debug/strcat_chk.c (__strcat_chk): Likewise.
5913 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
5914 * debug/strncat_chk.c (__strncat_chk): Likewise.
5915 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
5916 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
5917 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
5918 * debug/wcpncpy_chk.c: Likewise.
5919 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
5920 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
5921 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
5922 * debug/wcsncpy_chk.c: Likewise.
5923 * debug/wcsnrtombs_chk.c: Likewise.
5924 * debug/wcsrtombs_chk.c: Likewise.
5925 * debug/wcstombs_chk.c: Likewise.
5926 * debug/wmemcpy_chk.c: Likewise.
5927 * debug/wmemmove_chk.c: Likewise.
5928 * debug/wmempcpy_chk.c: Likewise.
5929 * debug/wmemset_chk.c: Likewise.
5930 * dirent/scandirat.c (SCANDIRAT): Likewise.
5931 * dlfcn/dladdr1.c (dladdr1): Likewise.
5932 * dlfcn/dladdr.c (dladdr): Likewise.
5933 * dlfcn/dlclose.c (dlclose_doit): Likewise.
5934 * dlfcn/dlerror.c (__dlerror): Likewise.
5935 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
5936 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
5937 * dlfcn/dlopen.c (dlopen_doit): Likewise.
5938 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
5939 * dlfcn/dlsym.c (dlsym_doit): Likewise.
5940 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
5941 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
5942 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
5944 * elf/dl-conflict.c: Likewise.
5945 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
5946 * elf/dl-dst.h: Likewise.
5947 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
5948 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
5949 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
5950 * elf/dl-init.c (call_init, _dl_init): Likewise.
5951 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
5952 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
5953 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
5955 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
5957 * elf/dl-minimal.c (__libc_memalign): Likewise.
5958 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
5959 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
5960 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
5961 * elf/dl-sym.c (do_sym): Likewise.
5962 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
5963 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
5964 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
5965 * elf/dl-writev.h (_dl_writev): Likewise.
5966 * elf/ldconfig.c (search_dir): Likewise.
5967 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
5968 (dl_main): Likewise.
5969 * elf/setup-vdso.h (setup_vdso): Likewise.
5970 * grp/compat-initgroups.c (compat_call): Likewise.
5971 * grp/fgetgrent.c (fgetgrent): Likewise.
5972 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
5973 * grp/putgrent.c (putgrent): Likewise.
5974 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
5976 * hurd/hurdinit.c: Likewise.
5977 * iconvdata/8bit-gap.c (struct): Likewise.
5978 * iconvdata/ansi_x3.110.c : Likewise.
5979 * iconvdata/big5.c : Likewise.
5980 * iconvdata/big5hkscs.c : Likewise.
5981 * iconvdata/cp1255.c: Likewise.
5982 * iconvdata/cp1258.c : Likewise.
5983 * iconvdata/cp932.c : Likewise.
5984 * iconvdata/euc-cn.c: Likewise.
5985 * iconvdata/euc-jisx0213.c : Likewise.
5986 * iconvdata/euc-jp.c: Likewise.
5987 * iconvdata/euc-jp-ms.c : Likewise.
5988 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
5989 * iconvdata/gb18030.c : Likewise.
5990 * iconvdata/gbbig5.c (const): Likewise.
5991 * iconvdata/gbgbk.c: Likewise.
5992 * iconvdata/gbk.c : Likewise.
5993 * iconvdata/ibm1364.c : Likewise.
5994 * iconvdata/ibm930.c : Likewise.
5995 * iconvdata/ibm932.c: Likewise.
5996 * iconvdata/ibm933.c : Likewise.
5997 * iconvdata/ibm935.c : Likewise.
5998 * iconvdata/ibm937.c : Likewise.
5999 * iconvdata/ibm939.c : Likewise.
6000 * iconvdata/ibm943.c: Likewise.
6001 * iconvdata/iso_11548-1.c: Likewise.
6002 * iconvdata/iso-2022-cn.c : Likewise.
6003 * iconvdata/iso-2022-cn-ext.c : Likewise.
6004 * iconvdata/iso-2022-jp-3.c: Likewise.
6005 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
6006 * iconvdata/iso-2022-kr.c : Likewise.
6007 * iconvdata/iso646.c (gconv_end): Likewise.
6008 * iconvdata/iso_6937-2.c : Likewise.
6009 * iconvdata/iso_6937.c : Likewise.
6010 * iconvdata/iso8859-1.c: Likewise.
6011 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
6012 * iconvdata/shift_jisx0213.c : Likewise.
6013 * iconvdata/sjis.c : Likewise.
6014 * iconvdata/t.61.c : Likewise.
6015 * iconvdata/tcvn5712-1.c : Likewise.
6016 * iconvdata/tscii.c: Likewise.
6017 * iconvdata/uhc.c : Likewise.
6018 * iconvdata/unicode.c (gconv_end): Likewise.
6019 * iconvdata/utf-16.c (gconv_end): Likewise.
6020 * iconvdata/utf-32.c (gconv_end): Likewise.
6021 * iconvdata/utf-7.c (base64): Likewise.
6022 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
6023 * iconv/gconv_close.c (__gconv_close): Likewise.
6024 * iconv/gconv_open.c (__gconv_open): Likewise.
6025 * iconv/gconv_simple.c (internal_ucs4_loop_single)
6026 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
6027 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
6028 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
6029 (ucs4le_internal_loop_single): Likewise.
6030 * iconv/iconv.c (iconv): Likewise.
6031 * iconv/iconv_close.c: Likewise.
6032 * iconv/loop.c (SINGLE): Likewise.
6033 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
6034 * include/atomic.h: Likewise.
6035 * inet/inet6_option.c (option_alloc): Likewise.
6036 * intl/bindtextdom.c (set_binding_values): Likewise.
6037 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
6038 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
6039 * intl/localealias.c (read_alias_file): Likewise.
6040 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
6041 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
6042 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
6043 * libio/fmemopen.c (fmemopen): Likewise.
6044 * libio/iofgets.c (_IO_fgets): Likewise.
6045 * libio/iofgets_u.c (fgets_unlocked): Likewise.
6046 * libio/iofgetws.c (fgetws): Likewise.
6047 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
6048 * libio/iogetdelim.c (_IO_getdelim): Likewise.
6049 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
6050 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
6051 * locale/findlocale.c (_nl_find_locale): Likewise.
6052 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
6053 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
6055 * locale/setlocale.c (setlocale): Likewise.
6056 * login/programs/pt_chown.c (main): Likewise.
6057 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
6058 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
6059 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
6060 (mmap, mmap64, mremap, munmap): Likewise.
6061 * math/e_exp2l.c: Likewise.
6062 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
6063 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
6064 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
6065 * math/s_catan.c (__catan): Likewise.
6066 * math/s_catanf.c (__catanf): Likewise.
6067 * math/s_catanh.c (__catanh): Likewise.
6068 * math/s_catanhf.c (__catanhf): Likewise.
6069 * math/s_catanhl.c (__catanhl): Likewise.
6070 * math/s_catanl.c (__catanl): Likewise.
6071 * math/s_ccosh.c (__ccosh): Likewise.
6072 * math/s_ccoshf.c (__ccoshf): Likewise.
6073 * math/s_ccoshl.c (__ccoshl): Likewise.
6074 * math/s_cexp.c (__cexp): Likewise.
6075 * math/s_cexpf.c (__cexpf): Likewise.
6076 * math/s_cexpl.c (__cexpl): Likewise.
6077 * math/s_clog10.c (__clog10): Likewise.
6078 * math/s_clog10f.c (__clog10f): Likewise.
6079 * math/s_clog10l.c (__clog10l): Likewise.
6080 * math/s_clog.c (__clog): Likewise.
6081 * math/s_clogf.c (__clogf): Likewise.
6082 * math/s_clogl.c (__clogl): Likewise.
6083 * math/s_csin.c (__csin): Likewise.
6084 * math/s_csinf.c (__csinf): Likewise.
6085 * math/s_csinh.c (__csinh): Likewise.
6086 * math/s_csinhf.c (__csinhf): Likewise.
6087 * math/s_csinhl.c (__csinhl): Likewise.
6088 * math/s_csinl.c (__csinl): Likewise.
6089 * math/s_csqrt.c (__csqrt): Likewise.
6090 * math/s_csqrtf.c (__csqrtf): Likewise.
6091 * math/s_csqrtl.c (__csqrtl): Likewise.
6092 * math/s_ctan.c (__ctan): Likewise.
6093 * math/s_ctanf.c (__ctanf): Likewise.
6094 * math/s_ctanh.c (__ctanh): Likewise.
6095 * math/s_ctanhf.c (__ctanhf): Likewise.
6096 * math/s_ctanhl.c (__ctanhl): Likewise.
6097 * math/s_ctanl.c (__ctanl): Likewise.
6098 * math/w_pow.c: Likewise.
6099 * math/w_powf.c: Likewise.
6100 * math/w_powl.c: Likewise.
6101 * math/w_scalb.c (sysv_scalb): Likewise.
6102 * math/w_scalbf.c (sysv_scalbf): Likewise.
6103 * math/w_scalbl.c (sysv_scalbl): Likewise.
6104 * misc/error.c (error_tail): Likewise.
6105 * misc/pselect.c (__pselect): Likewise.
6106 * nis/nis_callback.c (__nis_create_callback): Likewise.
6107 * nis/nis_call.c (__nisfind_server): Likewise.
6108 * nis/nis_creategroup.c (nis_creategroup): Likewise.
6109 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
6110 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
6111 * nis/nis_getservlist.c (nis_getservlist): Likewise.
6112 * nis/nis_lookup.c (nis_lookup): Likewise.
6113 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
6114 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
6115 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
6116 * nis/nis_xdr.c (xdr_endpoint): Likewise.
6117 * nis/nss_compat/compat-grp.c (getgrent_next_file)
6118 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
6119 * nis/nss_compat/compat-initgroups.c (add_group)
6120 (internal_getgrent_r): Likewise.
6121 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
6122 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
6123 * nis/nss_compat/compat-spwd.c (getspent_next_file)
6124 (internal_getspnam_r): Likewise.
6125 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
6126 (_nss_nis_getaliasbyname_r): Likewise.
6127 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
6128 (_nss_nis_getntohost_r): Likewise.
6129 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
6130 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
6131 (_nss_nis_getgrgid_r): Likewise.
6132 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
6133 (internal_nis_gethostent_r, internal_gethostbyname2_r)
6134 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
6135 (_nss_nis_gethostbyname4_r): Likewise.
6136 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
6137 (initgroups_netid): Likewise.
6138 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
6139 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
6140 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
6141 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
6142 (_nss_nis_getprotobynumber_r): Likewise.
6143 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
6144 (_nss_nis_getsecretkey): Likewise.
6145 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
6146 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
6147 (_nss_nis_getpwuid_r): Likewise.
6148 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
6149 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
6150 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
6151 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
6152 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
6153 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
6154 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
6156 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
6157 (_nss_nisplus_getntohost_r): Likewise.
6158 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
6159 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
6160 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
6161 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
6163 * nis/nss_nisplus/nisplus-initgroups.c
6164 (_nss_nisplus_initgroups_dyn): Likewise.
6165 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
6166 (_nss_nisplus_getnetbyaddr_r): Likewise.
6167 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
6168 (_nss_nisplus_getprotobynumber_r): Likewise.
6169 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
6170 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
6171 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
6173 * nis/nss_nisplus/nisplus-service.c
6174 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
6175 (_nss_nisplus_getservbyport_r): Likewise.
6176 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
6177 (_nss_nisplus_getspnam_r): Likewise.
6178 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
6180 * nscd/aicache.c (addhstaiX): Likewise.
6181 * nscd/cache.c (cache_search, prune_cache): Likewise.
6182 * nscd/connections.c (register_traced_file, send_ro_fd)
6183 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
6184 (main_loop_epoll): Likewise.
6185 * nscd/grpcache.c (addgrbyX): Likewise.
6186 * nscd/hstcache.c (addhstbyX): Likewise.
6187 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6188 * nscd/mem.c (gc, mempool_alloc): Likewise.
6189 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
6190 (addinnetgrX): Likewise.
6191 * nscd/nscd-client.h (__nscd_acquire_maplock)
6192 (__nscd_drop_map_ref): Likewise.
6193 * nscd/nscd_getai.c (__nscd_getai): Likewise.
6194 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
6195 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
6197 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
6198 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
6199 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
6200 (__nscd_get_map_ref): Likewise.
6201 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
6202 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
6204 * nscd/pwdcache.c (addpwbyX): Likewise.
6205 * nscd/selinux.c (preserve_capabilities): Likewise.
6206 * nscd/servicescache.c (addservbyX): Likewise.
6207 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
6208 * posix/fnmatch.c (fnmatch): Likewise.
6209 * posix/getopt.c (_getopt_internal_r): Likewise.
6210 * posix/glob.c (glob, glob_in_dir): Likewise.
6211 * posix/wordexp.c (exec_comm_child): Likewise.
6212 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
6213 (getanswer_r, gaih_getanswer_slice): Likewise.
6214 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
6215 * resolv/res_init.c: Likewise.
6216 * resolv/res_mkquery.c (res_nmkquery): Likewise.
6217 * resolv/res_query.c (__libc_res_nquery): Likewise.
6218 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
6220 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
6221 * stdio-common/perror.c (perror): Likewise.
6222 * stdio-common/printf_fp.c (___printf_fp): Likewise.
6223 * stdio-common/tmpnam.c (tmpnam): Likewise.
6224 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
6225 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
6226 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
6228 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
6229 * stdlib/putenv.c (putenv): Likewise.
6230 * stdlib/setenv.c (__add_to_environ): Likewise.
6231 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
6232 * stdlib/strtol_l.c (INTERNAL): Likewise.
6233 * string/memmem.c (memmem): Likewise.
6234 * string/strerror.c (strerror): Likewise.
6235 * string/strnlen.c (__strnlen): Likewise.
6236 * string/test-memmem.c (simple_memmem): Likewise.
6237 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
6238 * sunrpc/pm_getport.c (__get_socket): Likewise.
6239 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
6240 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
6241 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
6242 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
6244 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
6245 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
6246 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
6247 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
6248 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
6249 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
6251 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
6253 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
6254 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
6255 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6256 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
6257 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
6258 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
6259 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
6260 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
6261 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
6262 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
6263 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
6264 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
6266 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
6268 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
6270 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
6271 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
6272 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
6273 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
6274 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
6275 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
6276 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
6277 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
6278 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
6279 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
6280 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
6281 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6282 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
6283 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
6284 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6285 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
6287 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
6289 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
6291 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
6293 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6294 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6295 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
6297 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
6298 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
6299 * sysdeps/posix/opendir.c (__opendirat): Likewise.
6300 * sysdeps/posix/sleep.c: Likewise.
6301 * sysdeps/posix/tempname.c: Likewise.
6302 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
6303 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
6305 * sysdeps/powerpc/powerpc32/dl-machine.h
6306 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
6307 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
6308 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
6309 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
6310 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
6312 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
6313 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
6314 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
6315 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
6316 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
6317 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
6318 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
6319 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
6320 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6321 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
6322 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
6323 (elf_machine_lazy_rel): Likewise.
6324 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
6325 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
6326 (elf_machine_lazy_rel): Likewise.
6327 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
6328 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
6329 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
6330 * sysdeps/unix/grantpt.c (grantpt): Likewise.
6331 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
6332 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
6333 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
6334 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6336 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
6337 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
6338 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
6339 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
6340 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
6341 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
6342 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
6343 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
6344 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
6345 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
6346 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
6348 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
6349 (__posix_fallocate64_l64): Likewise.
6350 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
6351 (posix_fallocate): Likewise.
6352 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
6354 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6355 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
6356 (getifaddrs_internal): Likewise.
6357 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
6358 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
6359 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
6360 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
6361 * sysdeps/unix/sysv/linux/posix_fallocate64.c
6362 (__posix_fallocate64_l64): Likewise.
6363 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
6365 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
6366 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
6367 (__get_clockfreq): Likewise.
6368 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
6369 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
6370 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
6371 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6372 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6373 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
6374 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
6375 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
6377 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
6378 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
6379 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
6380 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
6381 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
6382 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
6383 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
6385 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
6386 (posix_fallocate): Likewise.
6387 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6388 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
6389 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
6390 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
6391 (elf_machine_rela, elf_machine_rela_relative)
6392 (elf_machine_lazy_rel): Likewise.
6393 * time/asctime.c (asctime_internal): Likewise.
6394 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
6395 * time/tzset.c (__tzset_parse_tz): Likewise.
6396 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
6397 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
6398 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
6399 * wcsmbs/wcsmbsload.h: Likewise.
6402 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
6404 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
6405 (arena_get2): Remove THREAD_STATS conditionals.
6406 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
6407 (__malloc_stats, int): Likewise.
6409 2014-02-08 Mike Frysinger <vapier@gentoo.org>
6411 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
6412 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
6414 * manual/setjmp.texi: Fix typos/grammar errors.
6416 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
6417 Only return early when n is <= 0. Delete unused return statement.
6419 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
6420 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
6421 * debug/tst-longjmp_chk3.c: New file.
6423 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
6424 (test_main): Replace code with set_fortify_handler call.
6425 * debug/test-strcpy_chk.c: Likewise.
6426 * debug/tst-chk1.c: Likewise.
6427 * debug/tst-longjmp_chk.c: Likewise.
6428 * test-skeleton.c: Include fcntl.h & paths.h
6429 (set_fortify_handler): Define.
6431 * debug/tst-longjmp_chk.c: Add header comment and include
6433 (do_test): Mark static.
6434 (TEST_FUNCTION): Define.
6436 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
6437 (IP_PMTUDISC_INTERFACE): Likewise.
6438 (IP_MULTICAST_IF): Likewise.
6439 (IP_MULTICAST_TTL): Likewise.
6440 (IP_MULTICAST_LOOP): Likewise.
6441 (IP_ADD_MEMBERSHIP): Likewise.
6442 (IP_DROP_MEMBERSHIP): Likewise.
6443 (IP_UNBLOCK_SOURCE): Likewise.
6444 (IP_BLOCK_SOURCE): Likewise.
6445 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
6446 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
6447 (IP_MSFILTER): Likewise.
6448 (MCAST_JOIN_GROUP): Likewise.
6449 (MCAST_BLOCK_SOURCE): Likewise.
6450 (MCAST_UNBLOCK_SOURCE): Likewise.
6451 (MCAST_LEAVE_GROUP): Likewise.
6452 (MCAST_JOIN_SOURCE_GROUP): Likewise.
6453 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
6454 (MCAST_MSFILTER): Likewise.
6455 (IP_MULTICAST_ALL): Likewise.
6456 (IP_UNICAST_IF): Likewise.
6458 * timezone/Makefile: Delete $(have-ksh) check.
6459 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
6460 * timezone/tzselect.ksh: Add +x mode bits.
6462 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
6463 (ANON_INODE_FS_MAGIC): Likewise.
6464 (BDEVFS_MAGIC): Likewise.
6465 (BINFMTFS_MAGIC): Likewise.
6466 (BTRFS_TEST_MAGIC): Likewise.
6467 (CRAMFS_MAGIC_WEND): Likewise.
6468 (DEBUGFS_MAGIC): Likewise.
6469 (ECRYPTFS_SUPER_MAGIC): Likewise.
6470 (EXT3_SUPER_MAGIC): Likewise.
6471 (EXT4_SUPER_MAGIC): Likewise.
6472 (FUTEXFS_SUPER_MAGIC): Likewise.
6473 (HOSTFS_SUPER_MAGIC): Likewise.
6474 (HUGETLBFS_MAGIC): Likewise.
6475 (MINIX3_SUPER_MAGIC): Likewise.
6476 (MTD_INODE_FS_MAGIC): Likewise.
6477 (NILFS_SUPER_MAGIC): Likewise.
6478 (OPENPROM_SUPER_MAGIC): Likewise.
6479 (PIPEFS_MAGIC): Likewise.
6480 (PSTOREFS_MAGIC): Likewise.
6481 (QNX6_SUPER_MAGIC): Likewise.
6482 (RAMFS_MAGIC): Likewise.
6483 (REISERFS_SUPER_MAGIC_STRING): Likewise.
6484 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
6485 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
6486 (SECURITYFS_MAGIC): Likewise.
6487 (SELINUX_MAGIC): Likewise.
6488 (SMACK_MAGIC): Likewise.
6489 (SOCKFS_MAGIC): Likewise.
6490 (SQUASHFS_MAGIC): Likewise.
6491 (STACK_END_MAGIC): Likewise.
6492 (TMPFS_MAGIC): Likewise.
6493 (USBDEVICE_SUPER_MAGIC): Likewise.
6494 (V9FS_MAGIC): Likewise.
6495 (XENFS_SUPER_MAGIC): Likewise.
6496 (CRAMFS_MAGIC): Fix typo in comment.
6497 (EXT2_SUPER_MAGIC): Update comment.
6498 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
6500 2014-02-08 Joseph Myers <joseph@codesourcery.com>
6502 * sysdeps/arm: Move directory from ports/sysdeps/arm.
6503 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
6504 * sysdeps/unix/sysv/linux/arm: Move directory from
6505 ports/sysdeps/unix/sysv/linux/arm.
6506 * README: Update listing for arm-*-linux-gnueabi.
6508 * README: Remove mention of am33.
6510 2014-02-07 Roland McGrath <roland@hack.frob.com>
6512 * bits/sigset.h (__sigemptyset): Use a statement expression rather
6513 than the comma operator, to avoid "rhs of comma has no effect"
6515 (__sigfillset, __sigandset, __sigorset): Likewise.
6516 * include/signal.h (__sigemptyset): Likewise.
6517 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
6519 2014-02-07 Allan McRae <allan@archlinux.org>
6521 * version.h (RELEASE): Set to "development".
6522 (VERSION): Set to "2.19.90"
6523 * NEWS: Add 2.20 section.
6525 2014-02-06 Carlos O'Donell <carlos@redhat.com>
6528 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
6530 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
6532 * manual/contrib.texi: Update entry for Carlos O'Donell,
6533 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
6535 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
6537 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
6539 * sysdeps/unix/sysv/linux/kernel-features.h
6540 [__LINUX_KERNEL_VERSION >= 0x020621]
6541 (__ASSUME_PROC_PID_TASK_COMM): Define.
6543 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6546 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
6547 conversion when destination buffer does not have enough space.
6548 * libio/tst-ftell-partial-wide.c: New test case.
6549 * libio/Makefile (tests): Add tst-ftell-partial-wide.
6551 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
6552 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
6553 Leonard and Allan McRae.
6555 2014-02-04 David S. Miller <davem@davemloft.net>
6557 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
6560 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
6564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
6566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
6568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
6570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
6572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
6574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
6576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
6578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
6580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
6582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
6584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
6586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
6589 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6591 * nptl/shlib-versions: Change powerpc*le start to 2.17.
6592 * shlib-versions: Likewise.
6594 2014-02-04 Roland McGrath <roland@hack.frob.com>
6595 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6597 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
6598 (abilist-pattern): New variable, set to %-le.abilist.
6600 * Makerules (abilist-pattern): New variable.
6601 (vpath): Use $(abilist-pattern) in place of %.abilist.
6602 (check-abi-% pattern rule): Likewise.
6603 (check-abi, update-abi): Likewise.
6605 2014-02-04 Eric Wong <normalperson@yhbt.net>
6607 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6609 2014-02-03 Carlos O'Donell <carlos@redhat.com>
6611 * manual/startup.texi: Add next, previous, and top entries for
6612 the `Program Arguments' and `Environment Variables' nodes.
6614 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
6616 * manual/macros.texi: Add comments before MTASC-safety macros.
6618 * manual/users.texi: Document MTASC-safety properties.
6620 * manual/threads.texi (pthread_key_create, pthread_key_delete)
6621 (pthread_getspecific, pthread_setspecific): Format with
6622 @deftypefun, and add @safety note.
6623 * manual/signal.texi: Move comments that analyze the above
6624 functions to their home place.
6626 2014-02-03 Allan McRae <allan@archlinux.org>
6628 * po/sl.po: Update Slovenian translation from translation project.
6630 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
6632 * manual/time.texi (timegm): Add missing blank after @c.
6633 Reported by Joseph Myers <joseph@codesourcery.com>.
6635 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
6637 * manual/check-safety.sh: New.
6638 * manual/Makefile ($(objpfx)stamp-summary): Run it.
6640 * manual/terminal.texi: Document MTASC-safety properties.
6642 * manual/filesys.texi: Document MTASC-safety properties.
6644 * manual/errno.texi: Document MTASC-safety properties.
6646 * manual/intro.texi: Document safety identifiers and
6649 * manual/string.texi (wcstok): Fix prototype.
6650 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
6652 * manual/time.texi: Document MTASC-safety properties.
6654 * manual/string.texi: Document MTASC-safety properties.
6656 * manual/threads.texi: Document MTASC-safety properties.
6658 * manual/stdio.texi: Document MTASC-safety properties.
6660 * manual/syslog.texi: Document MTASC-safety properties.
6662 * manual/sysinfo.texi: Document MTASC-safety properties.
6664 * manual/startup.texi: Document MTASC-safety properties.
6666 * manual/socket.texi: Document MTASC-safety properties.
6668 * manual/signal.texi: Document MTASC-safety properties.
6670 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
6672 * manual/setjmp.texi: Document MTASC-safety properties.
6674 * manual/search.texi: Document MTASC-safety properties.
6676 * manual/resource.texi: Document MTASC-safety properties.
6678 * manual/process.texi: Document MTASC-safety properties.
6680 * manual/platform.texi: Document MTASC-safety properties.
6682 * manual/pipe.texi: Document MTASC-safety properties.
6684 * manual/pattern.texi: Document MTASC-safety properties.
6686 * manual/message.texi: Document MTASC-safety properties.
6689 * manual/memory.texi: Document MTASC-safety properties.
6691 * manual/math.texi: Document MTASC-safety properties.
6693 * manual/locale.texi: Document MTASC-safety properties.
6695 * manual/llio.texi: Document MTASC-safety properties.
6697 * manual/libdl.texi: New.
6699 * manual/lang.texi: Document MTASC-safety properties.
6701 * manual/job.texi: Document MTASC-safety properties.
6703 * manual/getopt.texi: Document MTASC-safety properties.
6705 * manual/ctype.texi: Document MTASC-safety properties.
6707 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
6710 * csu/libc-tls.c (static_map): Remove variable.
6711 (__libc_setup_tls): Use main executable's link map for TLS data.
6712 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
6713 casing for LM_ID_BASE and GL(dl_nns).
6714 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
6715 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
6716 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
6717 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
6718 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
6720 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
6723 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
6725 * manual/debug.texi: Document MTASC-safety properties.
6727 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
6730 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
6731 of __x86_64__ when disabling x87 inline functions.
6733 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
6735 * manual/charset.texi: Document MTASC-safety properties.
6737 * manual/crypt.texi: Document MTASC-safety properties.
6739 * manual/conf.texi: Document MTASC-safety properties.
6741 * manual/arith.texi: Document MTASC-safety properties.
6743 * manual/argp.texi: Document MTASC-safety properties.
6745 * manual/macros.texi: Introduce macros to document multi
6746 thread, asynchronous signal and asynchronous cancellation
6748 * manual/intro.texi: Introduce the properties themselves.
6750 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6752 * sysdeps/sh/sh4/Makefile: New file.
6754 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
6756 * math/gen-libm-test.pl ($srcdir): New variable.
6757 ($auto_input): Use it.
6759 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6762 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
6763 access beyond array bounds when parsing netgroups file.
6765 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
6766 the old buffer before realloc.
6768 2014-01-27 Allan McRae <allan@archlinux.org>
6770 * po/fr.po: Update French translation from translation project.
6772 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6774 * sysdeps/sh/libm-test-ulps: Regenerate.
6776 2014-01-24 David S. Miller <davem@davemloft.net>
6778 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
6780 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6782 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
6783 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
6785 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6788 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
6789 string pointers after reallocation.
6791 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6793 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
6794 __SH4A__ instead of __SH_FPU_ANY__.
6796 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6798 * sysdeps/sh/fpu_control.h: New file.
6799 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
6800 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
6801 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
6802 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
6803 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
6804 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
6805 * sysdeps/sh/sys/ucontext.h: Remove.
6806 * sysdeps/sh/sys: Remove directory.
6808 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6810 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
6811 s390/sys/ucontext.h.
6812 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
6813 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
6815 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
6818 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
6820 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6823 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
6824 Adjust the vDSO correctly for internal calls.
6825 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
6827 2014-01-20 Allan McRae <allan@archlinux.org>
6829 * po/ca.po: Update Catalan translation from translation project.
6831 2014-01-16 Mike Frysinger <vapier@gentoo.org>
6833 * sysdeps/s390/sotruss-lib.c: New file.
6835 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6838 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
6839 (__GI___gettimeofday): Alias for a different internal symbol to avoid
6840 local calls issues by not having a PLT stub required for IFUNC calls.
6841 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
6843 2014-01-16 Joseph Myers <joseph@codesourcery.com>
6845 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
6846 * math/test-fpucw-static.c: Likewise.
6848 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6851 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
6853 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6855 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
6856 implementation for powerpc.
6858 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
6861 * sysdeps/posix/system.c (__libc_system): Do not enable
6862 asynchronous cancellation.
6864 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6867 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
6868 handling only for numbers special also in the IEEE case.
6870 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6872 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6874 2014-01-11 Allan McRae <allan@archlinux.org>
6876 * po/bg.po: Update Bulgarian translation from translation project.
6878 * po/de.po: Update German translation from translation project.
6880 2014-01-10 Roland McGrath <roland@hack.frob.com>
6882 * sysdeps/generic/gcc-compat.h: New file.
6884 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6886 * benchtests/asin-inputs: Correct slow inputs.
6887 * benchtests/acos-inputs: Likewise.
6889 2014-01-10 Allan McRae <allan@archlinux.org>
6891 * po:sv.po: Update Swedish translation from translation project.
6893 * po/vi.po: Update Vietnamese translation from translation project.
6895 * po/eo.po: Update Esperanto translation from translation project.
6897 * po/cs.po: Update Czech translation from translation project.
6899 * po/nl.po: Update Dutch translation from translation project.
6901 * po/pl.po: Update Polish translation from translation project.
6903 * po/ru.po: Update Russian translation from translation project.
6905 * po/uk.po: Update Ukrainian translation from translation project.
6907 2014-01-08 Brooks Moses <bmoses@google.com>
6909 * elf/dl-load.c: Fix comment typo.
6911 2014-01-08 Carlos O'Donell <carlos@redhat.com>
6913 * po/header.pot: Rename to...
6914 * po/pot.header: ... this.
6915 * po/Makefile: Use pot.header.
6917 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
6918 Maxim Kuvyrkov <maxim@kugelworks.com>
6921 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
6922 SRC and DEST against LEN.
6924 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6927 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
6929 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
6931 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6933 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6935 2014-01-08 Joseph Myers <joseph@codesourcery.com>
6938 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
6939 for large positive arguments.
6941 2014-01-07 Joseph Myers <joseph@codesourcery.com>
6943 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6945 * math/auto-libm-test-in: Mark various tests with
6946 xfail-rounding:ldbl-128ibm.
6947 * math/auto-libm-test-out: Regenerated.
6950 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
6951 Increase overflow threshold.
6953 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
6956 * stdio-common/vfprintf.c: Check for integer overflow.
6958 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6960 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
6961 the first argument and return value of __tls_get_addr_internal.
6963 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6965 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
6966 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
6968 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6970 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
6971 * sysdeps/s390/rtld-global-offsets.sym: New file.
6972 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
6974 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
6975 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
6976 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
6978 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
6979 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
6981 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
6983 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
6985 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
6986 halfs of GPRs for high_gprs contexts.
6987 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
6988 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
6990 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
6992 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
6994 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
6995 for high GPRs (uc_high_gprs) and for future extensions
6997 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
6998 for future extensions (__reserved).
6999 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
7001 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
7002 SC_HIGHGPRS offset definition.
7003 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
7004 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
7006 * Versions.def: Add GLIBC_2.19 for libpthread.
7007 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
7008 siglongjmp for libpthread with GLIBC_2.19 symver.
7009 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
7010 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
7011 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
7012 * sysdeps/s390/__longjmp.c: New file.
7013 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
7014 * sysdeps/s390/longjmp.c: New file.
7015 * sysdeps/s390/setjmp.S: New file.
7016 * sysdeps/s390/sigjmp.S: New file.
7017 * sysdeps/s390/v1-longjmp.c: New file.
7018 * sysdeps/s390/v1-setjmp.h: New file.
7019 * sysdeps/s390/v1-sigjmp.c: New file.
7020 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
7021 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
7023 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
7024 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
7025 versioned symbols for ____longjmp_chk.
7026 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
7028 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
7030 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7032 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
7034 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7036 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
7037 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
7038 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
7039 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
7040 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
7041 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
7042 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
7043 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
7044 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
7045 * sysdeps/s390/rtld-__longjmp.c: New file.
7046 * sysdeps/s390/rtld-setjmp.S: New file.
7048 2014-01-06 Joseph Myers <joseph@codesourcery.com>
7051 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
7052 Return -__logl (x) for small positive arguments without evaluating
7055 2014-01-06 Mike Frysinger <vapier@gentoo.org>
7057 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
7059 (__ptrace_peeksiginfo_args): ... this.
7060 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7061 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7062 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7064 2014-01-06 Allan McRae <allan@archlinux.org>
7066 * inet/netinet/in.h: Fix typo in comment.
7068 2014-01-05 Andreas Jaeger <aj@suse.de>
7070 * sysdeps/i386/fpu/libm-test-ulps: Update.
7072 2014-01-05 Allan McRae <allan@archlinux.org>
7074 * po/libc.pot: Regenerated.
7076 * malloc/memusagestat.c: Fix gettext call formatting.
7078 2014-01-04 Sami Kerola <kerolasa@iki.fi>
7080 * nscd/nscd.c: Improve usage() output.
7082 2014-01-04 Mike Frysinger <vapier@gentoo.org>
7084 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
7085 * sysdeps/unix/sysv/linux/configure: Regenerated.
7086 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
7087 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
7089 2014-01-03 Joseph Myers <joseph@codesourcery.com>
7092 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
7093 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
7095 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7097 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
7098 extra tokens at end of #undef directive.
7099 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
7100 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
7101 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
7103 2014-01-03 Joseph Myers <joseph@codesourcery.com>
7105 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
7107 * math/auto-libm-test-in: Mark various tests with
7108 xfail-rounding:ldbl-128ibm.
7109 * math/auto-libm-test-out: Regenerated.
7111 2014-01-02 Joseph Myers <joseph@codesourcery.com>
7114 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
7115 numbers with subnormal high part when calculating exponent.
7118 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
7122 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
7124 (__ieee754_acoshl): Use __log1pl not __log1p.
7126 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
7128 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
7129 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
7130 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
7131 (grow_heap, heap_trim, _int_new_arena, get_free_list)
7132 (reused_arena, arena_get2): Convert to GNU style.
7133 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
7134 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
7135 (memalign_check, __malloc_set_state): Likewise.
7136 * malloc/mallocbug.c (main): Likewise.
7137 * malloc/malloc.c (__malloc_assert, malloc_init_state)
7138 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
7139 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
7140 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
7141 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
7142 (__posix_memalign, malloc_info): Likewise.
7143 * malloc/malloc.h: Likewise.
7144 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
7145 (mallochook, memalignhook, reallochook, mabort): Likewise.
7146 * malloc/mcheck.h: Likewise.
7147 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
7148 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
7149 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
7150 * malloc/morecore.c (__default_morecore): Likewise.
7151 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
7152 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
7153 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
7154 (print_and_abort): Likewise.
7155 * malloc/obstack.h: Likewise.
7156 * malloc/set-freeres.c (__libc_freeres): Likewise.
7157 * malloc/tst-mallocstate.c (main): Likewise.
7158 * malloc/tst-mtrace.c (main): Likewise.
7159 * malloc/tst-realloc.c (do_test): Likewise.
7161 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7164 * nscd/netgroupcache.c (do_notfound): New function.
7165 (addgetnetgrentX): Use it.
7168 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
7169 NSS_STATUS_NOTFOUND.
7171 2014-01-01 Joseph Myers <joseph@codesourcery.com>
7173 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
7174 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7176 2014-01-01 Allan McRae <allan@archlinux.org>
7178 * scripts/update-copyrights: Update configure input file suffix.
7180 * NEWS: Update copyright year.
7181 * catgets/gencat.c: Likewise.
7182 * csu/version.c: Likewise.
7183 * debug/catchsegv.sh: Likewise.
7184 * debug/pcprofiledump.c: Likewise.
7185 * debug/xtrace.sh: Likewise.
7186 * elf/ldconfig.c: Likewise.
7187 * elf/ldd.bash.in: Likewise.
7188 * elf/pldd.c: Likewise.
7189 * elf/sotruss.ksh: Likewise.
7190 * elf/sprof.c: Likewise.
7191 * iconv/iconv_prog.c: Likewise.
7192 * iconv/iconvconfig.c: Likewise.
7193 * locale/programs/locale.c: Likewise.
7194 * locale/programs/localedef.c: Likewise.
7195 * login/programs/pt_chown.c: Likewise.
7196 * malloc/memusage.sh: Likewise.
7197 * malloc/memusagestat.c: Likewise.
7198 * malloc/mtrace.pl: Likewise.
7199 * manual/libc.texinfo: Likewise.
7200 * nscd/nscd.c: Likewise.
7201 * nss/getent.c: Likewise.
7202 * nss/makedb.c: Likewise.
7203 * posix/getconf.c: Likewise.
7204 * scripts/test-installation.pl: Likewise.
7206 * All files with FSF copyright notices: Update copyright dates
7207 using scripts/update-copyrights.
7208 * intl/plural.c: Regenerated.
7209 * locale/programs/charmap-kw.h: Likewise.
7210 * locale/programs/locfile-kw.h: Likewise.
7212 2013-12-31 Mike Frysinger <vapier@gentoo.org>
7214 * sysdeps/unix/sysv/linux/configure: Regenerated.
7215 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
7216 the linux/fanotify.h header.
7217 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
7218 HAVE_LINUX_FANOTIFY_H is defined.
7220 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
7222 * benchtests/cos-inputs: New inputs.
7223 * benchtests/sin-inputs: Likewise.
7225 * benchtests/atan-inputs: New inputs. Fix name of multiple
7226 precision fallback inputs.
7228 * benchtests/atanh-inputs: New inputs.
7229 * benchtests/tanh-inputs: Likewise.
7231 * benchtests/acosh-inputs: New inputs.
7232 * benchtests/asinh-inputs: Likewise.
7234 * benchtests/cosh-inputs: New inputs.
7235 * benchtests/sinh-inputs: Likewise.
7237 * benchtests/acos-inputs: Add more inputs.
7238 * benchtests/asin-inputs: Likewise.
7240 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
7243 * manual/arith.texi: Fix spelling.
7244 * manual/charset.texi: Likewise.
7245 * manual/errno.texi: Likewise.
7246 * manual/filesys.texi: Likewise.
7247 * manual/lang.texi: Likewise.
7248 * manual/llio.texi: Likewise.
7249 * manual/locale.texi: Likewise.
7250 * manual/message.texi: Likewise.
7251 * manual/resource.texi: Likewise.
7252 * manual/search.texi: Likewise.
7253 * manual/setjmp.texi: Likewise.
7254 * manual/stdio.texi: Likewise.
7255 * manual/string.texi: Likewise.
7256 * manual/sysinfo.texi: Likewise.
7257 * manual/time.texi: Likewise.
7259 2013-12-27 Carlos O'Donell <carlos@redhat.com>
7261 * po/sl.po: New file.
7263 2013-12-27 Mike Frysinger <vapier@gentoo.org>
7265 * .gitignore: Add core/.gdbinit/.gdb_history.
7267 2013-12-27 Allan McRae <allan@archlinux.org>
7270 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
7271 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
7273 2013-12-24 Brooks Moses <bmoses@google.com>
7275 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
7276 all compilers that claim C++98 compliance, not just GCC.
7277 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
7280 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
7282 * NEWS: Restore accidentally deleted bug-fix entries.
7284 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
7285 Ondřej Bílka <neleai@seznam.cz>
7288 * malloc/malloc.c (_int_free): Perform sanity check only if we
7291 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
7294 * manual/stdio.texi (String Input Conversions): Clarify that character
7295 classes are not supported.
7297 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7299 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7301 2013-12-22 Joseph Myers <joseph@codesourcery.com>
7304 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
7305 Calculate results for small negative arguments directly rather
7306 than using reflection formula with special underflow handling.
7308 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
7309 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
7310 sysdeps/unix/bsd/bsd4.4/syscalls.list.
7311 (fchflags): Likewise.
7313 (setlogin): Likewise.
7314 (sigaltstack): Likewise.
7317 (sigsetmask): Likewise.
7319 (waitpid): Likewise.
7320 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
7321 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
7323 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
7324 * sysdeps/unix/bsd/Makefile: ... here.
7325 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
7326 * sysdeps/unix/bsd/Versions: ... here.
7327 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
7328 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
7329 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
7330 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
7331 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
7332 * sysdeps/unix/bsd/sigblock.c: ... here.
7333 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
7334 * sysdeps/unix/bsd/sigsetmask.c: ... here.
7335 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
7336 * sysdeps/unix/bsd/sigvec.c: ... here.
7337 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
7338 * sysdeps/unix/bsd/tcdrain.c: ... here.
7339 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
7340 * sysdeps/unix/bsd/tcgetattr.c: ... here.
7341 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
7342 * sysdeps/unix/bsd/tcsetattr.c: ... here.
7343 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
7344 * sysdeps/unix/bsd/wait.c: ... here.
7345 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
7346 * sysdeps/unix/bsd/wait3.c: ... here.
7347 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
7348 * sysdeps/unix/bsd/waitpid.c: ... here.
7350 2013-12-21 Joseph Myers <joseph@codesourcery.com>
7353 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
7354 round-to-nearest for [!USE_AS_EXPM1L].
7355 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
7356 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
7357 more tests of exp and exp10. Expect some exp10 tests to miss
7358 exceptions or fail in directed rounding modes.
7359 * math/auto-libm-test-out: Regenerated.
7360 * math/libm-test.inc (exp10_tonearest_test_data): New array.
7361 (exp10_test_tonearest): New function.
7362 (exp10_towardzero_test_data): New array.
7363 (exp10_test_towardzero): New function.
7364 (exp10_downward_test_data): New array.
7365 (exp10_test_downward): New function.
7366 (exp10_upward_test_data): New array.
7367 (exp10_test_upward): New function.
7368 (main): Call the new functions.
7369 * sysdeps/i386/fpu/libm-test-ulps: Update.
7370 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7372 2013-12-20 Joseph Myers <joseph@codesourcery.com>
7374 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
7375 asinh, atan, atan2, atanh, cbrt, cos and cosh.
7376 * math/auto-libm-test-out: Regenerated.
7377 * math/libm-test.inc (acosh_test_data): Add more tests.
7378 (atanh_test_data): Likewise.
7379 (ceil_test_data): Likewise.
7380 (copysign_test_data): Likewise.
7381 * sysdeps/i386/fpu/libm-test-ulps: Update.
7382 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7384 * timezone/checktab.awk: Update from tzcode 2013i.
7385 * timezone/private.h: Likewise.
7386 * timezone/scheck.c: Likewise.
7387 * timezone/tzfile.h: Likewise.
7388 * timezone/tzselect.ksh: Likewise.
7389 * timezone/zdump.c: Likewise.
7390 * timezone/zic.c: Likewise.
7392 * math/auto-libm-test-in: Add tests of cpow.
7393 * math/auto-libm-test-out: Regenerated.
7394 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
7395 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7397 (func_calc_desc): Add mpc_cc_c union field.
7398 (test_functions): Add cpow.
7399 (special_fill_2pi): New function.
7400 (special_real_inputs): Add 2pi.
7401 (calc_generic_results): Handle mpc_cc_c.
7402 * sysdeps/i386/fpu/libm-test-ulps: Update.
7403 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7405 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
7406 csqrt, ctan and ctanh.
7407 * math/auto-libm-test-out: Regenerated.
7408 * math/libm-test.inc (TEST_COND_x86_64): New macro.
7409 (TEST_COND_x86): Likewise.
7410 (ccos_test_data): Use AUTO_TESTS_c_c.
7411 (ccosh_test_data): Likewise.
7412 (cexp_test_data): Likewise.
7413 (clog_test_data): Likewise.
7414 (csqrt_test_data): Likewise.
7415 (ctan_test_data): Likewise.
7416 (ctan_tonearest_test_data): Likewise.
7417 (ctan_towardzero_test_data): Likewise.
7418 (ctan_downward_test_data): Likewise.
7419 (ctan_upward_test_data): Likewise.
7420 (ctanh_test_data): Likewise.
7421 (ctanh_tonearest_test_data): Likewise.
7422 (ctanh_towardzero_test_data): Likewise.
7423 (ctanh_downward_test_data): Likewise.
7424 (ctanh_upward_test_data): Likewise.
7425 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7427 (func_calc_desc): Add mpc_c_c union field.
7428 (FUNC_mpc_c_c): New macro.
7429 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
7430 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
7432 (special_fill_min_subnorm_p120): New function.
7433 (special_real_inputs): Add min_subnorm_p120.
7434 (calc_generic_results): Handle mpc_c_c.
7435 * sysdeps/i386/fpu/libm-test-ulps: Update.
7436 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7438 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7440 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
7441 (do_sin_slow): New functions.
7442 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
7443 (cslow2, csloww1, csloww2): Use the new functions.
7445 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
7446 Use M to change sign of result instead of X. Assume X is
7448 (csloww1): Likewise.
7452 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
7457 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
7459 (sloww1): Don't adjust sign of DX.
7460 (csloww1): Likewise.
7461 (sloww2): Use X directly and don't adjust sign of DX.
7462 (csloww2): Likewise.
7464 2013-12-19 Joseph Myers <joseph@codesourcery.com>
7466 * math/auto-libm-test-in: Add tests of cabs and carg.
7467 * math/auto-libm-test-out: Regenerated.
7468 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
7469 (carg_test_data): Likewise.
7470 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7472 (func_calc_desc): Add mpc_c_f union field.
7473 (test_functions): Add cabs and carg.
7474 (calc_generic_results): Handle mpc_c_f.
7476 * sysdeps/powerpc/powerpc32/libgcc-compat.S
7477 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
7478 as a macro and a compat symbol.
7479 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
7480 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
7481 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
7482 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
7483 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
7484 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
7486 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
7488 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
7490 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
7492 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
7494 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
7496 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
7497 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
7500 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7502 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7504 2013-12-19 Joseph Myers <joseph@codesourcery.com>
7506 * manual/texinfo.tex: Update to version 2013-11-26.10 with
7507 trailing whitespace removed.
7508 * scripts/config.guess: Update to version 2013-11-29.
7509 * scripts/config.sub: Update to version 2013-10-01.
7511 * math/auto-libm-test-in: Add tests of sincos.
7512 * math/auto-libm-test-out: Regenerated.
7513 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
7514 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7516 (func_calc_desc): Add mpfr_f_11 union field.
7517 (test_functions): Add sincos.
7518 (calc_generic_results): Handle mpfr_f_11.
7519 * sysdeps/i386/fpu/libm-test-ulps: Update.
7520 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7522 2013-12-19 Andreas Schwab <schwab@suse.de>
7524 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
7526 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
7527 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
7528 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
7530 2013-12-19 Joseph Myers <joseph@codesourcery.com>
7532 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
7533 * sysdeps/i386/fpu/libm-test-ulps: Update.
7534 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7537 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
7538 round-to-nearest mode when using frndint.
7539 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
7540 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
7541 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
7543 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
7545 * math/auto-libm-test-out: Regenerated.
7546 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
7547 (TEST_COND_x86): Likewise.
7548 (expm1_tonearest_test_data): New array.
7549 (expm1_test_tonearest): New function.
7550 (expm1_towardzero_test_data): New array.
7551 (expm1_test_towardzero): New function.
7552 (expm1_downward_test_data): New array.
7553 (expm1_test_downward): New function.
7554 (expm1_upward_test_data): New array.
7555 (expm1_test_upward): New function.
7556 (main): Run the new test functions.
7557 * sysdeps/i386/fpu/libm-test-ulps: Update.
7558 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7560 * include/features.h: Update comment documenting feature test
7561 macros. Mention _DEFAULT_SOURCE in comment.
7562 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
7563 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
7564 _BSD_SOURCE and _SVID_SOURCE.
7565 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
7566 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
7567 !_SVID_SOURCE]: Likewise.
7568 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7569 (__USE_POSIX_IMPLICITLY): Define.
7570 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7571 (_POSIX_SOURCE): Undefine and redefine.
7572 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7573 (_POSIX_C_SOURCE): Likewise.
7574 * manual/creature.texi (_DEFAULT_SOURCE): Document.
7575 (Feature Test Macros): Update documentation of default features.
7577 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7579 * benchtests/Makefile: Add bench-strtok.
7580 * benchtests/bench-strtok.c: New file: strtok benchtest.
7582 2013-12-19 Allan McRae <allan@archlinux.org>
7584 * manual/install.texi: Suppress menu for plain text output.
7585 * INSTALL: Regenerated.
7587 2013-12-18 Brooks Moses <bmoses@google.com>
7590 * misc/getauxval.c: Include errno.h.
7591 (__getauxval): Set errno to ENOENT if the requested type is not
7593 * misc/sys/auxv.h (getauxval): Document that it may set errno;
7594 don't declare with __attribute_const__.
7595 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
7596 * manual/startup.texi: Document that getauxval sets errno.
7598 2013-12-18 Joseph Myers <joseph@codesourcery.com>
7600 * math/auto-libm-test-in: Add tests of jn and yn.
7601 * math/auto-libm-test-out: Regenerated.
7602 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
7603 (yn_test_data): Likewise.
7604 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7606 (func_calc_desc): Add mpfr_if_f union field.
7607 (FUNC_mpfr_if_f): New macro.
7608 (test_functions): Add jn and yn.
7609 (calc_generic_results): Assert type of second input for
7610 mpfr_ff_f. Handle mpfr_if_f.
7611 (output_for_one_input_case): Disable all checking for arguments
7612 fitting floating-point types in case of an integer argument.
7613 * sysdeps/i386/fpu/libm-test-ulps: Update.
7614 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
7617 Don't expect fegetround reference in libm.so.
7619 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7621 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
7622 $(config-cflags-nofma).
7624 2013-12-18 Joseph Myers <joseph@codesourcery.com>
7626 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
7627 * math/auto-libm-test-out: Regenerated.
7630 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
7631 to determine exponent and adjust argument to have exponent of -1.
7632 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
7634 * math/auto-libm-test-out: Regenerated.
7635 * sysdeps/i386/fpu/libm-test-ulps: Update.
7636 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7638 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
7640 * manual/probes.texi: Remove cases when per-thread arenas are
7643 2013-12-18 Andreas Schwab <schwab@suse.de>
7645 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
7646 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
7647 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
7648 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
7649 * sysdeps/i386/i686/multiarch/Makefile: Update.
7650 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
7652 2013-12-17 Joseph Myers <joseph@codesourcery.com>
7654 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
7655 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
7657 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
7660 Support TZ transition times < 00:00:00.
7661 This is needed for version-3 tz-format files; it supports time
7662 stamps past 2037 for America/Godthab (the only entry in the tz
7663 database for which this change is relevant).
7664 * manual/time.texi (TZ Variable): Document transition times
7665 from -167:59:59 through -00:00:01.
7666 * time/tzset.c (tz_rule): Time of day is now signed.
7667 (__tzset_parse_tz): Parse negative time of day.
7669 Document TZ transition times >= 25:00:00.
7670 * manual/time.texi (TZ Variable): Document transition times from
7671 25:00:00 through 167:59:59. These are already supported, and this
7672 support will help with version-3 tz-format files.
7674 * manual/time.texi (TZ Variable): Modernize North America example
7675 to reflect current (i.e., 2007-and-later) daylight saving rules.
7677 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
7679 2013-12-17 Joseph Myers <joseph@codesourcery.com>
7681 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
7682 * sysdeps/unix/bsd/bits/stat.h: Likewise.
7683 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
7684 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
7685 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
7686 * sysdeps/unix/bsd/bsdstat.h: Likewise.
7687 * sysdeps/unix/bsd/clock.c: Likewise.
7688 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
7689 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
7690 * sysdeps/unix/bsd/init-posix.c: Likewise.
7691 * sysdeps/unix/bsd/poll.c: Likewise.
7692 * sysdeps/unix/bsd/ptsname.c: Likewise.
7693 * sysdeps/unix/bsd/seekdir.c: Likewise.
7694 * sysdeps/unix/bsd/setegid.c: Likewise.
7695 * sysdeps/unix/bsd/seteuid.c: Likewise.
7696 * sysdeps/unix/bsd/setgid.c: Likewise.
7697 * sysdeps/unix/bsd/setrgid.c: Likewise.
7698 * sysdeps/unix/bsd/setruid.c: Likewise.
7699 * sysdeps/unix/bsd/setsid.c: Likewise.
7700 * sysdeps/unix/bsd/setuid.c: Likewise.
7701 * sysdeps/unix/bsd/sigaction.c: Likewise.
7702 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
7703 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
7704 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
7705 * sysdeps/unix/bsd/telldir.c: Likewise.
7706 * sysdeps/unix/bsd/times.c: Likewise.
7707 * sysdeps/unix/bsd/usleep.c: Likewise.
7709 * misc/Makefile (install-lib): Remove libbsd-compat.a.
7710 ($(objpfx)libbsd-compat.a): Remove rule.
7712 * include/features.h (__FAVOR_BSD): Do not define.
7713 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
7714 features conflicting with POSIX.
7715 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
7716 (_BSD_SOURCE): Remove description of not being a subset of other
7717 feature test macros.
7718 * manual/job.texi (getpgrp): Do not document BSD version.
7719 (getpgid): Do not document by reference to BSD getpgrp.
7720 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
7721 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
7722 * signal/signal.h [__FAVOR_BSD]: Likewise.
7723 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
7724 instead of making contents conditional on [__FAVOR_BSD].
7725 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
7727 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7729 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7731 2013-12-17 Joseph Myers <joseph@codesourcery.com>
7734 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
7735 values below 2**-450, not 2**-500.
7736 * math/auto-libm-test-in: Don't allow spurious underflow from
7738 * math/auto-libm-test-out: Regenerated.
7742 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
7743 values of ha and hb and sort them after adjusting subnormal
7745 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
7747 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
7748 values of ea and eb and sort them after adjusting subnormal
7750 * math/auto-libm-test-in: Do not expect some hypot tests of
7751 subnormals to fail. Add more hypot tests.
7752 * math/auto-libm-test-out: Regenerated.
7754 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7757 * sysdeps/sh/s_fma.c: New file.
7758 * sysdeps/sh/s_fmaf.c: New file.
7759 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
7761 * sysdeps/sh/Implies: Add sh/soft-fp.
7763 2013-12-16 Roland McGrath <roland@hack.frob.com>
7765 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
7766 level of indirection to members `objname', `errstring', `malloced'.
7767 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
7768 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
7769 it as the __longjmp argument (just pass 1 instead).
7770 (_dl_catch_error): Initialize C with argument pointers and address of
7771 volatile local ERRCODE rather than copying values out of C at return.
7773 2013-12-16 Joseph Myers <joseph@codesourcery.com>
7775 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
7776 * math/auto-libm-test-out: Regenerated.
7777 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
7778 (hypot_test_data): Likewise.
7779 (pow_test_data): Likewise.
7780 (pow_tonearest_test_data): Likewise.
7781 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7783 (func_calc_desc): Add mpfr_ff_f union field.
7784 (FUNC_mpfr_ff_f): New macro.
7785 (test_functions): Add atan2, hypot and pow.
7786 (special_fill_min): New function.
7787 (special_fill_minus_min): Likewise.
7788 (special_fill_min_subnorm): Likewise.
7789 (special_fill_minus_min_subnorm): Likewise.
7790 (special_real_inputs): Add min, -min, min_subnorm and
7792 (calc_generic_results): Handle mpfr_ff_f.
7793 * sysdeps/i386/fpu/libm-test-ulps: Update.
7794 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7796 2013-12-16 Will Newton <will.newton@linaro.org>
7798 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
7799 (Aligned Memory Blocks): Add documentation for aligned_alloc
7800 and suggest it as an alternative to posix_memalign.
7801 (Hooks for Malloc): Document __memalign_hook is also called
7802 for aligned_alloc. (Summary of Malloc): Add summary for
7803 aligned alloc. Document __memalign_hook is also called
7806 2013-12-16 Will Newton <will.newton@linaro.org>
7808 * manual/memory.texi (Malloc Examples): Clarify default
7809 alignment documentation. Suggest posix_memalign rather
7810 than memalign or valloc.
7811 (Aligned Memory Blocks): Remove suggestion to use memalign
7812 or valloc. Remove obsolete comment about BSD.
7813 Document memalign errno values and mark the function obsolete.
7814 Document posix_memalign returned error codes. Mark valloc
7815 as obsolete. (Hooks for Malloc): __memalign_hook is also
7816 called for posix_memalign and valloc.
7817 (Summary of Malloc): Add posix_memalign to function summary.
7818 __memalign_hook is also called for posix_memalign and valloc.
7820 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7822 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
7826 (sloww): Use mynumber union. Expand ternary operator into
7828 (cslow): use mynumber union.
7830 2013-12-16 Allan McRae <allan@archlinux.org>
7832 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
7833 * configure: Regenerated.
7835 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
7838 * configure.ac: Added --enable-maintainer-mode. Check for
7839 autoconf when enabled.
7840 * configure: Regenerated.
7842 * nscd/nscd.service: New file.
7843 * nscd/nscd.tmpfiles: New file.
7845 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
7848 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
7849 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
7850 * sysdeps/x86_64/multiarch/strstr.c: ... here.
7851 (strstr): Add __strstr_sse2_unaligned ifunc.
7852 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
7853 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
7854 (strcasestr): Remove __strcasestr_sse42 ifunc.
7855 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
7856 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
7857 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
7859 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7861 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
7862 * sysdeps/sh/bits/fenv.h: ... here.
7863 * sysdeps/sh/sh4/fpu/bits: Remove directory.
7865 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7867 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
7869 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
7870 hypotf multiarch implementations.
7871 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
7872 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
7873 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
7874 multiarch hypot for PPC64.
7875 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
7876 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
7877 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
7878 multiarch hypotf for PPC64.
7880 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
7881 modff multiarch implementations.
7882 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
7883 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
7884 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
7885 multiarch modf for PPC64.
7886 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
7887 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
7888 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
7889 multiarch modff for PPC64.
7891 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
7892 and logl multiarch implementations.
7893 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
7894 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
7895 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
7896 multiarch logb for PPC64.
7897 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
7898 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
7899 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
7900 multiarch logb for PPC64.
7901 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
7902 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
7903 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
7904 multiarch logb for PPC64.
7906 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
7907 isinff multiarch implementation.
7908 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
7910 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
7911 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
7912 multiarch isinf for PPC64.
7913 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
7915 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
7916 multiarch isinff for PPC64.
7918 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
7919 finitef multiarch implementation.
7920 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
7922 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
7923 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
7924 multiarch finite for PPC64.
7925 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
7927 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
7928 multiarch finitef for PPC64.
7930 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
7931 lrint multiarch implementation.
7932 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
7934 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
7935 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
7936 multiarch llrint for PPC64.
7937 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
7938 multiarch lrint for PPC64.
7940 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
7941 copysignf multiarch implementation.
7942 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
7944 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
7946 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
7947 multiarch copysign for PPC64.
7948 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
7949 multiarch copysignf for PPC64.
7951 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
7952 multiarch implementation.
7953 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
7955 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
7957 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
7959 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
7961 multiarch llround for PPC64.
7962 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
7963 multiarch trunc for PPC64.
7964 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
7965 multiarch truncf for PPC64.
7967 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
7968 multiarch implementation.
7969 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
7971 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
7973 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
7975 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
7977 multiarch llround for PPC64.
7978 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
7979 multiarch round for PPC64.
7980 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
7981 multiarch roundf for PPC64.
7983 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
7984 multiarch implementation.
7985 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
7987 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
7989 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
7991 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
7993 multiarch llround for PPC64.
7994 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
7995 multiarch floor for PPC64.
7996 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
7997 multiarch floorf for PPC64.
7999 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
8000 multiarch implementation.
8001 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
8003 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
8005 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
8007 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
8009 multiarch llround for PPC64.
8010 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
8011 multiarch ceil for PPC64.
8012 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
8013 multiarch ceilf for PPC64.
8015 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
8016 multiarch implementation.
8017 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
8019 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
8021 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
8023 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
8024 multiarch llround for PPC64.
8025 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
8026 multiarch lround for PPC64.
8028 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
8029 multiarch implementation.
8030 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
8031 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
8032 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
8034 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
8035 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
8036 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
8037 multiarch isnan for PPC64.
8038 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
8039 multiarch isnanf for PPC64.
8041 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
8042 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
8043 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
8044 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
8045 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
8046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
8048 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
8049 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
8050 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8051 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8053 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
8054 multiarch implementations.
8055 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8056 (__libc_ifunc_impl_list): Likewise.
8057 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
8058 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
8059 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
8060 multiarch stpcpy for PPC64.
8062 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
8063 multiarch implementations.
8064 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8065 (__libc_ifunc_impl_list): Likewise.
8066 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
8067 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
8068 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
8069 multiarch strcpy for PPC64.
8071 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
8072 redefine function name.
8073 (_wordcopy_fwd_dest_aligned): Likewise.
8074 (_wordcopy_bwd_aligned): Likewise.
8075 (_wordcopy_bwd_dest_aligned): Likewise.
8076 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
8077 multiarch implementations.
8078 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8079 (__libc_ifunc_impl_list): Likewise.
8080 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
8081 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
8082 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
8083 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
8084 multiarch wcscpy for PPC64.
8086 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
8087 multiarch implementations.
8088 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8089 (__libc_ifunc_impl_list): Likewise.
8090 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
8091 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
8092 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
8093 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
8094 multiarch wcscpy for PPC64.
8096 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
8097 multiarch implementations.
8098 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8099 (__libc_ifunc_impl_list): Likewise.
8100 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
8101 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
8102 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
8103 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
8104 multiarch wcsrchr for PPC64.
8106 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
8107 multiarch implementations.
8108 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8109 (__libc_ifunc_impl_list): Likewise.
8110 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
8111 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
8112 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
8113 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
8114 multiarch wcschr for PPC64.
8116 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
8117 multiarch implementations.
8118 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8119 (__libc_ifunc_impl_list): Likewise.
8120 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
8121 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
8122 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
8123 multiarch strchrnul for PPC64.
8125 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
8127 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8128 (__libc_ifunc_impl_list): Likewise.
8129 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
8130 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
8131 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
8132 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
8135 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
8137 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8138 (__libc_ifunc_impl_list): Likewise.
8139 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
8140 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
8141 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
8142 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
8145 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
8146 multiarch implementations.
8147 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8148 (__libc_ifunc_impl_list): Likewise.
8149 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
8150 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
8151 strncasecmp for PPC64.
8152 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
8153 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
8154 multiarch strncasecmp_l for PPC64.
8156 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
8157 multiarch implementations.
8158 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8159 (__libc_ifunc_impl_list): Likewise.
8160 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
8161 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
8162 multiarch strcasecmp for PPC64.
8163 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
8165 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
8166 multiarch strcasecmp_l for PPC64.
8168 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
8170 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8171 (__libc_ifunc_impl_list): Likewise.
8172 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
8173 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
8174 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
8177 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
8179 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8180 (__libc_ifunc_impl_list): Likewise.
8181 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
8182 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
8183 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
8186 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
8188 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8189 (__libc_ifunc_impl_list): Likewise.
8190 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
8191 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
8192 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
8193 rawmemrchr for PPC64.
8195 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
8197 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8198 (__libc_ifunc_impl_list): Likewise.
8199 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
8200 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
8201 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
8204 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
8206 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8207 (__libc_ifunc_impl_list): Likewise.
8208 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
8209 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
8210 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
8213 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
8215 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8216 (__libc_ifunc_impl_list): Likewise.
8217 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
8218 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
8219 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
8222 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
8223 avoid cretion of __bzero symbol.
8224 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
8226 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
8228 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
8230 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
8231 multiarch implementations.
8232 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8233 (__libc_ifunc_impl_list): Likewise.
8234 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
8235 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
8236 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
8237 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
8239 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
8240 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
8241 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
8242 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
8243 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
8245 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
8247 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
8248 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
8250 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8251 (__libc_ifunc_impl_list): Likewise.
8252 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
8253 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
8254 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
8255 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
8258 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
8259 multiarch for POWER/PPC64.
8260 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
8261 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
8262 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
8263 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
8264 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
8265 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
8266 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
8267 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
8268 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
8271 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
8272 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
8273 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
8274 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
8275 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
8276 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
8277 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
8278 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
8279 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
8280 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
8281 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
8282 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
8283 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
8284 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
8285 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
8286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
8287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
8288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
8289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
8290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
8291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
8292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
8294 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8296 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
8298 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8300 * benchtests/Makefile (bench): Add exp2 and log2.
8301 (LDLIBS-bench-exp2): Add -lm.
8302 (LDLIBS-bench-log2): Likewise.
8303 * benchtests/exp2-inputs: New inputs file.
8304 * benchtests/log2-inputs: New inputs file.
8305 * benchtests/log-inputs: Add new inputs.
8306 * benchtests/tan-inputs: Likewise.
8308 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8310 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
8312 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
8313 (csloww2): ... from here.
8315 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
8316 instead of structures.
8317 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
8318 (POLYNOMIAL): Likewise.
8319 (TAYLOR_SLOW): Likewise.
8327 (bsloww1): Likewise.
8328 (bsloww2): Likewise.
8331 (csloww1): Likewise.
8332 (csloww2): Likewise.
8334 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
8336 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
8337 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
8338 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
8339 * malloc/hooks.c (realloc_check): Likewise.
8341 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
8342 * malloc/arena.c: Remove PER_THREAD conditional.
8343 [!PER_THREAD]: Remove code.
8344 (ptmalloc_unlock_all2): Likewise.
8345 (ptmalloc_init): Likewise.
8346 (_int_new_arena): Likewise.
8347 (arena_get2): Likewise.
8348 * malloc/hooks.c (__malloc_get_state): Likewise.
8349 (__malloc_set_state): Likewise.
8350 * malloc/malloc.c: Likewise.
8351 (struct malloc_state): Likewise.
8352 (struct malloc_par): Likewise.
8353 (__libc_realloc): Likewise.
8354 (__libc_mallopt): Likewise.
8356 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8358 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
8360 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
8362 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
8363 macro to a function. Check for zero perturb_byte.
8364 (_int_malloc, _int_free): Remove zero perturb_byte checks.
8366 * malloc/malloc.c: (force_reg): Remove.
8367 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
8368 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
8369 force_reg by atomic_forced_read.
8370 * malloc/arena.c (ptmalloc_init): Likewise.
8371 * malloc/hooks.c (top_check): Likewise.
8373 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8375 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8377 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
8379 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8381 2013-12-08 Joseph Myers <joseph@codesourcery.com>
8383 * math/auto-libm-test-in: Add tests of lgamma.
8384 * math/auto-libm-test-out: Regenerated.
8385 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
8386 (M_LOG_2_SQRT_PIl): Likewise.
8387 (lgamma_test_data): Use AUTO_TESTS_f_f1.
8388 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8390 (func_calc_desc): Add mpfr_f_f1 union field.
8399 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
8400 (test_functions): Add lgamma.
8401 (calc_generic_results): Handle mpfr_f_f1.
8402 * sysdeps/i386/fpu/libm-test-ulps: Update.
8403 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8405 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8407 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
8408 __mpn_add_n for PowerPC64/POWER7.
8409 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
8410 __mpn_sub_n for PowerPC64/POWER7.
8412 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
8413 __mpn_addmul_1 for PowerPC64.
8414 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
8415 __mpn_submul_1 for PowerPC64.
8416 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
8418 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
8421 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
8424 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
8426 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8428 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
8430 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
8431 add multiarch folders.
8432 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
8433 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
8434 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
8435 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
8436 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
8437 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
8438 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
8439 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
8440 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
8441 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
8442 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
8443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
8444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
8445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
8446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
8447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
8448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
8450 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
8451 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
8452 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
8454 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
8456 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
8457 multiarch __ieee754_hypot for PowerPC32.
8458 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
8460 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
8462 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
8463 multiarch __ieee754_hypotf for PowerPC32.
8465 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
8466 long_double_symbol only if __logbl is defined.
8467 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
8468 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
8469 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
8470 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
8471 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
8472 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
8473 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
8474 path for implementation.
8475 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
8476 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
8477 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
8478 logb, and logbl multiarch implementations for PowerPC32.
8479 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
8481 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
8483 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
8484 multiarch logb for PowerPC32.
8485 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
8487 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
8489 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
8490 multiarch logbf for PowerPC32.
8491 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
8492 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
8494 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
8495 multiarch logbl implementation for PowerPC32.
8497 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
8498 and modff multiarch implementations.
8499 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
8501 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
8503 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
8504 multiarch modf for PowerPC32.
8505 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
8507 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
8509 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
8510 multiarch modff for PowerPC32.
8512 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
8513 and lrintf multiarch implementations.
8514 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
8516 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
8518 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
8519 multiarch lrint for PowerPC32.
8520 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
8521 file: multiarch lrintf for PowerPC32.
8523 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
8524 and lroundf multiarch implementations.
8525 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
8527 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
8529 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
8531 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
8532 multiarch lround for PowerPC32.
8533 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
8534 file: multiarch lroundf for PowerPC32.
8536 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
8537 copysign and copysignf multiarch implementations.
8538 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
8540 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
8542 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
8543 file: multiarch copysign for PowerPC32.
8544 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
8545 file: multiarch copysignf for PowerPC32.
8547 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
8548 and truncf multiarch implementations.
8549 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
8551 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
8553 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
8554 multiarch trunc for PowerPC32.
8555 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
8557 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
8559 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
8560 multiarch truncf for PowerPC32.
8562 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
8563 and roundf multiarch implementations.
8564 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
8566 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
8568 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
8569 multiarch round for PowerPC32.
8570 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
8572 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
8574 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
8575 multiarch roundf for PowerPC32.
8577 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
8578 and floorf multiarch implementations.
8579 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
8581 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
8583 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
8584 multiarch floor for PowerPC32.
8585 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
8587 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
8589 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
8590 multiarch floorf for PowerPC32.
8592 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
8593 and ceilf multiarch implementations.
8594 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
8596 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
8598 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
8599 multiarch ceil for PowerPC32.
8600 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
8602 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
8604 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
8605 multiarch ceilf for PowerPC32.
8607 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
8609 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
8611 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
8612 and finitef multiarch implementations.
8613 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
8615 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
8617 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
8618 multiarch finite for PowerPC32.
8619 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
8621 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
8622 file: multiarch finitef for PowerPC32.
8624 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
8625 and isinff multiarch implementations.
8626 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
8628 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
8630 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
8631 multiarch isinf for PowerPC32.
8632 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
8634 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
8635 multiarch isinff for PowerPC32.
8637 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
8638 alias when __isnan is defined.
8639 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
8640 and isnanf multiarch implementations.
8641 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
8643 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
8645 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
8647 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
8649 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
8650 multiarch isnan for PowerPC32.
8651 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
8653 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
8655 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
8656 multiarch isnanf for PowerPC32.
8658 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
8659 and sqrtf multiarch implementations.
8660 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
8662 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
8664 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
8665 multiarch sqrt for PowerPC32.
8666 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
8668 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
8670 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
8671 multiarch sqrtf for PowerPC32.
8673 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
8674 and llroundf multiarch implementations.
8675 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
8677 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
8679 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
8681 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
8682 file: multiarch llround for PowerPC32.
8683 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
8684 file: multiarch llroundf for PowerPC32.
8686 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
8687 multiarch PowerPC32 fpu implementations.
8688 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
8690 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
8692 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
8693 multiarch llrint for PowerPC32.
8694 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
8696 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
8698 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
8701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
8703 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
8705 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
8707 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
8709 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
8710 multiarch wordcopy for PPC32.
8711 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
8713 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8714 (__libc_ifunc_impl_list): Likewise.
8715 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
8716 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
8717 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
8718 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
8719 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
8720 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
8722 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
8723 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
8725 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
8727 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
8729 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
8730 multiarch wcscpy for PPC32.
8731 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
8733 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8734 (__libc_ifunc_impl_list): Likewise.
8735 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
8736 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
8737 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
8738 sysdeps/powerpc/power6/wcscpy.c.
8740 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
8741 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
8743 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
8745 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
8747 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
8748 multiarch wcsrchr for PPC32.
8749 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
8751 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8752 (__libc_ifunc_impl_list): Likewise.
8753 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
8754 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
8755 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
8756 sysdeps/powerpc/power6/wcsrchr.c.
8758 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
8760 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
8762 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
8763 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
8764 multiarch wcschr for PPc32.
8765 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
8767 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8768 (__libc_ifunc_impl_list): Likewise.
8769 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
8770 * sysdeps/powerpc/power6/wcschr.c: ... to here.
8771 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
8772 sysdeps/powerpc/power6/wcschr.c.
8774 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
8775 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
8777 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
8778 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
8779 file: multiarch strchr for PPC32.
8780 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
8782 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8783 (__libc_ifunc_impl_list): Likewise.
8785 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
8787 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
8789 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
8791 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
8792 multiarch strchrnul for PPC32.
8793 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
8795 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8796 (__libc_ifunc_impl_list): Likewise.
8798 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
8800 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
8801 multiarch strncasecmp for PPC32.
8802 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
8804 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
8805 multiarch strncasecmp_l for PPC32.
8806 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
8807 strncasecmp multiarch objects.
8808 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8809 (__libc_ifunc_impl_list): Likewise.
8811 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
8813 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
8814 multiarch strncasecmp for PPC32.
8815 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
8817 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
8818 multiarch strcasecmp_l for PPC32.
8819 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
8821 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8822 (__libc_ifunc_impl_list): Likewise.
8824 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
8826 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
8828 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
8829 multiarch strncmp for PPC32.
8830 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
8832 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8833 (__libc_ifunc_impl_list): Likewise.
8835 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
8836 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
8838 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
8839 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
8840 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
8842 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8843 (__libc_ifunc_impl_list): Likewise.
8845 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
8847 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
8849 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
8850 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
8852 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8853 (__libc_ifunc_impl_list): Likewise.
8855 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
8857 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
8859 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
8860 multiarch rawmemchr for PPC32.
8861 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
8863 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8864 (__libc_ifunc_impl_list): Likewise.
8866 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
8868 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
8870 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
8871 file: memrchr multiarch for PPC32.
8872 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
8874 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8875 (__libc_ifunc_impl_list): Likewise.
8877 * string/memchr.c (__memchr): Using macro to redefine symbol name.
8878 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
8880 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
8881 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
8882 multiarch memchr for PPC32.
8883 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
8885 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8886 (__libc_ifunc_impl_list): Likewise.
8888 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
8889 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
8891 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
8893 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
8894 file: multiarch mempcpy for PPC32.
8895 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
8897 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8898 (__libc_ifunc_impl_list): Likewise.
8900 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
8901 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
8902 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
8903 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
8904 multiarch bzero for PPC32.
8905 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
8907 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
8909 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
8910 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
8911 file: multiarch memset for PPC32.
8912 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
8913 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
8914 memset multiarch objects.
8915 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8916 (__libc_ifunc_impl_list): Likewise.
8918 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
8920 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
8921 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
8923 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
8924 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
8926 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8927 (__libc_ifunc_impl_list): Likewise.
8929 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
8930 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
8931 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
8933 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
8935 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
8937 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
8938 multiarch memcpy for PPC32.
8939 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
8941 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8942 (__libc_ifunc_impl_list): Likewise.
8944 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
8945 support multiarch for POWER/PPC32.
8946 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
8948 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
8949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
8950 Implies file to make multiarch folder appers before the fpu and
8951 default folder for power4 configuration.
8953 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8955 * scripts/bench.pl: Append volatile keyword to type.
8957 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8959 * sysdeps/sh/sotruss-lib.c: New file.
8960 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
8962 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8964 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8966 2013-12-05 Joseph Myers <joseph@codesourcery.com>
8969 * math/w_tgamma.c: Include <errno.h>.
8970 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
8971 * math/w_tgammaf.c: Include <errno.h>.
8972 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
8973 * math/w_tgammal.c: Include <errno.h>.
8974 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
8975 * math/auto-libm-test-in: Do not allow missing errno on tgamma
8976 underflow. Add more tgamma tests.
8977 * math/auto-libm-test-out: Regenerated.
8978 * sysdeps/i386/fpu/libm-test-ulps: Update.
8979 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8981 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
8982 sin, sinh, tan, tanh, tgamma, y0 and y1.
8983 * math/auto-libm-test-out: Regenerated.
8984 * math/libm-test.inc (TEST_COND_x86_64): New macro.
8985 (TEST_COND_x86): Likewise.
8986 (M_E2l): Remove macro.
8988 (M_2_SQRT_PIl): Likewise.
8989 (M_SQRT_PIl): Likewise.
8990 (M_1_DIV_El): Likewise.
8991 (log_test_data): Use AUTO_TESTS_f_f.
8992 (log10_test_data): Likewise.
8993 (log1p_test_data): Likewise.
8994 (log2_test_data): Likewise.
8995 (sin_test_data): Likewise.
8996 (sin_tonearest_test_data): Likewise.
8997 (sin_towardzero_test_data): Likewise.
8998 (sin_downward_test_data): Likewise.
8999 (sin_upward_test_data): Likewise.
9000 (sinh_test_data): Likewise.
9001 (sinh_tonearest_test_data): Likewise.
9002 (sinh_towardzero_test_data): Likewise.
9003 (sinh_downward_test_data): Likewise.
9004 (sinh_upward_test_data): Likewise.
9005 (tan_test_data): Likewise.
9006 (tan_tonearest_test_data): Likewise.
9007 (tan_towardzero_test_data): Likewise.
9008 (tan_downward_test_data): Likewise.
9009 (tan_upward_test_data): Likewise.
9010 (tanh_test_data): Likewise.
9011 (tgamma_test_data): Likewise.
9012 (y0_test_data): Likewise.
9013 (y1_test_data): Likewise.
9014 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
9015 (special_real_inputs): Add pi/4.
9016 * sysdeps/i386/fpu/libm-test-ulps: Update.
9017 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9019 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9021 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
9022 "longjmp_target" static probes.
9023 (__longjmp): Rename to __longjmp_symbol.
9024 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
9025 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
9026 on which longjmp to generate.
9027 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9028 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
9030 (__sigsetjmp): Rename to __sigsetjmp_symbol.
9031 (__sigjmp_save): Rename to __sigjmp_save_symbol.
9032 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
9033 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
9034 and __sigjmp_save_symbol based on which sigsetjmp to generated.
9035 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
9036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
9037 __longjmp_symbol based on which __longjmp to generate.
9038 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
9040 (setjmp): Rename to setjmp_symbol.
9041 (__sigsetjmp): Rename to __sigsetjmp_symbol.
9042 (_setjmp): Rename to _setjmp_symbol.
9043 (__sigsetjmp): Rename to __sigsetjmp_symbol.
9044 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
9045 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
9046 which setjmp to generate.
9047 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
9048 "longjmp_target" static probes.
9050 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9052 * benchtests/README: Add note about output arguments.
9053 * benchtests/bench-sincos.c: Remove file.
9054 * benchtests/sincos-inputs: New file.
9055 * scripts/bench.pl: Identify output arguments and define
9056 static variables for them.
9058 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
9061 * Makefile (INSTALL): Add install-plain.texi as the primary
9063 * manual/install-plain.texi: New file.
9064 * manual/install.texi: Include node directive only for
9065 non-plaintext output.
9067 2013-12-04 Joseph Myers <joseph@codesourcery.com>
9069 * stdlib/longlong.h: Update from GCC.
9073 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
9074 * math/w_j0f.c (y0f): Likewise.
9075 * math/w_j0l.c (__y0l): Likewise.
9076 * math/w_j1.c (y1): Likewise.
9077 * math/w_j1f.c (y1f): Likewise.
9078 * math/w_j1l.c (__y1l): Likewise
9079 * math/w_jn.c (yn): Likewise.
9080 * math/w_jnf.c (ynf): Likewise.
9081 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
9082 Bessel function pole errors in _POSIX_ mode. Use NAN as return
9083 value for Bessel function domain errors outside _SVID_ mode.
9084 Adjust sign of return value for yn (negative integer, 0).
9085 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
9086 by zero in return for negative x and set sign appropriately for
9088 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
9089 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
9090 * math/libm-test.inc (y0_test_data): Add more tests and adjust
9091 expectations in error cases.
9092 (y1_test_data): Likewise.
9093 (yn_test_data): Likewise.
9094 * sysdeps/i386/fpu/libm-test-ulps: Update.
9095 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9097 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9099 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
9100 "64" to "64-v1". Add "64-v2".
9101 (abi-64-options): Rename to ...
9102 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
9103 (abi-64-condition): Rename to ...
9104 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
9105 (abi-64-ld-soname): Rename to ...
9106 (abi-64-v1-ld-soname): ... this.
9107 (abi-64-v2-options): Define.
9108 (abi-64-v2-condition): Likewise.
9109 (abi-64-v2-ld-soname): Likewise.
9110 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
9111 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
9112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
9113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
9114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
9116 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9117 Alan Modra <amodra@gmail.com>
9119 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
9120 New versions for use with the ELFv2 ABI.
9121 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
9122 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
9124 (struct La_ppc64v2_retval): Likewise.
9125 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
9126 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
9127 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
9128 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
9129 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
9130 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
9131 Do not save or restore CR.
9132 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
9133 (_dl_profile_resolve): Do no save or restore CR. Support extended
9134 return values for ELFv2 ABI. Fix location of FPR return registers.
9135 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
9136 updated values for _CALL_ELF == 2.
9137 (La_regs, La_retval, int_retval): Likewise.
9139 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9141 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
9142 (FRAME_MIN_SIZE_PARM): Likewise.
9143 (FRAME_BACKCHAIN): Likewise.
9144 (FRAME_CR_SAVE): Likewise.
9145 (FRAME_LR_SAVE): Likewise.
9146 (FRAME_TOC_SAVE): Likewise.
9147 (FRAME_PARM_SAVE): Likewise.
9148 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
9149 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
9150 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
9151 (call_mcount_parm_offset): New macro.
9152 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
9153 (PROF): Use symbolic stack frame offsets.
9154 (TAIL_CALL_SYSCALL_ERROR): Likewise.
9155 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
9156 Redefine in terms of FRAME_MIN_SIZE.
9157 (_dl_runtime_resolve): Use symbolic stack frame offsets.
9158 (_dl_profile_resolve): Likewise. Update comment.
9159 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
9160 symbols stack frame offsets.
9161 (__sigsetjmp): Likewise.
9162 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
9163 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
9164 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
9165 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
9167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
9168 (FRAME_BACKCHAIN): Remove.
9169 (FRAME_CR_SAVE): Likewise.
9170 (FRAME_LR_SAVE): Likewise.
9171 (FRAME_COMPILER_DW): Likewise.
9172 (FRAME_LINKER_DW): Likewise.
9173 (FRAME_TOC_SAVE): Likewise.
9174 (FRAME_PARM_SAVE): Likewise.
9175 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
9176 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
9177 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
9178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
9179 (CHECK_SP): Use symbolic stack frame offsets.
9180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
9181 zone" instead of caller's parameter save area for temp storage.
9182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
9183 Likewise. Also, use symbolic stack frame offsets.
9184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
9185 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
9186 our own stack frame instead of the caller's.
9187 (__socket): Use symbolic stack frame offsets.
9189 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9190 Alan Modra <amodra@gmail.com>
9192 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
9194 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
9195 (PPC64_LOCAL_ENTRY_OFFSET): Define.
9196 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
9198 (elf_machine_fixup_plt): Call it.
9199 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
9201 (elf_machine_rela): Update call to elf_machine_plt_conflict.
9202 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
9203 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
9204 r2 before calling target.
9206 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9207 Alan Modra <amodra@gmail.com>
9209 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
9210 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
9211 versions of macros to support ELFv2 ABI.
9212 (LOCALENTRY): New macro.
9213 (ENTRY, EALIGN): Use it.
9214 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
9215 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
9216 fall through into ENTRY entry point.
9217 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
9218 Only define if _CALL_ELF != 2.
9220 (elf_machine_matches_host): Verify ABI version matches.
9221 (RTLD_START): Use LOCALENTRY.
9222 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
9223 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
9224 (PLT_ENTRY_WORDS): New macro.
9225 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
9226 (elf_machine_runtime_setup): Support ELFv2 ABI.
9227 (elf_machine_fixup_plt): Likewise.
9228 (elf_machine_plt_conflict): Likewise.
9229 (resolve_ifunc): Likewise.
9230 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
9231 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
9233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
9234 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
9235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
9236 (makecontext): Support ELFv2 ABI.
9237 * elf/elf.h (EF_PPC64_ABI): Define.
9239 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9241 * sysdeps/powerpc/powerpc64/sysdep.h
9242 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
9243 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
9244 (ENTRY) [ASSEMBLER]: ... but instead here ...
9245 (EALIGN) [ASSEMBLER]: ... and here.
9246 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
9247 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
9248 (ENTRY_2) [!ASSEMBLER]: Use it.
9249 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
9250 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
9251 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
9252 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
9253 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
9254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
9255 Use PPC64_LOAD_FUNCPTR.
9257 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
9259 2013-12-04 Alan Modra <amodra@gmail.com>
9261 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
9262 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
9263 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
9264 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
9266 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
9267 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
9268 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
9269 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
9270 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
9271 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
9273 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
9276 (__makecontext): Fix incorrect CFI when backtracing out of
9277 context created via makecontext.
9278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
9279 (__setcontext): Fix incorrect CFI during switch to new context.
9280 (__novec_setcontext): Likewise.
9282 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
9285 * time/strptime_l.c (__strptime_internal): Allow modifiers
9287 * time/tst-strptime.c (day_tests): Add testcase.
9289 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9291 * scripts/bench.pl: Skip over blank lines.
9293 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
9296 * manual/time.texi (Calendar Time): Clarify what timezone functions
9299 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9301 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9303 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
9305 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
9307 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
9308 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
9309 * debug/memset_chk.c (__memset_chk): Likewise.
9310 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
9311 * debug/strncpy_chk.c: Likewise.
9313 2013-12-03 Joseph Myers <joseph@codesourcery.com>
9317 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
9318 (__ieee754_exp): For possibly underflowing results, check size of
9319 result and force underflow exception if required.
9320 * math/auto-libm-test-in: Add more tests of exp.
9321 * math/auto-libm-test-out: Regenerated.
9322 * sysdeps/i386/fpu/libm-test-ulps: Update.
9323 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9326 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
9327 * math/w_exp2f.c (__exp2f): Likewise.
9328 * math/w_exp2l.c (__exp2l): Likewise.
9329 * math/auto-libm-test-in: Do not allow missing errno on exp2
9331 * math/auto-libm-test-out: Regenerated.
9333 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
9336 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
9337 handle filename validation.
9338 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
9341 2013-12-03 Joseph Myers <joseph@codesourcery.com>
9344 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
9345 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
9346 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
9348 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
9349 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
9350 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
9351 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
9352 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
9353 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
9354 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
9355 * math/auto-libm-test-in: Don't allow missing errno from erfc.
9356 Add more erfc tests.
9357 * math/auto-libm-test-out: Regenerated.
9358 * sysdeps/i386/fpu/libm-test-ulps: Update.
9359 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9361 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
9362 exp2, expm1, j0 and j1.
9363 * math/auto-libm-test-out: Regenerated.
9364 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
9365 (erfc_test_data): Likewise.
9366 (exp_test_data): Likewise.
9367 (exp_tonearest_test_data): Likewise.
9368 (exp_towardzero_test_data): Likewise.
9369 (exp_downward_test_data): Likewise.
9370 (exp_upward_test_data): Likewise.
9371 (exp10_test_data): Likewise.
9372 (exp2_test_data): Likewise.
9373 (expm1_test_data): Likewise.
9374 (j0_test_data): Likewise.
9375 (j1_test_data): Likewise.
9376 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
9377 (input_flag_type): Add flag_xfail_rounding.
9378 (input_flags): Add xfail-rounding.
9379 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
9380 (output_for_one_input_case): Handle flag_xfail_rounding.
9381 * sysdeps/i386/fpu/libm-test-ulps: Update.
9382 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9384 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
9387 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
9390 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
9393 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
9394 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
9395 (STAP_PROBE0): New macro.
9396 (STAP_PROBE1): Likewise.
9397 (STAP_PROBE2): Likewise.
9398 (STAP_PROBE3): Likewise.
9399 (STAP_PROBE4): Likewise.
9401 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
9403 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
9405 2013-12-02 Steve Ellcey <sellcey@mips.com>
9407 * benchtests/Makefile (bench): Add sqrt.
9408 (LDLIBS-bench-sqrt): New.
9409 * benchtests/sqrt-input: New.
9411 2013-12-02 Pavel Simerda <psimerda@redhat.com>
9413 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
9414 (GAIH_EAI): Likewise.
9415 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
9416 (gaih_inet): Likewise.
9417 (getaddrinfo): Don't use GAIH_EAI.
9419 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
9420 (struct gaih): Remove definition.
9422 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9424 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
9425 Use HERRNOP directly.
9427 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9429 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9431 2013-11-30 Joseph Myers <joseph@codesourcery.com>
9433 * math/gen-auto-libm-tests.c (test_functions): Add more
9434 single-argument functions.
9435 (special_fill_pi_2): New function.
9436 (special_fill_minus_pi_2): Likewise.
9437 (special_fill_pi_6): Likewise.
9438 (special_fill_minus_pi_6): Likewise.
9439 (special_fill_pi_3): Likewise.
9440 (special_fill_2pi_3): Likewise.
9441 (special_fill_e): Likewise.
9442 (special_fill_1_e): Likewise.
9443 (special_fill_e_minus_1): Likewise.
9444 (special_real_inputs): Add more special inputs.
9445 (output_for_one_input_case): Do not require ERANGE on underflow to
9446 zero if round-to-nearest result does not underflow to zero, unless
9447 exact results required.
9448 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
9449 atan, atanh, cbrt, cos and cosh.
9450 * math/auto-libm-test-out: Regenerated.
9451 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
9452 (acos_tonearest_test_data): Likewise.
9453 (acos_towardzero_test_data): Likewise.
9454 (acos_downward_test_data): Likewise.
9455 (acos_upward_test_data): Likewise.
9456 (acosh_test_data): Likewise.
9457 (asin_test_data): Likewise.
9458 (asin_tonearest_test_data): Likewise.
9459 (asin_towardzero_test_data): Likewise.
9460 (asin_upward_test_data): Likewise.
9461 (asinh_test_data): Likewise.
9462 (atan_test_data): Likewise.
9463 (atanh_test_data): Likewise.
9464 (cbrt_test_data): Likewise.
9465 (cos_test_data): Likewise.
9466 (cos_tonearest_test_data): Likewise.
9467 (cos_towardzero_test_data): Likewise.
9468 (cos_downward_test_data): Likewise.
9469 (cos_upward_test_data): Likewise.
9470 (cosh_test_data): Likewise.
9471 (cosh_tonearest_test_data): Likewise.
9472 (cosh_towardzero_test_data): Likewise.
9473 (cosh_downward_test_data): Likewise.
9474 (cosh_upward_test_data): Likewise.
9475 * sysdeps/i386/fpu/libm-test-ulps: Update.
9476 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9478 2013-11-29 Joseph Myers <joseph@codesourcery.com>
9481 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
9482 * math/w_exp10f.c (__exp10f): Likewise.
9483 * math/w_exp10l.c (__exp10l): Likewise.
9484 * math/libm-test.inc (exp10_test_data): Add more tests and expect
9485 errno settings in existing tests.
9488 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
9489 precision control set to double precision.
9490 * sysdeps/i386/fpu/w_sqrt.c: New file.
9491 * math/auto-libm-test-in: Add more tests.
9492 * math/auto-libm-test-out: Update.
9494 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
9495 (sqrt_test_tonearest): New function.
9496 (sqrt_towardzero_test_data): New variable.
9497 (sqrt_test_towardzero): New function.
9498 (sqrt_downward_test_data): New variable.
9499 (sqrt_test_downward): New function.
9500 (sqrt_upward_test_data): New variable.
9501 (sqrt_test_upward): New function.
9502 (main): Call the new functions.
9504 * math/gen-auto-libm-tests.c: New file.
9505 * math/auto-libm-test-in: Likewise.
9506 * math/auto-libm-test-out: New generated file.
9507 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
9509 (%beautify): Add generated representations of zero.
9510 (top level): Set $auto_input and call parse_auto_input.
9511 (beautify): Remove trailing "f" from hex float constants.
9512 (parse_args): Handle XFAIL_TEST.
9513 (convert_condition): New function.
9514 (or_value): Likewise.
9515 (or_cond_value): Likewise.
9516 (generate_testfile): Handle AUTO_TESTS_* lines.
9517 (parse_auto_input): New function.
9518 * math/libm-test.inc (XFAIL_TEST): New macro.
9519 (ERRNO_UNCHANGED): Update value.
9520 (ERRNO_EDOM): Likewise.
9521 (ERRNO_ERANGE): Likewise.
9522 (IGNORE_RESULT): Likewise.
9523 (TEST_COND_flt_32): New macro.
9524 (TEST_COND_dbl_64): Likewise.
9525 (TEST_COND_ldbl_96_intel): Likewise.
9526 (TEST_COND_ldbl_96_m68k): Likewise.
9527 (TEST_COND_ldbl_128): Likewise.
9528 (TEST_COND_ldbl_128ibm): Likewise.
9529 (TEST_COND_long32): Likewise.
9530 (TEST_COND_long64): Likewise.
9531 (TEST_COND_before_rounding): Likewise.
9532 (TEST_COND_after_rounding): Likewise.
9533 (enable_test): Handle XFAIL_TEST flag.
9534 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
9535 with finite results.
9536 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
9539 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9540 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9543 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
9544 __tls_get_addr_internal instead of __tls_get_offset in order to
9545 avoid GOT pointer dependency. Make rtld export
9546 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
9547 __tls_get_addr since we are a __tls_get_offset platform.
9548 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
9549 GOT pointer being set up before.
9550 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
9552 2013-11-28 Joseph Myers <joseph@codesourcery.com>
9554 * manual/math.texi (Errors in Math Functions): Document accuracy
9558 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
9559 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
9560 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9561 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9562 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9563 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9564 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9565 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
9566 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
9567 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9568 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9569 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9570 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9571 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9572 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
9573 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
9575 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
9576 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
9577 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
9578 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
9579 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
9581 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
9583 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
9585 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
9586 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
9587 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
9588 atomic-feupdateenv and flt-rounds.
9589 * sysdeps/powerpc/nofpu/Versions (libc): Add
9590 __atomic_feholdexcept, __atomic_feclearexcept,
9591 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
9592 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
9593 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
9594 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
9595 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
9597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
9600 * manual/arith.texi (FP Exceptions): Document that exceptions may
9601 not be raised when matherr is used.
9602 (Math Error Reporting): Document overflow in directed rounding
9603 modes. Document that errno may not be set when finite values are
9604 returned on overflow. Document intent to set errno on underflow
9605 only for underflow to zero.
9608 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
9609 round-to-nearest then adjust result for other rounding modes.
9610 * include/fenv.h (fegetround): Use libm_hidden_proto.
9611 * math/fegetround.c (fegetround): Use libm_hidden_def.
9612 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
9613 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
9614 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
9615 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
9617 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
9618 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
9619 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
9620 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
9622 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9625 * nss/Versions (libnss_files): Add
9626 _nss_files_gethostbyname3_r.
9627 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
9629 (HOST_DB_LOOKUP): Remove macro.
9630 (_nss_files_gethostbyname_r): Implement function without the
9631 HOST_DB_LOOKUP macro.
9632 (_nss_files_gethostbyname2_r): Likewise.
9634 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
9636 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
9638 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
9640 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
9641 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
9644 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9646 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
9647 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
9648 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
9649 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
9650 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
9651 __fe_nomask_env_priv and attribute_hidden.
9652 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
9653 (libc_feupdateenv_test_ppc): Likewise.
9654 (libc_feresetround_ppc): Likewise.
9655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9656 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
9657 compat_symbol macro.
9658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9659 (__fe_nomask_env): Likewise.
9660 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
9662 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
9664 * string/Makefile: Remove ifunc tests.
9665 * string/test-string.h: Define TEST_IFUNC.
9666 * string/test-bcopy-ifunc.c: Remove.
9667 * string/test-bzero-ifunc.c: Likewise.
9668 * string/test-memccpy-ifunc.c: Likewise.
9669 * string/test-memchr-ifunc.c: Likewise.
9670 * string/test-memcmp-ifunc.c: Likewise.
9671 * string/test-memcpy-ifunc.c: Likewise.
9672 * string/test-memmem-ifunc.c: Likewise.
9673 * string/test-memmove-ifunc.c: Likewise.
9674 * string/test-mempcpy-ifunc.c: Likewise.
9675 * string/test-memrchr-ifunc.c: Likewise.
9676 * string/test-memset-ifunc.c: Likewise.
9677 * string/test-rawmemchr-ifunc.c: Likewise.
9678 * string/test-stpcpy-ifunc.c: Likewise.
9679 * string/test-stpncpy-ifunc.c: Likewise.
9680 * string/test-strcasecmp-ifunc.c: Likewise.
9681 * string/test-strcasestr-ifunc.c: Likewise.
9682 * string/test-strcat-ifunc.c: Likewise.
9683 * string/test-strchr-ifunc.c: Likewise.
9684 * string/test-strchrnul-ifunc.c: Likewise.
9685 * string/test-strcmp-ifunc.c: Likewise.
9686 * string/test-strcpy-ifunc.c: Likewise.
9687 * string/test-strcspn-ifunc.c: Likewise.
9688 * string/test-strlen-ifunc.c: Likewise.
9689 * string/test-strncasecmp-ifunc.c: Likewise.
9690 * string/test-strncat-ifunc.c: Likewise.
9691 * string/test-strncmp-ifunc.c: Likewise.
9692 * string/test-strncpy-ifunc.c: Likewise.
9693 * string/test-strnlen-ifunc.c: Likewise.
9694 * string/test-strpbrk-ifunc.c: Likewise.
9695 * string/test-strrchr-ifunc.c: Likewise.
9696 * string/test-strspn-ifunc.c: Likewise.
9697 * string/test-strstr-ifunc.c: Likewise.
9699 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
9701 * benchtests/Makefile: Remove ifunc tests.
9702 * benchtests/bench-string.h: Define TEST_IFUNC.
9703 * benchtests/bench-bcopy-ifunc.c: Remove.
9704 * benchtests/bench-bzero-ifunc.c: Likewise.
9705 * benchtests/bench-memccpy-ifunc.c: Likewise.
9706 * benchtests/bench-memchr-ifunc.c: Likewise.
9707 * benchtests/bench-memcmp-ifunc.c: Likewise.
9708 * benchtests/bench-memcpy-ifunc.c: Likewise.
9709 * benchtests/bench-memmem-ifunc.c: Likewise.
9710 * benchtests/bench-memmove-ifunc.c: Likewise.
9711 * benchtests/bench-mempcpy-ifunc.c: Likewise.
9712 * benchtests/bench-memrchr-ifunc.c: Likewise.
9713 * benchtests/bench-memset-ifunc.c: Likewise.
9714 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
9715 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
9716 * benchtests/bench-stpcpy-ifunc.c: Likewise.
9717 * benchtests/bench-stpncpy-ifunc.c: Likewise.
9718 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
9719 * benchtests/bench-strcasestr-ifunc.c: Likewise.
9720 * benchtests/bench-strcat-ifunc.c: Likewise.
9721 * benchtests/bench-strchr-ifunc.c: Likewise.
9722 * benchtests/bench-strchrnul-ifunc.c: Likewise.
9723 * benchtests/bench-strcmp-ifunc.c: Likewise.
9724 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
9725 * benchtests/bench-strcpy-ifunc.c: Likewise.
9726 * benchtests/bench-strcspn-ifunc.c: Likewise.
9727 * benchtests/bench-strlen-ifunc.c: Likewise.
9728 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
9729 * benchtests/bench-strncat-ifunc.c: Likewise.
9730 * benchtests/bench-strncmp-ifunc.c: Likewise.
9731 * benchtests/bench-strncpy-ifunc.c: Likewise.
9732 * benchtests/bench-strnlen-ifunc.c: Likewise.
9733 * benchtests/bench-strpbrk-ifunc.c: Likewise.
9734 * benchtests/bench-strrchr-ifunc.c: Likewise.
9735 * benchtests/bench-strsep-ifunc.c: Likewise.
9736 * benchtests/bench-strspn-ifunc.c: Likewise.
9737 * benchtests/bench-strstr-ifunc.c: Likewise.
9739 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
9741 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
9743 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
9745 * resolv/netdb.h: Use __glibc_reserved instead __unused.
9746 * rt/aio.h: Likewise.
9747 * sysdeps/gnu/bits/utmp.h: Likewise.
9748 * sysdeps/gnu/bits/utmpx.h: Likewise.
9749 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
9750 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
9751 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
9752 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
9753 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
9754 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
9755 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
9756 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
9757 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
9758 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
9759 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
9760 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
9761 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
9762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
9763 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
9764 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
9765 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
9766 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
9767 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
9768 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
9769 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
9770 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
9771 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
9772 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
9773 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
9774 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9775 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
9776 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
9777 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
9778 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
9779 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
9780 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
9781 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
9782 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
9783 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
9784 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
9785 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
9786 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
9787 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
9788 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
9789 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
9790 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
9792 2013-11-25 Carlos O'Donell <carlos@redhat.com>
9795 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
9796 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
9798 2013-11-25 Joseph Myers <joseph@codesourcery.com>
9800 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
9801 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
9804 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9806 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
9807 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
9808 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
9809 (__fesetround): Remove define.
9810 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
9811 rounding and exceptions handling.
9812 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
9813 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
9814 (__fe_nomask_env): Likewise.
9815 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
9816 __fegetround instead of fegetround.
9817 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
9818 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
9820 2013-11-21 Roland McGrath <roland@hack.frob.com>
9822 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
9825 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
9827 2013-11-21 Meador Inge <meadori@codesourcery.com>
9830 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
9831 (encrypt_r): Likewise.
9832 * malloc/obstack.h (obstack_free): Likewise.
9833 * posix/unistd.h (encrypt): Likewise.
9835 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
9837 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
9838 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
9839 DL_CALL_DT_FINI() that call the functions directly.
9840 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
9841 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
9842 * elf/dl-fini.c: Likewise.
9844 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
9846 * malloc/hooks.c (memalign_check): Add alignment rounding.
9847 * malloc/malloc.c (_mid_memalign): New function.
9848 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
9849 Implement by calling _mid_memalign.
9850 * manual/probes.texi (Memory Allocation Probes): Remove
9851 memory_valloc_retry and memory_pvalloc_retry.
9853 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
9855 * locale/programs/locarchive.c (open_archive): Add const
9856 qualifier to ARCHIVEFNAME and copy default fname to
9860 * libio/tst-widetext.input: Rename Oriya to Odia.
9861 * locale/iso-639.def: Likewise.
9863 * manual/probes.texi (Mathematical Function Probes): Add
9864 documentation for sin, cos, asin and acos probes.
9865 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
9866 (__sin32): Add slowasin probe.
9867 (__cos32): Add slowacos probe.
9868 (__mpsin): Add slowsin probe.
9869 (__mpcos): Add slowcos probe.
9871 2013-11-19 Joseph Myers <joseph@codesourcery.com>
9874 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
9875 thread-local __sim_exceptions_thread and global
9876 __sim_exceptions_global.
9877 (__sim_disabled_exceptions): Change to thread-local
9878 __sim_disabled_exceptions_thread and global
9879 __sim_disabled_exceptions_global.
9880 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
9881 and global __sim_round_mode_global.
9882 (__simulate_exceptions): Use thread-local floating-point state and
9883 set global state from it as needed.
9884 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
9885 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
9886 __sim_round_mode_thread.
9887 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
9888 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
9889 and global __sim_exceptions_global.
9890 (__sim_disabled_exceptions): Change to thread-local
9891 __sim_disabled_exceptions_thread and global
9892 __sim_disabled_exceptions_global.
9893 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
9894 and global __sim_round_mode_global.
9895 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
9896 (SIM_SET_GLOBAL): Likewise.
9897 * sysdeps/powerpc/soft-fp/sfp-machine.h
9898 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
9899 __sim_round_mode_thread.
9900 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
9901 __sim_disabled_exceptions_thread.
9902 (__sim_exceptions): Change to __sim_exceptions_thread.
9903 (__sim_disabled_exceptions): Change to
9904 __sim_disabled_exceptions_thread.
9905 (__sim_round_mode): Change to __sim_round_mode_thread.
9906 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
9907 thread-local floating-point state and set global state from it as
9909 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
9910 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
9911 (__sim_disabled_exceptions): Remove extern declaration.
9912 (feenableexcept): Use thread-local floating-point state and set
9913 global state from it as needed.
9914 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
9916 (__sim_disabled_exceptions): Likewise.
9917 (__sim_round_mode): Likewise.
9918 (__fegetenv): Use thread-local floating-point state.
9919 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
9920 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
9921 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
9922 floating-point state and set global state from it as needed.
9923 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
9924 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
9925 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
9927 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
9928 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
9930 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
9931 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
9932 Use __sim_round_mode_thread.
9933 * math/test-fenv-tls.c: New file.
9934 * math/Makefile (tests): Add test-fenv-tls.
9935 ($(objpfx)test-fenv-tls): Depend on
9936 $(common-objpfx)nptl/libpthread.so.
9938 2013-11-19 Andreas Schwab <schwab@suse.de>
9940 * locale/programs/locale.c (show_info): Decode wordarray elements.
9941 * locale/categories.def (LC_MONETARY): Add element for
9942 _NL_MONETARY_CRNCYSTR.
9943 * locale/C-monetary.c (conversion_rate): New variable.
9944 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
9947 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
9949 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
9950 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
9952 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
9954 * elf/Makefile (tst-auxv): New test.
9955 * elf/tst-auxv.c: New
9956 * elf/rtld.c (dl_main): Adjust AT_EXECFN
9958 2013-11-18 Joseph Myers <joseph@codesourcery.com>
9960 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
9961 (hidden_proto): Caller changed.
9962 (hidden_tls_proto): New macro.
9963 (libc_hidden_tls_proto): Likewise.
9964 (rtld_hidden_tls_proto): Likewise.
9965 (libm_hidden_tls_proto): Likewise.
9966 (libresolv_hidden_tls_proto): Likewise.
9967 (librt_hidden_tls_proto): Likewise.
9968 (libdl_hidden_tls_proto): Likewise.
9969 (libnss_files_hidden_tls_proto): Likewise.
9970 (libnsl_hidden_tls_proto): Likewise.
9971 (libnss_nisplus_hidden_tls_proto): Likewise.
9972 (libutil_hidden_tls_proto): Likewise.
9974 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
9977 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
9978 (decompose_rpath): Defer expansion to fillin_rpath.
9979 (_dl_init_paths): Pass linkmap to fillin_rpath.
9981 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9983 * benchtests/Makefile: Add strsep.
9984 * benchtests/bench-strsep.c: New file: strsep benchtest.
9985 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
9987 2013-11-18 Andreas Schwab <schwab@suse.de>
9989 * locale/programs/locale.c (show_info) [case byte]: Check for
9990 '\377' instead of '\177'.
9991 * locale/C-monetary.c (not_available): Always use "\377".
9992 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
9993 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
9994 detect unavailable sign_posn locale elements.
9995 * locale/localeconv.c (__localeconv): For grouping and
9996 mon_grouping handle "\177" and "\377" like no grouping.
9997 (INT_ELEM): New macro. Use it to set all numeric members.
9998 * locale/programs/ld-monetary.c (monetary_read)
9999 <tok_mon_grouping>: Normalize single -1 to the empty string.
10000 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
10003 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
10006 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
10007 when we match (nil).
10008 * stdio-common/tst-sscanf.c (struct test): Add testcase.
10010 2013-11-16 Joseph Myers <joseph@codesourcery.com>
10012 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
10013 (NO_TEST_INLINE): Update value.
10014 (ERRNO_UNCHANGED): Likewise.
10015 (ERRNO_EDOM): Likewise.
10016 (ERRNO_ERANGE): Likewise.
10017 (IGNORE_RESULT): Likewise.
10018 (check_float_internal): Check signs of NaN results if
10019 TEST_NAN_SIGN used.
10020 (check_complex): Pass TEST_NAN_SIGN flag through to second
10021 check_float_internal call.
10022 (copysign_test_data): Add tests with quiet NaNs as second
10023 argument. Use TEST_NAN_SIGN.
10024 (fabs_test_data): Add test of negative quiet NaN argument. Use
10026 (signbit_test_data): Add tests of quiet NaN argument.
10027 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
10029 * math/gen-libm-test.pl (show_exceptions): Take extra argument
10031 (parse_args): Handle function results specified as IGNORE.
10032 * math/libm-test.inc (IGNORE_RESULT): New macro.
10033 (check_float_internal): Do not check numerical result if flag
10035 (check_complex): Pass through IGNORE_RESULT to second
10036 check_float_internal call.
10037 (check_int): Do not check numerical result if flag IGNORE_RESULT
10039 (check_long): Likewise.
10040 (check_bool): Likewise.
10041 (check_longlong): Likewise.
10042 (lrint_test_data): Add tests of infinite and NaN arguments.
10043 (lrint_tonearest_test_data): Likewise.
10044 (lrint_towardzero_test_data): Likewise.
10045 (lrint_downward_test_data): Likewise.
10046 (lrint_upward_test_data): Likewise.
10047 (llrint_test_data): Likewise.
10048 (llrint_tonearest_test_data): Likewise.
10049 (llrint_towardzero_test_data): Likewise.
10050 (llrint_downward_test_data): Likewise.
10051 (llrint_upward_test_data): Likewise.
10052 (lround_test_data): Likewise.
10053 (llround_test_data): Likewise.
10055 * math/libm-test.inc (NO_TEST_INLINE): New macro.
10056 (ERRNO_UNCHANGED): Update value.
10057 (ERRNO_EDOM): Likewise.
10058 (ERRNO_ERANGE): Likewise.
10059 (NO_TEST_INLINE_FLOAT): New macro.
10060 (NO_TEST_INLINE_DOUBLE): Likewise.
10061 (enable_test): New function.
10062 (RUN_TEST_f_f): Check enable_test before running test.
10063 (RUN_TEST_2_f): Likewise.
10064 (RUN_TEST_fff_f): Likewise.
10065 (RUN_TEST_c_f): Likewise.
10066 (RUN_TEST_f_f1): Likewise.
10067 (RUN_TEST_fF_f1): Likewise.
10068 (RUN_TEST_fI_f1): Likewise.
10069 (RUN_TEST_ffI_f1): Likewise.
10070 (RUN_TEST_c_c): Likewise.
10071 (RUN_TEST_cc_c): Likewise.
10072 (RUN_TEST_f_i): Likewise.
10073 (RUN_TEST_f_i_tg): Likewise.
10074 (RUN_TEST_ff_i_tg): Likewise.
10075 (RUN_TEST_f_b): Likewise.
10076 (RUN_TEST_f_b_tg): Likewise.
10077 (RUN_TEST_f_l): Likewise.
10078 (RUN_TEST_f_L): Likewise.
10079 (RUN_TEST_fFF_11): Likewise.
10080 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
10082 (cosh_test_data): Likewise.
10083 (exp_test_data): Likewise.
10084 (expm1_test_data): Likewise.
10085 (hypot_test_data): Likewise.
10086 (pow_test_data): Likewise.
10087 (sinh_test_data): Likewise.
10088 (tanh_test_data): Likewise.
10089 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
10092 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
10093 tests with quiet NaN input and output.
10094 (acosh_test_data): Likewise.
10095 (asin_test_data): Likewise.
10096 (asinh_test_data): Likewise.
10097 (atan_test_data): Likewise.
10098 (atanh_test_data): Likewise.
10099 (atan2_test_data): Likewise.
10100 (cbrt_test_data): Likewise.
10101 (cos_test_data): Likewise.
10102 (cosh_test_data): Likewise.
10103 (erf_test_data): Likewise.
10104 (erfc_test_data): Likewise.
10105 (exp_test_data): Likewise.
10106 (exp10_test_data): Likewise.
10107 (exp2_test_data): Likewise.
10108 (expm1_test_data): Likewise.
10109 (hypot_test_data): Likewise.
10110 (j0_test_data): Likewise.
10111 (j1_test_data): Likewise.
10112 (jn_test_data): Likewise.
10113 (lgamma_test_data): Likewise.
10114 (log_test_data): Likewise.
10115 (log10_test_data): Likewise.
10116 (log1p_test_data): Likewise.
10117 (log2_test_data): Likewise.
10118 (pow_test_data): Likewise.
10119 (scalb_test_data): Likewise.
10120 (sin_test_data): Likewise.
10121 (sincos_test_data): Likewise.
10122 (sinh_test_data): Likewise.
10123 (tan_test_data): Likewise.
10124 (tanh_test_data): Likewise.
10125 (tgamma_test_data): Likewise.
10126 (y0_test_data): Likewise.
10127 (y1_test_data): Likewise.
10128 (yn_test_data): Likewise.
10131 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
10132 argument being NaN and avoid computations with second argument in
10134 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
10135 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
10136 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
10138 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
10140 * locale/iso-639.def: Add Chitwani Tharu (the).
10142 2013-11-14 Andreas Schwab <schwab@suse.de>
10144 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
10145 word instead of empty string.
10147 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10150 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
10151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10152 (__fe_nomask_env): Likewise.
10154 2013-11-13 Steve Ellcey <sellcey@mips.com>
10156 * benchtests/bench-timing.h: Include time.h.
10158 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
10161 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
10163 * sysdeps/unix/sysv/linux/configure: Regenerated.
10165 2013-11-13 Joseph Myers <joseph@codesourcery.com>
10168 * stdlib/strtod_l.c (round_and_return): Do not consider
10169 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
10170 exponent one less than half the least subnormal exponent.
10171 * stdlib/test-strtod-round-data: Add more tests.
10172 * stdlib/tst-strtod-round.c (tests): Regenerated.
10174 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10177 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
10178 (__fe_mask_env): Likewise.
10179 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
10180 libm_hidden_proto and add function prototype.
10181 (__fe_mask_env): Add function prototype.
10182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10183 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
10184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
10185 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
10186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10187 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
10189 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10191 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
10192 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
10194 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10196 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
10197 of htab_find_slot().
10199 2013-11-11 David S. Miller <davem@davemloft.net>
10202 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
10203 symbol in the non-vis3 case in static builds.
10204 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
10205 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
10206 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
10207 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
10209 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10212 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
10215 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10217 * benchtests/Makefile: Add bench-strtod.
10218 * benchtests/bench-strtod.c: New file: strtod benchtest
10220 2013-11-11 Andreas Schwab <schwab@suse.de>
10223 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
10224 terminating NUL in key length.
10226 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10228 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
10229 Add artificial ODP entry for vDSO symbol for PPC64.
10230 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
10231 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
10233 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
10236 * nss/getent.c (services_keys): Recognize services starting with digit.
10238 2013-11-06 David S. Miller <davem@davemloft.net>
10241 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
10242 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
10244 2013-11-06 Will Newton <will.newton@linaro.org>
10246 * manual/memory.texi (Malloc Examples): Remove register
10247 keyword from examples.
10249 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
10251 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
10253 2013-11-04 Joseph Myers <joseph@codesourcery.com>
10256 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
10257 depending on [__GCC_IEC_559 > 0].
10258 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
10259 depending on [__GCC_IEC_559_COMPLEX > 0].
10261 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
10263 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
10266 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
10268 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
10270 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
10273 * malloc/malloc (malloc_info): Do not handle first bin as
10276 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
10278 * locale/iso-639.def: Add Central Nahuatl (nhn).
10280 2013-11-01 Bruno Haible <bruno@clisp.org>
10283 * manual/math.texi (BSD Random): Specify range upper bound as
10286 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
10288 * locale/iso-639.def: Add Meadow Mari (mhr).
10290 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
10292 [BZ #14752], [BZ #15763]
10293 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
10295 * rt/tst_shm.c: Add test for escaping directory.
10297 2013-10-31 Andreas Schwab <schwab@suse.de>
10300 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
10301 followed by 'x' as part of digit sequence.
10302 * stdio-common/tst-sscanf.c (double_tests2): New tests.
10304 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
10307 * configure.ac: allow GNU Make 4.0 and greater.
10308 * configure: Regenerated.
10310 2013-10-30 Will Newton <will.newton@linaro.org>
10313 * malloc/hooks.c (memalign_check): Limit alignment to the
10314 maximum representable power of two.
10315 * malloc/malloc.c (__libc_memalign): Likewise.
10316 * malloc/tst-memalign.c (do_test): Add test for very
10317 large alignment values.
10318 * malloc/tst-posix_memalign.c (do_test): Likewise.
10320 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
10323 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
10324 (munmap_chunk): Likewise.
10325 (mremap_chunk): Likewise.
10327 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
10330 * stdlib/div.c (div): Remove obsolete code.
10331 * stdlib/ldiv.c (ldiv): Likewise.
10332 * stdlib/lldiv.c (lldiv): Likewise.
10334 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10337 * nss/nss_files/files-XXX.c (get_contents_ret): New
10339 (get_contents): New function.
10340 (internal_getent): Use it. Expand size of LINEBUFLEN.
10342 2013-10-30 Mike Frysinger <vapier@gentoo.org>
10344 * configure.in: Moved to ...
10345 * configure.ac: ... here. Change reference to configure.in
10347 * sysdeps/arm/preconfigure.ac: ... here.
10348 configure.in to configure.ac.
10349 * sysdeps/gnu/configure.in: Moved to ...
10350 * sysdeps/gnu/configure.ac: ... here.
10351 * sysdeps/i386/configure.in: Moved to ...
10352 * sysdeps/i386/configure.ac: ... here.
10353 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
10354 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
10355 * sysdeps/mach/configure.in: Moved to ...
10356 * sysdeps/mach/configure.ac: ... here.
10357 * sysdeps/mach/hurd/configure.in: Moved to ...
10358 * sysdeps/mach/hurd/configure.ac: ... here.
10359 * sysdeps/powerpc/configure.in: Moved to ...
10360 * sysdeps/powerpc/configure.ac: ... here.
10361 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
10362 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
10363 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
10364 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
10365 * sysdeps/s390/s390-32/configure.in: Moved to ...
10366 * sysdeps/s390/s390-32/configure.ac: ... here.
10367 * sysdeps/s390/s390-64/configure.in: Moved to ...
10368 * sysdeps/s390/s390-64/configure.ac: ... here.
10369 * sysdeps/sh/configure.in: Moved to ...
10370 * sysdeps/sh/configure.ac: ... here.
10371 * sysdeps/sparc/configure.in: Moved to ...
10372 * sysdeps/sparc/configure.ac: ... here.
10373 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
10374 * sysdeps/unix/sysv/linux/configure.ac: ... here.
10375 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
10376 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
10377 * sysdeps/x86_64/configure.in: Moved to ...
10378 * sysdeps/x86_64/configure.ac: ... here.
10379 * sysdeps/x86_64/preconfigure.in: Moved to ...
10380 * sysdeps/x86_64/preconfigure.ac: ... here.
10381 * aclocal.m4: Change reference to configure.in to configure.ac.
10382 * config.h.in: Likewise.
10383 * manual/install.texi: Likewise.
10384 * manual/maint.texi: Likewise.
10385 * Makefile: Likewise.
10386 * malloc/Makefile: Likewise.
10387 * nscd/Makefile: Likewise.
10388 * Makeconfig: Change reference to configure.in and
10389 preconfigure.in to configure.ac and preconfigure.ac
10391 * INSTALL: Regenerated.
10392 * configure: Likewise.
10393 * sysdeps/gnu/configure: Likewise.
10394 * sysdeps/i386/configure: Likewise.
10395 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
10396 * sysdeps/mach/configure: Likewise.
10397 * sysdeps/mach/hurd/configure: Likewise.
10398 * sysdeps/powerpc/configure: Likewise.
10399 * sysdeps/powerpc/powerpc32/configure: Likewise.
10400 * sysdeps/powerpc/powerpc64/configure: Likewise.
10401 * sysdeps/s390/s390-32/configure: Likewise.
10402 * sysdeps/s390/s390-64/configure: Likewise.
10403 * sysdeps/sh/configure: Likewise.
10404 * sysdeps/sparc/configure: Likewise.
10405 * sysdeps/unix/sysv/linux/configure: Likewise.
10406 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
10407 * sysdeps/x86_64/configure: Likewise.
10408 * sysdeps/x86_64/preconfigure: Likewise.
10410 2013-10-29 Andreas Schwab <schwab@suse.de>
10412 * stdio-common/Makefile (tst-swscanf-ENV): Define.
10414 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10416 * benchtests/pow-inputs: Add new inputs.
10418 * benchtests/exp-inputs: Add new inputs.
10420 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
10421 conditional check for return value.
10422 (__cos32): Likewise.
10424 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10426 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
10427 to provide a boost for large inputs with word alignment.
10428 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
10429 implementation based on optimized PPC64 strcpy.
10430 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
10431 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
10432 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
10433 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
10435 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
10438 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
10440 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
10443 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
10444 * time/tst-strptime.c (day_tests): Add testcase.
10446 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
10449 * manual/pattern.texi: Acknowledge that fnmatch can fail.
10451 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
10454 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
10455 MAP_FAILED on error.
10457 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10460 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
10461 heap for large requests.
10463 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
10466 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
10467 result if the result has no associated interface.
10468 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
10469 interface for all 127.X.Y.Z addresses.
10471 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
10473 * locale/iso-639.def: Add Ligurian (lij)
10475 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
10478 * sunrpc/rpc_main.c: Document rpcgen -5.
10480 2013-10-19 Michael Stahl <mstahl@redhat.com>
10482 * elf/rtld.c (do_preload): Print the reason why preloading failed.
10484 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
10487 * posix/glob.c: Match only directories when trailing slash is present.
10488 * posix/tst-gnuglob.c (my_opendir): Do not open files.
10489 (main): Add testcase.
10491 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
10494 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
10496 2013-10-18 Carlos O'Donell <carlos@redhat.com>
10498 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
10499 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
10500 AUTH_DES and cindex for FIPS 140-2.
10501 (DES Encryption): Add cindex FIPS 46-3.
10503 * locale/locarchive.h (struct locarhandle): Add fname.
10504 * locale/programs/localedef.c (main): Pass ARGV[remaining]
10505 if an optional argument was specified to --list-archive,
10507 * locale/programs/locarchive.c (show_archive_content): Take new
10508 argument fname and pass it via ah.fname to open_archive.
10509 * locale/programs/localedef.h: Update decl.
10510 (open_archive): If AH->fname is non-null, open that file
10511 rather than the default file name, and don't ignore ENOENT.
10512 (create_archive): Set AH.fname to NULL.
10513 (delete_locales_from_archive): Likewise.
10514 (add_locales_to_archive): Likewise.
10515 * locale/programs/locfile.c (write_all_categories): Likewise.
10517 2013-10-18 Joseph Myers <joseph@codesourcery.com>
10518 Aldy Hernandez <aldyh@redhat.com>
10520 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
10521 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
10522 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
10523 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
10524 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
10525 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
10526 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
10527 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
10528 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
10529 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
10530 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
10531 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
10532 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
10533 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
10534 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
10536 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
10538 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
10540 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
10542 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
10543 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
10545 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
10546 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
10547 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
10548 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
10550 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
10551 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
10552 * sysdeps/powerpc/preconfigure: Likewise.
10553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
10555 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
10556 Replace contents of file by #include of <fenv_libc.h>.
10557 * sysdeps/powerpc/soft-fp/sfp-machine.h
10558 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
10560 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
10561 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
10562 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
10563 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
10564 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
10565 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
10566 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
10567 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
10568 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
10569 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
10570 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
10571 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
10572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10573 Allow copysignl PLT reference to be missing.
10575 2013-10-18 Richard Sandiford <richard@codesourcery.com>
10576 Joseph Myers <joseph@codesourcery.com
10579 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
10581 (add_to_tablewc): Assert sequence of wide characters is nonempty.
10583 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10585 * elf/tst-tls-dlinfo.c: Don't include tls.h.
10586 * elf/tst-tls1.c: Likewise.
10587 * elf/tst-tls10.h: Likewise.
10588 * elf/tst-tls14.c: Likewise.
10589 * elf/tst-tls2.c: Likewise.
10590 * elf/tst-tls3.c: Likewise.
10591 * elf/tst-tls4.c: Likewise.
10592 * elf/tst-tls5.c: Likewise.
10593 * elf/tst-tls6.c: Likewise.
10594 * elf/tst-tls7.c: Likewise.
10595 * elf/tst-tls8.c: Likewise.
10596 * elf/tst-tls9.c: Likewise.
10597 * elf/tst-tlsmod1.c: Likewise.
10598 * elf/tst-tlsmod13.c: Likewise.
10599 * elf/tst-tlsmod13a.c: Likewise.
10600 * elf/tst-tlsmod14a.c: Likewise.
10601 * elf/tst-tlsmod16a.c: Likewise.
10602 * elf/tst-tlsmod16b.c: Likewise.
10603 * elf/tst-tlsmod2.c: Likewise.
10604 * elf/tst-tlsmod3.c: Likewise.
10605 * elf/tst-tlsmod4.c: Likewise.
10606 * elf/tst-tlsmod5.c: Likewise.
10607 * elf/tst-tlsmod6.c: Likewise.
10609 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
10612 * malloc/malloc.c: remove checks for statistics.
10614 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
10617 * inet/inet_net.c (inet_network): Detect additional invalid strings.
10618 * inet/tst-network.c: Add testcase.
10620 2013-10-17 Andreas Schwab <schwab@suse.de>
10623 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
10624 to determine canonical name.
10626 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
10628 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
10629 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
10630 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10631 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
10632 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10633 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10634 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10635 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
10636 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
10637 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10638 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
10639 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10640 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10641 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10642 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
10643 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
10644 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10645 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10646 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
10647 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10648 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10649 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10650 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10651 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
10652 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
10653 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10654 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10655 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
10656 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10657 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
10658 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10659 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10660 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
10661 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10662 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10663 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10664 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10665 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10666 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10667 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10668 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10669 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
10670 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
10671 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10672 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
10673 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10674 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10675 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10676 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
10677 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10678 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
10679 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10680 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10681 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
10682 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10683 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
10684 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10685 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10687 2013-10-17 Joseph Myers <joseph@codesourcery.com>
10690 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
10691 make result into a quiet NaN.
10693 2013-10-16 Joseph Myers <joseph@codesourcery.com>
10695 * soft-fp/adddf3.c: Fix horizontal whitespace.
10696 * soft-fp/addsf3.c: Likewise.
10697 * soft-fp/addtf3.c: Likewise.
10698 * soft-fp/divdf3.c: Likewise.
10699 * soft-fp/divsf3.c: Likewise.
10700 * soft-fp/divtf3.c: Likewise.
10701 * soft-fp/double.h: Likewise.
10702 * soft-fp/eqdf2.c: Likewise.
10703 * soft-fp/eqsf2.c: Likewise.
10704 * soft-fp/eqtf2.c: Likewise.
10705 * soft-fp/extenddftf2.c: Likewise.
10706 * soft-fp/extended.h: Likewise.
10707 * soft-fp/extendsfdf2.c: Likewise.
10708 * soft-fp/extendsftf2.c: Likewise.
10709 * soft-fp/extendxftf2.c: Likewise.
10710 * soft-fp/fixdfdi.c: Likewise.
10711 * soft-fp/fixdfsi.c: Likewise.
10712 * soft-fp/fixdfti.c: Likewise.
10713 * soft-fp/fixsfdi.c: Likewise.
10714 * soft-fp/fixsfsi.c: Likewise.
10715 * soft-fp/fixsfti.c: Likewise.
10716 * soft-fp/fixtfdi.c: Likewise.
10717 * soft-fp/fixtfsi.c: Likewise.
10718 * soft-fp/fixtfti.c: Likewise.
10719 * soft-fp/fixunsdfdi.c: Likewise.
10720 * soft-fp/fixunsdfsi.c: Likewise.
10721 * soft-fp/fixunsdfti.c: Likewise.
10722 * soft-fp/fixunssfdi.c: Likewise.
10723 * soft-fp/fixunssfsi.c: Likewise.
10724 * soft-fp/fixunssfti.c: Likewise.
10725 * soft-fp/fixunstfdi.c: Likewise.
10726 * soft-fp/fixunstfsi.c: Likewise.
10727 * soft-fp/fixunstfti.c: Likewise.
10728 * soft-fp/floatdidf.c: Likewise.
10729 * soft-fp/floatdisf.c: Likewise.
10730 * soft-fp/floatditf.c: Likewise.
10731 * soft-fp/floatsidf.c: Likewise.
10732 * soft-fp/floatsisf.c: Likewise.
10733 * soft-fp/floatsitf.c: Likewise.
10734 * soft-fp/floattidf.c: Likewise.
10735 * soft-fp/floattisf.c: Likewise.
10736 * soft-fp/floattitf.c: Likewise.
10737 * soft-fp/floatundidf.c: Likewise.
10738 * soft-fp/floatundisf.c: Likewise.
10739 * soft-fp/floatunditf.c: Likewise.
10740 * soft-fp/floatunsidf.c: Likewise.
10741 * soft-fp/floatunsisf.c: Likewise.
10742 * soft-fp/floatunsitf.c: Likewise.
10743 * soft-fp/floatuntidf.c: Likewise.
10744 * soft-fp/floatuntisf.c: Likewise.
10745 * soft-fp/floatuntitf.c: Likewise.
10746 * soft-fp/fmadf4.c: Likewise.
10747 * soft-fp/fmasf4.c: Likewise.
10748 * soft-fp/fmatf4.c: Likewise.
10749 * soft-fp/gedf2.c: Likewise.
10750 * soft-fp/gesf2.c: Likewise.
10751 * soft-fp/getf2.c: Likewise.
10752 * soft-fp/ledf2.c: Likewise.
10753 * soft-fp/lesf2.c: Likewise.
10754 * soft-fp/letf2.c: Likewise.
10755 * soft-fp/muldf3.c: Likewise.
10756 * soft-fp/mulsf3.c: Likewise.
10757 * soft-fp/multf3.c: Likewise.
10758 * soft-fp/negdf2.c: Likewise.
10759 * soft-fp/negsf2.c: Likewise.
10760 * soft-fp/negtf2.c: Likewise.
10761 * soft-fp/op-1.h: Likewise.
10762 * soft-fp/op-2.h: Likewise.
10763 * soft-fp/op-4.h: Likewise.
10764 * soft-fp/op-8.h: Likewise.
10765 * soft-fp/op-common.h: Likewise.
10766 * soft-fp/quad.h: Likewise.
10767 * soft-fp/single.h: Likewise.
10768 * soft-fp/soft-fp.h: Likewise.
10769 * soft-fp/sqrtdf2.c: Likewise.
10770 * soft-fp/sqrtsf2.c: Likewise.
10771 * soft-fp/sqrttf2.c: Likewise.
10772 * soft-fp/subdf3.c: Likewise.
10773 * soft-fp/subsf3.c: Likewise.
10774 * soft-fp/subtf3.c: Likewise.
10775 * soft-fp/truncdfsf2.c: Likewise.
10776 * soft-fp/trunctfdf2.c: Likewise.
10777 * soft-fp/trunctfsf2.c: Likewise.
10778 * soft-fp/trunctfxf2.c: Likewise.
10779 * soft-fp/unorddf2.c: Likewise.
10780 * soft-fp/unordsf2.c: Likewise.
10781 * soft-fp/unordtf2.c: Likewise.
10783 2013-10-15 Joseph Myers <joseph@codesourcery.com>
10785 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
10786 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
10788 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
10790 * elf/dl-libc.c: Clear initfini list after freeing.
10792 2013-10-14 Joseph Myers <joseph@codesourcery.com>
10794 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
10795 * soft-fp/addsf3.c: Likewise.
10796 * soft-fp/addtf3.c: Likewise.
10797 * soft-fp/divdf3.c: Likewise.
10798 * soft-fp/divsf3.c: Likewise.
10799 * soft-fp/divtf3.c: Likewise.
10800 * soft-fp/double.h: Likewise.
10801 * soft-fp/eqdf2.c: Likewise.
10802 * soft-fp/eqsf2.c: Likewise.
10803 * soft-fp/eqtf2.c: Likewise.
10804 * soft-fp/extenddftf2.c: Likewise.
10805 * soft-fp/extended.h: Likewise.
10806 * soft-fp/extendsfdf2.c: Likewise.
10807 * soft-fp/extendsftf2.c: Likewise.
10808 * soft-fp/extendxftf2.c: Likewise.
10809 * soft-fp/fixdfdi.c: Likewise.
10810 * soft-fp/fixdfsi.c: Likewise.
10811 * soft-fp/fixdfti.c: Likewise.
10812 * soft-fp/fixsfdi.c: Likewise.
10813 * soft-fp/fixsfsi.c: Likewise.
10814 * soft-fp/fixsfti.c: Likewise.
10815 * soft-fp/fixtfdi.c: Likewise.
10816 * soft-fp/fixtfsi.c: Likewise.
10817 * soft-fp/fixtfti.c: Likewise.
10818 * soft-fp/fixunsdfdi.c: Likewise.
10819 * soft-fp/fixunsdfsi.c: Likewise.
10820 * soft-fp/fixunsdfti.c: Likewise.
10821 * soft-fp/fixunssfdi.c: Likewise.
10822 * soft-fp/fixunssfsi.c: Likewise.
10823 * soft-fp/fixunssfti.c: Likewise.
10824 * soft-fp/fixunstfdi.c: Likewise.
10825 * soft-fp/fixunstfsi.c: Likewise.
10826 * soft-fp/fixunstfti.c: Likewise.
10827 * soft-fp/floatdidf.c: Likewise.
10828 * soft-fp/floatdisf.c: Likewise.
10829 * soft-fp/floatditf.c: Likewise.
10830 * soft-fp/floatsidf.c: Likewise.
10831 * soft-fp/floatsisf.c: Likewise.
10832 * soft-fp/floatsitf.c: Likewise.
10833 * soft-fp/floattidf.c: Likewise.
10834 * soft-fp/floattisf.c: Likewise.
10835 * soft-fp/floattitf.c: Likewise.
10836 * soft-fp/floatundidf.c: Likewise.
10837 * soft-fp/floatundisf.c: Likewise.
10838 * soft-fp/floatunsidf.c: Likewise.
10839 * soft-fp/floatunsisf.c: Likewise.
10840 * soft-fp/floatuntidf.c: Likewise.
10841 * soft-fp/floatuntisf.c: Likewise.
10842 * soft-fp/floatuntitf.c: Likewise.
10843 * soft-fp/fmadf4.c: Likewise.
10844 * soft-fp/fmasf4.c: Likewise.
10845 * soft-fp/fmatf4.c: Likewise.
10846 * soft-fp/gedf2.c: Likewise.
10847 * soft-fp/gesf2.c: Likewise.
10848 * soft-fp/getf2.c: Likewise.
10849 * soft-fp/ledf2.c: Likewise.
10850 * soft-fp/lesf2.c: Likewise.
10851 * soft-fp/letf2.c: Likewise.
10852 * soft-fp/muldf3.c: Likewise.
10853 * soft-fp/mulsf3.c: Likewise.
10854 * soft-fp/multf3.c: Likewise.
10855 * soft-fp/negdf2.c: Likewise.
10856 * soft-fp/negsf2.c: Likewise.
10857 * soft-fp/negtf2.c: Likewise.
10858 * soft-fp/op-1.h: Likewise.
10859 * soft-fp/op-2.h: Likewise.
10860 * soft-fp/op-4.h: Likewise.
10861 * soft-fp/op-8.h: Likewise.
10862 * soft-fp/op-common.h: Likewise.
10863 * soft-fp/quad.h: Likewise.
10864 * soft-fp/single.h: Likewise.
10865 * soft-fp/soft-fp.h: Likewise.
10866 * soft-fp/sqrtdf2.c: Likewise.
10867 * soft-fp/sqrtsf2.c: Likewise.
10868 * soft-fp/sqrttf2.c: Likewise.
10869 * soft-fp/subdf3.c: Likewise.
10870 * soft-fp/subsf3.c: Likewise.
10871 * soft-fp/subtf3.c: Likewise.
10872 * soft-fp/truncdfsf2.c: Likewise.
10873 * soft-fp/trunctfdf2.c: Likewise.
10874 * soft-fp/trunctfsf2.c: Likewise.
10875 * soft-fp/trunctfxf2.c: Likewise.
10876 * soft-fp/unorddf2.c: Likewise.
10877 * soft-fp/unordsf2.c: Likewise.
10878 * soft-fp/unordtf2.c: Likewise.
10880 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
10883 * misc/error.c (error_tail): Fix possible buffer overflow.
10885 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
10888 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
10891 2013-10-14 P. J. McDermott <pj@pehjota.net>
10894 * elf/ldd.bash.in (try_trace): New function. Delete previous code
10895 testing pipefail option.
10897 2013-10-12 Joseph Myers <joseph@codesourcery.com>
10899 * soft-fp/double.h: Indent preprocessor directives inside #if.
10900 * soft-fp/extended.h: Likewise.
10901 * soft-fp/op-2.h: Likewise.
10902 * soft-fp/op-4.h: Likewise.
10903 * soft-fp/op-common.h: Likewise.
10904 * soft-fp/quad.h: Likewise.
10905 * soft-fp/single.h: Likewise.
10906 * soft-fp/soft-fp.h: Likewise.
10908 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
10910 * iconv/iconv_prog.c: Fix typos.
10911 * stdio-common/psiginfo-data.h: Likewise.
10913 2013-10-12 Reuben Thomas <rrt@sc3d.org>
10916 * locale/setlocale.c: Fix typo.
10918 2013-10-12 Joseph Myers <joseph@codesourcery.com>
10921 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
10922 signaling NaN arguments.
10923 * soft-fp/unordsf2.c (__unordsf2): Likewise.
10924 * soft-fp/unordtf2.c (__unordtf2): Likewise.
10927 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
10928 unordered operands.
10929 * soft-fp/gesf2.c (__gesf2): Likewise.
10930 * soft-fp/getf2.c (__getf2): Likewise.
10931 * soft-fp/ledf2.c (__ledf2): Likewise.
10932 * soft-fp/lesf2.c (__lesf2): Likewise.
10933 * soft-fp/letf2.c (__letf2): Likewise.
10935 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
10936 * soft-fp/eqsf2.c (__eqsf2): Likewise.
10937 * soft-fp/eqtf2.c (__eqtf2): Likewise.
10938 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
10939 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
10940 * soft-fp/fixdfti.c (__fixdfti): Likewise.
10941 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
10942 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
10943 * soft-fp/fixsfti.c (__fixsfti): Likewise.
10944 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
10945 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
10946 * soft-fp/fixtfti.c (__fixtfti): Likewise.
10947 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
10948 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
10949 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
10950 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
10951 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
10952 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
10953 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
10954 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
10955 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
10956 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
10957 * soft-fp/floatdisf.c (__floatdisf): Likewise.
10958 * soft-fp/floatsisf.c (__floatsisf): Likewise.
10959 * soft-fp/floattidf.c (__floattidf): Likewise.
10960 * soft-fp/floattisf.c (__floattisf): Likewise.
10961 * soft-fp/floattitf.c (__floattitf): Likewise.
10962 * soft-fp/floatundidf.c (__floatundidf): Likewise.
10963 * soft-fp/floatundisf.c (__floatundisf): Likewise.
10964 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
10965 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
10966 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
10967 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
10968 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
10969 * soft-fp/gesf2.c (__gesf2): Likewise.
10970 * soft-fp/getf2.c (__getf2): Likewise.
10971 * soft-fp/ledf2.c (__ledf2): Likewise.
10972 * soft-fp/lesf2.c (__lesf2): Likewise.
10973 * soft-fp/letf2.c (__letf2): Likewise.
10975 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
10976 Undefine and redefine.
10977 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
10978 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
10979 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
10980 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
10981 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10982 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
10983 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10984 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
10985 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10986 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
10987 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10988 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
10989 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10990 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
10991 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10994 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
10995 without decrementing exponent if mantissa >= that for the
10996 denominator, not >.
10997 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
10998 denominator, not >. Decrement exponent in < case instead of
10999 incrementing in >= case.
11000 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
11001 without decrementing exponent if mantissa >= that for the
11002 denominator, not >.
11004 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
11005 computing saturated result for unsigned overflow.
11007 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11008 Jeff Law <law@redhat.com>
11010 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
11011 (atan2Mp): Add systemtap probe marker.
11012 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
11013 (__ieee754_log): Add systemtap probe marker.
11014 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
11015 (atanMp): Add systemtap probe marker.
11016 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
11017 (tanMp): Add systemtap probe marker.
11018 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
11019 (__slowexp): Add systemtap probe marker.
11020 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
11021 (__slowpow): Add systemtap probe marker.
11022 * manual/probes.texi: Document probes.
11024 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
11027 * libio/fileops.c (_IO_new_file_write): Return count of bytes
11029 (_IO_new_file_xsputn): Don't return EOF if nothing has been
11031 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
11032 written to buffer but not flushed.
11033 * libio/iofwrite_u.c: Likewise.
11034 * libio/iopadn.c: Return bytes returned even if EOF was
11036 * libio/iowpadn.c: Likewise.
11037 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
11038 if _IO_padn does not write the whole buffer.
11039 [!COMPILE_WPRINTF] (PAD): Likewise.
11041 2013-10-10 David S. Miller <davem@davemloft.net>
11043 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
11046 2013-10-10 Joseph Myers <joseph@codesourcery.com>
11048 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
11049 instead of FSF address.
11050 * soft-fp/fixdfti.c: Likewise.
11051 * soft-fp/fixsfti.c: Likewise.
11052 * soft-fp/fixtfti.c: Likewise.
11053 * soft-fp/fixunsdfti.c: Likewise.
11054 * soft-fp/fixunssfti.c: Likewise.
11055 * soft-fp/fixunstfti.c: Likewise.
11056 * soft-fp/floattidf.c: Likewise.
11057 * soft-fp/floattisf.c: Likewise.
11058 * soft-fp/floattitf.c: Likewise.
11059 * soft-fp/floatuntidf.c: Likewise.
11060 * soft-fp/floatuntisf.c: Likewise.
11061 * soft-fp/floatuntitf.c: Likewise.
11062 * soft-fp/trunctfxf2.c: Likewise.
11064 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
11065 * soft-fp/fixdfti.c: Likewise.
11066 * soft-fp/fixsfti.c: Likewise.
11067 * soft-fp/fixtfti.c: Likewise.
11068 * soft-fp/fixunsdfti.c: Likewise.
11069 * soft-fp/fixunssfti.c: Likewise.
11070 * soft-fp/fixunstfti.c: Likewise.
11071 * soft-fp/floattidf.c: Likewise.
11072 * soft-fp/floattisf.c: Likewise.
11073 * soft-fp/floattitf.c: Likewise.
11074 * soft-fp/floatuntidf.c: Likewise.
11075 * soft-fp/floatuntisf.c: Likewise.
11076 * soft-fp/floatuntitf.c: Likewise.
11077 * soft-fp/trunctfxf2.c: Likewise.
11079 2013-10-10 David S. Miller <davem@davemloft.net>
11081 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11083 2013-10-10 Joseph Myers <joseph@codsourcery.com>
11085 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
11086 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
11087 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
11088 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
11089 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
11090 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
11091 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
11093 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
11094 for NaNs before doing comparisons on argument.
11095 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
11098 2013-10-10 Will Newton <will.newton@linaro.org>
11100 * malloc/hooks.c (memalign_check): Ensure the value of bytes
11101 passed to _int_memalign does not overflow.
11103 2013-10-10 Torvald Riegel <triegel@redhat.com>
11105 * scripts/bench.pl: Add include-sources directive.
11106 * benchtests/README: Update documentation.
11108 2013-10-10 Joseph Myers <joseph@codesourcery.com>
11110 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
11111 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
11112 instead of FP_INIT_ROUNDMODE.
11113 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
11114 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
11117 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
11118 copy class of input value.
11119 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
11120 not handle exceptions.
11121 * soft-fp/negsf2.c (__negsf2): Likewise.
11122 * soft-fp/negtf2.c (__negtf2): Likewise.
11123 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
11125 2013-10-09 Joseph Myers <joseph@codesourcery.com>
11127 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
11128 semicolon. From Linux kernel.
11130 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
11132 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
11134 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
11137 * manual/socket.texi: Added statement about buffer
11138 for gethostbyname2_r.
11140 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
11142 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
11143 Use .p2align directive instead, throughout.
11144 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
11145 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
11146 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
11147 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11148 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11149 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
11150 * sysdeps/x86_64/strchr.S: Likewise.
11151 * sysdeps/x86_64/strrchr.S: Likewise.
11153 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11155 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
11157 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
11159 * sysdeps/generic/math_private.h (__mpsin1): Remove
11161 (__mpcos1): Likewise.
11162 (__mpsin): New argument __range_reduce.
11163 (__mpcos): Likewise.
11164 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11165 (slow): Use __mpsin and __mpcos.
11169 (sloww1): Likewise.
11170 (sloww2): Likewise.
11171 (bsloww): Likewise.
11172 (bsloww1): Likewise.
11173 (bsloww2): Likewise.
11174 (cslow2): Likewise.
11175 (csloww): Likewise.
11176 (csloww1): Likewise.
11177 (csloww2): Likewise.
11178 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
11179 range_reduce. Merge in __mpsin1.
11180 (__mpcos): Likewise.
11181 (__mpsin1): Remove.
11182 (__mpcos1): Likewise.
11184 2013-10-07 Joseph Myers <joseph@codesourcery.com>
11186 * locale/loadlocale.c (_nl_intern_locale_data): Use
11188 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
11189 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
11190 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
11191 obstack data is appropriately aligned.
11192 (obstack_int32_grow_fast): Likewise.
11193 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
11194 * locale/programs/locfile.c (add_locale_uint32): Likewise.
11195 (add_locale_uint32_array): Likewise.
11197 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
11199 * benchtests/Makefile: Remove ARGLIST and RET variables.
11200 ($(objpfx)bench-%.c): Pass only function name to the script.
11201 * benchtests/README: Update documentation.
11202 * benchtests/acos-inputs: Add new directives.
11203 * benchtests/acosh-inputs: Likewise.
11204 * benchtests/asin-inputs: Likewise.
11205 * benchtests/asinh-inputs: Likewise.
11206 * benchtests/atan-inputs: Likewise.
11207 * benchtests/atanh-inputs: Likewise.
11208 * benchtests/cos-inputs: Likewise.
11209 * benchtests/cosh-inputs: Likewise.
11210 * benchtests/exp-inputs: Likewise.
11211 * benchtests/log-inputs: Likewise.
11212 * benchtests/pow-inputs: Likewise.
11213 * benchtests/rint-inputs: Likewise.
11214 * benchtests/sin-inputs: Likewise.
11215 * benchtests/sinh-inputs: Likewise.
11216 * benchtests/tan-inputs: Likewise.
11217 * benchtests/tanh-inputs: Likewise.
11218 * scripts/bench.pl: Add support for new directives.
11220 2013-10-07 Alan Modra <amodra@gmail.com>
11222 * README: Fix careless merge.
11224 2013-10-05 Alan Modra <amodra@gmail.com>
11226 * NEWS: Mention powerpc64le support and bugs fixed.
11227 * README: Both big-endian and little-endian powerpc64 supported.
11229 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
11231 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
11232 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
11233 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
11234 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
11236 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
11238 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
11241 2013-10-04 Joseph Myers <joseph@codesourcery.com>
11243 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
11244 Move -mhard-float appending from
11245 ports/sysdeps/powerpc/powerpc32/Makefile.
11246 [$(with-fp) = yes] (ASFLAGS): Likewise.
11247 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
11248 * sysdeps/powerpc/nofpu: Move directory from
11249 ports/sysdeps/powerpc/nofpu.
11250 * sysdeps/powerpc/soft-fp: Move directory from
11251 ports/sysdeps/powerpc/soft-fp.
11252 * sysdeps/powerpc/powerpc32/405: Move directory from
11253 ports/sysdeps/powerpc/powerpc32/405.
11254 * sysdeps/powerpc/powerpc32/440: Move directory from
11255 ports/sysdeps/powerpc/powerpc32/440.
11256 * sysdeps/powerpc/powerpc32/464: Move directory from
11257 ports/sysdeps/powerpc/powerpc32/464.
11258 * sysdeps/powerpc/powerpc32/476: Move directory from
11259 ports/sysdeps/powerpc/powerpc32/476.
11260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
11261 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
11262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
11263 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
11264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
11265 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
11266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
11267 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
11268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
11269 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
11270 * README: Update for powerpc-*-linux-gnu software floating point
11273 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
11274 case to powerpc/powerpc32*.
11275 * sysdeps/unix/sysv/linux/configure: Regenerated.
11277 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
11278 (_FPU_MASK_OM): Define as 0x04.
11279 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
11280 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
11282 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
11284 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
11286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
11287 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
11289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
11290 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
11292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
11293 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
11294 and setcontext_e500.
11296 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
11298 * locale/iso-3166.def: Update iso-1366.def and related occurrences
11300 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11302 * manual/threads.texi (Default Thread Attributes): Fix typo.
11304 2013-10-04 Will Newton <will.newton@linaro.org>
11306 * malloc/Makefile: Add tst-memalign.
11307 * malloc/tst-memalign.c: New file.
11309 * malloc/tst-posix_memalign.c: Add comments.
11310 (do_test): Add comments and call free on all potentially
11311 allocated pointers. Add space after cast.
11313 * malloc/tst-pvalloc.c: Add comments.
11314 (do_test): Add comments and call free on all potentially
11315 allocated pointers. Remove duplicate check for NULL pointer.
11316 Add space after cast.
11318 * malloc/tst-valloc.c: Add comments.
11319 (do_test): Add comments and call free on all potentially
11320 allocated pointers. Remove duplicate check for NULL pointer.
11321 Add space after cast.
11323 2013-10-04 Alan Modra <amodra@gmail.com>
11325 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11326 Use stdint types in rather than __attribute__((mode())).
11327 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11329 2013-10-04 Alan Modra <amodra@gmail.com>
11331 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11332 Correct handling of unaligned relocs for little-endian.
11333 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11335 2013-10-04 Alan Modra <amodra@gmail.com>
11337 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
11338 * configure: Regenerate.
11339 * nptl/shlib-versions: Powerpc*le starts at 2.18.
11340 * shlib-versions: Likewise.
11342 2013-10-04 Alan Modra <amodra@gmail.com>
11344 * string/tester.c (test_memrchr): Increment reported test cycle.
11346 2013-10-04 Alan Modra <amodra@gmail.com>
11348 * string/test-memcpy.c (do_one_test): When reporting errors, print
11349 string address and don't overrun end of string.
11351 2013-10-04 Alan Modra <amodra@gmail.com>
11353 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
11354 insrdi. Make better use of reg selection to speed exit slightly.
11355 Schedule entry path a little better. Remove useless "are we done"
11356 checks on entry to main loop. Handle wrapping around zero address.
11357 Correct main loop count. Handle single left-over word from main
11358 loop inline rather than by using loop_small. Remove extra word
11359 case in loop_small caused by wrong loop count. Add little-endian
11361 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
11362 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
11364 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
11365 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
11366 support. Avoid rlwimi.
11367 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
11369 2013-10-04 Alan Modra <amodra@gmail.com>
11371 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
11372 insrdi. Formatting.
11373 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
11374 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
11375 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
11376 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
11377 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
11378 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
11380 2013-10-04 Alan Modra <amodra@gmail.com>
11382 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
11383 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11384 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
11385 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
11386 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
11387 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
11388 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11389 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
11390 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
11391 use of regs. Use power7 mtocrf. Tidy function tails.
11393 2013-10-04 Alan Modra <amodra@gmail.com>
11395 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
11396 Formatting. Consistently use rXXX register defines or rN defines.
11397 Use early exit labels that avoid restoring unused non-volatile regs.
11398 Make cr field use more consistent with rWORDn compares. Rename
11399 regs used as shift registers for unaligned loop, using rN defines
11400 for short lifetime/multiple use regs.
11401 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
11402 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
11403 addi 1,1,64 to pop stack frame. Simplify return value code.
11404 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11406 2013-10-04 Alan Modra <amodra@gmail.com>
11408 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
11409 support. Correct typos, formatting. Optimize tail. Use insrdi
11410 rather than rlwimi.
11411 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
11412 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
11413 little-endian support. Correct typos.
11414 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
11415 rather than rlwimi.
11416 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
11417 in loop and entry code to keep "and." results.
11418 (strchr): Add little-endian support. Comment. Move cntlzd
11420 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
11422 2013-10-04 Alan Modra <amodra@gmail.com>
11424 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
11425 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
11426 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
11427 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
11429 2013-10-04 Alan Modra <amodra@gmail.com>
11431 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
11432 (rTMP): Define as r11.
11433 (strcmp): Add little-endian support. Optimise tail.
11434 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
11435 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
11436 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
11437 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11438 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
11439 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11440 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11442 2013-10-04 Alan Modra <amodra@gmail.com>
11444 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
11445 little-endian support. Remove unnecessary "are we done" tests.
11446 Handle "s" wrapping around zero and extremely large "size".
11447 Correct main loop count. Handle single left-over word from main
11448 loop inline rather than by using small_loop. Correct comments.
11449 Delete "zero" tail, use "end_max" instead.
11450 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
11452 2013-10-04 Alan Modra <amodra@gmail.com>
11454 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
11455 support. Don't branch over align.
11456 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
11457 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
11458 support. Rearrange tmp reg use to suit. Comment.
11459 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
11461 2013-10-04 Alan Modra <amodra@gmail.com>
11463 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
11465 2013-10-04 Alan Modra <amodra@gmail.com>
11467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
11468 conditional form of branch and link when obtaining pc.
11469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
11471 2013-10-04 Alan Modra <amodra@gmail.com>
11473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
11475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
11476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
11478 2013-10-04 Alan Modra <amodra@gmail.com>
11480 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
11481 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
11482 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
11483 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
11484 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
11485 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
11486 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
11487 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
11488 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
11489 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
11491 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
11492 Alistair Popple <alistair@ozlabs.au.ibm.com>
11493 Alan Modra <amodra@gmail.com>
11496 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
11497 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
11498 _dl_hwcap access for little-endian.
11499 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
11500 destroy vmx regs when saving unaligned.
11501 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
11502 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
11503 destroy vmx regs when saving unaligned.
11505 2013-10-04 Alan Modra <amodra@gmail.com>
11507 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
11508 Don't use a union to pack hi/low value.
11510 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
11512 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
11514 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
11515 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
11516 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
11517 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
11518 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
11520 2013-10-04 Alan Modra <amodra@gmail.com>
11522 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
11523 constants to usual value for .cst8 section, and remove redundant
11525 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
11526 constant for 0x1p52. Load little-endian words of double from
11527 correct stack offsets.
11529 2013-10-04 Alan Modra <amodra@gmail.com>
11531 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
11532 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
11533 words of double from correct stack offsets.
11534 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
11535 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
11536 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
11537 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
11538 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
11539 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
11540 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
11541 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
11542 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
11543 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
11544 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
11545 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
11546 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
11547 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
11548 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
11549 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
11550 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
11552 2013-10-04 Alan Modra <amodra@gmail.com>
11554 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
11555 64-bit int/double union.
11556 (_FPU_SETCW): Likewise.
11557 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
11558 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
11560 2013-10-04 Alan Modra <amodra@gmail.com>
11562 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
11563 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
11565 2013-10-04 Alan Modra <amodra@gmail.com>
11567 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
11568 use vector int constants.
11569 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
11571 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
11573 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
11574 array with long long.
11575 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
11576 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
11577 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
11578 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
11579 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
11580 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
11581 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
11582 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
11583 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
11584 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
11585 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
11586 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
11587 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
11589 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
11591 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
11592 (__signbit): Likewise. Correct for little-endian.
11593 (__signbitl): Call __signbit.
11594 (lrint): Correct for little-endian.
11595 (lrintf): Call lrint.
11597 2013-10-04 Alan Modra <amodra@gmail.com>
11599 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
11600 union 32-bit int array member with 64-bit int array.
11601 (t515, tm256): Double rather than long double.
11602 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
11604 2013-10-04 Alan Modra <amodra@gmail.com>
11606 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
11608 (IEEE854_LONG_DOUBLE_BIAS): Delete.
11609 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
11610 version of math_ldbl.h.
11612 2013-10-04 Alan Modra <amodra@gmail.com>
11614 [BZ #15734], [BZ #15735]
11615 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
11616 all uses of ieee875 long double macros and unions. Simplify test
11617 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
11618 ldbl_extract_mantissa value for ix,iy exponents. Properly
11619 normalize after ldbl_extract_mantissa, and don't add hidden bit
11620 already handled. Don't treat low word of ieee854 mantissa like
11621 low word of IBM long double and mask off bit when testing for
11623 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
11624 all uses of ieee875 long double macros and unions. Simplify tests
11625 for 0.0L and inf. Correct double adjustment of k. Delete dead code
11626 adjusting ha,hb. Simplify code setting kld. Delete two600 and
11627 two1022, instead use their values. Recognise that tests for large
11628 "a" and small "b" are mutually exclusive. Rename vars. Comment.
11629 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
11630 Rewrite all uses of ieee875 long double macros and unions. Simplify
11631 test for 0.0L and nan. Correct negation.
11632 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
11633 ieee875 long double macros and unions. Correct output for large
11634 magnitude x. Correct absolute value calculation.
11635 (__erfcl): Likewise.
11636 * math/libm-test.inc: Add tests for errors discovered in IBM long
11637 double versions of fmodl, remainderl, erfl and erfcl.
11639 2013-10-04 Alan Modra <amodra@gmail.com>
11641 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
11642 all uses of ieee854 long double macros and unions. Simplify tests
11643 for long doubles that are fully specified by the high double.
11644 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
11646 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
11647 Remove dead code too.
11648 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
11649 (__ieee754_ynl): Likewise.
11650 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
11651 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
11652 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
11653 Remove dead code too.
11654 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
11655 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
11656 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
11657 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
11659 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
11661 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
11662 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
11663 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
11664 Comment on variable precision.
11665 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
11666 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
11668 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
11669 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
11670 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
11671 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
11672 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
11674 2013-10-04 Alan Modra <amodra@gmail.com>
11676 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
11677 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
11678 all uses of ieee854 long double macros and unions.
11679 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
11680 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
11681 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
11682 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
11683 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
11684 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
11686 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
11687 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
11688 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
11689 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
11690 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
11691 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
11692 Simplify sign and nan test too.
11693 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
11694 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
11695 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
11696 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
11698 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
11699 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
11701 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11702 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
11703 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
11704 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
11705 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
11706 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
11708 2013-10-04 Alan Modra <amodra@gmail.com>
11710 * stdio-common/printf_size.c (__printf_size): Don't use
11711 union ieee854_long_double in fpnum union.
11712 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
11713 signbit macro to retrieve sign from long double.
11714 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
11715 retrieve sign from long double.
11716 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
11717 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
11718 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
11719 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
11720 * math/test-misc.c (main): Don't use union ieee854_long_double.
11722 2013-10-04 Alan Modra <amodra@gmail.com>
11725 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
11726 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
11727 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
11728 calculation. Remove unnecessary test for denormal exponent.
11729 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
11730 Correct handling of denormals. Avoid undefined shift behaviour.
11731 Correct normalisation of low mantissa when low double is denormal.
11732 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
11733 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
11734 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
11735 Correct normalisation of low mantissa. Test for overflow of high
11736 mantissa and normalise.
11737 (ldbl_nearbyint): Use more readable constant for two52.
11738 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
11739 (__mpn_construct_long_double): Fix test for overflow of high
11740 mantissa and correct normalisation. Avoid undefined shift.
11742 2013-10-04 Alan Modra <amodra@gmail.com>
11744 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
11745 (union ibm_extended_long_double): Define as an array of ieee754_double.
11746 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
11747 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
11748 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
11749 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
11750 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11751 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
11752 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
11753 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
11754 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
11755 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
11756 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
11758 2013-10-03 Joseph Myers <joseph@codesourcery.com>
11760 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
11761 page size instead of calling getpagesize.
11763 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
11764 (LOCFILE_ALIGN_MASK): Likewise.
11765 (LOCFILE_ALIGN_UP): Likewise.
11766 (LOCFILE_ALIGNED_P): Likewise.
11767 * locale/programs/ld-collate.c (collate_output): Use the new
11768 macros instead of __alignof__ (int32_t).
11769 * locale/weight.h (findidx): Likewise.
11771 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
11774 * manual/string.texi: Fix strncat and wcsncat.
11776 2013-10-03 Brooks Moses <bmoses@google.com>
11779 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
11780 * Makerules: ...here, and adjust associated comments.
11782 2013-10-02 Will Newton <will.newton@linaro.org>
11784 * malloc/Makefile: Add tst-pvalloc.
11785 * malloc/tst-pvalloc.c: New file.
11787 2013-10-02 Will Newton <will.newton@linaro.org>
11789 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
11790 improve test coverage.
11792 2013-10-02 Will Newton <will.newton@linaro.org>
11794 * malloc/Makefile: Add tst-posix_memalign.
11795 * malloc/tst-posix_memalign.c: New file.
11797 2013-10-01 Eric Blake <eblake@redhat.com>
11799 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
11800 Use __THROWNL rather than __THROW on static functions.
11802 2013-09-30 Petr Machata <pmachata@redhat.com>
11804 * elf/elf.h (R_AARCH64_ABS16): New macro.
11805 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
11806 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
11807 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
11808 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
11809 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
11810 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
11811 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
11812 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
11813 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
11814 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
11815 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
11816 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
11817 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
11818 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
11819 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
11820 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
11821 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
11822 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
11823 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
11824 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
11825 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
11826 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
11827 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
11828 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
11829 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
11830 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
11831 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
11832 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
11833 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
11834 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
11835 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
11836 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
11837 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
11838 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
11839 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
11840 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
11841 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
11842 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
11843 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
11844 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
11845 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
11846 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
11847 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
11848 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
11849 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
11850 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
11851 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
11852 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
11853 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
11854 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
11855 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
11856 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
11857 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
11858 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
11859 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
11860 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
11861 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
11862 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
11863 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
11864 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
11865 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
11866 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
11867 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
11868 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
11869 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
11870 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
11871 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
11872 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
11873 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
11874 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
11875 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
11876 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
11877 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
11878 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
11879 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
11880 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
11881 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
11882 (R_AARCH64_TLSDESC_LDR): Likewise.
11883 (R_AARCH64_TLSDESC_ADD): Likewise.
11884 (R_AARCH64_TLSDESC_CALL): Likewise.
11886 2013-09-30 Andreas Schwab <schwab@suse.de>
11889 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
11890 the nss database lookup.
11891 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11892 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11894 2013-09-28 Mike Frysinger <vapier@gentoo.org>
11896 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
11898 2013-09-28 P. J. McDermott <pj@pehjota.net>
11900 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
11901 ${Bash-specific parameter/pattern/string} parameter expansion.
11902 * sysdeps/unix/make-syscalls.sh: Likewise.
11904 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11906 * sysdeps/sh/stackguard-macros.h: New file.
11908 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
11910 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
11911 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
11912 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
11913 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
11914 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11915 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
11917 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11919 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
11920 Fix thread ID register.
11922 2013-09-25 Joseph Myers <joseph@codesourcery.com>
11924 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
11925 [POSIX || UNIX98]: Require rather than permitting all symbols from
11927 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
11928 element of struct sched_param.
11929 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
11930 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
11931 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
11932 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
11935 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
11937 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
11938 argument calculation.
11940 2013-09-24 Joseph Myers <joseph@codesourcery.com>
11942 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
11944 [POSIX] (pthread_attr_t): Do not require type.
11945 [POSIX] (pthread_cond_t): Likewise.
11946 [POSIX] (pthread_condattr_t): Likewise.
11947 [POSIX] (pthread_key_t): Likewise.
11948 [POSIX] (pthread_mutex_t): Likewise.
11949 [POSIX] (pthread_mutexattr_t): Likewise.
11950 [POSIX] (pthread_once_t): Likewise.
11951 [POSIX] (pthread_t): Likewise.
11952 [POSIX-based standards] (pthread_atfork): Expect function.
11954 2013-09-24 Joseph Myers <joseph@codesourcery.com>
11955 Richard Sandiford <richard@codesourcery.com>
11957 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
11958 (swap_endianness_p): New extern variable.
11959 (set_big_endian): New inline function.
11960 (maybe_swap_uint32): Likewise.
11961 (maybe_swap_uint32_array): Likewise.
11962 (maybe_swap_uint32_obstack): Likewise.
11963 * locale/programs/locfile.c: Include <stdbool.h>.
11964 (swap_endianness_p): New variable.
11965 (add_locale_uint32): Call maybe_swap_uint32.
11966 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
11967 (write_locale_data): Call maybe_swap_uint32_array.
11968 * locale/programs/ld-collate.c (obstack_int32_grow): Call
11970 (obstack_int32_grow_fast): Likewise.
11971 (output_weightwc): Call maybe_swap_uint32_obstack.
11972 (collate_output): Likewise.
11973 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
11974 (OPT_LITTLE_ENDIAN): Likewise.
11975 (options): Add --little-endian and --big-endian options.
11976 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
11977 * locale/programs/locarchive.c: Include "locfile.h".
11981 (create_archive): Use the new macros to access fields of
11982 structures directly mapped from or written to locale archives.
11983 (oldlocrecentcmp): Likewise.
11984 (enlarge_archive): Likewise.
11985 (insert_name): Likewise.
11986 (add_alias): Likewise.
11987 (add_locale): Likewise.
11988 (delete_locales_from_archive): Likewise.
11989 (show_archive_content): Likewise.
11990 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
11993 2013-09-24 Roland McGrath <roland@hack.frob.com>
11995 * manual/freemanuals.texi: Updated from (newly) canonical copy at
11996 http://www.gnu.org/doc/freemanuals.texi.
11997 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
11999 2013-09-24 Will Newton <will.newton@linaro.org>
12001 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
12004 2013-09-23 Joseph Myers <joseph@codesourcery.com>
12006 * locale/hashval.h (compute_hashval): Interpret bytes of key as
12009 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
12011 * manual/threads.texi (POSIX Threads): Fix a typo.
12013 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
12016 * string/tst-strcoll-overflow.c: New test case.
12017 * string/Makefile (xtests): Add tst-strcoll-overflow.
12018 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
12019 cache if string sizes may cause integer overflow.
12022 * string/strcoll_l.c (coll_seq): New members rule, idx,
12023 save_idx and back_us.
12024 (get_next_seq_nocache): New function.
12025 (do_compare_nocache): New function.
12026 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
12029 2013-09-23 Carlos O'Donell <carlos@redhat.com>
12032 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
12033 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
12034 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
12037 * elf/Makefile (tests): Add tst-ptrguard1.
12038 (tests-static): Add tst-ptrguard1-static.
12039 (tst-ptrguard1-ARGS): Define.
12040 (tst-ptrguard1-static-ARGS): Define.
12041 * elf/tst-ptrguard1.c: New file.
12042 * elf/tst-ptrguard1-static.c: New file.
12043 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
12044 * sysdeps/i386/stackguard-macros.h: Likewise.
12045 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
12046 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
12047 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
12048 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
12049 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
12050 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
12052 2013-09-23 Hector Marco <hecmargi@upv.es>
12053 Ismael Ripoll <iripoll@disca.upv.es>
12054 Carlos O'Donell <carlos@redhat.com>
12057 * sysdeps/generic/stackguard-macros.h: Define
12058 __pointer_chk_guard_local and POINTER_CHK_GUARD.
12059 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
12060 Define __pointer_chk_guard_local.
12061 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
12062 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
12064 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
12067 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
12069 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
12071 * include/string.h (__ffs): Declare as hidden.
12072 * string/ffs.c (__ffs): Define as hidden.
12073 * sysdeps/i386/ffs.c (__ffs): Likewise.
12074 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
12075 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
12076 * sysdeps/s390/ffs.c (__ffs): Likewise.
12077 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
12079 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
12081 * NEWS: Mention malloc probes.
12083 * malloc/arena.c (new_heap): New memory_heap_new probe.
12084 (grow_heap): New memory_heap_more probe.
12085 (shrink_heap): New memory_heap_less probe.
12086 (heap_trim): New memory_heap_free probe.
12087 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
12088 (systrim): New memory_sbrk_less probe.
12089 * manual/probes.texi: Document them.
12091 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
12092 * manual/probes.texi: Document it.
12094 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
12095 (__libc_realloc): Add memory_realloc_retry probe.
12096 (__libc_memalign): Add memory_memalign_retry probe.
12097 (__libc_valloc): Add memory_valloc_retry probe.
12098 (__libc_pvalloc): Add memory_pvalloc_retry probe.
12099 (__libc_calloc): Add memory_calloc_retry probe.
12100 * manual/probes.texi: Document them.
12102 * malloc/arena.c (get_free_list): Add probe
12103 memory_arena_reuse_free_list.
12104 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
12105 and memory_arena_reuse.
12106 (arena_get2) [!PER_THREAD]: Likewise.
12107 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
12108 memory_arena_reuse_realloc.
12109 * manual/probes.texi: Document them.
12111 * malloc/malloc.c (__libc_free): Add
12112 memory_mallopt_free_dyn_thresholds probe.
12113 (__libc_mallopt): Add multiple memory_mallopt probes.
12114 * manual/probes.texi: Document them.
12116 * malloc/malloc.c: Include stap-probe.h.
12117 (__libc_mallopt): Add memory_mallopt probe.
12118 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
12119 * manual/probes.texi: New.
12120 * manual/Makefile (chapters): Add probes.
12121 * manual/threads.texi: Set next node.
12123 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
12125 [BZ #15963, #13985]
12126 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
12127 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
12128 Add `Chinese' to `nan' entry name.
12130 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12132 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
12133 (POLYNOMIAL): Likewise.
12134 (TAYLOR_SINCOS): Likewise.
12135 (TAYLOR_SLOW): Likewise.
12136 (__sin): Use TAYLOR_SINCOS.
12138 (slow): Use TAYLOR_SLOW.
12140 (bsloww): Likewise.
12141 (csloww): Likewise.
12143 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12145 * stdlib/strtod_l.c: Fix buffer overrun.
12147 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12149 * benchtests/Makefile (bench): Add sincos.
12150 * benchtests/bench-sincos.c: New file.
12152 * math/libm-test.inc (cos_test_data): New test inputs.
12153 (sin_test_data): Likewise.
12155 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
12161 (sloww1): Likewise.
12162 (sloww2): Likewise.
12163 (bsloww1): Likewise.
12164 (bsloww2): Likewise.
12165 (cslow2): Likewise.
12166 (csloww1): Likewise.
12167 (csloww2): Likewise.
12169 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
12174 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
12178 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
12180 * config.h.in (HAVE_MIPS_NAN2008): New macro.
12181 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
12182 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
12183 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
12184 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
12185 * elf/cache.c (print_entry): Handle the new cache flags.
12187 2013-09-18 Joseph Myers <joseph@codesourcery.com>
12188 Aldy Hernandez <aldyh@redhat.com>
12190 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
12191 Change condition to [_SOFT_FLOAT].
12192 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
12193 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
12194 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
12195 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
12196 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
12197 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
12198 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
12199 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
12200 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
12201 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
12202 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
12203 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
12204 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
12205 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
12206 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
12207 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
12210 2013-09-18 Joseph Myers <joseph@codesourcery.com>
12212 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
12213 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
12214 (__longjmp): Use LOAD_GP to load saved GPRs.
12215 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
12216 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
12217 (__sigsetjmp): Use SAVE_GP to save GPRs.
12219 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
12220 Do not append -msoft-float.
12221 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
12223 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12225 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
12227 2013-09-17 Joseph Myers <joseph@codesourcery.com>
12230 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
12231 (_FPU_GETCW): Use initial "__" on variable and field names but not
12232 on macro parameter name.
12233 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
12234 parentheses around reference to macro parameter.
12236 2013-09-13 Richard Sandiford <richard@codesourcery.com>
12238 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
12240 (ctype_startup): Use uint32_t in cast and sizeof for
12243 2013-09-11 Jia Liu <proljc@gmail.com>
12245 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
12247 [__FreeBSD__]: Likewise.
12249 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
12251 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
12252 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
12253 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
12254 (strchr): Remove __strchr_sse42 ifunc selection.
12255 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
12256 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
12258 2013-09-11 Will Newton <will.newton@linaro.org>
12260 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
12261 parameter to RES. Remove hardcoded 1000 value.
12262 * benchtests/bench-skeleton.c (main): Pass RES parameter
12263 to TIMING_INIT and multiply result by 1000.
12265 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12267 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12269 2013-09-11 Andreas Schwab <schwab@suse.de>
12271 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
12273 (O_TMPFILE) [__USE_GNU]: Define.
12274 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
12277 2013-09-11 Will Newton <will.newton@linaro.org>
12280 * malloc/malloc.c (__libc_memalign): Check the value of bytes
12283 2013-09-11 Will Newton <will.newton@linaro.org>
12286 * malloc/malloc.c (__libc_valloc): Check the value of bytes
12289 2013-09-11 Will Newton <will.newton@linaro.org>
12292 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
12295 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
12297 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
12298 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12299 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12300 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12301 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12303 2013-09-10 Allan McRae <allan@archlinux.org>
12306 * manual/arith.texi (Parsing of Floats): Clarify
12310 * manual/install.texi (Running make install): Mention
12312 * INSTALL: Regenerated.
12314 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
12316 * csu/init-first.c (_init): Remove the !SHARED condition around
12317 FPU control word initialization.
12318 * elf/dl-support.c (_dl_fpu_control): New variable.
12319 (_dl_aux_init) <AT_FPUCW>: Initialize it.
12320 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
12321 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
12322 * math/test-fpucw-static.c: New file.
12323 * math/test-fpucw-ieee.c: New file.
12324 * math/test-fpucw-ieee-static.c: New file.
12325 * math/Makefile (tests): Add `test-fpucw-ieee' and
12327 (tests-static): New variable.
12328 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
12330 [($(build-shared),yes)]
12331 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
12333 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
12336 2013-09-09 Allan McRae <allan@archlinux.org>
12339 * manual/string.texi (Collation Functions): Fix typo in
12341 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
12344 * stdlib/isomac.c (get_null_defines): Fix memory leak.
12347 * libio/memstream.c (open_memstream): Fix memory leak.
12348 * libio/wmemstream.c (open_wmemstream): Likewise.
12351 * nscd/netgroupcache.c: Fix nesting of ifdefs.
12353 2013-09-09 Will Newton <will.newton@linaro.org>
12355 * malloc/Makefile: Add tst-realloc to tests.
12356 * malloc/tst-realloc.c: New file.
12358 2013-09-09 Allan McRae <allan@archlinux.org>
12361 * COPYING: Update from GNU website to fix FSF address.
12362 * COPYING.LIB: Likewise.
12364 2013-09-06 David S. Miller <davem@davemloft.net>
12366 * po/zh_TW.po: Update Chinese (traditional) translation from
12367 translation project.
12369 2013-09-06 Richard Sandiford <richard@codesourcery.com>
12370 Joseph Myers <joseph@codesourcery.com>
12372 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
12374 (obstack_chunk_alloc): New macro.
12375 (obstack_chunk_free): Likewise.
12376 (record_offset): New function.
12377 (init_locale_data): Likewise.
12378 (align_locale_data): Likewise.
12379 (add_locale_empty): Likewise.
12380 (add_locale_raw_data): Likewise.
12381 (add_locale_raw_obstack): Likewise.
12382 (add_locale_string): Likewise.
12383 (add_locale_wstring): Likewise.
12384 (add_locale_uint32): Likewise.
12385 (add_locale_uint32_array): Likewise.
12386 (add_locale_char): Likewise.
12387 (start_locale_structure): Likewise.
12388 (end_locale_structure): Likewise.
12389 (start_locale_prelude): Likewise.
12390 (end_locale_prelude): Likewise.
12391 (write_locale_data): Take locale_file structure rather than an
12393 * locale/programs/locfile.h: Include "obstack.h".
12394 (struct locale_file): Change to store locale file contents instead
12396 (init_locale_data): New prototype.
12397 (align_locale_data): Likewise.
12398 (add_locale_empty): Likewise.
12399 (add_locale_raw_data): Likewise.
12400 (add_locale_raw_obstack): Likewise.
12401 (add_locale_string): Likewise.
12402 (add_locale_wstring): Likewise.
12403 (add_locale_uint32): Likewise.
12404 (add_locale_uint32_array): Likewise.
12405 (add_locale_char): Likewise.
12406 (start_locale_structure): Likewise.
12407 (end_locale_structure): Likewise.
12408 (start_locale_prelude): Likewise.
12409 (end_locale_prelude): Likewise.
12410 (write_locale_data): Update prototype.
12411 * locale/programs/3level.h (struct TABLE): Remove result field.
12412 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
12413 Use new locale_file interface.
12414 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
12415 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
12416 * locale/programs/ld-address.c (address_output): Use new
12417 locale_file interface.
12418 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
12420 (collate_finish): Don't call collseq_table_finalize.
12421 (collate_output): Use new locale_file interface.
12422 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
12424 (NO_FINALIZE): Change to NO_ADD_LOCALE.
12425 (TABLE): Move defines earlier in file.
12426 (ELEMENT): Likewise.
12427 (DEFAULT): Likewise.
12428 (wctrans_table_add): Move macro and inline function earlier in
12430 (struct wctype_table): Move type earlier in file.
12431 (add_locale_wctype_table): New static prototype.
12432 (struct locale_ctype_t): Use logical types instead of struct iovec
12433 pointers for members.
12434 (ctype_output): Use new locale_file interface.
12435 (wctype_table_finalize): Change to add_locale_wctype_table. Use
12436 new locale_file interface.
12437 (allocate_arrays): Update for use of new locale_file interface.
12438 * locale/programs/ld-identification.c (identification_output): Use
12439 new locale_file interface.
12440 * locale/programs/ld-measurement.c (measurement_output): Likewise.
12441 * locale/programs/ld-messages.c (messages_output): Likewise.
12442 * locale/programs/ld-monetary.c (monetary_output): Likewise.
12443 * locale/programs/ld-name.c (name_output): Likewise.
12444 * locale/programs/ld-numeric.c (numeric_output): Likewise.
12445 * locale/programs/ld-paper.c (paper_output): Likewise.
12446 * locale/programs/ld-telephone.c (telephone_output): Likewise.
12447 * locale/programs/ld-time.c (time_output): Likewise.
12449 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12451 * benchtests/Makefile: Add memrchr benchmark.
12452 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
12453 benchmark as memrchr.
12454 * benchtests/bench-memrchr-ifunc.c: New file.
12455 * benchtests/bench-memrchr.c: New file.
12457 2013-09-06 Will Newton <will.newton@linaro.org>
12459 * benchtests/Makefile (string-bench): Add memcpy.
12461 2013-09-05 Carlos O'Donell <carlos@redhat.com>
12462 Cong Wang <amwang@redhat.com>
12465 * sysdeps/unix/sysv/linux/bits/in.h
12466 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
12467 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
12468 before __USE_KERNEL_IPV6_DEFS uses.
12469 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
12471 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
12472 sockaddr_in6, or ipv6_mreq.
12474 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12476 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
12477 memory access for final bytes in some large inputs.
12478 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
12480 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12482 * string/test-memrchr.c: New file.
12483 * string/test-memrchr-ifunc.c: New file.
12484 * string/Makefile: Add new memrchr testcase.
12486 2013-09-05 Mike Frysinger <vapier@gentoo.org>
12488 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
12489 fanotify_init returns EPERM.
12491 2013-09-04 Joseph Myers <joseph@codesourcery.com>
12493 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
12495 (top level): Treat second token from macro or constant entries for
12496 allowed headers as allowed.
12497 * include/complex.h: Condition internal declarations on
12499 * include/fenv.h: Condition include of <stdbool.h> and internal
12500 declarations on [!_ISOMAC].
12502 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
12505 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
12507 2013-09-04 Joseph Myers <joseph@codesourcery.com>
12509 * configure.in (--enable-versioning): Remove configure option.
12510 (libc_cv_asm_symver_directive): Remove configure test.
12511 (libc_cv_ld_version_script_option): Likewise.
12512 (VERSIONING): Remove variable and AC_SUBST.
12513 (DO_VERSIONING): Remove AC_DEFINE.
12514 * configure: Regenerated.
12515 * config.h.in (DO_VERSIONING): Remove macro.
12516 * Makerules [$(versioning) = yes]: Change conditionals to
12517 [$(build-shared) = yes].
12518 * config.make.in (versioning): Remove variable.
12519 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
12520 [$(build-shared) = yes].
12521 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
12522 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
12523 * elf/Makefile [$(versioning) = yes]: Change conditionals to
12524 [$(build-shared) = yes].
12525 * extra-lib.mk [$(versioning) = yes]: Likewise.
12526 * hurd/Makefile [$(versioning) = yes]: Likewise.
12527 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
12529 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
12531 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
12532 [SHARED && !NO_HIDDEN].
12533 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
12535 [SHARED && DO_VERSIONING]: Likewise..
12536 * libio/Makefile [$(versioning) = yes]: Change conditionals to
12537 [$(build-shared) = yes].
12538 * manual/install.texi (--disable-versioning): Remove
12540 * INSTALL: Regenerated.
12541 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
12543 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
12544 [$(build-shared) = yes].
12545 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
12546 * sysdeps/i386/i686/multiarch/strstr-c.c
12547 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
12548 [SHARED && !NO_HIDDEN].
12549 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
12550 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
12551 * sysdeps/powerpc/powerpc32/dl-machine.c
12552 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
12553 * sysdeps/powerpc/powerpc32/sysdep.h
12554 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
12555 to [SHARED && PIC && !NO_HIDDEN].
12556 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
12557 conditional to [SHARED].
12559 2013-09-04 Will Newton <will.newton@linaro.org>
12561 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
12562 * benchtests/bench-string.h: Include bench-timing.h instead
12563 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
12564 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
12565 call to HP_TIMING_DIFF_INIT.
12566 * benchtests/bench-memccpy.c: Use bench-timing.h macros
12567 instead of hp-timing.h macros.
12568 * benchtests/bench-memchr.c: Likewise.
12569 * benchtests/bench-memcmp.c: Likewise.
12570 * benchtests/bench-memcpy.c: Likewise.
12571 * benchtests/bench-memmem.c: Likewise.
12572 * benchtests/bench-memmove.c: Likewise.
12573 * benchtests/bench-memset.c: Likewise.
12574 * benchtests/bench-rawmemchr.c: Likewise.
12575 * benchtests/bench-strcasecmp.c: Likewise.
12576 * benchtests/bench-strcasestr.c: Likewise.
12577 * benchtests/bench-strcat.c: Likewise.
12578 * benchtests/bench-strchr.c: Likewise.
12579 * benchtests/bench-strcmp.c: Likewise.
12580 * benchtests/bench-strcpy.c: Likewise.
12581 * benchtests/bench-strcpy_chk.c: Likewise.
12582 * benchtests/bench-strlen.c: Likewise.
12583 * benchtests/bench-strncasecmp.c: Likewise.
12584 * benchtests/bench-strncat.c: Likewise.
12585 * benchtests/bench-strncmp.c: Likewise.
12586 * benchtests/bench-strncpy.c: Likewise.
12587 * benchtests/bench-strnlen.c: Likewise.
12588 * benchtests/bench-strpbrk.c: Likewise.
12589 * benchtests/bench-strrchr.c: Likewise.
12590 * benchtests/bench-strspn.c: Likewise.
12591 * benchtests/bench-strstr.c: Likewise.
12593 2013-09-04 Will Newton <will.newton@linaro.org>
12595 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
12597 2013-09-03 Joseph Myers <joseph@codesourcery.com>
12600 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
12601 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
12602 * math/libm-test.inc (lgamma_test_data): Add more tests.
12603 * sysdeps/i386/fpu/libm-test-ulps: Update.
12604 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12606 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
12608 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
12609 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12611 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
12612 Add strcmp-sse2-unaligned
12613 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
12615 2013-09-02 Mike Frysinger <vapier@gentoo.org>
12617 * Versions.def (libc): Add GLIBC_2.19.
12619 2013-09-02 Mike Frysinger <vapier@gentoo.org>
12621 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
12622 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
12624 2013-09-02 Joseph Myers <joseph@codesourcery.com>
12627 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
12628 intermediate calculations in recurrence.
12629 (__ieee754_ynf): Likewise.
12630 * math/libm-test.inc (jn_test_data): Do not allow spurious
12631 underflow exception. Add more tests.
12632 (yn_test_data): Add more tests.
12633 * sysdeps/i386/fpu/libm-test-ulps: Update.
12634 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12636 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
12638 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
12640 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
12642 * csu/init-first.c: Fix then/than typos.
12643 * locale/programs/ld-collate.c: Likewise.
12644 * locale/programs/linereader.h: Likewise.
12645 * manual/charset.texi: Likewise.
12646 * manual/filesys.texi: Likewise.
12647 * manual/stdio.texi: Likewise.
12648 * manual/string.texi: Likewise.
12649 * stdlib/fmtmsg.c: Likewise.
12650 * sysdeps/i386/stpncpy.S: Likewise.
12651 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12652 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
12653 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12654 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
12656 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
12658 * elf/dl-open.c: Fix typos.
12659 * iconvdata/gbbig5.c: Likewise.
12660 * iconvdata/iso-2022-jp.c: Likewise.
12661 * iconv/gconv_int.h: Likewise.
12662 * iconv/loop.c: Likewise.
12663 * nis/rpcsvc/nis.h: Likewise.
12664 * resolv/ns_name.c: Likewise.
12665 * stdio-common/vfscanf.c: Likewise.
12666 * streams/stropts.h: Likewise.
12667 * sunrpc/rpc_thread.c: Likewise.
12668 * sysdeps/i386/strpbrk.S: Likewise.
12669 * sysdeps/ieee754/k_standard.c: Likewise.
12670 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12671 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12672 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
12673 * sysdeps/mach/hurd/profil.c: Likewise.
12674 * sysdeps/s390/dl-procinfo.h: Likewise.
12675 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
12676 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
12677 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
12678 * sysdeps/x86_64/dl-trampoline.S: Likewise.
12679 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
12681 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
12683 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
12684 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
12686 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
12688 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
12689 aix specific files.
12690 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
12691 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
12692 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
12693 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
12694 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
12695 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
12696 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
12697 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
12699 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
12700 Roland McGrath <roland@hack.frob.com>
12702 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
12703 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
12705 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
12707 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
12708 __executable_start symbol instead of _start.
12710 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
12712 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
12713 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
12715 * sysdeps/gnu/ldsodefs.h: ... this new file.
12717 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
12718 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
12719 instead of ELFOSABI_LINUX.
12721 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
12722 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
12723 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
12724 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
12726 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
12727 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
12728 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
12730 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
12731 (ibm_extended_long_double): Add ieee_nan member.
12732 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
12733 (do_test): New function.
12735 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
12737 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
12738 functions, renamed from truncdfsf_test, trunctfsf_test,
12740 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
12742 (do_test): Run all these.
12744 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
12746 * argp/argp-help.c: Fix typos.
12747 * argp/argp-parse.c: Likewise.
12748 * debug/backtracesyms.c: Likewise.
12749 * elf/elf.h: Likewise.
12750 * malloc/malloc.c: Likewise.
12751 * nis/nis_print.c: Likewise.
12752 * resolv/res_comp.c: Likewise.
12753 * stdlib/stdlib.h: Likewise.
12754 * sunrpc/clnt_tcp.c: Likewise.
12755 * sunrpc/clnt_udp.c: Likewise.
12756 * sunrpc/clnt_unix.c: Likewise.
12757 * sysdeps/unix/bsd/ptsname.c: Likewise.
12758 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
12759 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
12760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
12762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
12764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
12766 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
12768 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12770 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
12771 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12773 2013-08-27 Mike Frysinger <vapier@gentoo.org>
12776 * dlfcn/Makefile (tests): Add bug-dl-leaf.
12777 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
12778 ($(objpfx)bug-dl-leaf): New rule.
12779 ($(objpfx)bug-dl-leaf.so): Likewise.
12780 ($(objpfx)bug-dl-leaf.out): Likewise.
12781 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
12782 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
12783 * dlfcn/bug-dl-leaf.c: New test.
12784 * dlfcn/bug-dl-leaf-lib.c: Likewise.
12785 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
12786 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
12787 (dlclose): Likewise.
12788 (dlmopen): Likewise.
12790 2013-08-27 Roland McGrath <roland@hack.frob.com>
12792 * include/netdb.h [!_ISOMAC]:
12793 Don't include <tls.h>.
12794 (h_errno, __libc_h_errno): Move declaration and macros out of
12797 * include/resolv.h [_RESOLV_H_]:
12798 Don't include <tls.h>.
12799 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
12800 * resolv/res_libc.c: Don't include <tls.h>.
12801 (_res): Use __attribute__ ((nocommon)) in place of
12802 __attribute__ ((section (".bss"))).
12804 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
12805 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
12807 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
12809 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
12810 only under [SIOCGIFCONF && SIOCGIFNETMASK].
12812 * resolv/res_mkquery.c: Include <sys/time.h>.
12814 * inet/ifreq.c: Moved to ...
12815 * sysdeps/unix/ifreq.c: ... here.
12816 * inet/ifreq.c: New file, true stub version.
12818 * socket/sa_len.c: New file.
12819 * socket/Makefile (aux): Add it.
12820 * sysdeps/unix/sysv/linux/Makefile
12821 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
12822 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
12823 and #include <socket/sa_len.c>.
12824 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
12825 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
12827 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
12828 * bits/socket.h: ... here.
12830 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
12831 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
12832 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
12834 2013-08-27 Andreas Schwab <schwab@suse.de>
12837 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
12838 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
12839 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
12840 * string/test-strcasecmp.c (test_main): Run tests in several
12842 * string/test-strncasecmp.c (test_main): Likewise.
12844 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
12845 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
12846 to __strcasecmp_nonascii and __strncasecmp_nonascii.
12847 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
12848 (__strncasecmp_ssse3) [PIC]: Likewise.
12850 2013-08-26 Roland McGrath <roland@hack.frob.com>
12852 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
12854 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
12855 instead of explicitly declaring xdecrypt.
12856 * nis/nss_nis/nis-publickey.c: Likewise.
12858 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12861 * nscd/aicache.c: Include res_hconf.h.
12862 (addhstaiX): Initialize res_hconf.
12864 2013-08-26 Andreas Schwab <schwab@suse.de>
12866 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
12867 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
12869 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12871 * nscd/aicache.c (addhstaiX): Fix indentation.
12873 2013-08-25 Mike Frysinger <vapier@gentoo.org>
12875 * configure.ac: Quote $build_pt_chown test.
12876 * configure: Regenerated.
12878 2013-08-23 Joseph Myers <joseph@codesourcery.com>
12881 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
12882 * math/s_cexpf.c (__cexpf): Likewise.
12883 * math/s_cexpl.c (__cexpl): Likewise.
12884 * math/libm-test.inc (cexp_test_data): Correct expected return
12885 value for NaN + i0. Add another test.
12887 2013-08-22 David S. Miller <davem@davemloft.net>
12889 * po/ca.po: Update Catalan translation from translation project.
12890 * po/uk.po: Add Ukrainian translations from translation project.
12892 2013-08-21 Joseph Myers <joseph@codesourcery.com>
12895 * math/s_fdim.c (__fdim): Check for infinite arguments if result
12896 is infinite, not alongside NaN test.
12897 * math/s_fdimf.c (__fdimf): Likewise.
12898 * math/s_fdiml.c (__fdiml): Likewise.
12899 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
12900 errno is unchanged.
12902 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
12904 * argp/argp-help.c: Fix typos.
12905 * crypt/speeds.c: Likewise.
12906 * csu/check_fds.c: Likewise.
12907 * elf/dl-load.c: Likewise.
12908 * elf/dl-open.c: Likewise.
12909 * elf/reldep3.c: Likewise.
12910 * elf/reldep.c: Likewise.
12911 * elf/sprof.c: Likewise.
12912 * iconv/iconv_charmap.c: Likewise.
12913 * iconv/skeleton.c: Likewise.
12914 * iconv/strtab.c: Likewise.
12915 * io/lockf64.c: Likewise.
12916 * libio/libioP.h: Likewise.
12917 * resolv/gai_notify.c: Likewise.
12918 * resolv/ns_name.c: Likewise.
12919 * resolv/ns_samedomain.c: Likewise.
12920 * resolv/res_send.c: Likewise.
12921 * stdlib/random.c: Likewise.
12922 * sunrpc/rpc/xdr.h: Likewise.
12923 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
12924 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
12925 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
12926 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
12927 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
12928 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
12929 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
12930 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
12931 * sysdeps/mach/hurd/check_fds.c: Likewise.
12932 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
12933 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
12934 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12935 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
12936 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
12937 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
12938 * sysdeps/pthread/aio_notify.c: Likewise.
12939 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
12940 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
12941 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
12942 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
12943 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
12945 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12947 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
12948 version if bit_Slow_SSE4_2 is set.
12949 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12950 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12952 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12955 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
12956 trampoline stack frame information.
12957 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
12958 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
12959 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
12960 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
12961 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
12962 * sysdeps/unix/sysv/linux/powerpc/init-first.c
12963 (_libc_vdso_platform_setup): Initialize the signal trampolines.
12964 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
12966 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
12967 interrupting a syscall and set with option SA_SIGINFO.
12969 2013-08-20 Joseph Myers <joseph@codesourcery.com>
12972 * math/s_cproj.c (__cproj): Only return an infinity if one part of
12973 argument is infinite.
12974 * math/s_cprojf.c (__cprojf): Likewise.
12975 * math/s_cprojl.c (__cprojl): Likewise.
12976 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
12977 * math/libm-test.inc (cproj_test_data): Add more tests.
12979 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
12981 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
12982 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
12983 size. Use __ffs to determine corresponding shift.
12985 2013-08-20 Joseph Myers <joseph@codesourcery.com>
12986 Roland McGrath <roland@hack.frob.com>
12988 * Makefile (INSTALL): Remove trailing blank lines from output of
12991 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12993 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
12994 Align 32 bit compat elf_greg to 8 bytes.
12996 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
12998 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
13000 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13002 * string/strcoll_l.c (coll_seq): New structure.
13003 (get_next_seq_cached): New function.
13004 (get_next_seq): New function.
13005 (do_compare): New function.
13006 (STRCOLL): Use GNU style definition. Simplify implementation
13007 by using get_next_seq, get_next_seq_cached and do_compare.
13009 2013-08-16 Florian Weimer <fweimer@redhat.com>
13013 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
13015 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
13017 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
13018 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
13019 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
13021 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
13022 GETDENTS_64BIT_ALIGNED.
13023 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
13024 * manual/filesys.texi (Reading/Closing Directory): Document
13025 ENAMETOOLONG return value of readdir_r. Recommend readdir more
13027 * manual/conf.texi (Limits for Files): Add portability note to
13028 NAME_MAX, PATH_MAX.
13029 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
13031 2013-08-13 Andreas Schwab <schwab@suse.de>
13034 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
13036 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
13037 LDBL_MAX_EXP >= 16384]: Add tests for it.
13039 2013-08-12 David S. Miller <davem@davemloft.net>
13041 * version.h (RELEASE): Set to "development".
13042 (VERSION): Set to "2.18.90".
13043 * NEWS: Add 2.19 section.
13045 2013-08-03 David S. Miller <davem@davemloft.net>
13047 * po/ko.po: Update Korean translation from translation project.
13049 2013-08-01 David S. Miller <davem@davemloft.net>
13051 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
13052 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
13055 2013-07-30 David S. Miller <davem@davemloft.net>
13057 * po/fr.po: Update French translation from translation project.
13059 2013-07-28 David S. Miller <davem@davemloft.net>
13061 * po/cs.po: Update Czech translation from translation project.
13063 * po/sv.po: Update Swedish translation from translation project.
13065 2013-07-27 David S. Miller <davem@davemloft.net>
13067 * po/eo.po: Update Esperanto translation from translation project.
13069 * po/vi.po: Update Vietnamese translation from translation project.
13071 * po/de.po: Update German translation from translation project.
13073 2013-07-26 David S. Miller <davem@davemloft.net>
13075 * po/bg.po: Update Bulgarian translation from translation project.
13077 * po/nl.po: Update Dutch translation from translation project.
13078 * po/pl.po: Update Polish translation from translation project.
13079 * po/ru.po: Update Russian translation from translation project.
13081 2013-07-24 David S. Miller <davem@davemloft.net>
13083 * po/libc.pot: Update.
13085 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13087 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
13088 variable page size.
13089 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
13090 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
13091 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
13093 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13095 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
13097 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13098 Andreas Schwab <schwab@suse.de>
13099 Roland McGrath <roland@hack.frob.com>
13100 Joseph Myers <joseph@codesourcery.com>
13101 Carlos O'Donell <carlos@redhat.com>
13104 * config.h.in: Define HAVE_PT_CHOWN.
13105 * config.make.in (build-pt-chown): New variable.
13106 * configure.in (--enable-pt_chown): New configure option.
13107 * configure: Regenerate.
13108 * login/Makefile: Include Makeconfig. Build pt_chown only if
13109 build-pt-chown is enabled.
13110 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
13111 pt_chown to fix pty ownership.
13112 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
13114 * manual/install.texi (Configuring and compiling): Mention
13115 --enable-pt_chown. Add @findex for grantpt.
13116 * INSTALL: Regenerate.
13118 2013-07-20 David S. Miller <davem@davemloft.net>
13120 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
13121 difference between 32-bit and 64-bit.
13123 2013-07-15 Carlos O'Donell <carlos@redhat.com>
13126 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
13127 Avoid system header dependency with -ffreestanding.
13128 ($(objpfx)bits/syscall%d): Likewise.
13130 2013-07-13 David S. Miller <davem@davemloft.net>
13132 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
13133 underflows from atanl/atan2l due to bug 15319.
13134 (casinh_test_data): Likewise.
13136 2013-07-07 David S. Miller <davem@davemloft.net>
13138 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
13140 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
13142 * sysdeps/i386/fpu/libm-test-ulps: Update.
13143 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13145 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13147 * configure.in (--enable-lock-elision): Fix message text.
13148 * INSTALL: Regenerate.
13149 * configure: Regenerate.
13151 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13153 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13155 2013-07-03 Andreas Jaeger <aj@suse.de>
13157 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
13159 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
13160 (ptrace_peeksiginfo_args): Add.
13161 (__ptrace_peeksiginfo_flags): Add.
13162 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13163 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13164 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13166 2013-07-03 Allan McRae <allan@archlinux.org>
13168 * sysdeps/i386/fpu/libm-test-ulps: Update.
13170 2013-07-02 David S. Miller <davem@davemloft.net>
13172 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13174 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
13176 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13178 2013-07-02 Joseph Myers <joseph@codesourcery.com>
13180 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
13181 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13183 2013-07-02 Andi Kleen <ak@linux.intel.com>
13185 * config.h.in (ENABLE_LOCK_ELISION): Add.
13186 * configure.in (--enable-lock-elision): Add option.
13187 * manual/install.texi: Document --enable lock elision.
13188 * configure: Regenerate
13189 * INSTALL: Regenerate.
13191 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
13193 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
13194 SSE4.2 strcasecmp for libc.a.
13195 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
13197 2013-07-02 Joseph Myers <joseph@codesourcery.com>
13200 * soft-fp/op-common.h (_FP_FMA): New macro.
13201 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
13202 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
13203 (_FP_MUL_MEAT_1_imm): ... here.
13204 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
13205 (_FP_MUL_MEAT_1_wide): ... here.
13206 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
13207 (_FP_MUL_MEAT_1_hard): ... here.
13208 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
13209 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
13210 (_FP_MUL_MEAT_2_wide): ... here.
13211 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
13212 (_FP_MUL_MEAT_2_wide_3mul): ... here.
13213 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
13214 (_FP_MUL_MEAT_2_gmp): ... here.
13215 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
13216 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
13217 (_FP_MUL_MEAT_4_wide): ... here.
13218 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
13219 (_FP_MUL_MEAT_4_gmp): ... here.
13220 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
13221 (_FP_WFRACBITS_DW_S): Likewise.
13222 (_FP_WFRACXBITS_DW_S): Likewise.
13223 (_FP_HIGHBIT_DW_S): Likewise.
13224 (FP_FMA_S): Likewise.
13225 (_FP_FRAC_HIGH_DW_S): Likewise.
13226 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
13227 (_FP_WFRACBITS_DW_D): Likewise.
13228 (_FP_WFRACXBITS_DW_D): Likewise.
13229 (_FP_HIGHBIT_DW_D): Likewise.
13230 (FP_FMA_D): Likewise.
13231 (_FP_FRAC_HIGH_DW_D): Likewise.
13232 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
13233 (_FP_WFRACBITS_DW_E): Likewise.
13234 (_FP_WFRACXBITS_DW_E): Likewise.
13235 (_FP_HIGHBIT_DW_E): Likewise.
13236 (FP_FMA_E): Likewise.
13237 (_FP_FRAC_HIGH_DW_E): Likewise.
13238 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
13239 (_FP_WFRACBITS_DW_Q): Likewise.
13240 (_FP_WFRACXBITS_DW_Q): Likewise.
13241 (_FP_HIGHBIT_DW_Q): Likewise.
13242 (FP_FMA_Q): Likewise.
13243 (_FP_FRAC_HIGH_DW_Q): Likewise.
13244 * soft-fp/fmasf4.c: New file.
13245 * soft-fp/fmadf4.c: Likewise.
13246 * soft-fp/fmatf4.c: Likewise.
13248 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13250 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
13251 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
13253 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
13255 (index_Slow_SSE4_2): Likewise.
13256 (index_Prefer_PMINUB_for_stringop): Likewise.
13257 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
13258 bit_Slow_SSE4_2 is set.
13259 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
13260 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13262 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13264 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
13265 rtld_global._dl_hwcap2.
13266 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
13268 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
13269 POWER8 feature descriptions defined in _dl_hwcap2.
13270 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
13271 string handling for POWER8 feature bits.
13272 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
13273 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
13274 _dl_powerpc_cap_flags.
13275 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
13276 * sysdeps/powerpc/rtld-global-offsets.sym
13277 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
13278 _dl_hwcap2 in the rtld_global_ro structure.
13280 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13282 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
13283 hardware capabilities in support of AT_HWCAP2.
13284 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
13285 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
13287 (_dl_show_auxv): Add support for calling _dl_procinfo to display
13288 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
13289 explicitly the unknown a_type display mechanism is used.
13290 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
13291 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
13293 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
13294 to macro prototype for AT_HWCAP2 support.
13295 * sysdeps/i386/dl-procinfo.h: Likewise.
13296 * sysdeps/s390/dl-procinfo.h: Likewise.
13297 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
13298 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
13299 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
13300 return -1 for unknown a_type display fallback.
13301 * sysdeps/sparc/dl-procinfo.h: Likewise.
13302 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
13303 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
13305 2013-06-28 Joseph Myers <joseph@codesourcery.com>
13307 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
13308 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
13310 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
13313 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
13314 mprotect making __stack_prot writable.
13316 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
13317 Joseph Myers <joseph@codesourcery.com>
13319 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
13320 as being properly aligned.
13322 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
13324 * dlfcn/modstatic5.c: New file.
13325 * dlfcn/tststatic5.c: New file.
13326 * dlfcn/Makefile (tests): Add tststatic5.
13327 (tests-static): Likewise.
13328 (modules-names): Add modstatic5.
13329 (tststatic5-ENV): New variable.
13330 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
13333 * elf/dl-support.c (_dl_main_map): New variable.
13334 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
13335 (_dl_nns, _dl_load_adds): Set to 1.
13336 (_dl_initial_searchlist): Refer to _dl_main_map.
13337 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
13338 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
13339 call to _dl_get_origin.
13340 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
13342 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
13343 * dlfcn/modstatic3.c: New file.
13344 * dlfcn/tststatic3.c: New file.
13345 * dlfcn/tststatic4.c: New file.
13346 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
13347 (tests-static): Likewise.
13348 (modules-names): Add modstatic3.
13349 (tststatic3-ENV, tststatic4-ENV): New variables.
13350 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
13351 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
13353 2013-06-26 Joseph Myers <joseph@codesourcery.com>
13355 * configure.in (CC): Require GCC version 4.4 or later.
13356 * configure: Regenerated.
13357 * manual/install.texi (Tools for Compilation): Update GCC version
13359 * INSTALL: Regenerated.
13361 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13364 * string/test-memcmp.c (check2): New.
13365 (main): Call check2.
13367 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
13369 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
13372 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
13374 (dl_open_worker) [!SHARED]: ... here.
13376 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13378 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
13380 2013-06-25 Richard Henderson <rth@redhat.com>
13382 * locale/programs/locarchive.c: Include <libc-internal.h>
13384 2013-06-25 Joseph Myers <joseph@codesourcery.com>
13386 * manual/texinfo.tex: Update to version 2013-06-21.17, with
13387 trailing whitespace removed.
13389 2013-06-24 Mike Frysinger <vapier@gentoo.org>
13392 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
13393 * locale/programs/locarchive.c: Include libc-mmap.h.
13394 (prepare_address_space): Take two new outputs (the mmap base and len).
13395 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
13397 (create_archive): Declare new mmap base and len values for
13398 prepare_address_space, and store the result in ah.
13399 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
13400 (enlarge_archive): If ah->mmap_base is not NULL, use that and
13401 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
13402 Declare new mmap base and len values for
13403 prepare_address_space, and store the result in new_ah.
13404 (open_archive): Declare new mmap base and len values for
13405 prepare_address_space, and store the result in ah.
13406 (close_archive): If ah->mmap_base is not NULL, use that and
13407 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
13408 * sysdeps/generic/libc-mmap.h: New file.
13410 2013-06-24 Mike Frysinger <vapier@gentoo.org>
13412 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
13413 (ALIGN_UP): Likewise.
13414 (PTR_ALIGN_DOWN): Likewise.
13415 (PTR_ALIGN_UP): Likewise.
13417 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13419 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
13420 entry mapped to PPC_PLATFORM_POWER8.
13421 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
13423 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
13424 (_dl_string_platform): Add case for exporting platform position for
13426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
13427 search path to sysdeps/powerpc/powerpc32/power8 directory.
13428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
13429 search path to sysdeps/powerpc/powerpc64/power8 directory.
13430 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
13431 power7 directories.
13432 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
13433 power7 directories.
13435 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
13437 * INSTALL: Regenerate.
13439 * nscd/connections.c (nscd_init): Fix comment.
13441 2013-06-22 Joseph Myers <joseph@codesourcery.com>
13443 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
13446 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
13447 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
13449 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
13451 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
13453 (DL_DST_REQ_STATIC): Remove macro.
13455 2013-06-21 Joseph Myers <joseph@codesourcery.com>
13458 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
13459 with a shift of 0 bits.
13461 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
13463 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
13466 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13469 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
13471 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13473 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
13474 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
13475 accepts -fno-tree-loop-distribute-patterns.
13476 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
13477 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
13479 * string/memset.c (memset): Likewise.
13480 * string/test-memmove.c (simple_memmove): Disable loop transformation
13482 * string/test-memset.c (simple_memset): Likewise.
13483 * benchtests/bench-memmove.c (simple_memmove): Likewise.
13484 * benchtests/bench-memset.c (simple_memset): Likewise.
13485 * configure: Regenerated.
13487 2013-06-20 Joseph Myers <joseph@codesourcery.com>
13489 * math/test-misc.c (main): Ignore fesetround failure when failures
13490 of subsequent rounding tests would be ignored.
13493 * math/fedisblxcpt.c (fedisableexcept): Return 0.
13494 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
13495 * math/fegetenv.c (__fegetenv): Return 0.
13496 * math/fegetexcept.c (fegetexcept): Return 0.
13497 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
13499 * math/feholdexcpt.c (feholdexcept): Return 0.
13500 * math/fesetenv.c (__fesetenv): Return 0.
13501 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
13502 argument FE_TONEAREST.
13503 * math/feupdateenv.c (__feupdateenv): Return 0.
13504 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
13506 2013-06-18 Roland McGrath <roland@hack.frob.com>
13508 * elf/rtld-Rules (rtld-compile-command.S): New variable.
13509 (rtld-compile-command.s, rtld-compile-command.c): New variables.
13510 ($(objpfx)rtld-%.os rules): Use them.
13512 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13514 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
13517 2013-06-17 Roland McGrath <roland@hack.frob.com>
13519 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
13520 length of target pattern, then descending length of dependency pattern.
13521 * configure.in (AWK): Require gawk 3.1.2 or newer.
13522 * manual/install.texi (Tools for Compilation): Say that we do.
13523 * configure: Regenerated.
13525 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
13526 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
13527 * scripts/sysd-rules.awk: ... this new script.
13528 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
13529 than a glob-style pattern.
13531 2013-06-17 Joseph Myers <joseph@codesourcery.com>
13533 * math/test-misc.c (main): Do not treat incorrectly rounded
13534 conversions as failure unless ROUNDING_TESTS passes.
13536 2013-06-15 Joseph Myers <joseph@codesourcery.com>
13539 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
13540 restore exception state around main square root computation, then
13541 check for inexactness explicitly.
13543 * math/libm-test.inc (fma_test_data): Add another test.
13545 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13547 * manual/threads.texi (Non-POSIX Extensions): New document
13548 node. Document pthread_getattr_default_np and
13549 pthread_setattr_default_np.
13551 * Versions.def (libpthread): Add GLIBC_2.18.
13552 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
13553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
13555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
13557 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13559 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13561 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
13563 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
13565 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
13567 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
13569 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
13572 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13574 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13575 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
13577 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
13578 H.J. Lu <hjl.tools@gmail.com>
13581 * sysdeps/x86_64/rtld-memset.c: Remove file.
13582 * sysdeps/x86_64/rtld-memset.S: New file.
13584 2013-06-14 Joseph Myers <joseph@codesourcery.com>
13586 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
13587 (test_in_one_mode): Take arguments for whether the rounding mode
13588 is supported for each floating-point type.
13589 (do_test): Pass new arguments to test_in_one_mode using
13592 2013-06-13 Roland McGrath <roland@hack.frob.com>
13594 * posix/tst-waitid.c (do_test): Distinguish different instances of
13595 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
13596 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
13597 before entering the kernel for waitpid.
13599 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13601 * NEWS: Fix note on clock function precision. Text by Roland
13604 2013-06-13 Roland McGrath <roland@hack.frob.com>
13606 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
13607 it into place only when and if the sanity check passes.
13609 2013-06-13 Joseph Myers <joseph@codesourcery.com>
13611 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
13612 output for whether conversion result is exact. Take argument
13613 indicating whether type is IBM long double.
13614 (round_for_all): Change need_exact field to ibm_ld.
13615 * stdlib/tst-strtod-round.c (struct exactness): New type.
13616 (struct test): Change bool ld_ok field to struct exactness exact.
13617 (TEST): Update all definitions for change to field.
13618 (tests): Regenerate array contents.
13619 (test_in_one_mode): Take pointer to new field instead of old ld_ok
13620 field value. Check for IBM long double here.
13621 (do_test): Update calls to test_in_one_mode.
13623 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13626 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
13627 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
13629 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13632 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
13633 generated by the compiler on loop optimizations.
13634 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
13635 general definitions.
13637 2013-06-12 Joseph Myers <joseph@codesourcery.com>
13639 * math/bug-nextafter.c: Include <math-tests.h>.
13640 (main): Only test for exceptions if EXCEPTION_TESTS is true for
13642 * math/bug-nexttoward.c: Include <math-tests.h>.
13643 (main): Only test for exceptions if EXCEPTION_TESTS is true for
13645 * math/test-misc.c: Include <math-tests.h>.
13646 (main): Only test for exceptions if EXCEPTION_TESTS is true for
13649 2013-06-12 Andreas Jaeger <aj@suse.de>
13651 * po/ia.po: Update Interlingua translation from translation
13654 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
13656 * include/fenv.h: Include stdbool.h.
13657 (struct rm_ctx): New structure.
13658 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
13660 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
13661 (SET_RESTORE_ROUNDF): Likewise.
13662 (SET_RESTORE_ROUNDL): Likewise.
13663 (SET_RESTORE_ROUND_NOEX): Likewise.
13664 (SET_RESTORE_ROUND_NOEXF): Likewise.
13665 (SET_RESTORE_ROUND_NOEXL): Likewise.
13666 (SET_RESTORE_ROUND_53BIT): Likewise.
13667 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
13668 (libc_feresetround_noexf_ctx): Likewise.
13669 (libc_feresetround_noexl_ctx): Likewise.
13670 (libc_feholdsetround_53bit_ctx): Likewise.
13671 (libc_feresetround_53bit_ctx): Likewise.
13672 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
13673 (libc_feholdexcept_setround_sse_ctx): New function.
13674 (libc_fesetenv_sse_ctx): Likewise.
13675 (libc_feupdateenv_sse_ctx): Likewise.
13676 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
13677 (libc_feholdexcept_setround_387_ctx): Likewise.
13678 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
13679 (libc_feholdsetround_387_prec_ctx): Likewise.
13680 (libc_feholdsetround_387_ctx): Likewise.
13681 (libc_feholdsetround_387_53bit_ctx): Likewise.
13682 (libc_feholdsetround_sse_ctx): Likewise.
13683 (libc_feresetround_sse_ctx): Likewise.
13684 (libc_feresetround_387_ctx): Likewise.
13685 (libc_feupdateenv_387_ctx): Likewise.
13686 (libc_feholdexcept_setroundf_ctx): Define macro.
13687 (libc_fesetenvf_ctx): Likewise.
13688 (libc_feupdateenvf_ctx): Likewise.
13689 (libc_feholdsetroundf_ctx): Likewise.
13690 (libc_feresetroundf_ctx): Likewise.
13691 (libc_feholdexcept_setround_ctx): Likewise.
13692 (libc_fesetenv_ctx): Likewise.
13693 (libc_feupdateenv_ctx): Likewise.
13694 (libc_feholdsetround_ctx): Likewise.
13695 (libc_feresetround_ctx): Likewise.
13696 (libc_feholdexcept_setroundl_ctx): Likewise.
13697 (libc_feupdateenvl_ctx): Likewise.
13698 (libc_feholdsetroundl_ctx): Likewise.
13699 (libc_feresetroundl_ctx): Likewise.
13700 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
13701 (libc_feresetround_53bit_ctx): Likewise.
13703 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13705 * locale/iso-639.def: Convert to UTF-8.
13707 2013-06-11 Joseph Myers <joseph@codesourcery.com>
13709 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
13710 (EXCEPTION_TESTS_double): Likewise.
13711 (EXCEPTION_TESTS_long_double): Likewise.
13712 (EXCEPTION_TESTS): Likewise.
13713 * math/libm-test.inc (test_exceptions): Only test exceptions if
13714 EXCEPTION_TESTS (FLOAT).
13716 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13718 * benchtests/Makefile (string-bench): Add strcpy_chk and
13720 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
13721 * benchtests/bench-stpcpy_chk.c: New file.
13722 * benchtests/bench-strcpy_chk-ifunc.c: New file.
13723 * benchtests/bench-strcpy_chk.c: New file.
13724 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
13726 (do_test): Likewise.
13728 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13730 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
13731 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
13732 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
13733 with tabs where appropriate.
13734 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
13736 [PPC_PLATFORM_PPC440]: Likewise.
13737 [PPC_PLATFORM_PPC464]: Likewise.
13738 [PPC_PLATFORM_PPC476]: Likewise.
13739 (_dl_string_platform): Add support for detecting ppc405, ppc440,
13740 ppc464, and ppc476 platform strings merging from ports/
13743 2013-06-11 Andreas Schwab <schwab@suse.de>
13746 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
13747 (from_ucs4_idx): Regenerate.
13748 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
13749 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
13750 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
13751 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
13752 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
13753 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
13754 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
13755 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
13756 from FROM_LOOP and TO_LOOP specific macros.
13757 (BODY): Handle combining characters.
13758 * iconvdata/BIG5HKSCS.irreversible: Update.
13759 * iconvdata/BIG5HKSCS.precomposed: New file.
13760 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
13762 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
13764 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13766 * include/sys/time.h: Fix indentation and add copyright header.
13768 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
13769 (do_test): Likewise.
13770 * string/test-memchr.c (do_one_test): Likewise.
13771 (do_test): Likewise.
13772 * string/test-memcmp.c (do_one_test): Likewise.
13773 (do_test): Likewise.
13774 * string/test-memcpy.c (do_one_test): Likewise.
13775 (do_test): Likewise.
13776 * string/test-memmem.c (do_one_test): Likewise.
13777 (do_test): Likewise.
13778 (do_random_tests): Likewise.
13779 * string/test-memmove.c (do_one_test): Likewise.
13780 (do_test): Likewise.
13781 * string/test-memset.c (do_one_test): Likewise.
13782 (do_test): Likewise.
13783 * string/test-rawmemchr.c (do_one_test): Likewise.
13784 (do_test): Likewise.
13785 * string/test-strcasecmp.c (do_one_test): Likewise.
13786 (do_test): Likewise.
13787 * string/test-strcasestr.c (do_one_test): Likewise.
13788 (do_test): Likewise.
13789 * string/test-strcat.c (do_one_test): Likewise.
13790 (do_test): Likewise.
13791 * string/test-strchr.c (do_one_test): Likewise.
13792 (do_test): Likewise.
13793 * string/test-strcmp.c (do_one_test): Likewise.
13794 (do_test): Likewise.
13795 * string/test-strcpy.c (do_one_test): Likewise.
13796 (do_test): Likewise.
13797 * string/test-string.h: Likewise.
13798 (test_init): Likewise.
13799 * string/test-strlen.c (do_one_test): Likewise.
13800 (do_test): Likewise.
13801 * string/test-strncasecmp.c (do_one_test): Likewise.
13802 (do_test): Likewise.
13803 * string/test-strncat.c (do_one_test): Likewise.
13804 (do_test): Likewise.
13805 * string/test-strncmp.c (do_one_test): Likewise.
13806 (do_test_limit): Likewise.
13807 (do_test): Likewise.
13808 * string/test-strncpy.c (do_one_test): Likewise.
13809 (do_test): Likewise.
13810 * string/test-strnlen.c (do_one_test): Likewise.
13811 (do_test): Likewise.
13812 * string/test-strpbrk.c (do_one_test): Likewise.
13813 (do_test): Likewise.
13814 * string/test-strrchr.c (do_one_test): Likewise.
13815 (do_test): Likewise.
13816 * string/test-strspn.c (do_one_test): Likewise.
13817 (do_test): Likewise.
13818 * string/test-strstr.c (do_one_test): Likewise.
13819 (do_test): Likewise.
13821 * benchtests/Makefile (string-bench): Add string benchmarks.
13822 * benchtests/bench-bcopy-ifunc.c: New file.
13823 * benchtests/bench-bcopy.c: New file.
13824 * benchtests/bench-bzero-ifunc.c: New file.
13825 * benchtests/bench-bzero.c: New file.
13826 * benchtests/bench-memccpy-ifunc.c: New file.
13827 * benchtests/bench-memccpy.c: New file.
13828 * benchtests/bench-memchr-ifunc.c: New file.
13829 * benchtests/bench-memchr.c: New file.
13830 * benchtests/bench-memcmp-ifunc.c: New file.
13831 * benchtests/bench-memcmp.c: New file.
13832 * benchtests/bench-memmem-ifunc.c: New file.
13833 * benchtests/bench-memmem.c: New file.
13834 * benchtests/bench-memmove-ifunc.c: New file.
13835 * benchtests/bench-memmove.c: New file.
13836 * benchtests/bench-mempcpy-ifunc.c: New file.
13837 * benchtests/bench-mempcpy.c: New file.
13838 * benchtests/bench-memset-ifunc.c: New file.
13839 * benchtests/bench-memset.c: New file.
13840 * benchtests/bench-rawmemchr-ifunc.c: New file.
13841 * benchtests/bench-rawmemchr.c: New file.
13842 * benchtests/bench-stpcpy-ifunc.c: New file.
13843 * benchtests/bench-stpcpy.c: New file.
13844 * benchtests/bench-stpncpy-ifunc.c: New file.
13845 * benchtests/bench-stpncpy.c: New file.
13846 * benchtests/bench-strcasecmp-ifunc.c: New file.
13847 * benchtests/bench-strcasecmp.c: New file.
13848 * benchtests/bench-strcasestr-ifunc.c: New file.
13849 * benchtests/bench-strcasestr.c: New file.
13850 * benchtests/bench-strcat-ifunc.c: New file.
13851 * benchtests/bench-strcat.c: New file.
13852 * benchtests/bench-strchr-ifunc.c: New file.
13853 * benchtests/bench-strchr.c: New file.
13854 * benchtests/bench-strchrnul-ifunc.c: New file.
13855 * benchtests/bench-strchrnul.c: New file.
13856 * benchtests/bench-strcmp-ifunc.c: New file.
13857 * benchtests/bench-strcmp.c: New file.
13858 * benchtests/bench-strcpy-ifunc.c: New file.
13859 * benchtests/bench-strcpy.c: New file.
13860 * benchtests/bench-strcspn-ifunc.c: New file.
13861 * benchtests/bench-strcspn.c: New file.
13862 * benchtests/bench-strlen-ifunc.c: New file.
13863 * benchtests/bench-strlen.c: New file.
13864 * benchtests/bench-strncasecmp-ifunc.c: New file.
13865 * benchtests/bench-strncasecmp.c: New file.
13866 * benchtests/bench-strncat-ifunc.c: New file.
13867 * benchtests/bench-strncat.c: New file.
13868 * benchtests/bench-strncmp-ifunc.c: New file.
13869 * benchtests/bench-strncmp.c: New file.
13870 * benchtests/bench-strncpy-ifunc.c: New file.
13871 * benchtests/bench-strncpy.c: New file.
13872 * benchtests/bench-strnlen-ifunc.c: New file.
13873 * benchtests/bench-strnlen.c: New file.
13874 * benchtests/bench-strpbrk-ifunc.c: New file.
13875 * benchtests/bench-strpbrk.c: New file.
13876 * benchtests/bench-strrchr-ifunc.c: New file.
13877 * benchtests/bench-strrchr.c: New file.
13878 * benchtests/bench-strspn-ifunc.c: New file.
13879 * benchtests/bench-strspn.c: New file.
13880 * benchtests/bench-strstr-ifunc.c: New file.
13881 * benchtests/bench-strstr.c: New file.
13883 * benchtests/Makefile: Disable parallel execution of targets.
13884 (string-bench): Add memcpy.
13885 (benchset): New variable to store a list of benchmark sets.
13886 (bench-func): Renamed from bench.
13887 (bench-set): New target.
13888 (bench): Depend on bench-func and bench-set.
13889 * benchtests/README: Add section on benchmark sets.
13890 * benchtests/bench-memcpy-ifunc.c: New file.
13891 * benchtests/bench-memcpy.c: New file.
13892 * benchtests/bench-string.h: New file.
13894 2013-06-11 Andreas Schwab <schwab@suse.de>
13897 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
13898 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
13899 values in the triple.
13900 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
13901 terminator in the group key.
13903 2013-06-11 Andreas Jaeger <aj@suse.de>
13905 * po/zh_TW.po: Update Chinese (traditional) translation from
13906 translation project.
13908 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13910 * include/time.h (__clock_gettime): Add libc_hidden_proto.
13911 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
13912 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
13913 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13914 (clock_getcpuclockid): Likewise.
13915 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
13916 Add weak_alias and libc_hidden_def.
13917 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
13918 * rt/clock_gettime.c (clock_gettime): Rename to
13919 __clock_gettime. Add weak_alias and libc_hidden_def.
13920 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
13921 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
13922 __clock_nanosleep. Add weak_alias and libc_hidden_def.
13923 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
13924 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
13926 * rt/clock_settime.c (clock_settime): Rename to
13927 __clock_settime. Add weak_alias and libc_hidden_def.
13928 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
13930 2013-06-10 Joseph Myers <joseph@codesourcery.com>
13932 * mach/err_boot.sub: Remove trailing whitespace.
13933 * mach/err_ipc.sub: Likewise.
13934 * mach/err_mach.sub: Likewise.
13936 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
13937 (ROUNDING_TESTS_double): Likewise.
13938 (ROUNDING_TESTS_long_double): Likewise.
13939 (ROUNDING_TESTS): Likewise.
13940 * math/libm-test.inc: Include <math-tests.h>.
13941 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
13942 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
13943 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
13944 (IF_ROUND_INIT_FE_UPWARD): Likewise.
13946 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13948 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
13951 2013-06-08 Joseph Myers <joseph@codesourcery.com>
13953 * sysdeps/gnu/errlist.awk: Do not generate space at end of
13954 otherwise empty TRANS lines.
13955 * sysdeps/gnu/errlist.c: Regenerated.
13957 * catgets/gencat.c (error_print): Use (void) in function
13959 * crypt/crypt_util.c (__init_des): Likewise.
13960 * crypt/speeds.c (Stop): Likewise.
13962 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
13963 * inet/ruserpass.c (token): Likewise.
13964 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
13965 * intl/localealias.c (extend_alias_table): Likewise.
13966 * intl/plural-exp.c (init_germanic_plural): Likewise.
13967 * libio/fcloseall.c (__fcloseall): Likewise.
13968 * libio/genops.c (_IO_flush_all): Likewise.
13969 (_IO_flush_all_linebuffered): Likewise.
13970 (_IO_cleanup): Likewise.
13971 (_IO_iter_begin): Likewise.
13972 (_IO_iter_end): Likewise.
13973 (_IO_list_lock): Likewise.
13974 (_IO_list_unlock): Likewise.
13975 (_IO_list_resetlock): Likewise.
13976 * libio/getchar.c (getchar): Likewise.
13977 * libio/getchar_u.c (getchar_unlocked): Likewise.
13978 * libio/getwchar.c (getwchar): Likewise.
13979 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
13980 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
13981 * login/getpt.c (__getpt): Likewise.
13982 * login/tst-utmp.c (main): Likewise.
13983 * malloc/hooks.c (__malloc_check_init): Likewise.
13984 * malloc/malloc.c (__malloc_stats): Likewise.
13985 * malloc/mtrace.c (tr_break): Likewise.
13986 (mtrace): Likewise.
13987 (muntrace): Likewise.
13988 * misc/fstab.c (endfsent): Likewise.
13989 * misc/getclktck.c (__getclktck): Likewise.
13990 * misc/getdtsz.c (__getdtablesize): Likewise.
13991 * misc/gethostid.c (gethostid): Likewise.
13992 * misc/getpagesize.c (__getpagesize): Likewise.
13993 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
13994 (__get_nprocs): Likewise.
13995 (__get_phys_pages): Likewise.
13996 (__get_avphys_pages): Likewise.
13997 * misc/getttyent.c (getttyent): Likewise.
13998 (setttyent): Likewise.
13999 (endttyent): Likewise.
14000 * misc/getusershell.c (getusershell): Likewise.
14001 (endusershell): Likewise.
14002 (setusershell): Likewise.
14003 (initshells): Likewise.
14004 * misc/hsearch.c (__hdestroy): Likewise.
14005 * misc/sync.c (sync): Likewise.
14006 * misc/syslog.c (closelog_internal): Likewise.
14007 (closelog): Likewise.
14008 * misc/ttyslot.c (ttyslot): Likewise.
14009 * misc/vhangup.c (vhangup): Likewise.
14010 * posix/fork.c (__fork): Likewise.
14011 * posix/getegid.c (__getegid): Likewise.
14012 * posix/geteuid.c (__geteuid): Likewise.
14013 * posix/getgid.c (__getgid): Likewise.
14014 * posix/getpid.c (__getpid): Likewise.
14015 * posix/getppid.c (__getppid): Likewise.
14016 * posix/getuid.c (__getuid): Likewise.
14017 * posix/pause.c (pause): Likewise.
14018 * posix/setpgrp.c (setpgrp): Likewise.
14019 * posix/setsid.c (__setsid): Likewise.
14020 * posix/test-vfork.c (noop): Likewise.
14021 * resolv/gethnamaddr.c (_endhtent): Likewise.
14022 (_gethtent): Likewise.
14023 (ht_endhostent): Likewise.
14024 (gethostent): Likewise.
14025 (dns_service): Likewise.
14026 * stdlib/drand48.c (drand48): Likewise.
14027 * stdlib/lrand48.c (lrand48): Likewise.
14028 * stdlib/mrand48.c (mrand48): Likewise.
14029 * stdlib/rand.c (rand): Likewise.
14030 * stdlib/random.c (__random): Likewise.
14031 * stdlib/setenv.c (clearenv): Likewise.
14032 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
14033 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
14034 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
14035 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
14036 (__get_nprocs): Likewise.
14037 (__get_phys_pages): Likewise.
14038 (__get_avphys_pages): Likewise.
14039 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
14040 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
14041 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
14042 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
14043 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
14044 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
14045 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
14046 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
14047 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
14048 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
14049 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
14050 * sysdeps/mach/hurd/sync.c (sync): Likewise.
14051 * sysdeps/posix/clock.c (clock): Likewise.
14052 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
14053 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
14054 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
14055 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
14056 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
14057 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
14058 (__get_nprocs_conf): Likewise.
14059 (__get_phys_pages): Likewise.
14060 (__get_avphys_pages): Likewise.
14061 * time/clock.c (clock): Likewise.
14062 * time/tzset.c (__tzname_max): Likewise.
14064 2013-06-07 Joseph Myers <joseph@codesourcery.com>
14066 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
14067 (__bswap_32): Do not use "register".
14068 * crypt/crypt.c (_ufc_doit_r): Likewise.
14069 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
14070 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
14071 * gmon/gmon.c (__monstartup): Likewise.
14072 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
14073 * hurd/hurdmalloc.c (more_memory): Likewise.
14074 (malloc): Likewise.
14076 (realloc): Likewise.
14077 (malloc_fork_prepare): Likewise.
14078 (malloc_fork_parent): Likewise.
14079 (malloc_fork_child): Likewise.
14080 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
14081 (_svcauth_des): Likewise.
14082 * inet/inet_lnaof.c (inet_lnaof): Likewise.
14083 * inet/inet_net.c (inet_network): Likewise.
14084 * inet/inet_netof.c (inet_netof): Likewise.
14085 * inet/rcmd.c (__validuser2_sa): Likewise.
14086 * io/fts.c (fts_open): Likewise.
14087 (fts_load): Likewise.
14088 (fts_close): Likewise.
14089 (fts_read): Likewise.
14090 (fts_children): Likewise.
14091 (fts_build): Likewise.
14092 (fts_stat): Likewise.
14093 (fts_sort): Likewise.
14094 (fts_alloc): Likewise.
14095 (fts_lfree): Likewise.
14096 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
14097 (_IO_file_xsgetn): Likewise.
14098 (_IO_file_xsgetn_mmap): Likewise.
14099 * libio/iofopncook.c (_IO_cookie_read): Likewise.
14100 (_IO_cookie_write): Likewise.
14101 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
14102 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
14103 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
14104 * malloc/obstack.c (_obstack_begin): Likewise.
14105 (_obstack_begin_1): Likewise.
14106 (_obstack_newchunk): Likewise.
14107 (_obstack_allocated_p): Likewise.
14108 (obstack_free): Likewise.
14109 (_obstack_memory_used): Likewise.
14110 * misc/getttyent.c (getttynam): Likewise.
14111 (getttyent): Likewise.
14114 * misc/getusershell.c (initshells): Likewise.
14115 * misc/syslog.c (__vsyslog_chk): Likewise.
14116 * misc/ttyslot.c (ttyslot): Likewise.
14117 * nis/nis_hash.c (__nis_hash): Likewise.
14118 * posix/fnmatch_loop.c (FCT): Likewise.
14119 * posix/getconf.c (print_all): Likewise.
14121 * posix/getopt.c (exchange): Likewise.
14122 * posix/glob.c (globfree): Likewise.
14123 (prefix_array): Likewise.
14124 (__glob_pattern_type): Likewise.
14125 * resolv/arpa/nameser.h (NS_GET16): Likewise.
14126 (NS_GET32): Likewise.
14127 (NS_PUT16): Likewise.
14128 (NS_PUT32): Likewise.
14129 * resolv/gethnamaddr.c (getanswer): Likewise.
14130 (gethostbyname2): Likewise.
14131 (gethostbyaddr): Likewise.
14132 (_gethtent): Likewise.
14133 (_gethtbyname2): Likewise.
14134 (_gethtbyaddr): Likewise.
14135 * resolv/ns_print.c (dst_s_get_int16): Likewise.
14136 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
14137 * resolv/res_init.c (__res_vinit): Likewise.
14138 (net_mask): Likewise.
14139 * resolv/res_mkquery.c (outchar): Likewise.
14141 * stdio-common/printf_fp.c (outchar): Likewise.
14143 * stdio-common/printf_fphex.c (outchar): Likewise.
14145 * stdio-common/printf_size.c (outchar): Likewise.
14147 * stdio-common/test_rdwr.c (main): Likewise.
14148 * stdio-common/tfformat.c (matches): Likewise.
14149 * stdio-common/vfprintf.c (outchar): Likewise.
14150 (printf_unknown): Likewise.
14151 (buffered_vfprintf): Likewise.
14152 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
14153 * stdio-common/xbug.c (AppendToBuffer): Likewise.
14154 (ReadFile): Likewise.
14155 * stdlib/qsort.c (SWAP): Likewise.
14156 (_quicksort): Likewise.
14157 * stdlib/setenv.c (__add_to_environ): Likewise.
14158 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
14159 * stdlib/strtol_l.c (__strtol_l): Likewise.
14160 * stdlib/tst-strtod.c (main): Likewise.
14161 * stdlib/tst-strtol.c (main): Likewise.
14162 * stdlib/tst-strtoll.c (main): Likewise.
14163 * string/bits/string2.h (__strcmp_cc): Likewise.
14164 (__strcmp_cg): Likewise.
14165 (__strcspn_c1): Likewise.
14166 (__strcspn_c2): Likewise.
14167 (__strcspn_c3): Likewise.
14168 (__strspn_c1): Likewise.
14169 (__strspn_c2): Likewise.
14170 (__strspn_c3): Likewise.
14171 (__strsep_1c): Likewise.
14172 (__strsep_2c): Likewise.
14173 (__strsep_3c): Likewise.
14174 * string/memccpy.c (__memccpy): Likewise.
14175 * string/stpcpy.c (__stpcpy): Likewise.
14176 * string/strcmp.c (strcmp): Likewise.
14177 * string/strrchr.c (strrchr): Likewise.
14178 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
14180 * sysdeps/mach/hurd/getcwd.c
14181 (_hurd_canonicalize_directory_name_internal): Likewise.
14182 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
14183 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
14184 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
14185 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
14186 Likewise, in both definitions.
14187 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
14189 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
14190 64] (__bswap_64): Likewise.
14191 * time/test_time.c (main): Likewise.
14192 * time/tzfile.c (__tzfile_read): Likewise.
14193 (__tzfile_compute): Likewise.
14194 * time/tzset.c (__tzset_parse_tz): Likewise.
14195 (tzset_internal): Likewise.
14196 (compute_change): Likewise.
14197 * wcsmbs/wcscat.c (__wcscat): Likewise.
14198 * wcsmbs/wcschr.c (wcschr): Likewise.
14199 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
14200 * wcsmbs/wcscspn.c (wcscspn): Likewise.
14201 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
14202 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
14203 * wcsmbs/wcsspn.c (wcsspn): Likewise.
14204 * wcsmbs/wcsstr.c (wcsstr): Likewise.
14205 * wcsmbs/wmemchr.c (wmemchr): Likewise.
14206 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
14207 * wcsmbs/wmemset.c (wmemset): Likewise.
14209 2013-06-06 Joseph Myers <joseph@codesourcery.com>
14211 * scripts/config.guess: Update to version 2013-05-16.
14212 * scripts/config.sub: Update to version 2013-04-24.
14213 * scripts/install-sh: Update to version 2011-11-20.07.
14214 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
14215 * scripts/move-if-change: Update to version 2012-01-06 07:23.
14217 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
14219 * debug/fgetws_u_chk.c: Fix leading whitespaces.
14220 * elf/sln.c: Likewise.
14221 * hurd/hurd/ioctl.h: Likewise.
14222 * hurd/hurdmalloc.c: Likewise.
14223 * hurd/xattr.c: Likewise.
14224 * include/shlib-compat.h: Likewise.
14225 * inet/ruserpass.c: Likewise.
14226 * libio/iofgets_u.c: Likewise.
14227 * libio/iofgetws_u.c: Likewise.
14228 * locale/programs/ld-identification.c: Likewise.
14229 * locale/programs/ld-time.c: Likewise.
14230 * mach/msg-destroy.c: Likewise.
14231 * nss/nss_files/files-netgrp.c: Likewise.
14232 * resolv/res_data.c: Likewise.
14233 * soft-fp/op-1.h: Likewise.
14234 * soft-fp/op-2.h: Likewise.
14235 * soft-fp/op-4.h: Likewise.
14236 * soft-fp/op-common.h: Likewise.
14237 * stdio-common/printf_fphex.c: Likewise.
14238 * stdlib/strtod_l.c: Likewise.
14239 * sunrpc/rpc/clnt.h: Likewise.
14240 * sysdeps/generic/framestate.c: Likewise.
14241 * sysdeps/i386/bsd-_setjmp.S: Likewise.
14242 * sysdeps/i386/bsd-setjmp.S: Likewise.
14243 * sysdeps/i386/__longjmp.S: Likewise.
14244 * sysdeps/i386/setjmp.S: Likewise.
14245 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14246 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
14247 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14248 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14249 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14250 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
14251 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
14252 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
14253 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
14254 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
14255 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
14256 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
14257 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
14258 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
14259 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
14260 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
14261 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
14262 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
14263 * sysdeps/ieee754/support.c: Likewise.
14264 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14265 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
14266 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
14267 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
14268 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
14269 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
14270 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
14271 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
14272 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
14273 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
14274 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
14275 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
14276 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
14277 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
14278 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
14279 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
14280 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
14281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
14283 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
14285 * posix/transbug.c: Remove executable mode.
14287 2013-06-05 Joseph Myers <joseph@codesourcery.com>
14289 * crypt/speeds.c: Remove trailing whitespace.
14290 * dlfcn/default.c: Likewise.
14291 * elf/ifuncdep2.c: Likewise.
14292 * elf/ifuncmain1.c: Likewise.
14293 * elf/ifuncmain1vis.c: Likewise.
14294 * elf/testobj.h: Likewise.
14295 * elf/tst-stackguard1.c: Likewise.
14296 * gmon/sys/gmon.h: Likewise.
14297 * hurd/hurdmsg.c: Likewise.
14298 * hurd/new-fd.c: Likewise.
14299 * hurd/ports-get.c: Likewise.
14300 * iconvdata/ibm1008_420.c: Likewise.
14301 * inet/tst-getni1.c: Likewise.
14302 * inet/tst-getni2.c: Likewise.
14303 * libio/ioungetc.c: Likewise.
14304 * libio/wfiledoalloc.c: Likewise.
14305 * manual/libm-err-tab.pl: Likewise.
14306 * math/w_dremf.c: Likewise.
14307 * misc/ftruncate.c: Likewise.
14308 * posix/bug-glob2.c: Likewise.
14309 * posix/tst-pcre.c: Likewise.
14310 * posix/wait4.c: Likewise.
14311 * resolv/README: Likewise.
14312 * resolv/res_debug.h: Likewise.
14313 * resolv/tst-inet_ntop.c: Likewise.
14314 * setjmp/bug269-setjmp.c: Likewise.
14315 * soft-fp/extended.h: Likewise.
14316 * soft-fp/op-1.h: Likewise.
14317 * soft-fp/op-2.h: Likewise.
14318 * soft-fp/op-4.h: Likewise.
14319 * soft-fp/op-8.h: Likewise.
14320 * soft-fp/testit.c: Likewise.
14321 * stdio-common/bug16.c: Likewise.
14322 * stdlib/random.c: Likewise.
14323 * sunrpc/rpcsvc/rquota.x: Likewise.
14324 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
14325 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
14326 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14327 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14328 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14329 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14330 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
14331 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14332 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
14333 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
14334 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
14335 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
14336 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14337 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
14338 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14339 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
14340 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
14341 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
14342 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
14343 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14344 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
14345 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
14346 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
14347 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
14348 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
14349 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
14350 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14351 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
14352 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
14353 * sysdeps/ieee754/s_lib_version.c: Likewise.
14354 * sysdeps/mach/hurd/check_fds.c: Likewise.
14355 * sysdeps/mach/hurd/getsockname.c: Likewise.
14356 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
14357 * sysdeps/mach/hurd/recvfrom.c: Likewise.
14358 * sysdeps/powerpc/bits/link.h: Likewise.
14359 * sysdeps/powerpc/dl-procinfo.c: Likewise.
14360 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
14361 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
14362 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
14363 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
14364 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
14365 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
14366 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
14367 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
14368 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
14369 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
14370 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
14371 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
14372 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
14373 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
14374 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
14375 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
14376 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
14377 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
14378 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14379 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14380 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
14381 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14382 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
14383 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
14384 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
14385 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
14386 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14387 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14388 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
14389 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
14390 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
14391 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14392 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
14393 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
14394 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
14395 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
14396 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
14397 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
14398 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
14399 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
14400 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
14401 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
14402 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
14403 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
14404 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
14405 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
14406 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
14407 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
14408 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
14409 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
14410 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
14411 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14412 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14413 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
14414 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
14415 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
14416 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14417 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
14418 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
14419 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
14420 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
14421 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
14422 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14423 * sysdeps/powerpc/sysdep.h: Likewise.
14424 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
14425 * sysdeps/s390/s390-64/sub_n.S: Likewise.
14426 * sysdeps/sh/dl-trampoline.S: Likewise.
14427 * sysdeps/sh/memset.S: Likewise.
14428 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
14429 * sysdeps/sh/strlen.S: Likewise.
14430 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
14431 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
14432 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
14433 * sysdeps/sparc/sparc32/rem.S: Likewise.
14434 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
14435 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
14436 * sysdeps/sparc/sparc32/strchr.S: Likewise.
14437 * sysdeps/sparc/sparc32/udiv.S: Likewise.
14438 * sysdeps/sparc/sparc32/urem.S: Likewise.
14439 * sysdeps/sparc/sparc64/add_n.S: Likewise.
14440 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
14441 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
14442 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
14443 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
14444 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
14445 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
14446 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
14447 * sysdeps/unix/bsd/times.c: Likewise.
14448 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
14449 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
14450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
14451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
14452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
14453 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
14454 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
14455 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
14456 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
14457 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
14458 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
14459 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
14460 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
14461 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
14462 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
14463 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
14464 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
14465 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
14466 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
14467 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
14468 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
14469 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
14470 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
14471 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
14472 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
14473 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
14474 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
14475 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14476 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
14477 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
14478 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
14479 * sysdeps/x86_64/strcspn.S: Likewise.
14481 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14483 * locale/C-translit.h: Revert #include <stdint.h> because this is a
14484 generated file. Regenerate properly from gen-translit.pl.
14485 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
14486 locale/C-translit.h.
14488 2013-06-05 Andreas Schwab <schwab@suse.de>
14491 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
14492 week as 6 instead of -1.
14493 * time/tst-strptime.c (day_tests): Add test case.
14495 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14497 * sysdeps/generic/math_private.h
14498 (libc_feholdexcept_setround_53bit): Replace with
14499 libc_feholdsetround_53bit.
14500 (libc_feupdateenv_53bit): Replace with
14501 libc_feresetround_53bit.
14502 (SET_RESTORE_ROUND_53BIT): Adjust.
14504 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
14506 * string/test-strchrnul.c: Add copyright header.
14508 * posix/tst-getaddrinfo4.c: Increase test timeout.
14510 2013-06-03 Carlos O'Donell <carlos@redhat.com>
14513 * math/libm-test.inc (MAX_EXP): Remove
14515 (ulp): Use MIN_EXP - MANT_DIG.
14516 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
14518 2013-05-31 Carlos O'Donell <carlos@redhat.com>
14520 * po/be.po: Revert last change.
14521 * po/zh_CN.po: Likewise.
14522 * po/header.pot: Likewise.
14524 2013-05-31 Joseph Myers <joseph@codesourcery.com>
14526 * Makefile ($(common-objpfx)linkobj/libc.so): Define
14527 link-libc-deps to empty as target-specific variable.
14528 * Makerules (link-libc-args): New variable.
14529 (libc-for-link): Likewise.
14530 (link-libc-deps): Likewise.
14531 (lib%.so): Depend on $(link-libc-deps). Link with
14533 (build-module): Link with $(link-libc-args).
14534 (build-module-asneeded): Likewise.
14535 (build-module-helper-objlist): Filter out $(link-libc-deps) from
14537 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
14538 target-specific variable.
14539 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
14540 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
14541 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
14543 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
14545 ($(objpfx)libpcprofile.so): Likewise.
14546 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
14548 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
14549 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
14550 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
14552 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
14553 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
14554 * login/Makefile ($(objpfx)libutil.so): Likewise.
14555 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
14556 * math/Makefile ($(objpfx)libm.so): Likewise.
14557 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
14558 $(objpfx)libnsl.so): Define libc-for-link as target-specific
14559 variable instead of depending directly on libc.
14560 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
14561 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
14563 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
14565 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
14566 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
14567 ($(objpfx)libanl.so): Likewise.
14568 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
14570 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
14572 * sysdeps/i386/fpu/Makefile: Remove file.
14573 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
14574 ($(objpfx)libm.so): Remove dependency on ld.so.
14576 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
14579 * nis/yp_xdr.c (XDRMAXNAME): Define.
14580 (XDRMAXRECORD): Define.
14581 (xdr_domainname): Use XDRMAXNAME.
14582 (xdr_mapname): Likewise.
14583 (xdr_peername): Likewise.
14584 (xdr_keydat): Use XDRMAXRECORD.
14585 (xdr_valdat): Likewise.
14587 2013-05-30 Jeff Law <law@redhat.com>
14590 * manual/errno.texi (ESTALE): Update to account for more than
14591 just NFS file systems.
14592 * sysdeps/gnu/errlist.c: Regenerated.
14594 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14597 * elf/Makefile (tests): Add tst-null-argv.
14598 (modules-names): Add tst-null-argv-lib.
14599 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
14600 (tst-null-argv-ENV): Set environment for tst-null-argv.
14601 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
14602 (RTLD_PROGNAME): New macro.
14603 * elf/tst-null-argv.c: New test case.
14604 * elf/tst-null-argv-lib.c: Library for test case.
14605 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
14606 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
14607 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
14608 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
14609 * elf/dl-init.c (call_init): Likewise.
14610 (_dl_init): Likewise.
14611 * elf/dl-load.c (print_search_path): Likewise.
14612 (_dl_map_object): Likewise.
14613 * elf/dl-lookup.c (do_lookup_x): Likewise.
14614 (add_dependency): Likewise.
14615 (_dl_lookup_symbol_x): Likewise.
14616 (_dl_debug_bindings): Likewise.
14617 * elf/dl-open.c (_dl_show_scope): Likewise.
14618 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
14619 * elf/dl-version.c (match_symbol): Likewise.
14620 (_dl_check_map_versions): Likewise.
14621 * elf/rtld.c (dl_main): Likewise.
14622 (print_unresolved): Use RTLD_PROGNAME.
14623 (print_missing_version): Likewise.
14624 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
14625 (elf_machine_rela): Likewise.
14626 * sysdeps/powerpc/powerpc32/dl-machine.c
14627 (__process_machine_rela): Likewise.
14628 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14630 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
14632 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
14634 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14635 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
14637 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
14639 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14641 2013-05-28 Carlos O'Donell <carlos@redhat.com>
14643 * po/be.po: Add descriptive title.
14644 * po/zh_CN.po: Likewise.
14645 * po/header.pot: Likewise.
14647 2013-05-28 Mike Frysinger <vapier@gentoo.org>
14649 * locale/programs/locarchive.c (create_archive): Inlucde fname in
14651 (enlarge_archive): Likewise.
14653 2013-05-28 Ben North <ben@redfrontdoor.org>
14655 * manual/arith.texi (frexp): It is the magnitude of the return
14656 value which lies in [0.5, 1), not the return value itself.
14658 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14660 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14662 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
14664 * stdio-common/bug26.c (main): Correct fscanf template.
14666 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
14667 declare _dl_skip_args.
14669 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
14672 * manual/platform.texi: Add missing @end deftypefun.
14674 2013-05-24 Joseph Myers <joseph@codesourcery.com>
14677 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
14678 bit of mantissa of 2^16382.
14679 * math/libm-test.inc (hypot_test_data): Add more tests.
14681 * math/libm-test.inc: Add drem and pow10 to list of tested
14683 (pow10_test): New function.
14684 (drem_test): Likewise.
14685 (drem_test_tonearest): Likewise.
14686 (drem_test_towardzero): Likewise.
14687 (drem_test_downward): Likewise.
14688 (drem_test_upward): Likewise.
14689 (main): Call the new functions.
14691 * math/libm-test.inc (finite_test_data): Remove.
14692 (finite_test): Run tests from isfinite_test_data.
14693 (gamma_test_data): Remove.
14694 (gamma_test): Run tests from lgamma_test_data.
14695 * sysdeps/i386/fpu/libm-test-ulps: Update.
14696 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14698 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14700 * manual/platform.texi: Add PowerPC PPR function set documentation.
14701 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
14704 2013-05-24 Carlos O'Donell <carlos@redhat.com>
14706 * math/libm-test.inc (MAX_EXP): Define.
14708 (ulp): New function.
14709 (check_float_internal): Use ULPDIFF.
14710 (cpow_test): Disable failing test.
14711 (check_ulp): Test ulp() implemetnation.
14712 (main): Call check_ulp before starting tests.
14714 2013-05-24 Joseph Myers <joseph@codesourcery.com>
14716 * math/gen-libm-test.pl (generate_testfile): Do not handle
14717 START_DATA and END_DATA.
14718 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
14720 (acos_tonearest_test_data): Likewise.
14721 (acos_towardzero_test_data): Likewise.
14722 (acos_downward_test_data): Likewise.
14723 (acos_upward_test_data): Likewise.
14724 (acosh_test_data): Likewise.
14725 (asin_test_data): Likewise.
14726 (asin_tonearest_test_data): Likewise.
14727 (asin_towardzero_test_data): Likewise.
14728 (asin_downward_test_data): Likewise.
14729 (asin_upward_test_data): Likewise.
14730 (asinh_test_data): Likewise.
14731 (atan_test_data): Likewise.
14732 (atanh_test_data): Likewise.
14733 (atan2_test_data): Likewise.
14734 (cabs_test_data): Likewise.
14735 (cacos_test_data): Likewise.
14736 (cacosh_test_data): Likewise.
14737 (carg_test_data): Likewise.
14738 (casin_test_data): Likewise.
14739 (casinh_test_data): Likewise.
14740 (catan_test_data): Likewise.
14741 (catanh_test_data): Likewise.
14742 (cbrt_test_data): Likewise.
14743 (ccos_test_data): Likewise.
14744 (ccosh_test_data): Likewise.
14745 (ceil_test_data): Likewise.
14746 (cexp_test_data): Likewise.
14747 (cimag_test_data): Likewise.
14748 (clog_test_data): Likewise.
14749 (clog10_test_data): Likewise.
14750 (conj_test_data): Likewise.
14751 (copysign_test_data): Likewise.
14752 (cos_test_data): Likewise.
14753 (cos_tonearest_test_data): Likewise.
14754 (cos_towardzero_test_data): Likewise.
14755 (cos_downward_test_data): Likewise.
14756 (cos_upward_test_data): Likewise.
14757 (cosh_test_data): Likewise.
14758 (cosh_tonearest_test_data): Likewise.
14759 (cosh_towardzero_test_data): Likewise.
14760 (cosh_downward_test_data): Likewise.
14761 (cosh_upward_test_data): Likewise.
14762 (cpow_test_data): Likewise.
14763 (cproj_test_data): Likewise.
14764 (creal_test_data): Likewise.
14765 (csin_test_data): Likewise.
14766 (csinh_test_data): Likewise.
14767 (csqrt_test_data): Likewise.
14768 (ctan_test_data): Likewise.
14769 (ctan_tonearest_test_data): Likewise.
14770 (ctan_towardzero_test_data): Likewise.
14771 (ctan_downward_test_data): Likewise.
14772 (ctan_upward_test_data): Likewise.
14773 (ctanh_test_data): Likewise.
14774 (ctanh_tonearest_test_data): Likewise.
14775 (ctanh_towardzero_test_data): Likewise.
14776 (ctanh_downward_test_data): Likewise.
14777 (ctanh_upward_test_data): Likewise.
14778 (erf_test_data): Likewise.
14779 (erfc_test_data): Likewise.
14780 (exp_test_data): Likewise.
14781 (exp_tonearest_test_data): Likewise.
14782 (exp_towardzero_test_data): Likewise.
14783 (exp_downward_test_data): Likewise.
14784 (exp_upward_test_data): Likewise.
14785 (exp10_test_data): Likewise.
14786 (exp2_test_data): Likewise.
14787 (expm1_test_data): Likewise.
14788 (fabs_test_data): Likewise.
14789 (fdim_test_data): Likewise.
14790 (finite_test_data): Likewise.
14791 (floor_test_data): Likewise.
14792 (fma_test_data): Likewise.
14793 (fma_towardzero_test_data): Likewise.
14794 (fma_downward_test_data): Likewise.
14795 (fma_upward_test_data): Likewise.
14796 (fmax_test_data): Likewise.
14797 (fmin_test_data): Likewise.
14798 (fmod_test_data): Likewise.
14799 (fpclassify_test_data): Likewise.
14800 (frexp_test_data): Likewise.
14801 (gamma_test_data): Likewise.
14802 (hypot_test_data): Likewise.
14803 (ilogb_test_data): Likewise.
14804 (isfinite_test_data): Likewise.
14805 (isgreater_test_data): Likewise.
14806 (isgreaterequal_test_data): Likewise.
14807 (isinf_test_data): Likewise.
14808 (isless_test_data): Likewise.
14809 (islessequal_test_data): Likewise.
14810 (islessgreater_test_data): Likewise.
14811 (isnan_test_data): Likewise.
14812 (isnormal_test_data): Likewise.
14813 (issignaling_test_data): Likewise.
14814 (isunordered_test_data): Likewise.
14815 (j0_test_data): Likewise.
14816 (j1_test_data): Likewise.
14817 (jn_test_data): Likewise.
14818 (ldexp_test_data): Likewise.
14819 (lgamma_test_data): Likewise.
14820 (lrint_test_data): Likewise.
14821 (lrint_tonearest_test_data): Likewise.
14822 (lrint_towardzero_test_data): Likewise.
14823 (lrint_downward_test_data): Likewise.
14824 (lrint_upward_test_data): Likewise.
14825 (llrint_test_data): Likewise.
14826 (llrint_tonearest_test_data): Likewise.
14827 (llrint_towardzero_test_data): Likewise.
14828 (llrint_downward_test_data): Likewise.
14829 (llrint_upward_test_data): Likewise.
14830 (log_test_data): Likewise.
14831 (log10_test_data): Likewise.
14832 (log1p_test_data): Likewise.
14833 (log2_test_data): Likewise.
14834 (logb_test_data): Likewise.
14835 (logb_downward_test_data): Likewise.
14836 (lround_test_data): Likewise.
14837 (llround_test_data): Likewise.
14838 (modf_test_data): Likewise.
14839 (nearbyint_test_data): Likewise.
14840 (nextafter_test_data): Likewise.
14841 (nexttoward_test_data): Likewise.
14842 (pow_test_data): Likewise.
14843 (pow_tonearest_test_data): Likewise.
14844 (pow_towardzero_test_data): Likewise.
14845 (pow_downward_test_data): Likewise.
14846 (pow_upward_test_data): Likewise.
14847 (remainder_test_data): Likewise.
14848 (remainder_tonearest_test_data): Likewise.
14849 (remainder_towardzero_test_data): Likewise.
14850 (remainder_downward_test_data): Likewise.
14851 (remainder_upward_test_data): Likewise.
14852 (remquo_test_data): Likewise.
14853 (rint_test_data): Likewise.
14854 (rint_tonearest_test_data): Likewise.
14855 (rint_towardzero_test_data): Likewise.
14856 (rint_downward_test_data): Likewise.
14857 (rint_upward_test_data): Likewise.
14858 (round_test_data): Likewise.
14859 (scalb_test_data): Likewise.
14860 (scalbn_test_data): Likewise.
14861 (scalbln_test_data): Likewise.
14862 (signbit_test_data): Likewise.
14863 (sin_test_data): Likewise.
14864 (sin_tonearest_test_data): Likewise.
14865 (sin_towardzero_test_data): Likewise.
14866 (sin_downward_test_data): Likewise.
14867 (sin_upward_test_data): Likewise.
14868 (sincos_test_data): Likewise.
14869 (sinh_test_data): Likewise.
14870 (sinh_tonearest_test_data): Likewise.
14871 (sinh_towardzero_test_data): Likewise.
14872 (sinh_downward_test_data): Likewise.
14873 (sinh_upward_test_data): Likewise.
14874 (sqrt_test_data): Likewise.
14875 (tan_test_data): Likewise.
14876 (tan_tonearest_test_data): Likewise.
14877 (tan_towardzero_test_data): Likewise.
14878 (tan_downward_test_data): Likewise.
14879 (tan_upward_test_data): Likewise.
14880 (tanh_test_data): Likewise.
14881 (tgamma_test_data): Likewise.
14882 (trunc_test_data): Likewise.
14883 (y0_test_data): Likewise.
14884 (y1_test_data): Likewise.
14885 (yn_test_data): Likewise.
14886 (significand_test_data): Likewise.
14888 * math/gen-libm-test.pl (@functions): Remove variable.
14889 (generate_testfile): Don't handle START and END lines.
14890 * math/libm-test.inc (START): New macro.
14892 (END_COMPLEX): Likewise.
14893 (acos_test): Use END macro without arguments.
14894 (acos_test_tonearest): Likewise.
14895 (acos_test_towardzero): Likewise.
14896 (acos_test_downward): Likewise.
14897 (acos_test_upward): Likewise.
14898 (acosh_test): Likewise.
14899 (asin_test): Likewise.
14900 (asin_test_tonearest): Likewise.
14901 (asin_test_towardzero): Likewise.
14902 (asin_test_downward): Likewise.
14903 (asin_test_upward): Likewise.
14904 (asinh_test): Likewise.
14905 (atan_test): Likewise.
14906 (atanh_test): Likewise.
14907 (atan2_test): Likewise.
14908 (cabs_test): Likewise.
14909 (cacos_test): Use END_COMPLEX macro without arguments.
14910 (cacosh_test): Likewise.
14911 (carg_test): Use END macro without arguments.
14912 (casin_test): Use END_COMPLEX macro without arguments.
14913 (casinh_test): Likewise.
14914 (catan_test): Likewise.
14915 (catanh_test): Likewise.
14916 (cbrt_test): Use END macro without arguments.
14917 (ccos_test): Use END_COMPLEX macro without arguments.
14918 (ccosh_test): Likewise.
14919 (ceil_test): Use END macro without arguments.
14920 (cexp_test): Use END_COMPLEX macro without arguments.
14921 (cimag_test): Use END macro without arguments.
14922 (clog_test): Use END_COMPLEX macro without arguments.
14923 (clog10_test): Likewise.
14924 (conj_test): Likewise.
14925 (copysign_test): Use END macro without arguments.
14926 (cos_test): Likewise.
14927 (cos_test_tonearest): Likewise.
14928 (cos_test_towardzero): Likewise.
14929 (cos_test_downward): Likewise.
14930 (cos_test_upward): Likewise.
14931 (cosh_test): Likewise.
14932 (cosh_test_tonearest): Likewise.
14933 (cosh_test_towardzero): Likewise.
14934 (cosh_test_downward): Likewise.
14935 (cosh_test_upward): Likewise.
14936 (cpow_test): Use END_COMPLEX macro without arguments.
14937 (cproj_test): Likewise.
14938 (creal_test): Use END macro without arguments.
14939 (csin_test): Use END_COMPLEX macro without arguments.
14940 (csinh_test): Likewise.
14941 (csqrt_test): Likewise.
14942 (ctan_test): Likewise.
14943 (ctan_test_tonearest): Likewise.
14944 (ctan_test_towardzero): Likewise.
14945 (ctan_test_downward): Likewise.
14946 (ctan_test_upward): Likewise.
14947 (ctanh_test): Likewise.
14948 (ctanh_test_tonearest): Likewise.
14949 (ctanh_test_towardzero): Likewise.
14950 (ctanh_test_downward): Likewise.
14951 (ctanh_test_upward): Likewise.
14952 (erf_test): Use END macro without arguments.
14953 (erfc_test): Likewise.
14954 (exp_test): Likewise.
14955 (exp_test_tonearest): Likewise.
14956 (exp_test_towardzero): Likewise.
14957 (exp_test_downward): Likewise.
14958 (exp_test_upward): Likewise.
14959 (exp10_test): Likewise.
14960 (exp2_test): Likewise.
14961 (expm1_test): Likewise.
14962 (fabs_test): Likewise.
14963 (fdim_test): Likewise.
14964 (finite_test): Likewise.
14965 (floor_test): Likewise.
14966 (fma_test): Likewise.
14967 (fma_test_towardzero): Likewise.
14968 (fma_test_downward): Likewise.
14969 (fma_test_upward): Likewise.
14970 (fmax_test): Likewise.
14971 (fmin_test): Likewise.
14972 (fmod_test): Likewise.
14973 (fpclassify_test): Likewise.
14974 (frexp_test): Likewise.
14975 (gamma_test): Likewise.
14976 (hypot_test): Likewise.
14977 (ilogb_test): Likewise.
14978 (isfinite_test): Likewise.
14979 (isgreater_test): Likewise.
14980 (isgreaterequal_test): Likewise.
14981 (isinf_test): Likewise.
14982 (isless_test): Likewise.
14983 (islessequal_test): Likewise.
14984 (islessgreater_test): Likewise.
14985 (isnan_test): Likewise.
14986 (isnormal_test): Likewise.
14987 (issignaling_test): Likewise.
14988 (isunordered_test): Likewise.
14989 (j0_test): Likewise.
14990 (j1_test): Likewise.
14991 (jn_test): Likewise.
14992 (ldexp_test): Likewise.
14993 (lgamma_test): Likewise.
14994 (lrint_test): Likewise.
14995 (lrint_test_tonearest): Likewise.
14996 (lrint_test_towardzero): Likewise.
14997 (lrint_test_downward): Likewise.
14998 (lrint_test_upward): Likewise.
14999 (llrint_test): Likewise.
15000 (llrint_test_tonearest): Likewise.
15001 (llrint_test_towardzero): Likewise.
15002 (llrint_test_downward): Likewise.
15003 (llrint_test_upward): Likewise.
15004 (log_test): Likewise.
15005 (log10_test): Likewise.
15006 (log1p_test): Likewise.
15007 (log2_test): Likewise.
15008 (logb_test): Likewise.
15009 (logb_test_downward): Likewise.
15010 (lround_test): Likewise.
15011 (llround_test): Likewise.
15012 (modf_test): Likewise.
15013 (nearbyint_test): Likewise.
15014 (nextafter_test): Likewise.
15015 (nexttoward_test): Likewise.
15016 (pow_test): Likewise.
15017 (pow_test_tonearest): Likewise.
15018 (pow_test_towardzero): Likewise.
15019 (pow_test_downward): Likewise.
15020 (pow_test_upward): Likewise.
15021 (remainder_test): Likewise.
15022 (remainder_test_tonearest): Likewise.
15023 (remainder_test_towardzero): Likewise.
15024 (remainder_test_downward): Likewise.
15025 (remainder_test_upward): Likewise.
15026 (remquo_test): Likewise.
15027 (rint_test): Likewise.
15028 (rint_test_tonearest): Likewise.
15029 (rint_test_towardzero): Likewise.
15030 (rint_test_downward): Likewise.
15031 (rint_test_upward): Likewise.
15032 (round_test): Likewise.
15033 (scalb_test): Likewise.
15034 (scalbn_test): Likewise.
15035 (scalbln_test): Likewise.
15036 (signbit_test): Likewise.
15037 (sin_test): Likewise.
15038 (sin_test_tonearest): Likewise.
15039 (sin_test_towardzero): Likewise.
15040 (sin_test_downward): Likewise.
15041 (sin_test_upward): Likewise.
15042 (sincos_test): Likewise.
15043 (sinh_test): Likewise.
15044 (sinh_test_tonearest): Likewise.
15045 (sinh_test_towardzero): Likewise.
15046 (sinh_test_downward): Likewise.
15047 (sinh_test_upward): Likewise.
15048 (sqrt_test): Likewise.
15049 (tan_test): Likewise.
15050 (tan_test_tonearest): Likewise.
15051 (tan_test_towardzero): Likewise.
15052 (tan_test_downward): Likewise.
15053 (tan_test_upward): Likewise.
15054 (tanh_test): Likewise.
15055 (tgamma_test): Likewise.
15056 (trunc_test): Likewise.
15057 (y0_test): Likewise.
15058 (y1_test): Likewise.
15059 (yn_test): Likewise.
15060 (significand_test): Likewise.
15062 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
15065 * libio/genops.c (_IO_no_init): Initialize wide struct info.
15067 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
15070 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
15071 __ppc_mdoio and __ppc_mdoom.
15072 * manual/platform.texi: Document new functions __ppc_yield,
15073 __ppc_mdoio and __ppc_mdoom.
15075 2013-05-22 Carlos O'Donell <carlos@redhat.com>
15077 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
15078 (main): Mention "tls" pseudo-hwcap is legacy.
15079 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
15081 2013-05-22 Joseph Myers <joseph@codesourcery.com>
15083 * math/gen-libm-test.pl (parse_args): Output only string of
15084 arguments as text for test name, not full call or descriptions of
15085 tests for extra outputs.
15086 (generate_testfile): Do not pass function name to parse_args.
15087 Generate this_func variable from START.
15088 * math/libm-test.inc (struct test_f_f_data): Rename test_name
15090 (struct test_ff_f_data): Likewise.
15091 (test_ff_f_data_nexttoward): Likewise.
15092 (struct test_fi_f_data): Likewise.
15093 (struct test_fl_f_data): Likewise.
15094 (struct test_if_f_data): Likewise.
15095 (struct test_fff_f_data): Likewise.
15096 (struct test_c_f_data): Likewise.
15097 (struct test_f_f1_data): Likewise. Remove field extra_name.
15098 (struct test_fF_f1_data): Likewise.
15099 (struct test_ffI_f1_data): Likewise.
15100 (struct test_c_c_data): Rename test_name field to arg_str.
15101 (struct test_cc_c_data): Likewise.
15102 (struct test_f_i_data): Likewise.
15103 (struct test_ff_i_data): Likewise.
15104 (struct test_f_l_data): Likewise.
15105 (struct test_f_L_data): Likewise.
15106 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
15108 (COMMON_TEST_SETUP): New macro.
15109 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
15110 (COMMON_TEST_CLEANUP): Likewise.
15111 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
15112 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
15114 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
15115 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
15117 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
15118 (RUN_TEST_fff_f): Take argument string. Call new setup and
15120 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
15121 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
15123 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
15124 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
15126 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
15127 (RUN_TEST_fF_f1): Take argument string. Call new setup and
15129 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
15130 (RUN_TEST_fI_f1): Take argument string. Call new setup and
15132 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
15133 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
15135 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
15136 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
15138 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
15139 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
15141 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
15142 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
15144 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
15145 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
15147 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
15148 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
15150 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
15151 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
15153 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
15154 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
15156 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
15157 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
15159 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
15160 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
15162 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
15163 (RUN_TEST_fFF_11): Take argument string. Call new setup and
15165 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
15167 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
15169 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
15170 to _sifields.sigfault.
15171 (si_addr_lsb): Define new macro.
15172 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
15173 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
15174 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
15176 2013-05-03 Carlos O'Donell <carlos at redhat.com>
15179 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
15181 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
15183 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
15184 loading the domain.
15186 2013-05-22 Joseph Myers <joseph@codesourcery.com>
15188 * math/gen-libm-test.pl (parse_args): Do not include expected
15189 result in test name.
15190 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
15191 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15192 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15193 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
15194 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15195 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15197 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15199 * benchtests/Makefile: Sort function entries.
15201 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
15202 tanh, asinh, acosh, atanh.
15203 * benchtests/acos-inputs: New file.
15204 * benchtests/acosh-inputs: New file.
15205 * benchtests/asin-inputs: New file.
15206 * benchtests/asinh-inputs: New file.
15207 * benchtests/atanh-inputs: New file.
15208 * benchtests/cosh-inputs: New file.
15209 * benchtests/log-inputs: New file.
15210 * benchtests/sinh-inputs: New file.
15211 * benchtests/tanh-inputs: New file.
15213 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
15216 * posix/tst-getaddrinfo4.c: New test.
15217 * posix/Makefile (tests): Add it.
15219 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15222 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
15223 when no services were used.
15224 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
15225 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
15227 2013-05-21 Andreas Schwab <schwab@suse.de>
15230 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
15231 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
15233 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
15234 redundant variable declarations and reallocation of buffer when
15235 parsing as IPv6 address. Always set NSS status when called from
15236 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
15237 buffer too small. Correct computation of needed size.
15238 * nss/Makefile (tests): Add test-digits-dots.
15239 * nss/test-digits-dots.c: New test.
15241 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15243 * benchtests/Makefile: Remove instructions for adding
15245 * benchtests/README: New file to explain how to execute and
15246 enhance the benchmark tests.
15248 2013-05-21 Andreas Schwab <schwab@suse.de>
15251 * setjmp/Makefile (tests): Add tst-sigsetjmp.
15252 * setjmp/tst-sigsetjmp.c: New test.
15254 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
15256 * sysdeps/x86_64/memset.S (memset): New implementation.
15257 (__bzero): Likewise.
15258 (__memset_tail): New function.
15260 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
15262 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
15263 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
15264 __memcpy_sse2_unaligned ifunc selection.
15265 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
15266 Add memcpy-sse2-unaligned.S.
15267 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15268 Add: __memcpy_sse2_unaligned.
15270 2013-05-19 Joseph Myers <joseph@codesourcery.com>
15273 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
15274 math_force_eval before restoring floating-point envrionment.
15275 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
15276 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
15278 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
15280 (__nearbyintl): Use math_force_eval before restoring
15281 floating-point environment.
15282 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
15284 * math/gen-libm-test.pl (special_functions): Remove.
15285 (parse_args): Don't handle TEST_extra. Handle functions with no
15287 * math/libm-test.inc (struct test_sincos_data): Replace with
15288 struct test_fFF_11_data.
15289 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
15290 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
15291 (sincos_test_data): Change element type to struct
15292 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
15293 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
15294 RUN_TEST_LOOP_sincos.
15295 * math/README.libm-test: Don't mention special handling of
15296 individual functions.
15297 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
15298 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15299 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15300 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
15301 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15302 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15304 * math/gen-libm-test.pl (get_variable): Remove function.
15305 (parse_args): Don't show pointer parameters to call in test
15306 names. Use "extra output N" in test names for extra outputs
15307 rather than naming variables.
15309 2013-05-18 Joseph Myers <joseph@codesourcery.com>
15312 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
15313 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
15314 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
15316 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
15318 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
15321 * math/gen-libm-test.pl (@tests): Remove variable.
15322 ($count): Likewise.
15323 (new_test): Remove function.
15324 (show_exceptions): New function.
15325 (special_functions): Use show_exceptions instead of new_test.
15326 (parse_args): Likewise.
15327 (generate_testfile): Pass only function name in generated call to
15328 print_max_error or print_complex_max_error.
15329 (get_ulps): Do not handle complex tests specially.
15330 (output_test): Rename to ...
15331 (get_all_ulps_for_test): ... this. Return a string rather than
15332 printing to a file. Require ulps to be present.
15333 (output_ulps): Generate arrays rather than #defines.
15334 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
15335 (struct ulp_data): New type.
15336 (BUILD_COMPLEX_ULP): Remove macro.
15337 (compare_ulp_data): New function.
15338 (find_ulps): Likewise.
15339 (find_test_ulps): Likewise.
15340 (find_function_ulps): Likewise.
15341 (find_complex_function_ulps): Likewise.
15342 (print_max_error): Determine allowed ulps using
15343 find_function_ulps.
15344 (print_complex_max_error): Determine allowed ulps using
15345 find_complex_function_ulps.
15346 (check_float_internal): Determine max ulps using find_test_ulps.
15347 (check_float): Do not take max_ulp parameter. Update call to
15348 check_float_internal.
15349 (check_complex): Likewise.
15350 (check_int): Do not take max_ulp parameter.
15351 (check_long): Likewise.
15352 (check_bool): Likewise.
15353 (check_longlong): Likewise.
15354 (struct test_f_f_data): Remove max_ulp field.
15355 (struct test_ff_f_data): Likewise.
15356 (struct test_ff_f_data_nexttoward): Likewise.
15357 (struct test_fi_f_data): Likewise.
15358 (struct test_fl_f_data): Likewise.
15359 (struct test_if_f_data): Likewise.
15360 (struct test_fff_f_data): Likewise.
15361 (struct test_c_f_data): Likewise.
15362 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
15363 (struct test_fF_f1_data): Likewise.
15364 (struct test_ffI_f1_data): Likewise.
15365 (struct test_c_c_data): Remove max_ulp field.
15366 (struct test_cc_c_data): Likewise.
15367 (struct test_f_i_data): Likewise.
15368 (struct test_ff_i_data): Likewise.
15369 (struct test_f_l_data): Likewise.
15370 (struct test_f_L_data): Likewise.
15371 (struct test_sincos_data): Likewise.
15372 (RUN_TEST_f_f): Do not handle ulps.
15373 (RUN_TEST_LOOP_f_f): Likewise.
15374 (RUN_TEST_2_f): Likewise.
15375 (RUN_TEST_LOOP_2_f): Likewise.
15376 (RUN_TEST_fff_f): Likewise.
15377 (RUN_TEST_LOOP_fff_f): Likewise.
15378 (RUN_TEST_c_f): Likewise.
15379 (RUN_TEST_LOOP_c_f): Likewise.
15380 (RUN_TEST_f_f1): Likewise.
15381 (RUN_TEST_LOOP_f_f1): Likewise.
15382 (RUN_TEST_fF_f1): Likewise.
15383 (RUN_TEST_LOOP_fF_f1): Likewise.
15384 (RUN_TEST_fI_f1): Likewise.
15385 (RUN_TEST_LOOP_fI_f1): Likewise.
15386 (RUN_TEST_ffI_f1): Likewise.
15387 (RUN_TEST_LOOP_ffI_f1): Likewise.
15388 (RUN_TEST_c_c): Likewise.
15389 (RUN_TEST_LOOP_c_c): Likewise.
15390 (RUN_TEST_cc_c): Likewise.
15391 (RUN_TEST_LOOP_cc_c): Likewise.
15392 (RUN_TEST_f_i): Likewise.
15393 (RUN_TEST_LOOP_f_i): Likewise.
15394 (RUN_TEST_f_i_tg): Likewise.
15395 (RUN_TEST_LOOP_f_i_tg): Likewise.
15396 (RUN_TEST_ff_i_tg): Likewise.
15397 (RUN_TEST_LOOP_ff_i_tg): Likewise.
15398 (RUN_TEST_f_b): Likewise.
15399 (RUN_TEST_LOOP_f_b): Likewise.
15400 (RUN_TEST_f_b_tg): Likewise.
15401 (RUN_TEST_LOOP_f_b_tg): Likewise.
15402 (RUN_TEST_f_l): Likewise.
15403 (RUN_TEST_LOOP_f_l): Likewise.
15404 (RUN_TEST_f_L): Likewise.
15405 (RUN_TEST_LOOP_f_L): Likewise.
15406 (RUN_TEST_sincos): Likewise.
15407 (RUN_TEST_LOOP_sincos): Likewise.
15409 2013-05-17 Joseph Myers <joseph@codesourcery.com>
15413 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
15414 main case of finite arguments, set rounding mode to FE_TONEAREST
15415 and discard exceptions.
15416 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
15418 (remainder_tonearest_test_data): New variable.
15419 (remainder_test_tonearest): New function.
15420 (remainder_towardzero_test_data): New variable.
15421 (remainder_test_towardzero): New function.
15422 (remainder_downward_test_data): New variable.
15423 (remainder_test_downward): New function.
15424 (remainder_upward_test_data): New variable.
15425 (remainder_test_upward): New function.
15426 (main): Call the new test functions.
15428 * math/libm-test.inc (struct test_f_f1_data): Remove field
15430 (struct test_fF_f1_data): Likewise.
15431 (struct test_ffI_f1_data): Likewise.
15432 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
15433 based on value of EXTRA_EXPECTED.
15434 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
15435 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
15436 EXTRA_VAR based on value of EXTRA_EXPECTED.
15437 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
15438 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
15439 EXTRA_VAR based on value of EXTRA_EXPECTED.
15440 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
15441 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
15442 EXTRA_VAR based on value of EXTRA_EXPECTED.
15443 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
15444 * math/gen-libm-test.pl (parse_args): Don't output initializers
15445 for extra output values.
15447 * math/libm-test.inc (check_int): Expect result to be exactly
15448 equal to expected value and do not handle ulps.
15449 (check_long): Likewise.
15450 (check_longlong): Likewise.
15452 * math/libm-test.inc (ceil_test_data): Test for "inexact"
15454 (cimag_test_data): Likewise.
15455 (conj_test_data): Likewise.
15456 (copysign_test_data): Likewise.
15457 (cproj_test_data): Likewise.
15458 (creal_test_data): Likewise.
15459 (fabs_test_data): Likewise.
15460 (fdim_test_data): Likewise.
15461 (finite_test_data): Likewise.
15462 (floor_test_data): Likewise.
15463 (fmax_test_data): Likewise.
15464 (fmin_test_data): Likewise.
15465 (fmod_test_data): Likewise.
15466 (fpclassify_test_data): Likewise.
15467 (frexp_test_data): Likewise.
15468 (ilogb_test_data): Likewise.
15469 (isfinite_test_data): Likewise.
15470 (isgreater_test_data): Likewise.
15471 (isgreaterequal_test_data): Likewise.
15472 (isinf_test_data): Likewise.
15473 (isless_test_data): Likewise.
15474 (islessequal_test_data): Likewise.
15475 (islessgreater_test_data): Likewise.
15476 (isnan_test_data): Likewise.
15477 (isnormal_test_data): Likewise.
15478 (issignaling_test_data): Likewise.
15479 (isunordered_test_data): Likewise.
15480 (ldexp_test_data): Likewise.
15481 (lrint_test_data): Likewise.
15482 (lrint_test_data) [TEST_FLOAT]: Disable one test.
15483 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
15484 (lrint_tonearest_test_data): Test for "inexact" exceptions.
15485 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
15486 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
15487 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
15489 (lrint_towardzero_test_data): Test for "inexact" exceptions.
15490 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
15491 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
15492 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
15494 (lrint_downward_test_data): Test for "inexact" exceptions.
15495 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
15496 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
15497 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
15499 (lrint_upward_test_data): Test for "inexact" exceptions.
15500 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
15502 (llrint_test_data): Test for "inexact" exceptions.
15503 (llrint_test_data) [TEST_FLOAT]: Disable one test.
15504 (llrint_tonearest_test_data): Test for "inexact" exceptions.
15505 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
15506 (llrint_towardzero_test_data): Test for "inexact" exceptions.
15507 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
15508 (llrint_downward_test_data): Test for "inexact" exceptions.
15509 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
15510 (llrint_upward_test_data): Test for "inexact" exceptions.
15511 (logb_test_data): Likewise.
15512 (logb_downward_test_data): Likewise.
15513 (nextafter_test_data): Likewise.
15514 (nexttoward_test_data): Likewise.
15515 (remainder_test_data): Likewise.
15516 (remquo_test_data): Likewise.
15517 (scalbn_test_data): Likewise.
15518 (scalbln_test_data): Likewise.
15519 (signbit_test_data): Likewise.
15520 (sqrt_test_data): Likewise.
15521 (significand_test_data): Likewise.
15523 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15526 * benchtests/bench-modf.c (struct args): Mark arg0 as
15528 * scripts/bench.pl: Mark members of struct args as volatile.
15530 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15533 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
15534 negative infinity on POWER6 or lower.
15535 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
15537 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
15540 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
15541 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
15542 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
15543 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
15544 (_FP_SETQNAN): New macro.
15545 (_FP_SETQNAN_SEMIRAW): Likewise.
15546 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
15547 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
15548 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
15549 (FP_EXTEND): Use _FP_FRAC_SNANP.
15550 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
15551 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
15553 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
15555 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
15558 2013-05-16 Joseph Myers <joseph@codesourcery.com>
15560 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
15561 with DIVIDE_BY_ZERO_EXCEPTION.
15562 (gamma_test_data): Likewise.
15563 (lgamma_test_data): Likewise.
15564 (log_test_data): Likewise.
15565 (log10_test_data): Likewise.
15566 (log2_test_data): Likewise.
15567 (tgamma_test_data): Likewise.
15569 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
15570 (acos_test_tonearest): Likewise.
15571 (acos_test_towardzero): Likewise.
15572 (acos_test_downward): Likewise.
15573 (acos_test_upward): Likewise.
15574 (acosh_test): Likewise.
15575 (asin_test): Likewise.
15576 (asin_test_tonearest): Likewise.
15577 (asin_test_towardzero): Likewise.
15578 (asin_test_downward): Likewise.
15579 (asin_test_upward): Likewise.
15580 (asinh_test): Likewise.
15581 (atan_test): Likewise.
15582 (atanh_test): Likewise.
15583 (atan2_test): Likewise.
15584 (cabs_test): Likewise.
15585 (cacos_test): Likewise.
15586 (cacosh_test): Likewise.
15587 (casin_test): Likewise.
15588 (casinh_test): Likewise.
15589 (catan_test): Likewise.
15590 (catanh_test): Likewise.
15591 (cbrt_test): Likewise.
15592 (ccos_test): Likewise.
15593 (ccosh_test): Likewise.
15594 (cexp_test): Likewise.
15595 (clog_test): Likewise.
15596 (clog10_test): Likewise.
15597 (cos_test): Likewise.
15598 (cos_test_tonearest): Likewise.
15599 (cos_test_towardzero): Likewise.
15600 (cos_test_downward): Likewise.
15601 (cos_test_upward): Likewise.
15602 (cosh_test): Likewise.
15603 (cosh_test_tonearest): Likewise.
15604 (cosh_test_towardzero): Likewise.
15605 (cosh_test_downward): Likewise.
15606 (cosh_test_upward): Likewise.
15607 (cpow_test): Likewise.
15608 (csin_test): Likewise.
15609 (csinh_test): Likewise.
15610 (csqrt_test): Likewise.
15611 (ctan_test): Likewise.
15612 (ctan_test_tonearest): Likewise.
15613 (ctan_test_towardzero): Likewise.
15614 (ctan_test_downward): Likewise.
15615 (ctan_test_upward): Likewise.
15616 (ctanh_test): Likewise.
15617 (ctanh_test_tonearest): Likewise.
15618 (ctanh_test_towardzero): Likewise.
15619 (ctanh_test_downward): Likewise.
15620 (ctanh_test_upward): Likewise.
15621 (erf_test): Likewise.
15622 (erfc_test): Likewise.
15623 (exp_test): Likewise.
15624 (exp_test_tonearest): Likewise.
15625 (exp_test_towardzero): Likewise.
15626 (exp_test_downward): Likewise.
15627 (exp_test_upward): Likewise.
15628 (exp10_test): Likewise.
15629 (exp2_test): Likewise.
15630 (expm1_test): Likewise.
15631 (fmod_test): Likewise.
15632 (gamma_test): Likewise.
15633 (hypot_test): Likewise.
15634 (j0_test): Likewise.
15635 (j1_test): Likewise.
15636 (jn_test): Likewise.
15637 (lgamma_test): Likewise.
15638 (log_test): Likewise.
15639 (log10_test): Likewise.
15640 (log1p_test): Likewise.
15641 (log2_test): Likewise.
15642 (logb_test_downward): Likewise.
15643 (pow_test): Likewise.
15644 (pow_test_tonearest): Likewise.
15645 (pow_test_towardzero): Likewise.
15646 (pow_test_downward): Likewise.
15647 (pow_test_upward): Likewise.
15648 (remainder_test): Likewise.
15649 (remquo_test): Likewise.
15650 (sin_test): Likewise.
15651 (sin_test_tonearest): Likewise.
15652 (sin_test_towardzero): Likewise.
15653 (sin_test_downward): Likewise.
15654 (sin_test_upward): Likewise.
15655 (sincos_test): Likewise.
15656 (sinh_test): Likewise.
15657 (sinh_test_tonearest): Likewise.
15658 (sinh_test_towardzero): Likewise.
15659 (sinh_test_downward): Likewise.
15660 (sinh_test_upward): Likewise.
15661 (sqrt_test): Likewise.
15662 (tan_test): Likewise.
15663 (tan_test_tonearest): Likewise.
15664 (tan_test_towardzero): Likewise.
15665 (tan_test_downward): Likewise.
15666 (tan_test_upward): Likewise.
15667 (tanh_test): Likewise.
15668 (tgamma_test): Likewise.
15669 (y0_test): Likewise.
15670 (y1_test): Likewise.
15671 (yn_test): Likewise.
15673 * math/gen-libm-test.pl (adjust_arg): Remove function.
15674 (special_function): Remove argument $in_func. Only handle
15675 generating output for tables of tests, not inside functions.
15676 (parse_args): Likewise.
15677 (generate_testfile): Remove variable $in_func. Update call to
15679 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
15680 (MINUS_ZERO_INIT): Rename macro to minus_zero.
15681 (PLUS_INFTY_INIT): Rename macro to plus_infty.
15682 (MINUS_INFTY_INIT): Rename macro to minus_infty.
15683 (QNAN_VALUE_INIT): Rename macro to qnan_value.
15684 (MAX_VALUE_INIT): Rename macro to max_value.
15685 (MIN_VALUE_INIT): Rename macro to min_value.
15686 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
15687 (plus_zero): Remove variable.
15688 (minus_zero): Likewise.
15689 (plus_infty): Likewise.
15690 (minus_infty): Likewise.
15691 (qnan_value): Likewise.
15692 (max_value): Likewise.
15693 (min_value): Likewise.
15694 (min_subnorm_value): Likewise.
15696 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15698 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
15699 uint64_t or uint32_t usage.
15700 * crypt/sha256-block.c: Likewise.
15701 * crypt/sha256-crypt.c: Likewise.
15702 * crypt/sha256.c: Likewise.
15703 * crypt/sha512-block.c: Likewise.
15704 * crypt/sha512-crypt.c: Likewise.
15705 * crypt/sha512.c: Likewise.
15706 * debug/backtrace-tst.c: Likewise.
15707 * debug/pcprofiledump.c: Likewise.
15708 * elf/cache.c: Likewise.
15709 * elf/dl-cache.c: Likewise.
15710 * elf/dl-misc.c: Likewise.
15711 * elf/dl-profile.c: Likewise.
15712 * elf/dl-support.c: Likewise.
15713 * elf/ldconfig.c: Likewise.
15714 * elf/sprof.c: Likewise.
15715 * iconv/dummy-repertoire.c: Likewise.
15716 * iconv/iconv_charmap.c: Likewise.
15717 * iconv/skeleton.c: Likewise.
15718 * iconvdata/8bit-generic.c: Likewise.
15719 * iconvdata/cp737.h: Likewise.
15720 * iconvdata/cp775.h: Likewise.
15721 * iconvdata/ibm1008.h: Likewise.
15722 * iconvdata/ibm1025.h: Likewise.
15723 * iconvdata/ibm1046.h: Likewise.
15724 * iconvdata/ibm1097.h: Likewise.
15725 * iconvdata/ibm1112.h: Likewise.
15726 * iconvdata/ibm1122.h: Likewise.
15727 * iconvdata/ibm1123.h: Likewise.
15728 * iconvdata/ibm1124.h: Likewise.
15729 * iconvdata/ibm1129.h: Likewise.
15730 * iconvdata/ibm1130.h: Likewise.
15731 * iconvdata/ibm1132.h: Likewise.
15732 * iconvdata/ibm1133.h: Likewise.
15733 * iconvdata/ibm1137.h: Likewise.
15734 * iconvdata/ibm1140.h: Likewise.
15735 * iconvdata/ibm1141.h: Likewise.
15736 * iconvdata/ibm1142.h: Likewise.
15737 * iconvdata/ibm1143.h: Likewise.
15738 * iconvdata/ibm1144.h: Likewise.
15739 * iconvdata/ibm1145.h: Likewise.
15740 * iconvdata/ibm1146.h: Likewise.
15741 * iconvdata/ibm1147.h: Likewise.
15742 * iconvdata/ibm1148.h: Likewise.
15743 * iconvdata/ibm1149.h: Likewise.
15744 * iconvdata/ibm1153.h: Likewise.
15745 * iconvdata/ibm1154.h: Likewise.
15746 * iconvdata/ibm1155.h: Likewise.
15747 * iconvdata/ibm1156.h: Likewise.
15748 * iconvdata/ibm1157.h: Likewise.
15749 * iconvdata/ibm1158.h: Likewise.
15750 * iconvdata/ibm1160.h: Likewise.
15751 * iconvdata/ibm1161.h: Likewise.
15752 * iconvdata/ibm1162.h: Likewise.
15753 * iconvdata/ibm1163.h: Likewise.
15754 * iconvdata/ibm1164.h: Likewise.
15755 * iconvdata/ibm1166.h: Likewise.
15756 * iconvdata/ibm1167.h: Likewise.
15757 * iconvdata/ibm12712.h: Likewise.
15758 * iconvdata/ibm1390.h: Likewise.
15759 * iconvdata/ibm1399.h: Likewise.
15760 * iconvdata/ibm16804.h: Likewise.
15761 * iconvdata/ibm4517.h: Likewise.
15762 * iconvdata/ibm4899.h: Likewise.
15763 * iconvdata/ibm4909.h: Likewise.
15764 * iconvdata/ibm4971.h: Likewise.
15765 * iconvdata/ibm5347.h: Likewise.
15766 * iconvdata/ibm803.h: Likewise.
15767 * iconvdata/ibm856.h: Likewise.
15768 * iconvdata/ibm901.h: Likewise.
15769 * iconvdata/ibm902.h: Likewise.
15770 * iconvdata/ibm9030.h: Likewise.
15771 * iconvdata/ibm9066.h: Likewise.
15772 * iconvdata/ibm921.h: Likewise.
15773 * iconvdata/ibm922.h: Likewise.
15774 * iconvdata/ibm9448.h: Likewise.
15775 * iconvdata/isiri-3342.h: Likewise.
15776 * iconvdata/jis0201.h: Likewise.
15777 * include/link.h: Likewise.
15778 * include/netdb.h: Likewise.
15779 * inet/check_native.c: Likewise.
15780 * inet/check_pf.c: Likewise.
15781 * inet/getipv4sourcefilter.c: Likewise.
15782 * inet/getnameinfo.c: Likewise.
15783 * inet/getsourcefilter.c: Likewise.
15784 * inet/htonl.c: Likewise.
15785 * inet/setipv4sourcefilter.c: Likewise.
15786 * inet/setsourcefilter.c: Likewise.
15787 * inet/test-inet6_opt.c: Likewise.
15788 * inet/tst-network.c: Likewise.
15789 * locale/C-collate.c: Likewise.
15790 * locale/C-ctype.c: Likewise.
15791 * locale/C-time.c: Likewise.
15792 * locale/C-translit.h: Likewise.
15793 * locale/loadarchive.c: Likewise.
15794 * locale/programs/3level.h: Likewise.
15795 * locale/programs/charmap.c: Likewise.
15796 * locale/programs/charmap.h: Likewise.
15797 * locale/programs/ld-address.c: Likewise.
15798 * locale/programs/ld-collate.c: Likewise.
15799 * locale/programs/ld-ctype.c: Likewise.
15800 * locale/programs/ld-identification.c: Likewise.
15801 * locale/programs/ld-measurement.c: Likewise.
15802 * locale/programs/ld-messages.c: Likewise.
15803 * locale/programs/ld-monetary.c: Likewise.
15804 * locale/programs/ld-name.c: Likewise.
15805 * locale/programs/ld-numeric.c: Likewise.
15806 * locale/programs/ld-paper.c: Likewise.
15807 * locale/programs/ld-telephone.c: Likewise.
15808 * locale/programs/ld-time.c: Likewise.
15809 * locale/programs/linereader.c: Likewise.
15810 * locale/programs/locale.c: Likewise.
15811 * locale/programs/locarchive.c: Likewise.
15812 * locale/programs/locfile.h: Likewise.
15813 * locale/programs/repertoire.c: Likewise.
15814 * locale/programs/simple-hash.c: Likewise.
15815 * locale/programs/simple-hash.h: Likewise.
15816 * malloc/memusage.c: Likewise.
15817 * malloc/memusagestat.c: Likewise.
15818 * nis/nis_defaults.c: Likewise.
15819 * nis/nis_hash.c: Likewise.
15820 * nis/nis_print.c: Likewise.
15821 * nis/nis_xdr.c: Likewise.
15822 * nscd/connections.c: Likewise.
15823 * nscd/hstcache.c: Likewise.
15824 * nscd/nscd_gethst_r.c: Likewise.
15825 * nscd/nscd_getserv_r.c: Likewise.
15826 * nscd/nscd_helper.c: Likewise.
15827 * nscd/servicescache.c: Likewise.
15828 * nss/makedb.c: Likewise.
15829 * nss/nss_db/db-XXX.c: Likewise.
15830 * nss/nss_db/db-initgroups.c: Likewise.
15831 * nss/nss_db/db-netgrp.c: Likewise.
15832 * nss/nss_files/files-network.c: Likewise.
15833 * nss/nss_files/files-parse.c: Likewise.
15834 * posix/bug-regex5.c: Likewise.
15835 * posix/fnmatch_loop.c: Likewise.
15836 * posix/regcomp.c: Likewise.
15837 * posix/regexec.c: Likewise.
15838 * posix/tst-rfc3484-2.c: Likewise.
15839 * posix/tst-rfc3484-3.c: Likewise.
15840 * posix/tst-rfc3484.c: Likewise.
15841 * resolv/nss_dns/dns-canon.c: Likewise.
15842 * resolv/nss_dns/dns-network.c: Likewise.
15843 * resolv/res_init.c: Likewise.
15844 * resolv/res_mkquery.c: Likewise.
15845 * resolv/tst-aton.c: Likewise.
15846 * stdlib/cxa_atexit.c: Likewise.
15847 * stdlib/cxa_finalize.c: Likewise.
15848 * stdlib/gen-fpioconst.c: Likewise.
15849 * stdlib/strtol_l.c: Likewise.
15850 * string/tst-endian.c: Likewise.
15851 * sunrpc/auth_des.c: Likewise.
15852 * sunrpc/clnt_udp.c: Likewise.
15853 * sunrpc/rtime.c: Likewise.
15854 * sunrpc/svcauth_des.c: Likewise.
15855 * sunrpc/xdr.c: Likewise.
15856 * sunrpc/xdr_intXX_t.c: Likewise.
15857 * sunrpc/xdr_rec.c: Likewise.
15858 * sysdeps/generic/ldconfig.h: Likewise.
15859 * sysdeps/generic/ldsodefs.h: Likewise.
15860 * sysdeps/generic/memusage.h: Likewise.
15861 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
15862 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
15863 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
15864 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
15865 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15866 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15867 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
15868 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
15869 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
15870 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15871 * sysdeps/posix/getaddrinfo.c: Likewise.
15872 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
15873 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15874 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
15875 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
15876 * sysdeps/powerpc/test-gettimebase.c: Likewise.
15877 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
15878 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
15879 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
15880 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
15881 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
15882 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
15883 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
15884 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
15885 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
15886 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
15887 * sysdeps/x86_64/dl-tls.h: Likewise.
15888 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
15889 * time/alt_digit.c: Likewise.
15890 * time/era.c: Likewise.
15891 * wcsmbs/tst-c16c32-1.c: Likewise.
15893 2013-05-16 Joseph Myers <joseph@codesourcery.com>
15895 * math/libm-test.inc (struct test_sincos_data): New type.
15896 (RUN_TEST_LOOP_sincos): New macro.
15897 (sincos_test_data): New variable.
15898 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
15900 2013-05-16 Richard Henderson <rth@redhat.com>
15902 * math/atest-exp2.c (LIMB64): New macro.
15903 (CONSTSZ): New macro.
15904 (mp_exp1, mp_exp_m1, mp_log2): New variables.
15906 (print_mpn_fp): ... to function scope.
15907 (read_mpn_hex): Remove.
15908 (get_log2): Remove.
15909 (exp2_mpn): Use mp_log2.
15910 (main): Use mp_exp1.
15912 2013-05-16 Joseph Myers <joseph@codesourcery.com>
15914 * math/libm-test.inc: Remove comment about not testing "inexact"
15916 (INEXACT_EXCEPTION): New macro.
15917 (NO_INEXACT_EXCEPTION): Likewise.
15918 (INVALID_EXCEPTION_OK): Update value.
15919 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
15920 (OVERFLOW_EXCEPTION_OK): Likewise.
15921 (UNDERFLOW_EXCEPTION_OK): Likewise.
15922 (IGNORE_ZERO_INF_SIGN): Likewise.
15923 (ERRNO_UNCHANGED): Likewise.
15924 (ERRNO_EDOM): Likewise.
15925 (ERRNO_ERANGE): Likewise.
15926 (test_exceptions): Handle testing "inexact" exceptions.
15927 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
15928 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
15929 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
15930 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
15932 (rint_towardzero_test_data): Likewise.
15933 (rint_downward_test_data): Likewise.
15934 (rint_upward_test_data): Likewise.
15936 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
15937 with OVERFLOW_EXCEPTION.
15938 (exp10_test_data): Likewise.
15939 (exp2_test_data): Likewise.
15940 (expm1_test_data): Likewise.
15941 (lgamma_test_data): Likewise.
15942 (pow_test_data): Likewise.
15943 (tgamma_test_data): Likewise.
15944 (yn_test_data): Remove duplicate test of overflow.
15946 * math/libm-test.inc (struct test_cc_c_data): New type.
15947 (RUN_TEST_LOOP_cc_c): New macro.
15948 (cpow_test_data): New variable.
15949 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
15951 * math/libm-test.inc (struct test_f_L_data): New type.
15952 (RUN_TEST_LOOP_f_L): New macro.
15953 (llrint_test_data): New variable.
15954 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
15955 (llrint_tonearest_test_data): New variable.
15956 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
15957 (llrint_towardzero_test_data): New variable.
15958 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
15959 (llrint_downward_test_data): New variable.
15960 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
15961 (llrint_upward_test_data): New variable.
15962 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
15963 (llround_test_data): New variable.
15964 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
15966 2013-05-13 Peter Collingbourne <pcc@google.com>
15968 * math/atest-exp2.c (get_log2): Remove const attribute.
15970 2013-05-15 Joseph Myers <joseph@codesourcery.com>
15972 * math/libm-test.inc (struct test_f_l_data): New type.
15973 (RUN_TEST_LOOP_f_l): New macro.
15974 (lrint_test_data): New variable.
15975 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
15976 (lrint_tonearest_test_data): New variable.
15977 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
15978 (lrint_towardzero_test_data): New variable.
15979 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
15980 (lrint_downward_test_data): New variable.
15981 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
15982 (lrint_upward_test_data): New variable.
15983 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
15984 (lround_test_data): New variable.
15985 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
15987 2013-05-15 Peter Collingbourne <pcc@google.com>
15989 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
15990 (EXTRACT_WORDS64) Use where appropriate.
15991 (INSERT_WORDS64) Likewise.
15993 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
15994 constraints with x constraints.
15995 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
15997 * malloc/obstack.c (_obstack_compat): Add initializer.
15999 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
16001 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
16002 si_trapno and add si_addr_lsb to _sifields.sigfault.
16003 (si_trapno): Remove macro.
16004 (si_addr_lsb): Define new macro.
16005 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
16007 2013-05-15 Joseph Myers <joseph@codesourcery.com>
16009 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
16010 instead of TEST_f_l.
16011 (llrint_test_tonearest): Likewise.
16012 (llrint_test_towardzero): Likewise.
16013 (llrint_test_downward): Likewise.
16014 (llrint_test_upward): Likewise.
16015 (llround_test): Likewise.
16017 * math/libm-test.inc (struct test_f_i_data): Add comment.
16018 (RUN_TEST_LOOP_f_b): New macro.
16019 (RUN_TEST_LOOP_f_b_tg): Likewise.
16020 (finite_test_data): New variable.
16021 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
16022 (isfinite_test_data): New variable.
16023 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16024 (isinf_test_data): New variable.
16025 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16026 (isnan_test_data): New variable.
16027 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16028 (isnormal_test_data): New variable.
16029 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16030 (issignaling_test_data): New variable.
16031 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16032 (signbit_test_data): New variable.
16033 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16035 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
16036 with INVALID_EXCEPTION.
16037 (acosh_test_data): Likewise.
16038 (asin_test_data): Likewise.
16039 (atanh_test_data): Likewise.
16040 (fmod_test_data): Likewise.
16041 (log_test_data): Likewise.
16042 (log10_test_data): Likewise.
16043 (log2_test_data): Likewise.
16044 (pow_test_data): Likewise.
16045 (sqrt_test_data): Likewise.
16046 (y0_test_data): Likewise.
16047 (y1_test_data): Likewise.
16048 (yn_test_data): Likewise.
16050 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
16053 * math/libm-test.inc (struct test_ff_i_data): New type.
16054 (RUN_TEST_LOOP_ff_i_tg): New macro.
16055 (isgreater_test_data): New variable.
16056 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16057 (isgreaterequal_test_data): New variable.
16058 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16059 (isless_test_data): New variable.
16060 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16061 (islessequal_test_data): New variable.
16062 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16063 (islessgreater_test_data): New variable.
16064 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16065 (isunordered_test_data): New variable.
16066 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16068 2013-05-14 David S. Miller <davem@davemloft.net>
16070 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16072 2013-05-14 Joseph Myers <joseph@codesourcery.com>
16074 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
16076 * math/libm-test.inc (struct test_fF_f1_data): Change type of
16078 (struct test_f_i_data): Change type of max_ulp to int.
16080 * math/libm-test.inc (test_ffI_f1_data): New type.
16081 (RUN_TEST_LOOP_ffI_f1): New macro.
16082 (remquo_test_data): New variable.
16083 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
16085 * setjmp/tst-setjmp-fp.c: New file.
16086 * setjmp/Makefile (tests): Add tst-setjmp-fp.
16087 (link-libm): New variable.
16088 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
16090 * math/libm-test.inc (struct test_f_i_data): New type.
16091 (RUN_TEST_LOOP_f_i): New macro.
16092 (RUN_TEST_LOOP_f_i_tg): Likewise.
16093 (fpclassify_test_data): New variable.
16094 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
16095 (ilogb_test_data): New variable.
16096 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
16098 * math/libm-test.inc (scalbln_test): Correct function name in END
16101 * math/libm-test.inc (struct test_f_f1_data): Add comment.
16102 (RUN_TEST_LOOP_fI_f1): New macro.
16103 (frexp_test_data): New variable.
16104 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
16106 * math/libm-test.inc (struct test_fF_f1_data): New type.
16107 (RUN_TEST_LOOP_fF_f1): New macro.
16108 (modf_test_data): New variable.
16109 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
16111 * math/libm-test.inc (struct test_f_f1_data): New type.
16112 (RUN_TEST_LOOP_f_f1): New macro.
16113 (gamma_test_data): New variable.
16114 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
16115 (lgamma_test_data): New variable.
16116 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
16118 2013-05-13 Carlos O'Donell <carlos@redhat.com>
16120 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
16121 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
16122 (main): Comment "tls" pseudo-hwcap.
16124 2013-05-13 Joseph Myers <joseph@codesourcery.com>
16126 * math/libm-test.inc (struct test_fl_f_data): New type.
16127 (RUN_TEST_LOOP_fl_f): New variable.
16128 (scalbln_test_data): New variable.
16129 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
16131 * math/libm-test.inc (struct test_fi_f_data): New type.
16132 (RUN_TEST_LOOP_fi_f): New macro.
16133 (ldexp_test_data): New variable.
16134 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
16135 (scalbn_test_data): New variable.
16136 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
16138 * math/libm-test.inc (struct test_c_f_data): New type.
16139 (RUN_TEST_LOOP_c_f): New macro.
16140 (cabs_test_data): New variable.
16141 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
16142 (carg_test_data): New variable.
16143 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
16144 (cimag_test_data): New variable.
16145 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
16146 (creal_test_data): New variable.
16147 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
16149 * math/libm-test.inc (struct test_if_f_data): New type.
16150 (RUN_TEST_LOOP_if_f): New macro.
16151 (jn_test_data): New variable.
16152 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
16153 (yn_test_data): New variable.
16154 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
16156 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
16158 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16160 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
16161 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
16163 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
16165 * benchtests/Makefile (CPPFLAGS-nonlib): Add
16166 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
16167 (bench-deps): Add bench-timing.h.
16168 * benchtests-bench-skeleton.c: Include bench-timing.h.
16169 (main): Use TIMING_* macros instead of clock_gettime.
16170 * benchtests/bench-timing.h: New file.
16173 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
16174 Renamed from _LIB_VERSION.
16175 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
16177 2013-05-12 Joseph Myers <joseph@codesourcery.com>
16179 * math/libm-test.inc (struct test_fff_f_data): New type.
16180 (RUN_TEST_LOOP_fff_f): New macro.
16181 (fma_test_data): New variable.
16182 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
16183 (fma_towardzero_test_data): New variable.
16184 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
16185 (fma_downward_test_data): New variable.
16186 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
16187 (fma_upward_test_data): New variable.
16188 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
16190 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
16191 (struct test_c_c_data): New type.
16192 (RUN_TEST_LOOP_c_c): New macro.
16193 (cacos_test_data): New variable.
16194 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
16195 (cacosh_test_data): New variable.
16196 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
16197 (casin_test_data): New variable.
16198 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
16199 (casinh_test_data): New variable.
16200 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
16201 (catan_test_data): New variable.
16202 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
16203 (catanh_test_data): New variable.
16204 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
16205 (ccos_test_data): New variable.
16206 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
16207 (ccosh_test_data): New variable.
16208 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
16209 (cexp_test_data): New variable.
16210 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
16211 (clog_test_data): New variable.
16212 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
16213 (clog10_test_data): New variable.
16214 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
16215 (conj_test_data): New variable.
16216 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
16217 (cproj_test_data): New variable.
16218 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
16219 (csin_test_data): New variable.
16220 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
16221 (csinh_test_data): New variable.
16222 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
16223 (csqrt_test_data): New variable.
16224 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
16225 (ctan_test_data): New variable.
16226 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
16227 (ctan_tonearest_test_data): New variable.
16228 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
16229 (ctan_towardzero_test_data): New variable.
16230 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
16231 (ctan_downward_test_data): New variable.
16232 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
16233 (ctan_upward_test_data): New variable.
16234 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
16235 (ctanh_test_data): New variable.
16236 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
16237 (ctanh_tonearest_test_data): New variable.
16238 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
16239 (ctanh_towardzero_test_data): New variable.
16240 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
16241 (ctanh_downward_test_data): New variable.
16242 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
16243 (ctanh_upward_test_data): New variable.
16244 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
16245 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
16248 * math/libm-test.inc (struct test_ff_f_data): New type.
16249 (struct test_ff_f_data_nexttoward): Likewise.
16250 (RUN_TEST_LOOP_2_f): New macro.
16251 (RUN_TEST_LOOP_ff_f): Likewise.
16252 (atan2_test_data): New variable.
16253 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
16254 (copysign_test_data): New variable.
16255 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
16256 (fdim_test_data): New variable.
16257 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
16258 (fmax_test_data): New variable.
16259 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
16260 (fmin_test_data): New variable.
16261 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
16262 (fmod_test_data): New variable.
16263 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
16264 (hypot_test_data): New variable.
16265 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
16266 (nextafter_test_data): New variable.
16267 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
16268 (nexttoward_test_data): New variable.
16269 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
16270 (pow_test_data): New variable.
16271 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
16272 (pow_tonearest_test_data): New variable.
16273 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
16274 (pow_towardzero_test_data): New variable.
16275 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
16276 (pow_downward_test_data): New variable.
16277 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
16278 (pow_upward_test_data): New variable.
16279 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
16280 (remainder_test_data): New variable.
16281 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
16282 (scalb_test_data): New variable.
16283 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
16284 * sysdeps/i386/fpu/libm-test-ulps: Update.
16286 2013-05-11 Joseph Myers <joseph@codesourcery.com>
16288 * math/libm-test.inc (fma_test): Use max_value instead of local
16290 (nextafter_test): Likewise.
16292 * math/libm-test.inc (acos_towardzero_test_data): New variable.
16293 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16294 (acos_downward_test_data): New variable.
16295 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16296 (acos_upward_test_data): New variable.
16297 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16298 (acosh_test_data): New variable.
16299 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
16300 (asin_test_data): New variable.
16301 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
16302 (asin_tonearest_test_data): New variable.
16303 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16304 (asin_towardzero_test_data): New variable.
16305 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16306 (asin_downward_test_data): New variable.
16307 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16308 (asin_upward_test_data): New variable.
16309 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16310 (asinh_test_data): New variable.
16311 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
16312 (atan_test_data): New variable.
16313 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
16314 (atanh_test_data): New variable.
16315 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
16316 (cbrt_test_data): New variable.
16317 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
16318 (ceil_test_data): New variable.
16319 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
16320 (cos_test_data): New variable.
16321 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
16322 (cos_tonearest_test_data): New variable.
16323 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16324 (cos_towardzero_test_data): New variable.
16325 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16326 (cos_downward_test_data): New variable.
16327 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16328 (cos_upward_test_data): New variable.
16329 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16330 (cosh_test_data): New variable.
16331 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
16332 (cosh_tonearest_test_data): New variable.
16333 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16334 (cosh_towardzero_test_data): New variable.
16335 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16336 (cosh_downward_test_data): New variable.
16337 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16338 (cosh_upward_test_data): New variable.
16339 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16340 (erf_test_data): New variable.
16341 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
16342 (erfc_test_data): New variable.
16343 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
16344 (exp_test_data): New variable.
16345 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
16346 (exp_tonearest_test_data): New variable.
16347 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16348 (exp_towardzero_test_data): New variable.
16349 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16350 (exp_downward_test_data): New variable.
16351 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16352 (exp_upward_test_data): New variable.
16353 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16354 (exp10_test_data): New variable.
16355 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
16356 (exp2_test_data): New variable.
16357 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
16358 (expm1_test_data): New variable.
16359 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
16360 (fabs_test_data): New variable.
16361 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
16362 (floor_test_data): New variable.
16363 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
16364 (j0_test_data): New variable.
16365 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
16366 (j1_test_data): New variable.
16367 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
16368 (log_test_data): New variable.
16369 (log_test): Run tests with RUN_TEST_LOOP_f_f.
16370 (log10_test_data): New variable.
16371 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
16372 (log1p_test_data): New variable.
16373 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
16374 (log2_test_data): New variable.
16375 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
16376 (logb_test_data): New variable.
16377 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
16378 (logb_downward_test_data): New variable.
16379 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16380 (nearbyint_test_data): New variable.
16381 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
16382 (rint_test_data): New variable.
16383 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
16384 (rint_tonearest_test_data): New variable.
16385 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16386 (rint_towardzero_test_data): New variable.
16387 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16388 (rint_downward_test_data): New variable.
16389 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16390 (rint_upward_test_data): New variable.
16391 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16392 (round_test_data): New variable.
16393 (round_test): Run tests with RUN_TEST_LOOP_f_f.
16394 (sin_test_data): New variable.
16395 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
16396 (sin_tonearest_test_data): New variable.
16397 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16398 (sin_towardzero_test_data): New variable.
16399 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16400 (sin_downward_test_data): New variable.
16401 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16402 (sin_upward_test_data): New variable.
16403 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16404 (sinh_test_data): New variable.
16405 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
16406 (sinh_tonearest_test_data): New variable.
16407 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16408 (sinh_towardzero_test_data): New variable.
16409 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16410 (sinh_downward_test_data): New variable.
16411 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16412 (sinh_upward_test_data): New variable.
16413 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16414 (sqrt_test_data): New variable.
16415 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
16416 (tan_test_data): New variable.
16417 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
16418 (tan_tonearest_test_data): New variable.
16419 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16420 (tan_towardzero_test_data): New variable.
16421 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16422 (tan_downward_test_data): New variable.
16423 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16424 (tan_upward_test_data): New variable.
16425 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16426 (tanh_test_data): New variable.
16427 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
16428 (tgamma_test_data): New variable.
16429 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
16430 (trunc_test_data): New variable.
16431 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
16432 (y0_test_data): New variable.
16433 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
16434 (y1_test_data): New variable.
16435 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
16436 (significand_test_data): New variable.
16437 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
16439 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
16442 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
16444 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
16446 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
16448 2013-05-10 Andreas Jaeger <aj@suse.de>
16451 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
16452 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
16454 2013-05-10 Joseph Myers <joseph@codesourcery.com>
16456 * math/gen-libm-test.pl (adjust_arg): New function.
16457 (special_functions): Handle generating output in both functions
16459 (parse_args): Likewise.
16460 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
16461 $in_func argument to parse_args.
16462 * math/libm-test.inc (struct test_f_f_data): New type.
16463 (IF_ROUND_INIT_): New macro.
16464 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
16465 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
16466 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
16467 (IF_ROUND_INIT_FE_UPWARD): Likewise.
16468 (ROUND_RESTORE_): Likewise.
16469 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
16470 (ROUND_RESTORE_FE_TONEAREST): Likewise.
16471 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
16472 (ROUND_RESTORE_FE_UPWARD): Likewise.
16473 (RUN_TEST_LOOP_f_f): New macro.
16474 (acos_test_data): New variable.
16475 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
16476 (acos_tonearest_test_data): New variable.
16477 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16479 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16481 * benchtests/bench-skeleton.c (startup): Fix coding style.
16483 2013-05-10 Joseph Myers <joseph@codesourcery.com>
16486 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
16487 negative infinity argument.
16488 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
16489 negative infinity argument.
16490 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
16491 negative infinity argument.
16492 * math/libm-test.inc (tgamma_test): Expect errno to be set for
16495 2013-05-10 Florian Weimer <fweimer@redhat.com>
16497 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
16498 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
16499 * iconv/iconv_prog.c (main): Likewise.
16500 * locale/programs/charmap-dir.c (charmap_readdir)
16501 (fopen_uncompressed): Likewise.
16502 * locale/programs/locfile.c (siblings_uncached)
16503 (write_locale_data): Use lstat64 instead of lstat.
16504 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
16507 2013-05-10 Andreas Jaeger <aj@suse.de>
16510 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
16512 Include <locale.h>.
16514 2013-05-09 Carlos O'Donell <carlos@redhat.com>
16516 * elf/dl-close.c (_dl_close_worker): Add comments.
16518 2013-05-09 Joseph Myers <joseph@codesourcery.com>
16521 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
16523 (__ieee754_rem_pio2l): Update comments.
16526 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
16528 (__ieee754_rem_pio2l): Update comments.
16530 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
16531 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
16533 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
16536 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
16537 (M_PI_34_LOG10El): Likewise.
16538 (M_PI2_LOG10El): Likewise.
16539 (M_PI4_LOG10El): Likewise.
16540 (M_PI_LOG10El): Likewise.
16542 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16544 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16546 2013-05-08 Joseph Myers <joseph@codesourcery.com>
16548 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
16549 (MINUS_ZERO_INIT): Likewise.
16550 (PLUS_INFTY_INIT): Likewise.
16551 (MINUS_INFTY_INIT): Likewise.
16552 (QNAN_VALUE_INIT): Likewise.
16553 (MAX_VALUE_INIT): Likewise.
16554 (MIN_VALUE_INIT): Likewise.
16555 (MIN_SUBNORM_VALUE_INIT): Likewise.
16556 (plus_zero): Initialize with PLUS_ZERO_INIT.
16557 (minus_zero): Initialize with MINUS_ZERO_INIT.
16558 (plus_infty): Initialize with PLUS_INFTY_INIT.
16559 (minus_infty): Initialize with MINUS_INFTY_INIT.
16560 (qnan_value): Initialize with QNAN_VALUE_INIT.
16561 (max_value): Initialize with MAX_VALUE_INIT.
16562 (min_value): Initialize with MIN_VALUE_INIT.
16563 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
16565 * math/libm-test.inc (RUN_TEST_if_f): New macro.
16566 (jn_test): Use TEST_if_f instead of TEST_ff_f.
16567 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
16568 (yn_test): Use TEST_if_f instead of TEST_ff_f.
16570 * math/libm-test.inc (RUN_TEST_f_f): New macro.
16571 (RUN_TEST_2_f): Likewise.
16572 (RUN_TEST_ff_f): Likewise.
16573 (RUN_TEST_fi_f): Likewise.
16574 (RUN_TEST_fl_f): Likewise.
16575 (RUN_TEST_fff_f): Likewise.
16576 (RUN_TEST_c_f): Likewise.
16577 (RUN_TEST_f_f1): Likewise.
16578 (RUN_TEST_fF_f1): Likewise.
16579 (RUN_TEST_fI_f1): Likewise.
16580 (RUN_TEST_ffI_f1): Likewise.
16581 (RUN_TEST_c_c): Likewise.
16582 (RUN_TEST_cc_c): Likewise.
16583 (RUN_TEST_f_i): Likewise.
16584 (RUN_TEST_f_i_tg): Likewise.
16585 (RUN_TEST_ff_i_tg): Likewise.
16586 (RUN_TEST_f_b): Likewise.
16587 (RUN_TEST_f_b_tg): Likewise.
16588 (RUN_TEST_f_l): Likewise.
16589 (RUN_TEST_f_L): Likewise.
16590 (RUN_TEST_sincos): Likewise.
16591 * math/gen-libm-test.pl (new_test): Take new argument to indicate
16592 whether to show exceptions. Do not include ");\n" in return
16594 (special_functions): Output call to RUN_TEST_sincos instead of
16595 check_float calls. Update calls to new_test.
16596 (parse_args): Output call to single RUN_TEST_* macro instead of
16597 check_* calls and other assignments. Update calls to new_test.
16603 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
16604 input to result for tgamma overflow.
16605 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
16606 (gamma_coeff): New variable.
16607 (NCOEFF): New macro.
16608 (gamma_positive): New function.
16609 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
16610 underflow here. Use gamma_positive instead of exp (lgamma) for
16612 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
16613 (gamma_coeff): New variable.
16614 (NCOEFF): New macro.
16615 (gammaf_positive): New function.
16616 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
16617 underflow here. Use gamma_positive instead of exp (lgamma) for
16619 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
16620 (gamma_coeff): New variable.
16621 (NCOEFF): New macro.
16622 (gammal_positive): New function.
16623 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
16624 underflow here. Use gamma_positive instead of exp (lgamma) for
16626 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
16627 (gamma_coeff): New variable.
16628 (NCOEFF): New macro.
16629 (gammal_positive): New function.
16630 (__ieee754_gammal_r): Handle positive infinity, overflow and
16631 underflow here. Handle NaN the same as positive infinity. Remove
16632 check x < 0xffffffff for negative integers. Use gamma_positive
16633 instead of exp (lgamma) for other arguments.
16634 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
16635 (gamma_coeff): New variable.
16636 (NCOEFF): New macro.
16637 (gammal_positive): New function.
16638 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
16639 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
16640 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
16641 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
16642 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
16643 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
16644 * sysdeps/generic/math_private.h (__gamma_productf): New
16646 (__gamma_product): Likewise.
16647 (__gamma_productl): Likewise.
16648 * math/Makefile (libm-calls): Add gamma_product.
16649 * math/libm-test.inc (tgamma_test): Add more tests.
16650 * sysdeps/i386/fpu/libm-test-ulps: Update.
16651 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16653 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
16655 * benchtests/bench-skeleton.c (main): Preheat CPU.
16657 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
16659 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
16661 2013-05-07 Roland McGrath <roland@hack.frob.com>
16663 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
16664 and _dl_skip_args_internal.
16666 2013-05-07 Carlos O'Donell <carlos@redhat.com>
16668 * manual/message.texi (Message Translation): Talk about users.
16669 Message to key mapping impacts design.
16671 2013-05-06 Roland McGrath <roland@hack.frob.com>
16673 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
16675 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
16677 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
16678 * sysdeps/wordsize-64/glob64.c: ... here.
16680 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
16681 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
16684 * debug/getlogin_r_chk.c: Moved to ...
16685 * login/getlogin_r_chk.c: ... here.
16686 * debug/Makefile (routines): Move getlogin_r_chk to ...
16687 * login/Makefile (routines): ... here.
16688 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
16689 * login/Versions (libc: GLIBC_2.4): ... here.
16691 * io/poll.c (__poll): Renamed from poll.
16692 Add libc_hidden_def.
16693 (poll): Define as weak alias.
16695 * debug/ptsname_r_chk.c: Moved to ...
16696 * login/ptsname_r_chk.c: ... here.
16697 * debug/Makefile (routines): Move ptsname_r_chk to ...
16698 * login/Makefile (routines): ... here.
16699 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
16700 * login/Versions (libc: GLIBC_2.4): ... here.
16702 * posix/getlogin.c: Moved to ...
16703 * login/getlogin.c: ... here.
16704 * posix/getlogin_r.c: Moved to ...
16705 * login/getlogin_r.c: ... here.
16706 * posix/getlogin_r.c: Moved to ...
16707 * login/getlogin_r.c: ... here.
16708 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
16709 * login/Makefile (routines): ... here.
16710 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
16711 * login/Versions (libc: GLIBC_2.0): ... here.
16713 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
16714 (setrlimit): Define as weak alias.
16716 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
16717 Call __ names for open, ftruncate, and close.
16718 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
16719 (truncate): Define as weak alias.
16721 2013-05-06 Joseph Myers <joseph@codesourcery.com>
16723 * math/gen-libm-test.pl (parse_args): Initialize x before each
16724 test of frexp, modf and remquo.
16726 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
16727 test signgam value.
16729 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16733 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
16735 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16737 2013-05-06 Roland McGrath <roland@hack.frob.com>
16739 * elf/dl-writev.h: New file.
16740 * elf/dl-misc.c: Include it.
16741 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
16742 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
16744 2013-05-04 Joseph Myers <joseph@codesourcery.com>
16746 * math/libm-test.inc (noXFails): Remove variable.
16747 (noXPasses): Likewise.
16748 (BUILD_COMPLEX_INT): Remove macro.
16749 (print_screen): Remove xfail argument.
16750 (print_screen_max_error): Likewise.
16751 (update_stats): Likewise.
16752 (print_max_error): Likewise. Update calls to other affected
16754 (print_complex_max_error): Likewise.
16755 (test_single_exception): Update calls to print_screen.
16756 (test_single_errno): Likewise.
16757 (check_float_internal): Remove xfail argument. Update calls to
16758 other affected functions.
16759 (check_float): Likewise.
16760 (check_complex): Likewise.
16761 (check_int): Likewise.
16762 (check_long): Likewise.
16763 (check_bool): Likewise.
16764 (check_longlong): Likewise.
16765 (main): Don't print noXFails and noXPasses.
16766 * math/gen-libm-test.pl (top level): Don't mention expected
16767 failure handling in comment.
16768 (new_test): Don't handle expected failures.
16769 (parse_args): Don't mention expected failure handling in comment.
16770 (generate_testfile): Don't handle expected failures.
16771 (parse_ulps): Likewise.
16772 (print_ulps_file): Likewise.
16773 (get_failure): Remove function.
16774 (output_test): Don't handle expected failures.
16775 * make/README.libm-test: Don't mention expected failure handling.
16777 * math/libm-test.inc (plus_zero): Make const. Add initializer.
16778 (minus_zero): Likewise.
16779 (plus_infty): Likewise.
16780 (minus_infty): Likewise.
16781 (qnan_value): Likewise.
16782 (max_value): Likewise.
16783 (min_value): Likewise.
16784 (min_subnorm_value): Likewise.
16785 (initialize): Do not initialize those variables dynamically.
16787 2013-05-03 Roland McGrath <roland@hack.frob.com>
16789 * io/open.c (__open_2): Moved to ...
16790 * io/open_2.c: ... this new file.
16791 * io/open64.c (__open64_2): Moved to ...
16792 * io/open64_2.c: ... this new file.
16793 * io/openat.c (__openat_2): Moved to ...
16794 * io/openat_2.c: ... this new file.
16795 * io/openat64.c (__openat64_2): Moved to ...
16796 * io/openat64_2.c: ... this new file.
16797 * io/Makefile (routines): Add them.
16798 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
16799 * sysdeps/unix/sysv/linux/open_2.c: File removed.
16800 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
16801 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
16802 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
16803 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
16804 (__openat64): Add hidden_ver.
16805 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
16806 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
16808 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
16809 Separately conditionalize setting of GLRO(dl_sysinfo) so
16810 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
16811 as well, but the actual setting is only under [NEED_DL_SYSINFO].
16813 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16815 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
16816 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
16818 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
16819 * sysdeps/unix/sysv/linux/powerpc/init-first.c
16820 (_libc_vdso_platform_setup): Add __vdso_time initialization.
16821 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
16822 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
16824 2013-05-03 Joseph Myers <joseph@codesourcery.com>
16826 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
16827 test signgam value.
16829 * math/libm-test.inc (hypot_test): Do not use
16830 IGNORE_ZERO_INF_SIGN.
16832 2013-05-03 Andreas Jaeger <aj@suse.de>
16834 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
16836 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
16837 (PF_MAX): Adjust for VSOCK change.
16839 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16841 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16843 2013-05-02 Carlos O'Donell <carlos@redhat.com>
16846 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
16847 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
16848 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
16850 2013-05-02 David S. Miller <davem@davemloft.net>
16852 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16854 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
16856 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
16858 2013-05-01 Roland McGrath <roland@hack.frob.com>
16860 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
16862 2013-05-01 Richard Smith <richard@metafoo.co.uk>
16865 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
16866 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
16867 Use __attribute__ ((__gnu_inline__)).
16868 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
16869 Don't use __attribute__ ((__gnu_inline__)).
16871 2013-05-01 Joseph Myers <joseph@codesourcery.com>
16874 * math/s_catan.c (__catan): Handle small real or imaginary part of
16875 input specially to avoid spurious underflow.
16876 * math/s_catanf.c (__catanf): Likewise.
16877 * math/s_catanh.c (__catanh): Likewise.
16878 * math/s_catanhf.c (__catanhf): Likewise.
16879 * math/s_catanhl.c (__catanhl): Likewise.
16880 * math/s_catanl.c (__catanl): Likewise.
16881 * math/libm-test.inc (catan_test): Add more tests.
16882 (catanh_test): Likewise.
16883 * sysdeps/i386/fpu/libm-test-ulps: Update.
16884 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16886 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16888 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16890 2013-04-30 Joseph Myers <joseph@codesourcery.com>
16893 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
16894 accurately for denominator in atan2.
16895 * math/s_catanf.c (__catanf): Likewise.
16896 * math/s_catanh.c (__catanh): Likewise.
16897 * math/s_catanhf.c (__catanhf): Likewise.
16898 * math/s_catanhl.c (__catanhl): Likewise.
16899 * math/s_catanl.c (__catanl): Likewise.
16900 * math/libm-test.inc (catan_test): Add more tests.
16901 (catanh_test): Likewise.
16902 * sysdeps/i386/fpu/libm-test-ulps: Update.
16903 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16905 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16907 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
16909 * benchtests/Makefile (bench): Remove slow benchmarks.
16910 * benchtests/atan-inputs: Add slow benchmark inputs.
16911 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
16912 (BENCH_FUNC): Accept variant offset.
16914 * benchtests/bench-skeleton.c (main): Run benchmark for each
16916 * benchtests/cos-inputs: Add slow benchmark inputs.
16917 * benchtests/exp-inputs: Likewise.
16918 * benchtests/pow-inputs: Likewise.
16919 * benchtests/sin-inputs: Likewise.
16920 * benchtests/slowatan-inputs: Remove.
16921 * benchtests/slowatan.c: Remove.
16922 * benchtests/slowcos-inputs: Remove.
16923 * benchtests/slowcos.c: Remove.
16924 * benchtests/slowexp-inputs: Remove.
16925 * benchtests/slowexp.c: Remove.
16926 * benchtests/slowpow-inputs: Remove.
16927 * benchtests/slowpow.c: Remove.
16928 * benchtests/slowsin-inputs: Remove.
16929 * benchtests/slowsin.c: Remove.
16930 * benchtests/slowtan-inputs: Remove.
16931 * benchtests/slowtan.c: Remove.
16932 * benchtests/tan-inputs: Add slow benchmark inputs.
16933 * scripts/bench.pl: Parse comments and directives.
16935 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
16937 ($(objpfx)bench-%.c): Remove *-ITER.
16938 * benchtests/bench-modf.c: Remove definition of ITER.
16939 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
16940 (main): Loop for DURATION seconds instead of fixed number of
16942 * scripts/bench.pl: Don't expect iterations in parameters.
16944 2013-04-29 Roland McGrath <roland@hack.frob.com>
16946 * io/fchdir.c (__fchdir): Renamed from fchdir.
16947 (fchdir): Define as weak alias.
16949 2013-04-29 Joseph Myers <joseph@codesourcery.com>
16951 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
16952 (ERRNO_EDOM): Likewise.
16953 (ERRNO_ERANGE): Likewise.
16954 (noErrnoTests): New variable.
16955 (init_max_error): Set errno to 0.
16956 (test_single_errno): New function.
16957 (test_errno): Likewise.
16958 (check_float_internal): Call test_errno. Set errno to 0.
16959 (check_complex): Refer to errno tests in comment.
16960 (check_int): Call test_errno. Set errno to 0.
16961 (check_long): Likewise.
16962 (check_bool): Likewise.
16963 (check_longlong): Likewise.
16964 (cos_test): Use ERRNO_* flags for errno tests instead of
16966 (expm1_test): Likewise.
16967 (fmod_test): Likewise.
16968 (ilogb_test): Likewise.
16969 (lgamma_test): Likewise.
16970 (pow_test): Likewise.
16971 (remainder_test): Likewise.
16972 (sin_test): Likewise.
16973 (tan_test): Likewise.
16974 (yn_test): Likewise.
16975 (initialize): Set errno to 0.
16976 (main): Print number of errno tests.
16977 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
16979 2013-04-29 Andreas Jaeger <aj@suse.de>
16982 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
16986 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
16987 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
16991 * stdlib/random.c (__initstate): Return NULL if
16995 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
16996 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
16999 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17001 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17003 2013-04-29 Joseph Myers <joseph@codesourcery.com>
17005 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
17006 of individual tests.
17007 (casin_test): Likewise.
17008 (casinh_test): Likewise.
17010 2013-04-27 Joseph Myers <joseph@codesourcery.com>
17013 * math/s_catan.c (__catan): Handle arguments with large real or
17014 imaginary part separately without squaring.
17015 * math/s_catanf.c (__catanf): Likewise.
17016 * math/s_catanh.c (__catanh): Likewise.
17017 * math/s_catanhf.c (__catanhf): Likewise.
17018 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
17020 (__catanhl): Handle arguments with large real or imaginary part
17021 separately without squaring.
17022 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
17024 (__catanl): Handle arguments with large real or imaginary part
17025 separately without squaring.
17026 * math/libm-test.inc (catan_test): Add more tests.
17027 (catanh_test): Likewise.
17028 * sysdeps/i386/fpu/libm-test-ulps: Update.
17029 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17031 2013-04-27 Andreas Jaeger <aj@suse.de>
17034 * stdlib/stdlib.h: Update guards for qecvt.
17035 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
17038 2013-04-27 Allan McRae <allan@archlinux.org>
17040 * sysdeps/i386/fpu/libm-test-ulps: Update.
17042 2013-04-26 Joseph Myers <joseph@codesourcery.com>
17045 * math/s_catan.c: Include <float.h>.
17046 (__catan): Ensure underflow exception occurs for underflowed
17048 * math/s_catanf.c: Include <float.h>.
17049 (__catanf): Ensure underflow exception occurs for underflowed
17051 * math/s_catanh.c: Include <float.h>.
17052 (__catanh): Ensure underflow exception occurs for underflowed
17054 * math/s_catanhf.c: Include <float.h>.
17055 (__catanhf): Ensure underflow exception occurs for underflowed
17057 * math/s_catanhl.c: Include <float.h>.
17058 (__catanhl): Ensure underflow exception occurs for underflowed
17060 * math/s_catanl.c: Include <float.h>.
17061 (__catanl): Ensure underflow exception occurs for underflowed
17063 * math/libm-test.inc (catan_test): Add more tests.
17064 (catanh_test): Likewise.
17067 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
17068 underflowed result.
17069 * math/s_ccoshf.c (__ccoshf): Likewise.
17070 * math/s_ccoshl.c (__ccoshl): Likewise.
17071 * math/s_csin.c (__csin): Likewise.
17072 * math/s_csinf.c (__csinf): Likewise.
17073 * math/s_csinh.c (__csinh): Likewise.
17074 * math/s_csinhf.c (__csinhf): Likewise.
17075 * math/s_csinhl.c (__csinhl): Likewise.
17076 * math/s_csinl.c (__csinl): Likewise.
17077 * math/libm-test.inc (ccos_test): Add more tests.
17078 (ccosh_test): Likewise.
17079 (csin_test): Likewise.
17080 (csinh_test): Likewise.
17082 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17084 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
17085 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
17086 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
17087 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
17088 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
17089 powerpc/power5+/fpu folders.
17090 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
17093 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
17095 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17097 2013-04-25 Joseph Myers <joseph@codesourcery.com>
17099 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
17100 additions to variable.
17101 [$(config-machine) = x86_64] (modules-names): Likewise.
17102 ($(objpfx)tst-audit3): Remove dependency.
17103 ($(objpfx)tst-audit3.out): Likewise.
17104 ($(objpfx)tst-audit4): Likewise.
17105 ($(objpfx)tst-audit4.out): Likewise.
17106 ($(objpfx)tst-audit5): Likewise.
17107 ($(objpfx)tst-audit5.out): Likewise.
17108 ($(objpfx)tst-audit6): Likewise.
17109 ($(objpfx)tst-audit6.out): Likewise.
17110 ($(objpfx)tst-audit7): Likewise.
17111 ($(objpfx)tst-audit7.out): Likewise.
17112 (tst-audit3-ENV): Remove variable.
17113 (tst-audit4-ENV): Likewise.
17114 (tst-audit5-ENV): Likewise.
17115 (tst-audit6-ENV): Likewise.
17116 (tst-audit7-ENV): Likewise.
17117 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
17118 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
17119 addition to variable.
17120 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
17121 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
17122 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
17123 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
17124 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
17125 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
17126 tst-audit3, tst-audit4 and tst-audit5.
17127 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
17128 tst-audit6 and tst-audit7.
17129 [$(subdir) = elf] (modules-names): Add audit modules for those
17131 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
17132 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
17133 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
17134 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
17135 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
17136 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
17137 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
17138 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
17139 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
17140 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
17141 [$(subdir) = elf] (tst-audit3-ENV): New variable.
17142 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
17143 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
17144 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
17145 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
17146 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
17148 [$(subdir) = elf && $(config-cflags-avx) = yes]
17149 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
17150 [$(subdir) = elf && $(config-cflags-avx) = yes]
17151 (CFLAGS-tst-auditmod4a.c): Likewise.
17152 [$(subdir) = elf && $(config-cflags-avx) = yes]
17153 (CFLAGS-tst-auditmod4b.c): Likewise.
17154 [$(subdir) = elf && $(config-cflags-avx) = yes]
17155 (CFLAGS-tst-auditmod6b.c): Likewise.
17156 [$(subdir) = elf && $(config-cflags-avx) = yes]
17157 (CFLAGS-tst-auditmod6c.c): Likewise.
17158 [$(subdir) = elf && $(config-cflags-avx) = yes]
17159 (CFLAGS-tst-auditmod7b.c): Likewise.
17160 * elf/tst-audit3.c: Move to ...
17161 * sysdeps/x86_64/tst-audit3.c: ... here.
17162 * elf/tst-audit4.c: Move to ...
17163 * sysdeps/x86_64/tst-audit4.c: ... here.
17164 * elf/tst-audit5.c: Move to ...
17165 * sysdeps/x86_64/tst-audit5.c: ... here.
17166 * elf/tst-audit6.c: Move to ...
17167 * sysdeps/x86_64/tst-audit6.c: ... here.
17168 * elf/tst-audit7.c: Move to ...
17169 * sysdeps/x86_64/tst-audit7.c: ... here.
17170 * elf/tst-auditmod3a.c: Move to ...
17171 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
17172 * elf/tst-auditmod3b.c: Move to ...
17173 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
17174 * elf/tst-auditmod4a.c: Move to ...
17175 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
17176 * elf/tst-auditmod4b.c: Move to ...
17177 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
17178 * elf/tst-auditmod5a.c: Move to ...
17179 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
17180 * elf/tst-auditmod5b.c: Move to ...
17181 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
17182 * elf/tst-auditmod6a.c: Move to ...
17183 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
17184 * elf/tst-auditmod6b.c: Move to ...
17185 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
17186 * elf/tst-auditmod6c.c: Move to ...
17187 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
17188 * elf/tst-auditmod7a.c: Move to ...
17189 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
17190 * elf/tst-auditmod7b.c: Move to ...
17191 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
17193 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
17196 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
17197 define unconditionally.
17198 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
17199 define unconditionally.
17200 (INT8_C, INT16_C, etc.): Likewise.
17202 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
17204 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
17205 __ehdr_start with hidden visibility.
17207 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
17209 2013-04-24 Carlos O'Donell <carlos@redhat.com>
17211 * math/libm-test.inc (cos_test): Use accurate hex constants.
17212 (sincost_test): Likewise.
17214 2013-04-24 Joseph Myers <joseph@codesourcery.com>
17216 * math/libm-test.inc (catan_test): Add more tests.
17217 (catanh_test): Likewise.
17219 * math/s_catanf.c (__catanf): Use suffixed floating-point
17221 * math/s_catanhf.c (__catanhf): Likewise.
17222 * math/s_catanhl.c (__catanhl): Likewise.
17223 * math/s_catanl.c (__catanl): Likewise.
17226 * math/s_catan.c (__catan): Calculate imaginary part of result
17227 with log1p not log unless computing log of number close to 0.
17228 * math/s_catanf.c (__catanf): Likewise.
17229 * math/s_catanl.c (__catanl): Likewise.
17230 * math/s_catanh.c (__catanh): Calculate real part of result with
17231 log1p not log unless computing log of number close to 0.
17232 * math/s_catanhf.c (__catanhf): Likewise.
17233 * math/s_catanhl.c (__catanhl): Likewise.
17234 * math/libm-test.inc (catan_test): Add more tests.
17235 (catanh_test): Likewise.
17236 * sysdeps/i386/fpu/libm-test-ulps: Update.
17237 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17239 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
17241 * benchtests/Makefile: Mention files in which fast and slow
17242 paths of math functions are implemented.
17244 2013-04-23 Roland McGrath <roland@hack.frob.com>
17246 * sysdeps/posix/timespec_get.c: New file.
17248 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17250 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
17252 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
17254 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
17255 powerpc/power5/fpu folders.
17256 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
17257 * benchtests/Makefile: Add modf testcase.
17258 * benchtests/bench-modf.c: New file: Benchmark test for mo
17260 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
17263 * time/Makefile (tests): Add tst-strptime-whitespace.
17264 * time/strptime_l.c (get_number): Use ISSPACE.
17265 (__strptime_internal): Likewise.
17266 * time/tst-strptime-whitespace.c: New test case.
17268 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
17270 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
17272 (_nss_files_init): Set it here.
17274 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
17276 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
17277 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
17280 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
17282 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
17284 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
17286 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
17289 2013-04-21 David S. Miller <davem@davemloft.net>
17291 * po/ru.po: Update Russion translation from translation project.
17293 2013-04-17 Adam Conrad <adconrad@0c3.net>
17295 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
17298 2013-04-17 Carlos O'Donell <carlos@redhat.com>
17300 * configure.in: Remove i386 configure warning. Remove i386 case.
17301 * configure: Regenerate.
17302 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
17303 Add example to error message.
17304 * sysdeps/i386/configure: Regenerate.
17306 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
17308 * benchtests/Makefile (bench): Add cos, tan, slowcos and
17310 * benchtests/cos-inputs: New file.
17311 * benchtests/slowcos-inputs: New file.
17312 * benchtests/slowcos.c: New file.
17313 * benchtests/slowtan-inputs: New file.
17314 * benchtests/slowtan.c: New file.
17315 * benchtests/tan-inputs: New file.
17317 2013-04-16 Roland McGrath <roland@hack.frob.com>
17319 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
17322 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17324 * benchtests/Makefile: Include cppflags-iterator.mk to add
17325 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
17327 * Makefile.in (bench-clean): New target.
17328 * benchtests/Makefile (bench-clean): Likewise.
17330 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
17332 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
17334 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
17336 * stdio-common/tstdiomisc.c: Fix coding-style violation.
17338 2013-04-15 Andreas Schwab <schwab@suse.de>
17340 * nscd/grpcache.c (cache_addgr): Properly check for short write.
17341 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17342 * nscd/pwdcache.c (cache_addpw): Likewise.
17343 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
17346 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17348 * benchtests/Makefile (bench): Write all output to
17349 bench-out.tmp together.
17351 2013-04-15 Andreas Schwab <schwab@suse.de>
17353 * nscd/nscd.c (main): Don't fork again after closing files.
17355 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17357 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
17359 * benchtests/Rules (bench-deps): Collect dependencies into a
17360 single variable. Add Makefile to dependencies.
17361 ($(objpfx)bench-%.c): Depend on bench-deps.
17363 2013-04-12 Roland McGrath <roland@hack.frob.com>
17364 Xavier Roche <roche+kml2@exalead.com>
17367 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
17368 just that it's a file descriptor.
17369 * manual/llio.texi (Synchronizing AIO Operations): Update description
17370 for EBADF error from aio_fsync.
17372 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
17374 * Rules (bench): Move target definition...
17375 * benchtests/Makefile: ... here.
17377 2013-04-11 Carlos O'Donell <carlos@redhat.com>
17379 * math/libm-test.inc (cos_test): Fix PI/2 test.
17380 (sincos_test): Likewise.
17381 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
17382 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
17384 2013-04-11 Andreas Schwab <schwab@suse.de>
17387 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
17388 accept exponent character only when digits were seen.
17389 * stdio-common/Makefile (tests): Add bug26.
17390 * stdio-common/bug26.c: New file.
17393 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
17396 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17398 * Makeconfig (rtld-prefix): Define built linker prefix.
17399 * Rules (run-bench): Use it.
17400 * math/Makefile (run-regen-ulps): Likewise.
17402 * Rules (bench): Remove eval.
17404 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17405 Roland McGrath <roland@hack.frob.com>
17406 Ondrej Bilka <neleai@seznam.cz>
17409 * time/getdate.c: Include ctype.h and alloca.h.
17410 (__getdate_r): Trim leading and trailing spaces of input.
17411 * time/tst-getdate.c (tests): Add tests with leading and
17414 2013-04-08 Roland McGrath <roland@hack.frob.com>
17417 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
17418 when computing value.
17420 2013-04-06 Carlos O'Donell <carlos@redhat.com>
17422 * math/README.libm-test (How can I generate "libm-test-ulps"?):
17423 Use testrun.sh to run libm tests.
17426 * elf/dl-open.c (dl_open_worker): memset all of seen array.
17428 2013-04-06 Marko Myllynen <myllynen@redhat.com>
17431 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
17433 2013-04-06 Carlos O'Donell <carlos@redhat.com>
17435 * Makefile.in (regen-ulps): New target.
17436 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
17437 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
17438 [ifneq (no,$(PERL)] (regen-ulps): New target.
17439 [ifeq (no,$(PERL)] (regen-ulps): New target.
17440 * math/libm-test.inc (ulps_file_name): Define.
17441 (output_dir): New variable.
17442 (options): Add "output-dir" option.
17443 (parse_opt): Handle 'o' case.
17444 (main): If output_dir is non-NULL use it as a prefix
17446 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
17448 2013-04-06 Carlos O'Donell <carlos@redhat.com>
17450 [BZ #10060, #10062]
17451 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
17452 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
17453 fail configure if __sync_val_compare_and_swap is not inlined.
17454 * sysdeps/i386/configure: Regenerate.
17455 * configure.in: Build for i686 when configured for i386.
17456 * configure: Regenerate.
17457 * README: Remove i386 reference.
17459 2013-04-06 Carlos O'Donell <carlos@redhat.com>
17461 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
17462 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17464 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
17466 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
17467 (lmsnanval): New variables.
17468 (F): Add conversion tests.
17469 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
17470 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
17472 * stdio-common/tstdiomisc.c (F): Properly collect individual
17475 [BZ #14686, #15336]
17476 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
17477 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
17478 Instead, use input NaN values or generate a qNaN by arithmetic
17479 operation. Also fix bugs to comply with the standard.
17480 * math/libm-test.inc (remainder_test): Add more tests.
17482 [BZ #15335, #15342]
17483 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
17484 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
17485 input NaN values or generate a qNaN by arithmetic operation.
17487 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
17490 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
17493 2013-04-03 Joseph Myers <joseph@codesourcery.com>
17496 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
17497 underflowed result.
17498 * math/s_cexpf.c (__cexpf): Likewise.
17499 * math/s_cexpl.c (__cexpl): Likewise.
17500 * math/libm-test.inc (cexp_test): Add more tests.
17502 2013-04-03 Andreas Schwab <schwab@suse.de>
17505 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
17506 order arrays from heap if bigger than alloca cutoff.
17508 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
17510 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
17511 (SNAN_TESTS_double): Refer to GCC PR56831.
17512 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
17515 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
17517 * Rules (bench): Move bench.out after the run is complete.
17519 * Rules (bench): Echo currently running benchmark.
17521 * benchtests/Makefile (bench): Add atan and slowatan.
17522 * benchtests/atan-inputs: New file.
17523 * benchtests/slowatan-inputs: New file.
17524 * benchtests/slowatan.c: New file.
17526 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
17527 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
17531 * sysdeps/unix/sysv/linux/kernel-features.h
17532 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
17533 __ASSUME_XFS_RESTRICTED_CHOWN.
17534 * sysdeps/unix/sysv/linux/pathconf.c
17535 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
17536 Save and restore errno.
17538 2013-04-02 Joseph Myers <joseph@codesourcery.com>
17541 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
17542 arguments using __kernel_casinh.
17543 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
17544 arguments using __kernel_casinhf.
17545 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
17546 arguments using __kernel_casinhl.
17547 * math/libm-test.inc (cacosh_test): Add more tests.
17548 * sysdeps/i386/fpu/libm-test-ulps: Update.
17549 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17551 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17553 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
17554 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
17556 * bench/Makefile (bench): Add sin and slowsin.
17557 * benchtests/sin-inputs: New file.
17558 * benchtests/slowsin-inputs: New file.
17559 * benchtests/slowsin.c: New file.
17561 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
17562 (bench): Add slowexp and slowpow.
17563 (exp-ITER): Increase iterations.
17564 (pow-ITER): Likewise.
17565 * benchtests/exp-inputs: Change input.
17566 * benchtests/pow-inputs: Likewise.
17567 * benchtests/slowexp-inputs: New file.
17568 * benchtests/slowexp.c: New file.
17569 * benchtests/slowpow-inputs: New file.
17570 * benchtests/slowpow.c: New file.
17572 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17574 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
17576 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
17577 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
17578 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
17579 * benchtests/Makefile: Add rint benchtest.
17580 * benchtests/rint-inputs: Input for rint benchtest.
17582 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
17584 * Versions.def (libm): Add GLIBC_2.18.
17585 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
17586 hidden libm prototypes.
17587 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
17588 * math/Makefile (libm-calls): Add s_issignaling.
17589 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
17590 __issignalingf, __issignalingl. Adjust all libm.abilist files.
17591 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
17593 * math/math.h [__USE_GNU] (issignaling): New macro.
17594 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
17595 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
17596 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
17597 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
17598 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
17599 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
17600 * manual/arith.texi (issignaling): New section.
17601 * manual/libm-err-tab.pl (@all_functions): Update comment.
17602 * math/gen-libm-test.pl (parse_args): Apply special handling for
17604 * math/libm-test.inc (print_float, issignaling_test): New
17606 (check_float_internal): Add issignaling checks.
17607 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
17608 default definition.
17609 * sysdeps/powerpc/math-tests.h: New file.
17610 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
17612 * math/test-snan.c (TEST_FUNC): Likewise.
17614 2013-03-30 David S. Miller <davem@davemloft.net>
17616 * po/de.po: Update from translation team.
17618 2013-03-30 Joseph Myers <joseph@codesourcery.com>
17621 * math/k_casinh.c (__kernel_casinh): Handle arguments with
17622 imaginary part less than 1.0 and real part less than 0.5
17624 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17625 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17626 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
17627 (cacos_test): Add more tests.
17628 (casin_test): Likewise.
17629 (casinh_test): Likewise.
17630 * sysdeps/i386/fpu/libm-test-ulps: Update.
17631 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17633 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17635 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
17636 ONE with its value.
17638 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
17639 (__pow_mp): Replace ONE and MONE with their values.
17640 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17641 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
17642 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
17643 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
17644 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17645 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
17647 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
17649 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
17650 (__pow_mp): Replace ZERO and MZERO with their values.
17651 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
17652 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17653 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
17654 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
17655 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17656 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
17659 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
17661 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
17663 2013-03-28 Roland McGrath <roland@hack.frob.com>
17665 * include/stdlib.h [!SHARED] (__call_tls_dtors):
17666 Declare with __attribute__ ((weak)).
17667 * stdlib/exit.c (__libc_atexit) [!SHARED]:
17668 Call __call_tls_dtors only if it's not NULL.
17670 2013-03-28 Roland McGrath <roland@hack.frob.com>
17672 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
17673 didn't do it already, then set _dl_phdr and _dl_phnum based on the
17674 magic __ehdr_start linker symbol if it's defined.
17675 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
17676 them up here if it was already done.
17678 * elf/dl-support.c (_dl_phdr): Make pointer to const.
17679 (_dl_aux_init): Use const in cast when setting it.
17680 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
17681 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
17682 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
17684 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
17686 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
17687 * csu/libc-tls.c: Nor here.
17688 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
17690 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
17691 (__libc_message): Never call vsyslog.
17693 2013-03-28 Alan Modra <amodra@gmail.com>
17695 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
17697 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
17700 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17703 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
17705 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17707 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17710 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
17711 Don't add gid passed as argument.
17713 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
17715 2013-03-27 Joseph Myers <joseph@codesourcery.com>
17718 * math/k_casinh.c (__kernel_casinh): Handle arguments with
17719 imaginary part between 1.0 and 1.5 and real part less than 0.5
17721 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17722 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17723 * math/libm-test.inc (cacos_test): Add more tests.
17724 (casin_test): Likewise.
17725 (casinh_test): Likewise.
17726 * sysdeps/i386/fpu/libm-test-ulps: Update.
17727 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17729 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17731 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
17734 (denorm): Likewise.
17735 (__dbl_mp): Likewise.
17736 (add_magnitudes): Likewise.
17737 (sub_magnitudes): Likewise.
17745 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
17747 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
17748 (__dubcos): Likewise.
17749 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
17750 (__ieee754_acos): Likewise.
17751 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
17752 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
17753 (__exp1): Likewise.
17754 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17755 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
17757 (my_log2): Likewise.
17758 (checkint): Likewise.
17759 * sysdeps/ieee754/dbl-64/e_remainder.c
17760 (__ieee754_remainder): Likewise.
17761 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17762 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
17763 (bsloww): Likewise.
17764 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
17766 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
17767 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
17768 MANTISSA_STORE_T to store computations on mantissa. Use
17769 macros for rounding and division.
17770 (denorm): Likewise.
17771 (__dbl_mp): Likewise.
17772 (add_magnitudes): Likewise.
17773 (sub_magnitudes): Likewise.
17776 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
17777 powers of two in terms of TWOPOW macro.
17778 (mp_no): Make type of mantissa as MANTISSA_T.
17779 [!RADIXI]: Define RADIXI.
17780 [!TWO52]: Define TWO52.
17781 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
17783 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17785 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
17786 llroundl symbol when building for PPC32.
17788 2013-03-24 Mark H Weaver <mhw@netris.org>
17790 * manual/arith.texi (Normalization Functions): Fix prototypes for
17791 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
17793 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17796 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
17797 high value to check if expl overflow.
17798 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
17799 to check for underflow and overflow.
17800 * math/libm-test.inc: Add exp test.
17802 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
17805 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
17808 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17810 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
17813 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
17815 * math/gen-libm-test.pl (parse_args, special_functions): Properly
17816 wrap blocks consisting of several statements.
17818 * sysdeps/generic/math-tests.h: New file.
17819 * sysdeps/i386/fpu/math-tests.h: Likewise.
17820 * math/test-snan.c: Include it.
17821 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
17823 2013-03-21 Joseph Myers <joseph@codesourcery.com>
17826 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
17827 (__ieee754_j0l): Do not improve calculations using cos of twice
17828 input for inputs above LDBL_MAX / 2.0L.
17829 (__ieee754_y0l): Likewise.
17830 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
17831 (__ieee754_j1l): Do not improve calculations using cos of twice
17832 input for inputs above LDBL_MAX / 2.0L.
17833 (__ieee754_y1l): Likewise.
17834 * math/libm-test.inc (j0_test): Add another test.
17835 (j1_test): Likewise.
17836 (y0_test): Likewise.
17837 (y1_test): Likewise.
17838 * sysdeps/i386/fpu/libm-test-ulps: Update.
17840 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17842 * Rules ($(objpfx)bench-%.c): Include code from a C source
17845 2013-03-21 Joseph Myers <joseph@codesourcery.com>
17848 * math/k_casinh.c (__kernel_casinh): Handle arguments with
17849 imaginary part 1.0 and real part less than 0.5 specially.
17850 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17851 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17852 * math/libm-test.inc (cacos_test): Add more tests.
17853 (casin_test): Likewise.
17854 (casinh_test): Likewise.
17855 * sysdeps/i386/fpu/libm-test-ulps: Update.
17856 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17858 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17860 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
17861 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
17863 2013-03-20 Joseph Myers <joseph@codesourcery.com>
17865 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
17866 * config.make.in (config-cflags-sse4): Remove variable.
17867 (config-cflags-avx): Likewise.
17868 (config-cflags-sse2avx): Likewise.
17869 (config-cflags-novzeroupper): Likewise.
17870 (config-asflags-i686): Likewise.
17871 (have-mfma4): Likewise.
17872 (have-as-vis3): Likewise.
17874 * configure.in (MIG): Do not AC_SUBST.
17875 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
17876 (libc_cv_cc_sse4): Do not AC_SUBST.
17877 (libc_cv_cc_avx): Likewise.
17878 (libc_cv_cc_sse2avx): Likewise.
17879 (libc_cv_cc_novzeroupper): Likewise.
17880 (libc_cv_cc_fma4): Likewise.
17881 (libc_cv_as_i686): Likewise.
17882 (libc_cv_sparc_as_vis3): Likewise.
17883 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
17885 (config-asflags-i686): Likewise.
17886 (config-cflags-avx): Likewise.
17887 (config-cflags-sse2avx): Likewise.
17888 (have-mfma4): Likewise.
17889 (config-cflags-novzeroupper): Likewise.
17890 * sysdeps/mach/configure.in (MIG): Likewise.
17891 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
17892 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
17894 (config-cflags-avx): Likewise.
17895 (config-cflags-sse2avx): Likewise.
17896 (have-mfma4): Likewise.
17897 (config-cflags-novzeroupper): Likewise.
17898 * configure: Regenerated.
17899 * sysdeps/i386/configure: Likewise.
17900 * sysdeps/mach/configure: Likewise.
17901 * sysdeps/sparc/configure: Likewise.
17902 * sysdeps/x86_64/configure: Likewise.
17904 2013-03-20 Roland McGrath <roland@hack.frob.com>
17907 * locale/programs/localedef.c (options): Put N_ translation marker
17908 on argument names, not just descriptions.
17910 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17912 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
17914 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
17917 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
17919 2013-03-19 Roland McGrath <roland@hack.frob.com>
17921 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
17922 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
17923 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
17924 [!BEFORE_ABORT] (before_abort): New function.
17925 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
17926 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
17927 (writev_for_fatal): New function.
17928 (WRITEV_FOR_FATAL): New macro; call that.
17929 (backtrace_and_maps): New function.
17930 (BEFORE_ABORT): New macro; call that.
17931 (struct str_list): Type removed.
17932 (__libc_message, __libc_fatal): Functions removed.
17933 Include <sysdeps/posix/libc_fatal.c> instead.
17935 2013-03-19 Joseph Myers <joseph@codesourcery.com>
17937 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
17939 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
17942 2013-03-19 Andreas Schwab <schwab@suse.de>
17944 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
17945 * sysdeps/gnu/configure: Regenerate.
17947 * configure.in: Substitute libc_cv_rtlddir.
17948 * configure: Regenerate.
17949 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
17950 * Makeconfig (rtlddir, inst_rtlddir): New variables.
17951 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
17952 * elf/Makefile (install-others, CFLAGS-interp.c)
17953 (ldso_install, common-ldd-rewrite): Likewise.
17954 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
17955 $(inst_slibdir)/$(rtld-installed-name).
17956 * scripts/rellns-sh: Add -p option.
17957 * Makerules (make-shlib-link): Use rellns-sh to get relative name
17960 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17962 * manual/nptl.texi: Renamed to ...
17963 * manual/threads.texi: ... this.
17964 * manual/Makefile (chapters): Update.
17966 2013-03-18 Roland McGrath <roland@hack.frob.com>
17969 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
17970 on argument names, not just descriptions.
17971 * malloc/memusagestat.c (options): Likewise.
17972 * nss/getent.c (options): Likewise.
17974 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
17977 * iconv/iconv_prog.c (options): Put N_ translation marker
17978 on argument names, not just descriptions.
17979 * iconv/iconvconfig.c (options): Likewise.
17981 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
17983 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
17984 implementation which is faster on all x86_64 architectures.
17985 Tested on AMD, Intel Nehalem, SNB, IVB.
17986 * sysdeps/x86_64/strnlen.S: Likewise.
17988 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17989 Remove all multiarch strlen and strnlen versions.
17990 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
17991 Remove strlen and strnlen related parts.
17993 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
17994 Inline strlen part.
17995 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
17997 * sysdeps/x86_64/multiarch/strlen.S: Remove.
17998 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
17999 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
18000 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
18001 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
18002 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
18004 2013-03-17 Carlos O'Donell <carlos@redhat.com>
18006 * manual/memory.texi (Malloc Tunable Parameters):
18007 Sort parameters alphabetically. Add comments for missing entries.
18009 2013-03-17 David S. Miller <davem@davemloft.net>
18011 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18013 2013-03-16 Joseph Myers <joseph@codesourcery.com>
18016 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
18017 for arguments at most half maximum finite value.
18018 * math/libm-test.inc (j0_test): Add more tests.
18019 (j1_test): Likewise.
18020 (y0_test): Likewise.
18021 (y1_test): Likewise.
18022 * sysdeps/i386/fpu/libm-test-ulps: Update.
18023 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18026 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
18027 1 / x and functions P and Q for arguments above 0x1p256L.
18028 (__ieee754_y0l): Likewise.
18029 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
18030 (__ieee754_y1l): Likewise.
18031 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
18032 (j1_test): Likewise.
18033 (y0_test): Likewise.
18034 (y1_test): Likewise.
18036 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
18038 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
18041 2013-03-15 Roland McGrath <roland@hack.frob.com>
18043 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
18044 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
18045 zero since it's initialized to EXEC_PAGESIZE.
18047 * sysdeps/unix/sysv/linux/ldsodefs.h
18048 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
18049 * sysdeps/generic/ldsodefs.h: ... here.
18051 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
18053 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
18055 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
18057 * math/test-snan.c: Renamed from
18058 sysdeps/powerpc/fpu/test-powerpc-snan.c.
18059 * math/Makefile (tests): Add test-snan.
18060 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
18063 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
18064 SUFFIX. Initialize qNaN_var with __builtin_nan family of
18066 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
18067 __builtin_nan family of functions.
18068 * math/libm-test.inc (initialize): Initialize qnan_value with
18069 __builtin_nan family of functions.
18070 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
18072 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
18074 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
18075 storage class. Initialize qNaN_var and sNaN_var with
18076 __builtin_nan and __builtin_nans families of functions,
18079 * math/libm-test.inc (acosh_test): Also test with qNaN input.
18080 (sqrt_test): Remove duplicate test with qNaN input.
18081 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
18082 (round_test, signbit_test, significand_test): Note missing +/-Inf
18083 as well as qNaN tests.
18085 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
18086 qNaN_var. Fix a few strings, too.
18087 * math/libm-test.inc (nan_value): Rename to qnan_value.
18088 * math/gen-libm-test.pl (%beautify): Adjust to that.
18089 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
18090 * math/test-misc.c (main): Likewise.
18091 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
18092 to __qnan_bytes, and __qnan_union, respectively.
18093 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
18095 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
18096 and lqnanval, respectively.
18097 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
18098 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
18099 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
18100 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
18102 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
18103 * math/test-misc.c (main) [__x86_64__]: Enable test for long
18106 * math/test-misc.c (main): Fix copy'n'pastos.
18107 * misc/tst-efgcvt.c (special): Likewise.
18109 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
18110 Remove declarations.
18112 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18114 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
18115 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
18116 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
18117 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
18119 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18121 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
18122 macro to return vdso values correctly in IFUNC implementations.
18123 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
18124 Optimization by using IFUNC.
18126 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18127 Richard Henderson <rth@redhat.com>
18128 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18130 * Makefile.in (bench): New target.
18131 * NEWS: Mention the benchmark framework.
18132 * Rules (bench): Likewise.
18133 (binaries-bench): Generate binaries for functions to
18135 * benchtests/Makefile: New makefile for benchmark tests.
18136 * benchtests/bench-skeleton.c: New skeleton file for benchmark
18138 * benchtests/exp-inputs: New input file for EXP function.
18139 * benchtests/pow-inputs: New input file for POW function.
18140 * scripts/bench.pl: New script to generate source files for
18141 benchmark programs.
18143 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18145 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
18146 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
18147 computations on mantissa. Use macros for rounding and
18149 (denorm): Likewise.
18150 (__dbl_mp): Likewise.
18151 (add_magnitudes): Likewise.
18152 (sub_magnitudes): Likewise.
18155 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
18156 powers of two in terms of TWOPOW macro.
18157 (mp_no): Make type of mantissa as MANTISSA_T.
18158 [!RADIXI]: Define RADIXI.
18159 [!TWO52]: Define TWO52.
18160 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
18162 * manual/nptl.texi (cindex): Modify threads to pthreads.
18164 2013-03-15 Joseph Myers <joseph@codesourcery.com>
18166 * sysdeps/x86_64/preconfigure: Regenerated.
18168 2013-03-14 Joseph Myers <joseph@codesourcery.com>
18171 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
18173 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
18174 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
18176 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
18177 * math/libm-test.inc (j0_test): Do not allow one spurious
18178 underflow exception.
18179 (y1_test): Likewise.
18181 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18183 * manual/Makefile (chapters): Add nptl.
18184 * manual/debug.texi (Debugging Support): Add link to Threads
18186 * manual/nptl.texi: New file.
18188 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
18190 2013-03-14 Petr Baudis <pasky@ucw.cz>
18192 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
18193 for non-NULL pointer before the memory validity test. Pointed
18194 out by Holger Brunck <holger.brunck@keymile.com>.
18196 2013-03-13 Andreas Schwab <schwab@suse.de>
18198 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
18201 2013-03-13 Joseph Myers <joseph@codesourcery.com>
18203 * timezone/zic.c: Update from tzcode 2013b.
18205 2013-03-12 Carlos O'Donell <carlos@redhat.com>
18207 * manual/install.texi (Configuring and compiling):
18208 Mention i686 and i586.
18209 * INSTALL: Regenerate.
18211 2013-03-12 Roland McGrath <roland@hack.frob.com>
18213 * sysdeps/init_array/elf-init.c: New file.
18215 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
18216 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
18218 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
18219 __gmon_start__ as global, but as static with a .preinit_array pointer.
18220 * sysdeps/init_array/gmon-start.c: New file. Use that.
18221 * sysdeps/init_array/crti.S: New file, empty except for comments.
18222 * sysdeps/init_array/crtn.S: Likewise.
18224 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
18226 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
18228 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18229 Remove Prefer_SSE_for_memop.
18230 * sysdeps/x86_64/multiarch/init-arch.h: Remove
18231 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
18232 HAS_PREFER_SSE_FOR_MEMOP.
18233 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
18235 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18236 Remove bzero, memset ifunc support.
18237 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
18238 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
18239 * sysdeps/x86_64/multiarch/memset.S: Likewise.
18240 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18242 2013-03-11 Andreas Schwab <schwab@suse.de>
18245 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
18247 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
18248 (GLIBC_2.16): Remove pthread_atfork.
18250 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
18252 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
18253 (ptestcases.h): Likewise.
18255 2013-03-08 Roland McGrath <roland@hack.frob.com>
18257 * Makeconfig ($(common-objpfx)config.status): Depend on
18258 sysdeps/*/preconfigure{,.in} too.
18260 2013-03-08 Joseph Myers <joseph@codesourcery.com>
18262 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
18263 (__free_hook): Use void * instead of __malloc_ptr_t.
18264 (__malloc_hook): Likewise.
18265 (__realloc_hook): Likewise.
18266 (__memalign_hook): Likewise.
18267 (__after_morecore_hook): Likewise.
18268 * malloc/arena.c (save_malloc_hook): Likewise.
18269 (save_free_hook): Likewise.
18270 * malloc/hooks.c (malloc_hook_ini): Likewise.
18271 (realloc_hook_ini): Likewise.
18272 (memalign_hook_ini): Likewise.
18273 * malloc/malloc.c (malloc_hook_ini): Likewise.
18274 (realloc_hook_ini): Likewise.
18275 (memalign_hook_ini): Likewise.
18276 (__free_hook): Likewise.
18277 (__malloc_hook): Likewise.
18278 (__realloc_hook): Likewise.
18279 (__memalign_hook): Likewise.
18280 (__libc_malloc): Likewise.
18281 (__libc_free): Likewise.
18282 (__libc_realloc): Likewise.
18283 (__libc_memalign): Likewise.
18284 (__libc_valloc): Likewise.
18285 (__libc_pvalloc): Likewise.
18286 (__libc_calloc): Likewise.
18287 (__posix_memalign): Likewise.
18288 * malloc/morecore.c (__sbrk): Likewise.
18289 (__default_morecore): Likewise.
18291 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
18293 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
18294 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
18295 __malloc_ptrdiff_t.
18297 * malloc/malloc.h (__malloc_size_t): Remove macro.
18298 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
18300 (old_memalign_hook): Likewise.
18301 (old_realloc_hook): Likewise.
18302 (struct hdr): Likewise.
18304 (mallochook): Likewise.
18305 (memalignhook): Likewise.
18306 (reallochook): Likewise.
18307 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
18308 (tr_old_realloc_hook): Likewise.
18309 (tr_old_memalign_hook): Likewise.
18310 (tr_mallochook): Likewise.
18311 (tr_reallochook): Likewise.
18312 (tr_memalignhook): Likewise.
18314 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18316 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
18317 default_ldbl_pack and using as default implementation.
18318 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
18320 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
18321 redundant definition.
18322 (ldbl_insert_mantissa): Likewise.
18323 (ldbl_canonicalize): Likewise.
18324 (ldbl_nearbyint): Likewise.
18325 (ldbl_pack): Rename to ldbl_pack_ppc.
18326 (ldbl_unpack): Rename to ldbl_unpack_ppc.
18327 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
18328 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
18330 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
18332 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
18333 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
18334 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
18335 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
18336 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
18337 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
18338 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
18339 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
18341 2013-03-07 Andreas Jaeger <aj@suse.de>
18343 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18346 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
18348 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
18349 Include mpa.h and declare __MPEXP.
18350 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
18351 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
18352 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
18353 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
18354 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
18355 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
18356 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
18358 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
18359 (__slowpow): Use long double EXPL and LOGL functions to
18361 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
18362 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
18363 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
18364 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
18365 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
18366 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
18368 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
18369 intermediate variable to calculate exponent.
18371 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
18375 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
18376 [!NO__SQR]: Define __sqr.
18377 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
18378 and NO__SQR. Remove all code except __mul and __sqr. Include
18379 sysdeps/ieee754/dbl-64/mpa.c.
18380 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18383 * posix/Makefile (tests): Add tst-pathconf.
18384 * posix/tst-pathconf.c: New test case.
18385 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
18387 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
18389 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
18391 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
18393 2013-03-06 Andreas Jaeger <aj@suse.de>
18395 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
18396 definition via __MAP_ANONYMOUS.
18398 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
18399 it's not part of Linux headers.
18401 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
18402 (MAP_HUGE_MASK): Define.
18404 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
18406 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18407 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
18409 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18410 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
18412 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18413 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
18415 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18417 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
18418 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
18419 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
18420 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
18421 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
18422 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
18424 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
18427 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18428 Handle f2fs and efivarfs.
18430 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
18433 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
18434 (EFIVARFS_MAGIC): Add.
18435 (F2FS_LINK_MAX): Add.
18437 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
18439 * stdio-common/vfprintf.c: Replace __builtin_expect with
18442 2013-03-06 Joseph Myers <joseph@codesourcery.com>
18445 * sysdeps/generic/bp-sym.h: Remove file.
18446 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
18447 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
18448 <bp-sym.h> and <bp-asm.h>.
18449 (__longjmp): Don't use BP_SYM.
18450 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
18452 (memcpy): Don't use BP_SYM.
18453 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
18454 <bp-sym.h> and <bp-asm.h>.
18455 (memcpy): Don't use BP_SYM.
18456 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
18458 (memcpy): Don't use BP_SYM.
18459 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
18461 (memset): Don't use BP_SYM.
18462 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18463 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18464 (__bzero): Don't use BP_SYM.
18465 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18466 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18467 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
18468 <bp-sym.h> and <bp-asm.h>.
18469 (memcmp): Don't use BP_SYM. Remove comment about bounded
18471 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
18472 <bp-sym.h> and <bp-asm.h>.
18473 (memcpy): Don't use BP_SYM.
18474 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
18475 <bp-sym.h> and <bp-asm.h>.
18476 (memset): Don't use BP_SYM.
18477 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18478 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18479 (__bzero): Don't use BP_SYM.
18480 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18481 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18482 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
18483 <bp-sym.h> and <bp-asm.h>.
18484 (strncmp): Don't use BP_SYM. Remove comment about bounded
18486 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
18487 <bp-sym.h> and <bp-asm.h>.
18488 (memcpy): Don't use BP_SYM.
18489 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
18490 <bp-sym.h> and <bp-asm.h>.
18491 (memset): Don't use BP_SYM.
18492 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18493 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18494 (__bzero): Don't use BP_SYM.
18495 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18496 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18497 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
18498 <bp-sym.h> and <bp-asm.h>.
18499 (__memchr): Don't use BP_SYM.
18500 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
18501 <bp-sym.h> and <bp-asm.h>.
18502 (memcmp): Don't use BP_SYM. Remove comment about bounded
18504 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
18505 <bp-sym.h> and <bp-asm.h>.
18506 (memcpy): Don't use BP_SYM.
18507 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
18508 <bp-sym.h> and <bp-asm.h>.
18509 (__mempcpy): Don't use BP_SYM.
18510 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
18511 <bp-sym.h> and <bp-asm.h>.
18512 (__memrchr): Don't use BP_SYM.
18513 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
18514 <bp-sym.h> and <bp-asm.h>.
18515 (memset): Don't use BP_SYM.
18516 (__bzero): Likewise.
18517 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
18518 <bp-sym.h> and <bp-asm.h>.
18519 (__rawmemchr): Don't use BP_SYM.
18520 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
18521 <bp-sym.h> and <bp-asm.h>.
18522 (__STRCMP): Don't use BP_SYM.
18523 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
18524 <bp-sym.h> and <bp-asm.h>.
18525 (strchr): Don't use BP_SYM.
18526 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
18527 <bp-sym.h> and <bp-asm.h>.
18528 (__strchrnul): Don't use BP_SYM.
18529 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
18530 <bp-sym.h> and <bp-asm.h>.
18531 (strlen): Don't use BP_SYM.
18532 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
18533 <bp-sym.h> and <bp-asm.h>.
18534 (strncmp): Don't use BP_SYM. Remove comment about bounded
18536 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
18537 <bp-sym.h> and <bp-asm.h>.
18538 (__strnlen): Don't use BP_SYM.
18539 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
18540 <bp-sym.h> and <bp-asm.h>.
18541 (__GI__setjmp): Don't use BP_SYM.
18542 (_setjmp): Likewise.
18543 (__sigsetjmp): Likewise.
18544 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
18545 (L(start_addresses)): Don't use BP_SYM.
18546 (_start): Likewise.
18547 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
18549 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
18550 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
18551 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18552 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18553 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
18555 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
18556 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
18557 about bounded pointers.
18558 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18559 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18560 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
18562 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
18563 about bounded pointers. Remove GKM FIXME comments.
18564 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18565 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
18567 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
18568 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
18569 Remove GKM FIXME comments.
18570 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18571 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18572 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
18574 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
18575 about bounded pointers. Remove GKM FIXME comment.
18576 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
18578 (strncmp): Don't use BP_SYM. Remove comment about bounded
18580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
18581 <bp-sym.h> and <bp-asm.h>.
18582 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
18583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
18584 <bp-sym.h> and <bp-asm.h>.
18585 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
18588 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
18590 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
18593 2013-03-05 David S. Miller <davem@davemloft.net>
18595 * po/es.po: Update from translation team.
18597 2013-03-05 Andreas Jaeger <aj@suse.de>
18599 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
18600 <bits/mman-linux.h>.
18601 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18603 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
18604 <bits/mman-linux.h> to end of file.
18605 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18607 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
18608 <bits/mman-linux.h> to end of file.
18609 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18611 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
18612 <bits/mman-linux.h> to end of file.
18614 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
18615 (MCL_CURRENT, MCL_FUTURE): Define here.
18617 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18620 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
18622 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
18624 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18626 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
18627 fourth parameter needed for rt_sigprocmask syscall.
18628 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
18629 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
18630 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
18631 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
18632 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
18633 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
18635 2013-03-04 Joseph Myers <joseph@codesourcery.com>
18638 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
18639 comment about bounded pointers.
18640 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
18641 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
18643 2013-03-04 Andreas Jaeger <aj@suse.de>
18645 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
18646 common definitions.
18648 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
18649 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
18650 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
18651 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
18652 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
18653 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
18655 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18658 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
18659 __ieee754_sqrl instead of __sqrl.
18661 2013-03-01 Joseph Myers <joseph@codesourcery.com>
18663 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
18664 * sysdeps/powerpc/fpu_control.h: ... here.
18665 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
18666 * sysdeps/powerpc/bits/fenvinline.h: ... here.
18667 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
18668 * sysdeps/powerpc/bits/mathinline.h: ... here.
18670 2013-03-01 Roland McGrath <roland@hack.frob.com>
18672 * elf/dl-hwcaps.c (_dl_important_hwcaps):
18673 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
18674 to just [NEED_DL_SYSINFO_DSO].
18675 * elf/dl-support.c: Likewise.
18676 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
18677 * elf/rtld.c (dl_main): Likewise.
18678 * elf/setup-vdso.h (setup_vdso): Likewise.
18679 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
18680 * sysdeps/unix/sysv/linux/dl-sysdep.c
18681 (_dl_discover_osversion): Likewise.
18683 2013-03-01 Carlos O'Donell <carlos@redhat.com>
18685 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
18686 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
18688 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
18690 * NEWS: Mention libm performance improvements and non-x86 PI
18693 * csu/libc-start.c (__pthread_initialize_minimal): Change
18694 function arguments.
18695 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
18697 2013-02-28 Joseph Myers <joseph@codesourcery.com>
18700 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
18701 * sysdeps/powerpc/powerpc32/__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/a2/memcpy.S: Don't include <bp-sym.h>
18706 (memcpy): Don't use BP_SYM.
18707 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
18709 (__mpn_add_n): Don't use BP_SYM.
18710 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
18711 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
18713 (__mpn_addmul_1): Don't use BP_SYM.
18714 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18715 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
18717 (_setjmp): Don't use BP_SYM.
18718 (__novmx_setjmp): Likewise.
18719 (__GI__setjmp): Likewise.
18720 (__vmx_setjmp): Likewise.
18721 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
18723 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
18724 (__bzero): Don't use BP_SYM.
18725 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18726 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18727 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
18728 <bp-sym.h> and <bp-asm.h>.
18729 (memcpy): Don't use BP_SYM.
18730 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
18731 <bp-sym.h> and <bp-asm.h>.
18732 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18733 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
18734 <bp-sym.h> and <bp-asm.h>.
18735 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18736 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
18738 (__mpn_lshift): Don't use BP_SYM.
18739 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18740 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
18742 (memset): Don't use BP_SYM.
18743 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18744 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18745 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
18747 (__mpn_mul_1): Don't use BP_SYM.
18748 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18749 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
18750 <bp-sym.h> and <bp-asm.h>.
18751 (memcmp): Don't use BP_SYM.
18752 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
18753 <bp-sym.h> and <bp-asm.h>.
18754 (memcpy): Don't use BP_SYM.
18755 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
18756 <bp-sym.h> and <bp-asm.h>.
18757 (memset): Don't use BP_SYM.
18758 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
18759 <bp-sym.h> and <bp-asm.h>.
18760 (strncmp): Don't use BP_SYM.
18761 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
18762 <bp-sym.h> and <bp-asm.h>.
18763 (memcpy): Don't use BP_SYM.
18764 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
18765 <bp-sym.h> and <bp-asm.h>.
18766 (memset): Don't use BP_SYM.
18767 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
18768 <bp-sym.h> and <bp-asm.h>.
18769 (__memchr): Don't use BP_SYM.
18770 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
18771 <bp-sym.h> and <bp-asm.h>.
18772 (memcmp): Don't use BP_SYM.
18773 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
18774 <bp-sym.h> and <bp-asm.h>.
18775 (memcpy): Don't use BP_SYM.
18776 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
18777 <bp-sym.h> and <bp-asm.h>.
18778 (__mempcpy): Don't use BP_SYM.
18779 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
18780 <bp-sym.h> and <bp-asm.h>.
18781 (__memrchr): Don't use BP_SYM.
18782 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
18783 <bp-sym.h> and <bp-asm.h>.
18784 (memset): Don't use BP_SYM.
18785 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
18786 <bp-sym.h> and <bp-asm.h>.
18787 (__rawmemchr): Don't use BP_SYM.
18788 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
18789 <bp-sym.h> and <bp-asm.h>.
18790 (__STRCMP): Don't use BP_SYM.
18791 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
18792 <bp-sym.h> and <bp-asm.h>.
18793 (strchr): Don't use BP_SYM.
18794 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
18795 <bp-sym.h> and <bp-asm.h>.
18796 (__strchrnul): Don't use BP_SYM.
18797 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
18798 <bp-sym.h> and <bp-asm.h>.
18799 (strlen): Don't use BP_SYM.
18800 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
18801 <bp-sym.h> and <bp-asm.h>.
18802 (strncmp): Don't use BP_SYM.
18803 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
18804 <bp-sym.h> and <bp-asm.h>.
18805 (__strnlen): Don't use BP_SYM.
18806 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
18808 (__mpn_rshift): Don't use BP_SYM.
18809 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18810 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
18811 <bp-sym.h> and <bp-asm.h>.
18812 (__sigsetjmp): Don't use BP_SYM.
18813 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
18814 (L(start_addresses)): Don't use BP_SYM.
18815 (_start): Likewise.
18816 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
18818 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
18819 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18820 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18821 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
18823 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
18824 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18825 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18826 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
18828 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
18830 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18831 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
18833 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
18835 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18836 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18837 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
18839 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
18841 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
18843 (strncmp): Don't use BP_SYM,
18844 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
18846 (__mpn_sub_n): Don't use BP_SYM.
18847 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18848 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
18850 (__mpn_submul_1): Don't use BP_SYM.
18851 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
18853 <bp-sym.h> and <bp-asm.h>.
18854 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
18855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
18856 <bp-sym.h> and <bp-asm.h>.
18857 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
18860 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18862 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
18863 Use ZK to minimize writes to Z.
18864 (sub_magnitudes): Simplify code a bit.
18865 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
18866 Use ZK to minimize writes to Z.
18867 (sub_magnitudes): Simplify code a bit.
18869 2013-02-27 Roland McGrath <roland@hack.frob.com>
18871 * csu/gmon-start.c: Add special exception to license text.
18873 2013-02-27 Richard Henderson <rth@redhat.com>
18875 * scripts/config.guess: Update from config.git.
18876 * scripts/config.sub: Likewise.
18878 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
18880 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
18882 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
18884 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
18886 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
18888 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
18890 2013-02-26 Roland McGrath <roland@hack.frob.com>
18892 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
18893 [$(build-shared = yes].
18895 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18897 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
18898 (__mul): Reduce iterations for calculating mantissa.
18900 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
18902 (__mpranred): Likewise.
18905 * malloc/memusagestat.c (main): Draw graphs for heap and stack
18906 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
18908 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
18910 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
18911 Define __attribute__.
18913 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18915 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
18917 * posix/regex_internal.h (__attribute): Remove.
18918 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
18919 (re_string_context_at): Likewise.
18920 (bitset_not): Use __attribute__ and mark function as possibly
18922 (bitset_merge): Likewise.
18923 (bitset_mask): Likewise.
18924 (re_string_char_size_at): Likewise.
18925 (re_string_wchar_at): Likewise.
18926 (re_string_elem_size_at): Likewise.
18928 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18930 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
18934 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
18938 (denorm): Likewise.
18939 (__dbl_mp): Likewise.
18940 (add_magnitudes): Likewise.
18941 (sub_magnitudes): Likewise.
18945 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
18948 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
18951 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
18954 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
18955 up changes with default code.
18956 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
18959 2013-02-24 Allan McRae <allan@archlinux.org>
18961 * manual/socket.texi (The Internet Namespace): Order menu items
18962 to match that in the file.
18964 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
18965 node listing of the info page menu.
18967 2013-02-21 Joseph Myers <joseph@codesourcery.com>
18970 * sysdeps/i386/bp-asm.h: Remove file.
18971 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
18972 (PARMS): Do not use macros from bp-asm.h.
18976 (__mpn_add_n): Do not use BP_SYM
18977 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
18979 (PARMS): Do not use macros from bp-asm.h.
18982 (__mpn_addmul_1): Do not use BP_SYM
18983 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
18985 (PARMS): Do not use macros from bp-asm.h.
18986 (SIGMSK): Likewise.
18987 (_setjmp): Likewise. Do not use BP_SYM.
18988 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
18990 (PARMS): Do not use macros from bp-asm.h.
18991 (SIGMSK): Likewise.
18992 (setjmp): Likewise. Do not use BP_SYM.
18993 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
18995 (PARMS): Do not use macros from bp-asm.h.
18996 (__frexp): Do not use BP_SYM.
18998 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
19000 (PARMS): Do not use macros from bp-asm.h.
19001 (__frexpf): Do not use BP_SYM.
19002 (frexpf): Likewise.
19003 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
19005 (PARMS): Do not use macros from bp-asm.h.
19006 (__frexpl): Do not use BP_SYM.
19007 (frexpl): Likewise.
19008 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
19010 (PARMS): Do not use macros from bp-asm.h.
19011 (__remquo): Do not use BP_SYM.
19012 (remquo): Likewise.
19013 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
19015 (PARMS): Do not use macros from bp-asm.h.
19016 (__remquof): Do not use BP_SYM.
19017 (remquof): Likewise.
19018 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
19020 (PARMS): Do not use macros from bp-asm.h.
19021 (__remquol): Do not use BP_SYM.
19022 (remquol): Likewise.
19023 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
19025 (PARMS): Do not use macros from bp-asm.h.
19028 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
19029 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
19031 (PARMS): Do not use macros from bp-asm.h.
19032 (strlen): Do not use BP_SYM.
19033 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
19035 (PARMS): Do not use macros from bp-asm.h.
19039 (__mpn_add_n): Do not use BP_SYM.
19040 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
19042 (PARMS): Do not use macros from bp-asm.h.
19045 (__mpn_addmul_1): Do not use BP_SYM.
19046 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
19049 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
19051 (PARMS): Do not use macros from bp-asm.h.
19054 (__mpn_lshift): Do not use BP_SYM.
19055 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
19057 (PARMS): Do not use macros from bp-asm.h.
19061 (memcpy): Likewise. Do not use BP_SYM.
19062 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
19063 libc_hidden_def and weak_alias.
19064 (mempcpy): Do not use BP_SYM in weak_alias.
19065 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
19067 (PARMS): Do not use macros from bp-asm.h.
19070 [!BZERO_P] (CHR): Likewise.
19071 (memset): Likewise. Do not use BP_SYM.
19072 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
19074 (PARMS): Do not use macros from bp-asm.h.
19077 (__mpn_mul_1): Do not use BP_SYM.
19078 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
19080 (PARMS): Do not use macros from bp-asm.h.
19083 (__mpn_rshift): Do not use BP_SYM.
19084 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
19086 (PARMS): Do not use macros from bp-asm.h.
19089 (strchr): Likewise. Do not use BP_SYM.
19090 (index): Do not use BP_SYM in weak_alias.
19091 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
19093 (PARMS): Do not use macros from bp-asm.h.
19096 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
19097 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
19099 (PARMS): Do not use macros from bp-asm.h.
19100 (strlen): Do not use BP_SYM.
19101 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
19103 (PARMS): Do not use macros from bp-asm.h.
19107 (__mpn_sub_n): Do not use BP_SYM.
19108 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
19110 (PARMS): Do not use macros from bp-asm.h.
19113 (__mpn_submul_1): Do not use BP_SYM.
19114 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
19116 (PARMS): Do not use macros from bp-asm.h.
19120 (__mpn_add_n): Do not use BP_SYM.
19121 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
19124 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
19126 (PARMS): Do not use macros from bp-asm.h.
19129 (memcmp): Do not use BP_SYM.
19130 (bcmp): Do not use BP_SYM in weak_alias.
19131 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
19133 (PARMS): Do not use macros from bp-asm.h.
19137 (memcpy): Likewise. Do not use BP_SYM.
19138 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
19140 (PARMS): Do not use macros from bp-asm.h.
19144 (memmove): Likewise. Do not use BP_SYM.
19145 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
19147 (PARMS): Do not use macros from bp-asm.h.
19151 (__mempcpy): Likewise. Do not use BP_SYM.
19152 (mempcpy): Do not use BP_SYM in weak_alias.
19153 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
19155 (PARMS): Do not use macros from bp-asm.h.
19158 [!BZERO_P] (CHR): Likewise.
19159 (memset): Likewise. Do not use BP_SYM.
19160 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
19162 (PARMS): Do not use macros from bp-asm.h.
19164 (strcmp): Do not use BP_SYM.
19165 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
19167 (PARMS): Do not use macros from bp-asm.h.
19170 [USE_AS_STRTOK_R] (SAVE): Likewise.
19171 (FUNCTION): Likewise. Do not use BP_SYM.
19172 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
19174 (strtok_r): Likewise.
19175 (__GI___strtok_r): Likewise.
19176 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
19177 (PARMS): Do not use macros from bp-asm.h.
19180 (__mpn_lshift): Do not use BP_SYM.
19181 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
19182 (PARMS): Do not use macros from bp-asm.h.
19185 (__memchr): Do not use BP_SYM.
19186 (memchr): Do not use BP_SYM in weak_alias.
19187 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
19188 (PARMS): Do not use macros from bp-asm.h.
19191 (memcmp): Do not use BP_SYM.
19192 (bcmp): Do not use BP_SYM in weak_alias.
19193 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
19194 (PARMS): Do not use macros from bp-asm.h.
19197 (__mpn_mul_1): Do not use BP_SYM.
19198 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
19200 (PARMS): Do not use macros from bp-asm.h.
19203 (__rawmemchr): Do not use BP_SYM.
19204 (rawmemchr): Do not use BP_SYM in weak_alias.
19205 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
19206 (PARMS): Do not use macros from bp-asm.h.
19209 (__mpn_rshift): Do not use BP_SYM.
19210 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
19211 (PARMS): Do not use macros from bp-asm.h.
19212 (SIGMSK): Likewise.
19213 (__sigsetjmp): Likewise. Do not use BP_SYM.
19214 * sysdeps/i386/start.S: Do not include "bp-sym.h".
19215 (_start): Do not use BP_SYM.
19216 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
19217 (PARMS): Do not use macros from bp-asm.h.
19220 (__stpcpy): Likewise. Do not use BP_SYM.
19221 (stpcpy): Do not use BP_SYM in weak_alias.
19222 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
19224 (PARMS): Do not use macros from bp-asm.h.
19228 (__stpncpy): Likewise. Do not use BP_SYM.
19229 (stpncpy): Do not use BP_SYM in weak_alias.
19230 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
19231 (PARMS): Do not use macros from bp-asm.h.
19234 (strchr): Likewise. Do not use BP_SYM.
19235 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
19237 (PARMS): Do not use macros from bp-asm.h.
19240 (__strchrnul): Likewise. Do not use BP_SYM.
19241 (strchrnul): Do not use BP_SYM in weak_alias.
19242 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
19244 (PARMS): Do not use macros from bp-asm.h.
19246 (strcspn): Do not use BP_SYM.
19247 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
19249 (PARMS): Do not use macros from bp-asm.h.
19252 (strpbrk): Likewise. Do not use BP_SYM.
19253 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
19255 (PARMS): Do not use macros from bp-asm.h.
19258 (strrchr): Likewise. Do not use BP_SYM.
19259 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
19260 (PARMS): Do not use macros from bp-asm.h.
19262 (strspn): Do not use BP_SYM.
19263 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
19264 (PARMS): Do not use macros from bp-asm.h.
19268 (FUNCTION): Likewise. Do not use BP_SYM.
19269 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
19271 (strtok_r): Likewise.
19272 (__GI___strtok_r): Likewise.
19273 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
19274 (PARMS): Do not use macros from bp-asm.h.
19278 (__mpn_sub_n): Do not use BP_SYM.
19279 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
19281 (PARMS): Do not use macros from bp-asm.h.
19284 (__mpn_submul_1): Do not use BP_SYM.
19285 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
19287 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
19289 (PARMS): Do not use macros from bp-asm.h.
19294 (__clone): Do not use BP_SYM.
19295 (clone): Do not use BP_SYM in weak_alias.
19296 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
19298 (PARMS): Do not use macros from bp-asm.h.
19300 (__mmap64): Do not use BP_SYM.
19301 (mmap64): Do not use BP_SYM in weak_alias.
19302 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
19303 <bp-sym.h> and <bp-asm.h>.
19304 (PARMS): Do not use macros from bp-asm.h.
19305 (__posix_fadvise64_l64): Do not use BP_SYM.
19306 * sysdeps/unix/sysv/linux/i386/semtimedop.S
19307 (PARMS): Do not use macros from bp-asm.h.
19309 (semtimedop): Do not use BP_SYM.
19310 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
19313 2013-02-21 Allan McRae <allan@archlinux.org>
19315 * manual/message.texi (Charset conversion in gettext):
19316 Move @end statement to beginning of line.
19318 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19320 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
19322 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
19325 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
19326 (denorm): Likewise.
19327 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
19328 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
19330 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19332 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
19333 tail-call to the resolved function if pltexit isn't needed.
19335 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19337 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
19338 or Y being zero as being unlikely.
19339 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
19342 2013-02-20 Carlos O'Donell <carlos@redhat.com>
19344 * manual/nss.texi (System Databases and Name Service Switch):
19345 Remove frobnicate @pxref.
19347 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
19349 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
19350 __attribute__ ((unused)) to __attribute__ ((__unused__)).
19352 2013-02-20 Petr Machata <pmachata@redhat.com>
19354 * elf/elf.h (R_ARM_TARGET1): New macro.
19355 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
19356 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
19357 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
19358 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
19359 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
19360 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
19361 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
19362 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
19363 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
19364 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
19365 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
19366 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
19367 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
19368 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
19369 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
19370 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
19371 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
19372 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
19373 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
19374 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
19375 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
19376 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
19377 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
19378 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
19379 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
19380 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
19381 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
19382 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
19383 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
19384 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
19385 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
19386 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
19387 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
19388 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
19389 (R_ARM_THM_GOT_BREL12): Likewise.
19390 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
19391 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
19392 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
19393 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
19394 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
19395 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
19396 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
19397 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
19398 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
19400 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
19402 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
19403 __attribute_used__ to __attribute__ ((unused)).
19405 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
19407 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
19409 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
19410 comment formatting.
19411 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
19413 2013-02-19 Joseph Myers <joseph@codesourcery.com>
19416 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
19418 (ENTER): Remove both macro definitions.
19420 (CHECK_BOUNDS_LOW): Likewise.
19421 (CHECK_BOUNDS_HIGH): Likewise.
19422 (CHECK_BOUNDS_BOTH): Likewise.
19423 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
19424 (RETURN_BOUNDED_POINTER): Likewise.
19425 (RETURN_NULL_BOUNDED_POINTER): Likewise.
19426 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
19427 (POP_ERRNO_LOCATION_RETURN): Likewise.
19428 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
19429 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19430 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
19432 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19433 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
19434 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
19435 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
19436 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
19437 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
19438 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
19439 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
19440 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
19441 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
19442 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
19443 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
19444 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19445 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
19447 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19448 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
19450 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19451 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
19452 * sysdeps/i386/i586/memset.S (memset): Likewise.
19453 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
19454 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19455 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
19457 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19458 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
19459 Change uses of L(2) to L(out).
19460 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
19461 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
19462 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
19463 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19464 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
19466 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19467 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
19469 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19470 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
19471 (RETURN): Do not use macro LEAVE.
19472 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
19473 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
19474 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
19475 * sysdeps/i386/i686/memset.S (memset): Likewise.
19476 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
19477 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
19478 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
19479 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
19481 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19482 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
19483 L(1_2) and L(1_3) into L(1).
19484 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
19485 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
19486 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19487 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
19488 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
19489 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
19490 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
19491 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19492 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
19494 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
19495 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19496 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
19497 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
19498 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
19499 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19500 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
19501 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
19502 * sysdeps/i386/strcspn.S (strcspn): Likewise.
19503 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
19504 * sysdeps/i386/strrchr.S (strrchr): Likewise.
19505 * sysdeps/i386/strspn.S (strspn): Likewise.
19506 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
19508 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19509 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
19510 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
19511 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
19512 L(1_3) into L(1_1).
19513 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
19514 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19515 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
19517 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19519 2013-02-19 Jakub Jelinek <jakub@redhat.com>
19521 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
19524 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19526 * math/atest-exp.c (exp_mpn): Remove ROUND.
19527 * math/atest-exp2.c (exp_mpn): Likewise.
19528 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
19530 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
19531 * stdlib/tst-tls-atexit-lib.c: Likewise.
19532 * stdlib/tst-tls-atexit.c: Likewise.
19534 2013-02-18 Mike Frysinger <vapier@gentoo.org>
19536 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
19537 and __attribute_alloc_size__.
19539 2013-02-18 Mike Frysinger <vapier@gentoo.org>
19541 * include/programs/xmalloc.h: Change __attribute_alloc_size to
19542 __attribute_alloc_size__.
19543 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
19544 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
19546 2013-02-18 Mike Frysinger <vapier@gentoo.org>
19548 * include/programs/xmalloc.h: New file.
19549 * catgets/gencat.c: Include it.
19550 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
19551 * elf/pldd.c: Likewise.
19552 * iconv/iconv_charmap.c: Likewise.
19553 * iconv/iconvconfig.c: Likewise.
19554 * iconv/strtab.c: Likewise.
19555 * locale/programs/locale.c: Likewise.
19556 * locale/programs/localedef.h: Likewise.
19557 * locale/programs/simple-hash.c: Likewise.
19558 * nscd/nscd.h: Likewise.
19559 * nss/makedb.c: Likewise.
19560 * sysdeps/generic/ldconfig.h: Likewise.
19562 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19564 * Versions.def: Add GLIBC_2.18.
19565 * include/link.h (struct link_map): New member l_tls_dtor_count.
19566 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
19567 (__call_tls_dtors): Likewise.
19568 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
19569 __cxa_thread_atexit_impl.
19570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19574 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19576 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19578 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
19579 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
19581 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
19583 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
19584 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
19586 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
19587 (tests): Add test case tst-tls-atexit.
19588 (modules-names): Add shared library for tst-tls-atexit.
19589 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
19590 (GLIBC_PRIVATE): Add __call_tls_dtors.
19591 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
19593 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
19594 * stdlib/tst-tls-atexit.c: New test case.
19595 * stdlib/tst-tls-atexit-lib.c: New test case.
19597 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
19599 * elf/Versions (ld): Add _dl_find_dso_for_object.
19600 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
19601 * elf/dl-open.c (_dl_find_dso_for_object): New function.
19602 (dl_open_worker): Use _dl_find_dso_for_object.
19603 * elf/dl-sym.c (do_sym): Likewise.
19604 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
19606 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19608 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
19609 Syntactic changes only.
19610 (_dl_runtime_profile): Do a tail-call to the resolved function.
19612 2013-02-17 Joseph Myers <joseph@codesourcery.com>
19615 * sysdeps/x86_64/bp-asm.h: Remove file.
19616 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
19617 <bp-sym.h> and <bp-asm.h>.
19618 (__clone): Do not use BP_SYM.
19619 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
19620 <bp-sym.h> and <bp-asm.h>.
19621 * sysdeps/unix/x86_64/sysdep.S: Likewise.
19622 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
19624 (_setjmp): Do not use BP_SYM.
19625 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
19627 (setjmp): Do not use BP_SYM.
19628 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
19630 (mempcpy): Do not use BP_SYM in weak_alias.
19631 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
19633 (strchr): Do not use BP_SYM.
19634 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
19636 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
19637 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
19638 (_start): Do not use BP_SYM.
19639 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
19641 (strcat): Do not use BP_SYM.
19642 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
19644 (STRCMP): Do not use BP_SYM.
19645 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
19647 (STRCPY): Do not use BP_SYM.
19648 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
19650 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
19652 (FUNCTION): Do not use BP_SYM.
19653 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
19655 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
19657 2013-02-17 Andreas Jaeger <aj@suse.de>
19659 * time/Versions: Sort entries.
19660 * string/Versions: Likewise.
19661 * resolv/Versions: Likewise.
19662 * posix/Versions: Likewise.
19663 * iconv/Versions: Likewise.
19664 * elf/Versions: Likewise.
19665 * wcsmbs/Versions: Likewise.
19667 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19669 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
19670 loop termination condition.
19672 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
19673 variable to calculate EZ.
19676 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
19677 the lower precision input.
19679 2013-02-15 Joseph Myers <joseph@codesourcery.com>
19682 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
19683 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
19684 (run-via-rtld-prefix): Do not handle %-bp tests.
19685 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
19686 (all-object-suffixes): Remove .ob.
19687 (bppfx): Remove variable.
19688 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
19689 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
19690 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
19691 [$(build-bounded) = yes] (libtype.ob): Likewise.
19692 * Makerules (elide-routines.ob): Remove variable.
19693 (do-tests-clean): Do not handle *-bp.out.
19694 (common-mostlyclean): Do not handle *-bp and *-bp.out.
19695 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
19696 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
19697 (tests): Do not include $(tests-bp.out).
19698 (xtests): Do not include $(xtests-bp.out).
19699 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
19700 [$(build-bounded) = yes] ($(addprefix
19701 $(objpfx),$(binaries-bounded))): Remove rule.
19702 ($(objpfx)%-bp.out): Remove rule.
19703 * config.make.in (build-bounded): Remove variable.
19704 * crypt/Makefile [$(build-bounded) = yes]
19705 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
19706 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
19707 append to variable.
19708 [$(build-bounded) = yes] (install-lib): Likewise.
19709 [$(build-bounded) = yes] (generated): Likewise.
19710 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
19712 * intl/Makefile [$(build-bounded) = yes]
19713 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
19714 * math/Makefile [$(build-bounded) = yes]
19715 ($(tests:%=$(objpfx)%-bp): Likewise.
19716 * misc/Makefile [$(build-bounded) = yes]
19717 ($(objpfx)tst-tsearch-bp): Likewise.
19718 * nptl/Makeconfig (bounded-thread-library): Remove variable.
19719 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
19721 * string/Makefile (o-objects.ob): Remove variable.
19722 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
19723 (CFLAGS-.ob): Remove variable.
19724 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
19725 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
19726 both definitions of variable.
19727 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
19728 (ASFLAGS-.ob): Remove variable.
19730 2013-02-14 Joseph Myers <joseph@codesourcery.com>
19733 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
19734 Remove __BOUNDED_POINTERS__ from condition.
19735 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
19736 * string/bits/string2.h [!__NO_STRING_INLINES &&
19737 !__BOUNDED_POINTERS__]: Likewise.
19738 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
19740 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
19741 Remove conditional code.
19742 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
19743 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
19744 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
19748 * csu/libc-start.c: Do not include <bp-sym.h>.
19749 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
19750 * elf/dl-open.c: Do not include <bp-sym.h>.
19751 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
19752 * math/fegetenv.c: Do not include <bp-sym.h>.
19753 (fegetenv): Do not use BP_SYM in versioned symbols.
19754 * nptl/sysdeps/pthread/bits/libc-lockP.h
19755 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
19757 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19758 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
19759 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19760 (__pthread_mutex_destroy): Likewise.
19761 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19762 (__pthread_mutex_lock): Likewise.
19763 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19764 (__pthread_mutex_trylock): Likewise.
19765 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19766 (__pthread_mutex_unlock): Likewise.
19767 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19768 (__pthread_mutexattr_init): Likewise.
19769 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19770 (__pthread_mutexattr_destroy): Likewise.
19771 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19772 (__pthread_mutexattr_settype): Likewise.
19773 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19774 (__pthread_rwlock_init): Likewise.
19775 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19776 (__pthread_rwlock_destroy): Likewise.
19777 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19778 (__pthread_rwlock_rdlock): Likewise.
19779 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19780 (__pthread_rwlock_tryrdlock): Likewise.
19781 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19782 (__pthread_rwlock_wrlock): Likewise.
19783 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19784 (__pthread_rwlock_trywrlock): Likewise.
19785 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19786 (__pthread_rwlock_unlock): Likewise.
19787 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19788 (__pthread_key_create): Likewise.
19789 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19790 (__pthread_setspecific): Likewise.
19791 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19792 (__pthread_getspecific): Likewise.
19793 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
19795 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19796 (_pthread_cleanup_push_defer): Likewise.
19797 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19798 (_pthread_cleanup_pop_restore): Likewise.
19799 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19800 (pthread_setcancelstate): Likewise.
19801 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
19803 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
19804 (memchr): Do not use BP_SYM in weak_alias.
19805 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
19806 (fegetenv): Do not use BP_SYM in versioned symbols.
19807 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
19808 (fesetenv): Do not use BP_SYM in versioned symbols.
19809 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
19810 (feupdateenv): Do not use BP_SYM in versioned symbols.
19811 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
19812 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
19813 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
19814 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
19815 (open64): Do not use BP_SYM in weak_alias.
19816 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
19817 (fegetenv): Do not use BP_SYM in versioned symbols.
19818 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
19819 (fesetenv): Do not use BP_SYM in versioned symbols.
19820 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
19821 (feupdateenv): Do not use BP_SYM in versioned symbols.
19822 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
19823 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
19824 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
19825 (feraiseexcept): Do not use BP_SYM in versioned symbols.
19826 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
19827 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
19828 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
19830 (__libc_start_main): Do not use BP_SYM.
19832 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19834 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
19835 redundant return line.
19837 (denorm): Likewise.
19838 (dbl_mp): Likewise.
19839 (sub_magnitudes): Likewise.
19845 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
19847 (denorm): Likewise.
19848 (dbl_mp): Likewise.
19849 (sub_magnitudes): Likewise.
19856 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
19858 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
19859 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
19862 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
19863 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
19864 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
19865 of __mul for squares.
19866 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
19868 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
19870 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
19871 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
19873 2013-02-13 Joseph Myers <joseph@codesourcery.com>
19876 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
19878 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
19879 prototype or function definition. Rename ubp_* variables and
19880 parameters. Remove argv definitions conditional on
19881 [__BOUNDED_POINTERS__].
19882 * debug/backtrace.c (__backtrace): Do not use __unbounded.
19883 * elf/dl-runtime.c (_dl_fixup): Likewise.
19884 * include/set-hooks.h (RUN_HOOK): Likewise.
19885 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
19887 * string/strcpy.c (strcpy): Do not use __unbounded.
19888 * sysdeps/generic/frame.h (struct layout): Likewise.
19889 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
19890 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
19891 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
19892 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
19893 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
19894 (__backtrace): Likewise.
19895 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
19897 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
19898 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
19899 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
19901 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
19902 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
19903 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
19904 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
19905 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
19906 Do not use __unbounded.
19907 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
19908 Rename __unboundedrlimits parameter to rlimits in prototype.
19909 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
19910 Do not use __unbounded.
19911 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
19912 not use __ptrvalue.
19913 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
19914 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
19915 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
19916 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
19917 __ptrvalue or __unbounded.
19918 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
19919 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
19921 (__new_msgctl): Do not use __ptrvalue.
19922 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
19924 (__libc_msgrcv): Do not use __ptrvalue.
19925 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
19926 startup_info): Do not use __unbounded.
19927 (__libc_start_main): Likewise. Rename ubp_* variables and
19928 parameters. Remove argv definitions conditional on
19929 [__BOUNDED_POINTERS__].
19930 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
19932 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
19934 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
19936 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
19938 (__new_shmctl): Do not use __ptrvalue.
19939 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
19940 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
19942 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
19943 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
19944 (__libc_sigaction): Likewise.
19945 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
19946 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
19948 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
19950 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
19952 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
19954 * string/mempcpy.c: Implement by calling memcpy.
19956 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
19958 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
19960 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
19963 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
19964 values in the mantissa.
19966 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
19967 minimize writes to Z.
19968 (sub_magnitudes): Simplify code a bit.
19970 2013-02-12 Roland McGrath <roland@hack.frob.com>
19972 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
19973 from the message. The linker prefixes all warnings with that already.
19975 2013-02-12 Andreas Schwab <schwab@suse.de>
19978 * posix/regexec.c (extend_buffers): Add parameter min_len.
19979 (check_matching): Pass minimum needed length.
19980 (clean_state_log_if_needed): Likewise.
19981 (get_subexp): Likewise.
19982 * posix/Makefile (tests): Add bug-regex34.
19983 (bug-regex34-ENV): Define.
19984 * posix/bug-regex34.c: New file.
19987 * posix/regcomp.c (parse_bracket_exp): When looking up collating
19988 elements compare against the byte sequence of it, not its name.
19989 * posix/Makefile (tests): Add bug-regex35.
19990 (bug-regex35-ENV): Define.
19991 * posix/bug-regex35.c: New file.
19993 2013-02-11 Tom de Vries <tom@codesourcery.com>
19995 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
19997 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
19998 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
19999 (CHECK_EOL): Add undef.
20001 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
20003 * bits/stdlib-bsearch.h: New file.
20004 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
20005 * stdlib/stdlib.h: Likewise.
20007 2013-02-11 Roland McGrath <roland@hack.frob.com>
20009 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
20010 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
20012 * manual/search.texi (Array Search Function): Add missing const in
20014 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
20015 declaration to use rlim_t.
20016 (Basic Scheduling Functions): Remove erroneous const from
20017 sched_getparam prototype. Remove erroneous * from
20018 sched_get_priority_max and sched_get_priority_min prototypes.
20019 (Resource Usage): Fix summary @comment on vtimes to refer to
20020 sys/vtimes.h rather than vtimes.h.
20021 Add missing *s in vtimes prototype.
20022 (Limits on Resources): Fix ulimit prototype to return long int.
20023 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
20024 prototypes to use long int rather than double.
20025 (BSD Random): Fix initstate and setstate to use char *, not void *.
20026 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
20027 prototype to make second argument 'struct aiocb64 *const[]'.
20028 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
20029 (Status of AIO Operations): Remove erroneous const in aio_return and
20030 aio_return64 prototypes.
20031 (Synchronizing I/O): Fix sync prototype to return void.
20032 * manual/startup.texi (Suboptions): Remove an erroneous const in
20033 getsubopt prototype.
20034 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
20035 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
20036 use size_t rather than int.
20037 (Scanning All Users): Likewise for getpwent_r.
20038 (Setting Groups): Add missing const to setgroups prototype.
20039 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
20040 * manual/socket.texi (Host Names): Fix gethostbyaddr and
20041 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
20042 'const void *' rather than 'const char *'.
20043 (Host Address Functions): Likewise for inet_ntop.
20044 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
20045 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
20046 ssize_t for return value.
20047 (Sending Data): Likewise for send, sendto, sendmsg.
20048 (Socket Option Functions): Add a missing const in setsockopt prototype.
20049 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
20050 use wchar_t for the argument.
20051 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
20052 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
20054 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
20055 double/float/long double for second argument.
20056 Fix return types of significand, significandf, significandl.
20057 * manual/filesys.texi (Setting Permissions): Use mode_t for second
20058 argument in fchmod prototype.
20059 (File Owner): Use uid_t and gid_t in fchown prototype.
20060 (File Times): Add const to utimes, futimes, and lutimes prototypes.
20061 (Making Special Files): Use mode_t and dev_t in mknod prototype.
20062 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
20063 use 'const struct dirent **' as argument types to CMP function pointer
20065 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
20066 (File Times): Fix summary magic @comment for struct utimbuf and utime
20067 to refer to utime.h, not time.h.
20068 * manual/string.texi (Argz Functions): Add missing const in
20069 argz_extract and argz_next prototypes.
20070 (Finding Tokens in a String): Likewise for basename.
20071 (String/Array Comparison): Fix typo in wcscasecmp prototype.
20072 (Copying and Concatenation): Fix typo in wmemmove prototype.
20073 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
20074 (Signal Stack): Remove erroneous const in sigstack prototype.
20075 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
20077 (Simple Calendar Time): Likewise for stime.
20078 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
20080 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
20081 say sys/sysctl.h instead.
20082 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
20083 and vsyslog prototypes.
20085 2013-02-11 Tom de Vries <tom@codesourcery.com>
20087 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
20090 2013-02-11 Roland McGrath <roland@hack.frob.com>
20092 * misc/sys/mman.h: Fix typo in mremap comment.
20094 2013-02-08 Roland McGrath <roland@hack.frob.com>
20096 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
20097 the '\0' terminator.
20099 2013-02-08 Joseph Myers <joseph@codesourcery.com>
20102 * debug/segfault.c: Don't include <bp-checks.h>.
20103 * sysdeps/generic/bp-checks.h: Remove file.
20104 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
20105 (__GETDENTS): Don't use CHECK_N.
20106 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
20107 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
20108 (__getgroups): Don't use CHECK_N.
20109 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
20110 (setgroups): Don't use CHECK_N.
20111 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
20112 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
20113 (__libc_msgrcv): Don't use CHECK_N.
20114 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
20115 (__libc_msgsnd): Don't use CHECK_N.
20116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
20118 (__libc_pread): Don't use CHECK_N.
20119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
20120 include <bp-checks.h>.
20121 (__libc_pread64): Don't use CHECK_N.
20122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
20123 include <bp-checks.h>.
20124 (__libc_pwrite): Don't use CHECK_N.
20125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
20126 include <bp-checks.h>.
20127 (__libc_pwrite64): Don't use CHECK_N.
20128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
20130 (__libc_pread): Don't use CHECK_N.
20131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
20132 include <bp-checks.h>.
20133 (__libc_pread64): Don't use CHECK_N.
20134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
20135 include <bp-checks.h>.
20136 (__libc_pwrite): Don't use CHECK_N.
20137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
20138 include <bp-checks.h>.
20139 (__libc_pwrite64): Don't use CHECK_N.
20140 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
20141 (do_pread): Don't use CHECK_N.
20142 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
20143 (do_pread64): Don't use CHECK_N.
20144 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
20145 (do_pwrite): Don't use CHECK_N.
20146 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
20147 (do_pwrite64): Don't use CHECK_N.
20148 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
20149 (__libc_readv): Don't use CHECK_N.
20150 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
20151 (semop): Don't use CHECK_N.
20152 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
20154 (semtimedop): Don't use CHECK_N.
20155 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
20156 (__libc_pread): Don't use CHECK_N.
20157 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
20159 (__libc_pread64): Don't use CHECK_N.
20160 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
20162 (__libc_pwrite): Don't use CHECK_N.
20163 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
20165 (__libc_pwrite64): Don't use CHECK_N.
20166 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
20168 (__libc_msgrcv): Don't use CHECK_N.
20169 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
20170 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
20171 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
20172 (__libc_writev): Don't use CHECK_N.
20174 2013-02-08 Roland McGrath <roland@hack.frob.com>
20176 * string/strcpy.c: Removed unused variable.
20178 * Makeconfig (+sysdep-includes): Define with := rather than =.
20179 Use an existing include/ subdir of each sysdeps dir before it.
20181 2013-02-08 Carlos O'Donell <carlos@redhat.com>
20183 * nscd/connection.c (register_traced_file): Comment function.
20184 [HAVE_INOTIFY] (union __inev): Define.
20185 [HAVE_INOTIFY] (inotify_check_files): New function.
20186 [HAVE_INOTIFY] (clear_db_cache): Likewise.
20187 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
20189 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
20191 2013-02-08 Carlos O'Donell <carlos@redhat.com>
20193 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
20194 loaded if not already and that a failure is permanent.
20196 2013-02-08 Carlos O'Donell <carlos@redhat.com>
20199 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
20200 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
20202 2013-02-08 Joseph Myers <joseph@codesourcery.com>
20205 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
20206 (CHECK_1_NULL_OK): Likewise.
20207 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
20208 (__fxstat): Do not use CHECK_1.
20209 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
20211 (___fxstat64): Do not use CHECK_1.
20212 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
20214 (__fxstatat): Do not use CHECK_1.
20215 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
20217 (__fxstatat64): Do not use CHECK_1.
20218 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
20220 (__fxstat): Do not use CHECK_1.
20221 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
20223 (__fxstatat): Do not use CHECK_1.
20224 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
20226 (__getresgid): Do not use CHECK_1.
20227 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
20229 (__getresuid): Do not use CHECK_1.
20230 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
20232 (__lxstat): Do not use CHECK_1.
20233 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
20235 (__old_msgctl): Do not use CHECK_1.
20236 (__new_msgctl): Likewise.
20237 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
20239 (__new_setrlimit): Do not use CHECK_1.
20240 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
20242 (__old_shmctl): Do not use CHECK_1.
20243 (__new_shmctl): Likewise.
20244 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
20246 (__xstat): Do not use CHECK_1.
20247 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
20248 (__lxstat): Do not use CHECK_1.
20249 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
20251 (___lxstat64): Do not use CHECK_1.
20252 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
20253 (__old_msgctl): Do not use CHECK_1.
20254 (__new_msgctl): Likewise.
20255 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
20257 (__gettimeofday): Do not use CHECK_1.
20258 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
20259 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
20260 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
20262 (__gettimeofday): Do not use CHECK_1.
20263 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
20264 (__old_shmctl): Do not use CHECK_1_NULL_OK.
20265 (__new_shmctl): Do not use CHECK_1.
20266 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
20268 (do_sigtimedwait): Do not use CHECK_1.
20269 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
20271 (do_sigwaitinfo): Do not use CHECK_1.
20272 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
20274 (msgctl): Do not use CHECK_1.
20275 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
20277 (shmctl): Do not use CHECK_1.
20278 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
20279 (ustat): Do not use CHECK_1.
20280 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
20282 (__fxstat): Do not use CHECK_1.
20283 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
20285 (__fxstatat): Do not use CHECK_1.
20286 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
20288 (__lxstat): Do not use CHECK_1.
20289 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
20291 (__xstat): Do not use CHECK_1.
20292 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
20293 (__xstat): Do not use CHECK_1.
20294 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
20295 (___xstat64): Do not use CHECK_1.
20298 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
20300 (CHECK_BOUNDS_HIGH): Likewise.
20301 * string/strcpy.c: Do not include <bp-checks.h>.
20302 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
20304 2013-02-07 Roland McGrath <roland@hack.frob.com>
20306 * nscd/nscd-client.h (__nscd_drop_map_ref):
20307 Add __attribute__ ((unused)).
20308 * nis/nss-nisplus.h (niserr2nss): Likewise.
20310 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
20311 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
20313 * csu/libc-tls.c (init_static_tls, init_slotinfo):
20314 Remove inline keyword.
20315 * include/rounding-mode.h (round_away): Likewise.
20316 * libio/wfileops.c (adjust_wide_data): Likewise.
20317 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
20318 (__m128i_strloadu_tolower): Likewise.
20319 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
20320 (__m128i_strloadu_tolower): Likewise.
20321 * time/mktime.c (ydhms_diff): Likewise.
20322 * locale/elem-hash.h (elem_hash): Likewise.
20323 * locale/setlocale.c (setdata): Likewise.
20324 * posix/regex_internal.h (re_string_char_size_at): Likewise.
20325 (re_string_wchar_at): Likewise.
20326 (bitset_not, bitset_merge, bitset_mask): Likewise.
20327 [!(__GNUC__ > 3)] (inline): Remove macro.
20328 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
20329 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
20330 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
20331 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
20332 * string/memcmp.c (memcmp_bytes): Likewise.
20333 * locale/programs/locarchive.c (compute_hashval): Likewise.
20334 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
20335 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
20336 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
20337 * nss/getent.c (print_rpc, print_protocols): Likewise.
20338 (print_passwd, print_group, print_aliases): Likewise.
20339 * nis/nss-nisplus.h (niserr2nss): Likewise.
20340 * nscd/connections.c (restart_p): Likewise.
20341 Change return type to bool.
20343 2013-02-05 Roland McGrath <roland@hack.frob.com>
20345 * Makeconfig (all-Depend-files): Add existing
20346 $(sorted-subdirs:=/Depend) files.
20347 (all-subdirs): Remove nss.
20348 * sysdeps/unix/inet/Subdirs: Add it here instead.
20349 * hesiod/Depend: New file.
20351 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
20352 instead of calling alloca.
20354 * io/lseek.c (__lseek): Rename to __libc_lseek.
20355 Define __lseek as an alias.
20357 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
20359 2013-02-04 Carlos O'Donell <carlos@redhat.com>
20361 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
20362 else clause and remove check for non-standard endianness.
20364 2013-02-04 David S. Miller <davem@davemloft.net>
20366 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20368 2013-02-04 Joseph Myers <joseph@codesourcery.com>
20371 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
20372 (__ubp_memchr): Remove prototype.
20373 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
20374 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
20375 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
20376 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
20377 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
20379 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
20380 (__ubp_memchr): Likewise.
20381 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
20382 (__ubp_memchr): Likewise.
20383 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
20384 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
20385 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
20386 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
20388 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
20389 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
20390 (__getcwd): Do not use CHECK_STRING.
20391 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
20393 (__real_chown): Do not use CHECK_STRING.
20394 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
20396 (fchownat): Do not use CHECK_STRING.
20397 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
20399 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
20401 (__lchown): Do not use CHECK_STRING.
20402 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
20403 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
20404 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
20405 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
20406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
20407 include <bp-checks.h>.
20408 (truncate64): Do not use CHECK_STRING.
20409 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
20411 (__real_chown): Do not use CHECK_STRING.
20412 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
20414 (__lchown): Do not use CHECK_STRING.
20415 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
20417 (__chown): Do not use CHECK_STRING.
20418 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
20420 (truncate64): Do not use CHECK_STRING.
20421 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
20423 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
20424 (__xmknod): Do not use CHECK_STRING.
20425 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
20427 (__xmknodat): Do not use CHECK_STRING.
20428 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
20429 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
20431 2013-02-04 Andreas Schwab <schwab@suse.de>
20434 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
20435 * include/netdb.h: Likewise for h_errno.
20436 * elf/tst-stackguard1.c: Include <tls.h>.
20438 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
20440 * elf/link.h (struct link_map): Extend the l_addr comment.
20441 * include/link.h (struct link_map): Likewise.
20443 2013-02-01 Joseph Myers <joseph@codesourcery.com>
20446 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
20447 (BOUNDED_1): Remove macro.
20448 * debug/backtrace.c: Don't include <bp-checks.h>.
20449 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
20450 (__backtrace): Likewise.
20451 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
20453 (__backtrace): Don't use BOUNDED_1.
20454 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
20456 (__backtrace): Don't use BOUNDED_1.
20457 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
20458 (__backtrace): Don't use BOUNDED_1.
20459 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
20460 (shmat): Don't use BOUNDED_N.
20462 2013-01-31 Joseph Myers <joseph@codesourcery.com>
20465 * sysdeps/generic/bp-start.h: Remove file.
20466 * csu/libc-start.c: Don't include <bp-start.h>.
20467 (LIBC_START_MAIN): Set up __environ directly instead of using
20468 INIT_ARGV_and_ENVIRON.
20469 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
20473 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
20475 (CHECK_FCNTL): Likewise.
20476 (CHECK_N_PAGES): Likewise.
20479 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
20481 (CHECK_SIGSET_NULL_OK): Likewise.
20482 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
20484 (sigpending): Don't use CHECK_SIGSET.
20485 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
20487 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
20488 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
20490 (do_sigsuspend): Don't use CHECK_SIGSET.
20491 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
20493 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
20494 (do_sigwait): Don't use CHECK_SIGSET.
20495 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
20497 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
20498 include <bp-checks.h>.
20499 (sigpending): Don't use CHECK_SIGSET.
20500 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
20501 include <bp-checks.h>.
20502 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
20503 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
20505 (sigpending): Don't use CHECK_SIGSET.
20506 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
20508 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
20511 * sysdeps/generic/bp-semctl.h: Remove file.
20512 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
20513 <bp-checks.h> and <bp-semctl.h>.
20514 (__old_semctl): Don't use CHECK_SEMCTL.
20515 (__new_semctl): Likewise.
20516 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
20518 (__old_semctl): Don't use CHECK_SEMCTL.
20519 (__new_semctl): Likewise.
20520 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
20521 <bp-checks.h> and <bp-semctl.h>.
20522 (__old_semctl): Don't use CHECK_SEMCTL.
20523 (__new_semctl): Likewise.
20524 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
20525 <bp-checks.h> and <bp-semctl.h>.
20526 (semctl): Don't use CHECK_SEMCTL.
20529 * Makerules (elide-bp-thunks): Remove variable.
20530 (elide-routines.oS): Don't use $(elide-bp-thunks).
20531 (elide-routines.os): Likewise.
20532 (elide-routines.o): Likewise.
20533 (elide-routines.op): Likewise.
20534 (elide-routines.og): Likewise.
20535 (objects): Don't use $(bp-thunks).
20536 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
20538 (common-generated): Do not add s-proto-bp.d.
20539 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
20542 Do not generate makefile rules for bounded-pointer thunks.
20543 * sysdeps/generic/bp-thunks.h: Remove file.
20544 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
20545 * sysdeps/unix/s-proto-bp.S: Likewise.
20548 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
20549 parts of result separately when argument is not close to line from
20550 -i to i and one part of argument is small.
20551 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20552 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20553 * math/libm-test.inc (cacos_test): Add more tests.
20554 (casin_test): Likewise.
20555 (casinh_test): Likewise.
20556 * sysdeps/i386/fpu/libm-test-ulps: Update.
20557 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20559 2013-01-31 David S. Miller <davem@davemloft.net>
20561 * po/de.po: Update from translation team.
20563 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
20565 * time/tzfile.c: Include stdint.h for SIZE_MAX.
20567 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
20569 * configure.in (_AC_PROG_CC_C89): New definition.
20570 * configure: Regenerate.
20572 * configure.in (AC_PROG_CPP): New definition.
20573 * configure: Regenerate.
20575 2013-01-23 Joseph Myers <joseph@codesourcery.com>
20577 * debug/tst-backtrace.h: New file.
20578 * debug/tst-backtrace2.c: Include tst-backtrace.h.
20579 (ret): Remove variable.
20581 (FAIL): Remove macro.
20582 (NO_INLINE): Likewise.
20583 (fn1): Use match function instead of strstr.
20584 * debug/tst-backtrace3.c: Include tst-backtrace.h.
20585 (ret): Remove variable.
20587 (FAIL): Remove macro.
20588 (NO_INLINE): Likewise.
20589 (fn): Use match function instead of strstr.
20590 * debug/tst-backtrace4.c: Include tst-backtrace.h.
20591 (ret): Remove variable.
20593 (FAIL): Remove macro.
20594 (NO_INLINE): Likewise.
20595 (handle_signal): Use match function instead of strstr.
20596 * debug/tst-backtrace5.c: Include tst-backtrace.h.
20597 (ret): Remove variable.
20599 (FAIL): Remove macro.
20600 (NO_INLINE): Likewise.
20601 (handle_signal): Use match function instead of strstr.
20603 2013-01-23 Roland McGrath <roland@hack.frob.com>
20605 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
20607 2013-01-23 David S. Miller <davem@davemloft.net>
20609 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
20610 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
20611 argument of CAS if possible.
20612 * sysdeps/sparc/sparc64/bits/atomic.h
20613 (__arch_compare_and_exchange_val_32_acq): Likewise.
20614 (__arch_compare_and_exchange_val_64_acq): Likewise.
20616 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
20618 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
20619 * sysdeps/posix/ulimit.c: ... this.
20620 Include <limits.h>.
20621 * sysdeps/unix/bsd/ulimit.c: Remove file.
20623 2013-01-23 Adam Conrad <adconrad@0c3.net>
20625 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
20626 (LDFLAGS-tst-array5): Likewise.
20628 2013-01-23 Joseph Myers <joseph@codesourcery.com>
20631 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
20632 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
20633 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
20634 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
20636 2013-01-21 David S. Miller <davem@davemloft.net>
20638 * sysdeps/sparc/backtrace.c: New file.
20639 * sysdeps/sparc/sparc32/backtrace.h: New file.
20640 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
20641 * sysdeps/sparc/sparc64/backtrace.h: New file.
20642 * sysdeps/sparc/sparc64/backtrace.c: Delete.
20643 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
20646 2013-01-21 Andreas Schwab <schwab@suse.de>
20649 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
20652 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
20654 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
20656 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20658 2013-01-18 Joseph Myers <joseph@codesourcery.com>
20659 Mark Mitchell <mark@codesourcery.com>
20660 Tom de Vries <tom@codesourcery.com>
20661 Paul Pluzhnikov <ppluzhnikov@google.com>
20663 * debug/tst-backtrace2.c: New file.
20664 * debug/tst-backtrace3.c: Likewise.
20665 * debug/tst-backtrace4.c: Likewise.
20666 * debug/tst-backtrace5.c: Likewise.
20667 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
20668 (CFLAGS-tst-backtrace3.c): Likewise.
20669 (CFLAGS-tst-backtrace4.c): Likewise.
20670 (CFLAGS-tst-backtrace5.c): Likewise.
20671 (LDFLAGS-tst-backtrace2): Likewise.
20672 (LDFLAGS-tst-backtrace3): Likewise.
20673 (LDFLAGS-tst-backtrace4): Likewise.
20674 (LDFLAGS-tst-backtrace5): Likewise.
20675 (tests): Add new tests tst-backtrace2, tst-backtrace3,
20676 tst-backtrace4 and tst-backtrace5.
20678 2013-01-18 Anton Blanchard <anton@samba.org>
20679 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20681 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
20682 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
20683 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
20684 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
20685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20686 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
20687 "+r" and remove output regs list as redundant. Add explicit inline
20688 asm to specify register of return val to work around compiler codegen
20689 bug. Remove (int) cast on return value. Add return type parameter to
20690 use in macro so that this macro does not truncate return value for
20692 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
20693 pass to INTERNAL_VSYSCALL_NCS.
20694 (INLINE_VSYSCALL): Add 'long int' as return type to
20695 INTERNAL_VSYSCALL_NCS macro invocation.
20696 (INTERNAL_VSYSCALL): Add 'long int' as return type to
20697 INTERNAL_VSYSCALL_NCS macro invocation.
20698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20700 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
20703 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
20704 Fix application of SIMD FP exception mask.
20706 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
20707 mp_no from a power of two.
20708 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
20709 __mpexp_twomm1. Use __pow_mp.
20711 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
20714 2013-01-17 David S. Miller <davem@davemloft.net>
20716 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20718 2013-01-17 Joseph Myers <joseph@codesourcery.com>
20721 * include/complex.h: Condition contents on [!_COMPLEX_H].
20722 (__kernel_casinhf): New prototype.
20723 (__kernel_casinh): Likewise.
20724 (__kernel_casinhl): Likewise.
20725 * math/Makefile (libm_calls): Add k_casinh.
20726 * math/k_casinh.c: New file.
20727 * math/k_casinhf.c: Likewise.
20728 * math/k_casinhl.c: Likewise.
20729 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
20730 finite nonzero arguments.
20731 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
20732 finite nonzero arguments.
20733 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
20734 finite nonzero arguments.
20735 * math/s_casinh.c: Do not include <float.h>.
20736 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
20737 * math/s_casinhf.c: Do not include <float.h>.
20738 (__casinhf): Move code for finite nonzero arguments to
20740 * math/s_casinhl.c: Do not include <float.h>.
20741 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
20743 (__casinhl): Move code for finite nonzero arguments to
20745 * math/libm-test.inc (cacos_test): Add more tests.
20746 * sysdeps/i386/fpu/libm-test-ulps: Update.
20747 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20749 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
20751 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
20752 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
20753 [!HAVE_MREMAP]: Remove [defined linux] case.
20754 * malloc/arena.c: Do not include <malloc-sysdep.h>.
20756 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
20758 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
20760 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
20762 * elf/elf.h (R_386_SIZE32): New relocation.
20763 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
20765 (elf_machine_rela): Likewise.
20766 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
20767 R_X86_64_SIZE64 and R_X86_64_SIZE32.
20769 2013-01-17 Joseph Myers <joseph@codesourcery.com>
20771 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
20772 (FP_FAST_FMA): Do not define.
20773 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
20774 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
20775 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
20776 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
20777 !_SOFT_FLOAT]: Likewise.
20778 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
20779 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
20781 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
20782 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
20783 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
20784 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
20785 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
20786 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
20789 2013-01-16 Andreas Schwab <schwab@suse.de>
20792 * include/stdlib.h (__mktemp): Add declaration.
20793 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
20794 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
20796 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20798 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
20800 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
20801 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
20802 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
20804 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
20805 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
20807 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
20809 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
20810 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
20811 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
20813 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
20814 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
20816 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
20818 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
20820 2013-01-15 David S. Miller <davem@davemloft.net>
20822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20823 trunc{,f} to libm-sysdep_routes.
20824 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
20827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
20828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
20830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
20832 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
20833 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
20834 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
20835 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
20836 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
20837 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
20838 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
20839 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
20841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20842 nearbyint{,f} to libm-sysdep_routes.
20843 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
20846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
20848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
20850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
20852 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
20853 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
20854 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
20856 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
20857 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
20859 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
20860 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
20861 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
20863 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
20864 libc_feholdexcept and libc_fesetenv.
20866 2013-01-15 Mike Frysinger <vapier@gentoo.org>
20868 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
20870 2013-01-14 David S. Miller <davem@davemloft.net>
20872 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
20873 (SPARC_ASM_VIS2_IFUNC): Likewise.
20874 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
20875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
20876 use of 'siam' instruction.
20877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
20879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
20881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
20883 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
20884 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
20885 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
20886 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
20887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
20889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
20891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
20893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
20895 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
20896 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
20897 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
20898 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
20899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
20901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
20902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
20903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
20905 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
20906 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
20907 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
20908 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
20909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
20910 routines to libm-sysdep_routines.
20911 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20914 fdim/fdimf to libm-sysdep_routines.
20915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
20917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
20918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
20920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
20921 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
20922 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
20923 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
20924 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
20925 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
20926 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
20928 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
20930 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
20931 to optimize copies.
20933 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
20934 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
20935 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20937 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
20938 local variable MPTWO.
20939 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
20942 2013-01-13 Mike Frysinger <vapier@gentoo.org>
20944 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
20947 2013-01-13 Mike Frysinger <vapier@gentoo.org>
20949 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
20951 2013-01-13 Mike Frysinger <vapier@gentoo.org>
20953 * manual/pattern.texi (glob_t): Document gl_flags.
20954 (glob64_t): Likewise.
20956 2013-01-11 David S. Miller <davem@davemloft.net>
20958 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
20959 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
20960 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
20961 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
20962 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
20963 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
20964 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
20965 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
20966 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
20967 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
20968 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
20969 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
20970 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
20972 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
20973 sparc V9 rather than using V8 code.
20974 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
20975 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
20977 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
20979 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
20982 2013-01-11 Roland McGrath <roland@hack.frob.com>
20984 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
20985 not in the main loop.
20986 * configure: Regenerated.
20988 2013-01-11 Joseph Myers <joseph@codesourcery.com>
20990 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
20991 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
20993 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
20994 [!__GLIBC_HAVE_LONG_LONG] case.
20995 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
20996 condition to just #else.
20997 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
20998 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
20999 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
21000 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
21002 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
21003 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
21004 #elif condition to just #else.
21005 * sysdeps/unix/sysv/linux/sys/sysmacros.h
21006 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
21007 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
21008 #elif condition to just #else.
21010 2013-01-11 Steve Ellcey <sellcey@mips.com>
21012 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
21013 (EF_MIPS_ARCH_64): Fix value.
21014 (EF_MIPS_ARCH_32R2): New.
21015 (EF_MIPS_ARCH_64R2): New.
21017 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
21019 * Makeconfig (+link-pie-before-libc): New.
21020 (+link-pie-after-libc): Likewise.
21021 (+link-pie-tests): Likewise.
21022 (+link-pie): Rewritten.
21023 (link-before-libc): Remove $(config-LDFLAGS).
21024 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
21025 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
21026 (config-LDFLAGS): Renamed to ...
21027 (rtld-LDFLAGS): This.
21028 (rtld-tests-LDFLAGS): New macro.
21029 (link-libc-rpath-link): Likewise.
21030 (link-libc-tests-rpath-link): Likewise.
21031 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
21032 (link-libc): Prepand $(link-libc-rpath-link).
21033 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
21034 (test-program-prefix): New macro.
21035 (test-via-rtld-prefix): Likewise.
21036 (test-program-cmd): Likewise.
21037 (host-test-program-cmd): Likewise.
21038 * Makefile ($(common-objpfx)testrun.sh): Replace
21039 $(run-program-prefix) with $(test-program-prefix).
21040 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
21042 ($(common-objpfx)shlib.lds): Likewise.
21043 (build-module-helper): Likewise.
21044 ($(common-objpfx)format.lds): Likewise.
21045 * Rules (binaries-pie-tests): New.
21046 (binaries-pie-notests): Likewise.
21047 (binaries-pie): Rewritten.
21048 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
21049 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
21050 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
21051 (make-test-out): Replace $(host-built-program-cmd) with
21052 $(host-test-program-cmd).
21053 * config.make.in (build-hardcoded-path-in-tests): New variable.
21054 * configure.in (--enable-hardcoded-path-in-tests): New configure
21056 (hardcoded_path_in_tests): New AC_SUBST.
21057 * configure: Regenerated.
21058 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
21059 $(built-program-cmd) with $(test-program-cmd).
21060 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
21061 (test_program_cmd): This.
21062 * elf/Makefile ($(objpfx)order.out): Run test with
21063 $(test-program-prefix).
21064 ($(objpfx)order2.out): Likewise.
21065 ($(objpfx)tst-initorder.out): Likewise.
21066 ($(objpfx)tst-initorder2.out): Likewise.
21067 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
21068 $(test-program-cmd).
21069 ($(objpfx)tst-array1-static.out): Likewise.
21070 ($(objpfx)tst-array2.out): Likewise.
21071 ($(objpfx)tst-array3.out): Likewise.
21072 ($(objpfx)tst-array4.out): Likewise.
21073 ($(objpfx)tst-array5.out): Likewise.
21074 ($(objpfx)tst-array5-static.out): Likewise.
21075 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
21076 $(test-program-cmd).
21077 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
21078 $(run-program-prefix) with $(test-program-prefix).
21079 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
21080 (test_program_prefix): This.
21081 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
21082 $(run-program-prefix) with $(test-program-prefix).
21083 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
21084 (test_program_prefix): This.
21085 * iconvdata/tst-tables.sh: Likewise.
21086 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
21087 $(run-program-prefix) with $(test-program-prefix).
21088 ($(objpfx)tst-translit.out): Likewise.
21089 ($(objpfx)tst-gettext2.out): Likewise.
21090 ($(objpfx)tst-gettext4.out): Likewise.
21091 ($(objpfx)tst-gettext6.out): Likewise.
21092 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
21093 (test_program_prefix): This.
21094 * intl/tst-gettext2.sh: Likewise.
21095 * intl/tst-gettext4.sh Likewise.
21096 * intl/tst-gettext6.sh: Likewise.
21097 * intl/tst-translit.sh: Likewise.
21098 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
21099 with $(test-program-cmd).
21100 * libio/Makefile ($(objpfx)test-freopen.out): Replace
21101 $(run-program-prefix) with $(test-program-prefix).
21102 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
21103 (test_program_prefix): This.
21104 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
21105 $(run-program-prefix) with $(test-program-prefix).
21106 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
21107 (test_program_prefix): This.
21108 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
21109 * posix/Makefile ($(objpfx)globtest.out): Replace
21110 $(run-via-rtld-prefix) and $(test-wrapper) with
21111 $(test-program-prefix) and $(test-via-rtld-prefix).
21112 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
21113 $(test-program-prefix).
21114 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
21115 $(host-test-program-cmd).
21116 (tst-spawn-ARGS): Likewise.
21117 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
21118 $(test-program-prefix).
21119 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
21120 (test_via_rtld_prefix): This.
21121 (test_wrapper): Renamed to ...
21122 (test_program_prefix): This.
21123 (run_program_prefix): Replaced by test_program_prefix.
21124 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
21125 (test_program_prefix): This.
21126 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
21127 with $(host-test-program-cmd).
21128 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
21129 $(run-program-prefix) with $(test-program-prefix).
21130 ($(objpfx)tst-printf.out): Likewise.
21131 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
21132 $(test-program-cmd).
21133 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
21134 (test_program_prefix): This.
21135 * stdio-common/tst-unbputc.sh: Likewise.
21136 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
21137 $(run-program-prefix) with $(test-program-prefix).
21138 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
21139 (test_program_prefix): This.
21140 * string/Makefile ($(objpfx)tst-svc.out): Replace
21141 $(built-program-cmd) with $(test-program-cmd).
21143 2013-01-11 Andreas Jaeger <aj@suse.de>
21146 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
21147 value. Sync with Linux 3.7.
21149 2013-01-10 David S. Miller <davem@davemloft.net>
21151 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
21152 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
21153 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
21155 2013-01-10 Roland McGrath <roland@hack.frob.com>
21157 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
21159 * configure: Regenerated.
21161 2013-01-10 David S. Miller <davem@davemloft.net>
21163 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
21164 sparc V9 rather than using V8 code.
21165 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
21166 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
21168 2013-01-10 Roland McGrath <roland@hack.frob.com>
21170 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
21171 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
21172 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
21173 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
21174 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
21175 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
21176 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
21177 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
21178 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
21179 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
21180 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
21181 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
21182 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
21183 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
21184 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
21185 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
21186 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
21187 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
21188 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
21189 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
21190 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
21191 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
21192 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
21193 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
21194 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
21195 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
21196 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
21198 2013-01-10 David S. Miller <davem@davemloft.net>
21200 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21202 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
21204 * posix/Makefile (tests-static): New variable.
21205 (tests): Add $(tests-static).
21206 (tst-exec-static-ARGS): New variable.
21207 (tst-spawn-static-ARGS): Likewise.
21208 * posix/tst-exec-static.c: New file.
21209 * posix/tst-spawn-static.c: Likewise.
21210 * posix/tst-exec.c: Support run directly.
21211 * posix/tst-spawn.c: Likewise.
21213 2013-01-10 Joseph Myers <joseph@codesourcery.com>
21215 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
21217 * math/bits/mathcalls.h (llrint): Likewise.
21218 (llround): Likewise.
21219 * stdlib/stdlib.h (struct drand48_data): Likewise.
21220 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
21221 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
21222 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
21224 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
21226 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
21227 (elf_greg_t): Likewise.
21228 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
21229 (__jmp_buf): Likewise.
21230 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
21232 (llrint): Likewise, for all definitions.
21233 (llrintl): Likewise.
21235 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
21236 Remove [__GNUC__] condition.
21237 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
21238 condition to just [__USE_ISOC99].
21239 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
21241 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
21244 * sysdeps/unix/sysv/linux/x86/bits/environments.h
21245 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
21247 (_POSIX_V6_ILP32_OFF32): Likewise.
21248 (_XBS5_ILP32_OFF32): Likewise.
21249 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
21250 (__ILP32_OFFBIG_LDFLAGS): Likewise.
21252 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21254 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
21256 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
21257 doubles __mpexp_twomm1. Adjust usage.
21258 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
21261 2013-01-10 Andreas Schwab <schwab@suse.de>
21264 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
21265 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
21267 2013-01-09 David S. Miller <davem@davemloft.net>
21270 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
21271 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
21272 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
21273 (TCP_FASTOPEN): Define.
21274 (tcp_repair_opt): New structure.
21275 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
21277 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
21278 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
21279 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
21280 (tcp_cookie_transactions): New structure.
21282 2013-01-09 Anton Blanchard <anton@samba.org>
21284 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
21285 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
21286 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
21287 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
21289 2013-01-09 Joseph Myers <joseph@codesourcery.com>
21291 * include/features.h (__USE_ANSI): Remove.
21293 2013-01-09 Roland McGrath <roland@hack.frob.com>
21295 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
21297 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
21299 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
21301 * sysdeps/s390/fpu/libm-test-ulps: Update.
21303 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21305 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
21309 (denorm): Likewise.
21310 (__mp_dbl): Likewise.
21311 (__dbl_mp): Likewise.
21312 (add_magnitudes): Likewise.
21313 (sub_magnitudes): Likewise.
21319 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
21323 (denorm): Likewise.
21324 (__mp_dbl): Likewise.
21325 (__dbl_mp): Likewise.
21326 (add_magnitudes): Likewise.
21327 (sub_magnitudes): Likewise.
21333 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
21337 (denorm): Likewise.
21338 (__mp_dbl): Likewise.
21339 (__dbl_mp): Likewise.
21340 (add_magnitudes): Likewise.
21341 (sub_magnitudes): Likewise.
21348 2013-01-08 Joseph Myers <joseph@codesourcery.com>
21350 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
21351 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
21352 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
21353 2 && __USE_EXTERN_INLINES]: Likewise.
21355 2013-01-08 Andreas Jaeger <aj@suse.de>
21358 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
21360 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
21361 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
21363 2013-01-07 Anton Blanchard <anton@samba.org>
21365 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
21366 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
21367 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
21368 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
21369 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
21370 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21371 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
21372 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
21373 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
21374 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
21375 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21376 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21377 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
21378 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21379 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
21380 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21381 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21382 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21383 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
21384 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
21385 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
21386 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
21387 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
21388 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
21389 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
21390 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
21391 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
21392 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
21393 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
21394 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
21395 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
21396 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21397 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
21398 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
21399 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
21400 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
21401 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21402 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
21403 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
21404 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
21405 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
21406 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21407 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
21409 2013-01-07 Joseph Myers <joseph@codesourcery.com>
21411 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
21412 (__MALLOC_PMT): Likewise.
21413 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
21414 [__GNUC__], only on [_LIBC].
21415 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
21416 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
21417 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
21418 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
21419 forward declaration.
21420 (realloc_hook_ini): Likewise.
21421 (memalign_hook_ini): Likewise.
21422 (__libc_memalign): Do not use __MALLOC_PMT in variable
21424 (__libc_valloc): Likewise.
21425 (__libc_pvalloc): Likewise.
21426 (__libc_calloc): Likewise.
21427 (__posix_memalign): Likewise.
21430 * math/s_casinh.c: Include <float.h>.
21431 (__casinh): Do not do computation with squaring and square root
21432 for large arguments.
21433 * math/s_casinhf.c: Include <float.h>.
21434 (__casinhf): Do not do computation with squaring and square root
21435 for large arguments.
21436 * math/s_casinhl.c: Include <float.h>.
21437 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
21438 (__casinhl): Do not do computation with squaring and square root
21439 for large arguments.
21440 * math/libm-test.inc (casin_test): Add more tests.
21441 (casinh_test): Likewise.
21442 * sysdeps/i386/fpu/libm-test-ulps: Update.
21443 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21445 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
21447 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
21448 (__x86_64_raw_data_cache_size): Likewise.
21449 (__x86_64_data_cache_size_half): Likewise.
21450 (__x86_64_raw_data_cache_size_half): Likewise.
21451 (__x86_64_shared_cache_size): Likewise.
21452 (__x86_64_raw_shared_cache_size): Likewise.
21453 (__x86_64_shared_cache_size_half): Likewise.
21454 (__x86_64_raw_shared_cache_size_half): Likewise.
21455 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
21457 (__x86_data_cache_size): This.
21458 (__x86_64_raw_data_cache_size): Renamed to ...
21459 (__x86_raw_data_cache_size): This.
21460 (__x86_64_data_cache_size_half): Renamed to ...
21461 (__x86_data_cache_size_half): This.
21462 (__x86_64_raw_data_cache_size_half): Renamed to ...
21463 (__x86_raw_data_cache_size_half): This.
21464 (__x86_64_shared_cache_size): Renamed to ...
21465 (__x86_shared_cache_size): This.
21466 (__x86_64_raw_shared_cache_size): Renamed to ...
21467 (__x86_raw_shared_cache_size): This.
21468 (__x86_64_shared_cache_size_half): Renamed to ...
21469 (__x86_shared_cache_size_half): This.
21470 (__x86_64_raw_shared_cache_size_half): Renamed to ...
21471 (__x86_raw_shared_cache_size_half): This.
21472 * sysdeps/x86_64/memcpy.S: Updated.
21473 * sysdeps/x86_64/memset.S: Likewise.
21474 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
21475 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21476 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21478 2013-01-04 David S. Miller <davem@davemloft.net>
21480 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21482 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
21484 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
21485 1 to avoid redefinition warning.
21486 (__USE_GNU): Don't define.
21487 (init_signaling_nan): Protoize.
21489 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21491 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21493 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
21494 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
21495 (__cpymn): Likewise.
21496 (norm): Remove commented code.
21497 (denorm): Likewise.
21498 (__mp_dbl): Likewise.
21500 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
21501 (__cpymn): Likewise.
21502 (norm): Remove commented code.
21503 (denorm): Likewise.
21504 (__mp_dbl): Likewise.
21507 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
21508 mp_no value for 1.0 and 2.0.
21509 (norm): Use RADIXI instead of radixi.d.
21510 (denorm): Likewise.
21511 (__mul): Use 0.0 instead of zero.d.
21512 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
21513 mp_no value for 1.0 and 2.0.
21514 (norm): Use RADIXI instead of radixi.d.
21515 (denorm): Likewise.
21516 (__mul): Use 0.0 instead of zero.d.
21518 2013-01-04 Joseph Myers <joseph@codesourcery.com>
21521 * math/s_casinh.c (__casinh): Reduce finite argument to first
21522 quadrant then set signs of results at the end.
21523 * math/s_casinhf.c (__casinhf): Likewise.
21524 * math/s_casinhl.c (__casinhl): Likewise.
21525 * math/libm-test.inc (casin_test): Add more tests.
21526 (casinh_test): Likewise.
21527 * sysdeps/i386/fpu/libm-test-ulps: Update.
21528 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21530 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21532 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
21534 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
21536 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
21538 (denorm): Likewise.
21539 (__mp_dbl): Likewise.
21542 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
21543 and adjust the header comment.
21545 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
21546 variable name from declaration.
21548 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
21550 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21551 Initialize COMMON_CPUID_INDEX_7 element.
21552 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
21553 (CPUID_RTM): Likewise.
21554 (HAS_RTM): Likewise.
21555 (COMMON_CPUID_INDEX_7): New enum.
21557 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
21560 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
21561 size is zero, record memory as freed.
21563 2013-01-03 Andreas Jaeger <aj@suse.de>
21565 * po/ia.po: Add new Interlingua translation.
21567 2012-01-03 Allan McRae <allan@archlinux.org>
21569 * locale/programs/localedef.c: Fix description of '--posix' flag.
21571 2013-01-02 Joseph Myers <joseph@codesourcery.com>
21573 * NEWS: Update dates in second copyright notice.
21574 * README: Update copyright dates in example.
21575 * manual/libc.texinfo: Update copyright dates.
21576 * scripts/test-installation.pl: Update copyright date in --version
21579 * hurd/ctty-input.c: Fix copyright notice formatting.
21580 * hurd/ctty-output.c: Likewise.
21581 * hurd/dtable.c: Likewise.
21582 * hurd/hurd-raise.c: Likewise.
21583 * hurd/hurdprio.c: Likewise.
21584 * hurd/msgportdemux.c: Likewise.
21585 * misc/sys/file.h: Likewise.
21586 * misc/sys/ioctl.h: Likewise.
21587 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
21588 * sysdeps/mach/hurd/chdir.c: Likewise.
21589 * sysdeps/mach/hurd/fchdir.c: Likewise.
21590 * sysdeps/mach/hurd/rename.c: Likewise.
21591 * sysdeps/mach/hurd/rmdir.c: Likewise.
21592 * sysdeps/mach/hurd/seekdir.c: Likewise.
21593 * sysdeps/mach/hurd/setsid.c: Likewise.
21594 * sysdeps/posix/wait3.c: Likewise.
21596 * All files with FSF copyright notices: Update copyright dates
21597 using scripts/update-copyrights.
21598 * intl/plural.c: Regenerated.
21599 * locale/programs/charmap-kw.h: Likewise.
21600 * locale/programs/locfile-kw.h: Likewise.
21602 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
21604 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
21607 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
21608 calculation loop and add branch prediction.
21610 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
21611 check access beyond bounds of m1np.
21613 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
21615 (__inv): Remove local variable MPTWO to use the global
21617 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
21618 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
21620 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
21621 MP3HALFS static const.
21623 2013-01-01 David S. Miller <davem@davemloft.net>
21625 * po/ca.po: Update from translation team.
21627 2013-01-01 Joseph Myers <joseph@codesourcery.com>
21629 * scripts/update-copyrights: New file.
21630 * Makeconfig: Reformat copyright notice.
21631 * ctype/ctype.h: Likewise.
21632 * debug/swprintf_chk.c: Likewise.
21633 * elf/dl-cache.c: Likewise.
21634 * elf/dl-debug.c: Likewise.
21635 * elf/dl-object.c: Likewise.
21636 * grp/initgroups.c: Likewise.
21637 * hurd/Makefile: Likewise.
21638 * hurd/hurd/signal.h: Likewise.
21639 * hurd/hurdfault.c: Likewise.
21640 * hurd/hurdioctl.c: Likewise.
21641 * hurd/hurdlookup.c: Likewise.
21642 * hurd/intr-msg.c: Likewise.
21643 * iconv/gconv_open.c: Likewise.
21644 * libio/swprintf.c: Likewise.
21645 * locale/lc-ctype.c: Likewise.
21646 * locale/nl_langinfo.c: Likewise.
21647 * mach/Machrules: Likewise.
21648 * mach/Makefile: Likewise.
21649 * malloc/obstack.h: Likewise.
21650 * manual/Makefile: Likewise.
21651 * manual/tsort.awk: Likewise.
21652 * misc/bits/stab.def: Likewise.
21653 * nis/nis_print_group_entry.c: Likewise.
21654 * nis/nis_table.c: Likewise.
21655 * nis/nss_compat/compat-pwd.c: Likewise.
21656 * nis/nss_compat/compat-spwd.c: Likewise.
21657 * po/Makefile: Likewise.
21658 * posix/fnmatch.c: Likewise.
21659 * posix/regex.h: Likewise.
21660 * resolv/Makefile: Likewise.
21661 * resolv/nss_dns/dns-network.c: Likewise.
21662 * resolv/res_hconf.c: Likewise.
21663 * scripts/gen-sorted.awk: Likewise.
21664 * soft-fp/soft-fp.h: Likewise.
21665 * stdio-common/printf.h: Likewise.
21666 * stdlib/monetary.h: Likewise.
21667 * stdlib/random.c: Likewise.
21668 * stdlib/random_r.c: Likewise.
21669 * sysdeps/generic/Makefile: Likewise.
21670 * sysdeps/gnu/Makefile: Likewise.
21671 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21672 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21673 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21674 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21675 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21676 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21677 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21678 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21679 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21680 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21681 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21682 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21683 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
21684 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
21685 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
21686 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
21687 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21688 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21689 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21690 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21691 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
21692 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
21693 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21694 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
21695 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
21696 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
21697 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
21698 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
21699 * sysdeps/mach/hurd/errnos.awk: Likewise.
21700 * sysdeps/mach/hurd/fork.c: Likewise.
21701 * sysdeps/mach/hurd/getcwd.c: Likewise.
21702 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
21703 * sysdeps/mach/hurd/mmap.c: Likewise.
21704 * sysdeps/mach/hurd/utimes.c: Likewise.
21705 * sysdeps/mach/hurd/xmknod.c: Likewise.
21706 * sysdeps/posix/profil.c: Likewise.
21707 * sysdeps/posix/readdir_r.c: Likewise.
21708 * sysdeps/powerpc/bits/mathdef.h: Likewise.
21709 * sysdeps/powerpc/bits/setjmp.h: Likewise.
21710 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
21711 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
21712 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
21713 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
21714 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
21715 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21716 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21717 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
21718 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
21719 * sysdeps/pthread/lio_listio.c: Likewise.
21720 * sysdeps/sparc/dl-procinfo.h: Likewise.
21721 * sysdeps/unix/i386/sysdep.S: Likewise.
21722 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
21723 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
21724 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
21725 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
21726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21727 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
21728 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
21729 * sysdeps/unix/sysv/linux/speed.c: Likewise.
21730 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
21731 * sysdeps/wordsize-32/divdi3.c: Likewise.
21732 * time/sys/time.h: Likewise.
21733 * wcsmbs/Makefile: Likewise.
21735 2013-01-01 David S. Miller <davem@davemloft.net>
21737 * po/fr.po: Update from translation team.
21739 * catgets/gencat.c: Update copyright year.
21740 * csu/version.c: Likewise.
21741 * debug/catchsegv.sh: Likewise.
21742 * debug/pcprofiledump.c: Likewise.
21743 * debug/xtrace.sh: Likewise.
21744 * elf/ldconfig.c: Likewise.
21745 * elf/ldd.bash.in: Likewise.
21746 * elf/pldd.c: Likewise.
21747 * elf/sotruss.ksh: Likewise.
21748 * elf/sprof.c: Likewise.
21749 * iconv/iconv_prog.c: Likewise.
21750 * iconv/iconvconfig.c: Likewise.
21751 * locale/programs/locale.c: Likewise.
21752 * locale/programs/localedef.c: Likewise.
21753 * login/programs/pt_chown.c: Likewise.
21754 * malloc/memusage.sh: Likewise.
21755 * malloc/memusagestat.c: Likewise.
21756 * malloc/mtrace.pl: Likewise.
21757 * nscd/nscd.c: Likewise.
21758 * nss/getent.c: Likewise.
21759 * nss/makedb.c: Likewise.
21760 * posix/getconf.c: Likewise.
21762 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
21764 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
21767 2012-12-30 Mike Frysinger <vapier@gentoo.org>
21769 * math/bits/mathcalls.h (modf): Use __nonnull.
21771 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21773 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
21774 (split): Use macro CN instead of the bare value.
21775 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
21777 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
21778 instead of the bare value.
21779 (power1): Likewise.
21781 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21783 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
21785 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21787 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
21789 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
21790 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21791 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
21792 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
21794 2012-12-28 Andreas Jaeger <aj@suse.de>
21796 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
21797 values are from Linux 3.7.
21799 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
21800 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
21802 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21804 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
21807 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
21809 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
21810 variables with preprocessor constants.
21811 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21812 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
21813 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
21815 2012-12-27 Bruno Haible <bruno@clisp.org>
21818 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
21821 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21823 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
21824 and use variable directly.
21825 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
21827 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
21829 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
21830 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
21832 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21833 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
21834 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
21835 include directive. Remove local variable MPONE.
21836 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
21837 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
21838 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21840 2012-12-25 David S. Miller <davem@davemloft.net>
21842 * version.h (RELEASE): Set to "development".
21843 (VERSION): Set to "2.17.90".
21844 * NEWS: Add 2.18 section.
21846 2012-12-21 David S. Miller <davem@davemloft.net>
21848 * po/hr.po: Update from translation team.
21850 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21852 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
21854 2012-12-19 Steve Ellcey <sellcey@mips.com>
21856 * NEWS: Mention new memcpy for MIPS.
21858 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21860 * manual/contrib.texi (Contributors): Spelling correction.
21862 2012-12-15 David S. Miller <davem@davemloft.net>
21864 * po/ru.po: Update from translation team.
21866 2012-12-13 David S. Miller <davem@davemloft.net>
21868 * NEWS: Mention IFUNC testsuite enhancements.
21870 * po/pl.po: Update from translation team.
21871 * po/bg.po: Likewise.
21873 * manual/contrib.texi (Contributors): Update entries for Hongjiu
21874 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
21876 2012-12-11 David S. Miller <davem@davemloft.net>
21878 * po/sv.po: Update from translation team.
21880 * po/vi.po: Update from translation team.
21882 * po/cs.po: Update from translation team.
21884 * po/de.po: Update from translation team.
21885 * po/eo.po: Likewise.
21886 * po/nl.po: Likewise.
21888 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21891 * manual/argp.texi (Argp Helper Functions): Move node to follow
21892 Argp Parsing State.
21895 * manual/conf.texi (Limits on File System Capacity): Mention if
21896 terminating null is included in the max size.
21898 2012-12-10 Andreas Jaeger <aj@suse.de>
21900 * po/cs.po: Update from translation team.
21902 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
21904 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
21905 void pointer and cast to uintptr_t.
21906 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
21908 * sysdeps/s390/s390-64/memcpy.S: Likewise.
21909 * sysdeps/s390/s390-64/memset.S: Likewise.
21911 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
21914 * menual/message.texi (Message Translation): Fix typos.
21915 (Helper programs for gettext): Likewise.
21917 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
21920 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
21923 2012-12-07 David S. Miller <davem@davemloft.net>
21925 * po/libc.pot: Update.
21927 2012-12-07 Richard Henderson <rth@redhat.com>
21930 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
21931 normal/normal case to before the switch.
21932 (_FP_DIV): Likewise.
21934 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
21935 Mike Frysinger <vapier@gentoo.org>
21937 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
21938 check for __NR_fadvise64_64.
21940 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
21942 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
21943 0, not just to plain "0" as a statement.
21944 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
21947 2012-12-06 Joseph Myers <joseph@codesourcery.com>
21949 * NEWS: Use sourceware.org in Bugzilla URL.
21951 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
21953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
21954 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
21956 * stdio-common/tst-put-error.c (do_test): Add newline to the
21957 padded test to ensure flush.
21959 2012-12-05 Jeff Law <law@redhat.com>
21961 * sunrpc/etc.rpc (fedfs_admin): Add entry.
21963 2012-12-05 Joseph Myers <joseph@codesourcery.com>
21965 * README: Don't refer to ports add-on as distributed separately.
21966 Mention AArch64 in list of systems supported in the ports add-on.
21968 * LICENSES: Add more non-FSF copyright and license notices.
21970 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
21973 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
21975 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
21976 10000 as width of padded output.
21978 2012-12-04 Joseph Myers <joseph@codesourcery.com>
21980 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
21982 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
21983 variable LX with __attribute__ ((unused)).
21984 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
21986 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
21987 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21988 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
21989 with __attribute__ ((unused)).
21991 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
21993 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
21995 2012-12-04 Joseph Myers <joseph@codesourcery.com>
21997 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
21998 (CFLAGS-nldbl-acos.c): New variable.
21999 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
22000 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
22001 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
22002 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
22003 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
22004 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
22005 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
22006 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
22007 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
22008 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
22009 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
22010 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
22011 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
22012 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
22013 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
22014 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
22015 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
22016 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
22017 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
22018 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
22019 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
22020 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
22021 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
22022 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
22023 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
22024 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
22025 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
22026 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
22027 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
22028 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
22029 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
22030 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
22031 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
22032 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
22033 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
22034 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
22035 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
22036 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
22037 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
22038 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
22039 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
22040 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
22041 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
22042 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
22043 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
22044 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
22045 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
22046 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
22047 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
22048 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
22049 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
22050 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
22051 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
22052 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
22053 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
22054 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
22055 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
22056 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
22057 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
22058 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
22059 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
22060 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
22061 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
22062 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
22063 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
22064 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
22065 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
22066 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
22067 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
22068 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
22069 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
22070 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
22071 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
22072 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
22073 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
22074 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
22075 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
22076 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
22077 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
22078 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
22079 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
22080 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
22081 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
22082 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
22083 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
22084 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
22085 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
22086 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
22087 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
22088 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
22089 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
22090 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
22091 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
22092 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
22093 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
22094 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
22095 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
22097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22098 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
22101 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
22102 whole low double instead of just low 47 bits when splitting values
22105 2012-12-03 Allan McRae <allan@archlinux.org>
22107 * manual/stdio.texi (Predefined Printf Handlers): Remove
22108 @hsep and @vsep usage.
22110 2012-12-03 Mike Frysinger <vapier@gentoo.org>
22112 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
22113 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
22115 2012-12-03 Jeff Law <law@redhat.com>
22117 * time/sys/time.h (settimeofday): Do not mark TV argument
22120 2012-12-01 Mike Frysinger <vapier@gentoo.org>
22122 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
22123 when currently writing and seek to current position when not.
22124 * libio/Makefile (tests): Remove bug-fclose1.
22125 * libio/bug-fclose1.c: Delete.
22127 2012-12-01 Joseph Myers <joseph@codesourcery.com>
22129 * manual/arith.texi (feenableexcept): Fix typo.
22130 (fedisableexcept): Likewise.
22132 2012-11-30 Roland McGrath <roland@hack.frob.com>
22134 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
22135 second, differently-typed declaration, rather than a cast.
22137 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22139 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
22140 * include/rpc/svc.h: ... here.
22142 2012-11-30 Aurelien Jarno <aurel32@debian.org>
22145 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
22146 depending n and resplen2 to catch cases where answer
22149 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
22151 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
22152 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
22154 2012-11-29 Mike Frysinger <vapier@gentoo.org>
22156 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
22158 2012-11-29 Roland McGrath <roland@hack.frob.com>
22160 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
22162 2012-11-28 Jeff Law <law@redhat.com>
22165 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
22166 dataset_temporary. Track alloca usage into alloca_used.
22167 If dataset is large allocate and release it via malloc/free.
22169 2012-06-04 Florian Weimer <fweimer@redhat.com>
22172 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
22174 2012-11-28 David S. Miller <davem@davemloft.net>
22176 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22178 2012-11-28 Joseph Myers <joseph@codesourcery.com>
22181 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
22182 of pi/2 rounded to nearest to 64 bits.
22183 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
22184 nearest to 64 bits.
22185 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
22188 2012-11-28 Jeff Law <law@redhat.com>
22189 Martin Osvald <mosvald@redhat.com>
22192 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
22193 * sunrpc/svc.c: Include time.h.
22194 (__svc_accept_failed): New function.
22195 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
22196 any reason other than EINTR, call __svc_accept_failed.
22197 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
22198 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
22200 2012-11-28 Andreas Schwab <schwab@suse.de>
22202 * scripts/abilist.awk: Also handle indirect functions in .opd
22205 2012-11-28 Joseph Myers <joseph@codesourcery.com>
22208 * sysdeps/x86/fpu/powl_helper.c: New file.
22209 * sysdeps/x86/fpu/Makefile: Likewise.
22210 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
22212 (__ieee754_powl): Use __powl_helper for finite arguments except
22213 integer exponents below 8.
22214 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
22216 (__ieee754_powl): Use __powl_helper for finite arguments except
22217 integer exponents below 8.
22218 * math/libm-test.inc (pow_test): Add more tests and enable some
22219 previously disabled tests.
22220 * sysdeps/i386/fpu/libm-test-ulps: Update.
22221 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22223 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22224 Carlos O'Donell <carlos_odonell@mentor.com>
22226 * nss/makedb.c (is_prime): Assert that input is odd and greater
22227 than 4. Note that fact in a comment too.
22228 (next_prime): Add 4 to input.
22230 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22233 * libio/Makefile (tests): Add test case tst-fwrite-error.
22234 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
22235 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
22236 * libio/tst-fwrite-error.c: New test case.
22238 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
22240 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
22241 before casting to void *.
22242 * include/libc-internal.h (__pointer_type): New macro.
22243 (__integer_if_pointer_type_sub): Likewise.
22244 (__integer_if_pointer_type): Likewise.
22245 (cast_to_integer): Likewise.
22246 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
22247 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
22248 before casting to atomic64_t.
22249 (atomic_exchange_acq): Likewise.
22250 (__arch_exchange_and_add_body): Likewise.
22251 (__arch_add_body): Likewise.
22252 (atomic_add_negative): Likewise.
22253 (atomic_add_zero): Likewise.
22255 2012-11-26 Joseph Myers <joseph@codesourcery.com>
22257 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
22258 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
22259 (add_fdes): Likewise.
22260 (linear_search_fdes): Likewise.
22261 (binary_search_unencoded_fdes): Likewise.
22263 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
22265 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
22267 2012-11-24 Adam Conrad <adconrad@0c3.net>
22269 * configure.in: Autodetect C++ header directories.
22270 * configure: Regenerated.
22272 2012-11-23 Mike Frysinger <vapier@gentoo.org>
22274 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
22276 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
22278 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22280 2012-11-22 Joseph Myers <joseph@codesourcery.com>
22282 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
22283 LDBL_MANT_DIG == 106]: Disable some tests.
22284 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
22286 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
22290 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
22291 input for small inputs. Return +/- pi/2 for large inputs.
22292 * math/libm-test.inc (atan_test): Add more tests.
22294 * sysdeps/generic/unwind-dw2-fde-glibc.c
22295 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
22296 __attribute__ ((unused)).
22299 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
22300 x * y if x and y are nonzero and z is zero.
22303 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
22304 nonzero exponents with absolute value below 0x1p-117 to +/-
22308 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
22309 up arguments below 2**-450, not just those below 2**-500.
22310 * math/libm-test.inc (hypot_test): Add another test.
22313 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
22314 Return a+b for ratio over 2**120, not 2**60.
22315 * math/libm-test.inc (hypot_test): Add another test.
22317 * math/libm-test.inc (clog_test): Use
22318 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
22319 (clog10_test): Likewise.
22322 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
22324 2012-11-22 Andreas Schwab <schwab@suse.de>
22326 * sysdeps/i386/fpu/libm-test-ulps: Update.
22328 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
22330 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
22331 printf output with newline.
22333 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
22336 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
22337 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
22338 -z nodlopen, -z initfirst and -z execstack support.
22339 * configure: Regenerated.
22341 * elf/elf.h (DF_1_NODIRECT): New macro.
22342 (DF_1_IGNMULDEF): Likewise.
22343 (DF_1_NOKSYMS): Likewise.
22344 (DF_1_NOHDR): Likewise.
22345 (DF_1_EDITED): Likewise.
22346 (DF_1_NORELOC): Likewise.
22347 (DF_1_SYMINTPOSE): Likewise.
22348 (DF_1_GLOBAUDIT): Likewise.
22349 (DF_1_SINGLETON): Likewise.
22350 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
22351 DT_1_SUPPORTED_MASK bits.
22352 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
22354 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
22356 * sysdeps/unix/make-syscalls.sh: Document prefixes.
22358 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
22360 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
22363 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
22364 (sendmmsg): Move declarations...
22365 * socket/sys/socket.h: ... here.
22366 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
22367 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
22369 * socket/recvmmsg.c: ... this new file.
22370 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
22371 (sendmmsg): Rename to __sendmmsg, create weak alias and make
22372 definition of __sendmmsg hidden.
22373 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
22374 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
22375 Move ENOSYS stub into and include it from...
22376 * socket/sendmmsg.c: ... this new file.
22377 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
22378 (sysdep_routines): Move recvmmsg and sendmmsg...
22379 * socket/Makefile (routines): ... here.
22380 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
22381 (GLIBC_PRIVATE): Add __sendmmsg.
22382 * include/sys/socket.h (__sendmmsg): Add declarations.
22383 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
22386 2012-11-20 Joseph Myers <joseph@codesourcery.com>
22388 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
22389 variable I1 with __attribute__ ((unused)).
22390 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
22392 2012-11-19 Joseph Myers <joseph@codesourcery.com>
22394 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
22395 DUMMY variables with __attribute__ ((unused)).
22397 * bits/byteswap.h: Include <bits/types.h>.
22398 (__bswap_64): Use __uint64_t instead of unsigned long long int.
22400 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
22402 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
22403 string_t. Do not manually set errno.
22404 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
22405 length with __strnlen. Make sure to both set errno and return it on
22408 2012-11-19 David S. Miller <davem@davemloft.net>
22410 With help from Joseph Myers.
22411 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
22412 very large arguments properly.
22413 * math/libm-test.inc (atan_test): New tests.
22414 (atan2_test): New tests.
22415 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22416 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22418 2012-11-19 Joseph Myers <joseph@codesourcery.com>
22421 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
22424 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
22425 [POSIX] (EADDRNOTAVAIL): Likewise.
22426 [POSIX] (EAFNOSUPPORT): Likewise.
22427 [POSIX] (EALREADY): Likewise.
22428 [POSIX] (ECONNABORTED): Likewise.
22429 [POSIX] (ECONNREFUSED): Likewise.
22430 [POSIX] (ECONNRESET): Likewise.
22431 [POSIX] (EDESTADDRREQ): Likewise.
22432 [POSIX] (EDQUOT): Likewise.
22433 [POSIX] (EHOSTUNREACH): Likewise.
22434 [POSIX] (EIDRM): Likewise.
22435 [POSIX] (EISCONN): Likewise.
22436 [POSIX] (ELOOP): Likewise.
22437 [POSIX] (EMULTIHOP): Likewise.
22438 [POSIX] (ENETDOWN): Likewise.
22439 [POSIX] (ENETUNREACH): Likewise.
22440 [POSIX] (ENOBUFS): Likewise.
22441 [POSIX] (ENODATA): Likewise.
22442 [POSIX] (ENOLINK): Likewise.
22443 [POSIX] (ENOMSG): Likewise.
22444 [POSIX] (ENOPROTOOPT): Likewise.
22445 [POSIX] (ENOSR): Likewise.
22446 [POSIX] (ENOSTR): Likewise.
22447 [POSIX] (ENOTCONN): Likewise.
22448 [POSIX] (ENOTSOCK): Likewise.
22449 [POSIX] (EOPNOTSUPP): Likewise.
22450 [POSIX] (EOVERFLOW): Likewise.
22451 [POSIX] (EPROTO): Likewise.
22452 [POSIX] (EPROTONOSUPPORT): Likewise.
22453 [POSIX] (EPROTOTYPE): Likewise.
22454 [POSIX] (ESTALE): Likewise.
22455 [POSIX] (ETIME): Likewise.
22456 [POSIX] (ETXTBSY): Likewise.
22457 [POSIX] (EWOULDBLOCK): Likewise.
22458 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
22459 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
22460 [POSIX] (SEEK_CUR): Likewise.
22461 [POSIX] (SEEK_END): Likewise.
22462 [POSIX || UNIX98] (mode_t): Do not require.
22463 [POSIX] (off_t): Likewise.
22464 [POSIX] (pid_t): Likewise.
22465 [POSIX] (sys/stat.h): Do not allow header.
22466 [POSIX] (unistd.h): Likewise.
22467 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
22468 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
22469 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
22470 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
22472 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
22473 sigevent): Specify elements.
22474 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
22476 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
22477 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
22479 * conform/data/cpio.h-data [POSIX]: Disable whole file.
22480 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
22481 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
22482 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
22483 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
22484 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
22485 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
22486 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
22487 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
22488 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
22489 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
22490 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
22491 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
22492 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
22494 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
22496 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
22498 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
22500 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
22501 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
22502 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
22503 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
22504 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
22505 Specify lower bound on value.
22506 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
22507 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
22508 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
22509 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
22510 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
22511 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
22512 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
22513 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
22515 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
22517 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
22518 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
22519 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
22520 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
22521 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
22522 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
22523 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
22524 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
22525 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
22526 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
22527 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
22528 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
22529 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
22530 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
22531 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
22532 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
22534 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
22536 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
22537 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
22538 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
22539 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
22540 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
22541 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
22543 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
22544 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
22545 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
22546 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
22547 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
22548 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
22549 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
22551 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
22552 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
22553 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
22554 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
22555 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
22556 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
22557 specify as optional.
22558 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
22559 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
22560 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
22561 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
22562 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
22563 [XPG3] (NL_LANGMAX): Likewise.
22564 [POSIX || XPG3] (NL_MSGMAX): Likewise.
22565 [POSIX || XPG3] (NL_NMAX): Likewise.
22566 [POSIX || XPG3] (NL_SETMAX): Likewise.
22567 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
22568 [XPG3] (NZERO): Likewise.
22569 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
22570 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
22571 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
22572 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
22573 (REG_ERANGE): Expect.
22574 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
22576 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
22577 Use (void) in prototype.
22578 [POSIX] (*_t): Allow.
22579 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
22580 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
22581 (WRDE_BADVAL): Expect.
22583 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
22585 [XPG3 || XPG4] (O_RSYNC): Likewise.
22586 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
22588 [XPG3 || XPG4] (pthread_sigmask): Likewise.
22589 [XPG3 || XPG4] (sigqueue): Likewise.
22590 [XPG3 || XPG4] (sigtimedwait): Likewise.
22591 [XPG3 || XPG4] (sigwaitinfo): Likewise.
22592 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
22593 [XPG3 || XPG4] (vsnprintf): Likewise.
22594 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
22596 [XPG3 || XPG4] (blksize_t): Likewise.
22597 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
22599 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
22600 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
22601 [XPG3 || XPG4] (struct itimerspec): Likewise.
22602 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
22603 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
22604 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
22605 [XPG3 || XPG4] (clockid_t): Likewise.
22606 [XPG3 || XPG4] (timer_t): Likewise.
22607 [XPG3 || XPG4] (clock_getres): Likewise.
22608 [XPG3 || XPG4] (clock_gettime): Likewise.
22609 [XPG3 || XPG4] (clock_settime): Likewise.
22610 [XPG3 || XPG4] (nanosleep): Likewise.
22611 [XPG3 || XPG4] (timer_create): Likewise.
22612 [XPG3 || XPG4] (timer_delete): Likewise.
22613 [XPG3 || XPG4] (timer_gettime): Likewise.
22614 [XPG3 || XPG4] (timer_getoverrun): Likewise.
22615 [XPG3 || XPG4] (timer_settime): Likewise.
22616 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
22617 [XPG3 || XPG4] (getlogin_r): Likewise.
22618 [XPG3 || XPG4] (pread): Likewise.
22619 [XPG3 || XPG4] (pthread_atfork): Likewise.
22620 [XPG3 || XPG4] (pwrite): Likewise.
22623 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
22626 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
22628 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
22629 finalizing MALLSTREAM.
22631 * sysdeps/mach/hurd/syncfs.c: New file.
22633 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22636 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
22637 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
22638 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
22639 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
22640 (_nss_dns_gethostbyname4_r): Likewise.
22641 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
22642 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
22644 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
22647 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
22649 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
22651 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
22652 * elf/cache.c (print_entry): Print ",AArch64" for
22655 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
22656 * elf/cache.c (print_entry): Print ",hard-float" for
22659 2012-11-18 David S. Miller <davem@davemloft.net>
22661 With help from Joseph Myers.
22662 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
22664 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
22666 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
22667 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
22669 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
22670 * math/libm-test.inc (y0_test): New tests.
22671 (y1_test): New tests.
22672 * sysdeps/i386/fpu/libm-test-ulps: Update.
22673 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22674 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22676 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
22678 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
22680 * configure: Regenerated.
22682 2012-11-17 David S. Miller <davem@davemloft.net>
22685 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
22686 nonzero exponents with absolute value below 0x1p-128 to +/-
22689 2012-11-17 Joseph Myers <joseph@codesourcery.com>
22691 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
22693 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
22695 * posix/getconf-speclist.c: New file.
22696 * posix/posix-envs.def: Likewise.
22697 * posix/confstr.c (START_ENV_GROUP): New macro.
22698 (END_ENV_GROUP): Likewise.
22699 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
22700 (KNOWN_PRESENT_ENV_STRING): Likewise.
22701 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
22702 (UNKNOWN_ENVIRONMENT): Likewise.
22703 (confstr): Include posix-envs.def instead of handling
22704 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
22705 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
22706 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
22707 (END_ENV_GROUP): Likewise.
22708 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
22709 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
22710 (UNKNOWN_ENVIRONMENT): Likewise.
22711 (__sysconf): Include posix-envs.def instead of handling associated
22712 cases directly here.
22713 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
22714 preprocessing getconf-speclist.c rather than running getconf or
22715 generating empty file.
22717 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
22719 * scripts/check-local-headers.sh: Ignore 'mach' headers.
22721 2012-11-16 Andrej Lajovic <natrij@gmail.com>
22724 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
22726 2012-11-16 David S. Miller <davem@davemloft.net>
22728 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
22729 smaller than LDBL_EPSILON/2.0L, just return xm1.
22731 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
22733 * elf/tst-array1.c (init): Set constructor priority to 1000.
22734 (fini): Set destructor priority to 1000.
22735 * elf/tst-array2dep.c: Likewise.
22737 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22740 * libio/fileops.c (_IO_new_file_write): Correctly return error.
22741 (_IO_new_file_xsputn): Also return EOF if none of the input
22742 data was written when overflow failed.
22743 * libio/iopadn.c (_IO_padn): Likewise.
22744 * libio/iowpadn.c (_IO_wpadn): Likewise.
22745 * stdio-common/tst-put-error.c: Add copyright notice.
22746 (do_test): Add case for printing padded string.
22747 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
22748 _IO_padn returned error.
22749 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
22750 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
22753 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22755 * libio/libioP.h: Add comment note that the references to C++
22756 bits are now obsolete.
22758 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22760 * math/libm-test.inc (check_complex): Use asprintf.
22762 2012-11-14 Joseph Myers <joseph@codesourcery.com>
22764 * debug/pcprofiledump.c (print_version): Update copyright year.
22765 * malloc/memusagestat.c (print_version): Likewise.
22767 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
22770 * elf/Makefile (tests): Add tst-audit8.
22771 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
22772 ($(objpfx)tst-audit8.out): New target.
22773 (tst-audit8-ENV): New variable.
22774 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
22775 audit if l_reloc_result is NULL.
22776 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
22777 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
22778 * elf/tst-audit8.c: New file.
22780 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22782 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
22783 * misc/Makefile (CFLAGS-select.c): Define.
22784 * posix/Makefile (CFLAGS-pause.c): Define.
22786 2012-11-13 David S. Miller <davem@davemloft.net>
22788 * crypt/Makefile: Move test targets after toplevel Rules
22789 inclusion. Grab any necessary sysdep routines when linking.
22790 * crypt/md5.c (md5_process_block): Remove define, we will always
22791 name it __md5_process_block.
22792 (md5_finish_ctx): Update md5_process_block call.
22793 (md5_stream): Likewise.
22794 (md5_process_bytes): Likewise.
22795 (md5_process_block): Rename to __md5_process_block and move to ...
22796 * crypt/md5-block.c: ... here.
22797 * crypt/sha256.c (sha256_process_block): Move to ...
22798 * crypt/sha256-block.c: ... here.
22799 * crypt/sha512.c (sha512_process_block): Move to ...
22800 * crypt/sha512-block.c: ... here.
22801 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
22803 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
22804 * sysdeps/sparc/sparc64/multiarch/Makefile
22805 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
22807 (localedef-aux): Add md5 crypto assembler when in locale subdir.
22808 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
22810 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
22811 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
22812 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
22813 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
22814 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
22815 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
22816 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
22817 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
22818 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
22820 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
22821 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
22823 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
22825 2012-11-13 Joseph Myers <joseph@codesourcery.com>
22827 * timezone/tzselect.ksh: Update from tzcode git revision
22828 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
22829 * timezone/zdump.c: Likewise.
22830 * timezone/zic.c: Likewise.
22831 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
22832 in TZVERSION setting, not $(PKGVERSION).
22833 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
22834 REPORT_BUGS_TO settings.
22837 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
22840 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22842 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
22843 detection to immediately after _FP_ROUND().
22844 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
22847 2012-11-11 David S. Miller <davem@davemloft.net>
22849 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
22851 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
22852 __close rather than their public counterparts.
22854 2012-11-10 Joseph Myers <joseph@codesourcery.com>
22856 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
22858 [UNIX98] (sem_timedwait): Do not expect.
22859 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
22860 [XPG4 || UNIX98] (sockatmark): Do not expect.
22861 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
22862 (clock_getcpuclockid): Do not expect.
22863 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
22864 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
22866 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
22867 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
22868 [UNIX98] (vwscanf): Likewise.
22869 [UNIX98] (vswscanf): Likewise.
22871 2012-11-09 Joseph Myers <joseph@codesourcery.com>
22873 * timezone/version.h: Remove file.
22874 * timezone/README: Do not refer to version.h.
22875 * timezone/Makefile ($(objpfx)zic.o): New dependency on
22876 $(objpfx)version.h.
22877 ($(objpfx)zdump.o): Likewise.
22878 ($(objpfx)version.h): New target.
22880 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
22882 * timezone/README: Don't mention modification to tzselect.ksh.
22883 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
22884 work on unmodified tzselect.ksh. Substitute version numbers in
22887 * Makefile (format-me): Remove.
22888 (INSTALL): Adjust indentation. Use commands directly instead of
22889 using $(format-me).
22891 * aclocal.m4 (ACX_PKGVERSION): New macro.
22892 (ACX_BUGURL): Likewise.
22893 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
22894 (PKGVERSION): New AC_DEFINE_UNQUOTED.
22895 (REPORT_BUGS_TO): Likewise.
22896 * configure: Regenerated.
22897 * config.h.in (PKGVERSION): New macro.
22898 (REPORT_BUGS_TO): Likewise.
22899 * config.make.in (PKGVERSION): New variable.
22900 (PKGVERSION_TEXI): Likewise.
22901 (REPORT_BUGS_TO): Likewise.
22902 (REPORT_BUGS_TEXI): Likewise.
22903 * Makefile (format-me): Use -I$(common-objpfx)manual.
22904 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
22905 ($(common-objpfx)manual/%): New target.
22906 (manual/%): Remove target.
22907 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
22908 (print_version): Use PKGVERSION.
22909 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
22910 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
22911 and REPORT_BUGS_TO.
22912 ($(objpfx)xtrace): Likewise.
22913 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
22914 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
22915 (print_version): Use PKGVERSION.
22916 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
22917 (do_version): Use PKGVERSION.
22918 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
22920 (common-ldd-rewrite): Likewise.
22921 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
22922 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
22923 (print_version): Use PKGVERSION.
22924 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
22925 * elf/pldd.c (argp_program_bug_address): Remove variable.
22926 (more_help): New function.
22927 (argp): Use more_help.
22928 (print_version): Use PKGVERSION.
22929 * elf/sln.c (main): Use PKGVERSION.
22930 (usage): Use REPORT_BUGS_TO.
22931 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
22932 (top level): Use PKGVERSION.
22933 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
22934 (print_version): Use PKGVERSION.
22935 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
22936 (print_version): Use PKGVERSION.
22937 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
22938 (print_version): Use PKGVERSION.
22939 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
22940 (print_version): Use PKGVERSION.
22941 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
22942 (print_version): Use PKGVERSION.
22943 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
22944 (print_version): Use PKGVERSION.
22945 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
22947 ($(objpfx)memusage): Likewise.
22948 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
22949 (do_version): Use PKGVERSION.
22950 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
22951 (print_version): Use PKGVERSION.
22952 * malloc/mtrace.pl ($PACKAGE): Remove variable.
22953 ($PKGVERSION): New variable.
22954 ($REPORT_BUGS_TO): Likewise.
22955 (usage): Use $REPORT_BUGS_TO.
22956 (top level): Use $PKGVERSION.
22957 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
22958 ($(objpfx)pkgvers.texi): New rule.
22959 ($(objpfx)stamp-pkgvers): Likewise.
22960 * manual/install.texi: Include pkgvers.texi.
22961 (--with-pkgversion): Document new configure option.
22962 (--with-bugurl): Likewise.
22963 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
22964 than necessarily for this particular distribution. Use
22965 REPORT_BUGS_TO for where to report bugs.
22966 * INSTALL: Regenerated.
22967 * manual/libc.texinfo: Include pkgvers.texi.
22968 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
22969 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
22970 (print_version): Use PKGVERSION.
22971 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
22972 (print_version): Use PKGVERSION.
22973 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
22974 (print_version): Use PKGVERSION.
22975 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
22976 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
22978 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
22979 (print_version): Use PKGVERSION.
22980 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
22981 (print_version): Use PKGVERSION.
22982 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
22985 * timezone/checktab.awk: Update from tzcode 2012i.
22986 * timezone/ialloc.c: Likewise.
22987 * timezone/private.h: Likewise.
22988 * timezone/scheck.c: Likewise.
22989 * timezone/tzfile.h: Likewise.
22990 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
22991 (TZVERSION): Hardcode tzcode version number.
22992 * timezone/zdump.c: Update from tzcode 2012i.
22993 * timezone/zic.c: Likewise.
22994 * timezone/version.h: New file.
22995 * timezone/README: Describe version.h. Update upstream location.
22998 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
22999 (mktemp): Enable declaration.
23000 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
23001 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
23002 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
23003 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
23005 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
23007 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
23009 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
23011 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
23013 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
23017 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
23018 offset in buffer as u_int32_t not u_long. Consistently use memcpy
23019 for copies of such integer values.
23020 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
23021 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
23023 2012-11-09 Andreas Jaeger <aj@suse.de>
23025 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
23026 definitions and declarations that are provided by
23027 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
23029 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23031 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
23032 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
23033 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
23036 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23038 * elf/elf.h: Update comment before AArch64 relocations.
23040 2012-11-07 David S. Miller <davem@davemloft.net>
23042 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
23043 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
23044 (__start_context): Declare.
23045 (__makecontext_ret): Delete.
23046 (__makecontext): Hook up __start_context instead of
23048 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
23049 (sysdep_routines): Add __start_context when in stdlib.
23051 2012-11-07 Joseph Myers <joseph@codesourcery.com>
23053 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
23054 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
23055 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
23057 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
23058 (READELF): New variable. Use it instead of hardcoded "readelf".
23060 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
23062 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
23063 * sysdeps/x86/Makefile: Here.
23064 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
23065 * sysdeps/x86/tst-xmmymm.sh: This.
23067 2012-11-07 Joseph Myers <joseph@codesourcery.com>
23069 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
23071 [UNIX98] (pthread_barrier_t): Do not expect.
23072 [UNIX98] (pthread_barrierattr_t): Likewise.
23073 [UNIX98] (pthread_spinlock_t): Likewise.
23074 [UNIX98] (pthread_barrier_destroy): Likewise.
23075 [UNIX98] (pthread_barrier_init): Likewise.
23076 [UNIX98] (pthread_barrier_wait): Likewise.
23077 [UNIX98] (pthread_barrierattr_destroy): Likewise.
23078 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
23079 [UNIX98] (pthread_barrierattr_init): Likewise.
23080 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
23081 [UNIX98] (pthread_getcpuclockid): Likewise.
23082 [UNIX98] (pthread_mutex_timedlock): Likewise.
23083 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
23084 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
23085 [UNIX98] (pthread_sigmask): Likewise.
23086 [UNIX98] (pthread_spin_destroy): Likewise.
23087 [UNIX98] (pthread_spin_init): Likewise.
23088 [UNIX98] (pthread_spin_lock): Likewise.
23089 [UNIX98] (pthread_spin_trylock): Likewise.
23090 [UNIX98] (pthread_spin_unlock): Likewise.
23091 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
23093 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
23094 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
23095 [XPG3 || XPG4] (pthread_cond_t): Likewise.
23096 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
23097 [XPG3 || XPG4] (pthread_key_t): Likewise.
23098 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
23099 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
23100 [XPG3 || XPG4] (pthread_once_t): Likewise.
23101 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
23102 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
23103 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
23104 [XPG3 || XPG4] (pthread_t): Likewise.
23106 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
23108 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
23110 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
23111 Change function return type to int.
23113 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
23114 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
23115 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
23116 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
23117 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
23118 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
23119 [!POSIX] (posix_madvise): Likewise.
23120 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
23122 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
23123 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
23124 (mode_t): Likewise.
23125 (posix_mem_offset): Likewise.
23126 (posix_typed_mem_get_info): Likewise.
23127 (posix_typed_mem_open): Likewise.
23129 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
23130 Change condition to [XOPEN2K8].
23132 * conform/conformtest.pl: Preprocess allow-header data with -x c
23133 instead of from stdin.
23134 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
23135 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
23136 [C99-based standards] (cerfc): Likewise.
23137 [C99-based standards] (cexp2): Likewise.
23138 [C99-based standards] (cexpm1): Likewise.
23139 [C99-based standards] (clog10): Likewise.
23140 [C99-based standards] (clog1p): Likewise.
23141 [C99-based standards] (clog2): Likewise.
23142 [C99-based standards] (clgamma): Likewise.
23143 [C99-based standards] (ctgamma): Likewise.
23144 [C99-based standards] (cerff): Likewise.
23145 [C99-based standards] (cerfcf): Likewise.
23146 [C99-based standards] (cexp2f): Likewise.
23147 [C99-based standards] (cexpm1f): Likewise.
23148 [C99-based standards] (clog10f): Likewise.
23149 [C99-based standards] (clog1pf): Likewise.
23150 [C99-based standards] (clog2f): Likewise.
23151 [C99-based standards] (clgammaf): Likewise.
23152 [C99-based standards] (ctgammaf): Likewise.
23153 [C99-based standards] (cerfl): Likewise.
23154 [C99-based standards] (cerfcl): Likewise.
23155 [C99-based standards] (cexp2l): Likewise.
23156 [C99-based standards] (cexpm1l): Likewise.
23157 [C99-based standards] (clog10l): Likewise.
23158 [C99-based standards] (clog1pl): Likewise.
23159 [C99-based standards] (clog2l): Likewise.
23160 [C99-based standards] (clgammal): Likewise.
23161 [C99-based standards] (ctgammal): Likewise.
23162 * conform/data/inttypes.h-data [C99-based standards]: Include
23163 stdint.h-data. Remove all expectations for stdint.h contents.
23164 [C99-based standards] (PRI*): Do not allow.
23165 [C99-based standards] (SCN*): Likewise.
23166 [C99-based standards] (*_t): Likewise.
23167 [C99-based-standards] (PRId8): Expect macro.
23168 [C99-based-standards] (PRIi8): Likewise.
23169 [C99-based-standards] (PRIo8): Likewise.
23170 [C99-based-standards] (PRIu8): Likewise.
23171 [C99-based-standards] (PRIx8): Likewise.
23172 [C99-based-standards] (PRIX8): Likewise.
23173 [C99-based-standards] (SCNd8): Likewise.
23174 [C99-based-standards] (SCNi8): Likewise.
23175 [C99-based-standards] (SCNo8): Likewise.
23176 [C99-based-standards] (SCNu8): Likewise.
23177 [C99-based-standards] (SCNx8): Likewise.
23178 [C99-based-standards] (PRIdLEAST8): Likewise.
23179 [C99-based-standards] (PRIiLEAST8): Likewise.
23180 [C99-based-standards] (PRIoLEAST8): Likewise.
23181 [C99-based-standards] (PRIuLEAST8): Likewise.
23182 [C99-based-standards] (PRIxLEAST8): Likewise.
23183 [C99-based-standards] (PRIXLEAST8): Likewise.
23184 [C99-based-standards] (SCNdLEAST8): Likewise.
23185 [C99-based-standards] (SCNiLEAST8): Likewise.
23186 [C99-based-standards] (SCNoLEAST8): Likewise.
23187 [C99-based-standards] (SCNuLEAST8): Likewise.
23188 [C99-based-standards] (SCNxLEAST8): Likewise.
23189 [C99-based-standards] (PRIdFAST8): Likewise.
23190 [C99-based-standards] (PRIiFAST8): Likewise.
23191 [C99-based-standards] (PRIoFAST8): Likewise.
23192 [C99-based-standards] (PRIuFAST8): Likewise.
23193 [C99-based-standards] (PRIxFAST8): Likewise.
23194 [C99-based-standards] (PRIXFAST8): Likewise.
23195 [C99-based-standards] (SCNdFAST8): Likewise.
23196 [C99-based-standards] (SCNiFAST8): Likewise.
23197 [C99-based-standards] (SCNoFAST8): Likewise.
23198 [C99-based-standards] (SCNuFAST8): Likewise.
23199 [C99-based-standards] (SCNxFAST8): Likewise.
23200 [C99-based-standards] (PRId16): Likewise.
23201 [C99-based-standards] (PRIi16): Likewise.
23202 [C99-based-standards] (PRIo16): Likewise.
23203 [C99-based-standards] (PRIu16): Likewise.
23204 [C99-based-standards] (PRIx16): Likewise.
23205 [C99-based-standards] (PRIX16): Likewise.
23206 [C99-based-standards] (SCNd16): Likewise.
23207 [C99-based-standards] (SCNi16): Likewise.
23208 [C99-based-standards] (SCNo16): Likewise.
23209 [C99-based-standards] (SCNu16): Likewise.
23210 [C99-based-standards] (SCNx16): Likewise.
23211 [C99-based-standards] (PRIdLEAST16): Likewise.
23212 [C99-based-standards] (PRIiLEAST16): Likewise.
23213 [C99-based-standards] (PRIoLEAST16): Likewise.
23214 [C99-based-standards] (PRIuLEAST16): Likewise.
23215 [C99-based-standards] (PRIxLEAST16): Likewise.
23216 [C99-based-standards] (PRIXLEAST16): Likewise.
23217 [C99-based-standards] (SCNdLEAST16): Likewise.
23218 [C99-based-standards] (SCNiLEAST16): Likewise.
23219 [C99-based-standards] (SCNoLEAST16): Likewise.
23220 [C99-based-standards] (SCNuLEAST16): Likewise.
23221 [C99-based-standards] (SCNxLEAST16): Likewise.
23222 [C99-based-standards] (PRIdFAST16): Likewise.
23223 [C99-based-standards] (PRIiFAST16): Likewise.
23224 [C99-based-standards] (PRIoFAST16): Likewise.
23225 [C99-based-standards] (PRIuFAST16): Likewise.
23226 [C99-based-standards] (PRIxFAST16): Likewise.
23227 [C99-based-standards] (PRIXFAST16): Likewise.
23228 [C99-based-standards] (SCNdFAST16): Likewise.
23229 [C99-based-standards] (SCNiFAST16): Likewise.
23230 [C99-based-standards] (SCNoFAST16): Likewise.
23231 [C99-based-standards] (SCNuFAST16): Likewise.
23232 [C99-based-standards] (SCNxFAST16): Likewise.
23233 [C99-based-standards] (PRId32): Likewise.
23234 [C99-based-standards] (PRIi32): Likewise.
23235 [C99-based-standards] (PRIo32): Likewise.
23236 [C99-based-standards] (PRIu32): Likewise.
23237 [C99-based-standards] (PRIx32): Likewise.
23238 [C99-based-standards] (PRIX32): Likewise.
23239 [C99-based-standards] (SCNd32): Likewise.
23240 [C99-based-standards] (SCNi32): Likewise.
23241 [C99-based-standards] (SCNo32): Likewise.
23242 [C99-based-standards] (SCNu32): Likewise.
23243 [C99-based-standards] (SCNx32): Likewise.
23244 [C99-based-standards] (PRIdLEAST32): Likewise.
23245 [C99-based-standards] (PRIiLEAST32): Likewise.
23246 [C99-based-standards] (PRIoLEAST32): Likewise.
23247 [C99-based-standards] (PRIuLEAST32): Likewise.
23248 [C99-based-standards] (PRIxLEAST32): Likewise.
23249 [C99-based-standards] (PRIXLEAST32): Likewise.
23250 [C99-based-standards] (SCNdLEAST32): Likewise.
23251 [C99-based-standards] (SCNiLEAST32): Likewise.
23252 [C99-based-standards] (SCNoLEAST32): Likewise.
23253 [C99-based-standards] (SCNuLEAST32): Likewise.
23254 [C99-based-standards] (SCNxLEAST32): Likewise.
23255 [C99-based-standards] (PRIdFAST32): Likewise.
23256 [C99-based-standards] (PRIiFAST32): Likewise.
23257 [C99-based-standards] (PRIoFAST32): Likewise.
23258 [C99-based-standards] (PRIuFAST32): Likewise.
23259 [C99-based-standards] (PRIxFAST32): Likewise.
23260 [C99-based-standards] (PRIXFAST32): Likewise.
23261 [C99-based-standards] (SCNdFAST32): Likewise.
23262 [C99-based-standards] (SCNiFAST32): Likewise.
23263 [C99-based-standards] (SCNoFAST32): Likewise.
23264 [C99-based-standards] (SCNuFAST32): Likewise.
23265 [C99-based-standards] (SCNxFAST32): Likewise.
23266 [C99-based-standards] (PRId64): Likewise.
23267 [C99-based-standards] (PRIi64): Likewise.
23268 [C99-based-standards] (PRIo64): Likewise.
23269 [C99-based-standards] (PRIu64): Likewise.
23270 [C99-based-standards] (PRIx64): Likewise.
23271 [C99-based-standards] (PRIX64): Likewise.
23272 [C99-based-standards] (SCNd64): Likewise.
23273 [C99-based-standards] (SCNi64): Likewise.
23274 [C99-based-standards] (SCNo64): Likewise.
23275 [C99-based-standards] (SCNu64): Likewise.
23276 [C99-based-standards] (SCNx64): Likewise.
23277 [C99-based-standards] (PRIdLEAST64): Likewise.
23278 [C99-based-standards] (PRIiLEAST64): Likewise.
23279 [C99-based-standards] (PRIoLEAST64): Likewise.
23280 [C99-based-standards] (PRIuLEAST64): Likewise.
23281 [C99-based-standards] (PRIxLEAST64): Likewise.
23282 [C99-based-standards] (PRIXLEAST64): Likewise.
23283 [C99-based-standards] (SCNdLEAST64): Likewise.
23284 [C99-based-standards] (SCNiLEAST64): Likewise.
23285 [C99-based-standards] (SCNoLEAST64): Likewise.
23286 [C99-based-standards] (SCNuLEAST64): Likewise.
23287 [C99-based-standards] (SCNxLEAST64): Likewise.
23288 [C99-based-standards] (PRIdFAST64): Likewise.
23289 [C99-based-standards] (PRIiFAST64): Likewise.
23290 [C99-based-standards] (PRIoFAST64): Likewise.
23291 [C99-based-standards] (PRIuFAST64): Likewise.
23292 [C99-based-standards] (PRIxFAST64): Likewise.
23293 [C99-based-standards] (PRIXFAST64): Likewise.
23294 [C99-based-standards] (SCNdFAST64): Likewise.
23295 [C99-based-standards] (SCNiFAST64): Likewise.
23296 [C99-based-standards] (SCNoFAST64): Likewise.
23297 [C99-based-standards] (SCNuFAST64): Likewise.
23298 [C99-based-standards] (SCNxFAST64): Likewise.
23299 [C99-based-standards] (PRIdMAX): Likewise.
23300 [C99-based-standards] (PRIiMAX): Likewise.
23301 [C99-based-standards] (PRIoMAX): Likewise.
23302 [C99-based-standards] (PRIuMAX): Likewise.
23303 [C99-based-standards] (PRIxMAX): Likewise.
23304 [C99-based-standards] (PRIXMAX): Likewise.
23305 [C99-based-standards] (SCNdMAX): Likewise.
23306 [C99-based-standards] (SCNiMAX): Likewise.
23307 [C99-based-standards] (SCNoMAX): Likewise.
23308 [C99-based-standards] (SCNuMAX): Likewise.
23309 [C99-based-standards] (SCNxMAX): Likewise.
23310 [C99-based-standards] (PRIdPTR): Likewise.
23311 [C99-based-standards] (PRIiPTR): Likewise.
23312 [C99-based-standards] (PRIoPTR): Likewise.
23313 [C99-based-standards] (PRIuPTR): Likewise.
23314 [C99-based-standards] (PRIxPTR): Likewise.
23315 [C99-based-standards] (PRIXPTR): Likewise.
23316 [C99-based-standards] (SCNdPTR): Likewise.
23317 [C99-based-standards] (SCNiPTR): Likewise.
23318 [C99-based-standards] (SCNoPTR): Likewise.
23319 [C99-based-standards] (SCNuPTR): Likewise.
23320 [C99-based-standards] (SCNxPTR): Likewise.
23321 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
23323 * conform/data/stdint.h-data: Update comments to clarify
23325 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
23327 [C99-based standards] (INT8_MAX): Likewise.
23328 [C99-based standards] (INT16_MIN): Likewise.
23329 [C99-based standards] (INT16_MAX): Likewise.
23330 [C99-based standards] (INT32_MIN): Likewise.
23331 [C99-based standards] (INT32_MAX): Likewise.
23332 [C99-based standards] (INT64_MIN): Likewise.
23333 [C99-based standards] (INT64_MAX): Likewise.
23334 [C99-based standards] (UINT8_MAX): Likewise.
23335 [C99-based standards] (UINT16_MAX): Likewise.
23336 [C99-based standards] (UINT32_MAX): Likewise.
23337 [C99-based standards] (UINT64_MAX): Likewise.
23338 [C99-based standards] (INT_LEAST8_MIN): Likewise.
23339 [C99-based standards] (INT_LEAST8_MAX): Likewise.
23340 [C99-based standards] (INT_LEAST16_MIN): Likewise.
23341 [C99-based standards] (INT_LEAST16_MAX): Likewise.
23342 [C99-based standards] (INT_LEAST32_MIN): Likewise.
23343 [C99-based standards] (INT_LEAST32_MAX): Likewise.
23344 [C99-based standards] (INT_LEAST64_MIN): Likewise.
23345 [C99-based standards] (INT_LEAST64_MAX): Likewise.
23346 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
23347 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
23348 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
23349 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
23350 [C99-based standards] (INT_FAST8_MIN): Likewise.
23351 [C99-based standards] (INT_FAST8_MAX): Likewise.
23352 [C99-based standards] (INT_FAST16_MIN): Likewise.
23353 [C99-based standards] (INT_FAST16_MAX): Likewise.
23354 [C99-based standards] (INT_FAST32_MIN): Likewise.
23355 [C99-based standards] (INT_FAST32_MAX): Likewise.
23356 [C99-based standards] (INT_FAST64_MIN): Likewise.
23357 [C99-based standards] (INT_FAST64_MAX): Likewise.
23358 [C99-based standards] (UINT_FAST8_MAX): Likewise.
23359 [C99-based standards] (UINT_FAST16_MAX): Likewise.
23360 [C99-based standards] (UINT_FAST32_MAX): Likewise.
23361 [C99-based standards] (UINT_FAST64_MAX): Likewise.
23362 [C99-based standards] (INTPTR_MIN): Likewise.
23363 [C99-based standards] (INTPTR_MAX): Likewise.
23364 [C99-based standards] (UINTPTR_MAX): Likewise.
23365 [C99-based standards] (INTMAX_MIN): Likewise.
23366 [C99-based standards] (INTMAX_MAX): Likewise.
23367 [C99-based standards] (UINTMAX_MAX): Likewise.
23368 [C99-based standards] (PTRDIFF_MIN): Likewise.
23369 [C99-based standards] (PTRDIFF_MAX): Likewise.
23370 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
23371 [C99-based standards] (SIZE_MAX): Likewise.
23372 [C99-based standards] (WCHAR_MAX): Likewise.
23373 [C99-based standards] (WINT_MAX): Likewise.
23374 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
23375 constraint on value.
23376 [C99-based standards] (WCHAR_MIN): Likewise.
23377 [C99-based standards] (WINT_MIN): Likewise.
23378 [C99-based standards] (*_t): Allow.
23379 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
23380 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
23381 Include math.h-data and complex.h-data. Remove all expectations
23382 of math.h and complex.h contents.
23383 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
23385 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
23386 (struct tm): Expect tag.
23387 [C99-based-standards] (wcstof): Expect function.
23388 [C99-based-standards] (wcstold): Likewise.
23389 [C99-based-standards] (wcstoll): Likewise.
23390 [C99-based-standards] (wcstoull): Likewise.
23391 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
23392 macro-int-constant. Specify type.
23393 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
23394 constraint on value.
23395 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
23397 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
23399 [ISO C standards]: Do not allow headers.
23400 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
23401 wcs[abcdefghijklmnopqrstuvwxyz]*.
23402 [ISO C standards] (*_t): Do not allow.
23403 * conform/data/wctype.h-data [C99-based standards] (iswblank):
23405 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
23406 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
23408 [ISO C standards]: Do not allow headers.
23409 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
23410 is[abcdefghijklmnopqrstuvwxyz]*.
23411 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
23412 to[abcdefghijklmnopqrstuvwxyz]*.
23413 [ISO C standards] (*_t): Do not allow.
23414 * conform/data/stdalign.h-data: New file.
23415 * conform/data/stdbool.h-data: Likewise.
23416 * conform/data/stdnoreturn.h-data: Likewise.
23418 2012-11-07 Roland McGrath <roland@hack.frob.com>
23421 * manual/filesys.texi (Directory Entries): Typo fix.
23422 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
23424 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23426 * elf/elf.h (EM_AARCH64): New macro.
23427 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
23428 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
23429 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
23430 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
23431 (R_AARCH64_TLSDESC): Likewise.
23432 (NT_ARM_TLS): Likewise.
23433 (NT_ARM_HW_BREAK): Likewise.
23434 (NT_ARM_HW_WATCH): Likewise.
23436 2012-11-07 Joseph Myers <joseph@codesourcery.com>
23439 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
23440 (__ieee754_powl): Saturate nonzero exponents with absolute value
23441 below 0x1p-79 to +/- 0x1p-79.
23442 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
23443 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
23444 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
23445 nonzero exponents with absolute value below 0x1p-32 to +/-
23447 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
23448 (__ieee754_powl): Saturate nonzero exponents with absolute value
23449 below 0x1p-79 to +/- 0x1p-79.
23450 * math/libm-test.inc (pow_test): Add more tests.
23452 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23454 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
23455 _dl_s390_cap_flags with kernel. Increase string length.
23456 (_dl_s390_platforms): Add z196 and zEC12.
23458 2012-11-07 Joseph Myers <joseph@codesourcery.com>
23460 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
23461 Change XOPEN21K to XOPEN2K.
23463 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
23465 * string/memmove.c: Use memcpy when possible.
23467 2012-11-06 Andreas Jaeger <aj@suse.de>
23469 * po/eo.po: Update from translation team.
23471 2012-11-06 Joseph Myers <joseph@codesourcery.com>
23474 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
23475 exponent and small x and y exponents, scale x or y up. Increase
23476 by 2 the exponent used in scaling up.
23477 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23478 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23479 * math/libm-test.inc (fma_test): Add more tests.
23480 (fma_test_towardzero): Likewise.
23481 (fma_test_downward): Likewise.
23482 (fma_test_upward): Likewise.
23484 2012-11-05 Joseph Myers <joseph@codesourcery.com>
23487 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
23491 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
23492 namespace for names of struct fields.
23493 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
23495 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
23496 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
23498 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
23501 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
23503 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
23505 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
23509 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
23512 2012-11-04 Joseph Myers <joseph@codesourcery.com>
23515 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
23516 definitely overflow as x * y not x * y + z.
23517 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23518 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23519 * math/libm-test.inc (fma_test): Add more tests.
23520 (fma_test_towardzero): Likewise.
23521 (fma_test_downward): Likewise.
23522 (fma_test_upward): Likewise.
23524 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
23528 * include/stub-tag.h: Remove file.
23529 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
23531 * manual/maint.texi (Porting): Don't reference it.
23532 * Makerules ($(objpfx)stubs): Likewise.
23533 * dirent/closedir.c: Don't include <stub-tag.h>.
23534 * dirent/dirfd.c: Likewise.
23535 * dirent/fdopendir.c: Likewise.
23536 * dirent/getdents.c: Likewise.
23537 * dirent/getdents64.c: Likewise.
23538 * dirent/opendir.c: Likewise.
23539 * dirent/readdir.c: Likewise.
23540 * dirent/readdir64.c: Likewise.
23541 * dirent/readdir64_r.c: Likewise.
23542 * dirent/readdir_r.c: Likewise.
23543 * dirent/rewinddir.c: Likewise.
23544 * dirent/seekdir.c: Likewise.
23545 * dirent/telldir.c: Likewise.
23546 * gmon/profil.c: Likewise.
23547 * grp/setgroups.c: Likewise.
23548 * inet/if_index.c: Likewise.
23549 * io/access.c: Likewise.
23550 * io/chdir.c: Likewise.
23551 * io/chmod.c: Likewise.
23552 * io/chown.c: Likewise.
23553 * io/close.c: Likewise.
23554 * io/dup.c: Likewise.
23555 * io/dup2.c: Likewise.
23556 * io/dup3.c: Likewise.
23557 * io/euidaccess.c: Likewise.
23558 * io/faccessat.c: Likewise.
23559 * io/fchdir.c: Likewise.
23560 * io/fchmod.c: Likewise.
23561 * io/fchmodat.c: Likewise.
23562 * io/fchown.c: Likewise.
23563 * io/fchownat.c: Likewise.
23564 * io/fcntl.c: Likewise.
23565 * io/flock.c: Likewise.
23566 * io/fstatfs.c: Likewise.
23567 * io/fstatfs64.c: Likewise.
23568 * io/fstatvfs.c: Likewise.
23569 * io/fstatvfs64.c: Likewise.
23570 * io/futimens.c: Likewise.
23571 * io/fxstat.c: Likewise.
23572 * io/fxstat64.c: Likewise.
23573 * io/fxstatat.c: Likewise.
23574 * io/fxstatat64.c: Likewise.
23575 * io/getcwd.c: Likewise.
23576 * io/isatty.c: Likewise.
23577 * io/lchmod.c: Likewise.
23578 * io/lchown.c: Likewise.
23579 * io/link.c: Likewise.
23580 * io/linkat.c: Likewise.
23581 * io/lseek.c: Likewise.
23582 * io/lseek64.c: Likewise.
23583 * io/lxstat64.c: Likewise.
23584 * io/mkdir.c: Likewise.
23585 * io/mkdirat.c: Likewise.
23586 * io/mkfifo.c: Likewise.
23587 * io/mkfifoat.c: Likewise.
23588 * io/open.c: Likewise.
23589 * io/open64.c: Likewise.
23590 * io/openat.c: Likewise.
23591 * io/openat64.c: Likewise.
23592 * io/pipe.c: Likewise.
23593 * io/pipe2.c: Likewise.
23594 * io/poll.c: Likewise.
23595 * io/posix_fadvise.c: Likewise.
23596 * io/posix_fadvise64.c: Likewise.
23597 * io/posix_fallocate.c: Likewise.
23598 * io/posix_fallocate64.c: Likewise.
23599 * io/read.c: Likewise.
23600 * io/readlink.c: Likewise.
23601 * io/readlinkat.c: Likewise.
23602 * io/rmdir.c: Likewise.
23603 * io/sendfile.c: Likewise.
23604 * io/sendfile64.c: Likewise.
23605 * io/statfs.c: Likewise.
23606 * io/statfs64.c: Likewise.
23607 * io/statvfs.c: Likewise.
23608 * io/statvfs64.c: Likewise.
23609 * io/symlink.c: Likewise.
23610 * io/symlinkat.c: Likewise.
23611 * io/ttyname.c: Likewise.
23612 * io/ttyname_r.c: Likewise.
23613 * io/umask.c: Likewise.
23614 * io/unlink.c: Likewise.
23615 * io/unlinkat.c: Likewise.
23616 * io/utime.c: Likewise.
23617 * io/utimensat.c: Likewise.
23618 * io/write.c: Likewise.
23619 * io/xmknod.c: Likewise.
23620 * io/xmknodat.c: Likewise.
23621 * io/xstat.c: Likewise.
23622 * io/xstat64.c: Likewise.
23623 * login/getpt.c: Likewise.
23624 * login/grantpt.c: Likewise.
23625 * login/unlockpt.c: Likewise.
23626 * math/e_acoshl.c: Likewise.
23627 * math/e_acosl.c: Likewise.
23628 * math/e_asinl.c: Likewise.
23629 * math/e_atan2l.c: Likewise.
23630 * math/e_atanhl.c: Likewise.
23631 * math/e_coshl.c: Likewise.
23632 * math/e_expl.c: Likewise.
23633 * math/e_fmodl.c: Likewise.
23634 * math/e_gammal_r.c: Likewise.
23635 * math/e_hypotl.c: Likewise.
23636 * math/e_j0l.c: Likewise.
23637 * math/e_j1l.c: Likewise.
23638 * math/e_jnl.c: Likewise.
23639 * math/e_lgammal_r.c: Likewise.
23640 * math/e_log10l.c: Likewise.
23641 * math/e_log2l.c: Likewise.
23642 * math/e_logl.c: Likewise.
23643 * math/e_powl.c: Likewise.
23644 * math/e_rem_pio2l.c: Likewise.
23645 * math/e_sinhl.c: Likewise.
23646 * math/e_sqrtl.c: Likewise.
23647 * math/fclrexcpt.c: Likewise.
23648 * math/fedisblxcpt.c: Likewise.
23649 * math/feenablxcpt.c: Likewise.
23650 * math/fegetenv.c: Likewise.
23651 * math/fegetexcept.c: Likewise.
23652 * math/fegetround.c: Likewise.
23653 * math/feholdexcpt.c: Likewise.
23654 * math/fesetenv.c: Likewise.
23655 * math/fesetround.c: Likewise.
23656 * math/feupdateenv.c: Likewise.
23657 * math/fgetexcptflg.c: Likewise.
23658 * math/fraiseexcpt.c: Likewise.
23659 * math/fsetexcptflg.c: Likewise.
23660 * math/ftestexcept.c: Likewise.
23661 * math/k_cosl.c: Likewise.
23662 * math/k_rem_pio2l.c: Likewise.
23663 * math/k_sinl.c: Likewise.
23664 * math/k_tanl.c: Likewise.
23665 * math/s_asinhl.c: Likewise.
23666 * math/s_atanl.c: Likewise.
23667 * math/s_cbrtl.c: Likewise.
23668 * math/s_erfl.c: Likewise.
23669 * math/s_expm1l.c: Likewise.
23670 * math/s_log1pl.c: Likewise.
23671 * math/s_tanhl.c: Likewise.
23672 * misc/acct.c: Likewise.
23673 * misc/brk.c: Likewise.
23674 * misc/chflags.c: Likewise.
23675 * misc/chroot.c: Likewise.
23676 * misc/fchflags.c: Likewise.
23677 * misc/fgetxattr.c: Likewise.
23678 * misc/flistxattr.c: Likewise.
23679 * misc/fremovexattr.c: Likewise.
23680 * misc/fsetxattr.c: Likewise.
23681 * misc/fsync.c: Likewise.
23682 * misc/ftruncate.c: Likewise.
23683 * misc/futimes.c: Likewise.
23684 * misc/futimesat.c: Likewise.
23685 * misc/getdomain.c: Likewise.
23686 * misc/getdtsz.c: Likewise.
23687 * misc/gethostid.c: Likewise.
23688 * misc/gethostname.c: Likewise.
23689 * misc/getloadavg.c: Likewise.
23690 * misc/getpagesize.c: Likewise.
23691 * misc/getsysstats.c: Likewise.
23692 * misc/getxattr.c: Likewise.
23693 * misc/gtty.c: Likewise.
23694 * misc/ioctl.c: Likewise.
23695 * misc/lgetxattr.c: Likewise.
23696 * misc/listxattr.c: Likewise.
23697 * misc/llistxattr.c: Likewise.
23698 * misc/lremovexattr.c: Likewise.
23699 * misc/lsetxattr.c: Likewise.
23700 * misc/lutimes.c: Likewise.
23701 * misc/madvise.c: Likewise.
23702 * misc/mincore.c: Likewise.
23703 * misc/mlock.c: Likewise.
23704 * misc/mlockall.c: Likewise.
23705 * misc/mmap.c: Likewise.
23706 * misc/mprotect.c: Likewise.
23707 * misc/msync.c: Likewise.
23708 * misc/munlock.c: Likewise.
23709 * misc/munlockall.c: Likewise.
23710 * misc/munmap.c: Likewise.
23711 * misc/preadv.c: Likewise.
23712 * misc/preadv64.c: Likewise.
23713 * misc/ptrace.c: Likewise.
23714 * misc/pwritev.c: Likewise.
23715 * misc/pwritev64.c: Likewise.
23716 * misc/readv.c: Likewise.
23717 * misc/reboot.c: Likewise.
23718 * misc/remap_file_pages.c: Likewise.
23719 * misc/removexattr.c: Likewise.
23720 * misc/revoke.c: Likewise.
23721 * misc/select.c: Likewise.
23722 * misc/setdomain.c: Likewise.
23723 * misc/setegid.c: Likewise.
23724 * misc/seteuid.c: Likewise.
23725 * misc/sethostid.c: Likewise.
23726 * misc/sethostname.c: Likewise.
23727 * misc/setregid.c: Likewise.
23728 * misc/setreuid.c: Likewise.
23729 * misc/setxattr.c: Likewise.
23730 * misc/sstk.c: Likewise.
23731 * misc/stty.c: Likewise.
23732 * misc/swapoff.c: Likewise.
23733 * misc/swapon.c: Likewise.
23734 * misc/sync.c: Likewise.
23735 * misc/syncfs.c: Likewise.
23736 * misc/syscall.c: Likewise.
23737 * misc/truncate.c: Likewise.
23738 * misc/ualarm.c: Likewise.
23739 * misc/usleep.c: Likewise.
23740 * misc/ustat.c: Likewise.
23741 * misc/utimes.c: Likewise.
23742 * misc/vhangup.c: Likewise.
23743 * misc/writev.c: Likewise.
23744 * posix/_exit.c: Likewise.
23745 * posix/alarm.c: Likewise.
23746 * posix/execve.c: Likewise.
23747 * posix/fexecve.c: Likewise.
23748 * posix/fork.c: Likewise.
23749 * posix/fpathconf.c: Likewise.
23750 * posix/getaddrinfo.c: Likewise.
23751 * posix/getegid.c: Likewise.
23752 * posix/geteuid.c: Likewise.
23753 * posix/getgid.c: Likewise.
23754 * posix/getgroups.c: Likewise.
23755 * posix/getlogin.c: Likewise.
23756 * posix/getlogin_r.c: Likewise.
23757 * posix/getpgid.c: Likewise.
23758 * posix/getpid.c: Likewise.
23759 * posix/getppid.c: Likewise.
23760 * posix/getresgid.c: Likewise.
23761 * posix/getresuid.c: Likewise.
23762 * posix/getsid.c: Likewise.
23763 * posix/getuid.c: Likewise.
23764 * posix/glob64.c: Likewise.
23765 * posix/nanosleep.c: Likewise.
23766 * posix/pathconf.c: Likewise.
23767 * posix/pause.c: Likewise.
23768 * posix/posix_madvise.c: Likewise.
23769 * posix/pread.c: Likewise.
23770 * posix/pread64.c: Likewise.
23771 * posix/pwrite.c: Likewise.
23772 * posix/pwrite64.c: Likewise.
23773 * posix/sched_getaffinity.c: Likewise.
23774 * posix/sched_getp.c: Likewise.
23775 * posix/sched_gets.c: Likewise.
23776 * posix/sched_primax.c: Likewise.
23777 * posix/sched_primin.c: Likewise.
23778 * posix/sched_rr_gi.c: Likewise.
23779 * posix/sched_setaffinity.c: Likewise.
23780 * posix/sched_setp.c: Likewise.
23781 * posix/sched_sets.c: Likewise.
23782 * posix/sched_yield.c: Likewise.
23783 * posix/setgid.c: Likewise.
23784 * posix/setlogin.c: Likewise.
23785 * posix/setpgid.c: Likewise.
23786 * posix/setresgid.c: Likewise.
23787 * posix/setresuid.c: Likewise.
23788 * posix/setsid.c: Likewise.
23789 * posix/setuid.c: Likewise.
23790 * posix/sleep.c: Likewise.
23791 * posix/spawni.c: Likewise.
23792 * posix/sysconf.c: Likewise.
23793 * posix/times.c: Likewise.
23794 * posix/wait.c: Likewise.
23795 * posix/wait3.c: Likewise.
23796 * posix/wait4.c: Likewise.
23797 * posix/waitpid.c: Likewise.
23798 * resolv/gai_sigqueue.c: Likewise.
23799 * resource/getpriority.c: Likewise.
23800 * resource/getrlimit.c: Likewise.
23801 * resource/getrusage.c: Likewise.
23802 * resource/nice.c: Likewise.
23803 * resource/setpriority.c: Likewise.
23804 * resource/setrlimit.c: Likewise.
23805 * resource/ulimit.c: Likewise.
23806 * rt/aio_cancel.c: Likewise.
23807 * rt/aio_fsync.c: Likewise.
23808 * rt/aio_read.c: Likewise.
23809 * rt/aio_sigqueue.c: Likewise.
23810 * rt/aio_suspend.c: Likewise.
23811 * rt/aio_write.c: Likewise.
23812 * rt/clock_getres.c: Likewise.
23813 * rt/clock_gettime.c: Likewise.
23814 * rt/clock_nanosleep.c: Likewise.
23815 * rt/clock_settime.c: Likewise.
23816 * rt/lio_listio.c: Likewise.
23817 * rt/mq_close.c: Likewise.
23818 * rt/mq_getattr.c: Likewise.
23819 * rt/mq_notify.c: Likewise.
23820 * rt/mq_open.c: Likewise.
23821 * rt/mq_receive.c: Likewise.
23822 * rt/mq_send.c: Likewise.
23823 * rt/mq_setattr.c: Likewise.
23824 * rt/mq_timedreceive.c: Likewise.
23825 * rt/mq_timedsend.c: Likewise.
23826 * rt/mq_unlink.c: Likewise.
23827 * rt/shm_open.c: Likewise.
23828 * rt/shm_unlink.c: Likewise.
23829 * rt/timer_create.c: Likewise.
23830 * rt/timer_delete.c: Likewise.
23831 * rt/timer_getoverr.c: Likewise.
23832 * rt/timer_gettime.c: Likewise.
23833 * rt/timer_settime.c: Likewise.
23834 * setjmp/__longjmp.c: Likewise.
23835 * setjmp/setjmp.c: Likewise.
23836 * signal/kill.c: Likewise.
23837 * signal/killpg.c: Likewise.
23838 * signal/raise.c: Likewise.
23839 * signal/sigaction.c: Likewise.
23840 * signal/sigaltstack.c: Likewise.
23841 * signal/sigblock.c: Likewise.
23842 * signal/sigignore.c: Likewise.
23843 * signal/sigintr.c: Likewise.
23844 * signal/signal.c: Likewise.
23845 * signal/sigpause.c: Likewise.
23846 * signal/sigpending.c: Likewise.
23847 * signal/sigqueue.c: Likewise.
23848 * signal/sigreturn.c: Likewise.
23849 * signal/sigset.c: Likewise.
23850 * signal/sigsetmask.c: Likewise.
23851 * signal/sigstack.c: Likewise.
23852 * signal/sigsuspend.c: Likewise.
23853 * signal/sigtimedwait.c: Likewise.
23854 * signal/sigvec.c: Likewise.
23855 * signal/sigwait.c: Likewise.
23856 * signal/sigwaitinfo.c: Likewise.
23857 * signal/sysv_signal.c: Likewise.
23858 * socket/accept.c: Likewise.
23859 * socket/accept4.c: Likewise.
23860 * socket/bind.c: Likewise.
23861 * socket/connect.c: Likewise.
23862 * socket/getpeername.c: Likewise.
23863 * socket/getsockname.c: Likewise.
23864 * socket/getsockopt.c: Likewise.
23865 * socket/isfdtype.c: Likewise.
23866 * socket/listen.c: Likewise.
23867 * socket/recv.c: Likewise.
23868 * socket/recvfrom.c: Likewise.
23869 * socket/recvmsg.c: Likewise.
23870 * socket/send.c: Likewise.
23871 * socket/sendmsg.c: Likewise.
23872 * socket/sendto.c: Likewise.
23873 * socket/setsockopt.c: Likewise.
23874 * socket/shutdown.c: Likewise.
23875 * socket/sockatmark.c: Likewise.
23876 * socket/socket.c: Likewise.
23877 * socket/socketpair.c: Likewise.
23878 * stdio-common/ctermid.c: Likewise.
23879 * stdio-common/cuserid.c: Likewise.
23880 * stdio-common/remove.c: Likewise.
23881 * stdio-common/rename.c: Likewise.
23882 * stdio-common/renameat.c: Likewise.
23883 * stdio-common/tempname.c: Likewise.
23884 * stdlib/getcontext.c: Likewise.
23885 * stdlib/makecontext.c: Likewise.
23886 * stdlib/setcontext.c: Likewise.
23887 * stdlib/swapcontext.c: Likewise.
23888 * stdlib/system.c: Likewise.
23889 * streams/fattach.c: Likewise.
23890 * streams/fdetach.c: Likewise.
23891 * streams/getmsg.c: Likewise.
23892 * streams/getpmsg.c: Likewise.
23893 * streams/putmsg.c: Likewise.
23894 * streams/putpmsg.c: Likewise.
23895 * sysdeps/unix/bsd/getpt.c: Likewise.
23896 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
23897 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
23898 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
23899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
23901 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
23902 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
23903 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
23904 * sysvipc/msgctl.c: Likewise.
23905 * sysvipc/msgget.c: Likewise.
23906 * sysvipc/msgrcv.c: Likewise.
23907 * sysvipc/msgsnd.c: Likewise.
23908 * sysvipc/semctl.c: Likewise.
23909 * sysvipc/semget.c: Likewise.
23910 * sysvipc/semop.c: Likewise.
23911 * sysvipc/semtimedop.c: Likewise.
23912 * sysvipc/shmat.c: Likewise.
23913 * sysvipc/shmctl.c: Likewise.
23914 * sysvipc/shmdt.c: Likewise.
23915 * sysvipc/shmget.c: Likewise.
23916 * termios/tcdrain.c: Likewise.
23917 * termios/tcflow.c: Likewise.
23918 * termios/tcflush.c: Likewise.
23919 * termios/tcgetattr.c: Likewise.
23920 * termios/tcgetpgrp.c: Likewise.
23921 * termios/tcsendbrk.c: Likewise.
23922 * termios/tcsetattr.c: Likewise.
23923 * termios/tcsetpgrp.c: Likewise.
23924 * time/adjtime.c: Likewise.
23925 * time/clock.c: Likewise.
23926 * time/getitimer.c: Likewise.
23927 * time/gettimeofday.c: Likewise.
23928 * time/setitimer.c: Likewise.
23929 * time/settimeofday.c: Likewise.
23930 * time/stime.c: Likewise.
23931 * time/time.c: Likewise.
23933 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
23935 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
23938 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
23940 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
23942 2012-11-03 Joseph Myers <joseph@codesourcery.com>
23945 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
23946 FE_TONEAREST before applying Dekker multiplication and Knuth
23947 addition. Clear inexact exceptions and check for exact zero
23948 results afterwards.
23949 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23950 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23951 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23952 * math/libm-test.inc (fma_test): Add more tests.
23953 (fma_test_towardzero): Likewise.
23954 (fma_test_downward): Likewise.
23955 (fma_test_upward): Likewise.
23956 * sysdeps/generic/math_private.h (default_libc_fesetround): New
23958 (libc_fesetround): New macro.
23959 (libc_fesetroundf): Likewise.
23960 (libc_fesetroundl): Likewise.
23961 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
23963 (libc_fesetround_387): Likewise.
23964 (libc_fesetroundf): New macro.
23965 (libc_fesetround): Likewise.
23966 (libc_fesetroundl): Likewise.
23967 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
23969 (libc_fesetroundf): New macro.
23970 (libc_fesetround): Likewise.
23971 (libc_fesetroundl): Likewise.
23972 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
23973 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
23974 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
23976 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
23977 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
23979 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
23980 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
23982 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
23986 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
23987 integer constant usable in #if and use that to give value to enum
23989 (FE_DIVBYZERO): Likewise.
23990 (FE_UNDERFLOW): Likewise.
23991 (FE_OVERFLOW): Likewise.
23992 (FE_INVALID): Likewise.
23993 (FE_INVALID_SNAN): Likewise.
23994 (FE_INVALID_ISI): Likewise.
23995 (FE_INVALID_IDI): Likewise.
23996 (FE_INVALID_ZDZ): Likewise.
23997 (FE_INVALID_IMZ): Likewise.
23998 (FE_INVALID_COMPARE): Likewise.
23999 (FE_INVALID_SOFTWARE): Likewise.
24000 (FE_INVALID_SQRT): Likewise.
24001 (FE_INVALID_INTEGER_CONVERSION): Likewise.
24002 (FE_TONEAREST): Likewise.
24003 (FE_TOWARDZERO): Likewise.
24004 (FE_UPWARD): Likewise.
24005 (FE_DOWNWARD): Likewise.
24006 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
24007 (FE_DIVBYZERO): Likewise.
24008 (FE_OVERFLOW): Likewise.
24009 (FE_UNDERFLOW): Likewise.
24010 (FE_INEXACT): Likewise.
24011 (FE_TONEAREST): Likewise.
24012 (FE_DOWNWARD): Likewise.
24013 (FE_UPWARD): Likewise.
24014 (FE_TOWARDZERO): Likewise.
24015 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
24016 (FE_UNDERFLOW): Likewise.
24017 (FE_OVERFLOW): Likewise.
24018 (FE_DIVBYZERO): Likewise.
24019 (FE_INVALID): Likewise.
24020 (FE_TONEAREST): Likewise.
24021 (FE_TOWARDZERO): Likewise.
24022 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
24023 (FE_OVERFLOW): Likewise.
24024 (FE_UNDERFLOW): Likewise.
24025 (FE_DIVBYZERO): Likewise.
24026 (FE_INEXACT): Likewise.
24027 (FE_TONEAREST): Likewise.
24028 (FE_TOWARDZERO): Likewise.
24029 (FE_UPWARD): Likewise.
24030 (FE_DOWNWARD): Likewise.
24031 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
24032 (FE_DIVBYZERO): Likewise.
24033 (FE_OVERFLOW): Likewise.
24034 (FE_UNDERFLOW): Likewise.
24035 (FE_INEXACT): Likewise.
24036 (FE_TONEAREST): Likewise.
24037 (FE_DOWNWARD): Likewise.
24038 (FE_UPWARD): Likewise.
24039 (FE_TOWARDZERO): Likewise.
24041 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
24043 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
24045 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
24047 * scripts/cross-test-ssh.sh (command): Use newlines to separate
24048 commands. Quote $PWD.
24049 (blacklist_exports): Don't use remove_newlines. Replace "declare
24051 (remove_newlines): Remove.
24053 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
24055 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
24056 * stdlib/stdlib.h (atof): Moved to ...
24057 * include/bits/stdlib-float.h: Here. New file.
24058 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
24059 * stdlib/bits/stdlib-float.h: New file.
24060 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
24062 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
24065 2012-11-02 Joseph Myers <joseph@codesourcery.com>
24067 * conform/conformtest.pl (@headers): Add fenv.h.
24068 * conform/data/fenv.h-data: New file.
24069 * include/fenv.h [_ISOMAC]: Disable all contents of file except
24070 include of <math/fenv.h>.
24072 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
24073 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
24074 && !UNIX98]. Enables tests for XOPEN2K8.
24075 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
24076 POSIX2008]: Likewise.
24078 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
24079 (struct rusage): Do not expect type or its members.
24082 * math/math.h (FP_NAN): Define macro to integer constant usable in
24083 #if and use that to give value to enum constant.
24084 (FP_INFINITE): Likewise.
24085 (FP_ZERO): Likewise.
24086 (FP_SUBNORMAL): Likewise.
24087 (FP_NORMAL): Likewise.
24089 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
24091 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
24092 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
24095 2012-11-02 Roland McGrath <roland@hack.frob.com>
24097 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
24098 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
24099 autoconf-time if not.
24100 * configure.in: Remove AC_PREREQ.
24102 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24104 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
24105 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
24106 of the internal implementation.
24108 2012-11-02 Joseph Myers <joseph@codesourcery.com>
24110 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
24111 except include of <misc/sys/syslog.h>.
24113 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
24115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
24116 function returns with a NULL context exit with zero.
24118 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24120 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
24122 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
24124 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
24125 (run_program_cmd): This.
24126 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
24127 (tst_langinfo): New variable. Use it.
24129 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
24131 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
24132 floating point opcodes.
24134 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
24136 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
24139 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
24141 * sysdeps/mach/hurd/powerpc: Remove directory.
24142 * sysdeps/mach/powerpc: Likewise.
24144 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
24146 * scripts/check-local-headers.sh: Ignore c++ headers.
24148 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
24150 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
24151 __libc_cleanup_region_start argument.
24153 2012-11-01 Joseph Myers <joseph@codesourcery.com>
24157 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
24158 x * y using scaling, not as x * y + z.
24159 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24160 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24161 * math/libm-test.inc (fma_test): Add more tests.
24162 (fma_test_towardzero): Likewise.
24163 (fma_test_downward): Likewise.
24164 (fma_test_upward): Likewise.
24166 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
24168 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
24170 2012-10-31 Joseph Myers <joseph@codesourcery.com>
24172 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
24175 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
24177 * rt/tst-shm.c (worker): Correct checking for mmap failure.
24179 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
24181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24186 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24189 Fix the order of the list for glibc 2.17.
24190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24193 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
24195 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24197 2012-10-31 Joseph Myers <joseph@codesourcery.com>
24200 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
24201 for low part of x being zero before using __atanl (y).
24202 * math/libm-test.inc (atan2_test): Add another test.
24204 * manual/install.texi (Configuring and compiling): Document
24205 general use of test-wrapper and test-wrapper-env.
24206 * INSTALL: Regenerated.
24208 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
24209 (__fma): Do not extract and scale down low bits on after-rounding
24210 systems when result rounded to normal precision would have normal
24212 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
24213 (__fmal): Do not extract and scale down low bits on after-rounding
24214 systems when result rounded to normal precision would have normal
24216 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
24217 (__fmal): Do not extract and scale down low bits on after-rounding
24218 systems when result rounded to normal precision would have normal
24220 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
24222 (fma_test): Add more tests.
24223 (fma_test_towardzero): Likewise.
24224 (fma_test_downward): Likewise.
24225 (fma_test_upward): Likewise.
24227 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
24229 * sysdeps/i386/tininess.h: Renamed to ...
24230 * sysdeps/x86/tininess.h: This.
24231 * sysdeps/x86_64/tininess.h: Removed.
24233 2012-10-30 Joseph Myers <joseph@codesourcery.com>
24235 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
24236 input. Use $(build-program-cmd).
24237 ($(objpfx)tst-array1-static.out): Likewise.
24238 ($(objpfx)tst-array2.out): Likewise.
24239 ($(objpfx)tst-array3.out): Likewise.
24240 ($(objpfx)tst-array4.out): Likewise.
24241 ($(objpfx)tst-array5.out): Likewise.
24242 ($(objpfx)tst-array5-static.out): Likewise.
24244 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
24246 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
24249 * nss/nsswitch.h (nss_interface_function): Provide new
24250 macro for use with NSS functions.
24251 * grp/initgroups.c: Use new macro.
24252 * nss/getXXbyYY.c: Likewise.
24253 * nss/getXXbyYY_r.c: Likewise.
24254 * nss/getXXent.c: Likewise.
24255 * nss/getXXent_r.c: Likewise.
24256 * sysdeps/posix/getaddrinfo.c: Likewise.
24258 2012-10-30 Andreas Jaeger <aj@suse.de>
24260 * po/ru.po: Update Russion translation from translation project.
24262 2012-10-30 Joseph Myers <joseph@codesourcery.com>
24266 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
24267 result and shift together with sticky bit instead of replicating
24268 round-to-nearest rounding.
24269 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24270 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24271 * math/libm-test.inc (fma_test): Add more tests. Do not permit
24272 missing underflow exceptions.
24273 (fma_test_towardzero): Add more tests.
24274 (fma_test_downward): Likewise.
24275 (fma_test_upward): Likewise.
24278 * sysdeps/generic/tininess.h: New file.
24279 * sysdeps/i386/tininess.h: Likewise.
24280 * sysdeps/sh/tininess.h: Likewise.
24281 * sysdeps/x86_64/tininess.h: Likewise.
24282 * stdlib/tst-strtod-underflow.c: Likewise.
24283 * stdlib/tst-tininess.c: Likewise.
24284 * stdlib/strtod_l.c: Include <tininess.h>.
24285 (round_and_return): Do not set errno for exact underflow cases.
24286 Force an underflow exception when setting errno for underflow.
24287 Determine underflow based on rounding to normal precision if
24288 TININESS_AFTER_ROUNDING.
24289 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
24290 ERANGE for exact underflow cases.
24291 * stdlib/Makefile (tests): Add tst-tininess and
24292 tst-strtod-underflow.
24293 ($(objpfx)tst-tininess): Use $(link-libm).
24294 ($(objpfx)tst-strtod-underflow): Likewise.
24296 2012-10-30 Andreas Jaeger <aj@suse.de>
24299 * elf/Makefile (tests): Remove conditional for have-initfini-array
24300 since this is now always required and the variable does not exist
24302 (tests-static): Likewise.
24303 (modules-names): Likewise.
24305 * po/eo.po: Add Esperanto translation from translation project.
24307 * elf/tst-array1.c (fini_array): Make writeable so that it can be
24308 merged with constructor/destructor.
24309 (init_array): Likewise.
24310 * elf/tst-array2dep.c (fini_array): Likewise.
24311 (init_array): Likewise.
24313 2012-10-29 Mike Frysinger <vapier@gentoo.org>
24315 * manual/message.texi: Delete @cartouche tags.
24317 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
24319 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
24321 * sysdeps/mach/hurd/fsync.c: Likewise.
24323 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
24324 [_POSIX_REALTIME_SIGNALS]: Change condition to
24325 [_POSIX_REALTIME_SIGNALS > 0].
24327 2012-10-27 Andreas Jaeger <aj@suse.de>
24329 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
24330 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
24331 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
24332 [__WORDSIZE != 64]: Likewise.
24334 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
24336 * iconvdata/tst-table.sh: Remove ${SHELL}.
24337 * iconvdata/tst-tables.sh: Likewise.
24339 2012-10-25 David S. Miller <davem@davemloft.net>
24341 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24342 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
24345 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
24347 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24348 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
24349 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
24352 2012-10-25 Roland McGrath <roland@hack.frob.com>
24354 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24355 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
24358 2012-10-25 Joseph Myers <joseph@codesourcery.com>
24359 Jim Blandy <jimb@codesourcery.com>
24361 * scripts/cross-test-ssh.sh: New file.
24362 * manual/install.texi (Configuring and compiling): Document use of
24364 * INSTALL: Regenerated.
24366 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
24368 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
24371 2012-10-25 Joseph Myers <joseph@codesourcery.com>
24373 * Makeconfig (run-program-prefix): Fix comment.
24375 2012-10-24 Joseph Myers <joseph@codesourcery.com>
24376 Jim Blandy <jimb@codesourcery.com>
24378 * Makeconfig (test-wrapper): New variable,
24379 (test-wrapper-env): Likewise.
24380 [$(cross-compiling) = yes && $(test-wrapper) != ""]
24381 (run-built-tests): Define to yes.
24382 (run-program-prefix): Use $(test-wrapper).
24383 (built-program-cmd): Likewise.
24384 * Rules (make-test-out): Use $(test-wrapper-env) and
24385 $(host-built-program-cmd).
24386 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
24387 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
24389 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
24390 $(test-wrapper-env) to tst-rtld-load-self.sh.
24391 ($(objpfx)order2.out): Use $(test-wrapper).
24392 ($(objpfx)tst-initorder.out): Likewise.
24393 ($(objpfx)tst-initorder2.out): Likewise.
24394 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
24395 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
24396 (test_wrapper_env): New variable. Use it to run ld.so.
24397 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
24398 Use it to run ld.so.
24399 (test_wrapper_env): Likewise.
24400 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
24401 $(test-wrapper) to run-iconv-test.sh.
24402 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
24403 (ICONV): Use $test_wrapper.
24404 * posix/Makefile ($(objpfx)globtest.out): Pass
24405 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
24406 globtest.sh, not $(run-program-prefix).
24407 * posix/globtest.sh (run_via_rtld_prefix): New variable.
24408 (test_wrapper): Likewise.
24409 (test_wrapper_env): Likewise. Use it to run globtest with HOME
24410 set together with run_via_rtld_prefix.
24411 (run_program_prefix): Define in terms of test_wrapper and
24412 run_via_rtld_prefix.
24414 2012-10-24 Roland McGrath <roland@hack.frob.com>
24416 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
24417 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
24421 * include/time.h: Remove librt_hidden_proto (clock_gettime).
24422 Declare __clock_getres, __clock_gettime, __clock_settime,
24423 __clock_nanosleep, and __clock_getcpuclockid.
24424 * rt/clock_gettime.c: Define __clock_gettime as an alias.
24425 Remove librt_hidden_def (clock_gettime).
24426 * sysdeps/unix/clock_gettime.c: Likewise.
24427 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
24428 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
24429 * rt/clock_getres.c: Define __clock_getres as an alias.
24430 * sysdeps/posix/clock_getres.c: Likewise.
24431 * rt/clock_settime.c: Define __clock_settime as an alias.
24432 * sysdeps/unix/clock_settime.c: Likewise.
24433 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
24434 * sysdeps/unix/clock_nanosleep.c: Likewise.
24435 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
24436 * rt/clock-compat.c: New file.
24437 * rt/Makefile (librt-routines): Add clock-compat and move
24438 $(clock-routines) to ...
24439 (routines): ... here, new variable.
24440 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
24441 Don't add get_clockfreq here.
24442 * rt/Versions (libc: GLIBC_2.17): New version set.
24443 Add clock_* symbols here.
24444 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
24445 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
24446 (GLIBC_2.17): Add clock_* symbols.
24447 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
24448 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
24449 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
24450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24454 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
24455 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
24456 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
24457 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
24458 * NEWS: Mention the move.
24460 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
24461 Use __open, __read, __close rather than their public counterparts.
24462 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24463 (__get_clockfreq_via_cpuinfo): Likewise.
24464 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
24465 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
24467 * config.h.in (HAVE_IFUNC): New #undef.
24468 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
24470 * configure: Regenerated.
24472 2012-10-24 Mike Frysinger <vapier@gentoo.org>
24474 * configure.in: Move READELF check to start of file.
24475 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
24476 libc_cv_asm_gnu_indirect_function in the process.
24477 * configure: Regenerated.
24479 2012-10-24 Mike Frysinger <vapier@gentoo.org>
24481 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
24482 send the output to /dev/null.
24483 (libc_cv_cc_with_libunwind): Likewise.
24484 (libc_cv_as_noexecstack): Likewise.
24485 * configure: Regenerate.
24487 2012-10-24 Joseph Myers <joseph@codesourcery.com>
24489 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
24491 * posix/globtest.sh (TMPDIR): Do not set.
24492 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
24493 (testout): Likewise.
24495 2012-10-24 Andreas Jaeger <aj@suse.de>
24497 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
24498 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
24499 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
24500 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
24501 posix_fadvise64, posix_fallocate64.
24503 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
24504 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
24505 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
24507 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
24509 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
24511 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
24512 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
24513 <bits/fcntl-linux.h>.
24514 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
24516 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
24517 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
24518 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
24519 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
24520 [__WORDSIZE != 64]: Likewise.
24522 2012-10-23 Joseph Myers <joseph@codesourcery.com>
24524 * Makeconfig (run-built-tests): New variable.
24525 * Rules [$(cross-compiling) = yes]: Change condition to
24526 [$(run-built-tests) = no].
24527 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
24528 to [$(run-built-tests) = yes].
24529 * elf/Makefile [$(cross-compiling) = no]: Likewise
24530 * grp/Makefile [$(cross-compiling) = no]: Likewise.
24531 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
24532 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
24533 * intl/Makefile [$(cross-compiling) = no]: Likewise.
24534 * io/Makefile [$(cross-compiling) = no]: Likewise.
24535 * libio/Makefile [$(cross-compiling) = no]: Likewise.
24536 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
24537 * misc/Makefile [$(cross-compiling) = no]: Likewise.
24538 * posix/Makefile [$(cross-compiling) = no]: Likewise.
24539 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
24540 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
24541 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
24542 * string/Makefile [$(cross-compiling) = no]: Likewise.
24544 * posix/Makefile ($(objpfx)globtest.out): Pass
24545 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
24546 $(rtld-installed-name).
24547 * posix/globtest.sh (elf_objpfx): Remove variable.
24548 (rtld_installed_name): Likewise.
24549 (library_path): Likewise.
24550 (run_program_prefix): New variable. Use for running globtest
24553 2012-10-23 Jim Blandy <jimb@codesourcery.com>
24554 Joseph Myers <joseph@codesourcery.com>
24556 * Makeconfig (host-built-program-cmd): New variable.
24557 * elf/Makefile (tst-stackguard1-ARGS): Use
24558 $(host-built-program-cmd).
24559 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
24560 (tst-spawn-ARGS): Likewise.
24561 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
24563 2012-10-23 Joseph Myers <joseph@codesourcery.com>
24564 Jim Blandy <jimb@codesourcery.com>
24566 * Makeconfig (run-via-rtld-prefix): New variable.
24567 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
24568 (built-program-cmd): Likewise.
24570 2012-10-22 Andreas Jaeger <aj@suse.de>
24572 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
24573 __O_RSYNC if it exists, otherwise to O_SYNC.
24575 2012-10-22 Jim Blandy <jimb@codesourcery.com>
24576 Joseph Myers <joseph@codesourcery.com>
24578 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
24580 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
24582 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
24585 2012-10-22 Andreas Jaeger <aj@suse.de>
24587 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
24589 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
24591 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24592 bits/fcntl-linux.h.
24594 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
24595 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
24597 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
24599 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
24602 2012-10-21 Jim Blandy <jimb@codesourcery.com>
24603 Joseph Myers <joseph@codesourcery.com>
24605 * config.make.in (NM): New variable.
24607 2012-10-21 Andreas Jaeger <aj@suse.de>
24609 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
24610 definitions and declarations that are provided by
24611 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
24613 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
24616 * elf/Makefile (tests-static): Add tst-leaks1-static.
24617 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
24618 ($(objpfx)tst-leaks1-static): New rule.
24619 ($(objpfx)tst-leaks1-static-mem): Likewise.
24620 (tst-leaks1-static-ENV): New macro.
24621 * elf/dl-open.c (dl_open_worker): Check the main application
24622 only if SHARED is defined.
24623 * elf/tst-leaks1-static.c: New file.
24625 2012-10-20 Andreas Jaeger <aj@suse.de>
24627 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
24628 generic values for Linux.
24629 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
24630 and declarations that are provided by <bits/fcntl-linux.h> and
24631 include <bits/fcntl-linux.h>.
24632 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24633 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24635 2012-10-20 Roland McGrath <roland@hack.frob.com>
24637 * io/fcntl.h: Move include of <bits/types.h> to the top and
24638 include it unconditionally.
24640 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
24642 * wcsmbs/Makefile (tests-ifunc): New variable.
24643 (tests): Add $(tests-ifunc).
24644 * wcsmbs/test-wcschr-ifunc.c: New file.
24645 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
24646 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
24647 * wcsmbs/test-wcslen-ifunc.c: Likewise.
24648 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
24649 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
24651 * string/Makefile (tests-ifunc): New variable.
24652 (tests): Add $(tests-ifunc).
24653 * string/test-memccpy.c (TEST_NAME): New macro.
24654 * string/test-memchr.c (TEST_NAME): Likewise.
24655 * string/test-memcmp.c (TEST_NAME): Likewise.
24656 * string/test-memcpy.c (TEST_NAME): Likewise.
24657 * string/test-memmem.c (TEST_NAME): Likewise.
24658 * string/test-memmove.c (TEST_NAME): Likewise.
24659 * string/test-memset.c (TEST_NAME): Likewise.
24660 * string/test-rawmemchr.c (TEST_NAME): Likewise.
24661 * string/test-stpcpy.c (TEST_NAME): Likewise.
24662 * string/test-stpncpy.c (TEST_NAME): Likewise.
24663 * string/test-strcasecmp.c (TEST_NAME): Likewise.
24664 * string/test-strcasestr.c (TEST_NAME): Likewise.
24665 * string/test-strcat.c (TEST_NAME): Likewise.
24666 * string/test-strchr.c (TEST_NAME): Likewise.
24667 * string/test-strcmp.c(TEST_NAME): Likewise.
24668 * string/test-strcpy.c (TEST_NAME): Likewise.
24669 * string/test-strcspn.c (TEST_NAME): Likewise.
24670 * string/test-strlen.c (TEST_NAME): Likewise.
24671 * string/test-strncasecmp.c (TEST_NAME): Likewise.
24672 * string/test-strncmp.c (TEST_NAME): Likewise.
24673 * string/test-strncpy.c (TEST_NAME): Likewise.
24674 * string/test-strnlen.c (TEST_NAME): Likewise.
24675 * string/test-strpbrk.c (TEST_NAME): Likewise.
24676 * string/test-strrchr.c (TEST_NAME): Likewise.
24677 * string/test-strspn.c (TEST_NAME): Likewise.
24678 * string/test-strstr.c (TEST_NAME): Likewise.
24679 * string/test-bcopy-ifunc.c: New file.
24680 * string/test-bzero-ifunc.c: Likewise.
24681 * string/test-memccpy-ifunc.c: Likewise.
24682 * string/test-memchr-ifunc.c: Likewise.
24683 * string/test-memcmp-ifunc.c: Likewise.
24684 * string/test-memcpy-ifunc.c: Likewise.
24685 * string/test-memmem-ifunc.c: Likewise.
24686 * string/test-memmove-ifunc.c: Likewise.
24687 * string/test-mempcpy-ifunc.c: Likewise.
24688 * string/test-memset-ifunc.c: Likewise.
24689 * string/test-rawmemchr-ifunc.c: Likewise.
24690 * string/test-stpcpy-ifunc.c: Likewise.
24691 * string/test-stpncpy-ifunc.c: Likewise.
24692 * string/test-strcasecmp-ifunc.c: Likewise.
24693 * string/test-strcasestr-ifunc.c: Likewise.
24694 * string/test-strcat-ifunc.c: Likewise.
24695 * string/test-strchr-ifunc.c: Likewise.
24696 * string/test-strchrnul-ifunc.c: Likewise.
24697 * string/test-strcmp-ifunc.c: Likewise.
24698 * string/test-strcpy-ifunc.c: Likewise.
24699 * string/test-strcspn-ifunc.c: Likewise.
24700 * string/test-strlen-ifunc.c: Likewise.
24701 * string/test-strncasecmp-ifunc.c: Likewise.
24702 * string/test-strncat-ifunc.c: Likewise.
24703 * string/test-strncmp-ifunc.c: Likewise.
24704 * string/test-strncpy-ifunc.c: Likewise.
24705 * string/test-strnlen-ifunc.c: Likewise.
24706 * string/test-strpbrk-ifunc.c: Likewise.
24707 * string/test-strrchr-ifunc.c: Likewise.
24708 * string/test-strspn-ifunc.c: Likewise.
24709 * string/test-strstr-ifunc.c: Likewise.
24711 * debug/Makefile (tests-ifunc): New variable.
24712 (tests): Add $(tests-ifunc).
24713 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
24714 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
24715 * debug/test-stpcpy_chk-ifunc.c: New file.
24716 * debug/test-strcpy_chk-ifunc.c: Likewise.
24718 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
24721 * elf/dl-load.c (open_verify): Retry read if the entire ELF
24722 header is not read in.
24724 2012-10-19 Joseph Myers <joseph@codesourcery.com>
24726 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
24727 script to $(SHELL) as $<. Pass $(common-objpfx) to script
24728 directly. Pass built executable to script as
24729 $(built-program-cmd).
24730 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
24731 $testprogram without using LD_LIBRARY_PATH and $ldso.
24733 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
24734 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
24735 $(rtld-installed-name).
24736 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
24737 (rtld_installed_name): Likewise.
24738 (library_path): Likewise.
24739 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
24740 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
24741 $(run-program-prefix) to tst-tables.sh.
24742 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
24743 it to run tst-table-from and tst-table-to.
24744 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
24745 Pass it to tst-table.sh.
24746 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
24747 $(run-program-prefix) to tst-gettext.sh.
24748 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
24750 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
24752 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
24753 to run tst-gettext.
24754 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
24755 to run tst-gettext2.
24756 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
24757 to run tst-translit.
24758 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
24759 $(run-program-prefix) to tst-mtrace.sh.
24760 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
24762 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
24763 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
24764 $(rtld-installed-name).
24765 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
24766 (rtld_installed_name): Likewise.
24767 (run_program_prefix): New variable. Use it to run wordexp-test.
24769 * Makeconfig (ARCH): Remove all definitions.
24770 (machine): Likewise.
24771 [ARCH]: Remove conditional code.
24772 [!objdir]: Give error.
24773 [!objdir] (objpfx): Remove.
24774 [!objdir] (common-objpfx): Likewise.
24775 [!objdir] (common-objdir): Likewise.
24776 * configure.in (config_makefile): Remove. Hardcode Makefile in
24777 AC_CONFIG_FILES call.
24778 * configure: Regenerated.
24781 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
24783 (testout): Likewise.
24785 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
24786 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
24787 $(rtld-installed-name).
24788 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
24789 (rtld_installed_name): Likwise.
24790 (runit): Remove function.
24791 (run_getconf): New variable, Use it for running getconf binary.
24793 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
24796 * string/test-memmem.c (check_result): New function.
24797 (do_one_test): Use it.
24798 (check1): New function.
24799 (test_main): Use it.
24801 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
24803 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
24805 2012-10-18 Joseph Myers <joseph@codesourcery.com>
24807 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
24808 (_G_LSEEK64): Likewise.
24809 (_G_MMAP64): Likewise.
24810 (_G_FSTAT64): Likewise.
24811 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
24812 (_G_LSEEK64): Likewise.
24813 (_G_MMAP64): Likewise.
24814 (_G_FSTAT64): Likewise.
24815 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
24816 unconditional. Call __mmap64 directly.
24817 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
24818 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
24819 __lseek64 directly.
24820 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
24821 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
24823 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
24824 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
24825 __lseek64 directly.
24826 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
24827 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
24828 __lseek64 directly.
24829 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
24830 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
24831 __lseek64 directly.
24832 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
24833 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
24834 __fxstat64 directly.
24835 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
24836 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
24838 (freopen64) [!_G_OPEN64]: Remove conditional code.
24839 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
24841 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
24842 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
24844 (ftello64) [!_G_LSEEK64]: Remove conditional code.
24845 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
24847 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
24848 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
24850 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
24851 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
24853 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
24854 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
24856 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
24857 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
24859 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
24861 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24864 * manual/memory.texi (Malloc Tunable Parameters): Add note
24865 about free list pointers overwriting some perturb bytes.
24866 Wording suggested by Roland McGrath.
24868 2012-10-17 Joseph Myers <joseph@codesourcery.com>
24870 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
24871 (lgamma_test): Likewise.
24872 (tgamma_test): Likewise.
24874 2012-10-16 Florian Weimer <fweimer@redhat.com>
24877 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
24878 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
24880 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
24882 * NEWS: Mention BZ #14716.
24883 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
24884 when removing AVAILABLE1_USES_J macro.
24886 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
24888 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
24889 (__bswap_64): __uint64_t for unsigned 64-bit int.
24891 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
24893 * include/string.h (memmem): Declare libc hidden alias.
24894 * string/memmem.c (memmem): Define libc hidden alias.
24895 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
24896 __read, __close instead of open, read, close.
24898 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
24900 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
24901 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
24903 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
24904 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
24905 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
24907 (__rawmemchr_sse2): Likewise.
24908 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
24909 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
24910 (__strchr_sse2): Likewise.
24911 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
24912 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
24913 (__strcasecmp_sse2): Likewise.
24914 (__strncasecmp_sse2): Likewise.
24915 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
24916 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
24917 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
24918 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
24919 (__strrchr_sse2): Likewise.
24920 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
24922 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
24923 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
24924 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
24925 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
24926 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
24927 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
24928 * sysdeps/x86_64/multiarch/memset.S: Likewise.
24929 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24930 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
24931 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
24932 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
24933 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
24934 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
24935 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
24936 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
24937 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
24938 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
24939 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
24940 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
24941 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
24942 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
24943 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
24944 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
24945 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
24946 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
24947 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24948 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
24949 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
24950 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
24951 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
24953 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
24955 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
24956 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
24957 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
24958 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
24960 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
24962 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
24963 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
24964 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
24965 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
24967 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
24968 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
24969 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
24970 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24971 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24972 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24973 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24974 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24975 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24976 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
24977 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
24978 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
24979 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
24980 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
24981 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
24982 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24983 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
24984 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
24985 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
24986 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
24987 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24988 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
24989 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
24990 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
24991 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24992 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
24993 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
24994 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
24995 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
24996 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
24997 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
24998 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
24999 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
25000 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
25001 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
25002 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
25003 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
25004 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
25005 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
25006 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
25007 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
25009 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
25010 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
25011 * include/ifunc-impl-list.h: New file.
25012 * misc/ifunc-impl-list.c: Likewise.
25013 * misc/Makefile (routines): Add ifunc-impl-list.
25014 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
25015 * string/test-string.h: Include <ifunc-impl-list.h>.
25016 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
25017 TEST_NAME]: New variables.
25018 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
25020 (test_init): Call __libc_ifunc_impl_list to initialize
25021 func_list if TEST_IFUNC and TEST_NAME are defined.
25023 * string/Makefile (strop-tests): Add bcopy and bzero.
25024 * string/test-bcopy.c: New file.
25025 * string/test-bzero.c: Likewise.
25026 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
25028 * string/test-memset.c: Support bzero test if TEST_BZERO is
25030 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
25032 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
25034 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
25037 2012-10-10 Joseph Myers <joseph@codesourcery.com>
25039 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
25040 * configure: Regenerated.
25042 * Makeconfig (+link-static-before-libc): Don't include
25043 $(link-static-libc).
25045 * libio/libio.h (_IO_pos_t): Remove.
25047 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
25049 * NEWS: Add note about FIPS mode. Wording suggested by Roland
25052 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
25054 * crypt/crypt-entry.c: Include fips-private.h.
25055 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
25056 * crypt/md5c-test.c (main): Tolerate disabled MD5.
25057 * sysdeps/unix/sysv/linux/fips-private.h: New file.
25058 * sysdeps/generic/fips-private.h: New file, dummy fallback.
25060 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
25062 * crypt/crypt-private.h: Include stdbool.h.
25063 (_ufc_setup_salt_r): Return bool.
25064 * crypt/crypt-entry.c: Include errno.h.
25065 (__crypt_r): Return NULL with EINVAL for bad salt.
25066 * crypt/crypt_util.c (bad_for_salt): New.
25067 (_ufc_setup_salt_r): Check that salt is long enough and within
25068 the specified alphabet.
25069 * crypt/badsalttest.c: New file.
25070 * crypt/Makefile (tests): Add it.
25071 ($(objpfx)badsalttest): New.
25073 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
25075 * NEWS: Add entry for BZ #14602.
25077 2012-10-09 Joseph Myers <joseph@codesourcery.com>
25079 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
25081 * math/libm-test.inc: Update comment listing what functions and
25083 (isgreater_test): New function.
25084 (isgreaterequal_test): Likewise.
25085 (isless_test): Likewise.
25086 (islessequal_test): Likewise.
25087 (islessgreater_test): Likewise.
25088 (isunordered_test): Likewise.
25089 (main): Call the new functions.
25091 2012-10-09 Roland McGrath <roland@hack.frob.com>
25093 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
25094 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
25095 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
25096 * sysdeps/i386/configure: Regenerated.
25097 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
25098 * sysdeps/mach/configure: Regenerated.
25099 * sysdeps/mach/hurd/configure: Regenerated.
25100 * sysdeps/powerpc/configure: Regenerated.
25101 * sysdeps/powerpc/powerpc32/configure: Regenerated.
25102 * sysdeps/powerpc/powerpc64/configure: Regenerated.
25103 * sysdeps/s390/s390-32/configure: Regenerated.
25104 * sysdeps/s390/s390-64/configure: Regenerated.
25105 * sysdeps/sh/configure: Regenerated.
25106 * sysdeps/sparc/configure: Regenerated.
25107 * sysdeps/unix/sysv/linux/configure: Regenerated.
25108 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
25109 * sysdeps/x86_64/configure: Regenerated.
25111 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
25112 defined. Don't check if MAP is NULL.
25114 2012-10-09 Joseph Myers <joseph@codesourcery.com>
25116 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
25117 (_G_stat64): Likewise.
25118 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
25119 (_G_stat64): Likewise.
25120 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
25121 instead of struct _G_stat64.
25122 * libio/fileops.c (mmap_remap_check): Likewise.
25123 (decide_maybe_mmap): Likewise.
25124 (_IO_new_file_seekoff): Likewise.
25125 (_IO_file_stat): Likewise.
25126 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
25128 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
25129 instead of struct _G_stat64.
25130 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
25132 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
25135 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
25137 (CHECK_EOL): New macro.
25138 (two_way_short_needle): Check beginning of haystack for EOL. Use
25140 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
25141 Replace with CHECK_EOL.
25142 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
25143 Replace with CHECK_EOL.
25145 2012-10-08 Joseph Myers <joseph@codesourcery.com>
25147 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
25149 * math/libm-test.inc: Update comment listing what functions and
25151 (finite_test): New function.
25152 (isinf_test): Likewise.
25153 (isnan_test): Likewise.
25154 (fpclassify_test): Test subnormal input.
25155 (isfinite_test): Likewise.
25156 (isnormal_test): Likewise.
25157 (main): Call the new functions.
25159 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
25162 * Makerules (%.dynsym): Force C locale when running
25163 $(OBJDUMP) --dynamic-syms.
25165 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
25167 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
25170 2012-10-06 David S. Miller <davem@davemloft.net>
25172 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
25173 upper 32-bits of the length value in %o2 since we use branch-on-register
25174 tests which consider the entire 64-bit register.
25176 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
25178 * string/test-strstr.c (check2): Add a test for page boundary.
25180 2012-10-05 David S. Miller <davem@davemloft.net>
25182 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
25183 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
25185 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
25187 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
25188 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
25189 and bzero when HWCAP_SPARC_CRYPTO is present.
25191 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
25194 * string/test-strstr.c (check2): New function.
25195 (test_main): Call check2.
25197 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
25199 * string/bug-strcasestr1.c (do_test): Moved to ...
25200 * string/test-strcasestr.c (check1): Here. New function.
25201 (do_one_test): Break out result checking code into ...
25202 (check_result): This. New function.
25203 (do_one_test): Call check_result.
25204 (test_main): Call check1.
25205 * string/bug-strchr1.c (do_test): Moved to ...
25206 * string/test-strchr.c (check1): Here. New function.
25207 (do_one_test): Break out result checking code into ...
25208 (check_result): This. New function.
25209 (do_one_test): Call check_result.
25210 (test_main): Call check1.
25211 * string/bug-strstr1.c (main): Moved to ...
25212 * string/test-strstr.c (check1): Here. New function.
25213 (do_one_test): Break out result checking code into ...
25214 (check_result): This. New function.
25215 (do_one_test): Call check_result.
25216 (test_main): Call check1.
25217 * string/bug-strcasestr1.c: Removed.
25218 * string/bug-strchr1.c: Likewise.
25219 * string/bug-strstr1.c: Likewise.
25221 * elf/Makefile (dl-routines): Add hwcaps.
25222 * elf/dl-support.c (_dl_important_hwcaps): Removed.
25223 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
25224 (_dl_important_hwcaps): Moved to ...
25225 * elf/dl-hwcaps.c: Here. New file.
25226 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
25229 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
25230 if IS_IN_rtld isn't defined.
25232 * elf/dl-support.c (_dl_sysinfo_map): New.
25233 Include "get-dynamic-info.h" and "setup-vdso.h".
25234 (_dl_non_dynamic_init): Call setup_vdso.
25235 * elf/dynamic-link.h: Don't include <assert.h>.
25236 (elf_get_dynamic_info): Moved to ...
25237 * elf/get-dynamic-info.h: Here. New file.
25238 * elf/dynamic-link.h: Include "get-dynamic-info.h".
25239 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
25240 * elf/setup-vdso.h: Here. New file.
25241 * elf/rtld.c: Include "setup-vdso.h".
25242 (dl_main): Call setup_vdso.
25244 2012-10-05 Joseph Myers <joseph@codesourcery.com>
25246 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
25247 creal in comment listing functions tested. List finite, isinf,
25248 isnan, isless, islessequal, isgreater, isgreaterequal,
25249 islessgreater, isunordered, lgamma_r and pow10 as functions and
25250 macros not tested. Mention which functions not tested are aliases
25251 for other functions. Fix typo. Note that signs of NaNs are not
25254 * scripts/config.guess: Update from config.git.
25255 * scripts/config.sub: Likewise.
25257 2012-10-04 Roland McGrath <roland@hack.frob.com>
25259 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
25260 * misc/madvise.c (madvise): Renamed to __madvise.
25261 Make madvise a weak alias.
25262 * include/sys/mman.h: Declare __madvise.
25263 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
25264 * sysdeps/unix/syscalls.list
25265 (madvise): Make __madvise the strong name, and madvise a weak alias.
25266 * sysdeps/unix/sysv/linux/syscalls.list
25267 (madvise, mmap): Remove redundant entries.
25268 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
25269 * malloc/malloc.c (mtrim): Likewise.
25270 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
25272 2012-10-03 Roland McGrath <roland@hack.frob.com>
25274 * sysdeps/mach/hurd/dl-cache.c: File removed.
25275 * config.h.in (USE_LDCONFIG): New #undef.
25276 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
25277 * configure: Regenerated.
25278 * elf/Makefile (dl-routines): Add dl-cache only under
25279 [$(use-ldconfig) = yes].
25280 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
25281 cache on [USE_LDCONFIG].
25282 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
25284 * elf/rtld.c (dl_main): Likewise.
25286 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
25288 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
25289 _SC_LEVEL4_CACHE_LINESIZE.
25291 2012-10-03 Roland McGrath <roland@hack.frob.com>
25293 * sysdeps/unix/bsd/confstr.h: File removed.
25295 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
25297 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
25300 2012-10-02 Roland McGrath <roland@hack.frob.com>
25302 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
25303 Make 'mapoff' field ElfW(Off) rather than off_t.
25305 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
25307 * nscd/Makefile: Remove nscd-cflags and all its users.
25308 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
25309 (CFLAGS-nonlib): Add compiler flags for nscd modules.
25312 * malloc.c (malloc_printerr): Clarify error message.
25314 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
25317 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25318 Set bit_FMA_Usable if FMA is supported.
25319 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
25321 (bit_FMA4_Usable): Updated.
25322 (index_FMA_Usable): New macro.
25323 (CPUID_FMA): Likewise
25324 (HAS_FMA): Defined with bit_FMA_Usable.
25326 2012-10-01 Roland McGrath <roland@hack.frob.com>
25328 * bits/types.h (__swblk_t): Type removed.
25329 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
25330 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
25331 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25332 (__SWBLK_T_TYPE): Likewise.
25333 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25334 (__SWBLK_T_TYPE): Likewise.
25335 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25336 (__SWBLK_T_TYPE): Likewise.
25337 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25338 (__SWBLK_T_TYPE): Likewise.
25340 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
25341 Honza Horak <hhorak@redhat.com>
25343 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
25344 (xdr_mapname): Use YPMAXMAP as maxsize.
25345 (xdr_peername): Use YPMAXPEER as maxsize.
25346 (xdr_keydat): Use YPAXRECORD as maxsize.
25347 (xdr_valdat): Use YPMAXRECORD as maxsize.
25349 2012-10-01 Roland McGrath <roland@hack.frob.com>
25351 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
25353 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
25354 * csu/init-first.c: ... here.
25355 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
25356 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
25357 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
25358 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
25359 * sysdeps/i386/init-first.c: File removed.
25360 * sysdeps/sh/init-first.c: File removed.
25362 2012-10-01 Joseph Myers <joseph@codesourcery.com>
25365 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
25366 if x * y might underflow to zero and z is zero.
25367 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25368 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25369 * math/libm-test.inc (min_subnorm_value): New variable.
25370 (fma_test): Add more tests.
25371 (fma_test_towardzero): Likewise.
25372 (fma_test_downward): Likewise
25373 (fma_test_upward): Likewise.
25374 (initialize): Set min_subnorm_value.
25376 2012-09-29 Joseph Myers <joseph@codesourcery.com>
25379 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
25381 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
25382 mode for addition resulting in exact zero.
25383 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
25384 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
25386 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25387 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25388 * math/libm-test.inc (fma_test): Add more tests.
25389 (fma_test_towardzero): New function.
25390 (fma_test_downward): Likewise.
25391 (fma_test_upward): Likewise.
25392 (main): Call the new functions.
25394 2012-09-28 David S. Miller <davem@davemloft.net>
25396 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
25398 2012-09-28 Roland McGrath <roland@hack.frob.com>
25400 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
25401 instead of SIGALRM.
25403 * sysdeps/gnu/_G_config.h: Moved to ...
25404 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
25405 * sysdeps/mach/hurd/_G_config.h: Moved to ...
25406 * sysdeps/generic/_G_config.h: ... here.
25408 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
25410 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
25412 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
25413 Conditionalize target on [libnss_test1.so-version].
25415 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
25417 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
25418 (elfobjdir): Move out of conditionals.
25420 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
25421 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
25422 (__nss_lookup_function): Conditionalize label remove_from_tree on
25423 [!DO_STATIC_NSS || SHARED], matching its only use.
25425 2012-09-28 David S. Miller <davem@davemloft.net>
25427 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
25428 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
25430 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
25432 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
25433 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
25434 when HWCAP_SPARC_CRYPTO is present.
25436 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
25438 * io/tst-mknodat.c: Create a FIFO instead of a socket.
25440 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
25443 * stdio-common/vfprintf.c (process_string_arg): Revert
25446 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
25448 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
25450 * stdio-common/tst-sprintf.c: Include <locale.h>
25451 (main): Test sprintf's handling of incomplete multibyte
25454 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
25456 * elf/dl-runtime.c (VERSYMIDX): Removed.
25457 * elf/dl-version.c (VERSYMIDX): Likewise.
25458 * elf/do-rel.h (VERSYMIDX): Likewise.
25459 (VALIDX): Likewise.
25460 * elf/dynamic-link.h (VERSYMIDX): Likewise.
25461 * elf/rtld.c (VALIDX): Likewise.
25462 (ADDRIDX): Likewise.
25463 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
25464 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
25465 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
25466 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
25467 (VALIDX): Likewise.
25468 (ADDRIDX): Likewise.
25470 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
25472 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
25474 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
25477 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
25479 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
25480 addresses are in the same scope as 192.0.2/24.
25481 * posix/gai.conf: Document new scope table defaults.
25483 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25486 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
25487 for ftell. Compute offsets from write pointers instead.
25488 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
25490 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25493 * libio/Makefile (tests): New test case tst-fseek.
25494 * libio/tst-fseek.c: New test case to verify that fseek/ftell
25495 combination works in wide mode.
25496 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
25497 state when the external buffer state changes.
25499 2012-09-27 David S. Miller <davem@davemloft.net>
25502 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
25503 pass reloc->r_addend in as the 'high' argument to
25504 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
25506 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25508 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
25510 * rt/tst-aio2.c: Include <pthread.h>.
25511 * rt/tst-aio3.c: Likewise.
25513 2012-09-27 Steve Ellcey <sellcey@mips.com>
25515 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
25517 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
25519 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
25520 contents on [SHARED].
25522 2012-09-26 Marek Polacek <polacek@redhat.com>
25526 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
25527 for C++ and GCC <4.3 as well as for non GCC compilers.
25529 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
25531 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25533 2012-09-25 Roland McGrath <roland@hack.frob.com>
25535 * Makefile.in (all, install): Declare with .PHONY.
25536 Reported by Michael Hope <michael.hope@linaro.org>.
25538 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25540 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
25541 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
25543 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
25545 (sydep_routines): Add the new and the internal functions.
25546 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
25547 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
25548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
25549 (GLIBC_2.17): Add the new function.
25550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
25551 (GLIBC_2.17): Likewise.
25552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
25553 (GLIBC_2.17): Likewise.
25554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
25555 (GLIBC_2.17): Likewise.
25556 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
25558 2012-09-25 Alan Modra <amodra@gmail.com>
25560 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
25561 Add release barrier before setting once_control to say
25562 initialisation is done. Add hints on lwarx. Use macro in
25564 (clear_once_control): Add release barrier.
25566 2012-09-25 Joseph Myers <joseph@codesourcery.com>
25569 * math/s_clog.c (__clog): Handle more values close to |z| = 1
25571 * math/s_clog10.c (__clog10): Likewise.
25572 * math/s_clog10f.c (__clog10f): Likewise.
25573 * math/s_clog10l.c (__clog10l): Likewise.
25574 * math/s_clogf.c (__clogf): Likewise.
25575 * math/s_clogl.c (__clogl): Likewise.
25576 * math/Makefile (libm-calls): Add x2y2m1.
25577 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
25578 (__x2y2m1): Likewise.
25579 (__x2y2m1l): Likewise.
25580 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
25581 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
25582 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
25583 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
25584 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
25585 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
25586 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
25587 * sysdeps/i386/fpu/libm-test-ulps: Update.
25588 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25591 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
25592 int as type of variable DEPTH.
25593 (glob): Use size_t instead of int as type of variables NEWCOUNT
25596 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25598 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
25599 Add s_sincosf-sse2.
25600 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
25601 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
25602 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
25603 macros for using routine as __sincosf_ia32.
25604 Use macro for function declaration and weak_alias.
25605 * sysdeps/i386/fpu/libm-test-ulps: Update.
25607 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
25608 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25610 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
25611 subnormal argument.
25612 * math/s_cexpf.c (__cexpf): Likewise.
25613 * math/s_csinf.c (__csinf): Likewise.
25614 * math/s_csinhf.c (__csinhf): Likewise.
25615 * math/s_ctanf.c (__ctanf): Likewise.
25616 * math/s_ctanhf.c (__ctanhf): Likewise.
25617 * math/s_ccosh.c (__ccoshf): Likewise.
25618 * math/s_cexp.c (__cexpl): Likewise.
25619 * math/s_csin.c (__csin): Likewise.
25620 * math/s_csinh.c (__csinh): Likewise.
25621 * math/s_ctan.c (__ctan): Likewise.
25622 * math/s_ctanh.c (ctanh): Likewise.
25623 * math/s_ccoshl.c (__ccoshl): Likewise.
25624 * math/s_cexpl.c (__cexpl): Likewise.
25625 * math/s_csinl.c (__csinl): Likewise.
25626 * math/s_csinhl.c (__csinhl): Likewise.
25627 * math/s_ctanl.c (__ctanl): Likewise.
25628 * math/s_ctanhl.c (__ctanhl): Likewise.
25630 2012-09-25 Joseph Myers <joseph@codesourcery.com>
25632 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
25633 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
25634 (_IO_off_t): Define to __off_t, not _G_off_t.
25635 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
25636 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
25637 (_IO_wint_t): Define to wint_t, not _G_wint_t.
25638 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
25639 type of __dummy and __dummy2 fields.
25640 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
25641 (_G_ssize_t): Likewise.
25642 (_G_off_t): Likewise.
25643 (_G_pid_t): Likewise.
25644 (_G_uid_t): Likewise.
25645 (_G_wchar_t): Likewise.
25646 (_G_wint_t): Likewise.
25647 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
25648 (_G_ssize_t): Likewise.
25649 (_G_off_t): Likewise.
25650 (_G_pid_t): Likewise.
25651 (_G_uid_t): Likewise.
25652 (_G_wchar_t): Likewise.
25653 (_G_wint_t): Likewise.
25654 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
25655 (_G_ssize_t): Likewise.
25656 (_G_off_t): Likewise.
25657 (_G_pid_t): Likewise.
25658 (_G_uid_t): Likewise.
25659 (_G_wchar_t): Likewise.
25660 (_G_wint_t): Likewise.
25662 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25664 * malloc/arena.c: Include malloc-sysdep.h.
25665 (shrink_heap): Use check_may_shrink_heap to decide if madvise
25666 is sufficient to shrink the heap or an unmap is needed.
25667 * sysdeps/generic/malloc-sysdep.h: New file. Define
25668 new function check_may_shrink_heap.
25669 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
25670 new function check_may_shrink_heap.
25672 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25674 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
25677 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
25679 * catgets/test-gencat.sh: Add "set -e".
25680 * elf/tst-pathopt.sh: Likewise.
25681 * grp/tst_fgetgrent.sh: Likewise.
25682 * iconvdata/run-iconv-test.sh: Likewise.
25683 * intl/tst-gettext.sh: Likewise.
25684 * intl/tst-gettext2.sh: Likewise.
25685 * intl/tst-gettext4.sh: Likewise.
25686 * intl/tst-gettext6.sh: Likewise.
25687 * intl/tst-translit.sh: Likewise.
25688 * io/ftwtest-sh: Likewise.
25689 * libio/test-freopen.sh: Likewise.
25690 * malloc/tst-mtrace.sh: Likewise.
25691 * posix/globtest.sh: Likewise.
25692 * posix/tst-getconf.sh: Likewise.
25693 * posix/wordexp-tst.sh: Likewise.
25694 * stdio-common/tst-printf.sh: Likewise.
25695 * stdio-common/tst-unbputc.sh: Likewise.
25696 * stdlib/tst-fmtmsg.sh: Likewise.
25697 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
25698 * catgets/Makefile: Do not specify -e option when running
25699 testsuite shell scripts.
25700 * elf/Makefile: Likewise.
25701 * grp/Makefile: Likewise.
25702 * iconvdata/Makefile: Likewise.
25703 * intl/Makefile: Likewise.
25704 * io/Makefile: Likewise.
25705 * libio/Makefile: Likewise.
25706 * malloc/Makefile: Likewise.
25707 * posix/Makefile: Likewise.
25708 * stdio-common/Makefile: Likewise.
25709 * stdlib/Makefile: Likewise.
25710 * sysdeps/x86_64/Makefile: Likewise.
25712 * io/ftwtest-sh: Add copyright header.
25713 * posix/globtest.sh: Likewise.
25714 * posix/tst-getconf.sh: Likewise.
25715 * posix/wordexp-tst.sh: Likewise.
25716 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
25718 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
25721 * Makeconfig (+link): Defined as $(+link-static) if
25722 $(build-shared) isn't yes.
25723 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
25725 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
25727 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
25730 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
25731 new chunk size with MALLOC_ALIGN_MASK.
25733 2012-09-24 Joseph Myers <joseph@codesourcery.com>
25736 * stdio-common/printf_fphex.c: Include <stdbool.h> and
25738 (__printf_fphex): Determine rounding using get_rounding_mode and
25740 * stdio-common/tst-printf-round.c (struct hex_test): New
25742 (hex_tests): New variable.
25743 (test_hex_in_one_mode): New function.
25744 (do_test): Also run tests for hex float output.
25746 2012-09-21 Joseph Myers <joseph@codesourcery.com>
25748 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
25749 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
25750 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
25751 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
25752 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
25753 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
25754 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
25755 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
25757 2012-09-20 Joseph Myers <joseph@codesourcery.com>
25759 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
25760 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
25761 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
25762 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
25764 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
25767 * elf/rtld.c (dl_main): Limit the check for self loading to normal
25769 * elf/tst-rtld-load-self.sh: New test.
25770 * elf/Makefile: Run it.
25772 2012-09-18 Joseph Myers <joseph@codesourcery.com>
25774 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
25775 (tst-writev-ENV): Remove.
25776 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
25778 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
25780 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
25782 2012-09-17 Joseph Myers <joseph@codesourcery.com>
25784 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
25786 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
25788 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
25789 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
25790 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
25793 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
25796 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
25797 * config.make.in (have-cpp-asm-debuginfo): Removed.
25798 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
25799 * configure: Regenerated.
25801 2012-09-14 Joseph Myers <joseph@codesourcery.com>
25804 * stdio-common/printf_fp.c: Include <stdbool.h> and
25806 (___printf_fp): Determine rounding using get_rounding_mode and
25808 * stdio-common/tst-printf-round.c: New file.
25809 * stdio-common/Makefile (tests): Add tst-printf-round.
25810 (link-libm): New variable.
25811 ($(objpfx)tst-printf-round): Depend in $(link-libm).
25813 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
25816 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
25817 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
25819 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
25822 2012-09-13 Joseph Myers <joseph@codesourcery.com>
25824 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
25825 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25826 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25827 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25829 2012-09-12 Joseph Myers <joseph@codesourcery.com>
25832 * include/rounding-mode.h: New file.
25833 * sysdeps/generic/get-rounding-mode.h: Likewise.
25834 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
25835 * stdlib/strtod_l.c: Include <rounding-mode.h>.
25836 (MAX_VALUE): New macro.
25837 (MIN_VALUE): Likewise.
25838 (overflow_value): New function.
25839 (underflow_value): Likewise.
25840 (round_and_return): Use overflow_value and underflow_value to
25841 determine return values in overflow and underflow cases. Use
25842 round_away to determine rounding depending on rounding mode.
25843 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
25844 determine return values in overflow and underflow cases.
25845 * stdlib/tst-strtod-round.c: Include <fenv.h>.
25846 (struct test_results): New structure.
25847 (struct test): Use struct test_results to store expected results
25848 for all rounding modes.
25849 (TEST): Include expected results for all rounding modes.
25850 (test_in_one_mode): New function.
25851 (do_test): Use test_in_one_mode to compute and check results.
25852 Check results for all rounding modes.
25853 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
25856 2012-12-09 Allan McRae <allan@archlinux.org>
25858 * sysdeps/i386/fpu/libm-test-ulps: Update
25860 2012-09-11 Joseph Myers <joseph@codesourcery.com>
25862 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
25863 (_G_int32_t): Likewise.
25864 (_G_uint16_t): Likewise.
25865 (_G_uint32_t): Likewise.
25866 (_G_HAVE_BOOL): Likewise.
25867 (_G_HAVE_ATEXIT): Likewise.
25868 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25869 (_G_HAVE_IO_FILE_OPEN): Likewise.
25870 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
25871 (_G_int32_t): Likewise.
25872 (_G_uint16_t): Likewise.
25873 (_G_uint32_t): Likewise.
25874 (_G_HAVE_BOOL): Likewise.
25875 (_G_HAVE_ATEXIT): Likewise.
25876 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25877 (_G_HAVE_IO_FILE_OPEN): Likewise.
25878 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
25879 (_G_int32_t): Likewise.
25880 (_G_uint16_t): Likewise.
25881 (_G_uint32_t): Likewise.
25882 (_G_HAVE_BOOL): Likewise.
25883 (_G_HAVE_ATEXIT): Likewise.
25884 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25885 (_G_HAVE_IO_FILE_OPEN): Likewise.
25887 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
25889 * csu/libc-tls.c: Update copyright years.
25891 2012-09-10 Joseph Myers <joseph@codesourcery.com>
25893 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
25894 [!_G_USING_THUNKS]: Remove conditional code.
25895 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
25896 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
25898 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
25899 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
25900 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25901 (_G_VTABLE_LABEL_PREFIX): Likewise.
25902 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25903 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25904 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25905 (_G_VTABLE_LABEL_PREFIX): Likewise.
25906 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
25907 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25908 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25909 (_G_VTABLE_LABEL_PREFIX): Likewise.
25910 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
25912 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
25914 * libio/Makefile: Include ../Makeconfig before tests.
25915 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
25916 only if $(build-shared) is yes.
25918 * iconv/gconv_db.c: Update copyright years.
25920 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25922 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
25923 unwind info if defined PIC. Fix special cases description.
25924 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
25926 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
25928 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
25930 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
25932 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
25934 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
25937 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
25938 (LDLIBS-tst-chk4): This.
25939 (LDFLAGS-tst-chk5): Renamed to ...
25940 (LDLIBS-tst-chk5): This.
25941 (LDFLAGS-tst-chk6): Renamed to ...
25942 (LDLIBS-tst-chk6): This.
25943 (LDFLAGS-tst-lfschk4): Renamed to ...
25944 (LDLIBS-tst-lfschk4): This.
25945 (LDFLAGS-tst-lfschk5): Renamed to ...
25946 (LDLIBS-tst-lfschk5): This.
25947 (LDFLAGS-tst-lfschk6): Renamed to ...
25948 (LDLIBS-tst-lfschk6): This.
25950 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
25951 on $(common-objpfx)soversions.mk.
25953 2012-09-07 Joseph Myers <joseph@codesourcery.com>
25956 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
25959 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
25961 * malloc/arena.c (arena_get_retry): New function that gets
25962 another arena for the caller to try its request on.
25963 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
25964 current arena cannot fulfill the request.
25965 (__libc_memalign): Likewise.
25966 (__libc_memalign): Likewise.
25967 (__libc_pvalloc): Likewise.
25968 (__libc_calloc): Likewise.
25970 2012-09-05 John Tobey <john.tobey@gmail.com>
25973 * manual/arith.texi (Operations on Complex): Fix description
25974 of carg branch cut.
25976 2012-09-06 Joseph Myers <joseph@codesourcery.com>
25979 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
25983 * manual/memory.texi (Memory): Make order of menu items match
25986 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
25988 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
25989 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
25990 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
25992 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
25994 * csu/libc-tls.c (static_dtv): Renamed to ...
25995 (_dl_static_dtv): This. Make it global.
25996 (_dl_initial_dtv): Removed.
25997 (__libc_setup_tls): Updated.
25998 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
25999 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
26002 2012-09-06 Petr Machata <pmachata@redhat.com>
26004 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
26005 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
26006 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
26007 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
26009 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
26012 * csu/libc-tls.c (_dl_initial_dtv): New variable.
26013 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
26016 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
26019 * Makeconfig (link-static-before-libc): Replace $(+prector)
26021 (link-static-after-libc): Replace $(+postctor) with
26023 (link-bounded): Replace $(+prector)/$(+postctor) with
26024 $(+prectorT)/$(+postctorT).
26025 (+prectorT): New macro.
26026 (+postctorT): Likewise.
26028 2012-09-06 Joseph Myers <joseph@codesourcery.com>
26030 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
26031 (round_str): Handle values above the maximum for IBM long double
26033 * stdlib/tst-strtod-round.c (tests): Regenerated.
26035 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26037 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
26039 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
26040 zarch_nohighgprs around the zarch optimized routines.
26041 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
26042 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
26043 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
26046 2012-09-05 David S. Miller <davem@davemloft.net>
26048 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26050 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
26051 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
26052 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
26053 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
26056 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
26058 * malloc/arena.c: Fold copyright years.
26059 * malloc/mcheck.c, malloc/memusage.c: Likewise.
26061 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
26063 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
26065 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
26067 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
26069 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
26071 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
26072 change internal state upon failure.
26074 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
26076 * malloc/mcheck.c (mcheck_check_all): Fix typo.
26077 * malloc/memusage.c (mmap): Likewise.
26078 (mmap64, mremap): Likewise. Adjust name in comment.
26080 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
26082 * libio/fileops.c: Fix typos in comments.
26083 * libio/oldfileops.c: Likewise.
26084 * libio/wfileops.c: Likewise.
26086 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
26089 * malloc/Makefile (tests): Add tst-malloc-usable test case.
26090 (tst-malloc-usable-ENV): Set environment for test case.
26091 * malloc/hooks.c (malloc_check_get_size): New function to get
26093 * malloc/malloc.c (musable): Use malloc_check_get_size.
26094 * malloc/tst-malloc-usable.c: New test case.
26096 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
26098 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
26100 2012-09-05 Allan McRae <allan@archlinux.org>
26103 * configure.in (CXX_SYSINCLUDES): Use compiler output to
26104 determine header location.
26105 * configure: Regenerated.
26107 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
26109 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
26111 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
26112 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
26114 (test): Regenerate.
26116 2012-09-04 David S. Miller <davem@davemloft.net>
26118 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
26119 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
26120 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
26122 2012-09-04 Florian Weimer <fweimer@redhat.com>
26124 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
26127 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
26129 2012-09-04 Joseph Myers <joseph@codesourcery.com>
26132 * libio/iogetdelim.c: Include <limits.h>.
26133 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
26134 + len + 1 would overflow.
26136 2012-09-03 Andreas Jaeger <aj@suse.de>
26138 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26139 * sysdeps/i386/fpu/libm-test-ulps: Update.
26141 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26143 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
26144 Add s_sinf-sse2, s_conf-sse2.
26146 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
26147 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
26148 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
26149 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
26151 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
26152 for using routine as __sinf_ia32.
26153 Use macro for function declaration and weak_alias.
26154 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
26155 for using routine as __cosf_ia32.
26156 Use macro for function declaration and weak_alias.
26158 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
26159 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
26161 * sysdeps/x86_64/fpu/s_sinf.S: New file.
26162 * sysdeps/x86_64/fpu/s_cosf.S: New file.
26163 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26165 * math/libm-test.inc (cos_test): Add more test cases.
26166 (sin_test): Likewise.
26167 (sincos_test): Likewise.
26169 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26171 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
26172 (IFUNC_RESOLVE): Make pointers to the specialized implementations
26174 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
26176 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
26179 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
26180 first element of the GOT.
26181 (elf_machine_load_address): Return the difference between
26182 the runtime address of _DYNAMIC and elf_machine_dynamic ().
26184 2012-09-01 Allan McRae <allan@archlinux.org>
26187 * configure.in (AWK): Require gawk version 3.0 or later.
26188 * configure: Regenerated.
26190 2012-09-01 Joseph Myers <joseph@codesourcery.com>
26192 * sysdeps/unix/sysv/linux/kernel-features.h
26193 (__ASSUME_POSIX_CPU_TIMERS): Remove.
26194 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
26195 [__NR_clock_getres]: Make code unconditional.
26196 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
26197 (clock_getcpuclockid): Remove code left unreachable by removal of
26199 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
26200 code unconditional.
26201 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
26202 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
26203 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
26204 Make code unconditional.
26205 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
26206 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
26207 * sysdeps/unix/sysv/linux/clock_settime.c
26208 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
26210 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
26211 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
26213 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
26216 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
26217 scripts/test-installation.pl.
26219 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
26220 and $ld_so_version if it is set.
26222 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26225 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
26226 failure if reading from procfs failed.
26227 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
26229 2012-08-27 Joseph Myers <joseph@codesourcery.com>
26231 * sysdeps/unix/sysv/linux/kernel-features.h
26232 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
26233 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
26234 Remove conditional code.
26235 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26236 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
26237 Remove conditional code.
26238 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26239 * sysdeps/unix/sysv/linux/i386/fxstat.c
26240 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
26241 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26242 * sysdeps/unix/sysv/linux/i386/fxstatat.c
26243 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
26244 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26245 * sysdeps/unix/sysv/linux/i386/lxstat.c
26246 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
26247 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26248 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
26249 Remove conditional code.
26250 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26251 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
26252 Remove conditional code.
26253 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26254 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
26255 <kernel-features.h>.
26256 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
26258 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
26259 Remove conditional code.
26260 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26261 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
26262 Remove conditional.
26264 2012-08-27 Mike Frysinger <vapier@gentoo.org>
26267 * NEWS: Add fixed bug number.
26269 2012-08-27 Joseph Myers <joseph@codesourcery.com>
26272 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
26273 underflowing exponent in case of negative sign.
26274 * stdlib/tst-strtod-round-data: Add more tests.
26275 * stdlib/tst-strtod-round.c (tests): Regenerated.
26278 * stdlib/strtod_l.c (NDIG): Remove.
26279 (HEXNDIG): Likewise.
26280 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
26281 smallest representable value.
26282 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
26283 lie within an exact representation of 1/2 ulp of the result.
26284 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
26286 (TENS_P9_IDX): Define unconditionally.
26287 (TENS_P9_SIZE): Likewise.
26288 (TENS_P10_IDX): Likewise.
26289 (TENS_P10_SIZE): Likewise.
26290 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
26291 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
26292 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
26293 entries for 10^2^13 and 10^2^14.
26294 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
26295 (TENS_P13_IDX): Define.
26296 (TENS_P13_SIZE): Likewise.
26297 (TENS_P14_IDX): Likewise.
26298 (TENS_P14_SIZE): Likewise.
26299 (_fpioconst_pow10): Change array size to
26300 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
26302 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
26303 1024]: Add entries for 10^2^13 and 10^2^14.
26304 [LAST_POW10 > _LAST_POW10]: Remove #error.
26305 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
26306 (_fpioconst_pow10): Change array size to
26307 FPIOCONST_POW10_ARRAY_SIZE.
26308 * stdlib/gen-fpioconst.c: New file.
26309 * stdlib/gen-tst-strtod-round.c: Likewise.
26310 * stdlib/tst-strtod-round-data: Likewise.
26311 * stdlib/tst-strtod-round.c: Likewise.
26312 * stdlib/Makefile (tests): Add tst-strtod-round.
26315 * stdlib/strtod_l.c: Include <stdint.h>.
26316 (NDEBUG): Do not define.
26317 (round_and_return): Change EXPONENT parameter to type intmax_t.
26318 Rearrange calculations to avoid internal overflow possibilities.
26319 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
26320 Rearrange calculations to avoid internal overflow possibilities.
26321 Assert that number fits inside MPNSIZE limbs.
26322 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
26323 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
26324 calculations and add assertions to avoid internal overflow
26325 possibilities. Add casts to avoid signed/unsigned operations.
26326 * stdlib/tst-strtod-overflow.c: New file.
26327 * stdlib/Makefile (tests): Add tst-strtod-overflow.
26329 2012-08-25 Marek Polacek <polacek@redhat.com>
26331 * time/time.h: Fix some typos in comments.
26333 2012-08-23 Roland McGrath <roland@hack.frob.com>
26335 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
26336 * posix/tst-rfc3484-2.c: Likewise.
26337 * posix/tst-rfc3484-3.c: Likewise.
26339 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
26341 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
26342 (EF_ARM_ABI_FLOAT_HARD): Likewise.
26344 2012-08-23 Joseph Myers <joseph@codesourcery.com>
26346 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
26347 #include of fxstatat64.c.
26349 2012-08-22 Roland McGrath <roland@hack.frob.com>
26351 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
26352 * shadow/getspent_r.c: Likewise.
26353 * shadow/getspnam.c: Likewise.
26354 * shadow/getspnam_r.c: Likewise.
26355 * gshadow/getsgent.c: Likewise.
26356 * gshadow/getsgent_r.c: Likewise.
26357 * gshadow/getsgnam.c: Likewise.
26358 * gshadow/getsgnam_r.c: Likewise.
26359 * inet/getnetbyad.c: Likewise.
26360 * inet/getnetbyad_r.c: Likewise.
26361 * inet/getnetbynm.c: Likewise.
26362 * inet/getnetbynm_r.c: Likewise.
26363 * inet/getnetent.c: Likewise.
26364 * inet/getnetent_r.c: Likewise.
26365 * inet/getproto.c: Likewise.
26366 * inet/getproto_r.c: Likewise.
26367 * inet/getprtent.c: Likewise.
26368 * inet/getprtent_r.c: Likewise.
26369 * inet/getprtname.c: Likewise.
26370 * inet/getprtname_r.c: Likewise.
26371 * inet/getrpcbyname.c: Likewise.
26372 * inet/getrpcbyname_r.c: Likewise.
26373 * inet/getrpcbynumber.c: Likewise.
26374 * inet/getrpcbynumber_r.c: Likewise.
26375 * inet/getrpcent.c: Likewise.
26376 * inet/getrpcent_r.c: Likewise.
26377 * inet/getaliasent.c: Likewise.
26378 * inet/getaliasent_r.c: Likewise.
26379 * inet/getaliasname.c: Likewise.
26380 * inet/getaliasname_r.c: Likewise.
26381 * nscd/getgrgid_r.c: Likewise.
26382 * nscd/getgrnam_r.c: Likewise.
26383 * nscd/gethstbyad_r.c: Likewise.
26384 * nscd/gethstbynm3_r.c: Likewise.
26385 * nscd/getpwnam_r.c: Likewise.
26386 * nscd/getpwuid_r.c: Likewise.
26387 * nscd/getsrvbynm_r.c: Likewise.
26388 * nscd/getsrvbypt_r.c: Likewise.
26389 * nscd/gai.c: Likewise.
26391 * configure.in (build_nscd): New substituted variable, set
26392 by --disable-build-nscd and defaults to $use_nscd.
26393 * configure: Regenerated.
26394 * config.make.in (build-nscd): New substituted variable.
26395 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
26396 Change conditional to require [$(build-nscd) = yes] as well.
26397 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
26400 * configure.in (use_nscd): New substituted variable, set by
26401 --disable-nscd. If enabled, define USE_NSCD.
26402 * configure: Regenerated.
26403 * config.h.in: Add USE_NSCD.
26404 * config.make.in (use-nscd): New substituted variable.
26405 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
26406 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
26407 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
26408 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
26409 (CFLAGS-getgrnam_r.c): Likewise.
26410 (CFLAGS-initgroups.c): Likewise.
26411 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
26412 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
26414 * inet/getnetgrent_r.c
26415 (nscd_setnetgrent): New function, broken out of ...
26416 (setnetgrent): ... here. Call it.
26417 (innetgr): Conditionalize nscd bits on [USE_NSCD].
26418 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
26419 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
26420 * nscd/Makefile (routines, aux): Move definitions after include of
26421 Makeconfig. Conditionalize on [$(use-nscd) != no].
26422 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
26423 Conditionalize on [USE_NSCD].
26424 (is_nscd, nscd_init_cb): Likewise.
26425 (nss_load_library): Conditionalize init callback on [USE_NSCD].
26426 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
26427 * nss/nss_db/db-init.c: Likewise.
26428 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
26430 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
26431 (make_request): Use it.
26432 (cache_valid_p): New function.
26433 (__check_pf): Use it.
26434 * NEWS: Add item for --disable-nscd.
26436 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
26438 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
26439 to support sed >= 4.2.1-20-ga9bf076.
26440 * configure: Regenerated.
26442 2012-08-22 Roland McGrath <roland@hack.frob.com>
26444 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
26445 Conditionalize whole body on [IREL].
26447 2012-08-22 Jeff Law <law@redhat.com>
26450 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
26451 if the family is PF_UNSPEC.
26453 2012-08-22 Mike Frysinger <vapier@gentoo.org>
26455 * Makerules (lib-version): Rename from V.
26456 (install-lib-nosubdir): Change V to lib-version.
26458 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
26461 * powerpc32/power6/wcschr.c: New file.
26462 * powerpc32/power6/wcscpy.c: New file.
26463 * powerpc32/power6/wcsrchr.c: New file.
26464 * powerpc64/power6/wcschr.c: New file.
26465 * powerpc64/power6/wcscpy.c: New file.
26466 * powerpc64/power6/wcsrchr.c: New file.
26468 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
26470 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
26471 (two_way_short_needle): Use it.
26472 * string/strstr.c (AVAILABLE1_USES_J): Define.
26473 * string/strcasestr.c: Likewise.
26475 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
26477 * string/strcasestr.c (TOLOWER): Make side-effect safe.
26480 * NEWS: Add an entry.
26481 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
26482 define their defaults.
26483 (two_way_short_needle): Detect end-of-string on-the-fly.
26484 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
26485 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
26486 * string/bug-strcasestr1.c: New test.
26487 * string/Makefile: Run it.
26489 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
26492 * string/str-two-way.h (two_way_short_needle): Optimize matching of
26493 the first character.
26495 2012-08-21 Roland McGrath <roland@hack.frob.com>
26497 * csu/elf-init.c (__libc_csu_irel): Function removed.
26498 * csu/libc-start.c (apply_irel): New function.
26499 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
26501 2012-08-21 Joseph Myers <joseph@codesourcery.com>
26503 * sysdeps/unix/sysv/linux/kernel-features.h
26504 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
26505 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
26506 <kernel-features.h>.
26507 [__NR_fadvise64_64]: Make code unconditional.
26508 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
26509 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
26510 !__NR_fadvise64_64)]: Likewise.
26511 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
26512 !__NR_fadvise64_64))]: Likewise.
26513 [__NR_fadvise64]: Make code unconditional.
26514 [!__NR_fadvise64]: Remove conditional code.
26515 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
26516 <kernel-features.h>.
26517 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26519 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
26522 not include <kernel-features.h>.
26523 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26525 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26527 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
26528 include <kernel-features.h>.
26529 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26531 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26534 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
26536 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
26537 slight instruction rearrangements per scrollpipe analysis.
26538 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
26540 2012-08-20 Roland McGrath <roland@hack.frob.com>
26542 * manual/syslog.texi (syslog; vsyslog, closelog):
26543 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
26544 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
26546 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
26547 DSOCAPS to match condition on defining it.
26549 2012-08-20 Joseph Myers <joseph@codesourcery.com>
26551 * sysdeps/unix/sysv/linux/kernel-features.h
26552 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
26553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
26554 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26555 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
26557 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26558 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
26560 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26561 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26563 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
26564 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
26566 * sysdeps/unix/sysv/linux/kernel-features.h
26567 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
26568 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
26570 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26571 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
26572 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
26573 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26574 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
26575 Make code unconditional.
26576 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26577 (__mmap64) [!__NR_mmap2]: Likewise.
26578 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
26579 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
26580 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26581 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
26582 [__NR_mmap2]: Make code unconditional.
26583 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26584 (__mmap64) [!__NR_mmap2]: Likewise.
26586 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26588 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
26590 2012-08-18 Andreas Jaeger <aj@suse.de>
26592 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
26594 2012-08-18 Mike Frysinger <vapier@gentoo.org>
26596 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
26597 * include/unistd.h (__have_sock_cloexec): Likewise.
26598 (__have_pipe2): Likewise.
26599 (__have_dup3): Likewise.
26601 2012-08-18 Mike Frysinger <vapier@gentoo.org>
26604 * include/unistd.h (__have_pipe2): Change define into an extern int.
26605 (__have_dup3): Likewise.
26606 * socket/have_sock_cloexec.c: Include fcntl.h.
26607 (__have_pipe2): New variable.
26608 (__have_dup3): Likewise.
26610 2012-08-17 Mike Frysinger <vapier@gentoo.org>
26612 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
26614 2012-08-17 Marek Polacek <polacek@redhat.com>
26616 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
26617 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
26619 2012-08-17 Roland McGrath <roland@hack.frob.com>
26621 * configure.in: Add AC_SUBST for sysheaders.
26622 * configure: Regenerated.
26623 * config.make.in (sysheaders): New substituted variable.
26625 * sysdeps/unix/mkfifo.c: Moved ...
26626 * sysdeps/posix/mkfifo.c: ... here.
26627 * sysdeps/unix/mkfifoat.c: Moved ...
26628 * sysdeps/posix/mkfifoat.c: ... here.
26630 * sysdeps/unix/utime.c: Moved ...
26631 * sysdeps/posix/utime.c: ... here.
26633 * sysdeps/unix/time.c: Moved ...
26634 * sysdeps/posix/time.c: ... here.
26635 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
26636 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
26638 * sysdeps/unix/nice.c: Moved ...
26639 * sysdeps/posix/nice.c: ... here.
26641 * sysdeps/unix/alarm.c: Moved ...
26642 * sysdeps/posix/alarm.c: ... here.
26644 * intl/Makefile ($(codeset_mo)): Depend on the input file.
26646 2012-08-17 Jeff Law <law@redhat.com>
26648 * intl/Makefile (codeset_mo): New variable.
26649 ($(codeset_mo)): New target.
26650 (tst-codeset.out): Depend on that. Remove explicit rule.
26651 (tst-gettext3.out, tst-gettext5.out): Likewise.
26652 (LOCPATH-ENV, tst-codeset-ENV): New variables.
26653 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
26654 * intl/tst-codeset.sh: Remove.
26655 * intl/tst-gettext3.sh: Likewise.
26656 * intl/tst-gettext5.sh: Likewise.
26658 2012-08-17 Roland McGrath <roland@hack.frob.com>
26660 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
26661 * sysdeps/unix/syscalls.list: ... here.
26663 * sysdeps/posix/getaddrinfo.c
26664 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
26665 (gaiconf_init, gaiconf_reload): Use them.
26666 [!_STATBUF_ST_NSEC]
26667 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
26668 Define using time_t rather than struct timespec.
26670 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
26671 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
26673 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
26675 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
26676 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
26679 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
26680 __libc_cleanup_push argument.
26682 * bits/param.h: New file.
26683 * misc/sys/param.h: New file.
26684 * include/sys/param.h: New file.
26685 * misc/Makefile (headers): Add bits/param.h.
26686 * sysdeps/generic/sys/param.h: File removed.
26687 * sysdeps/unix/sysv/linux/bits/param.h: New file.
26688 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
26689 * sysdeps/mach/hurd/bits/param.h: New file.
26690 * sysdeps/mach/hurd/sys/param.h: File removed.
26692 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
26695 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
26697 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
26698 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
26701 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
26702 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
26703 rather than -D_IO_MTSAFE_IO conditionally.
26704 * stdio-common/Makefile (CPPFLAGS): Likewise.
26705 * wcsmbs/Makefile (CPPFLAGS): Likewise.
26706 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
26707 Use $(libio-mtsafe).
26708 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
26709 of -D_IO_MTSAFE_IO.
26710 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
26711 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
26712 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
26713 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
26714 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
26715 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
26716 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
26717 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
26718 (CFLAGS-fread_u_chk.c): Likewise.
26719 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
26720 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
26721 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
26722 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
26723 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
26724 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
26725 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
26726 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
26727 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
26729 * libio/Makefile: Test [$(libc-reentrant) = yes]
26730 instead of [$(filter %REENTRANT, $(defines)) nonempty].
26733 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
26734 * sysdeps/pthread/configure: File removed.
26735 * sysdeps/pthread/Makeconfig: New file.
26736 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
26737 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
26739 2012-08-16 Gary Benson <gbenson@redhat.com>
26741 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
26742 unmapping the first object in a namespace.
26744 2012-08-16 Roland McGrath <roland@hack.frob.com>
26746 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
26747 (__internal_setnetgrent): ... this. Add internal_function to
26748 definition. Add libc_hidden_def.
26749 (setnetgrent): Update caller.
26750 (internal_endnetgrent): Renamed to ...
26751 (__internal_endnetgrent): ... this. Add internal_function to
26752 definition. Add libc_hidden_def.
26753 (endnetgrent): Update caller.
26754 (internal_getnetgrent_r): Renamed to ...
26755 (__internal_getnetgrent_r): ... this. Add internal_function to
26756 definition. Add libc_hidden_def.
26757 (__getnetgrent_r): Update caller.
26758 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
26760 2012-08-16 Joseph Myers <joseph@codesourcery.com>
26762 * stdlib/longlong.h: Update from GCC.
26764 2012-08-16 Roland McGrath <roland@hack.frob.com>
26766 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
26767 on _QL, which is set by umul_ppmm but never used.
26768 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
26769 variables, which are set by GMP macros but never used.
26770 * stdio-common/_itowa.c (_itowa): Likewise.
26771 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
26772 * stdlib/mod_1.c (mpn_mod_1): Likewise.
26774 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
26776 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
26777 struct La_sh_regs is not constant.
26778 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
26779 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
26780 and struct La_sparc64_regs are not constant.
26782 2012-08-16 Joseph Myers <joseph@codesourcery.com>
26784 * sysdeps/unix/sysv/linux/kernel-features.h
26785 (__ASSUME_POSIX_TIMERS): Remove.
26786 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
26787 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26788 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
26789 Make code unconditional.
26790 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26791 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
26792 Make code unconditional.
26793 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26794 * sysdeps/unix/sysv/linux/clock_nanosleep.c
26795 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
26796 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26797 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
26798 Make code unconditional.
26799 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26800 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
26801 (__libc_missing_posix_timers): Remove.
26803 2012-08-15 Roland McGrath <roland@hack.frob.com>
26805 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
26806 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
26808 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
26810 * elf/dl-sym.c: Include <stdlib.h>.
26812 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
26813 constants, which avoids warnings in 32-bit builds.
26815 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
26816 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
26818 * misc/lseek.c: File moved to ...
26819 * io/lseek.c: ... here.
26821 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
26823 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
26824 shifting LEN more than 31 bits at once.
26826 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26829 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
26830 segmentation fault for a case of two empty input strings.
26831 * string/test-strncasecmp.c (check1): Renamed to...
26832 (bz12205): ...this.
26833 (bz14195): Add new testcase for two empty input strings and N > 0.
26834 (test_main): Call new testcase, adapt for renamed function.
26836 2012-08-15 Andreas Jaeger <aj@suse.de>
26839 * crypt/md5test2.c: New test, based on test supplied by Serge
26840 Belyshev <belyshev@depni.sinp.msu.ru>.
26841 * crypt/Makefile (xtests): Add md5test-giant..
26842 * crypt/Makefile ($(objpfx)md5test-giant): Add.
26844 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
26847 * crypt/md5.c (md5_process_block): Don't assume the buffer
26848 length is less than 2**32.
26849 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
26850 length is less than 2**64.
26852 2012-08-15 Roland McGrath <roland@hack.frob.com>
26854 * string/str-two-way.h: Include <sys/param.h>.
26855 (MAX): Macro removed.
26857 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
26858 Move #define and #undef of memmove to just before and after
26859 including <string.h>.
26861 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
26862 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
26863 and after including <string.h>. Move declarations of
26864 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
26865 to before #include "string/memmove.c".
26867 * include/dirent.h: Declare __getdirentries.
26869 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
26870 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
26872 2012-08-14 Mike Frysinger <vapier@gentoo.org>
26874 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
26875 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
26876 * sysdeps/i386/configure: Regenerated.
26877 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
26878 STABS_CURRENT_FILE, and STABS_FUN.
26879 (END): Remove call to STABS_FUN_END.
26880 (STABS_CURRENT_FILE1): Delete.
26881 (STABS_CURRENT_FILE): Likewise.
26882 (STABS_FUN): Likewise.
26883 (STABS_FUN_END): Likewise.
26884 (STABS_FUN2): Likewise.
26885 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
26886 * sysdeps/x86_64/configure: Regenerated.
26888 2012-08-14 Roland McGrath <roland@hack.frob.com>
26890 * elf/dl-open.c: Include <atomic.h>.
26891 * elf/dl-lookup.c: Likewise.
26893 2012-08-14 Joseph Myers <joseph@codesourcery.com>
26895 * sysdeps/unix/sysv/linux/kernel-features.h
26896 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
26897 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
26899 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
26901 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
26902 condition on __ASSUME_CLONE_THREAD_FLAGS.
26904 2012-08-14 Andreas Jaeger <aj@suse.de>
26906 * sysdeps/i386/fpu/libm-test-ulps: Update.
26908 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
26910 * include/atomic.h (atomic_exchange_and_add): Split into ...
26911 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
26914 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
26916 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26918 2012-08-13 Jeff Law <law@redhat.com>
26920 * manual/stdio.texi (snprintf): Clarify handling of the trailing
26921 null byte in the output string.
26923 2012-08-10 Joseph Myers <joseph@codesourcery.com>
26925 * sysdeps/unix/sysv/linux/kernel-features.h
26926 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
26927 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
26928 (__ASSUME_ARG_MAX_STACK_BASED): Define.
26929 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
26930 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
26931 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
26932 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
26934 2012-08-09 Jeff Law <law@redhat.com>
26937 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
26938 When avoid_arena is set, don't retry in the that arena. Pick the
26939 next one, whatever it might be.
26940 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
26941 (arena_lock): Pass in new parameter to arena_get2.
26942 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
26944 (__libc_malloc): Unify retrying after main arena failure with
26945 __libc_memalign version.
26946 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
26948 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
26951 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
26952 to __redirect_strstr.
26953 (__strstr_sse42): Use typeof __redirect_strstr.
26954 (__strstr_ia32): Likewise.
26955 (__libc_strstr): New prototype.
26956 (strstr): Renamed to ...
26957 (__libc_strstr): This.
26958 (strstr): New strong alias of __libc_strstr.
26959 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
26960 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
26963 (__libc_time): New prototype.
26964 (time_ifunc): Replace time with __libc_time.
26965 (time): New strong alias and hidden definition of __libc_time.
26966 (__GI_time): Remove strong alias.
26967 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
26968 Include <stddef.h>.
26969 (memmove): Redefined to __redirect_memmove.
26970 (__memmove_sse2): Use typeof __redirect_memmove.
26971 (__memmove_ssse3): Likewise.
26972 (__memmove_ssse3_back): Likewise.
26973 (__libc_memmove): New prototype.
26974 (memmove): Renamed to ...
26975 (__libc_memmove): This.
26976 (memmove): New strong alias of __libc_memmove.
26978 2012-08-08 Mark Salter <msalter@redhat.com>
26981 (R_MN10300_TLS_GD): Define.
26982 (R_MN10300_TLS_LD): Likewise.
26983 (R_MN10300_TLS_LDO): Likewise.
26984 (R_MN10300_TLS_GOTIE): Likewise.
26985 (R_MN10300_TLS_IE): Likewise.
26986 (R_MN10300_TLS_LE): Likewise.
26987 (R_MN10300_TLS_DTPMOD): Likewise.
26988 (R_MN10300_TLS_DTPOFF): Likewise.
26989 (R_MN10300_TLS_TPOFF): Likewise.
26990 (R_MN10300_SYM_DIFF): Likewise.
26991 (R_MN10300_ALIGN): Likewise.
26992 (R_MN10300_NUM): Update.
26994 2012-08-08 Joseph Myers <joseph@codesourcery.com>
26996 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
26999 2012-08-08 Roland McGrath <roland@hack.frob.com>
27001 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
27003 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
27004 sysdeps/unix -> sysdeps/posix move.
27005 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
27007 2012-08-07 Allan McRae <allan@archlinux.org>
27010 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
27011 (SUNOS_CPP): Likewise.
27012 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
27014 (open_input): Call CPP using execvp.
27016 2012-08-07 Joseph Myers <joseph@codesourcery.com>
27018 * sysdeps/unix/sysv/linux/kernel-features.h
27019 (__ASSUME_PROT_GROWSUPDOWN): Remove.
27020 (__ASSUME_NO_CLONE_DETACHED): Likewise.
27021 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
27022 (__ASSUME_WAITID_SYSCALL): Likewise.
27023 * sysdeps/unix/sysv/linux/dl-execstack.c
27024 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
27025 code unconditional.
27026 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
27028 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
27029 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
27030 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
27032 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
27034 [__ASSUME_WAITID_SYSCALL]: Likewise.
27035 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
27037 2012-08-07 Roland McGrath <roland@hack.frob.com>
27039 * sysdeps/unix/closedir.c: Renamed to ...
27040 * sysdeps/posix/closedir.c: ... here.
27041 * sysdeps/unix/dirfd.c: Renamed to ...
27042 * sysdeps/posix/dirfd.c: ... here.
27043 * sysdeps/unix/dirstream.h: Renamed to ...
27044 * sysdeps/posix/dirstream.h: ... here.
27045 * sysdeps/unix/fdopendir.c: Renamed to ...
27046 * sysdeps/posix/fdopendir.c: ... here.
27047 * sysdeps/unix/opendir.c: Renamed to ...
27048 * sysdeps/posix/opendir.c: ... here.
27049 * sysdeps/unix/readdir.c: Renamed to ...
27050 * sysdeps/posix/readdir.c: ... here.
27051 * sysdeps/unix/readdir_r.c: Renamed to ...
27052 * sysdeps/posix/readdir_r.c: ... here.
27053 * sysdeps/unix/rewinddir.c: Renamed to ...
27054 * sysdeps/posix/rewinddir.c: ... here.
27055 * sysdeps/unix/seekdir.c: Renamed to ...
27056 * sysdeps/posix/seekdir.c: ... here.
27057 * sysdeps/unix/telldir.c: Renamed to ...
27058 * sysdeps/posix/telldir.c: ... here.
27059 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
27060 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
27061 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
27062 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
27064 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
27065 * bits/fcntl.h: ... here.
27067 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
27069 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
27070 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
27071 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
27072 (struct flock): Move l_start, l_len to the beginning.
27073 Use __pid_t for l_pid.
27074 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
27075 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
27076 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
27077 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
27078 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
27079 [__USE_LARGEFILE64] (struct flock64): New type.
27080 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
27082 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
27083 * bits/dirent.h: ... here.
27085 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
27086 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
27088 2012-08-07 Joseph Myers <joseph@codesourcery.com>
27090 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27091 Change from 2.6.0 to 2.6.16.
27092 * sysdeps/unix/sysv/linux/configure: Regenerated.
27093 * sysdeps/unix/sysv/linux/kernel-features.h
27094 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
27095 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
27097 (__ASSUME_UTIMES): Likewise.
27098 (__ASSUME_CLONE_STOPPED): Remove.
27099 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
27100 architectures, not kernel version.
27101 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
27102 (__ASSUME_NO_CLONE_DETACHED): Likewise.
27103 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
27104 (__ASSUME_WAITID_SYSCALL): Likewise.
27105 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
27106 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
27107 * README: State 2.6.16 as minimum Linux kernel version. Do not
27108 refer to older versions.
27110 2012-08-06 Roland McGrath <roland@hack.frob.com>
27112 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
27113 Define alphasort64 as an alias.
27114 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
27115 Define versionsort64 as an alias.
27116 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
27117 Define scandir64 as an alias.
27118 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
27119 Define scandirat64 as an alias.
27120 * dirent/alphasort64.c (alphasort64):
27121 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
27122 * dirent/versionsort64.c: Likewise.
27123 * dirent/scandir64.c: Likewise.
27124 * dirent/scandirat64.c: Likewise.
27125 * sysdeps/wordsize-64/alphasort.c: File removed.
27126 * sysdeps/wordsize-64/alphasort64.c: File removed.
27127 * sysdeps/wordsize-64/scandir.c: File removed.
27128 * sysdeps/wordsize-64/scandir64.c: File removed.
27129 * sysdeps/wordsize-64/scandirat.c: File removed.
27130 * sysdeps/wordsize-64/scandirat64.c: File removed.
27131 * sysdeps/wordsize-64/versionsort.c: File removed.
27132 * sysdeps/wordsize-64/versionsort64.c: File removed.
27133 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
27134 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
27135 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
27136 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
27137 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
27138 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
27139 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
27140 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
27142 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
27143 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
27144 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
27145 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27146 [defined __arch64__ || defined __sparcv9]
27147 (__INO_T_MATCHES_INO64_T): New macro.
27148 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
27149 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
27150 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
27151 * sysdeps/unix/sysv/linux/bits/dirent.h
27152 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
27153 (_DIRENT_MATCHES_DIRENT64): New macro.
27155 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
27156 Define lockf64 as an alias.
27157 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
27158 Define fseeko64 as an alias.
27159 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
27160 Define ftello64 as an alias.
27161 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
27162 Define _IO_fgetpos64 and fgetpos64 as aliases.
27163 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
27164 Define _IO_fsetpos64 and fsetpos64 as aliases.
27165 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
27166 Conditionalize body on this.
27167 * libio/fseeko64.c: Likewise.
27168 * libio/ftello64.c: Likewise.
27169 * libio/iofgetpos64.c: Likewise.
27170 * libio/iofsetpos64.c: Likewise.
27171 * sysdeps/wordsize-64/lockf.c: File removed.
27172 * sysdeps/wordsize-64/lockf64.c: File removed.
27173 * sysdeps/wordsize-64/fseeko.c: File removed.
27174 * sysdeps/wordsize-64/fseeko64.c: File removed.
27175 * sysdeps/wordsize-64/ftello.c: File removed.
27176 * sysdeps/wordsize-64/ftello64.c: File removed.
27177 * sysdeps/wordsize-64/iofgetpos.c: File removed.
27178 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
27179 * sysdeps/wordsize-64/iofsetpos.c: File removed.
27180 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
27181 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
27182 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
27183 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
27184 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
27185 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
27186 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
27187 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
27188 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
27189 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
27190 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
27192 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
27193 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
27194 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
27195 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27196 [defined __arch64__ || defined __sparcv9]
27197 (__OFF_T_MATCHES_OFF64_T): New macro.
27198 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
27199 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
27200 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27201 (__OFF_T_MATCHES_OFF64_T): New macro.
27203 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
27205 * stdlib/secure-getenv.c (__secure_getenv): Replace
27206 GLIBC_2_16 with GLIBC_2_17.
27208 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
27210 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
27211 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
27213 2012-08-03 David S. Miller <davem@davemloft.net>
27215 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27217 2012-08-03 Joseph Myers <joseph@codesourcery.com>
27219 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
27221 (__ASSUME_CORRECT_SI_PID): Likewise.
27222 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
27223 (__ASSUME_TMPFS_NAME): Likewise.
27224 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
27225 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
27226 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
27227 (HAVE_AUX_SECURE): Make definition unconditional.
27228 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
27229 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
27231 2012-08-03 Roland McGrath <roland@hack.frob.com>
27233 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
27234 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
27235 * sysdeps/mach/hurd/eloop-threshold.h: New file.
27236 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
27237 __eloop_threshold instead of SYMLOOP_MAX.
27239 * sysdeps/generic/eloop-threshold.h: New file.
27240 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
27242 * elf/chroot_canon.c (chroot_canon): Likewise.
27244 2012-08-03 Joseph Myers <joseph@codesourcery.com>
27247 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27248 Change to 2.6.0 everywhere.
27249 * sysdeps/unix/sysv/linux/configure: Regenerated.
27250 * sysdeps/unix/sysv/linux/kernel-features.h
27251 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
27252 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
27254 (__ASSUME_POSIX_TIMERS): Define unconditionally.
27255 (__ASSUME_FUTEX_REQUEUE): Remove.
27256 (__ASSUME_STATFS64): Define unconditionally.
27257 (__ASSUME_AT_SECURE): Likewise.
27258 (__ASSUME_CORRECT_SI_PID): Likewise.
27259 (__ASSUME_TGKILL): Define without depending on kernel version for
27261 (__ASSUME_UTIMES): Likewise.
27262 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
27264 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
27265 (__ASSUME_TMPFS_NAME): Likewise.
27266 * README: Update reference to Linux kernel versions.
27268 2012-08-02 Marek Polacek <polacek@redhat.com>
27271 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
27272 libc_cv_asm_type_prefix with %.
27273 * configure: Regenerated.
27274 * include/libc-symbols.h: Remove comment about
27275 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
27276 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
27277 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
27278 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
27279 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
27280 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
27281 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
27282 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
27283 * elf/tst-unique2mod1.c: Likewise.
27284 * elf/tst-unique1mod2.c: Likewise.
27285 * elf/tst-unique1mod1.c: Likewise.
27286 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
27287 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
27288 Replace ASM_TYPE_DIRECTIVE with .type.
27289 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27290 * sysdeps/i386/sysdep.h: Likewise.
27291 * sysdeps/x86_64/sysdep.h: Likewise.
27292 * sysdeps/sh/sysdep.h: Likewise.
27293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
27294 Do not define ASM_TYPE_DIRECTIVE.
27295 * sysdeps/powerpc/sysdep.h: Likewise.
27296 * sysdeps/powerpc/powerpc32/sysdep.h:
27297 Replace ASM_TYPE_DIRECTIVE with .type.
27298 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
27299 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
27300 * sysdeps/i386/fpu/e_powf.S: Likewise.
27301 * sysdeps/i386/fpu/e_expl.S: Likewise.
27302 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27303 * sysdeps/i386/fpu/e_acosh.S: Likewise.
27304 * sysdeps/i386/fpu/e_pow.S: Likewise.
27305 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
27306 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27307 * sysdeps/i386/fpu/s_expm1.S: Likewise.
27308 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
27309 * sysdeps/i386/fpu/e_log2.S: Likewise.
27310 * sysdeps/i386/fpu/e_log2l.S: Likewise.
27311 * sysdeps/i386/fpu/e_scalb.S: Likewise.
27312 * sysdeps/i386/fpu/e_powl.S: Likewise.
27313 * sysdeps/i386/fpu/e_log10f.S: Likewise.
27314 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
27315 * sysdeps/i386/fpu/e_logl.S: Likewise.
27316 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
27317 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
27318 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
27319 * sysdeps/i386/fpu/e_log2f.S: Likewise.
27320 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27321 * sysdeps/i386/fpu/e_log.S: Likewise.
27322 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27323 * sysdeps/i386/fpu/e_logf.S: Likewise.
27324 * sysdeps/i386/fpu/e_log10l.S: Likewise.
27325 * sysdeps/i386/fpu/e_atanh.S: Likewise.
27326 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
27327 * sysdeps/i386/fpu/e_log10.S: Likewise.
27328 * sysdeps/i386/fpu/s_frexp.S: Likewise.
27329 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27330 * sysdeps/i386/fpu/s_asinh.S: Likewise.
27331 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
27332 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27333 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
27334 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
27335 * sysdeps/i386/i686/strtok.S: Likewise.
27336 * sysdeps/i386/i386-mcount.S: Likewise.
27337 * sysdeps/i386/strtok.S: Likewise.
27338 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
27339 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27340 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27341 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27342 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
27343 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27344 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
27345 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
27346 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27347 * sysdeps/x86_64/_mcount.S: Likewise.
27348 * sysdeps/x86_64/strtok.S: Likewise.
27349 * sysdeps/sh/_mcount.S: Likewise.
27351 2012-08-01 Roland McGrath <roland@hack.frob.com>
27353 * libio/iofopen.c: Include <fcntl.h>.
27354 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
27355 (_IO_fopen64, fopen64): Define as aliases.
27356 * libio/iofopen64.c: Include <fcntl.h>.
27357 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
27358 Conditionalize body on this.
27359 * sysdeps/wordsize-64/iofopen.c: File removed.
27360 * sysdeps/wordsize-64/iofopen64.c: File removed.
27362 2012-08-01 Marek Polacek <polacek@redhat.com>
27364 * libc/Makeconfig: Use elf in place of binfmt-subdir.
27365 Use dlfcn directly instead of a variable.
27366 (binfmt-subdir): Do not define.
27369 2012-08-01 Joseph Myers <joseph@codesourcery.com>
27371 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
27372 Remove all definitions.
27373 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
27374 <kernel-features.h>.
27375 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
27376 (miss_F_GETOWN_EX): Remove all definitions.
27377 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
27379 [!__ASSUME_FCNTL64]: Remove conditional code.
27380 [__ASSUME_FCNTL64]: Make code unconditional.
27381 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
27382 <kernel-features.h>.
27383 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
27384 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
27385 (lockf64) [__NR_fcntl64]: Make code unconditional.
27386 (lockf64) [__ASSUME_FCNTL64]: Likewise.
27388 * sysdeps/unix/sysv/linux/kernel-features.h
27389 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
27390 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
27391 Make code unconditional.
27392 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
27393 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
27394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
27395 [__NR_vfork]: Make code unconditional.
27396 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
27397 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
27398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
27399 [__NR_vfork]: Make code unconditional.
27400 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
27401 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
27403 2012-08-01 Roland McGrath <roland@hack.frob.com>
27405 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
27406 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
27408 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27409 Define mkstemp64 as an alias.
27410 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27411 Define mkstemps64 as an alias.
27412 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27413 Define mkostemp64 as an alias.
27414 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27415 Define mkostemps64 as an alias.
27416 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
27417 Conditionalize body on this.
27418 * misc/mkostemp64.c: Likewise.
27419 * misc/mkostemps64.c: Likewise.
27420 * misc/mkstemps64.c: Likewise.
27421 * sysdeps/wordsize-64/mkstemp64.c: File removed.
27422 * sysdeps/wordsize-64/mkostemp64.c: File removed.
27423 * sysdeps/wordsize-64/mkostemp.c: File removed.
27424 * sysdeps/wordsize-64/mkstemp.c: File removed.
27425 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
27426 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
27427 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
27428 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
27431 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
27432 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
27433 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
27434 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
27436 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
27437 compat_symbol macros from <shlib-compat.h> rather than the underlying
27438 default_symbol_version and symbol_version macros, so that DEFAULT
27439 lines in shlib-versions are respected.
27440 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
27442 2012-08-01 Florian Weimer <fweimer@redhat.com>
27444 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
27445 Declare with warn_unused_result.
27446 (setgid, setregid, setegid, setresgid): Likewise.
27447 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
27449 * WUR-REPORT: Remove set*id functions.
27451 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
27453 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
27455 2012-07-31 Roland McGrath <roland@hack.frob.com>
27458 * include/sys/socket.h (__libc_accept, __libc_accept4):
27459 Add attribute_hidden.
27460 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
27462 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
27464 * inet/getnetgrent_r.c (setup): Likewise.
27466 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
27468 2012-07-31 David S. Miller <davem@davemloft.net>
27470 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27472 2012-07-31 Joseph Myers <joseph@codesourcery.com>
27475 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
27476 value between 1.0 and 2.0 and smaller part has absolute value less
27478 * math/s_clog10.c (__clog10): Likewise.
27479 * math/s_clog10f.c (__clog10f): Likewise.
27480 * math/s_clog10l.c (__clog10l): Likewise.
27481 * math/s_clogf.c (__clogf): Likewise.
27482 * math/s_clogl.c (__clogl): Likewise.
27483 * math/libm-test.inc (clog_test): Add more tests.
27484 (clog10_test): Likewise.
27485 * sysdeps/i386/fpu/libm-test-ulps: Update.
27486 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27488 2012-07-31 Florian Weimer <fweimer@redhat.com>
27490 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
27491 Exit with zero in case no suitable GID is found, and write a
27492 message to standard error.
27494 2012-07-30 Roland McGrath <roland@hack.frob.com>
27496 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
27498 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
27499 (MAXPATHLEN): Removed.
27500 (NOGROUP, NODEV): New macros.
27501 (setbit, clrbit, isset, isclr): New macros.
27502 (howmany, roundup, powerof2): New macros.
27503 (DEV_BSIZE): New macro.
27505 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
27506 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
27508 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
27509 definition on [!__NO_LONG_DOUBLE_MATH].
27511 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
27512 PTR_MANGLE and PTR_DEMANGLE.
27514 * socket/accept4.c (accept4): Rename to __libc_accept4.
27515 Define accept4 as a weak alias.
27517 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
27518 on [_DIRENT_HAVE_D_TYPE].
27519 * io/ftw.c (ftw_dir): Likewise.
27521 * io/xmknod.c (__xmknod): Don't check PATH for being null.
27523 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
27525 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
27526 Use the BSD numbers rather than the arbitrary ones we had.
27527 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
27528 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
27529 (SIGXCPU, SIGXFSZ): New macros.
27532 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
27533 initializer on [_LIBC_REENTRANT].
27535 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
27536 definitions inside [_POSIX_MAPPED_FILES].
27538 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
27540 * dirent/opendir.c: Include <fcntl.h>.
27542 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
27543 (__libc_getspecific): Likewise.
27544 (__libc_key_create): Likewise.
27546 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
27547 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
27548 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
27549 (tmpfile64): Define as alias.
27550 * sysdeps/wordsize-64/tmpfile.c: File removed.
27551 * sysdeps/wordsize-64/tmpfile64.c: File removed.
27552 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
27553 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
27555 * stdio-common/vfscanf.c: Include <stdbool.h>.
27556 * nss/makedb.c: Likewise.
27557 * stdio-common/_i18n_number.h: Likewise.
27558 * argp/argp-help.c: Likewise.
27559 * posix/wordexp.c: Likewise.
27560 * sysdeps/posix/spawni.c: Likewise.
27561 * nss/nss_files/files-initgroups.c: Likewise.
27562 * stdio-common/reg-modifier.c: Include <stdlib.h>.
27563 * nss/nss_files/files-initgroups.c: Likewise.
27564 * nss/nss_db/db-netgrp.c: Likewise.
27565 * nss/nss_db/db-initgroups.c: Likewise.
27566 * io/fchmodat.c: Include <sys/stat.h>.
27568 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
27569 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
27571 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
27574 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
27575 Add multiple inclusion protection.
27577 2012-07-27 David S. Miller <davem@davemloft.net>
27579 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27581 2012-07-27 Gary Benson <gbenson@redhat.com>
27584 * elf/rtld.c: Include <stap-probe.h>.
27585 (dl_main): Added static probes "init_start" and "init_complete".
27586 * elf/dl-load.c: Include <stap-probe.h>.
27587 (lose): Take new parameter "nsid".
27588 Added static probe "map_failed".
27589 (_dl_map_object_from_fd): Pass namespace id to lose.
27590 Added static probe "map_start".
27591 (open_verify): Pass namespace id to lose.
27592 * elf/dl-open.c: Include <stap-probe.h>.
27593 (dl_open_worker) Added static probes "map_complete", "reloc_start"
27594 and "reloc_complete".
27595 * elf/dl-close.c: Include <stap-probe.h>.
27596 (_dl_close_worker): Added static probes "unmap_start" and
27598 * elf/rtld-debugger-interface.txt: New file documenting the above.
27600 2012-07-26 Roland McGrath <roland@hack.frob.com>
27602 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
27603 rather than a string variable.
27604 * sunrpc/rpc_main.c (h_output): Likewise.
27605 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
27607 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
27609 * inet/check_native.c: New file.
27611 2012-07-26 Joseph Myers <joseph@codesourcery.com>
27614 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
27615 if larger part has absolute value 1.0.
27616 * math/s_clog10.c (__clog10): Likewise.
27617 * math/s_clog10f.c (__clog10f): Likewise.
27618 * math/s_clog10l.c (__clog10l): Likewise.
27619 * math/s_clogf.c (__clogf): Likewise.
27620 * math/s_clogl.c (__clogl): Likewise.
27621 * math/libm-test.inc (clog_test): Add more tests.
27622 (clog10_test): Likewise.
27623 * sysdeps/i386/fpu/libm-test-ulps: Update.
27624 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27626 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
27627 (pltexit): Likewise.
27628 (La_regs): Likewise.
27629 (La_retval): Likewise.
27630 (int_retval): Likewise.
27631 Update #error for removed macros to refer only to definitions in
27633 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
27635 (pltexit): Likewise.
27636 (La_regs): Likewise.
27637 (La_retval): Likewise.
27638 (int_retval): Likewise.
27639 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
27641 (pltexit): Likewise.
27642 (La_regs): Likewise.
27643 (La_retval): Likewise.
27644 (int_retval): Likewise.
27645 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
27647 (pltexit): Likewise.
27648 (La_regs): Likewise.
27649 (La_retval): Likewise.
27650 (int_retval): Likewise.
27651 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
27653 (pltexit): Likewise.
27654 (La_regs): Likewise.
27655 (La_retval): Likewise.
27656 (int_retval): Likewise.
27657 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
27659 (pltexit): Likewise.
27660 (La_regs): Likewise.
27661 (La_retval): Likewise.
27662 (int_retval): Likewise.
27663 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
27665 (pltexit): Likewise.
27666 (La_regs): Likewise.
27667 (La_retval): Likewise.
27668 (int_retval): Likewise.
27669 * sysdeps/generic/tst-audit.h: Update comment to refer only to
27670 macro definitions in tst-audit.h.
27671 * sysdeps/i386/tst-audit.h: New file.
27672 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
27673 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
27674 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
27675 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
27676 * sysdeps/sh/tst-audit.h: Likewise.
27677 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
27678 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
27679 * sysdeps/x86_64/tst-audit.h: Likewise.
27681 2012-07-26 Andreas Jaeger <aj@suse.de>
27683 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
27686 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
27687 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
27688 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
27690 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
27691 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
27692 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
27694 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
27697 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
27699 (si_call_addr, si_syscall, si_arch): Define new macro.
27700 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
27702 (si_call_addr, si_syscall, si_arch): Define new marcro.
27703 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
27705 (si_call_addr, si_syscall, si_arch): Define new macro.
27706 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
27708 (si_call_addr, si_syscall, si_arch): Define new macro.
27710 2012-07-25 Joseph Myers <joseph@codesourcery.com>
27713 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27714 Change to 2.4.21 where previously 2.4.1.
27715 * sysdeps/unix/sysv/linux/configure: Regenerated.
27716 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
27717 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
27718 Linux kernel version.
27719 (__ASSUME_STD_AUXV): Remove.
27720 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
27722 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
27723 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
27724 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
27725 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
27726 (__ASSUME_NETLINK_SUPPORT): Likewise.
27727 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
27728 (__no_netlink_support): Remove conditional definition.
27729 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
27731 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
27732 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
27733 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
27734 (if_nameindex_ioctl): Remove.
27735 (if_nameindex_netlink): Do not handle __no_netlink_support.
27736 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
27738 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
27739 Remove conditional code.
27740 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
27742 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
27744 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
27745 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
27746 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
27748 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
27749 [!__ASSUME_STD_AUXV]: Remove conditional code.
27750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
27751 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
27752 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
27753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
27754 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
27755 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
27757 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
27758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27759 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
27760 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
27762 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
27763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
27764 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
27766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27767 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
27769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
27770 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27771 code unconditional.
27772 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27774 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27776 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27779 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27781 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
27784 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27785 code unconditional.
27786 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27788 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27790 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
27793 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27794 code unconditional.
27795 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27797 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27799 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27802 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
27804 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
27805 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
27806 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
27807 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
27808 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
27809 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
27810 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
27811 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
27812 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
27813 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
27814 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
27815 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
27816 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
27817 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
27818 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
27819 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
27820 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
27821 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
27822 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
27823 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
27824 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
27825 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
27826 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
27828 2012-07-25 Florian Weimer <fweimer@redhat.com>
27830 * Versions.def: Add GLIBC_2.17.
27831 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
27832 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
27833 Introduce __libc_secure_getenv.
27834 * stdlib/Versions (2.17): Add secure_getenv
27835 (GLIBC_PRIVATE): Add __libc_secure_getenv.
27836 * stdlib/secure-getenv.c: Rename __secure_getenv to
27837 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
27838 symbol __secure_getenv for GLIBC_2.0.
27839 * stdlib/tst-secure-getenv.c: New.
27840 * stdlib/Makefile (tests): Add testcase.
27841 * manual/startup.texi (Environment Access): Document
27843 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
27844 __libc_secure_getenv.
27845 * inet/ruserpass.c (ruserpass): Likewise.
27846 * malloc/mtrace.c (mtrace): Likewise.
27847 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
27848 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
27849 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
27850 * sysdeps/posix/tempname.c: Likewise. Evaluate
27851 HAVE_SECURE_GETENV.
27852 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
27853 __secure_getenv to __libc_secure_getenv.
27854 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
27855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27859 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
27860 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
27861 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27862 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
27863 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
27864 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27865 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
27867 2012-07-25 Joseph Myers <joseph@codesourcery.com>
27869 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
27870 (struct La_i86_retval): Likewise.
27871 (struct La_x86_64_regs): Likewise.
27872 (struct La_x86_64_retval): Likewise.
27873 (struct La_x32_regs): Likewise.
27874 (struct La_x32_retval): Likewise.
27875 (struct La_ppc32_regs): Likewise.
27876 (struct La_ppc32_retval): Likewise.
27877 (struct La_ppc64_regs): Likewise.
27878 (struct La_ppc64_retval): Likewise.
27879 (struct La_sh_regs): Likewise.
27880 (struct La_sh_retval): Likewise.
27881 (struct La_s390_32_regs): Likewise.
27882 (struct La_s390_32_retval): Likewise.
27883 (struct La_s390_64_regs): Likewise.
27884 (struct La_s390_64_retval): Likewise.
27885 (struct La_sparc32_regs): Likewise.
27886 (struct La_sparc32_retval): Likewise.
27887 (struct La_sparc64_regs): Likewise.
27888 (struct La_sparc64_retval): Likewise.
27889 (struct audit_ifaces): Remove architecture-specific pltenter and
27891 * sysdeps/i386/ldsodefs.h: New file.
27892 * sysdeps/powerpc/ldsodefs.h: Likewise.
27893 * sysdeps/s390/ldsodefs.h: Likewise.
27894 * sysdeps/sh/ldsodefs.h: Likewise.
27895 * sysdeps/sparc/ldsodefs.h: Likewise.
27896 * sysdeps/x86_64/ldsodefs.h: Likewise.
27898 2012-07-25 Marek Polacek <polacek@redhat.com>
27901 * math/libm-test.inc (yn_test): Add another test.
27902 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
27903 to ERANGE when the result is +-Inf.
27904 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
27905 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
27906 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
27907 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
27909 2012-07-24 Joseph Myers <joseph@codesourcery.com>
27911 * conform/data/time.h-data (NULL): Use macro-constant. Require
27913 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
27915 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
27917 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
27919 * configure.in <sysdeps resolving>: Correct printing
27921 * configure: Regenerate.
27923 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
27925 * math/w_ilogb.c: Include <limits.h>.
27926 * math/w_ilogbl.c: Likewise.
27928 2012-07-20 Joseph Myers <joseph@codesourcery.com>
27930 * manual/lang.texi (__va_copy): Document primarily as ISO C99
27931 va_copy. Document allowing for unavailable va_copy only as
27932 pre-C99 compatibility.
27933 * manual/string.texi (Copying and Concatenation): Use va_copy
27934 instead of __va_copy in concat example.
27936 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
27938 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
27939 (__sendto): Use create_address_port. Initialize APORT and deallocate
27942 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
27943 with O_NOLINK passed to __file_name_lookup.
27945 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
27946 with O_NOLINK passed to __file_name_lookup.
27948 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
27949 negative N or less than NGIDS.
27951 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
27952 type to string_t. Set ERANGE as errno and return it if NAME is not big
27953 enough. Use memcpy instead of strncpy.
27955 2012-07-20 Joseph Myers <joseph@codesourcery.com>
27957 * elf/Makefile (check-data): Remove.
27958 (localplt.data): New vpath directive.
27959 ($(objpfx)check-localplt.out): Use localplt.data from vpath
27960 instead of $(check-data).
27961 * scripts/data/localplt-generic.data: Move to ...
27962 * sysdeps/generic/localplt.data: ... here.
27963 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
27964 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
27965 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
27966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
27968 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
27969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
27971 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
27972 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
27974 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
27975 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
27977 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
27978 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
27980 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
27981 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
27984 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27986 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
27987 PPC32 and PPC64 files.
27988 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
27989 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
27991 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27993 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
27994 __makecontext_ret to ...
27995 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
27996 ... here and call exit if uc_link is NULL. New file.
27997 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
27998 __makecontext_ret.S.
27999 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
28000 __makecontext_ret to ...
28001 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
28002 ... here and call exit if uc_link is NULL. New file.
28003 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
28004 __makecontext_ret.S.
28006 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28008 * elf/elf.h (R_390_IRELATIVE): New definition.
28009 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
28010 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
28011 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
28012 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
28013 (elf_machine_lazy_rel): Likewise.
28014 * sysdeps/s390/dl-irel.h: New file.
28015 * sysdeps/s390/s390-64/memcpy.S: New asm code.
28016 * sysdeps/s390/s390-64/memset.S: New asm code.
28017 * sysdeps/s390/s390-64/memcmp.S: New asm code.
28018 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
28019 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
28020 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
28021 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
28022 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
28023 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
28024 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
28025 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
28026 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
28027 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
28028 * sysdeps/s390/s390-32/memcpy.S: New asm code.
28029 * sysdeps/s390/s390-32/memset.S: New asm code.
28030 * sysdeps/s390/s390-32/memcmp.S: New asm code.
28032 2012-07-17 Marek Polacek <polacek@redhat.com>
28035 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
28036 * sysdeps/s390/s390-64/configure.in: Likewise.
28037 * sysdeps/sparc/configure.in: Likewise.
28038 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
28039 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
28040 * sysdeps/i386/configure.in: Likewise.
28041 * sysdeps/x86_64/configure.in: Likewise.
28042 * sysdeps/sh/configure.in: Likewise.
28043 * sysdeps/s390/s390-32/configure: Regenerated.
28044 * sysdeps/s390/s390-64/configure: Likewise.
28045 * sysdeps/x86_64/configure: Likewise.
28046 * sysdeps/sh/configure: Likewise.
28047 * sysdeps/powerpc/powerpc64/configure: Likewise.
28048 * sysdeps/powerpc/powerpc32/configure: Likewise.
28049 * sysdeps/sparc/configure: Likwise.
28050 * sysdeps/i386/configure: Likewise.
28052 * elf/dl-open.c: Comment fixes.
28054 2012-07-17 Joseph Myers <joseph@codesourcery.com>
28056 * Makefile [CXX] (check-data): Remove.
28057 [CXX] (c++-types.data): New vpath directive.
28058 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
28059 vpath. Do not allow for C++ type data being missing.
28060 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
28061 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
28062 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
28063 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
28064 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
28065 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
28066 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
28067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
28069 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
28070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
28072 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
28073 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
28075 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
28076 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
28078 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
28079 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
28081 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
28082 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
28084 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
28085 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
28087 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
28088 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
28090 * elf/tls-macros.h (TLS_LE): Move architecture-specific
28091 definitions to architecture-specific files.
28092 (TLS_IE): Likewise.
28093 (TLS_LD): Likewise.
28094 (TLS_GD): Likewise.
28095 * sysdeps/i386/tls-macros.h: New file.
28096 * sysdeps/powerpc/tls-macros.h: Likewise.
28097 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
28098 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
28099 * sysdeps/sh/tls-macros.h: Likewise.
28100 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
28101 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
28102 * sysdeps/x86_64/tls-macros.h: Likewise.
28104 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
28106 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
28107 zero value for regular exit case.
28109 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
28110 (__start_context): Preserve zero value for regular exit case.
28112 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
28113 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28115 * manual/setjmp.texi (setcontext): Clarify normal process
28116 termination when uc_link is the null pointer.
28117 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
28120 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
28122 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
28123 preprocessor. Test for each exception mask separately.
28125 2012-07-16 Andreas Jaeger <aj@suse.de>
28127 * po/ru.po: Update from translation team.
28129 2012-07-15 Joseph Myers <joseph@codesourcery.com>
28131 * conform/data/string.h-data (NULL): Use macro-constant. Require
28133 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
28134 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
28135 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
28136 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
28137 [ISO || ISO99 || ISO11] (*_t): Do not allow.
28139 2012-07-13 Andreas Jaeger <aj@suse.de>
28141 * po/fr.po: Update from translation team.
28143 2012-07-12 Marek Polacek <polacek@redhat.com>
28146 * math/libm-test.inc (yn_test): Add test for BZ #14173.
28147 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
28150 2012-07-12 Joseph Myers <joseph@codesourcery.com>
28153 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28154 Change to 2.4.1 where previously 2.4.0.
28155 * sysdeps/unix/sysv/linux/configure: Regenerated.
28156 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
28157 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
28159 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
28160 (__ASSUME_AT_CLKTCK): Remove.
28161 (__ASSUME_AT_PAGESIZE): Likewise.
28162 (__ASSUME_AT_XID): Likewise.
28163 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
28164 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
28165 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
28167 (HAVE_AUX_PAGESIZE): Likewise.
28168 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
28169 [__ASSUME_AT_CLKTCK]: Make code unconditional.
28170 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
28172 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
28175 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
28176 the temporary buffer used to invoke __gethostbyname2_r,
28177 __gethostbyaddr_r and gethostbyname4_r to make room for struct
28178 host_data / struct gaih_addrtuple.
28179 * resolv/nss_dns/dns-host.c (global scope): Move definition of
28180 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
28181 header file nss/nsswitch.h.
28182 * nss/nsswitch.h (global scope): Add definition of implementation
28183 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
28184 resolv/nss_dns/dns-host.c).
28186 2012-07-11 Andreas Jaeger <aj@suse.de>
28188 * po/fr.po: Update from translation team.
28190 * po/sv.po: Update from translation team
28191 * po/fr.po: Another update from translation team.
28193 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28195 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
28196 for subnormals or multiply small sinh result by itself.
28197 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
28198 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28200 2012-07-11 David S. Miller <davem@davemloft.net>
28202 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28204 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
28207 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
28208 (INTERNAL_MARK): Shift it here.
28210 2012-07-10 Marek Polacek <polacek@redhat.com>
28213 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
28214 libc_cv_asm_global_directive with .globl.
28215 * configure: Regenerated.
28216 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
28218 * sysdeps/i386/configure: Regenerated.
28219 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
28221 * sysdeps/x86_64/configure: Regenerated.
28222 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
28223 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
28224 * elf/tst-unique2mod2.c: Likewise.
28225 * elf/tst-unique2mod1.c: Likewise.
28226 * elf/tst-unique1mod2.c: Likewise.
28227 * elf/tst-unique1mod1.c: Likewise.
28228 * sysdeps/s390/s390-32/sysdep.h: Likewise.
28229 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
28230 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28231 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
28232 * sysdeps/mach/sysdep.h: Likewise.
28233 * sysdeps/i386/sysdep.h: Likewise.
28234 * sysdeps/i386/i386-mcount.S: Likewise.
28235 * sysdeps/x86_64/_mcount.S: Likewise.
28236 * sysdeps/x86_64/sysdep.h: Likewise.
28237 * sysdeps/sh/_mcount.S: Likewise.
28238 * sysdeps/sh/sysdep.h: Likewise.
28239 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
28240 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
28241 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
28242 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
28243 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
28244 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
28245 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
28246 * locale/localeinfo.h: Likewise.
28247 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
28248 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
28250 2012-07-09 Roland McGrath <roland@hack.frob.com>
28253 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
28255 * manual/message.texi (The Uniforum approach): Likewise.
28256 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
28257 (glibc iconv Implementation): Likewise.
28259 2012-07-09 Joseph Myers <joseph@codesourcery.com>
28262 * math/s_clog.c (__clog): Avoid scaling a value down where that
28263 could result in underflow.
28264 * math/s_clog10.c (__clog10): Likewise.
28265 * math/s_clog10f.c (__clog10f): Likewise.
28266 * math/s_clog10l.c (__clog10l): Likewise.
28267 * math/s_clogf.c (__clogf): Likewise.
28268 * math/s_clogl.c (__clogl): Likewise.
28269 * math/libm-test.inc (clog_test): Add more tests.
28270 (clog10_test): Likewise.
28271 * sysdeps/i386/fpu/libm-test-ulps: Update.
28272 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28274 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
28277 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
28278 by 7 not 8 to examine high bit of fractional part.
28281 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
28282 for call to __mcount_internal.
28283 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
28284 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
28285 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
28287 2012-07-06 Joseph Myers <joseph@codesourcery.com>
28290 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
28291 approximation for values within 0x1p-13f of an odd multiple of
28293 * math/libm-test.inc (tan_test): Do not allow spurious underflow
28294 exception. Add more tests.
28295 * sysdeps/i386/fpu/libm-test-ulps: Update.
28298 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
28299 inputs and return -1 for them. Do not check for +Inf in case not
28300 reachable for +Inf.
28301 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
28302 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
28303 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
28304 and return -1 for them. Do not check for +Inf in case not
28305 reachable for +Inf.
28306 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
28308 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
28309 and return -1 for them. Do not check for +Inf in case not
28310 reachable for +Inf.
28311 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
28312 spurious underflow.
28313 * sysdeps/i386/fpu/libm-test-ulps: Update.
28314 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28316 2012-07-06 Mike Frysinger <vapier@gentoo.org>
28318 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
28320 2012-07-05 Joseph Myers <joseph@codesourcery.com>
28324 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
28325 could result in spurious underflow. Scale down values above
28326 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
28327 * math/s_csqrtf.c (__csqrtf): Likewise.
28328 * math/s_csqrtl.c (__csqrtl): Likewise.
28329 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
28330 spurious underflow.
28331 * sysdeps/i386/fpu/libm-test-ulps: Update.
28332 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28334 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
28336 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
28338 * catgets/xopen-msg.awk: New file.
28339 * catgets/xopen-msg.sed: Removed.
28341 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
28343 * intl/po2test.awk: New file.
28344 * intl/po2test.sed: Removed.
28346 2012-07-04 Joseph Myers <joseph@codesourcery.com>
28349 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
28350 or multiply small sinh result by itself.
28351 * math/s_ctanf.c (__ctanf): Likewise.
28352 * math/s_ctanh.c (__ctanh): Likewise.
28353 * math/s_ctanhf.c (__ctanhf): Likewise.
28354 * math/s_ctanhl.c (__ctanhl): Likewise.
28355 * math/s_ctanl.c (__ctanl): Likewise.
28356 * math/libm-test.inc (ctan_test_tonearest): New function.
28357 (ctan_test_towardzero): Likewise.
28358 (ctan_test_downward): Likewise.
28359 (ctan_test_upward): Likewise.
28360 (ctanh_test_tonearest): Likewise.
28361 (ctanh_test_towardzero): Likewise.
28362 (ctanh_test_downward): Likewise.
28363 (ctanh_test_upward): Likewise.
28364 (main): Call these new functions.
28365 * sysdeps/i386/fpu/libm-test-ulps: Update.
28366 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28368 2012-07-03 Mike Frysinger <vapier@gentoo.org>
28370 * .gitignore: Delete /ports entry.
28372 2012-07-03 Andreas Jaeger <aj@suse.de>
28374 * po/bg.po: Update from translation team.
28375 * po/cs.po: Likewise.
28376 * po/de.po: Likewise.
28377 * po/hr.po: Likewise.
28378 * po/nl.pl: Likewise.
28379 * po/pl.po: Likewise.
28380 * po/vi.po: Likewise.
28382 2012-07-03 Joseph Myers <joseph@codesourcery.com>
28384 * Makeconfig [!+link] (+link-before-libc): New variable.
28385 [!+link] (+link-after-libc): Likewise.
28386 [!+link] (+link-tests): Likewise.
28387 [!+link] (+link): Define in terms of $(+link-before-libc) and
28388 $(+link-after-libc).
28389 [!+link-static] (+link-static-before-libc): New variable.
28390 [!+link-static] (+link-static-after-libc): Likewise.
28391 [!+link-static] (+link-static-tests): Likewise.
28392 [!+link-static] (+link-static): Define in terms of
28393 $(+link-static-before-libc) and $(+link-static-after-libc).
28394 [build-shared] (link-libc-before-gnulib): New variable.
28395 [build-shared] (link-libc-tests): Likewise.
28396 [build-shared] (link-libc): Define in terms of
28397 $(link-libc-before-gnulib).
28398 [!build-shared] (link-libc-tests): New variable.
28399 (link-libc-static-tests): New variable.
28400 [!gnulib] (gnulib-arch): New variable.
28401 [!gnulib] (gnulib-tests): Likewise.
28402 [!gnulib] (static-gnulib-arch): Likewise.
28403 [!gnulib] (static-gnulib-tests): Likewise.
28404 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
28405 Define with "=" instead of ":=".
28406 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
28407 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
28408 * Rules (binaries-all-notests): New variable.
28409 (binaries-all-tests): Likewise.
28410 (binaries-static-notests): Likewise.
28411 (binaries-static-tests): Likewise.
28412 (binaries-all): Define using $(binaries-all-notests) and
28413 $(binaries-all-tests).
28414 (binaries-static): Define using $(binaries-static-notests) and
28415 $(binaries-static-tests).
28416 (binaries-shared-tests): New variable.
28417 (binaries-shared-notests): Likewise.
28418 (binaries-shared): Remove variable.
28419 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
28420 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
28421 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
28422 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
28423 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
28424 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
28425 * elf/Makefile (sln-modules): New variable.
28426 (extra-objs): Add $(sln-modules:=.o).
28427 (ldconfig-modules): Add static-stubs.
28428 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
28429 * elf/static-stubs.c: New file.
28432 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
28433 by 7 not 8 to examine high bit of fractional part. Use volatile
28434 variables when splitting into final array of floats if
28435 __FLT_EVAL_METHOD__ != 0.
28436 * math/libm-test.inc (cos_test): Add another test.
28437 (sin_test): Likewise.
28438 * sysdeps/i386/fpu/libm-test-ulps: Update.
28441 * math/libm-test.inc (cosh_test): Add more tests.
28443 * version.h (RELEASE): Set to "development".
28444 (VERSION): Set to "2.16.90".
28446 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
28448 * NEWS: Update copyright. Remove last-updated date.
28449 Mention math library bug fixes and timezone data changes.
28450 * README: Mention GNU/Hurd, x32, and HPPA support status.
28452 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
28454 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
28456 2012-06-27 Andreas Jaeger <aj@suse.de>
28458 * manual/contrib.texi (Contributors): Add Samuel Thibault.
28460 2012-06-25 Andreas Jaeger <aj@suse.de>
28462 * sysdeps/s390/fpu/libm-test-ulps: Update.
28464 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
28465 Thomas Schwinge <thomas@codesourcery.com>
28467 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
28468 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
28469 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
28472 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
28474 * sysdeps/mach/start.c: Remove file.
28475 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
28476 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
28477 * sysdeps/sh/init-first.c: Likewise.
28479 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
28480 registers for frame unwinding purposes, add CFI directives.
28481 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
28482 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
28483 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
28486 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
28487 __fortify_fail returning.
28488 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
28490 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
28491 sysdeps/sh/____longjmp_chk.S.
28492 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
28493 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
28494 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
28495 (gen-as-const-headers): Append sigaltstack-offsets.sym.
28497 * sysdeps/sh/abort-instr.h: New file.
28498 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
28499 process in case exit returns.
28501 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
28502 initialize the GOT register before use.
28504 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
28505 calculation of ARGC > 4.
28507 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
28508 meaningful names to some local labels.
28510 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28511 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28513 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
28514 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
28515 (__arch_compare_and_exchange_val_16_acq): Likewise.
28516 (__arch_compare_and_exchange_val_32_acq): Likewise.
28517 (atomic_exchange_and_add): Fix gUSA sequence.
28518 (atomic_add): Likewise.
28519 (atomic_add_negative): Likewise.
28520 (atomic_add_zero): Likewise.
28521 (atomic_bit_test_set): Likewise.
28523 2012-06-22 Andreas Schwab <schwab@redhat.com>
28526 * include/link.h (struct link_map): Add l_free_initfini.
28527 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
28529 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
28530 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
28531 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
28534 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
28536 * configure.in: Use AC_LANG_SOURCE.
28537 * configure: Regenerate.
28539 2012-06-22 Roland McGrath <roland@hack.frob.com>
28541 * configure.in (libc_cv_localstatedir): New substituted variable.
28542 * configure: Regenerated.
28543 * config.make.in (localstatedir): New variable, substituted from
28544 libc_cv_localstatedir.
28545 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
28546 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
28547 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
28548 * sysdeps/gnu/configure: Regenerated.
28550 2012-06-21 Jeff Law <law@redhat.com>
28553 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
28554 free. Simplify list management for _LIBC case.
28556 2012-06-21 Joseph Myers <joseph@codesourcery.com>
28559 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
28560 Clear sign bit of 64-bit integer value before comparing against
28563 * sysdeps/mach/configure: Regenerated.
28565 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
28568 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
28570 2012-06-21 Jeff Law <law@redhat.com>
28573 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
28574 uint16_t for elements in the "seen" array to avoid char overflows.
28575 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28576 * elf/dl-open.c (dl_open_worker): Likewise.
28578 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
28580 * scripts/list-sources.sh: Scan PORTS for translations.
28581 * po/libc.pot: Regenerated.
28583 2012-06-21 Andreas Jaeger <aj@suse.de>
28586 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
28588 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
28589 * bits/byteswap-16.h (__bswap_16): Likewise.
28590 * bits/byteswap.h (__bswap_constant_16): Likewise.
28592 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
28595 * sysdeps/i386/fpu_control.h: Removed.
28596 * sysdeps/x86_64/fpu_control.h: Moved to ...
28597 * sysdeps/x86/fpu_control.h: Here.
28599 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
28600 (_FPU_SETCW): Likewise.
28602 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
28605 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
28606 * sysdeps/x86/fpu/bits/mathinline.h: This.
28607 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
28611 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
28612 functions if __x86_64__ is defined.
28614 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
28616 * string/endian.h: Add !__ASSEMBLER__ condition for including
28617 conversion interfaces.
28619 2012-06-15 Joseph Myers <joseph@codesourcery.com>
28622 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
28623 of ABS(x) in calculating zero to negative powers other than odd
28625 * math/libm-test.inc (pow_test): Add more tests.
28627 2012-06-15 Andreas Jaeger <aj@suse.de>
28629 * manual/contrib.texi (Contributors): Update entry of Liubov
28630 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
28633 2012-06-15 Cyril Hrubis <metan@ucw.cz>
28635 * string/string.h: Add __wur to GNU version of strerror_r.
28637 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
28640 * string/Makefile (tests): Add tst-strtok_r.
28641 * string/tst-strtok_r.c: New file.
28642 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
28643 RAX_LP/RDX_LP on SAVE_PTR.
28645 2012-06-14 Roland McGrath <roland@hack.frob.com>
28647 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
28649 2012-06-14 Joseph Myers <joseph@codesourcery.com>
28651 * libm_test.inc (csqrt_test): Allow more spurious underflow
28653 (j0_test): Likewise.
28654 (j1_test): Likewise.
28655 (y0_test): Likewise.
28656 (y1_test): Likewise.
28658 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
28660 * po/Makefile (libc.pot): Use UTF-8 charset.
28662 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
28665 Suppress sign-conversion warning from FD_SET.
28666 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
28667 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
28668 not unsigned long int.
28669 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
28671 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
28675 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
28676 __extern_always_inline instead of __extern_inline.
28677 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
28678 (__signbit): Likewise.
28679 (__signbitl): Support C++ namespace.
28680 (lrintf): New inline function.
28682 (llrintf): Likewise.
28683 (llrint): Likewise.
28693 (floorf): Likewise.
28694 (nearbyint): Likewise.
28695 (nearbyintf): Likewise.
28697 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
28699 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
28700 non-default versions.
28702 2012-06-11 Roland McGrath <roland@hack.frob.com>
28705 * manual/argp.texi (Argp): Reword argp_parse description slightly.
28707 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
28709 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
28710 (FE_UPWARD, FE_DOWNWARD): Don't define.
28711 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
28712 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
28714 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
28716 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
28717 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
28719 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28721 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
28722 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
28723 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
28724 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
28726 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
28729 * sysdeps/i386/fpu/bits/fenv.h: Removed.
28730 * sysdeps/i386/fpu/Implies: New file.
28731 * sysdeps/x86_64/fpu/Implies: Likewise.
28732 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
28733 * sysdeps/x86/fpu/bits/fenv.h: This.
28735 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
28738 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
28741 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
28742 character 0xffff that matches the last element of the
28745 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28747 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
28750 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28752 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
28753 values higher than 25.6283.
28755 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28757 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
28758 subnormal exponent extraction and add some __builtin_expect.
28759 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
28760 Fix for subnormal mantissa calculation.
28762 2012-06-04 Mike Frysinger <vapier@gentoo.org>
28764 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
28765 cpu2 is -1 and errno is not ENOSYS.
28767 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
28770 * sysdeps/i386/i486/bits/string.h: Renamed to ...
28771 * sysdeps/x86/bits/string.h: This.
28772 * sysdeps/x86_64/bits/string.h: Removed.
28774 * sysdeps/i386/i486/bits/string.h: Define inline functions only
28775 if not compiling for x86-64, but compiling for >= i486.
28777 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
28778 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
28780 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
28781 New macro from Linux kernel 3.4.0.
28782 (FP_XSTATE_MAGIC2): Likewise.
28783 (FP_XSTATE_MAGIC2_SIZE): Likewise.
28784 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
28785 (struct _fpx_sw_bytes): New struct.
28786 (struct _xsave_hdr): Likewise.
28787 (struct _ymmh_state): Likewise.
28788 (struct _xstate): Likewise.
28790 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
28791 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
28792 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
28793 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
28794 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
28795 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
28797 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
28798 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
28799 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
28800 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
28801 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
28802 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
28804 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28807 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
28808 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
28809 (sysdep_headers): Include sys/platform/ppc.h.
28810 * sysdeps/powerpc/test-gettimebase.c: Test for
28811 __ppc_get_timebase() to catch future ISA opcode/insn changes.
28812 * manual/Makefile (appendices): Include platform.texi.
28813 * manual/contrib.texi (Contributors): Update @node pointers.
28814 * manual/maint.texi (Maintenance): Likewise.
28815 (Platform): New node.
28816 * manual/platform.texi: New file. Document the new features.
28818 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
28819 Jakub Jelinek <jakub@redhat.com>
28822 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
28823 where __builtin_expect is unavailable.
28825 2012-06-03 David S. Miller <davem@davemloft.net>
28827 * stdlib/longlong.h: Updated from GCC.
28829 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
28832 * sysdeps/powerpc/powerpc32/mcount.c: New file.
28833 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
28835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
28836 (GLIBC_2.16): Likewise.
28838 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
28840 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
28842 2012-06-01 Joseph Myers <joseph@codesourcery.com>
28844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
28845 (default-abi): New variable.
28846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
28847 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
28849 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
28851 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
28853 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
28856 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
28857 definition. Document in comment.
28859 2012-06-01 David S. Miller <davem@davemloft.net>
28861 * stdlib/longlong.h: Updated from GCC.
28863 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
28866 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
28867 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
28868 sys/debugreg.h sys/io.h here.
28869 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
28870 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
28872 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
28873 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
28874 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
28875 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
28876 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
28877 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
28879 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
28880 Define only if __x86_64__ is defined.
28882 2012-06-01 Joseph Myers <joseph@codesourcery.com>
28885 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
28886 Use int64_t for variable i.
28887 * math/libm-test.inc (fmod_test): Add more tests.
28889 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
28890 z computation is not scheduled after fetestexcept.
28891 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
28892 Use math_force_eval instead of asm to ensure calculation scheduled
28893 before exception test.
28894 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
28895 Ensure a1 + u.d computation is not scheduled after fetestexcept.
28897 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
28899 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
28900 computation is not scheduled after fetestexcept.
28902 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
28905 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
28906 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
28908 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28910 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
28911 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
28913 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
28916 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
28918 (__WCHAR_MIN): Support __WORDSIZE == 64.
28919 (__WCHAR_MAX): Likewise.
28921 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
28922 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
28925 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
28926 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
28929 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
28930 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
28932 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
28933 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
28935 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
28936 Defined to 1 if __x86_64__ isn't defined.
28937 (_STAT_VER_LINUX_OLD): New.
28938 (st_atime): Remove duplicate.
28939 (st_mtime): Likewise.
28940 (st_ctime): Likewise.
28942 2012-05-31 David S. Miller <davem@davemloft.net>
28944 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
28947 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
28949 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
28953 * elf/dl-reloc.c: Include <_itoa.h>.
28954 (_dl_reloc_bad_type): Remove use of INTUSE.
28955 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
28956 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
28957 * stdio-common/psiginfo.c (psiginfo): Likewise.
28958 * stdio-common/psignal.c (psignal): Likewise.
28959 * string/strsignal.c (strsignal): Likewise.
28960 * include/signal.h (_sys_siglist): Declare hidden proto.
28961 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
28962 INTVARDEF with libc_hidden_data_def.
28963 * stdio-common/itoa-udigits.c: Likewise.
28964 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
28965 (_itoa_lower_digits_internal): Remove declaration.
28966 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
28967 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
28968 (_sys_sigabbrev_internal): Remove aliases.
28969 (_sys_siglist): Define hidden alias.
28971 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
28973 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28976 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
28979 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
28980 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
28982 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
28983 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
28984 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
28985 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
28986 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
28987 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
28989 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
28990 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
28991 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
28993 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
29001 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
29002 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
29003 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
29005 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
29006 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
29007 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
29008 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
29009 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
29010 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
29012 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
29013 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
29015 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
29016 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
29018 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
29019 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
29020 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
29022 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
29023 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
29025 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
29027 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
29028 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
29029 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
29031 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
29033 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
29035 2012-05-31 Joseph Myers <joseph@codesourcery.com>
29037 * math/math.h (M_El): Use two more decimal places.
29038 (M_LOG2El): Likewise.
29039 (M_LOG10El): Likewise.
29040 (M_LN2l): Likewise.
29041 (M_LN10l): Likewise.
29043 (M_PI_2l): Likewise.
29044 (M_PI_4l): Likewise.
29045 (M_1_PIl): Likewise.
29046 (M_2_PIl): Likewise.
29047 (M_2_SQRTPIl): Likewise.
29048 (M_SQRT2l): Likewise.
29049 (M_SQRT1_2l): Likewise.
29051 2012-05-31 David S. Miller <davem@davemloft.net>
29053 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
29054 values between float registers.
29055 * sysdeps/sparc/sparc64/memset.S: Likewise.
29056 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
29058 2012-05-31 Mike Frysinger <vapier@gentoo.org>
29060 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
29061 -D_FORTIFY_SOURCE=1.
29062 (CPPFLAGS-tst-longjmp_chk.c): Define.
29063 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
29064 (CPPFLAGS-tst-longjmp_chk2.c): Define.
29065 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
29066 CFLAGS-tst-wchar-h.c.
29068 2012-05-31 Marek Polacek <polacek@redhat.com>
29071 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
29072 __endmntent_internal): Remove declaration.
29073 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
29074 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
29075 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
29077 2012-05-30 David S. Miller <davem@davemloft.net>
29079 * sysdeps/sparc/sparc32/soft-fp/q_util.c
29080 (___Q_simulate_exceptions): Use real FP ops rather than writing
29082 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
29085 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
29088 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
29089 * sysdeps/x86/bits/xtitypes.h: This.
29091 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
29092 * sysdeps/x86/bits/wordsize.h: This.
29094 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
29095 * sysdeps/x86/bits/huge_vall.h: This.
29097 * sysdeps/i386/bits/select.h: Removed.
29098 * sysdeps/x86_64/bits/select.h: Renamed to ...
29099 * sysdeps/x86/bits/select.h: This.
29101 * sysdeps/i386/bits/setjmp.h: Removed.
29102 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
29103 * sysdeps/x86/bits/setjmp.h: This.
29105 * sysdeps/i386/bits/mathdef.h: Removed.
29106 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
29107 * sysdeps/x86/bits/mathdef.h: This.
29109 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
29112 * include/sys/socket.h (__connect_internal)
29113 (__libc_sa_len_internal): Remove declaration.
29114 (__connect, __libc_sa_len): Declare hidden_proto.
29115 (SA_LEN): Remove use of INTUSE.
29116 * socket/connect.c: Add libc_hidden_def.
29117 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
29118 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
29119 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
29121 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
29122 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
29123 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
29124 of adding _internal alias.
29126 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
29129 * sysdeps/i386/bits/link.h: Removed.
29130 * sysdeps/i386/bits/linkmap.h: Likewise.
29131 * sysdeps/x86_64/bits/link.h: Renamed to ...
29132 * sysdeps/x86/bits/link.h: This.
29133 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
29134 * sysdeps/x86/bits/linkmap.h: This.
29136 * sysdeps/i386/bits/endian.h: Removed.
29137 * sysdeps/x86_64/bits/endian.h: Renamed to ...
29138 * sysdeps/x86/bits/endian.h: This.
29140 * sysdeps/i386/bits/byteswap.h: Removed.
29141 * sysdeps/i386/bits/byteswap-16.h: Likewise.
29142 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
29143 * sysdeps/x86/bits/byteswap.h: This.
29144 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
29145 * sysdeps/x86/bits/byteswap-16.h: This.
29146 * sysdeps/i386/Implies: Add x86.
29147 * sysdeps/x86_64/Implies: Likewise.
29149 2012-05-30 David S. Miller <davem@davemloft.net>
29151 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
29152 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
29153 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
29154 (FP_TRAPPING_EXCEPTIONS): Define.
29155 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
29156 (FP_TRAPPING_EXCEPTIONS): Define.
29157 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
29158 subnormals only when inexact has been signalled or underflow
29159 exceptions are enabled.
29160 (_FP_PACK_CANONICAL): Likewise.
29162 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
29165 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
29166 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
29168 2012-05-30 Richard Henderson <rth@twiddle.net>
29170 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
29171 with #ifndef NOT_IN_libc.
29173 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
29174 marked to avoid plt entry.
29176 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
29179 * Makeconfig (default-abi): New macro.
29180 (abi-includes): Likewise.
29181 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
29182 $(abi-$(default-abi)-lib-soname) for soname if defined.
29183 ($(common-objpfx)gnu/lib-names.stmp): Generate from
29185 * Makefile (installed-stubs): Likewise.
29186 * include/stubs-biarch.h: Removed.
29187 * scripts/lib-names.awk: Only handle one library at a time.
29188 * scripts/soversions.awk: Remove WORDSIZE support.
29189 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
29191 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
29193 (syscall-list-default-condition): Likewise.
29194 (syscall-list-default-condition): Likewise.
29195 (syscall-list-includes): Likewise.
29196 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
29197 syscall-list-* with abi-*. Handle undefined abi-variants.
29198 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
29199 * sysdeps/unix/sysv/linux/i386/Implies: New file.
29200 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
29201 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
29202 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
29203 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
29205 (syscall-list-32-options): Likewise.
29206 (syscall-list-32-condition): Likewise.
29207 (syscall-list-64-options): Likewise.
29208 (syscall-list-64-condition): Likewise.
29209 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
29211 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
29214 (abi-64-ld-soname): New macro.
29215 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
29216 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
29219 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
29220 * sysdeps/x86_64/x32/shlib-versions: Likewise.
29222 2012-05-30 Joseph Myers <joseph@codesourcery.com>
29224 * sysdeps/unix/sysv/linux/kernel-features.h
29225 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
29226 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
29227 include <kernel-features.h>.
29228 [!__NR_ftruncate64]: Remove conditional code.
29229 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29230 [__NR_ftruncate64]: Make code unconditional.
29231 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29232 * sysdeps/unix/sysv/linux/truncate64.c: Do not
29233 include <kernel-features.h>.
29234 [!__NR_ftruncate64]: Remove conditional code.
29235 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29236 [__NR_ftruncate64]: Make code unconditional.
29237 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
29239 include <kernel-features.h>.
29240 [!__NR_ftruncate64]: Remove conditional code.
29241 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29242 [__NR_ftruncate64]: Make code unconditional.
29243 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
29245 include <kernel-features.h>.
29246 [!__NR_ftruncate64]: Remove conditional code.
29247 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29248 [__NR_ftruncate64]: Make code unconditional.
29249 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29251 * configure.in (libc_cv_fpie): Weaken to a compile test using
29252 LIBC_TRY_CC_OPTION.
29253 * configure: Regenerated.
29255 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29257 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
29258 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
29259 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
29260 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
29262 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
29263 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
29264 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
29265 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
29266 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
29267 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
29270 2012-05-27 David S. Miller <davem@davemloft.net>
29272 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
29274 (__Q_simulate_exceptions): Return void. Change to simulate
29275 exceptions by writing into the %fsr.
29276 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
29277 (__Qp_handle_exceptions): Likewise.
29279 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
29280 __Qp_handle_exceptions.
29281 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
29282 __Qp_handle_exceptions.
29283 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
29284 as unused and give dummy FP_RND_NEAREST initializer.
29285 (FP_INHIBIT_RESULTS): Define.
29286 (___Q_simulate_exceptions): Update declaration.
29287 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
29289 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
29290 as unused and give dummy FP_RND_NEAREST initializer.
29291 (__Qp_handle_exceptions): Update declaration.
29292 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
29295 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
29297 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
29298 the temporary FPU control word.
29299 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
29300 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
29301 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
29302 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
29303 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
29304 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
29305 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
29306 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
29307 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
29308 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
29309 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
29311 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29313 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
29316 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
29318 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
29319 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
29320 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
29321 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
29323 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
29324 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
29327 2012-05-27 Ulrich Drepper <drepper@gmail.com>
29329 * po/h.po: Update from translation team.
29331 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
29333 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
29335 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
29336 handling of denormals.
29337 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
29338 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
29339 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
29340 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
29341 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29342 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
29343 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
29346 2012-05-26 Marek Polacek <polacek@redhat.com>
29349 * math/libm-test.inc (fma_test): Don't always expect underflow
29352 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29355 * elf/tst-execstack.c: Include stackinfo.h.
29356 (do_test): Adjust test case to ensure that pthread_getattr_np
29357 behaviour remains the same after marking stack executable.
29359 2012-05-25 Joseph Myers <joseph@codesourcery.com>
29361 * sysdeps/unix/sysv/linux/kernel-features.h
29362 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
29363 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
29365 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
29366 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
29367 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
29369 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
29370 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
29372 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
29374 * configure.in: Define the default includes to being none.
29375 * configure: Regenerated.
29377 2012-05-25 Roland McGrath <roland@hack.frob.com>
29379 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
29380 * sysdeps/x86_64/setjmp.S: Likewise.
29381 * sysdeps/i386/bsd-setjmp.S: Likewise.
29382 * sysdeps/i386/bsd-_setjmp.S: Likewise.
29383 * sysdeps/i386/setjmp.S: Likewise.
29384 * sysdeps/i386/__longjmp.S: Likewise.
29385 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
29386 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
29388 * include/stap-probe.h: New file.
29389 * configure.in: Handle --enable-systemtap.
29390 * configure: Regenerated.
29391 * config.h.in (USE_STAP_PROBE): New #undef.
29392 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
29393 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
29394 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
29396 2012-05-25 Joseph Myers <joseph@codesourcery.com>
29399 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
29400 to 2.4.0 where earlier.
29401 * sysdeps/unix/sysv/linux/configure: Regenerated.
29402 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
29403 <kernel-features.h>.
29404 [__ASSUME_32BITUIDS]: Make code unconditional.
29405 [!__ASSUME_32BITUIDS]: Remove conditional code.
29406 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
29407 <kernel-features.h>.
29408 [__ASSUME_32BITUIDS]: Make code unconditional.
29409 [!__ASSUME_32BITUIDS]: Remove conditional code.
29410 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
29411 [__ASSUME_32BITUIDS]: Make code unconditional.
29412 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
29413 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
29414 <kernel-features.h>.
29415 [__ASSUME_32BITUIDS]: Make code unconditional.
29416 [!__ASSUME_32BITUIDS]: Remove conditional code.
29417 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
29418 <kernel-features.h>.
29419 [__ASSUME_32BITUIDS]: Make code unconditional.
29420 [!__ASSUME_32BITUIDS]: Remove conditional code.
29421 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
29422 <kernel-features.h>.
29423 [__ASSUME_32BITUIDS]: Make code unconditional.
29424 [!__ASSUME_32BITUIDS]: Remove conditional code.
29425 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
29426 <kernel-features.h>.
29427 [__ASSUME_32BITUIDS]: Make code unconditional.
29428 [!__ASSUME_32BITUIDS]: Remove conditional code.
29429 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
29430 <kernel-features.h>.
29431 [__ASSUME_32BITUIDS]: Make code unconditional.
29432 [!__ASSUME_32BITUIDS]: Remove conditional code.
29433 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
29434 <kernel-features.h>.
29435 [__ASSUME_32BITUIDS]: Make code unconditional.
29436 [!__ASSUME_32BITUIDS]: Remove conditional code.
29437 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
29438 <kernel-features.h>.
29439 [__ASSUME_32BITUIDS]: Make code unconditional.
29440 [!__ASSUME_32BITUIDS]: Remove conditional code.
29441 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
29442 <kernel-features.h>.
29443 [__ASSUME_32BITUIDS]: Make code unconditional.
29444 [!__ASSUME_32BITUIDS]: Remove conditional code.
29445 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
29446 <kernel-features.h>.
29447 [__ASSUME_32BITUIDS]: Make code unconditional.
29448 [!__ASSUME_32BITUIDS]: Remove conditional code.
29449 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
29450 <kernel-features.h>.
29451 [__ASSUME_32BITUIDS]: Make code unconditional.
29452 [!__ASSUME_32BITUIDS]: Remove conditional code.
29453 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
29454 <kernel-features.h>.
29455 [__NR_setresgid] (__setresgid): Do not declare.
29456 [__ASSUME_32BITUIDS]: Make code unconditional.
29457 [!__ASSUME_32BITUIDS]: Remove conditional code.
29458 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
29459 <kernel-features.h>.
29460 [__NR_setresuid] (__setresuid): Do not declare.
29461 [__ASSUME_32BITUIDS]: Make code unconditional.
29462 [!__ASSUME_32BITUIDS]: Remove conditional code.
29463 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
29464 <kernel-features.h>.
29465 [__ASSUME_32BITUIDS]: Make code unconditional.
29466 [!__ASSUME_32BITUIDS]: Remove conditional code.
29467 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
29468 <kernel-features.h>.
29469 [__ASSUME_32BITUIDS]: Make code unconditional.
29470 [!__ASSUME_32BITUIDS]: Remove conditional code.
29471 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
29472 <kernel-features.h>.
29473 [__ASSUME_32BITUIDS]: Make code unconditional.
29474 [!__ASSUME_32BITUIDS]: Remove conditional code.
29475 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
29476 <kernel-features.h>.
29477 [__ASSUME_32BITUIDS]: Make code unconditional.
29478 [!__ASSUME_32BITUIDS]: Remove conditional code.
29479 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
29480 <kernel-features.h>.
29481 [__ASSUME_32BITUIDS]: Make code unconditional.
29482 [!__ASSUME_32BITUIDS]: Remove conditional code.
29483 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
29484 <kernel-features.h>.
29485 [__ASSUME_32BITUIDS]: Make code unconditional.
29486 [!__ASSUME_32BITUIDS]: Remove conditional code.
29487 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
29488 <kernel-features.h>.
29489 [__ASSUME_32BITUIDS]: Make code unconditional.
29490 [!__ASSUME_32BITUIDS]: Remove conditional code.
29491 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
29492 <kernel-features.h>.
29493 [__ASSUME_32BITUIDS]: Make code unconditional.
29494 [!__ASSUME_32BITUIDS]: Remove conditional code.
29495 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
29496 <kernel-features.h>.
29497 [__ASSUME_32BITUIDS]: Make code unconditional.
29498 [!__ASSUME_32BITUIDS]: Remove conditional code.
29499 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
29500 <kernel-features.h>.
29501 [__ASSUME_32BITUIDS]: Make code unconditional.
29502 [!__ASSUME_32BITUIDS]: Remove conditional code.
29503 * sysdeps/unix/sysv/linux/kernel-features.h
29504 (__ASSUME_SETRESUID_SYSCALL): Remove.
29505 (__ASSUME_SETRESGID_SYSCALL): Likewise.
29506 (__ASSUME_32BITUIDS): Likewise.
29507 (__ASSUME_LDT_WORKS): Likewise.
29508 (__ASSUME_O_DIRECTORY): Likewise.
29509 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
29510 architecture but not kernel version.
29511 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
29512 (__ASSUME_MMAP2_SYSCALL): Likewise.
29513 (__ASSUME_STAT64_SYSCALL): Likewise.
29514 (__ASSUME_IPC64): Likewise.
29515 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
29516 <kernel-features.h>.
29517 [__ASSUME_32BITUIDS]: Make code unconditional.
29518 [!__ASSUME_32BITUIDS]: Remove conditional code.
29519 * sysdeps/unix/sysv/linux/opendir.c: Do not include
29520 <kernel-features.h>.
29521 [__ASSUME_O_DIRECTORY]: Make code unconditional.
29522 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
29523 132096]: Remove conditional code.
29524 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
29525 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
29526 <kernel-features.h>.
29527 [__ASSUME_32BITUIDS]: Make code unconditional.
29528 [!__ASSUME_32BITUIDS]: Remove conditional code.
29529 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
29530 <kernel-features.h>.
29531 [__ASSUME_32BITUIDS]: Make code unconditional.
29532 [!__ASSUME_32BITUIDS]: Remove conditional code.
29533 * sysdeps/unix/sysv/linux/setegid.c: Do not include
29534 <kernel-features.h>.
29535 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
29537 (__setresgid): Do not declare.
29538 [__ASSUME_32BITUIDS]: Make code unconditional.
29539 [!__ASSUME_32BITUIDS]: Remove conditional code.
29540 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
29541 <kernel-features.h>.
29542 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
29544 (__setresuid): Do not declare.
29545 [__ASSUME_32BITUIDS]: Make code unconditional.
29546 [!__ASSUME_32BITUIDS]: Remove conditional code.
29547 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
29548 <kernel-features.h>.
29549 [__ASSUME_32BITUIDS]: Make code unconditional.
29550 [!__ASSUME_32BITUIDS]: Remove conditional code.
29551 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
29552 <kernel-features.h>.
29553 [__ASSUME_32BITUIDS]: Make code unconditional.
29554 [!__ASSUME_32BITUIDS]: Remove conditional code.
29556 2012-05-25 Richard Henderson <rth@twiddle.net>
29558 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
29559 dl_hwcap to ifunc resolver.
29560 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
29562 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
29563 dl_hwcap to ifunc resolver.
29564 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
29566 2012-05-24 Joseph Myers <joseph@codesourcery.com>
29569 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
29570 for |x| <= 2**-26, not 2**-57.
29571 * math/libm-test.inc (acos_test): Do not allow spurious underflow
29574 2012-05-24 Jeff Law <law@redhat.com>
29576 * stdio-common/Makefile (tests): Add bug25.
29577 * stdio-common/bug25.c: New test.
29579 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
29582 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
29583 multiple of MALLOC_ALIGNMENT in size.
29584 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
29586 2012-05-24 Joseph Myers <joseph@codesourcery.com>
29588 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
29590 (FILENAME_MAX): Use macro-int-constant.
29591 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
29592 (_IOFBF): Use macro-int-constant.
29593 (_IOLBF): Likewise.
29594 (_IONBF): Likewise.
29595 (SEEK_CUR): Likewise.
29596 (SEEK_END): Likewise.
29597 (SEEK_SET): Likewise.
29598 (TMP_MAX): Likewise.
29599 (EOF): Use macro-int-constant. Require < 0.
29600 (NULL): Use macro-constant. Require == 0.
29601 (stdin): Require type to be FILE *.
29602 (stdout): Likewise.
29603 (stderr): Likewise.
29604 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
29605 macro-int-constant.
29606 (EXIT_SUCCESS): Likewise.
29607 (NULL): Use macro-constant. Require == 0.
29608 (RAND_MAX): Use macro-int-constant.
29609 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
29610 [C99-based standards] (strtof): Require function.
29611 [C99-based standards] (strtold): Likewise.
29612 [C99-based standards] (strtoll): Likewise.
29613 [C99-based standards] (strtoull): Likewise.
29614 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
29615 [ISO || ISO99 || ISO11] (limits.h): Likewise.
29616 [ISO || ISO99 || ISO11] (math.h): Likewise.
29617 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
29618 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
29619 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29621 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
29624 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
29625 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
29626 * intl/dgettext.c (DCGETTEXT): Likewise.
29627 * intl/gettext.c (DCGETTEXT): Likewise.
29628 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
29629 * posix/regex_internal.h (gettext): Likewise.
29630 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
29631 Remove declaration.
29632 * include/argz.h (__argz_count_internal)
29633 (__argz_stringify_internal): Remove declaration.
29634 (__argz_count, __argz_stringify): Declare hidden proto.
29635 * intl/dcgettext.c: Remove use of INTDEF.
29636 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
29637 * string/argz-stringify.c: Likewise.
29638 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
29639 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
29640 Declare hidden proto.
29641 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
29642 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
29643 Declare hidden proto.
29644 * include/stdio.h (__asprintf_internal): Don't declare.
29645 (__asprintf): Don't define as macro. Declare hidden proto.
29646 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
29647 (__fsetlocking): Declare hidden proto.
29648 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
29649 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
29651 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
29652 (_IO_setlinebuf): Remove use of INTUSE.
29653 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
29654 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
29655 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
29656 Remove declaration.
29657 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
29658 (_IO_do_flush): Remove use of INTUSE.
29659 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
29660 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
29661 (_IO_adjust_column, _IO_least_wmarker)
29662 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
29663 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
29664 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
29665 (_IO_default_doallocate, _IO_wdefault_doallocate)
29666 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
29667 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
29668 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
29669 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
29670 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
29671 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
29672 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
29673 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
29674 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
29675 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
29676 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
29677 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
29678 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
29680 (_IO_flush_all_internal, _IO_adjust_column_internal)
29681 (_IO_default_uflow_internal, _IO_default_finish_internal)
29682 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
29683 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
29684 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
29685 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
29686 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
29687 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
29688 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
29689 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
29690 (_IO_file_close_internal, _IO_file_close_it_internal)
29691 (_IO_file_underflow_internal, _IO_file_overflow_internal)
29692 (_IO_file_init_internal, _IO_file_attach_internal)
29693 (_IO_file_fopen_internal, _IO_file_read_internal)
29694 (_IO_file_sync_internal, _IO_file_seek_internal)
29695 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
29696 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
29697 (_IO_str_underflow_internal, _IO_str_overflow_internal)
29698 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
29699 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
29700 (_IO_list_all_internal, _IO_link_in_internal)
29701 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
29702 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
29703 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
29704 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
29705 (_IO_do_write_internal, _IO_padn_internal)
29706 (_IO_getline_info_internal, _IO_getline_internal)
29707 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
29708 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
29709 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
29710 (_IO_vfscanf_internal, _IO_vfprintf_internal)
29711 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
29712 (_IO_init_internal, _IO_un_link_internal): Don't declare.
29713 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
29714 with libc_hidden_ver, remove use of INTUSE.
29715 * libio/genops.c: Likewise.
29716 * libio/freopen.c: Likewise.
29717 * libio/freopen64.c: Likewise.
29718 * libio/iofclose.c: Likewise.
29719 * libio/iofdopen.c: Likewise.
29720 * libio/iofflush.c: Likewise.
29721 * libio/iofflush_u.c: Likewise.
29722 * libio/iofgets.c: Likewise.
29723 * libio/iofgets_u.c: Likewise.
29724 * libio/iofopen.c: Likewise.
29725 * libio/iofopncook.c: Likewise.
29726 * libio/iofread.c: Likewise.
29727 * libio/iofread_u.c: Likewise.
29728 * libio/ioftell.c: Likewise.
29729 * libio/iofwrite.c: Likewise.
29730 * libio/iogetline.c: Likewise.
29731 * libio/iogets.c: Likewise.
29732 * libio/iogetwline.c: Likewise.
29733 * libio/iopadn.c: Likewise.
29734 * libio/iopopen.c: Likewise.
29735 * libio/ioseekoff.c: Likewise.
29736 * libio/ioseekpos.c: Likewise.
29737 * libio/iosetbuffer.c: Likewise.
29738 * libio/iosetvbuf.c: Likewise.
29739 * libio/ioungetc.c: Likewise.
29740 * libio/ioungetwc.c: Likewise.
29741 * libio/iovdprintf.c: Likewise.
29742 * libio/iovsprintf.c: Likewise.
29743 * libio/iovsscanf.c: Likewise.
29744 * libio/memstream.c: Likewise.
29745 * libio/obprintf.c: Likewise.
29746 * libio/oldfileops.c: Likewise.
29747 * libio/oldiofclose.c: Likewise.
29748 * libio/oldiofdopen.c: Likewise.
29749 * libio/oldiofopen.c: Likewise.
29750 * libio/oldiopopen.c: Likewise.
29751 * libio/oldstdfiles.c: Likewise.
29752 * libio/putc.c: Likewise.
29753 * libio/setbuf.c: Likewise.
29754 * libio/setlinebuf.c: Likewise.
29755 * libio/stdfiles.c: Likewise.
29756 * libio/strops.c: Likewise.
29757 * libio/vasprintf.c: Likewise.
29758 * libio/vscanf.c: Likewise.
29759 * libio/vsnprintf.c: Likewise.
29760 * libio/vswprintf.c: Likewise.
29761 * libio/wfiledoalloc.c: Likewise.
29762 * libio/wfileops.c: Likewise.
29763 * libio/wgenops.c: Likewise.
29764 * libio/wmemstream.c: Likewise.
29765 * libio/wstrops.c: Likewise.
29766 * libio/__fpurge.c: Likewise.
29767 * libio/__fsetlocking.c: Likewise.
29768 * assert/assert.c: Likewise.
29769 * debug/fgets_chk.c: Likewise.
29770 * debug/fgets_u_chk.c: Likewise.
29771 * debug/fread_chk.c: Likewise.
29772 * debug/fread_u_chk.c: Likewise.
29773 * debug/gets_chk.c: Likewise.
29774 * debug/obprintf_chk.c: Likewise.
29775 * debug/vasprintf_chk.c: Likewise.
29776 * debug/vdprintf_chk.c: Likewise.
29777 * debug/vsnprintf_chk.c: Likewise.
29778 * debug/vsprintf_chk.c: Likewise.
29779 * malloc/mtrace.c: Likewise.
29780 * misc/error.c: Likewise.
29781 * misc/syslog.c: Likewise.
29782 * stdio-common/asprintf.c: Likewise.
29783 * stdio-common/fxprintf.c: Likewise.
29784 * stdio-common/getw.c: Likewise.
29785 * stdio-common/isoc99_fscanf.c: Likewise.
29786 * stdio-common/isoc99_scanf.c: Likewise.
29787 * stdio-common/isoc99_vfscanf.c: Likewise.
29788 * stdio-common/isoc99_vscanf.c: Likewise.
29789 * stdio-common/isoc99_vsscanf.c: Likewise.
29790 * stdio-common/printf-prs.c: Likewise.
29791 * stdio-common/printf_fp.c: Likewise.
29792 * stdio-common/printf_fphex.c: Likewise.
29793 * stdio-common/printf_size.c: Likewise.
29794 * stdio-common/putw.c: Likewise.
29795 * stdio-common/scanf.c: Likewise.
29796 * stdio-common/sprintf.c: Likewise.
29797 * stdio-common/tmpfile.c: Likewise.
29798 * stdio-common/vfprintf.c: Likewise.
29799 * stdio-common/vfscanf.c: Likewise.
29800 * stdlib/strfmon_l.c: Likewise.
29801 * sunrpc/openchild.c: Likewise.
29802 * sunrpc/xdr_stdio.c: Likewise.
29803 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
29804 * sysdeps/mach/hurd/tmpfile.c: Likewise.
29806 2012-05-24 Roland McGrath <roland@hack.frob.com>
29808 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
29810 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
29811 in the third column, to generate for the shared library an IFUNC
29812 that uses _dl_vdso_vsym.
29813 * Makerules (COMPILE.c, compile-stdin.c): New variables.
29814 * Makeconfig (object-suffixes-noshared): New variable.
29816 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
29817 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
29818 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
29819 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
29822 * include/sys/time.h (__gettimeofday): Remove macro.
29823 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
29824 * time/gettimeofday.c (__gettimeofday): Remove #undef.
29826 (__gettimeofday): Add libc_hidden_def.
29827 (gettimeofday): Add libc_hidden_weak.
29828 * sysdeps/mach/gettimeofday.c: Likewise.
29829 * sysdeps/posix/gettimeofday.c: Likewise.
29830 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
29831 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
29832 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
29833 (__gettimeofday_internal): Remove strong_alias.
29834 (__gettimeofday): Add libc_hidden_def.
29835 (gettimeofday): Add libc_hidden_weak.
29836 * sysdeps/unix/syscalls.list (gettimeofday):
29837 Remove __gettimeofday_internal alias.
29839 2012-05-24 Daniel Jacobowitz <drow@false.org>
29840 H.J. Lu <hongjiu.lu@intel.com>
29843 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
29844 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
29845 (largebin_index_32_big): New.
29846 (largebin_index): Use it for 16-byte alignment.
29847 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
29848 correction with front_misalign.
29850 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
29852 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
29853 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
29855 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
29857 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
29859 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
29861 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
29863 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
29865 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
29867 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
29869 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
29871 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
29873 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
29875 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
29878 * scripts/data/c++-types-x32-linux-gnu.data: New file.
29879 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
29881 2012-05-24 Joseph Myers <joseph@codesourcery.com>
29885 * math/libm-test.inc (exp_test): Add test from bug 14036.
29886 (pow_test): Add test from bug 10846.
29888 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
29890 (special_function): Do not include flags in test name.
29891 (parse_args): Likewise.
29892 * sysdeps/i386/fpu/libm-test-ulps: Update.
29893 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29894 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
29895 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
29896 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29898 * math/gen-libm-test.pl (%beautify): Add entries for underflow
29900 * math/libm-test.inc ("Philosophy"): Update comment about
29902 (UNDERFLOW_EXCEPTION): New macro.
29903 (UNDERFLOW_EXCEPTION_OK): Likewise.
29904 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
29905 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
29906 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
29907 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
29908 (INVALID_EXCEPTION_OK): Update value.
29909 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
29910 (OVERFLOW_EXCEPTION_OK): Likewise.
29911 (IGNORE_ZERO_INF_SIGN): Likewise.
29912 (test_exceptions): Handle underflow exceptions.
29913 (acos_test): Update for underflow exception expectations.
29914 (cexp_test): Likewise.
29915 (clog_test): Likewise.
29916 (clog10_test): Likewise.
29917 (csqrt_test): Likewise.
29918 (ctan_test): Likewise.
29919 (ctanh_test): Likewise.
29920 (exp_test): Likewise.
29921 (exp10_test): Likewise.
29922 (exp2_test): Likewise.
29923 (expm1_test): Likewise.
29924 (fma_test): Likewise.
29925 (j0_test): Likewise.
29926 (jn_test): Likewise.
29927 (nexttoward_test): Likewise.
29928 (pow_test): Likewise.
29929 (scalbn_test): Likewise.
29930 (scalbln_test): Likewise.
29931 (tan_test): Likewise.
29932 (y1_test): Likewise.
29933 * sysdeps/i386/fpu/libm-test-ulps: Update.
29934 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29936 2012-05-23 David S. Miller <davem@davemloft.net>
29938 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
29939 (__libc_sigaction): Remove unused local variables.
29941 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
29943 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
29945 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
29947 mktime: avoid signed integer overflow
29948 * time/mktime.c (__mktime_internal): Do not mishandle the case
29949 where diff == INT_MIN.
29951 mktime: simplify computation of average
29952 * time/mktime.c (ranged_convert): Use new time_t_avg function
29953 instead of rolling our own (probably-slower) code.
29955 mktime: do not assume signed right shift propagates sign bit
29956 * time/mktime.c (isdst_differ): New static function.
29957 (__mktime_internal): No need to normalize tm_isdst now.
29958 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
29961 mktime: merge another wrapv change from gnulib
29962 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
29963 from some compilers.
29965 mktime: remove incorrect attempt at unusual arithmetics
29966 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
29967 The code didn't really work on such machines anyway.
29968 (TYPE_MINIMUM): Assume two's complement.
29969 (twos_complement_arithmetic): Verify that long_int and time_t
29970 are two's complement (or unsigned, in the latter case).
29972 mktime: check signed shifts on long_int and time_t, too
29973 * time/mktime.c (SHR): Check that shifts work as desired
29974 on the types long_int and time_t too, as SHR is used on
29977 mktime: do not assume 'long' is wide enough
29978 * time/mktime.c (verify): Move decl up.
29979 (long_int): New type.
29980 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
29981 to remove assumption in the code that 'long' is wide enough to
29982 store year values. This assumption is not true on x32 and on
29983 some non-glibc platforms.
29985 mktime: merge wrapv change from gnulib
29986 * time/mktime.c (WRAPV): New macro.
29987 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
29988 (guess_time_tm, __mktime_internal): Do not assume that signed
29989 integer overflow wraps around; modern compilers generate code
29990 where this assumption is no longer valid.
29992 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
29994 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
29995 Replace "jmp L(pseudo_end)" with "ret".
29996 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
29999 2012-05-23 Andreas Jaeger <aj@suse.de>
30001 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
30002 * sysdeps/unix/sysv/linux/poll.c: Remove file.
30004 2012-05-23 Andreas Jaeger <aj@suse.de>
30005 Maximilian Attems <max@stro.at>
30007 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
30010 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
30012 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
30013 code so that pseudo_end is just ret and the stack pointer is
30014 correct also for static library in error case.
30016 2012-05-23 Joseph Myers <joseph@codesourcery.com>
30018 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
30019 move to syscalls.list.
30020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
30021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
30022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
30023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
30025 * manual/install.texi (Running make install): Do not mention Linux
30026 kernel version for which pt_chown is not needed.
30027 (Linux): Do not mention problems with nscd with 2.0 kernels.
30028 * INSTALL: Regenerated.
30030 2012-05-23 Andreas Jaeger <aj@suse.de>
30032 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
30033 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
30035 * sysdeps/unix/sysv/linux/s390/bits/mman.h
30036 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30037 * sysdeps/unix/sysv/linux/sh/bits/mman.h
30038 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30039 * sysdeps/unix/sysv/linux/i386/bits/mman.h
30040 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30041 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
30042 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30043 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
30044 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30045 * sysdeps/unix/sysv/linux/bits/in.h
30046 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
30048 2012-05-22 Roland McGrath <roland@hack.frob.com>
30050 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
30051 (PREPARE_VERSION): Just use assert instead, it will be elided
30052 under [NDEBUG] anyway.
30054 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
30056 * sysdeps/unix/sysv/linux/Makefile: Include
30057 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
30058 (sysdep_routines): Remove sysctl.
30059 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
30060 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
30061 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
30062 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
30063 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
30065 2012-05-22 Andreas Jaeger <aj@suse.de>
30067 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
30068 that pseudo_end is just ret and the stack pointer is correct also
30069 for static library in error case.
30071 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
30074 * nss/nsswitch.c (defconfig_entries): New variable.
30075 (__nss_database_lookup): Don't leak defconfig entries.
30076 (nss_parse_service_list): Don't leak on error paths.
30077 (free_database_entries): New function.
30078 (free_defconfig): New function.
30079 (free_mem): Move common code to free_database_entries.
30081 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
30083 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
30085 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
30087 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
30088 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
30089 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
30091 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
30092 (INTERNAL_SYSCALL_TYPES): Likewise.
30093 (LOAD_ARGS_TYPES_[1-6]): Likewise.
30094 (LOAD_REGS_TYPES_[1-6]): Likewise.
30095 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
30096 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
30098 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30100 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
30101 copysignl for GLIBC_2_0.
30102 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
30103 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
30104 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
30105 logbl for GLIBC_2_0.
30106 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
30107 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
30109 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
30111 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
30112 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
30114 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
30117 * time/mktime.c: Update copyright years.
30119 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
30121 mktime: merge comment-quoting-style change from gnulib
30122 * time/mktime.c: Quote 'like this' in comments.
30123 The GNU coding standards suggest that we no longer quote `like this',
30124 as "`" and "'" are typically rendered asymmetrically nowadays.
30125 The typical gnulib style is to quote 'like this' when quoting
30126 code, and "like this" when quoting English.
30128 * time/mktime.c (compile-command): Add "-I.".
30130 mktime: merge mktime-internal.h change from gnulib
30131 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
30133 mktime: merge time_r change from gnulib
30134 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
30136 mktime: merge DEBUG change from gnulib
30137 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
30138 case system <time.h> has a #define.
30140 mktime: merge <sys/types.h> change from gnulib
30141 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
30142 since <time.t> is now guaranteed to define time_t.
30144 mktime: merge HAVE_CONFIG_H change from gnulib
30145 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
30147 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
30149 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
30152 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
30154 (struct rusage): Use anonymous union to pad each field to
30157 2012-05-21 David S. Miller <davem@davemloft.net>
30159 * Makefules (o-iterator): Remove .s cases.
30160 (compile-command.s): Delete.
30161 (COMPILE.s): Delete.
30162 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
30164 2012-05-21 Joseph Myers <joseph@codesourcery.com>
30166 * configure.in (libc_cv_predef_stack_protector): Only consider
30167 "foobar" and "__stack_chk_fail" lines in libc_undefs.
30168 * configure: Regenerated.
30170 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
30172 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
30173 New macro. Use R*LP on int and pointer.
30174 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
30175 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
30176 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
30177 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
30179 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
30180 [__WORDSIZE_TIME64_COMPAT32] instead of
30181 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
30182 (struct utmp): Likewise.
30183 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
30184 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
30186 (__WORDSIZE_TIME64_COMPAT32): This.
30187 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
30188 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
30189 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
30190 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
30191 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
30192 (__WORDSIZE_TIME64_COMPAT32): New macro.
30194 2012-05-21 Andreas Jaeger <aj@suse.de>
30196 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
30197 only if [SHARED]. Add prototype for __wcschr_ia32.
30199 2012-05-21 Roland McGrath <roland@hack.frob.com>
30201 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
30202 of %rbp unmolested in the jmp_buf while mangling the low bits.
30203 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
30204 unmolested high bits of %rbp while demangling the low bits.
30205 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
30207 2012-05-21 Andreas Jaeger <aj@suse.de>
30209 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
30210 * sunrpc/svc_simple.c: Use it for registerrpc.
30211 * sunrpc/xcrypt.c: Use it for passwd2des.
30213 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
30215 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
30217 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
30218 Don't define if [__SYSCALL_WORDSIZE != 32].
30219 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
30222 2012-05-21 Bruno Haible <bruno@clisp.org>
30223 Andreas Jaeger <aj@suse.de>
30225 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
30226 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
30227 inptr and inend for must_buffer_ch.
30228 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
30229 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
30230 * stdio-common/Makefile (tests): Remove bug15.
30231 (bug15-ENV): Remove macro.
30232 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
30235 2012-05-19 Andreas Jaeger <aj@suse.de>
30236 Roland McGrath <roland@hack.frob.com>
30238 * manual/contrib.texi: Completely rewritten. It contains now an
30239 alphabetical list of contributors and their contributions.
30241 2012-05-21 Richard Henderson <rth@twiddle.net>
30243 * misc/getauxval.c (__getauxval): Use unsigned long int.
30244 * misc/sys/auxv.h: Include <sys/cdefs.h>.
30245 (getauxval): Use unsigned long int.
30247 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
30249 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
30251 2012-05-21 Roland McGrath <roland@hack.frob.com>
30253 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
30254 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
30255 __alignof__ (long double).
30257 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30259 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30261 2012-05-20 Richard Henderson <rth@twiddle.net>
30263 * misc/getauxval.c: New file.
30264 * misc/sys/auxv.h: New file.
30265 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
30266 (routines): Add getauxval.
30267 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
30268 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
30269 * elf/dl-sysdep.c (_dl_auxv): Remove.
30270 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
30271 * elf/dl-support.c (_dl_auxv): New variable.
30272 (_dl_aux_init): Initialize it.
30273 * manual/startup.texi (Auxiliary Vector): New node.
30274 * sysdeps/generic/bits/hwcap.h: New file.
30275 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
30276 * sysdeps/powerpc/sysdep.h: ... here. Include it.
30277 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
30278 * sysdeps/sparc/sysdep.h: ... here. Include it.
30279 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
30280 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
30281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
30284 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
30285 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
30286 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
30287 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
30288 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
30289 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
30290 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
30292 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30294 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30296 2012-05-19 David S. Miller <davem@davemloft.net>
30298 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30300 2012-05-19 Joseph Myers <joseph@codesourcery.com>
30303 * math/s_ccosh.c: Include <float.h>
30304 (__ccosh): Avoid internal overflow calculating sinh and cosh
30305 values before multiplying by sin and cos values.
30306 * math/s_ccoshf.c: Likewise.
30307 * math/s_ccoshl.c: Likewise.
30308 * math/s_csin.c: Likewise.
30309 * math/s_csinf.c: Likewise.
30310 * math/s_csinl.c: Likewise.
30311 * math/s_csinh.c: Likewise.
30312 * math/s_csinhf.c: Likewise.
30313 * math/s_csinhl.c: Likewise.
30314 * math/libm-test.inc (ccos_test): Add more tests.
30315 (ccosh_test): Likewise.
30316 (csin_test): Likewise.
30317 (csinh_test): Likewise.
30318 * sysdeps/i386/fpu/libm-test-ulps: Update.
30319 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30321 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
30323 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
30324 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
30326 * sysdeps/x86_64/x32/_itoa.h: Add comment.
30328 2012-05-19 Joseph Myers <joseph@codesourcery.com>
30330 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
30331 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
30332 * sysdeps/powerpc/soft-fp/Versions: Likewise.
30333 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
30334 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
30335 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
30336 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
30337 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
30338 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
30339 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
30340 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
30341 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
30342 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
30343 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
30344 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
30345 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
30346 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
30347 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
30348 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
30349 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
30350 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
30351 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
30352 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
30353 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
30354 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
30355 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
30356 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
30357 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
30358 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
30359 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
30360 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
30362 2012-05-18 Andreas Jaeger <aj@suse.de>
30364 * csu/.gitignore: Delete.
30366 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
30368 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
30369 (timex): Use __syscall_slong_t.
30371 2012-05-18 Andreas Jaeger <aj@suse.de>
30372 Carlos O'Donell <carlos_odonell@mentor.com>
30374 * manual/install.texi (Configuring and compiling): Update
30375 description about files modified in the source directory.
30376 * INSTALL: Regenerated.
30378 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
30380 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
30381 value. Use "or" to set return value to -1.
30382 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
30383 negate return value.
30385 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30387 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
30388 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
30389 failure if the compiler has Graphite support disabled.
30390 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
30392 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
30393 (CFLAGS-memmove.c): Likewise.
30394 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
30397 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
30399 * sysdeps/x86_64/x32/_itoa.h: New file.
30401 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
30402 getdents system call only if kernel and user dirents have the
30403 same d_ino and d_off.
30405 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
30406 LLONG_MAX != LONG_MAX.
30407 (_itoa_word): Use _ITOA_WORD_TYPE on value.
30408 (_fitoa_word): Likewise.
30410 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
30412 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
30413 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
30414 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
30416 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
30417 include <bits/wordsize.h>. Check __x86_64__ instead of
30419 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
30420 if __x86_64__ is defined. Use anonymous union on fpstate.
30422 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
30425 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
30427 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
30428 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
30429 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
30430 Refer to _rtld_local_ro instead of _rtld_global_ro.
30431 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
30433 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
30435 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
30437 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
30438 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
30439 of _rtld_global, and rtld_progname instead of _dl_argv[0].
30441 * sysdeps/powerpc/powerpc32/dl-machine.c
30442 (__elf_machine_runtime_setup) [PROF]: Don't reference
30445 2012-05-18 Andreas Jaeger <aj@suse.de>
30447 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
30448 function only available for GCCs before 3.4 since GCC 3.4
30449 introduced a builtin.
30451 (llrintf): Likewise.
30452 (llrint): Likewise.
30459 (nearbyint): Likewise.
30460 (nearbyintf): Likewise.
30464 (floorf): Likewise.
30466 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
30468 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
30469 on both fields and cast pointer to __syscall_ulong_t.
30471 * bits/types.h (__fsword_t): New type.
30472 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
30473 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
30474 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30475 (__FSWORD_T_TYPE): Likewise.
30476 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30477 (__FSWORD_T_TYPE): Likewise.
30478 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30479 (__FSWORD_T_TYPE): Likewise.
30480 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
30481 (__FSWORD_T_TYPE): Likewise.
30482 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
30483 __SWORD_TYPE with __fsword_t.
30484 (statfs64): Likewise.
30486 2012-05-17 David S. Miller <davem@davemloft.net>
30488 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
30490 2012-05-17 Andreas Jaeger <aj@suse.de>
30492 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
30495 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
30497 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
30499 2012-05-17 Andreas Jaeger <aj@suse.de>
30501 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
30504 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
30506 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
30508 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
30510 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
30511 * sysdeps/x86_64/tst-mallocalign1.c: New file.
30513 2012-05-17 Andreas Jaeger <aj@suse.de>
30514 Carlos O'Donell <carlos_odonell@mentor.com>
30517 * sysdeps/x86_64/multiarch/init-arch.h
30518 (bit_YMM_Usable): Rename to...
30519 (bit_AVX_Usable): ... this.
30520 (bit_FMA4_Usable): New macro.
30521 (bit_XMM_state): New macro.
30522 (bit_YMM_state): New macro.
30523 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
30524 [__ASSEMBLER__] (index_AVX_Usable): ... this.
30525 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
30526 (CPUID_OSXSAVE): New macro.
30527 (CPUID_AVX): New macro.
30528 (CPUID_FMA4): New macro.
30529 (index_YMM_Usable): Rename to...
30530 (index_AVX_Usable): ... this.
30531 (HAS_AVX): Use HAS_ARCH_FEATURE.
30532 (HAS_FMA4): Likewise.
30533 (HAS_YMM_USABLE): Remove.
30534 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30535 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
30537 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
30538 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
30539 * sysdeps/x86_64/multiarch/Makefile: Likewise.
30540 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
30541 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
30543 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
30545 * math/libm-test.c: Support platforms without multiple rounding modes.
30546 * math/bug-nextafter.c: Support platforms without FP exceptions.
30547 * math/bug-nexttoward.c: Likewise.
30548 * math/test-fenv.c: Likewise.
30549 * math/test-misc.c: Likewise.
30550 * stdlib/bug-getcontext.c: Likewise.
30552 2012-05-17 Andreas Jaeger <aj@suse.de>
30554 * manual/examples/search.c (critter_cmp): Change signature to
30556 * manual/string.texi (Collation Functions): Likewise.
30558 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30560 * bits/types.h: Fold copyright years.
30561 * bits/typesizes.h: Likewise.
30562 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
30563 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
30564 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
30565 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
30566 * time/time.h: Likewise.
30568 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
30571 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
30572 in instead of returning them. Return void.
30573 (__libc_mallinfo): Accumulate over all arenas.
30574 (__malloc_stats): Adjust for change in int_mallinfo interface.
30576 2012-05-16 Roland McGrath <roland@hack.frob.com>
30579 * configure.in (NM): Add AC_CHECK_TOOL for it.
30580 (libc_extra_cflags): New substituted variable.
30581 Check for -fstack-protector being used implicitly.
30582 * configure: Regenerated.
30583 * config.make.in (config-extra-cflags): New variable,
30584 gets @libc_extra_cflags@.
30585 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
30588 * configure.in: Check for _FORTIFY_SOURCE being predefined.
30589 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
30590 * configure: Regenerated.
30591 * config.make.in (CPPUNDEFS): New substituted variable.
30592 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
30593 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
30594 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
30596 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30598 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
30599 (mq_attr): Use __syscall_slong_t.
30601 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30603 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
30604 Check __x86_64__ instead of __WORDSIZE.
30605 (_STAT_VER_LINUX): Likewise.
30606 (stat): Check __x86_64__ instead of __WORDSIZE. Use
30607 __syscall_ulong_t and __syscall_slong_t.
30608 (stat64): Likewise.
30610 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30612 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
30614 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30616 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
30618 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30620 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
30623 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
30624 include <bits/wordsize.h>. Check __x86_64__ instead of
30626 (greg_t): Use "__extension__ long long int" if __x86_64__ is
30628 (mcontext_t): Replace "unsigned long" with "unsigned long long".
30630 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
30631 include <bits/wordsize.h>. Check __x86_64__ instead of
30633 (user_regs_struct): Use "__extension__ unsigned long long"
30634 instead of "unsigned long" if __x86_64__ is defined.
30635 (user): Likewise. Pad after pointer field if __ILP32__ is
30638 2012-05-16 Joseph Myers <joseph@codesourcery.com>
30640 * configure.in (makeinfo): Require version 4.5 or later. Allow
30642 * configure: Regenerated.
30643 * manual/install.texi (texinfo): Increase version requirement to
30645 * INSTALL: Regenerated.
30647 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
30649 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30651 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
30653 * sysdeps/x86_64/x32/ffs.c: New file.
30655 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
30657 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
30658 defined. Use __syscall_ulong_t.
30659 (shminfo): Use __syscall_ulong_t.
30660 (shm_info): Likewise.
30662 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
30665 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
30667 (msgqnum_t): Use __syscall_ulong_t.
30668 (msglen_t): Likewise.
30669 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
30672 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
30673 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
30675 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
30677 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
30678 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
30680 * sysvipc/sys/msg.h (msgbuf): Replace long int with
30683 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
30684 include <bits/wordsize.h>. Check __x86_64__ instead of
30687 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
30688 "unsigned long long int" if __x86_64__ is defined.
30689 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
30691 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
30692 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
30693 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
30695 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
30697 (GET_PC): Cast to uintptr_t first.
30698 (GET_FRAME): Likewise.
30699 (GET_STACK): Likewise.
30701 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
30702 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
30703 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
30704 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
30705 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
30706 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
30707 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
30708 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
30709 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
30710 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
30711 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
30712 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
30713 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
30714 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
30715 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
30716 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
30717 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
30718 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
30719 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
30720 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
30721 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
30722 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
30723 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
30724 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
30725 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
30726 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
30727 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
30728 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
30729 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
30731 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
30733 * Makerules (+depfiles): Also collect depfiles from .oS in
30735 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
30736 .oS, $(libnldbl-routines)).
30738 * Makerules (native-compile-mkdep-flags): Define.
30739 * sunrpc/Makefile (extra-objs): Add $(addprefix
30740 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
30741 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
30742 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
30743 calling $(make-target-directory).
30745 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30747 * bits/types.h (__snseconds_t): Removed.
30748 * time/time.h (struct timespec): Replace __snseconds_t with
30750 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
30751 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
30753 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30754 (__SNSECONDS_T_TYPE): Likewise.
30755 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30756 (__SNSECONDS_T_TYPE): Likewise.
30757 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30758 (__SNSECONDS_T_TYPE): Likewise.
30760 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30762 * sysdeps/mach/hurd/bits/typesizes.h
30763 (__SYSCALL_SLONG_TYPE): New macro.
30764 (__SYSCALL_ULONG_TYPE): Likewise.
30766 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30768 * bits/types.h (__syscall_slong_t): New type.
30769 (__syscall_ulong_t): Likewise.
30771 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
30772 (__SYSCALL_ULONG_TYPE): Likewise.
30773 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30774 (__SYSCALL_SLONG_TYPE): Likewise.
30775 (__SYSCALL_ULONG_TYPE): Likewise.
30776 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30777 (__SYSCALL_SLONG_TYPE): Likewise.
30778 (__SYSCALL_ULONG_TYPE): Likewise.
30779 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30780 (__SYSCALL_SLONG_TYPE): Likewise.
30781 (__SYSCALL_ULONG_TYPE): Likewise.
30783 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30785 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
30786 Add sigaltstack-offsets.sym.
30787 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
30788 <sigaltstack-offsets.h>.
30789 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
30790 longjmp_msg pointer.
30791 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
30792 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
30794 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
30796 2012-05-15 Joseph Myers <joseph@codesourcery.com>
30798 * elf/stackguard-macros.h: Remove file.
30799 * sysdeps/generic/stackguard-macros.h: New file.
30800 * sysdeps/i386/stackguard-macros.h: Likewise.
30801 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
30802 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
30803 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
30804 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
30805 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
30806 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
30807 * sysdeps/x86_64/stackguard-macros.h: Likewise.
30808 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
30809 <elf/stackguard-macros.h>.
30812 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
30813 __aligned__ in attribute.
30814 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
30815 (gregset_t): Likewise.
30817 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30819 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
30820 * sysdeps/x86_64/64/Implies-after: Here. New file.
30821 * sysdeps/x86_64/x32/Implies-after: New file.
30823 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30825 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
30826 and access return value for _dl_profile_fixup. Use R10_LP to
30829 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30831 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
30833 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30835 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
30836 * sysdeps/x86_64/x32/sysdep.h: New file.
30838 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30840 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
30841 * sysdeps/x86_64/setjmp.S: Likewise.
30843 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30845 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
30846 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
30847 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
30848 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
30849 remove unused global constant.
30851 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
30853 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
30854 include of <not-cancel.h>.
30856 2012-05-15 Roland McGrath <roland@hack.frob.com>
30858 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
30860 2012-05-15 Jeff Law <law@redhat.com>
30861 Andreas Jaeger <aj@suse.de>
30864 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
30866 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
30867 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
30868 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
30869 code changing __hst_map_handle.map.
30871 2012-05-15 Roland McGrath <roland@hack.frob.com>
30873 * configure.in (sysnames): Look for Implies-before and Implies-after
30875 * configure: Regenerated.
30877 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30879 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
30880 8-byte data alignment with LP_SIZE alignment.
30882 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30884 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
30887 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30889 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
30891 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30893 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
30894 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
30895 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
30897 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
30899 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30901 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
30902 (stackinfo_sub_sp): Likewise.
30904 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30906 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
30909 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30911 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
30914 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30916 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
30919 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30921 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
30923 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30925 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
30926 into R11_LP and load __x86_64_shared_cache_size_half into
30929 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30931 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
30934 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30936 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
30938 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
30940 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
30942 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
30943 powerpc32/power7/fpu/s_logb.c via #include.
30944 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
30945 powerpc32/power7/fpu/s_logbf.c via #include.
30946 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
30947 powerpc32/power7/fpu/s_logbl.c via #include.
30949 2012-05-15 Joseph Myers <joseph@codesourcery.com>
30951 * README.libm: Remove file.
30953 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30955 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
30956 count for x32. Use R*_LP and omit operand-size suffix.
30958 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30960 * shlib-versions: Move x86_64-.*-linux.* entries to ...
30961 * sysdeps/x86_64/64/shlib-versions: Here. New file.
30962 * sysdeps/x86_64/x32/shlib-versions: New file.
30964 2012-05-14 Roland McGrath <roland@hack.frob.com>
30966 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
30967 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
30968 Use _dl_fatal_printf instead.
30970 2012-05-14 Joseph Myers <joseph@codesourcery.com>
30972 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
30973 set if not set by the user. Do not allow for being unset.
30974 * sysdeps/unix/sysv/linux/configure: Regenerated.
30976 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30978 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
30979 the `q' suffix from lea and replace .quad with ASM_ADDR.
30981 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30983 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
30984 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
30986 (PTR_DEMANGLE): Likewise.
30988 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30990 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
30992 (ASM_ADDR): Likewise.
30993 (RAX_LP): Likewise.
30994 (RBP_LP): Likewise.
30995 (RBX_LP): Likewise.
30996 (RCX_LP): Likewise.
30997 (RDI_LP): Likewise.
30998 (RSI_LP): Likewise.
30999 (RSP_LP): Likewise.
31002 (R10_LP): Likewise.
31003 (R10_LP): Likewise.
31004 (R11_LP): Likewise.
31005 (R12_LP): Likewise.
31006 (R13_LP): Likewise.
31007 (R14_LP): Likewise.
31008 (R15_LP): Likewise.
31010 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31012 * sysdeps/x86_64/x32/dl-machine.h: New file.
31014 2012-05-14 Andreas Jaeger <aj@suse.de>
31016 * manual/Makefile (subdir): Remove export of subdir.
31017 (all): Remove target.
31018 (.PHONY): Remove all from list.
31019 (mkinstalldirs): Remove.
31020 (.PHONY): Remove installdirs from list.
31021 ($(inst_infodir)/libc.info): Use make-target-directory.
31022 (installdirs): Remove.
31023 (subdir_%): Remove.
31024 (glibc-targets): Remove.
31027 ($(objpfx)stubs ../po/manual.pot): Remove.
31028 ($(objpfx)stamp%): Remove.
31029 (make-target-directory): Remove.
31030 (subdir_install): Remove.
31031 (routines): Remove.
31038 * manual/.gitignore: Remove, it's not needed anymore.
31039 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
31041 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
31043 (texis): Renamed to $(objpfx)texis.
31044 (texis-path): New, contains path to generated files.
31045 (chapters.%): Use texis-path for complete path, add extra argument
31047 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
31048 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
31049 (summary,texi, stamp-summary): Use complete path of
31050 files. Generate files in build dir.
31051 (dir-add.texi): Build in build dir.
31052 (libm-err.texi,stamp-libm-err): Likewise.
31053 (version.texi, stamp-version): Likewise.
31054 (.%c.texi): Likewise.
31055 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
31056 (mostlyclean): Remove target.
31057 (realclean): Remove target.
31058 (generated): Add new variable with contents from mostlyclean and
31059 realclean, remove entries duplicated in common-mostlyclean, add
31060 stamp-libm-err and stamp-version.
31061 (generated-dirs): Add libc directory.
31062 ($(inst_infodir)/libc.info): Install files from build dir.
31064 * manual/install.texi (Configuring and compiling): Adjust since
31065 the info files are not part of the tar ball anymore.
31067 2012-05-14 Andreas Jaeger <aj@suse.de>
31069 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
31072 2012-05-14 Joseph Myers <joseph@codesourcery.com>
31075 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
31076 to 2.2.0 where earlier.
31077 * sysdeps/unix/sysv/linux/configure: Regenerated.
31078 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
31079 Remove conditional code.
31080 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
31081 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
31082 Remove conditional code.
31083 [!__NR_lchown]: Likewise.
31084 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
31085 [__NR_lchown]: Likewise.
31086 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
31087 comment referencing __ASSUME_LCHOWN_SYSCALL.
31088 * sysdeps/unix/sysv/linux/i386/sigaction.c
31089 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31090 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31091 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
31092 Remove conditional code.
31093 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
31094 (__protocol_available): Remove #if 0 code.
31095 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
31097 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
31098 * sysdeps/unix/sysv/linux/kernel-features.h
31099 (__ASSUME_GETCWD_SYSCALL): Don't define.
31100 (__ASSUME_REALTIME_SIGNALS): Likewise.
31101 (__ASSUME_PREAD_SYSCALL): Likewise.
31102 (__ASSUME_PWRITE_SYSCALL): Likewise.
31103 (__ASSUME_POLL_SYSCALL): Likewise.
31104 (__ASSUME_LCHOWN_SYSCALL): Likewise.
31105 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
31107 (__ASSUME_SIOCGIFNAME): Don't define.
31108 (__ASSUME_MSG_NOSIGNAL): Likewise.
31109 (__ASSUME_SENDFILE): Define unconditionally.
31110 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
31111 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
31113 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
31114 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
31115 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
31116 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
31117 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
31118 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
31119 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
31120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
31121 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31122 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
31124 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31125 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
31127 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31128 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
31130 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31131 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
31133 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31134 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
31136 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31137 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
31139 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31140 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
31142 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31143 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31144 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
31145 Remove conditional code.
31146 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31147 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
31148 Remove conditional code.
31149 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31150 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
31151 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
31152 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
31153 Remove conditional code.
31154 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31155 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
31156 Remove conditional code.
31157 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31158 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
31159 Remove conditional code.
31160 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31161 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
31162 Remove conditional code.
31163 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31164 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
31165 Remove conditional code.
31166 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31167 * sysdeps/unix/sysv/linux/sh/pwrite64.c
31168 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31169 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31170 * sysdeps/unix/sysv/linux/sigaction.c
31171 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31172 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31173 * sysdeps/unix/sysv/linux/sigpending.c
31174 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31175 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31176 * sysdeps/unix/sysv/linux/sigprocmask.c
31177 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31178 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31179 * sysdeps/unix/sysv/linux/sigsuspend.c
31180 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31181 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31182 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
31183 (__libc_missing_rt_sigs): Remove.
31184 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
31185 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
31186 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
31187 Remove conditional code.
31188 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
31189 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
31191 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
31192 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
31193 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
31194 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
31196 2012-05-14 Andreas Jaeger <aj@suse.de>
31198 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
31199 it's not used in glibc.
31200 (__coshm1): Likewise.
31201 (__acosh1p): Likewise.
31204 * manual/string.texi (Copying and Concatenation): Add missing
31205 variable in concat example.
31206 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
31208 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31211 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
31212 __builtin_clzl with __builtin_clzll.
31214 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31217 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
31220 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31222 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
31223 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
31224 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
31225 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
31227 2012-05-14 Mike Frysinger <vapier@gentoo.org>
31229 * NEWS: Update ia64 info.
31231 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
31233 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
31236 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
31238 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
31239 * sysdeps/unix/syscalls.list (dup3): Likewise.
31240 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
31241 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
31243 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
31245 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
31246 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
31248 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
31250 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
31252 (TLS_IE): Use mov/add instead of movq/addq to load thread
31254 (TLS_GD_PREFIX): New.
31257 2012-05-11 David S. Miller <davem@davemloft.net>
31259 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
31260 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
31261 (_FPU_SETCW): Likewise.
31263 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31265 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
31266 is 32-byte aligned.
31268 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
31271 * iconvdata/gb18030.c: Update tables.
31272 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
31273 characters specially.
31274 (BODY for TO_LOOP): Add encoding of missing ranges.
31276 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
31279 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
31280 * sysdeps/mach/hurd/dup3.c: Likewise.
31281 * sysdeps/mach/hurd/readlinkat.c: Likewise.
31282 * sysdeps/powerpc/memmove.c:: Likewise.
31284 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31286 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
31287 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
31289 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31291 * elf/elf.h (R_X86_64_RELATIVE64): New.
31292 (R_X86_64_NUM): Updated.
31293 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
31294 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
31295 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
31296 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
31297 tst-quad1pie tst-quad2pie
31298 (modules-names): Add tst-quadmod1 tst-quadmod2.
31299 ($(objpfx)tst-quad1): New dependency.
31300 ($(objpfx)tst-quad2): Likewise.
31301 ($(objpfx)tst-quad1pie): Likewise.
31302 ($(objpfx)tst-quad2pie): Likewise.
31303 * sysdeps/x86_64/tst-quad1.c: New file.
31304 * sysdeps/x86_64/tst-quad1pie.c: New file.
31305 * sysdeps/x86_64/tst-quad2.c: Likewise.
31306 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
31307 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
31308 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
31309 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
31310 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
31312 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31314 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
31315 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
31316 * streams/stropts.h (t_scalar_t): Define type.
31318 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
31319 (_PATH_PRESERVE): Set to "/var/lib".
31320 (_PATH_RWHODIR): Set to "/var/spool/rwho".
31322 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
31325 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
31326 if __dir_mkfile succeeded.
31328 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
31329 checking for _hurd_dtablesize. Unlock it right after having
31330 finished _hurd_dtable allocation.
31332 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31334 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
31335 * sysdeps/mach/hurd/configure: Regenerated.
31336 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
31337 special-casing to...
31338 * sysdeps/gnu/configure.in: ... this new file.
31339 * sysdeps/unix/sysv/linux/configure: Regenerated.
31340 * sysdeps/gnu/configure: New generated file.
31342 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
31343 for Linux: use nsec instead of usec, as well as:
31344 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
31345 members of type struct timespec.
31346 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
31348 (struct stat64): Likewise.
31349 (_STATBUF_ST_NSEC): New macro.
31350 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
31352 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
31353 __strtoul_internal rather than strtoul.
31355 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
31357 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
31360 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31362 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
31363 which preserves existing values.
31364 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
31366 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
31368 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
31369 TIMEOUT values. Return EINVAL for NFDS values either negative or
31370 greater than FD_SETSIZE.
31372 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31374 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
31375 allocated, call __vm_protect to finish enabling the existing space, and
31376 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
31377 allocate the remainder.
31379 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
31381 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
31382 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
31384 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31386 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
31387 sysdeps/mach/hurd/readlink.c.
31389 * posix/tst-sysconf.c (posix_options): Only use
31390 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
31391 _POSIX_SYNCHRONIZED_IO when they are defined
31392 * sysdeps/mach/hurd/bits/posix_opt.h:
31393 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
31394 (_XOPEN_REALTIME): Undefine macro.
31395 (_XOPEN_REALTIME_THREADS): Undefine macro.
31396 (_XOPEN_SHM): Undefine macro.
31397 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
31399 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
31401 (_POSIX_ASYNC_IO): Undefine macro.
31402 (_POSIX_PRIORITIZED_IO): Undefine macro.
31403 (_POSIX_SPIN_LOCKS): Define macro to -1.
31405 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
31406 SA_NODEFER, SA_RESETHAND.
31407 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
31408 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
31411 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31413 * elf/Makefile (pldd-modules): Define unconditionally.
31415 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31417 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
31419 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31421 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
31422 Return ENOENT when name is empty.
31423 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
31425 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31427 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
31429 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
31431 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31433 Fix mlock in all cases except non-readable pages.
31434 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
31435 instead of VM_PROT_ALL as parameter to __vm_wire function.
31437 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
31438 (__mkdir): When path is `/', just fail with EEXIST.
31439 * sysdeps/mach/hurd/mkdirat.c: Likewise.
31441 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31443 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
31444 <sys/uio.h> (for writev).
31445 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
31446 and <sys/param.h> (for MIN).
31448 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
31450 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
31451 REQUESTED_TIME. Properly set the remaining time and return EINTR
31454 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31456 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
31457 Depend on against $(link-rpcuserlibs).
31459 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31461 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
31462 (__libc_stack_end): Do not use attribute_relro.
31463 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
31464 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
31465 to libthread-provided value.
31466 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
31469 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31472 * bits/libc-lock.h (__libc_once_get): New macro.
31473 * sysdeps/mach/bits/libc-lock.h: Likewise.
31474 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
31475 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
31476 instead of using implementation details.
31478 * libio/fileops.c: Unconditionally include <kernel-features.h>.
31479 * libio/freopen.c: Likewise.
31480 * libio/freopen64.c: Likewise.
31481 * misc/syslog.c: Likewise.
31482 * nscd/connections.c: Likewise.
31483 * nscd/netgroupcache.c: Likewise.
31484 * sysdeps/posix/getcwd.c: Likewise.
31486 2012-05-10 Roland McGrath <roland@hack.frob.com>
31488 * math/w_ilogbf.c: Add #include <limits.h>.
31490 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31492 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
31493 path instead of returning without unlocking.
31495 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
31496 immediate-write ioctls.
31497 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
31499 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31501 * sysdeps/mach/hurd/i386/init-first.c (init): Use
31502 __builtin_frame_address instead of making assumptions about the
31503 location of the return address relative to DATA. Force early load of
31504 the return address.
31505 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
31506 __builtin_frame_address.
31509 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
31510 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
31511 implement dup3 and do some further code clean-ups.
31512 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
31513 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
31515 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31517 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
31519 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
31520 HURD_CRITICAL_END around holding _hurd_dtable_lock.
31521 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
31522 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
31523 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
31526 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
31527 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
31528 when handler == SIG_ERR, not when handler != SIG_ERR.
31530 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31532 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
31533 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
31536 accept4 for GNU Hurd.
31537 * include/sys/socket.h (__libc_accept4): New prototype.
31538 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
31539 to implement __libc_accept4.
31540 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
31542 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
31544 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
31545 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
31546 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
31547 signal-defines.sym.
31549 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31551 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
31553 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31555 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
31556 assertion on O_CLOEXEC flag.
31557 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
31558 * hurd/intern-fd.c: Likewise.
31559 * hurd/port2fd.c: Likewise.
31561 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31564 * bits/in.h (IPV6_PKTINFO): Define new macro.
31565 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
31567 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31572 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
31573 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
31574 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
31575 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
31576 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31577 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
31578 * math/libm-test.inc (logb_test) : Additional logb tests.
31580 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
31581 Andreas Jaeger <aj@suse.de>
31583 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
31584 * configure: Regenerated.
31585 * config.h.in (LINK_OBSOLETE_RPC): New macro.
31586 * config.make.in (link-obsolete-rpc): New substituted variable.
31587 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
31588 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
31589 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
31590 (shared-only-routines): Don't set it under [link-obsolete-rpc],
31591 so that libc.a contains the symbols.
31592 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
31593 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
31594 * sunrpc/auth_none.c: Likewise.
31595 * sunrpc/auth_unix.c: Likewise.
31596 * sunrpc/authdes_prot.c: Likewise.
31597 * sunrpc/authuxprot.c: Likewise.
31598 * sunrpc/clnt_gen.c: Likewise.
31599 * sunrpc/clnt_perr.c: Likewise.
31600 * sunrpc/clnt_raw.c: Likewise.
31601 * sunrpc/clnt_simp.c: Likewise.
31602 * sunrpc/clnt_tcp.c: Likewise.
31603 * sunrpc/clnt_udp.c: Likewise.
31604 * sunrpc/clnt_unix.c: Likewise.
31605 * sunrpc/des_crypt.c: Likewise.
31606 * sunrpc/des_soft.c: Likewise.
31607 * sunrpc/get_myaddr.c: Likewise.
31608 * sunrpc/key_call.c: Likewise.
31609 * sunrpc/key_prot.c: Likewise.
31610 * sunrpc/netname.c: Likewise.
31611 * sunrpc/pm_getmaps.c: Likewise.
31612 * sunrpc/pm_getport.c: Likewise.
31613 * sunrpc/pmap_clnt.c: Likewise.
31614 * sunrpc/pmap_prot.c: Likewise.
31615 * sunrpc/pmap_prot2.c: Likewise.
31616 * sunrpc/pmap_rmt.c: Likewise.
31617 * sunrpc/publickey.c: Likewise.
31618 * sunrpc/rpc_cmsg.c: Likewise.
31619 * sunrpc/rpc_common.c: Likewise.
31620 * sunrpc/rpc_dtable.c: Likewise.
31621 * sunrpc/rpc_prot.c: Likewise.
31622 * sunrpc/rpc_thread.c: Likewise.
31623 * sunrpc/rtime.c: Likewise.
31624 * sunrpc/svc.c: Likewise.
31625 * sunrpc/svc_auth.c: Likewise.
31626 * sunrpc/svc_raw.c: Likewise.
31627 * sunrpc/svc_run.c: Likewise.
31628 * sunrpc/svc_tcp.c: Likewise.
31629 * sunrpc/svc_udp.c: Likewise.
31630 * sunrpc/svc_unix.c: Likewise.
31631 * sunrpc/svcauth_des.c: Likewise.
31632 * sunrpc/xcrypt.c: Likewise.
31633 * sunrpc/xdr.c: Likewise.
31634 * sunrpc/xdr_array.c: Likewise.
31635 * sunrpc/xdr_float.c: Likewise.
31636 * sunrpc/xdr_intXX_t.c: Likewise.
31637 * sunrpc/xdr_mem.c: Likewise.
31638 * sunrpc/xdr_rec.c: Likewise.
31639 * sunrpc/xdr_ref.c: Likewise.
31640 * sunrpc/xdr_sizeof.c: Likewise.
31641 * sunrpc/xdr_stdio.c: Likewise.
31643 2012-05-10 Roland McGrath <roland@hack.frob.com>
31645 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
31646 change. Update copyright years.
31648 2012-05-10 Joseph Myers <joseph@codesourcery.com>
31650 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
31652 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
31653 Joseph Myers <joseph@codesourcery.com>
31654 Paul Pluzhnikov <ppluzhnikov@google.com>
31657 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
31659 [cross-compiling] (extra-libs): Likewise.
31660 [cross-compiling] (extra-libs-others): Likewise.
31661 [cross-compiling] (librpcsvc-routines): Likewise.
31662 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
31663 [cross-compiling] (omit-deps): Likewise.
31664 (sunrpc-CPPFLAGS): New variable.
31665 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
31666 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
31667 (cross-rpcgen-objs): New variable.
31668 (extra-objs): Append $(cross-rpcgen-objs).
31669 ($(cross-rpcgen-objs)): New rule.
31670 ($(objpfx)cross-rpcgen): Likewise.
31671 (rpcgen-cmd): Define to use $(built-program-file). Expand
31673 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
31674 ($(objpfx)x%.stmp): Likewise.
31675 * sunrpc/proto.h [IS_IN_build] (_): Define.
31676 [IS_IN_build] (_libc_intl_domainname): Likewise.
31678 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31680 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
31681 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
31682 and R_X86_64_TPOFF64.
31684 2012-05-10 Joseph Myers <joseph@codesourcery.com>
31686 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
31687 sysdeps/unix/sysv/syscalls.list.
31690 * sysdeps/unix/sysv/syscalls.list: Remove file.
31692 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
31695 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
31696 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
31697 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
31698 (__LC_IDENTIFICATION): Make these macros useful in #if
31699 expressions, as required by C99.
31701 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
31703 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
31704 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
31707 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
31709 * stdlib/longlong.h: Updated from GCC.
31711 2012-05-09 Andreas Jaeger <aj@suse.de>
31713 * nscd/nscd.c (run_modes): Make named enum, reorder so that
31714 default is first entry.
31715 (run_mode): Set type.
31716 (main): Remove informal message about syslog.
31717 (options): Fix typo.
31720 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
31723 (llrintf): Likewise.
31724 (llrint): Likewise.
31727 (nearbyint): Likewise.
31728 (nearbyintf): Likewise.
31730 2012-05-09 Andreas Jaeger <aj@suse.de>
31731 Pedro Alves <palves@redhat.com>
31733 * nscd/nscd.c (run_mode): Use enum.
31734 (main): Cleanup coding style issue.
31736 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
31737 Andreas Jaeger <aj@suse.de>
31739 * nscd/nscd.c (go_background): Replaced with...
31740 (run_mode): ... this.
31741 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
31742 (options): Add -F --foreground.
31743 (main): Implement it.
31744 (parse_opt): Parse it.
31746 2012-05-09 Andreas Jaeger <aj@suse.de>
31749 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
31750 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
31751 -Wconversion warning.
31752 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
31755 2012-05-09 Joseph Myers <joseph@codesourcery.com>
31757 * conform/data/locale.h-data (NULL): Use macro-constant. Require
31759 (LC_ALL): Use macro-int-constant.
31760 (LC_COLLATE): Likewise.
31761 (LC_CTYPE): Likewise.
31762 (LC_MESSAGES): Likewise.
31763 (LC_MONETARY): Likewise.
31764 (LC_NUMERIC): Likewise.
31765 (LC_TIME): Likewise.
31766 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
31767 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
31768 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31769 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
31771 [C99-based standards] (float_t): Expect type.
31772 [C99-based standards] (double_t): Expect type.
31773 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
31775 [C99-based standards] (HUGE_VALL): Likewise.
31776 [C99-based standards] (INFINITY): Likewise.
31777 [C99-based standards] (NAN): Likewise.
31778 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
31779 [C99-based standards] (FP_NAN): Likewise.
31780 [C99-based standards] (FP_NORMAL): Likewise.
31781 [C99-based standards] (FP_SUBNORMAL): Likewise.
31782 [C99-based standards] (FP_ZERO): Likewise.
31783 [C99-based standards] (FP_FAST_FMA): Use
31784 optional-macro-int-constant. Specify type. Require == 1.
31785 [C99-based standards] (FP_FAST_FMAF): Likewise.
31786 [C99-based standards] (FP_FAST_FMAL): Likewise.
31787 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
31788 [C99-based standards] (FP_ILOGBNAN): Likewise.
31789 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
31791 [C99-based standards] (MATH_ERREXCEPT): Likewise.
31792 [C99-based standards] (math_errhandling): Specify type.
31793 [ISO99 || ISO11] (signgam): Do not allow.
31794 [non-C99-based standards] (copysignf): Do not allow.
31795 [non-C99-based standards] (exp2f): Likewise.
31796 [non-C99-based standards] (log2f): Likewise.
31797 [non-C99-based standards] (modff): Allow.
31798 [non-C99-based standards] (erff): Do not allow.
31799 [non-C99-based standards] (erfcf): Likewise.
31800 [non-C99-based standards] (gammaf): Likewise.
31801 [non-C99-based standards] (hypotf): Likewise.
31802 [non-C99-based standards] (j0f): Likewise.
31803 [non-C99-based standards] (j1f): Likewise.
31804 [non-C99-based standards] (jnf): Likewise.
31805 [non-C99-based standards] (lgammaf): Likewise.
31806 [non-C99-based standards] (tgammaf): Likewise.
31807 [non-C99-based standards] (y0f): Likewise.
31808 [non-C99-based standards] (y1f): Likewise.
31809 [non-C99-based standards] (ynf): Likewise.
31810 [non-C99-based standards] (isnanf): Likewise.
31811 [non-C99-based standards] (acoshf): Likewise.
31812 [non-C99-based standards] (asinhf): Likewise.
31813 [non-C99-based standards] (atanhf): Likewise.
31814 [non-C99-based standards] (cbrtf): Likewise.
31815 [non-C99-based standards] (expm1f): Likewise.
31816 [non-C99-based standards] (ilogbf): Likewise.
31817 [non-C99-based standards] (log1pf): Likewise.
31818 [non-C99-based standards] (logbf): Likewise.
31819 [non-C99-based standards] (nextafterf): Likewise.
31820 [non-C99-based standards] (remainderf): Likewise.
31821 [non-C99-based standards] (rintf): Likewise.
31822 [non-C99-based standards] (scalbf): Likewise.
31823 [non-C99-based standards] (copysignl): Likewise.
31824 [non-C99-based standards] (exp2l): Likewise.
31825 [non-C99-based standards] (log2l): Likewise.
31826 [non-C99-based standards] (modfl): Allow.
31827 [non-C99-based standards] (erfl): Do not allow.
31828 [non-C99-based standards] (erfcl): Likewise.
31829 [non-C99-based standards] (gammal): Likewise.
31830 [non-C99-based standards] (hypotl): Likewise.
31831 [non-C99-based standards] (j0l): Likewise.
31832 [non-C99-based standards] (j1l): Likewise.
31833 [non-C99-based standards] (jnl): Likewise.
31834 [non-C99-based standards] (lgammal): Likewise.
31835 [non-C99-based standards] (tgammal): Likewise.
31836 [non-C99-based standards] (y0l): Likewise.
31837 [non-C99-based standards] (y1l): Likewise.
31838 [non-C99-based standards] (ynl): Likewise.
31839 [non-C99-based standards] (isnanl): Likewise.
31840 [non-C99-based standards] (acoshl): Likewise.
31841 [non-C99-based standards] (asinhl): Likewise.
31842 [non-C99-based standards] (atanhl): Likewise.
31843 [non-C99-based standards] (cbrtl): Likewise.
31844 [non-C99-based standards] (expm1l): Likewise.
31845 [non-C99-based standards] (ilogbl): Likewise.
31846 [non-C99-based standards] (log1pl): Likewise.
31847 [non-C99-based standards] (logbl): Likewise.
31848 [non-C99-based standards] (nextafterl): Likewise.
31849 [non-C99-based standards] (remainderl): Likewise.
31850 [non-C99-based standards] (rintl): Likewise.
31851 [non-C99-based standards] (scalbl): Likewise.
31852 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31853 [non-C99-based standards] (FP_*): Do not allow.
31854 [C99-based standards] (FP_*): Change to
31855 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
31856 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
31858 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
31859 (SIG_ERR): Likewise.
31860 [X/Open-based standards] (SIG_HOLD): Likewise.
31861 (SIG_IGN): Likewise.
31862 (SIGABRT): Use macro-int-constant. Specify type. Require
31864 (SIGFPE): Likewise.
31865 (SIGILL): Likewise.
31866 (SIGINT): Likewise.
31867 (SIGSEGV): Likewise.
31868 (SIGTER): Likewise.
31869 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
31870 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
31871 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
31872 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
31873 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
31874 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
31875 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
31876 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
31877 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
31878 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
31879 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
31880 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
31881 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
31882 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
31883 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
31884 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
31885 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
31886 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
31887 [X/Open-based standards] (SIGTRAP): Likewise.
31888 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
31889 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
31890 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
31891 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
31892 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
31895 2012-05-08 Ian Wienand <ianw@vmware.com>
31898 * time/tzset.c (__tzset_parse_tz): Update default rules for
31899 daylight time changes in the Energy Policy Act of 2005.
31901 2012-05-09 Andreas Jaeger <aj@suse.de>
31904 * elf/ldconfig.c (parse_conf): Change string to make clear that
31905 ldconfig only issued a warning if ld.so.conf does not exist.
31907 2012-05-08 David S. Miller <davem@davemloft.net>
31909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
31910 movxtod instead of popping the value on the stack.
31912 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31914 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
31916 * config.h.in: Add HAVE_ARM_PCS_VFP.
31918 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
31921 * include/features.h: Warn if user requests __FORTIFY_SOURCE
31922 checking but the checks are disabled for any reason.
31924 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
31926 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
31927 and ELF64_R_TYPE with ELFW(R_TYPE).
31929 2012-05-08 Joseph Myers <joseph@codesourcery.com>
31931 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
31932 (ulimit): Likewise.
31934 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
31935 (settimeofday): Likewise.
31937 2012-05-08 Mike Frysinger <vapier@gentoo.org>
31939 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
31940 a struct th_u2 inside the union, and move tu_block/tu_code into
31941 a new th_u3 union of tu_block/tu_code inside of that. Move
31942 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
31943 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
31944 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
31945 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
31946 (th_stuff): Change to th_u1.tu_stuff.
31948 (th_msg): Change to th_u1.th_u2.tu_data.
31950 2012-05-07 David S. Miller <davem@davemloft.net>
31952 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31955 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
31956 (SETUP_PIC_REG): Use it.
31957 (SETUP_PIC_REG_LEAF): Use it.
31959 2012-05-07 Joseph Myers <joseph@codesourcery.com>
31963 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31965 (EXPL_FINITE): Likewise.
31966 (FLDLOG): Likewise.
31967 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
31968 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
31970 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31972 (EXPL_FINITE): Likewise.
31973 (FLDLOG): Likewise.
31974 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
31975 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
31977 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
31978 test of -max_value argument for long double.
31979 * sysdeps/i386/fpu/libm-test-ulps: Update.
31980 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31982 2012-05-06 David S. Miller <davem@davemloft.net>
31984 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
31985 quad soft-float symbols whose references which are compiler
31987 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
31989 2012-05-06 Joseph Myers <joseph@codesourcery.com>
31993 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31995 (EXPL_FINITE): Likewise.
31996 (FLDLOG): Likewise.
31999 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
32000 Adjust comments for base varying.
32001 (__expl_finite): Change alias to EXPL_FINITE.
32002 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
32004 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
32005 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
32006 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
32007 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
32008 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
32010 (EXPL_FINITE): Likewise.
32011 (FLDLOG): Likewise.
32014 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
32015 Adjust comments for base varying.
32016 (__expl_finite): Change alias to EXPL_FINITE.
32017 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
32019 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32022 * math/libm-test.inc (check_float_internal): Correct ulp
32023 calculation for subnormal expected results.
32025 2012-05-06 Andreas Jaeger <aj@suse.de>
32027 * Makeconfig (+math-flags): New, set to -frounding-math.
32028 (+cflags): Add +math-flags so that all of glibc gets compiled with
32031 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
32033 2012-05-05 Joseph Myers <joseph@codesourcery.com>
32035 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
32041 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
32042 (__ieee754_expl): Allow for and saturate large arguments.
32043 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
32044 (u_threshold): Likewise.
32045 (__exp): Call __ieee754_exp before checking for overflow and
32047 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
32048 (u_threshold): Likewise.
32049 (__expf): Call __ieee754_expf before checking for overflow and
32051 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
32052 (u_threshold): Likewise.
32053 (__expl): Call __ieee754_expl before checking for overflow and
32055 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
32056 (__ieee754_expl): Allow for and saturate large arguments.
32057 * math/libm-test.inc (exp_test): Add another test. Do not allow
32058 missing overflow exception on overflow.
32059 (expm1_test): Do not allow missing overflow exception on overflow.
32061 * sysdeps/i386/fpu/e_expl.c: Move to ...
32062 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
32063 rather than using inline asm.
32064 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
32065 * sysdeps/x86_64/fpu/e_expl.S: Copy from
32066 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
32068 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
32071 (signal): Likewise.
32075 2012-05-04 Joseph Myers <joseph@codesourcery.com>
32077 * sysdeps/unix/syscalls.list (adjtime): Add entry from
32078 sysdeps/unix/common/syscalls.list.
32079 (fchmod): Likewise.
32080 (fchown): Likewise.
32081 (ftruncate): Likewise.
32082 (getrusage): Likewise.
32083 (gettimeofday): Likewise.
32084 (setpgid): Likewise.
32085 (setregid): Likewise.
32086 (setreuid): Likewise.
32087 (sigaction): Likewise.
32088 (truncate): Likewise.
32089 (vhangup): Likewise.
32090 * sysdeps/unix/common/syscalls.list: Remove file.
32091 * sysdeps/unix/bsd/Implies: Don't include unix/common.
32092 * sysdeps/unix/sysv/linux/Implies: Likewise.
32094 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
32096 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
32097 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
32098 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
32100 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
32102 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
32104 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
32105 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
32107 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
32108 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
32110 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
32111 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
32113 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
32114 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
32116 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
32117 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
32119 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
32120 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
32122 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
32124 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
32126 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
32128 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
32130 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
32131 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
32133 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
32135 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
32137 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
32139 2012-05-04 Joseph Myers <joseph@codesourcery.com>
32141 * sysdeps/unix/common/bits/dirent.h: Remove file.
32142 * sysdeps/unix/common/bits/fcntl.h: Likewise.
32144 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
32145 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
32146 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
32147 * sysdeps/unix/bsd/isatty.c: Likewise.
32148 * sysdeps/unix/bsd/tcdrain.c: Likewise.
32149 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
32150 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
32152 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32155 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
32156 long double comparison inaccuracies.
32157 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
32158 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32160 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
32162 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
32163 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
32165 2012-05-04 Joseph Myers <joseph@codesourcery.com>
32168 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
32169 nonzero digits before rounding a hex value.
32170 * stdlib/tst-strtod.c (tests): Add another test.
32172 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32174 * sysdeps/s390/fpu/libm-test-ulps: Update.
32176 2012-05-03 Andreas Jaeger <aj@suse.de>
32178 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
32179 does not get optimized out.
32180 (malloc_opt_barrier): New.
32182 2012-05-03 Andreas Jaeger <aj@suse.de>
32183 Roland McGrath <roland@hack.frob.com>
32185 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
32186 intermediate file deletion.
32187 (generated): Add .symlist files.
32189 2012-05-03 Joseph Myers <joseph@codesourcery.com>
32192 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
32193 Redirect under this condition.
32194 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
32195 [__USE_GNU] (__dprintf_chk): Not under this condition.
32196 [__USE_GNU] (__vdprintf_chk): Likewise.
32197 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
32198 under this condition.
32199 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
32200 [__USE_XOPEN2K8] (dprintf): Define under this condition.
32201 [__USE_XOPEN2K8] (vdprintf): Likewise.
32202 [__USE_GNU] (__dprintf_chk): Not under this condition.
32203 [__USE_GNU] (__vdprintf_chk): Likewise.
32204 [__USE_GNU] (dprintf): Likewise.
32205 [__USE_GNU] (vdprintf): Likewise.
32207 2012-05-03 Roland McGrath <roland@hack.frob.com>
32209 * elf/Makefile (common-generated): Set this instead of generated for
32210 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
32211 $(all-built-dso)-derived lists.
32213 2012-05-03 Andreas Jaeger <aj@suse.de>
32215 * sysdeps/i386/fpu/libm-test-ulps: Update.
32218 * FAQ.in: Likewise.
32219 * scripts/gen-FAQ.pl: Likewise.
32220 * manual/install.texi (Installation): Point to online location of
32222 * Makefile (files-for-dist): Remove FAQ.
32225 2012-05-02 Allan McRae <allan@archlinux.org>
32227 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
32228 (LDFLAGS-reldepmod5.so): Likewise.
32229 (LDFLAGS-reldep6mod1.so): Likewise.
32230 (LDFLAGS-reldep6mod4.so): Likewise.
32231 (LDFLAGS-reldep8mod3.so): Likewise.
32232 (LDFLAGS-unload4mod1.so): Likewise.
32233 (LDFLAGS-unload4mod2.so): Likewise.
32234 (LDFLAGS-tst-initorder): Likewise.
32235 (LDFLAGS-tst-initordera2.so): Likewise.
32236 (LDFLAGS-tst-initordera3.so): Likewise.
32237 (LDFLAGS-tst-initordera4.so): Likewise.
32238 (LDFLAGS-tst-initorderb2.so): Likewise.
32239 (LDFLAGS-noload): Likewise.
32240 (LDFLAGS-next): Likewise.
32241 (LDFLAGS-order2mod1.so): Likewise.
32242 (LDFLAGS-order2mod2.so): Likewise.
32243 (LDFLAGS-tst-initorder2): Likewise.
32244 (LDFLAGS-tst-initorder2a.so): Likewise.
32245 (LDFLAGS-tst-initorder2b.so): Likewise.
32246 (LDFLAGS-tst-initorder2c.so): Likewise.
32247 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
32249 2012-05-02 David S. Miller <davem@davemloft.net>
32251 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32253 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
32256 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
32258 2012-05-02 Andreas Jaeger <aj@suse.de>
32260 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
32261 since we manipulate rounding mode.
32262 (CPPFLAGS-test-idouble.c): Likewise.
32263 (CPPFLAGS-test-ifloat.c): Likewise.
32264 (CFLAGS-test-ldouble.c): Likewise.
32265 (CFLAGS-test-double.c): Likewise.
32266 (CFLAGS-test-float.c): Likewise.
32267 (CFLAGS-test-misc.c): Likewise.
32268 (CFLAGS-test-test-fenv.c): Likewise.
32270 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32274 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
32275 comparisons to determine direction to adjust input.
32277 2012-05-01 Roland McGrath <roland@hack.frob.com>
32279 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
32280 output to the target.
32282 * scripts/localplt.awk: New file.
32283 * elf/Makefile ($(objpfx)check-localplt): Target removed.
32284 (check-localplt-CFLAGS): Variable removed.
32285 ($(all-built-dso:=.jmprel)): New static pattern rule.
32286 (generated): Add those targets.
32287 (localplt-built-dso): New variable.
32288 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
32290 * elf/check-localplt.c: File removed.
32292 * scripts/check-execstack.awk: New file.
32293 * elf/Makefile ($(objpfx)check-execstack): Target removed.
32294 (check-execstack-CFLAGS): Variable removed.
32295 ($(objpfx)check-execstack.h): Target removed.
32296 ($(objpfx)execstack-default): New target.
32297 (generated): Add that instead of check-execstack.h.
32298 ($(all-built-dso:=.phdr)): New static pattern rule.
32299 (generated): Add those targets.
32300 * elf/check-execstack.c: File removed.
32302 * scripts/check-textrel.awk: New file.
32303 * elf/Makefile ($(objpfx)check-textrel): Target removed.
32304 (check-textrel-CFLAGS): Variable removed.
32305 (all-built-dso): Use := to define.o
32306 ($(all-built-dso:=.dyn)): New static pattern rule.
32307 (generated): Add those targets.
32308 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
32309 * config.make.in (READELF): New substituted variable.
32310 * elf/check-textrel.c: File removed.
32312 2012-05-01 Joseph Myers <joseph@codesourcery.com>
32314 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
32316 * conform/data/ctype.h-data [C99-based standards] (isblank):
32318 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
32319 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
32320 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32321 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
32322 Specify type. Require positive value.
32323 (EILSEQ): Likewise.
32324 (ERANGE): Likewise.
32325 [ISO || POSIX] (EILSEQ): Do not expect.
32326 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
32327 Specify type. Require positive value.
32328 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
32329 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
32330 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
32331 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
32332 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
32333 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
32334 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
32335 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
32336 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
32337 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
32338 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
32339 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
32340 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
32341 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
32342 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
32343 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
32344 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
32345 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
32346 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
32347 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
32348 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
32349 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
32350 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
32351 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
32352 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
32353 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
32354 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
32355 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
32356 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
32357 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
32358 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
32359 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
32360 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
32361 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
32362 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
32363 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
32364 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
32365 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
32366 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
32367 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
32368 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
32369 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
32370 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
32371 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
32372 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
32373 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
32374 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
32375 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
32376 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
32377 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
32378 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
32379 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
32380 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
32381 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
32382 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
32383 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
32384 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
32385 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
32386 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
32387 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
32388 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
32389 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
32390 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
32391 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
32392 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
32393 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
32394 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
32395 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
32396 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
32397 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
32398 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
32399 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
32400 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
32401 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
32402 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
32403 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
32404 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
32406 (FLT_ROUNDS): Expect as macro, not constant.
32407 (FLT_MANT_DIG): Use macro-int-constant.
32408 (DBL_MANT_DIG): Likewise.
32409 (LDBL_MANT_DIG): Likewise.
32410 (FLT_DIG): Likewise.
32411 (DBL_DIG): Likewise.
32412 (LDBL_DIG): Likewise.
32413 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
32414 (DBL_MIN_EXP): Likewise.
32415 (LDBL_MIN_EXP): Likewise.
32416 (FLT_MAX_EXP): Use macro-int-constant.
32417 (DBL_MAX_EXP): Likewise.
32418 (LDBL_MAX_EXP): Likewise.
32419 (FLT_MAX_10_EXP): Likewise.
32420 (DBL_MAX_10_EXP): Likewise.
32421 (LDBL_MAX_10_EXP): Likewise.
32422 (FLT_MAX): Use macro-constant.
32423 (DBL_MAX): Likewise.
32424 (LDBL_MAX): Likewise.
32425 (FLT_EPSILON): Use macro-constant. Give upper bound.
32426 (DBL_EPSILON): Likewise.
32427 (LDBL_EPSILON): Likewise.
32428 (FLT_MIN): Likewise.
32429 (DBL_MIN): Likewise.
32430 (LDBL_MIN): Likewise.
32431 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
32432 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
32433 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
32434 [ISO11] (FLT_HAS_SUBNORM): Likewise.
32435 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
32436 [ISO11] (DBL_DECIMAL_DIG): Likewise.
32437 [ISO11] (FLT_DECIMAL_DIG): Likewise.
32438 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
32439 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
32440 [ISO11] (FLT_TRUE_MIN): Likewise.
32441 [ISO11] (LDBL_TRUE_MIN): Likewise.
32442 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32443 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
32444 (SCHAR_MIN): Use macro-int-constant. Specify type.
32445 (SCHAR_MAX): Likewise.
32446 (UCHAR_MAX): Likewise.
32447 (CHAR_MIN): Likewise.
32448 (CHAR_MAX): Likewise.
32449 (MB_LEN_MAX): Use macro-int-constant.
32450 (SHRT_MIN): Use macro-int-constant. Specify type.
32451 (SHRT_MAX): Likewise.
32452 (USHRT_MAX): Likewise.
32453 (INT_MAX): Likewise.
32454 (INT_MIN): Use macro-int-constant. Specify type. Make upper
32456 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
32458 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
32460 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
32461 bound negative. Suffix upper bound with "L".
32462 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
32464 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
32466 [C99-based standards] (LLONG_MAX): Likewise.
32467 [C99-based standards] (ULLONG_MAX): Likewise.
32468 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
32470 [ISO11] (max_align_t): Require type.
32471 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32473 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
32474 from $CFLAGS, without defining away __attribute__ calls.
32475 (checknamespace): Use $CFLAGS_namespace.
32477 * conform/conformtest.pl (@keywords): Only include C99 keywords
32478 for standards based on C99 or C11.
32480 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
32482 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
32485 * conform/conformtest.pl: Handle "macro-int-constant" and test for
32486 usability of symbols in #if.
32488 * conform/conformtest.pl: If macro or constant types start
32489 "promoted:", expect the symbol to be of the following type
32490 promoted by the integer promotions.
32492 * conform/conformtest.pl: Parse all "constant" and "macro" lines
32493 in one place. Also handle "macro-constant".
32495 * conform/conformtest.pl: Only accept expected macro values with
32496 "==". Parse all "macro" lines in one place.
32497 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
32499 * conform/conformtest.pl: Handle braced types on "constant" lines
32500 instead of handling "typed-constant".
32501 * conform/data/signal.h-data: Use "constant" instead of
32504 * conform/conformtest.pl: Handle "optional-" at start of lines in
32505 one place rather than duplicating several cases. Handle each
32506 format of "macro" line with initial "optional-".
32508 * conform/conformtest.pl: Only accept expected constant or
32509 optional-constant values with "==". Parse all "constant" lines in
32510 one place. Parse all "optional-constant" lines in one place.
32511 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
32512 * conform/data/fmtmsg.h-data: Likewise.
32513 * conform/data/netinet/in.h-data: Likewise.
32514 * conform/data/tar.h-data: Likewise.
32515 * conform/data/limits.h-data: Use "==" form on "constant" and
32516 "optional-constant" lines.
32518 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
32519 Use -std=c99 for XOPEN2K.
32520 (@knownproblems): Remove.
32521 (newtoken): Don't check %isknown.
32523 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
32524 Do not expect macro.
32525 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
32526 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
32527 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
32528 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
32529 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
32530 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
32531 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
32532 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
32533 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
32534 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
32535 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
32536 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
32537 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
32538 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
32539 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
32540 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
32541 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
32542 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
32543 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
32544 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
32545 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
32546 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
32547 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
32548 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
32549 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
32550 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
32551 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
32552 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
32553 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
32554 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
32555 [XPG3] (acosh): Likewise.
32556 [XPG3] (asinh): Likewise.
32557 [XPG3] (atanh): Likewise.
32558 [XPG3] (cbrt): Likewise.
32559 [XPG3] (expm1): Likewise.
32560 [XPG3] (ilogb): Likewise.
32561 [XPG3] (log1p): Likewise.
32562 [XPG3] (logb): Likewise.
32563 [XPG3] (nextafter): Likewise.
32564 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
32565 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
32566 [XPG3] (remainder): Likewise.
32567 [XPG3] (rint): Likewise.
32568 [XPG3 || XPG4 || UNIX98] (round): Likewise.
32569 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
32570 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
32571 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
32572 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
32573 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
32574 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
32575 [UNIX98 || XOPEN2K] (scalb): Expect.
32576 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
32577 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
32578 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
32579 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
32580 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
32581 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
32582 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
32583 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
32584 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
32585 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
32586 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
32587 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
32588 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
32589 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
32590 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
32591 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
32592 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
32593 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
32594 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
32595 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
32596 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
32597 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
32598 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
32599 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
32600 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
32601 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
32602 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
32603 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
32604 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
32605 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
32606 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
32607 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
32608 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
32609 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
32610 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
32611 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
32612 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
32613 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
32614 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
32615 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
32616 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
32617 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
32618 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
32619 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
32620 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
32621 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
32622 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
32623 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
32624 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
32625 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
32626 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
32627 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
32628 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
32629 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
32630 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
32631 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
32632 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
32633 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
32634 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
32635 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
32636 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
32637 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
32638 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
32639 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
32640 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
32641 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
32642 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
32643 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
32644 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
32645 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
32646 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
32647 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
32648 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
32649 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
32650 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
32651 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
32652 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
32653 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
32654 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
32655 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
32656 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
32657 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
32658 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
32659 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
32660 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
32661 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
32662 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
32663 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
32664 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
32665 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
32666 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
32667 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
32668 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
32669 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
32670 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
32671 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
32672 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
32673 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
32674 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
32675 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
32676 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
32677 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
32678 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
32679 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
32680 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
32681 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
32682 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
32683 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
32684 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
32685 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
32686 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
32687 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
32688 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
32689 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
32690 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
32691 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
32692 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
32693 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
32694 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
32695 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
32696 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
32697 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
32698 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
32699 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
32700 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
32701 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
32702 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
32703 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
32704 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
32705 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
32706 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
32707 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
32708 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
32709 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
32710 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
32711 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
32712 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
32714 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
32715 _XOPEN_SOURCE_EXTENDED for XPG4.
32717 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
32719 * Makeconfig (localtime): Remove variable.
32720 (inst_localtime-file): Likewise.
32722 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
32724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
32726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
32730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
32732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
32734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
32736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
32740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32743 2012-05-01 Joseph Myers <joseph@codesourcery.com>
32747 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
32748 comparisons to determine direction to adjust input.
32749 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
32750 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
32751 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
32753 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
32755 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
32757 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
32758 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
32760 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
32762 * math/libm-test.inc (nexttoward_test): Add more tests.
32764 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
32767 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
32768 in version GLIBC_2.1, not GLIBC_2.0.
32769 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
32772 2012-04-30 Joseph Myers <joseph@codesourcery.com>
32775 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
32777 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
32778 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
32779 * math/libm-test.inc (acos_test): Add more tests.
32780 (asin_test): Likewise.
32781 * sysdeps/i386/fpu/libm-test-ulps: Update.
32782 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32785 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
32787 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
32788 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
32789 * math/libm-test.inc (acos_test_tonearest): New function.
32790 (acos_test_towardzero): Likewise.
32791 (acos_test_downward): Likewise.
32792 (acos_test_upward): Likewise.
32793 (asin_test_tonearest): Likewise.
32794 (asin_test_towardzero): Likewise.
32795 (asin_test_downward): Likewise.
32796 (asin_test_upward): Likewise.
32797 (main): Call the new functions.
32798 * sysdeps/i386/fpu/libm-test-ulps: Update.
32799 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32803 * math/e_exp10.c: Include <float.h>.
32804 (__ieee754_exp10): Handle underflow here rather than multiplying
32805 large negative argument by M_LN10.
32806 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
32808 * math/e_exp10l.c: Include <float.h>.
32809 (__ieee754_exp10l): Handle underflow here rather than multiplying
32810 large negative argument by M_LN10l.
32811 * math/libm-test.inc (exp10_test): Add another test. Do not allow
32812 spurious overflow exception on underflow.
32814 2012-04-29 Marek Polacek <polacek@redhat.com>
32816 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
32817 (__fortify_function): New macro.
32818 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
32819 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
32820 __extern_always_inline.
32821 * libio/bits/stdio2.h: Likewise.
32822 * libio/bits/stdio.h: Likewise.
32823 * string/string.h: Likewise.
32824 * string/bits/string3.h: Likewise.
32825 * include/stdio.h: Likewise.
32826 * stdlib/bits/stdlib.h: Likewise.
32827 * stdlib/stdlib.h: Likewise.
32828 * rt/bits/mqueue2.h: Likewise.
32829 * rt/mqueue.h: Likewise.
32830 * posix/bits/unistd.h: Likewise.
32831 * posix/unistd.h: Likewise.
32832 * io/bits/poll2.h: Likewise.
32833 * io/bits/fcntl2.h: Likewise.
32834 * io/fcntl.h: Likewise.
32835 * io/sys/poll.h: Likewise.
32836 * misc/bits/syslog.h: Likewise.
32837 * misc/bits/syslog-ldbl.h: Likewise.
32838 * misc/sys/syslog.h: Likewise.
32839 * socket/bits/socket2.h: Likewise.
32840 * socket/sys/socket.h: Likewise.
32841 * debug/tst-chk1.c: Likewise.
32842 * wcsmbs/bits/wchar2.h: Likewise.
32843 * wcsmbs/bits/wchar-ldbl.h: Likewise.
32844 * wcsmbs/wchar.h: Likewise.
32846 2012-04-29 Andreas Jaeger <aj@suse.de>
32848 * Makerules (tests): Remove enable-check-abi protection.
32849 (check-abi-warn): Remove.
32850 (check-abi-%): Remove check-abi-warn usage.
32852 * configure.in: Remove check-abi configure option.
32853 * configure: Regenerated.
32854 * config.make.in (enable-check-abi): Remove.
32856 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
32859 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
32860 double functions to double *_finite functions.
32863 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
32864 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
32866 * stdio-common/Makefile (tests): Add tst-sprintf3.
32867 * stdio-common/tst-sprintf3.c: New file.
32869 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
32870 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
32872 2012-04-28 Joseph Myers <joseph@codesourcery.com>
32874 * conform/conformtest.pl: Remove duplicate typed-constant
32877 2012-04-28 David S. Miller <davem@davemloft.net>
32879 * Makerules (%.abilist): Add vpath on sysdep_dirs.
32880 (check-abi-%): Remove AWK script prerequisite and explicit
32882 (check-abi): Rewrite to just diff the symlist with the abilist.
32883 (config-tls, config-abi-config): Delete, no longer used.
32884 (update-abi-%): Remove AWK script and explicit abilist directory.
32885 (update-abi): Rewrite to simply compare and conditionally copy the
32886 symlist and the sysdep abilist file. Remove update-abi-config
32888 * abilist/ld.abilist: Remove.
32889 * abilist/libBrokenLocale.abilist: Remove.
32890 * abilist/libanl.abilist: Remove.
32891 * abilist/libcrypt.abilist: Remove.
32892 * abilist/libdl.abilist: Remove.
32893 * abilist/librt.abilist: Remove.
32894 * abilist/libthread_db.abilist: Remove.
32895 * abilist/libutil.abilist: Remove.
32896 * scripts/extract-abilist.awk: Remove.
32897 * scripts/merge-abilist.awk: Remove.
32898 * sysdeps/generic/libcidn.abilist: New file.
32899 * sysdeps/generic/libnss_compat.abilist: New file.
32900 * sysdeps/generic/libnss_db.abilist: New file.
32901 * sysdeps/generic/libnss_dns.abilist: New file.
32902 * sysdeps/generic/libnss_files.abilist: New file.
32903 * sysdeps/generic/libnss_hesiod.abilist: New file.
32904 * sysdeps/generic/libnss_nis.abilist: New file.
32905 * sysdeps/generic/libnss_nisplus.abilist: New file.
32906 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
32907 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
32908 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
32910 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
32911 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
32912 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
32913 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
32914 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
32915 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
32916 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
32917 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
32918 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
32920 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
32921 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
32922 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
32923 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
32925 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
32926 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
32927 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
32928 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
32929 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
32930 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
32932 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
32933 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
32934 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
32936 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
32937 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
32939 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
32941 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
32943 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
32945 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
32947 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
32949 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
32951 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
32953 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
32955 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
32957 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
32959 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
32961 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
32963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
32965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
32967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
32969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
32971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
32973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
32975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
32977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
32979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
32983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
32985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
32987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
32989 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
32990 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
32992 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
32994 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
32996 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
32998 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
33000 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
33002 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
33004 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33006 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
33008 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
33010 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
33012 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
33014 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
33015 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
33017 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
33019 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
33021 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
33023 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
33025 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
33027 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
33029 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33031 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
33033 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
33035 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
33037 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
33039 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
33040 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
33041 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
33043 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
33044 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
33045 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
33046 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
33047 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
33048 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
33049 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
33050 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
33051 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
33052 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
33053 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
33054 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
33056 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
33058 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
33060 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
33062 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
33064 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
33066 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
33068 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
33070 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
33072 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
33074 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
33076 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
33078 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
33079 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
33081 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
33083 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
33085 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
33087 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
33089 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
33091 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
33093 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
33095 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
33097 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
33099 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
33101 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
33104 2012-04-28 Joseph Myers <joseph@codesourcery.com>
33106 * conform/conformtest.pl: Fix typo in handling typed-constant from
33109 2012-04-27 Joseph Myers <joseph@codesourcery.com>
33111 * README: Cut down references to pre-2.6 Linux kernels and
33112 Linuxthreads. Update lists of configurations in libc and ports
33113 and sort alphabetically. Say "or newer" with Linux kernel version
33116 * config.h.in [IS_IN_build]: Allow compiling without optimization.
33118 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33121 * math/libm-test.inc (logb_test_downward): New test to expose
33122 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
33125 2012-04-27 Joseph Myers <joseph@codesourcery.com>
33128 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
33130 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
33131 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
33133 2012-04-26 Joseph Myers <joseph@codesourcery.com>
33135 * sysdeps/unix/i386/brk.S: Remove file.
33136 * sysdeps/unix/i386/dl-brk.S: Likewise.
33137 * sysdeps/unix/i386/pipe.S: Likewise.
33138 * sysdeps/unix/i386/sigreturn.S: Likewise.
33139 * sysdeps/unix/i386/syscall.S: Likewise.
33140 * sysdeps/unix/i386/vfork.S: Likewise.
33141 * sysdeps/unix/i386/wait.S: Likewise.
33143 * sysdeps/unix/common/tcsendbrk.c: Move to ...
33144 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
33146 * configure.in (arm*-none*): Do not allow without
33147 --enable-hacker-mode.
33148 (netbsd*): Remove case setting base_os.
33149 (386bsd*): Likewise.
33150 (freebsd*): Likewise.
33153 (sunos*): Likewise.
33154 (ultrix*): Likewise.
33155 (newsos*): Likewise.
33156 (dynix*): Likewise.
33162 (minix*): Likewise.
33163 (irix4*): Likewise.
33164 (irix6*): Likewise.
33165 (solaris[2-9]*): Likewise.
33167 * configure: Regenerated.
33169 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33172 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
33173 overflow or cancellation in calculating denominator.
33174 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
33175 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
33176 down expression to avoid unexpected rounding in newer GCCs.
33177 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
33179 2012-04-26 David S. Miller <davem@davemloft.net>
33181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
33182 long-double compat symbols.
33183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
33184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
33185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
33186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
33187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
33188 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
33189 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
33190 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
33191 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
33192 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
33193 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
33194 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
33195 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
33197 2012-04-25 David S. Miller <davem@davemloft.net>
33199 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
33200 HWCAP_* values only after the memory barriers have been defined.
33201 (atomic_full_barrier): Define.
33202 (atomic_read_barrier): Define.
33203 (atomic_write_barrier): Define.
33205 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33207 * shlib-versions: Add libgcc_s version information.
33208 * sysdeps/generic/libgcc_s.h: Remove.
33209 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
33211 * sysdeps/gnu/unwind-resume.c: Likewise.
33212 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
33214 2012-04-25 David S. Miller <davem@davemloft.net>
33216 * sysdeps/unix/sparc/brk.S: Delete.
33217 * sysdeps/unix/sparc/dl-brk.S: Delete.
33218 * sysdeps/unix/sparc/pipe.S: Delete.
33219 * sysdeps/unix/sparc/sysdep.S: Delete.
33220 * sysdeps/unix/sparc/sysdep.h: Delete.
33221 * sysdeps/unix/sparc/vfork.S: Delete.
33222 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
33223 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
33224 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
33225 (ret_ERRVAL, r0, r1, MOVE): Define.
33226 (JUMPTARGET): Remove.
33227 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
33228 sysdeps/unix/sparc/sysdep.h
33229 (ENTRY, END): Remove.
33230 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33232 2012-04-25 Joseph Myers <joseph@codesourcery.com>
33234 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
33235 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
33238 * timezone/README: Update upstream location and email address for
33240 * timezone/zdump.c: Update from tzcode 2012b.
33241 * timezone/zic.c: Likewise.
33243 * configure.in (libc_cv_as_needed): Remove test.
33244 * configure: Regenerated.
33245 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
33246 conditional definition.
33247 [$(have-as-needed) != yes] (no-as-needed): Likewise.
33248 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
33249 * config.make.in (have-as-needed): Remove variable.
33251 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
33252 Paul Pluzhnikov <ppluzhnikov@google.com>
33254 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
33257 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
33259 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
33260 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
33261 * sysdeps/sh/strlen.S: Likewise.
33263 2012-04-24 Joseph Myers <joseph@codesourcery.com>
33265 * sysdeps/unix/fork.S: Remove file.
33266 * sysdeps/unix/i386/fork.S: Likewise.
33267 * sysdeps/unix/sparc/fork.S: Likewise.
33269 * sysdeps/unix/system.c: Remove file.
33270 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
33272 * sysdeps/unix/getegid.S: Remove file.
33273 * sysdeps/unix/geteuid.S: Likewise.
33275 2012-04-24 Roland McGrath <roland@hack.frob.com>
33277 * scripts/check-localplt.awk: New file.
33278 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
33280 * scripts/data/localplt-generic.data: Add a comment.
33282 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
33283 NODE when __dir_mkfile failed.
33284 * sysdeps/mach/hurd/symlinkat.c: Likewise.
33285 Reported by Ludovic Courtès <ludo@gnu.org>.
33287 2012-04-24 Andreas Jaeger <aj@suse.de>
33289 * Makerules (common-clean): Also remove gen-as-const-headers
33292 2012-04-24 Joseph Myers <joseph@codesourcery.com>
33294 * Makerules (native-compile): Do not change working directory for
33295 build. Use $(OUTPUT_OPTION) in command.
33296 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
33298 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33301 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
33302 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
33303 * math/libm-test.inc (floor_test): Add more tests.
33304 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
33306 2012-04-24 Joseph Myers <joseph@codesourcery.com>
33308 * sysdeps/unix/getdents.c: Remove file.
33309 * sysdeps/unix/sysv/getdents.c: Likewise.
33310 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
33312 * sysdeps/unix/syscalls.list (madvise): Add syscall from
33313 sysdeps/unix/mman/syscalls.list.
33315 (mprotect): Likewise.
33317 (munmap): Likewise.
33318 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
33319 * sysdeps/unix/mman/syscalls.list: Remove.
33320 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
33322 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
33323 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
33324 * configure: Regenerated.
33325 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
33326 $(libgcc_s_suffix).
33327 * config.make.in (libgcc_s_suffix): Remove variable.
33329 2012-04-23 Joseph Myers <joseph@codesourcery.com>
33331 * sysdeps/unix/sysv/gethostname.c: Move to ...
33332 * sysdeps/posix/gethostname.c: ... here.
33334 * sysdeps/unix/execve.S: Remove file.
33336 * sysdeps/unix/_exit.S: Remove file.
33338 2012-04-23 Andreas Jaeger <aj@suse.de>
33341 * manual/Makefile: Remove make dist support, there's no
33342 need for a stand-alone documentation tar ball.
33343 (TEXI2DVI): Define always, it's not in Makeconfig.
33346 (edition): Removed.
33347 (glibc-doc-$(edition).tar): Removed
33351 (ETAGS): Remove, it's in Makeconfig.
33352 (move-if-change): Remove, it's in Makeconfig.
33354 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
33357 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
33358 (strtod, strtof, strtold, strtol, strtoul, strtoq)
33359 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
33360 (strtod_l, strtof_l, strtold_l): Remove __wur.
33361 It is not necessarily an error to ignore strtol's return value.
33362 One can reliably look at the stored endptr to decide whether
33363 the number had valid syntax.
33365 2012-04-21 Andreas Jaeger <aj@suse.de>
33368 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
33370 2012-04-21 Joseph Myers <joseph@codesourcery.com>
33372 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
33373 * sysdeps/unix/sysv/Versions: Remove file.
33375 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
33378 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33380 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
33383 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
33384 version from __vm86.
33386 2012-04-20 Joseph Myers <joseph@codesourcery.com>
33388 * sysdeps/unix/common/lxstat.c: Remove file.
33389 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
33391 * sysdeps/unix/sysv/Makefile: Remove file.
33393 * sysdeps/unix/sysv/direct.h: Remove file.
33395 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
33396 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
33397 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
33398 * sysdeps/unix/sysv/bits/signum.h: Likewise.
33399 * sysdeps/unix/sysv/bits/stat.h: Likewise.
33400 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
33401 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
33403 * sysdeps/unix/sysv/setrlimit.c: Remove file.
33405 * sysdeps/unix/xmknod.c: Remove file.
33406 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
33408 * sysdeps/unix/sysv/settimeofday.c: Remove file.
33410 * sysdeps/unix/sysv/i386/time.S: Remove file.
33412 * sysdeps/unix/fxstat.c: Remove file.
33413 * sysdeps/unix/xstat.c: Likewise.
33414 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
33416 * sysdeps/unix/sysv/sigaction.c: Remove file.
33418 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
33419 (sysdep_headers): Remove variable.
33420 [termio.h not in sysdep_headers] (generated): Likewise.
33421 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
33422 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
33423 * sysdeps/unix/sysv/tcdrain.c: Likewise.
33424 * sysdeps/unix/sysv/tcflow.c: Likewise.
33425 * sysdeps/unix/sysv/tcflush.c: Likewise.
33426 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
33427 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
33428 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
33429 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
33430 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
33432 * sysdeps/unix/siglist.c: Remove file.
33434 * sysdeps/unix/getppid.S: Remove file.
33436 * sysdeps/unix/mkdir.c: Remove file.
33437 * sysdeps/unix/rmdir.c: Likewise.
33439 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
33441 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
33443 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
33444 errlist-compat value.
33446 2012-04-18 David S. Miller <davem@davemloft.net>
33448 * sysdeps/generic/memcopy.h (reg_char): Delete.
33449 * debug/strcat_chk.c: Use char, not reg_char.
33450 * debug/strcpy_chk.c: Likewise.
33451 * debug/strncat_chk.c: Likewise.
33452 * debug/strncpy_chk.c: Likewise.
33453 * string/memchr.c: Likewise.
33454 * string/memrchr.c: Likewise.
33455 * string/rawmemchr.c: Likewise.
33456 * string/strcat.c: Likewise.
33457 * string/strchr.c: Likewise.
33458 * string/strchrnul.c: Likewise.
33459 * string/strcmp.c: Likewise.
33460 * string/strcpy.c: Likewise.
33461 * string/strncat.c: Likewise.
33462 * string/strncmp.c: Likewise.
33463 * string/strncpy.c: Likewise.
33465 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
33467 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
33468 __builtin_memcopy is called when src and dest ranges are known to not
33471 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
33473 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
33474 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
33475 fwd_align_merge macro call.
33476 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
33477 bwd_align_merge macro call.
33478 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
33480 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
33482 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
33483 bwd_align_merge macros.
33484 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
33485 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
33486 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
33488 2012-04-18 David S. Miller <davem@davemloft.net>
33490 * sysdeps/sparc/sparc64/memcopy.h: Delete.
33492 2012-04-18 Andreas Jaeger <aj@suse.de>
33495 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
33496 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
33497 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33499 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
33500 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
33501 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33503 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
33504 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
33505 Adjust for changed ldbl-128 files.
33507 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
33508 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
33509 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33511 2012-04-17 David S. Miller <davem@davemloft.net>
33513 * sysdeps/sparc/sparc32/memcopy.h: Delete.
33515 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
33517 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
33518 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
33519 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
33520 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
33521 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
33522 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
33524 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33527 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
33528 * math/libm-test.inc: Add ilogb errno and exception tests.
33529 * math/w_ilogb.c: New file: ilogb wrapper.
33530 * math/w_ilogbf.c: New file: ilogbf wrapper.
33531 * math/w_ilogbl.c: New file: ilogbl wrapper.
33532 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
33533 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
33534 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
33535 exception being thrown with 0.0 as argument.
33536 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
33537 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
33538 exception being thrown with 0.0 as argument.
33539 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
33540 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
33541 exception being thrown with 0.0 as argument.
33542 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
33543 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
33544 exception being thrown with 0.0 as argument.
33545 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
33546 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
33547 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
33548 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
33549 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
33550 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
33551 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
33552 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
33553 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
33555 2012-04-17 Petr Baudis <pasky@ucw.cz>
33557 * include/sys/uio.h: Change __vector to __iovec to avoid clash
33560 2012-04-16 Marek Polacek <polacek@redhat.com>
33562 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
33564 2012-04-16 Marek Polacek <polacek@redhat.com>
33566 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
33567 operands of fdivp instruction.
33569 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
33571 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
33572 * elf/tst-auditmod3b.c: Likewise.
33573 * elf/tst-auditmod4b.c: Likewise.
33574 * elf/tst-auditmod5b.c: Likewise.
33575 * elf/tst-auditmod6b.c: Likewise.
33576 * elf/tst-auditmod6c.c: Likewise.
33577 * elf/tst-auditmod7b.c: Likewise.
33578 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
33579 * sysdeps/x86_64/preconfigure.in: Likewise.
33580 * sysdeps/x86_64/preconfigure: Regenerated.
33582 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
33584 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
33587 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
33589 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33590 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
33592 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
33595 * locale/iso-639.def: Fix gl language name. Spotted by
33598 2012-04-12 Roland McGrath <roland@hack.frob.com>
33601 * libio/libio.h (__io_write_fn): Update comment.
33603 2012-04-12 Petr Baudis <pasky@ucw.cz>
33606 * stdio.texi (Hook Functions): The user provided writer function
33607 is not allowed to return -1.
33609 2012-04-11 David S. Miller <davem@davemloft.net>
33611 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33613 2012-04-11 Mike Frysinger <vapier@gentoo.org>
33615 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
33616 Add a leading slash to rtkaio.
33618 2012-04-11 Jim Meyering <meyering@redhat.com>
33621 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
33622 It is not necessarily an error to ignore fwrite's return
33623 value. One can reliably use ferror to test for errors after
33626 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
33628 * bits/types.h (__snseconds_t): New type.
33629 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
33631 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
33632 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33633 (__SNSECONDS_T_TYPE): Likewise.
33634 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33635 (__SNSECONDS_T_TYPE): Likewise.
33636 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33637 (__SNSECONDS_T_TYPE): Likewise.
33639 2012-04-10 Andreas Jaeger <aj@suse.de>
33642 * manual/time.texi (Processor Time): Return type of times is
33643 elapsed real time since an arbitrary point in the past.
33644 (CPU Time): Move CLK_TCK from here...
33645 (Processor Time): ...to here. Correct description.
33646 * manual/conf.texi (Constants for Sysconf): Correct description of
33649 2012-04-10 David S. Miller <davem@davemloft.net>
33652 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
33653 where the is a gap between DT_REL(A) and DT_JMPREL.
33655 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
33657 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
33658 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
33659 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
33661 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
33663 * elf/dl-support.c (_dl_inhibit_cache): New variable.
33664 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
33665 (dl_main): Handle --inhibit-cache.
33666 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
33668 * elf/dl-load.c (_dl_map_object): Use it.
33669 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
33671 2012-04-09 Joseph Myers <joseph@codesourcery.com>
33674 * sysdeps/i386/fpu/e_powl.S (p78): New object.
33675 (__ieee754_powl): Saturate large exponents rather than testing for
33676 overflow of y*log2(x).
33677 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33678 * math/libm-test.inc (pow_test): Do not permit spurious overflow
33682 * math/s_ctan.c: Include <float.h>.
33683 (__ctan): Avoid internal overflow or cancellation in calculating
33685 * math/s_ctanf.c: Likewise.
33686 * math/s_ctanl.c: Likewise.
33687 * math/s_ctanh.c: Likewise.
33688 * math/s_ctanhf.c: Likewise.
33689 * math/s_ctanhl.c: Likewise.
33690 * math/libm-test.inc (ctan_test): Add more tests.
33691 (ctanh_test): Likewise.
33692 * sysdeps/i386/fpu/libm-test-ulps: Update.
33693 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33695 2012-04-09 Andreas Jaeger <aj@suse.de>
33698 * manual/filesys.texi (Directory Entries): Mention that d_namlen
33699 is an optional BSD extension.
33702 * manual/stdio.texi (Opening Streams): Document additional fopen
33705 2012-04-09 Roland McGrath <roland@hack.frob.com>
33707 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
33708 %eax without telling the compiler.
33710 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
33713 * manual/install.texi: Use sourceware.org.
33715 2012-04-09 Joseph Myers <joseph@codesourcery.com>
33718 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
33719 (__ieee754_pow): Generate overflow and underflow using huge*huge
33720 and tiny*tiny rather than just returning constant infinity or zero
33721 for large exponents.
33722 * math/libm-test.inc (pow_test): Require overflow exceptions for
33723 applicable cases of large exponents.
33726 * sysdeps/i386/fpu/e_pow.S (p10): New object.
33727 (__ieee754_pow): Use iterative multiplication algorithm only for
33728 integer exponents with absolute value below 1024. Check for odd
33729 integer exponents when using algorithm for real exponents.
33730 * math/libm-test.inc (pow_test): Add more tests.
33731 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33733 2012-04-08 Joseph Myers <joseph@codesourcery.com>
33736 * math/libm-test.inc (exp_test): Do not allow overflow exception
33739 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
33742 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
33743 instead of __kernel_standard_f.
33745 2012-04-08 Mike Frysinger <vapier@gentoo.org>
33747 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
33748 * sysdeps/x86_64/memset_chk.S: Likewise.
33750 2012-04-08 Andreas Jaeger <aj@suse.de>
33753 * manual/startup.texi (Environment Access): Describe return value
33754 for putenv and setenv.
33757 * manual/filesys.texi (Directory Entries): Add description for
33761 * manual/filesys.texi (Directory Entries): Clarify that it's file
33762 system not operating system in the description of DT_UNKNOWN.
33765 * manual/syslog.texi (closelog): Fix reference, it's openlog.
33767 2012-04-08 Stephen Compall <s11@member.fsf.org>
33770 * manual/llio.texi (Opening and Closing Files): Add cross
33771 reference to explain mode argument.
33773 2012-04-07 Mike Frysinger <vapier@gentoo.org>
33775 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
33776 * sysdeps/x86_64/memset_chk.S: Likewise.
33778 2012-04-07 David S. Miller <davem@davemloft.net>
33780 * elf/elf.h (R_SPARC_WDISP10): Define.
33781 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
33783 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
33784 R_SPARC_SIZE64 and R_SPARC_H34.
33786 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
33788 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
33789 conditions and remove no longer applicable assertion.
33791 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
33793 * bits/byteswap.h: Include <features.h>.
33794 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
33795 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
33797 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
33799 * bits/byteswap.h (__bswap_16): Removed.
33800 Include <bits/byteswap-16.h> to get __bswap_16.
33801 * sysdeps/i386/bits/byteswap.h: Likewise.
33802 * sysdeps/s390/bits/byteswap.h: Likewise.
33803 * sysdeps/x86_64/bits/byteswap.h: Likewise.
33804 * bits/byteswap-16.h: New file.
33805 * sysdeps/i386/bits/byteswap-16.h: Likewise.
33806 * sysdeps/s390/bits/byteswap-16.h: Likewise.
33807 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
33808 * string/Makefile (headers): Add bits/byteswap-16.h.
33810 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
33813 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
33815 * nss/Makefile (tests-static, tests): Add tst-nss-static.
33816 * nss/tst-nss-static.c: New.
33818 2012-04-06 Robert Millan <rmh@gnu.org>
33821 * manual/llio.texi (File Position Primitive): lseek
33822 refers to WHENCE when it really means OFFSET.
33824 2012-04-06 Andreas Jaeger <aj@suse.de>
33826 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
33827 strncmp declarations.
33829 * abilist/libc.abilist: Add __poll and __ppoll.
33831 2012-04-05 David S. Miller <davem@davemloft.net>
33833 * scripts/check-local-headers.sh: Accept a host triplet in the
33834 path matched by the exclude regexp.
33836 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
33838 * sysdeps/powerpc/powerpc32/dl-machine.h
33839 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
33840 * sysdeps/s390/s390-32/dl-machine.h
33841 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33842 * sysdeps/sparc/sparc32/dl-machine.h
33843 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33844 * sysdeps/sparc/sparc64/dl-machine.h
33845 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33847 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
33849 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
33850 undefined symbol errors.
33852 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
33855 2012-04-05 Michael Matz <matz@suse.de>
33858 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
33860 2012-04-05 Andreas Jaeger <aj@suse.de>
33863 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
33866 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33868 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
33869 which ROUND is no valid rounding mode.
33871 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33873 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
33875 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
33877 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33879 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
33880 an exception using FPU order intentionally.
33882 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33884 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
33885 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
33886 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
33887 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
33889 2012-04-05 Simon Josefsson <simon@josefsson.org>
33892 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
33893 EINVAL when BUFLEN is too smal.
33895 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
33898 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
33899 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
33901 2012-04-03 Andreas Jaeger <aj@suse.de>
33904 * manual/setjmp.texi (System V contexts): Fix sentence.
33907 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
33908 New macro for this case.
33909 [!__GNUC__] (__bswap_64): New inline function for this case.
33910 * sysdeps/x86_64/bits/byteswap.h: Likewise.
33911 * bits/byteswap.h: Likewise.
33912 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
33913 ull, guard with __GLIBC_HAVE_LONG_LONG.
33915 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
33916 __GLIBC_HAVE_LONG_LONG.
33918 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
33919 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
33921 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33924 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
33925 inptr and inend, rather than using last_ch.
33927 2012-04-02 David S. Miller <davem@davemloft.net>
33929 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
33930 * stdio-common/printf-parse.h (read_int): Change return type to
33931 'int', return -1 on INT_MAX overflow.
33932 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
33933 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
33934 overflows INT_MAX. Check for overflow of in-format-string precision
33935 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
33936 SIZE_MAX not INT_MAX for integer overflow test.
33937 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
33938 skip the construct in the format string but do not record anything.
33939 * stdio-common/bug22.c: Adjust to test both width/prevision
33940 INT_MAX overflow as well as total length INT_MAX overflow. Check
33941 explicitly for proper errno values.
33943 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
33945 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
33947 * string/test-strcmp.c [! WIDE]: Likewise.
33948 * time/tst-mktime2.c: Likewise for INT_MAX.
33949 * string/test-string.h: #include <sys/param.h> for MIN.
33951 * csu/init-first.c (__libc_init_first): Call __ctype_init.
33952 * sysdeps/i386/init-first.c (init): Likewise.
33953 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
33954 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
33955 * sysdeps/sh/init-first.c (init): Likewise.
33957 2012-04-01 Ulrich Drepper <drepper@gmail.com>
33959 * po/ru.po: Update from translation team.
33960 * po/vi.po: Likewise.
33962 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
33964 * resolv/nss_dns/dns-host.c: Merge copyright years.
33966 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33968 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
33969 Optimize memcpy with prefetch if
33970 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
33971 src, dst pointers have unequal 16 byte alignments.
33973 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
33976 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
33977 from a CNAME entry and return the minimum ttl for the query.
33978 (gaih_getanswer_slice): Likewise.
33980 2012-03-30 Jeff Law <law@redhat.com>
33982 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
33984 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
33985 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
33987 * resolv/nss_dns/dns-host.c: Update copyright year.
33989 2012-03-30 Ulrich Drepper <drepper@gmail.com>
33991 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
33992 requests to save a system call. Fix check that all bytes are sent.
33994 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
33995 comments for sendmmsg.
33997 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34000 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
34001 with only 1 character between 0x0041 and 0x01b0.
34002 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
34003 * wcsmbs/tst-mbsnrtowcs.c: New file.
34005 2012-03-29 David S. Miller <davem@davemloft.net>
34007 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
34008 small copies by hand.
34010 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34013 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
34014 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
34017 2012-03-28 David S. Miller <davem@davemloft.net>
34019 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
34020 that branches into memcpy.
34021 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
34022 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
34023 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
34024 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
34025 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
34027 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
34028 implementation too.
34029 * sysdeps/sparc/mempcpy.S: New file.
34031 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
34032 the IFUNC routine in the libc case.
34033 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
34035 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
34036 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
34037 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
34038 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
34039 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
34040 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
34041 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
34042 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
34044 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
34045 loop to 256 bytes instead of 64 bytes and fix test signedness.
34047 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
34048 * sysdeps/sparc/sparc32/Makefile: rather than here...
34049 * sysdeps/sparc/sparc64/Makefile: and here.
34051 2012-03-28 Ulrich Drepper <drepper@gmail.com>
34053 * malloc/mallocbug.c: Avoid warnings about unused variables.
34055 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
34058 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
34059 in the right place. Discard and retry query if response is
34060 larger than input buffer size.
34062 2012-03-28 Joseph Myers <joseph@codesourcery.com>
34067 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
34068 x for large integer exponent.
34069 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
34070 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
34071 sign of result as needed afterwards.
34072 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
34073 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
34074 result for underflowing pow the same as for overflow.
34075 (__kernel_standard_l): Handle powl overflow and underflow here
34076 rather than calling __kernel_standard.
34077 * math/libm-test.inc (pow_test): Add more tests.
34092 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
34093 * sysdeps/ieee754/k_standard.c: Include <float.h>.
34094 (__kernel_standard_l): New function.
34095 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
34097 * math/w_acosl.c (__acosl): Likewise.
34098 * math/w_asinl.c (__asinl): Likewise.
34099 * math/w_atan2l.c (__atan2l): Likewise.
34100 * math/w_atanhl.c (__atanhl): Likewise.
34101 * math/w_coshl.c (__coshl): Likewise.
34102 * math/w_exp10l.c (__exp10l): Likewise.
34103 * math/w_exp2l.c (__exp2l): Likewise.
34104 * math/w_fmodl.c (__fmodl): Likewise.
34105 * math/w_hypotl.c (__hypotl): Likewise.
34106 * math/w_j0l.c (__j0l, __y0l): Likewise.
34107 * math/w_j1l.c (__j1l, __y1l): Likewise.
34108 * math/w_jnl.c (__jnl, __ynl): Likewise.
34109 * math/w_lgammal.c (__lgammal): Likewise.
34110 * math/w_log10l.c (__log10l): Likewise.
34111 * math/w_log2l.c (__log2l): Likewise.
34112 * math/w_logl.c (__logl): Likewise.
34113 * math/w_powl.c (__powl): Likewise.
34114 * math/w_remainderl.c (__remainderl): Likewise.
34115 * math/w_scalbl.c (sysv_scalbl): Likewise.
34116 * math/w_sinhl.c (__sinhl): Likewise.
34117 * math/w_sqrtl.c (__sqrtl): Likewise.
34118 * math/w_tgammal.c (__tgammal): Likewise.
34119 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
34120 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
34121 * math/libm-test.inc (acos_test): Add more tests.
34122 (acosh_test): Likewise.
34123 (asin_test): Likewise.
34124 (atanh_test): Likewise.
34125 (exp_test): Likewise.
34126 (exp10_test): Likewise.
34127 (exp2_test): Likewise.
34128 (expm1_test): Likewise.
34129 (lgamma_test): Likewise.
34130 (log_test): Likewise.
34131 (log10_test): Likewise.
34132 (log1p_test): Likewise.
34133 (log2_test): Likewise.
34134 (pow_test): Do not allow some spurious overflow exceptions.
34135 (sqrt_test): Add more tests.
34136 (tgamma_test): Likewise.
34137 (y0_test): Likewise.
34138 (y1_test): Likewise.
34139 (yn_test): Likewise.
34141 2012-03-27 Anton Blanchard <anton@samba.org>
34143 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
34145 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
34146 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
34147 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
34149 2012-03-27 David S. Miller <davem@davemloft.net>
34151 * conform/Makefile: Run run-conformtest.sh using $(BASH).
34153 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
34154 have-as-vis3 check.
34156 2012-03-27 Andreas Jaeger <aj@suse.de>
34158 * sysdeps/x86_64/elf/configure.in: Moved to ...
34159 * sysdeps/x86_64/configure.in: ... here.
34160 * sysdeps/x86_64/elf/start.S: Moved to ...
34161 * sysdeps/x86_64/start.S: ... here.
34162 * sysdeps/x86_64/elf/configure: Delete.
34164 * sysdeps/x86_64/configure.in: Merge contents from
34165 sysdeps/i386/configure.in (without i686 check).
34167 * sysdeps/i386/elf/Versions: Merge into ...
34168 * sysdeps/i386/Versions: ... this.
34169 * sysdeps/i386/elf/Versions: Delete file.
34170 * sysdeps/i386/elf/start.S: Moved to ...
34171 * sysdeps/i386/start.S: ...here.
34172 * sysdeps/i386/elf/configure.in: Merge into...
34173 * sysdeps/i386/configure.in: ...here.
34174 * sysdeps/i386/elf/configure.in: Delete file.
34175 * sysdeps/i386/elf/configure: Delete file.
34177 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
34178 * debug/backtracesyms.c: ... here.
34179 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
34180 * debug/backtracesymsfd.c: ... here.
34181 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
34182 * sysdeps/generic/ifunc-sel.h: ... here.
34184 * sysdeps/unix/i386/start.c: Delete file.
34185 * sysdeps/unix/sparc/start.c: Delete file.
34186 * sysdeps/unix/start.c: Delete file.
34188 * sysdeps/sh/elf/configure.in: Moved to ...
34189 * sysdeps/sh/configure.in: ... here.
34190 * sysdeps/sh/elf/start.S: Moved to ...
34191 * sysdeps/sh/start.S: ... here.
34192 * sysdeps/sh/elf/configure: Delete file.
34194 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
34195 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
34196 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
34197 * sysdeps/powerpc/powerpc64/entry.h: ... here.
34198 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
34199 * sysdeps/powerpc/powerpc64/start.S: here.
34200 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
34201 * sysdeps/powerpc/powerpc64/Makefile: ... this.
34202 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
34203 * sysdeps/powerpc/powerpc64/configure.in: ... this.
34204 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
34206 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
34207 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
34208 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
34209 * sysdeps/powerpc/powerpc32/start.S: ... here.
34210 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
34211 * sysdeps/powerpc/powerpc32/configure.in: ... this.
34212 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
34214 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
34215 * sysdeps/powerpc/ifunc-sel.h: ... here.
34216 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
34217 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
34219 * sysdeps/sparc/elf/configure.in: Moved to ...
34220 * sysdeps/sparc/configure.in: ... here.
34221 * sysdeps/sparc/elf/configure: Delete file.
34222 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
34223 * sysdeps/sparc/sparc32/start.S: ... here.
34224 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
34225 * sysdeps/sparc/sparc64/start.S: ... here.
34226 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
34227 * sysdeps/sparc/sparc32/Makefile: ... this.
34228 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
34229 * sysdeps/sparc/sparc64/Makefile: ... this.
34231 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
34232 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
34233 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
34234 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
34235 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
34236 * sysdeps/s390/s390-32/setjmp.S: ... here.
34237 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
34238 * sysdeps/s390/s390-32/configure.in: ... here.
34239 * sysdeps/s390/s390-32/elf/configure: Delete file.
34240 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
34241 * sysdeps/s390/s390-32/start.S: ... here.
34243 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
34244 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
34245 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
34246 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
34247 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
34248 * sysdeps/s390/s390-64/setjmp.S: ... here.
34249 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
34250 * sysdeps/s390/s390-64/configure.in: ... here
34251 * sysdeps/s390/s390-64/elf/configure: Delete file.
34252 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
34253 * sysdeps/s390/s390-64/start.S: ... here.
34254 * sysdeps/s390/s390-64/elf/configure: Delete.
34256 * configure.in: Remove support for elf directories in sysdeps.
34258 * configure: Regenerated.
34259 * sysdeps/i386/configure: Regenerated.
34260 * sysdeps/powerpc/powerpc32/configure: Regenerated.
34261 * sysdeps/powerpc/powerpc64/configure: Regenerated.
34262 * sysdeps/s390/s390-32/configure: Regenerated.
34263 * sysdeps/s390/s390-64/configure: Regenerated.
34264 * sysdeps/sh/configure: Regenerated.
34265 * sysdeps/sparc/configure: Regenerated.
34266 * sysdeps/x86_64/configure: Regenerated.
34268 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
34270 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34272 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
34273 denormal result into account.
34275 2012-03-25 Roland McGrath <roland@hack.frob.com>
34277 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
34278 Reported by Allan McRae <allan@archlinux.org>.
34280 2012-03-23 Jeff Law <law@redhat.com>
34282 * nss/getnssent.c (__nss_getent): Fix typo.
34284 2012-03-23 David S. Miller <davem@davemloft.net>
34286 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34288 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
34290 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
34291 to pad to uint64_t for each field.
34292 (dl_tls_index): Replace unsigned long with uint64_t.
34294 2012-03-23 Daniel Jacobowitz <dmj@google.com>
34295 Paul Pluzhnikov <ppluzhnikov@google.com>
34298 * grp/Makefile (otherlibs): Don't set it.
34299 * inet/Makefile (otherlibs): Likewise.
34300 * login/Makefile (otherlibs): Likewise.
34301 * nscd/Makefile (otherlibs): Likewise.
34302 * posix/Makefile (otherlibs): Likewise.
34303 * pwd/Makefile (otherlibs): Likewise.
34304 * rt/Makefile (otherlibs): Likewise.
34305 * sunrpc/Makefile (otherlibs): Likewise.
34306 * nss/Makefile (otherlibs): Likewise.
34307 Add libnss_files to routines and static-only-routines.
34308 ($(objpfx)getent): Remove rule.
34309 * resolv/Makefile: Add libnss_dns and libresolv to routines and
34310 static-only-routines.
34312 2012-03-22 Joseph Myers <joseph@codesourcery.com>
34315 * math/s_cexp.c: Include <float.h>.
34316 (__cexp): Handle exp result overflowing not necessarily
34317 overflowing both real and imaginary parts of result.
34318 * math/s_cexpf.c: Likewise.
34319 * math/s_cexpl.c: Likewise.
34320 * math/libm-test.inc (cexp_test): Add more tests.
34321 * sysdeps/i386/fpu/libm-test-ulps: Update.
34322 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34324 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34326 * include/link.h (ELFW): New macro.
34327 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
34328 Replace ELF64_R_TYPE with ELFW(R_TYPE).
34330 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34332 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
34335 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34337 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
34339 (struct La_x32_retval): Likewise.
34341 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34343 * sysdeps/x86_64/preconfigure.in: New file.
34344 * sysdeps/x86_64/preconfigure: New generated file.
34346 2012-03-22 Joseph Myers <joseph@codesourcery.com>
34349 * math/e_exp2l.c: Include <float.h>.
34350 (__ieee754_exp2l): Handle overflow and underflow cases
34351 separately. Only pass fractional part of argument to
34353 * math/libm-test.inc (exp2_test): Add more tests.
34355 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
34356 negating x to take absolute value.
34357 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
34359 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
34360 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
34362 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
34363 computing low part if x was negated.
34364 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
34366 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
34368 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
34369 la_x32_gnu_pltexit.
34370 (pltexit): Cast int_retval to ptrdiff_t.
34371 * elf/tst-auditmod3b.c: Likewise.
34372 * elf/tst-auditmod4b.c: Likewise.
34373 * elf/tst-auditmod5b.c: Likewise.
34374 * elf/tst-auditmod6b.c: Likewise.
34375 * elf/tst-auditmod6c.c: Likewise.
34376 * elf/tst-auditmod7b.c: Likewise.
34378 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
34379 and x32_gnu_pltexit.
34381 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
34382 __ELF_NATIVE_CLASS.
34383 (La_x32_regs): New macro.
34384 (La_x32_retval): Likewise.
34385 (la_x32_gnu_pltenter): New function prototype.
34386 (la_x32_gnu_pltexit): Likewise.
34388 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
34390 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
34393 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34395 * configure.in (libc_cv_cc_nofma): Check for option to disable
34396 generation of FMA instructions.
34397 * configure: Regenerate.
34398 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
34399 * sysdeps/ieee754/dbl-64/Makefile: New file.
34400 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
34401 Remove brandred-fma4.
34402 (CFLAGS-brandred-fma4.c): Remove.
34403 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
34404 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
34406 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
34409 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
34411 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
34412 LLONG_MAX != LONG_MAX.
34413 (_itoa_word): Use _ITOA_WORD_TYPE on value.
34414 (_fitoa_word): Likewise.
34415 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
34416 LLONG_MAX != LONG_MAX.
34417 * stdio-common/_itowa.h: Include <_itoa.h>.
34418 (_itowa_word): Use _ITOA_WORD_TYPE on value.
34419 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
34420 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
34421 only if not defined.
34422 (_ITOA_WORD_TYPE): Likewise.
34423 (_itoa_word): Use _ITOA_WORD_TYPE on value.
34424 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
34426 2012-03-21 David S. Miller <davem@davemloft.net>
34428 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34430 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
34432 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
34433 of x86_64 when setting libc_cv_slibdir, libdir and
34435 * sysdeps/unix/sysv/linux/configure: Regenerated.
34437 2012-03-21 Joseph Myers <joseph@codesourcery.com>
34439 * manual/lang.texi (Old Varargs): Remove section.
34440 (How Variadic): Update menu.
34441 (va_start): Do not mention varargs.h.
34443 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
34444 Joseph Myers <joseph@codesourcery.com>
34446 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
34448 * configure: Regenerated.
34450 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
34452 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
34453 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
34456 2012-03-21 Joseph Myers <joseph@codesourcery.com>
34459 * Makefile (files-for-dist): Remove NOTES.
34460 (NOTES): Remove rule.
34461 * README: Don't refer to NOTES.
34462 * manual/creature.texi: Don't include macros.texi.
34463 * manual/intro.texi (creature.texi): Remove comment referring to
34466 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
34467 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
34468 * configure: Regenerated.
34469 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
34470 LIBC_TRY_CC_OPTION.
34471 (libc_cv_as_i686): Likewise.
34472 (libc_cv_cc_avx): Likewise.
34473 (libc_cv_cc_sse2avx): Likewise.
34474 (libc_cv_cc_fma4): Likewise.
34475 (libc_cv_cc_novzeroupper): Likewise.
34476 * sysdeps/i386/configure: Regenerated.
34479 * sysdeps/i386/fpu/s_cexp.S: Remove.
34480 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
34481 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
34482 * math/libm-test.inc (cexp_test): Add more tests.
34483 * sysdeps/i386/fpu/libm-test-ulps: Update.
34484 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34486 2012-03-21 Allan McRae <allan@archlinux.org>
34488 * timezone/Makefile: Do not install iso3166.tab and zone.tab
34490 2012-03-21 Joseph Myers <joseph@codesourcery.com>
34493 * math/w_exp2.c: Do not include <float.h>.
34494 (o_threshold, u_threshold): Remove.
34495 (__exp2): Calculate result before checking finiteness and calling
34497 * math/w_exp2f.c: Likewise.
34498 * math/w_exp2l.c: Likewise.
34499 * math/libm-test.inc (exp2_test): Require overflow exception for
34503 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
34504 range of signed 64-bit integers before using fistpll. Remove
34505 checks for whether integers fit in mantissa bits.
34506 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
34507 the range of signed 32-bit integers before using fistpl. Remove
34508 checks for whether integers fit in mantissa bits.
34509 * sysdeps/i386/fpu/e_powl.S (p64): New object.
34510 (__ieee754_powl): Test for y outside the range of signed 64-bit
34511 integers before using fistpll. Reduce 64-bit values to 63-bit
34513 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
34514 divide-by-zero is raised for zero to large negative powers.
34515 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
34516 (__ieee754_powl): Test for y outside the range of signed 64-bit
34517 integers before using fistpll. Reduce 64-bit values to 63-bit
34519 * math/libm-test.inc (pow_test): Add more tests.
34521 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
34523 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
34524 <stdio-common/_itoa.h>.
34525 * debug/segfault.c: Likewise.
34526 * elf/dl-cache.c: Likewise.
34527 * elf/dl-minimal.c: Likewise.
34528 * elf/dl-misc.c: Likewise.
34529 * elf/dl-sysdep.c: Likewise.
34530 * elf/dl-version.c: Likewise.
34531 * elf/rtld.c: Likewise.
34532 * hurd/hurdsock.c: Likewise.
34533 * hurd/lookup-retry.c: Likewise.
34534 * malloc/malloc.c: Likewise.
34535 * malloc/mtrace.c: Likewise.
34536 * nscd/nscd_getgr_r.c: Likewise.
34537 * nscd/nscd_getpw_r.c: Likewise.
34538 * nscd/nscd_getserv_r.c: Likewise.
34539 * posix/getopt_init.c: Likewise.
34540 * posix/wordexp.c: Likewise.
34541 * stdio-common/_itoa.c: Likewise.
34542 * stdio-common/printf_fphex.c: Likewise.
34543 * stdio-common/vfprintf.c: Likewise.
34544 * string/_strerror.c: Likewise.
34545 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
34546 * sysdeps/i386/i686/hp-timing.h: Likewise.
34547 * sysdeps/mach/_strerror.c: Likewise.
34548 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
34549 * sysdeps/mach/hurd/sethostid.c: Likewise.
34550 * sysdeps/mach/hurd/xmknodat.c: Likewise.
34551 * sysdeps/mach/xpg-strerror.c: Likewise.
34552 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
34553 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
34554 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
34555 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
34556 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
34557 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
34558 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
34559 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
34560 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
34561 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
34562 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
34563 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
34564 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
34565 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
34566 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
34567 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
34568 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
34569 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
34570 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
34571 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
34572 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
34574 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
34576 * stdio-common/_itoa.h: Moved to ...
34577 * sysdeps/generic/_itoa.h: Here.
34579 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
34581 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
34582 instead of "_itoa.h" and "_itowa.h".
34583 * stdio-common/vfprintf.: Likewise.
34585 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
34587 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
34589 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
34590 (__signbit): Likwise.
34591 (llrintf): Likwise.
34594 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
34596 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
34599 2012-03-20 Joseph Myers <joseph@codesourcery.com>
34601 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
34602 OVERFLOW_EXCEPTION_OK.
34603 * math/libm-test.inc ("Philosophy"): Update comment about
34605 (OVERFLOW_EXCEPTION): Define.
34606 (OVERFLOW_EXCEPTION_OK): Likewise.
34607 (INVALID_EXCEPTION_OK): Renumber.
34608 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34609 (IGNORE_ZERO_INF_SIGN): Likewise.
34610 (test_exceptions): Handle FE_OVERFLOW.
34611 (exp10_test): Expect overflow exceptions.
34612 (exp2_test): Likewise.
34613 (expm1_test): Likewise.
34614 (nextafter_test): Likewise.
34615 (pow_test): Likewise.
34616 (scalbn_test): Likewise.
34617 (scalbln_test): Likewise.
34619 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34621 * sysdeps/x86_64/bits/atomic.h
34622 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
34624 (atomic_exchange_acq): Likewise.
34625 (__arch_exchange_and_add_body): Likewise.
34626 (__arch_add_body): Likewise.
34627 (atomic_add_negative): Likewise.
34628 (atomic_add_zero): Likewise.
34630 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34632 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
34633 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
34635 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34637 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
34638 Check __x86_64__ instead of __WORDSIZE.
34640 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34642 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
34644 2012-03-19 David S. Miller <davem@davemloft.net>
34646 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34648 * sysdeps/sparc/fpu/fenv_private.h: New file.
34649 * sysdeps/sparc/fpu/math_private.h: Use it.
34650 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
34652 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
34653 (libc_feholdexcept_setroundl): Remove.
34654 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
34656 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
34657 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
34659 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34661 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
34662 int64_t instead of long int.
34663 (INSERT_WORDS64): Likwise.
34665 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34667 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
34668 _Unwind_GetCFA return to _Unwind_Ptr first.
34670 2012-03-19 Joseph Myers <joseph@codesourcery.com>
34673 * math/s_clog.c: Include <float.h>.
34674 (__clog): Scale large or subnormal inputs.
34675 * math/s_clogf.c: Likewise.
34676 * math/s_clogl.c: Likewise.
34677 * math/s_clog10.c: Include <float.h>.
34678 (M_LOG10_2): Define.
34679 (__clog10): Scale large or subnormal inputs.
34680 * math/s_clog10f.c: Likewise.
34681 * math/s_clog10l.c: Likewise.
34682 * math/libm-test.inc (clog_test): Add more tests.
34683 (clog10_test): Likewise.
34684 * sysdeps/i386/fpu/libm-test-ulps: Update.
34685 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34688 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
34690 * math/libm-test.inc (atan2_test): Add another test.
34692 * Makerules (common-objdir-compile): Remove.
34693 * sysdeps/unix/Makefile (config-generated): Do not add
34694 $(unix-generated) to variable.
34695 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
34696 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
34698 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
34700 [generic bits/local_lim.h] (before-compile): Do not append to
34702 [generic bits/local_lim.h] (common-generated): Likewise.
34703 [generic sys/param.h] (before-compile): Do not append to variable.
34704 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
34705 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
34706 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
34707 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
34709 [generic sys/param.h] (sys/param.h-includes): Remove variable.
34710 [generic sys/param.h] (sys/param.h-includes): Remove rule.
34711 [generic sys/param.h] ($(addprefix
34712 $(common-objpfx),$(sys/param.h-includes))): Likewise.
34713 [generic sys/param.h] (common-generated): Do not append to
34715 [generic sys/param.h] (sysdep_headers): Likewise.
34716 [generic bits/errno.h] (before-compile): Do not append to
34718 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
34720 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
34721 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
34722 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
34723 [generic bits/errno.h] (common-generated): Do not append to
34725 [generic bits/ioctls.h] (before-compile): Do not append to
34727 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
34729 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
34730 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
34731 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
34733 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
34734 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
34735 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
34736 [generic bits/ioctls.h] (common-generated): Do not append to
34738 [generic sys/syscall.h] (syscall.h): Remove variable.
34739 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
34741 [generic sys/syscall.h] (before-compile): Do not append to
34743 [generic sys/syscall.h] (common-generated): Likewise.
34744 * sysdeps/unix/errnos-tmpl.c: Remove file.
34745 * sysdeps/unix/errnos.awk: Likewise.
34746 * sysdeps/unix/ioctls-tmpl.c: Likewise.
34747 * sysdeps/unix/ioctls.awk: Likewise.
34748 * sysdeps/unix/mk-local_lim.c: Likewise.
34749 * sysdeps/unix/snarf-ioctls: Likewise.
34751 2012-03-19 Richard Henderson <rth@twiddle.net>
34753 * sysdeps/i386/fpu/fenv_private.h: New file.
34754 * sysdeps/i386/fpu/math_private.h: Use it.
34755 (math_opt_barrier, math_force_eval): Remove.
34756 (libc_feholdexcept_setround_53bit): Remove.
34757 (libc_feupdateenv_53bit): Remove.
34758 * sysdeps/x86_64/fpu/math_private.h: Likewise.
34759 (math_opt_barrier, math_force_eval): Remove.
34760 (libc_feholdexcept): Remove.
34761 (libc_feholdexcept_setround): Remove.
34762 (libc_fetestexcept, libc_fesetenv): Remove.
34763 (libc_feupdateenv_test): Remove.
34764 (libc_feupdateenv, libc_feholdsetround): Remove.
34765 (libc_feresetround): Remove.
34767 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
34768 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
34770 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
34771 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
34772 (libc_feupdateenv_testl): New.
34773 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
34774 (libc_feupdateenv_testf): New.
34775 (libc_feupdateenv): Use libc_feupdateenv_test.
34776 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
34777 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
34779 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
34780 (libc_feholdsetroundf, libc_feholdsetroundl): New.
34781 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
34782 (libc_feresetround_noex): New.
34783 (libc_feresetround_noexf): New.
34784 (libc_feresetround_noexl): New.
34785 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
34786 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
34787 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
34788 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
34790 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
34791 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
34793 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
34794 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
34795 SET_RESTORE_ROUND_NOEX.
34796 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
34797 SET_RESTORE_ROUND_NOEXF.
34798 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
34799 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
34800 (libc_feholdsetroundf): New.
34801 (libc_feresetround, libc_feresetroundf): New.
34803 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
34804 (libc_feholdexcept_setround_53bit): Convert from macro to function.
34805 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
34807 * sysdeps/generic/math_private.h: Include <fenv.h>.
34808 (default_libc_feholdexcept): New.
34809 (default_libc_feholdexcept_setround): New.
34810 (default_libc_fesetenv, default_libc_feupdateenv): New.
34811 (libc_feholdexcept): Only define if undefined.
34812 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
34813 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
34814 (libc_feholdexcept_setroundl): Likewise.
34815 (libc_feholdexcept_setround_53bit): Likewise.
34816 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
34817 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
34818 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
34819 (libc_feupdateenv_53bit): Likewise.
34820 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
34821 (libc_feholdexcept): Convert from macro to inline function.
34822 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
34823 (libc_fesetenv, libc_feupdateenv): Likewise.
34825 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
34826 not previously defined.
34827 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
34828 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
34829 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
34830 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
34831 * sysdeps/ieee754/flt-32/math_private.h: New file.
34832 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
34833 math_private.h below SET_FLOAT_WORD.
34834 (__isnan, __isinf_ns, __finite): Remove.
34835 (__isnanf, __isinf_nsf, __finitef): Remove.
34837 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
34839 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34841 2012-03-17 David S. Miller <davem@davemloft.net>
34844 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
34847 2012-03-16 David S. Miller <davem@davemloft.net>
34849 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
34853 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
34855 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
34856 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
34857 sysdep_routines when subdir is sysvipc.
34858 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
34859 __getshmlba helper.
34861 * sysdeps/sparc/fpu/libm-test/ulps: Update.
34863 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34865 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
34868 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34870 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
34871 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
34872 (__lround): Renamed to ...
34873 (__llround): This. Replace long int with long long int.
34874 Define lround functions as aliases of llround functions.
34875 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
34877 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34879 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
34880 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
34881 adresses to uintptr_t. Replace "long int" and "unsigned long
34882 int" with "greg_t" on va_arg.
34884 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34886 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
34887 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
34889 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
34890 Move e_machine check before EI_CLASS check. Handle x32
34891 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
34892 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
34893 SKIP_EM_IA_64 and include
34894 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
34896 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
34897 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
34898 (add_system_dir): New macro.
34900 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
34901 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
34903 2012-03-16 Joseph Myers <joseph@codesourcery.com>
34914 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
34916 * math/w_j0f.c (j0f): Likewise.
34918 * math/w_j0l.c (__j0l): Likewise.
34920 * math/w_j1.c (j1): Likewise.
34922 * math/w_j1f.c (j1f): Likewise.
34924 * math/w_j1l.c (__j1l): Likewise.
34926 * math/w_jn.c (jn): Likewise.
34928 * math/w_jnf.c (jnf): Likewise.
34930 * math/w_jnl.c (__jnl): Likewise.
34932 * math/libm-test.inc (j0_test): Add more tests.
34933 (j1_test): Likewise.
34934 (jn_test): Likewise. Add trailing semicolon to existing test.
34935 (y0_test): Likewise.
34936 (y1_test): Likewise.
34937 * sysdeps/i386/fpu/libm-test-ulps: Update.
34938 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34942 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
34943 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
34944 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
34945 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
34946 (__tanl): Set errno for infinite argument.
34947 * sysdeps/i386/fpu/mptan.c: Remove.
34948 * sysdeps/i386/fpu/s_tan.S: Likewise.
34949 * sysdeps/i386/fpu/s_tanl.S: Likewise.
34950 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
34951 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
34952 * math/libm-test.inc (tan_test): Add more tests and enable more
34953 tests for double and long double.
34954 * sysdeps/i386/fpu/libm-test-ulps: Update.
34955 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34957 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
34959 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
34960 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
34962 2012-03-16 Roland McGrath <roland@hack.frob.com>
34964 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
34965 * configure.in: Use it for both main tree and add-ons.
34966 * configure: Regenerated.
34968 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34970 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
34972 2012-03-16 Joseph Myers <joseph@codesourcery.com>
34974 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
34978 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
34979 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
34980 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
34981 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
34982 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
34984 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
34985 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
34986 != 0 for prec == 2.
34987 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
34988 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
34989 * sysdeps/i386/fpu/s_cosl.S: Likewise.
34990 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
34991 * sysdeps/i386/fpu/s_sinl.S: Likewise.
34992 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
34993 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
34994 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
34995 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
34996 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
34997 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
34998 * math/libm-test.inc (cos_test): Add more tests and enable more
34999 tests for long double.
35000 (sin_test): Likewise.
35001 (sincos_test): Likewise.
35002 * sysdeps/i386/fpu/libm-test-ulps: Update.
35003 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35005 2012-03-16 David S. Miller <davem@davemloft.net>
35007 * sysdeps/sparc/fpu/math_private.h: New file.
35009 2012-03-15 David S. Miller <davem@davemloft.net>
35011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
35013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
35014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
35016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
35017 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
35018 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
35019 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
35020 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
35021 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
35023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
35025 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
35026 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
35028 * sysdeps/sparc/sparc-ifunc.h: New file.
35029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
35031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
35032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
35034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
35036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
35037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
35038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
35039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
35041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
35042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
35043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
35044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
35045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
35047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
35049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
35050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
35051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
35052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
35053 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
35054 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
35055 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
35056 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
35057 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
35058 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
35059 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
35060 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
35061 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
35062 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
35063 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
35064 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
35065 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
35066 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
35067 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
35068 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
35069 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
35070 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
35071 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
35072 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
35074 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
35076 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
35078 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35080 2012-03-15 Andreas Jaeger <aj@suse.de>
35083 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
35084 ieee754/flt-32 implementation for sin, cos and sincos.
35085 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
35086 * sysdeps/i386/fpu/s_cosf.S: Likewise.
35087 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
35088 * sysdeps/i386/fpu/s_sinf.S: Likewise.
35089 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
35090 ieee754/flt-32 implementation for tan.
35092 * math/libm-test.inc (cos_test): Enable some large input tests for
35094 (sin_test): Likewise.
35095 (sincos_test): Likewise.
35096 (tan_test): Add tests for large input.
35098 * sysdeps/i386/fpu/libm-test-ulps: Update.
35100 2012-03-15 Andreas Jaeger <aj@suse.de>
35103 * math/libm-test.inc (cos_test): Add more test cases.
35104 (sin_test): Likewise.
35105 (sincos_test): Likewise.
35107 2012-03-15 Andreas Jaeger <aj@suse.de>
35110 * math/libm-test.inc (cos_test): Add a test case for large input
35112 (sin_test): Likewise.
35113 (sincos_test): Likewise.
35115 2012-03-15 Andreas Jaeger <aj@suse.de>
35116 Joseph Myers <joseph@codesourcery.com>
35119 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
35120 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
35121 * sysdeps/i386/fpu/branred.c: Likewise.
35122 * sysdeps/i386/fpu/dosincos.c: Likewise.
35123 * sysdeps/i386/fpu/mpa.c: Likewise.
35124 * sysdeps/i386/fpu/s_cos.S: Likewise.
35125 * sysdeps/i386/fpu/s_sin.S: Likewise.
35126 * sysdeps/i386/fpu/s_sincos.S: Likewise.
35127 * sysdeps/i386/fpu/sincos32.c: Likewise.
35129 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
35131 (libc_feupdateenv_53bit): Define.
35132 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
35134 (libc_feupdateenv_53bit): Define.
35136 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
35137 53 bit (without extend i386 double precision).
35139 * math/libm-test.inc (sincos_test): Add tests for large input.
35143 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
35145 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
35147 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35149 2012-03-15 David S. Miller <davem@davemloft.net>
35151 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
35152 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
35153 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
35154 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
35155 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
35156 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
35157 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
35158 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
35159 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
35160 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
35161 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
35162 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
35163 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
35164 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
35165 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
35166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
35168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
35169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
35171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
35172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
35174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
35175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
35177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
35178 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
35179 fmin/fmax sysdep routines.
35180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
35182 2012-03-14 David S. Miller <davem@davemloft.net>
35184 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
35185 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
35186 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
35187 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
35188 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
35189 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
35190 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
35191 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
35192 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
35193 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
35194 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
35195 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
35196 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
35197 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
35198 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
35199 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
35200 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
35201 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
35202 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
35203 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
35204 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
35205 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
35206 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
35207 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
35208 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
35209 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
35210 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
35211 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
35212 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
35214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
35216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
35217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
35219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
35220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
35222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
35223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
35225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
35226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
35228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
35229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
35231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
35233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
35235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
35237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
35239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
35241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
35243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
35244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
35246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
35247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
35249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
35250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
35252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
35253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
35256 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
35259 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35261 * sysdeps/sparc/configure.in: New file.
35262 * sysdeps/sparc/configure: Generate.
35263 * configure.in (libc_cv_sparc_as_vis3): Substitute.
35264 * configure: Regenerate.
35265 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
35266 * config.make.in (have-as-vis3): New.
35267 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
35268 available use -Av9d instead of -Av9a.
35269 * sysdeps/sparc/sparc64/Makefile: Likewise.
35270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
35271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
35273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
35275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
35277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
35279 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
35280 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
35281 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
35282 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
35283 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
35285 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
35286 fzeros/fnegs to load 0x80000000 into a float register instead of
35288 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
35290 2012-03-14 Joseph Myers <joseph@codesourcery.com>
35292 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35294 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
35295 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
35296 ($(inst_includedir)/bits/syscall.h): Remove rule.
35297 ($(objpfx)bits/syscall.d): Include instead of
35298 $(objpfx)syscall-list.d.
35299 (generated): Change syscall-list.h and syscall-list.d to
35300 bits/syscall.h and bits/syscall.d.
35302 2012-03-14 Roland McGrath <roland@hack.frob.com>
35305 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
35307 2012-03-14 Joseph Myers <joseph@codesourcery.com>
35310 * math/s_csqrt.c: Include <float.h>.
35311 (__csqrt): Scale large or subnormal inputs.
35312 * math/s_csqrtf.c: Likewise.
35313 * math/s_csqrtl.c: Likewise.
35314 * math/libm-test.inc (csqrt_test): Add more tests.
35315 * sysdeps/i386/fpu/libm-test-ulps: Update.
35316 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35319 * math/libm-test.inc (hypot_test): Add more tests.
35321 2012-03-13 David S. Miller <davem@davemloft.net>
35324 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
35325 double-precision for the calculation instead of scaling.
35327 2012-03-13 Joseph Myers <joseph@codesourcery.com>
35329 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
35330 manipulate bits before adding and subtracting TWO52[sx].
35331 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
35332 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
35334 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
35336 2012-03-13 David S. Miller <davem@davemloft.net>
35338 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
35339 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
35340 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
35341 rtld-global-offsets.h
35342 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35344 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
35347 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
35349 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
35350 'err' in the ifdef scope in which it is actually used.
35352 * nss/nss_db/db-init.c: Include string.h
35354 2012-03-12 David S. Miller <davem@davemloft.net>
35356 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
35357 masking out of the most significant byte of random value used.
35358 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35359 Fix coding style in previous change.
35361 * sysdeps/unix/sysv/linux/kernel-features.h
35362 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
35363 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
35365 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
35368 2012-03-11 David S. Miller <davem@davemloft.net>
35370 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
35371 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
35372 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
35373 for 'resultvar' otherwise things get truncated on 64-bit.
35375 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35376 Fix masking out of the most significant byte of random value used.
35378 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35380 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
35382 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35384 2012-03-09 David S. Miller <davem@davemloft.net>
35386 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
35387 variables with appropriate CPP guards.
35388 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
35389 from the frame pointer, not the stack pointer. Correct layout
35390 comments. Fix test on resulting framesize and the management of
35391 the outregs buffer for pltexit. Preserve floating point return
35392 values across _dl_call_pltexit call.
35393 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
35394 framesize and the management of the outregs buffer for pltexit.
35395 Preserve floating point return values across _dl_call_pltexit
35397 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
35398 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
35399 (la_sparc64_gnu_pltexit): New functions.
35400 (print_exit): Fix format string for return register value.
35402 2012-03-10 Joseph Myers <joseph@codesourcery.com>
35404 * sunrpc/Makefile (others): Add rpcgen.
35405 ($(objpfx)rpcgen): Remove special build rule and dependency on
35407 * sunrpc/rpcgen.c: New file.
35409 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
35412 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
35413 * stdio-common/bug-vfprintf-nargs.c: Likewise.
35414 * sysdeps/i386/crti.S: Likewise.
35415 * sysdeps/i386/crtn.S: Likewise.
35416 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
35417 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
35418 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
35419 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
35420 * sysdeps/sh/crti.S: Likewise.
35421 * sysdeps/sh/crtn.S: Likewise.
35422 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
35425 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
35427 * locale/programs/locfile-kw.gperf: Likewise.
35428 * locale/programs/charmap-kw.h: Regenerated.
35429 * locale/programs/locfile-kw.h: Likewise.
35432 * intl/plural.y: Replace FSF snail mail address with URL.
35433 * intl/plural.c: Regenerated.
35435 2012-03-09 Richard Henderson <rth@twiddle.net>
35437 * include/math_private.h: Remove file.
35438 * math/math_private.h: Move file ...
35439 * sysdeps/generic/math_private.h: ... here.
35441 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
35442 * sysdeps/powerpc/fpu/math_private.h: Likewise.
35443 * sysdeps/x86_64/fpu/math_private.h: Likewise.
35445 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
35446 and <math_private.h>.
35447 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
35448 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
35449 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
35450 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
35451 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
35452 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
35453 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
35454 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
35455 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
35456 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
35457 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
35458 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35459 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
35460 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
35461 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
35462 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
35463 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
35464 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
35465 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
35466 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
35467 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
35468 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
35469 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
35470 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
35471 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
35472 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
35473 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
35474 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
35475 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
35476 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35477 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
35478 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
35479 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
35480 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
35481 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
35482 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
35483 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
35484 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
35485 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
35486 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35487 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
35488 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
35489 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
35490 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
35491 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
35492 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
35493 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
35494 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
35495 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
35496 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
35497 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
35498 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
35499 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
35500 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
35501 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
35502 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
35503 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
35504 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
35505 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
35506 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
35507 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
35508 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
35509 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
35510 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
35511 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
35512 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
35513 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
35514 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
35515 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
35516 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
35517 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
35518 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
35519 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
35520 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
35521 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
35522 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
35523 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
35524 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35525 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
35526 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
35527 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
35528 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
35529 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
35530 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
35531 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
35532 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
35533 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
35534 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
35535 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
35536 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35537 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35538 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
35539 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35540 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
35541 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
35542 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
35543 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
35544 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
35545 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
35546 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
35547 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
35548 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
35549 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
35550 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
35551 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35552 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
35553 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
35554 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
35555 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35556 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35557 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35558 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35559 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
35560 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35561 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
35562 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
35563 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35564 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
35565 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35566 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
35567 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35568 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
35569 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
35570 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
35571 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35572 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
35573 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
35574 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
35575 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
35576 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
35577 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
35578 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
35579 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35580 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
35581 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
35582 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
35583 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
35584 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
35585 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
35586 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
35587 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
35588 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
35589 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
35590 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
35591 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
35592 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
35593 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
35594 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
35595 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
35596 * sysdeps/ieee754/k_standard.c: Likewise.
35597 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
35598 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
35599 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35600 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
35601 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
35602 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
35603 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
35604 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
35605 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
35606 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
35607 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
35608 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
35609 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
35610 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
35611 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
35612 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
35613 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
35614 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
35615 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
35616 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
35617 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
35618 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
35619 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35620 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
35621 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
35622 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
35623 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
35624 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
35625 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
35626 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35627 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
35628 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
35629 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
35630 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
35631 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
35632 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
35633 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
35634 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
35635 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
35636 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
35637 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
35638 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
35639 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
35640 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
35641 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
35642 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
35643 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
35644 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
35645 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
35646 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35647 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35648 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
35649 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
35650 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
35651 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35652 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35653 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
35654 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
35655 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
35656 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
35657 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35658 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
35659 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
35660 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
35661 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35662 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35663 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
35664 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
35665 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
35666 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
35667 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
35668 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35669 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
35670 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
35671 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
35672 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
35673 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
35674 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
35675 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
35676 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
35677 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
35678 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
35679 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
35680 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
35681 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
35682 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
35683 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
35684 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
35685 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
35686 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
35687 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
35688 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
35689 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
35690 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
35691 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
35692 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
35693 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
35694 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
35695 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
35696 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
35697 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
35698 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
35699 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35700 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
35701 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
35702 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35703 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35704 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
35705 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
35706 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
35707 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
35708 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
35709 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
35710 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35711 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
35712 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
35713 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
35714 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35715 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
35716 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
35717 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
35718 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
35719 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
35720 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
35721 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35722 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
35723 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
35724 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
35725 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
35726 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35727 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
35728 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
35729 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
35730 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
35731 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
35732 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
35733 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
35734 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
35735 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
35736 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
35737 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
35738 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
35739 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
35740 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
35741 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
35742 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
35743 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
35744 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
35745 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
35746 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
35747 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
35748 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
35749 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
35750 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
35751 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
35752 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
35753 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
35754 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
35755 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
35756 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
35757 * sysdeps/ieee754/s_lib_version.c: Likewise.
35758 * sysdeps/ieee754/s_matherr.c: Likewise.
35759 * sysdeps/ieee754/s_signgam.c: Likewise.
35760 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
35761 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
35762 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
35763 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
35764 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
35765 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
35766 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
35767 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
35768 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
35769 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
35770 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
35771 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
35772 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
35773 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
35774 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
35775 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
35776 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
35777 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
35778 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
35779 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35780 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
35782 2012-03-09 Joseph Myers <joseph@codesourcery.com>
35784 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
35785 * sunrpc/rpc_main.c: Likewise.
35786 * sunrpc/rpc_svcout.c: Likewise.
35788 2012-03-09 David S. Miller <davem@davemloft.net>
35790 * include/math_private.h: New file.
35792 2012-03-09 Joseph Myers <joseph@codesourcery.com>
35794 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
35795 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
35796 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
35797 from <bits/socket_type.h>.
35798 (enum __socket_type): Don't define here.
35799 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
35800 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35801 bits/socket_type.h.
35804 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
35805 checking __USE_GNU.
35807 * Makerules ($(inst_includedir)/%.h): New rule.
35808 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
35809 (install-others): Remove variable setting.
35810 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
35812 2012-03-08 Richard Henderson <rth@twiddle.net>
35814 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
35815 from macro to inline function; merge with the
35816 !__LIBC_INTERNAL_MATH_INLINES version.
35817 (__ieee754_sqrtf): Likewise.
35819 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
35820 to inline function.
35821 (__rintf, __floor, __floorf): Likewise.
35823 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
35824 macro to inline function.
35825 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
35827 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
35828 not <math/math_private.h>.
35830 2012-03-08 David S. Miller <davem@davemloft.net>
35832 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
35834 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
35836 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
35838 * resolv/gai_misc.c (handle_requests): Fix struct timespec
35840 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
35841 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
35843 2012-03-08 Ulrich Drepper <drepper@gmail.com>
35845 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
35846 be defined individually, they must be defined as a block. Define
35847 S for printing a string instead of hidint the different by using a
35848 macro for adding the 'l'.
35849 * stdio-common/tst-fphex-wide.c: Adjust.
35851 2012-03-07 Marek Polacek <polacek@redhat.com>
35853 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
35855 2012-03-08 Marek Polacek <polacek@redhat.com>
35858 * stdio-common/Makefile (tests): Add tst-fphex-wide.
35859 * stdio-common/tst-fphex.c: Define a few macros to make the
35860 test reusable. Use them.
35861 * stdio-common/tst-fphex-wide.c: New file.
35863 2012-03-08 Joseph Myers <joseph@codesourcery.com>
35866 * manual/macros.texi (gnusystems): New macro.
35867 (nongnusystems): Likewise.
35868 (gnulinuxhurdsystems): Likewise.
35869 (gnuhurdsystems): Likewise..
35870 (gnulinuxsystems): Likewise.
35871 * manual/charset.texi: Use new macros or @theglibc{} to refer to
35872 variants of the GNU system, not "GNU system".
35873 * manual/conf.texi: Likewise.
35874 * manual/errno.texi: Likewise. Update example of errno macro
35876 * manual/filesys.texi: Likewise.
35877 (getumask): Document as specific to GNU/Hurd.
35878 * manual/install.texi: Likewise. Reword some references to
35880 * manual/intro.texi: Likewise.
35881 * manual/io.texi: Likewise.
35882 (File Name Portability): Detail which constraints are inapplicable
35883 to all GNU systems and which are only inapplicable to GNU/Hurd.
35884 * manual/job.texi: Likewise.
35885 * manual/llio.texi: Likewise.
35886 (O_NOCTTY): Document as present on GNU/Linux.
35887 * manual/maint.texi: Likewise.
35888 * manual/memory.texi: Likewise.
35889 * manual/pattern.texi: Likewise.
35890 * manual/pipe.texi: Likewise.
35891 * manual/process.texi: Likewise.
35892 * manual/resource.texi: Likewise.
35893 (RUSAGE_CHILDREN): Remove statement about specifying a particular
35895 * manual/setjmp.texi: Likewise.
35896 * manual/signal.texi: Likewise.
35897 * manual/startup.texi: Likewise.
35898 * manual/stdio.texi: Likewise.
35899 * manual/terminal.texi: Likewise.
35900 (ONLCR): Document as POSIX.
35901 (OXTABS): Document availability on GNU/Linux as XTABS.
35902 (ONOEOT): Document availability separately from other bits.
35903 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
35904 * manual/time.texi: Likewise.
35905 * manual/users.texi: Likewise.
35906 * INSTALL: Regenerated.
35907 * sysdeps/gnu/errlist.c: Regenerated.
35909 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
35910 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
35911 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
35913 * configure: Regenerated.
35915 2012-03-07 Joseph Myers <joseph@codesourcery.com>
35917 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
35918 default includes instead of AC_HEADER_CHECK.
35919 * sysdeps/i386/configure: Regenerated.
35922 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
35923 * math/s_cacoshf.c (__cacoshf): Likewise.
35924 * math/s_cacoshl.c (__cacoshl): Likewise.
35925 * math/s_casinh.c (__casinh): Set signs of result from argument.
35926 * math/s_casinhf.c (__casinhf): Likewise.
35927 * math/s_casinhl.c (__casinhl): Likewise.
35928 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
35929 (casinh_test): Add more tests.
35930 * sysdeps/i386/fpu/libm-test-ulps: Update.
35931 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35933 2012-03-07 Ulrich Drepper <drepper@gmail.com>
35935 * po/zh_TW.po: Update from translation team.
35937 * login/Makefile (distribute): Remove variable.
35938 * catgets/Makefile: Likewise.
35939 * mach/Makefile: Likewise.
35940 * malloc/Makefile: Likewise.
35941 * misc/Makefile: Likewise.
35942 * iconv/Makefile: Likewise.
35943 * nscd/Makefile: Likewise.
35944 * hurd/Makefile: Likewise.
35945 * manual/Makefile: Likewise.
35946 * locale/Makefile: Likewise.
35947 * intl/Makefile: Likewise.
35948 * conform/Makefile: Likewise.
35949 * nss/Makefile: Likewise.
35950 * time/Makefile: Likewise.
35951 * soft-fp/Makefile: Likewise.
35952 * dirent/Makefile: Likewise.
35953 * gmon/Makefile: Likewise.
35954 * po/Makefile: Likewise.
35955 * rt/Makefile: Likewise.
35956 * socket/Makefile: Likewise.
35957 * math/Makefile: Likewise.
35958 * signal/Makefile: Likewise.
35959 * debug/Makefile: Likewise.
35960 * elf/Makefile: Likewise.
35961 * timezone/Makefile: Likewise.
35962 * stdlib/Makefile: Likewise.
35963 * iconvdata/Makefile: Likewise.
35964 * sunrpc/Makefile: Likewise.
35965 * io/Makefile: Likewise.
35966 * argp/Makefile: Likewise.
35967 * inet/Makefile: Likewise.
35968 * hesiod/Makefile: Likewise.
35969 * grp/Makefile: Likewise.
35970 * csu/Makefile: Likewise.
35971 * wctype/Makefile: Likewise.
35972 * crypt/Makefile: Likewise.
35973 * libio/Makefile: Likewise.
35974 * string/Makefile: Likewise.
35975 * nis/Makefile: Likewise.
35976 * resolv/Makefile: Likewise.
35977 * stdio-common/Makefile: Likewise.
35978 * wcsmbs/Makefile: Likewise.
35979 * dlfcn/Makefile: Likewise.
35980 * posix/Makefile: Likewise.
35983 * timezone/Makefile: Don't install timezone files, just the programs
35986 2012-03-06 Ulrich Drepper <drepper@gmail.com>
35988 * nss/databases.def: Add missing gshadow entry.
35990 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
35992 2012-03-06 Marek Polacek <polacek@redhat.com>
35995 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
35996 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
35997 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
35998 * stdio-common/tst-long-dbl-fphex.c: New file.
36000 2012-03-06 David S. Miller <davem@davemloft.net>
36002 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36003 (set_obp_int): New function.
36004 (get_obp_int): New function.
36005 (__get_clockfreq_via_dev_openprom): Likewise.
36006 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
36007 Avoid unused variable warnings on 'val' and use builtin_expect.
36008 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
36010 (INLINE_CLONE_SYSCALL): Likewise.
36012 2012-03-05 David S. Miller <davem@davemloft.net>
36014 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36016 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
36018 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36020 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
36021 only for |x| >= 40.
36022 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
36024 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
36026 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
36027 Replace gettimeofday with __vdso_gettimeofday.
36029 * sysdeps/unix/sysv/linux/x86_64/init-first.c
36030 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
36031 __vdso_clock_gettime and __vdso_getcpu.
36033 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
36034 time with __vdso_time.
36036 2012-03-05 Joseph Myers <joseph@codesourcery.com>
36038 * manual/lang.texi (size_t): Note types to which size_t may be
36039 equivalent with the GNU C Library, but do not describe when
36040 differences between them are significant.
36042 2012-03-05 Andreas Jaeger <aj@suse.de>
36044 * sysdeps/i386/fpu/libm-test-ulps: Update.
36046 2012-03-05 Joseph Myers <joseph@codesourcery.com>
36049 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
36050 (__ieee754_pow): Save and restore rounding mode and use
36051 round-to-nearest for main computations.
36052 * math/libm-test.inc (pow_test_tonearest): New function.
36053 (pow_test_towardzero): Likewise.
36054 (pow_test_downward): Likewise.
36055 (pow_test_upward): Likewise.
36056 (main): Call the new functions.
36057 * sysdeps/i386/fpu/libm-test-ulps: Update.
36058 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36061 * math/libm-test.inc (cosh_test_tonearest): New function.
36062 (cosh_test_towardzero): Likewise.
36063 (cosh_test_downward): Likewise.
36064 (cosh_test_upward): Likewise.
36065 (sinh_test_tonearest): Likewise.
36066 (sinh_test_towardzero): Likewise.
36067 (sinh_test_downward): Likewise.
36068 (sinh_test_upward): Likewise.
36069 (main): Call the new functions.
36070 * sysdeps/i386/fpu/libm-test-ulps: Update.
36071 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36073 2012-03-05 Tom de Vries <tom@codesourcery.com>
36075 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
36076 default stack guard is set in last bytes.
36077 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
36079 2012-03-05 Kees Cook <keescook@chromium.org>
36081 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
36084 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
36085 possibly allocate from heap instead of stack.
36086 * stdio-common/bug-vfprintf-nargs.c: New file.
36087 * stdio-common/Makefile (tests): Add nargs overflow test.
36089 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
36091 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36093 2012-03-03 Marek Polacek <polacek@redhat.com>
36095 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
36096 * math/math_private.h: Likewise.
36097 * stdlib/tst-strtod.c: Likewise.
36098 * sysdeps/i386/i486/bits/atomic.h: Likewise.
36099 * sysdeps/x86_64/bits/atomic.h: Likewise.
36101 2012-03-02 David S. Miller <davem@davemloft.net>
36103 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
36104 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
36105 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
36106 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
36107 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
36108 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
36109 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
36110 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
36112 2012-03-02 Roland McGrath <roland@hack.frob.com>
36115 * manual/examples/README: New file, says the example source files
36116 can be used under GPL>=2.
36117 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
36118 line containing just "*/".
36119 * manual/examples/add.c: Add copyright header (GPL>=2).
36120 * manual/examples/argp-ex1.c: Likewise.
36121 * manual/examples/argp-ex2.c: Likewise.
36122 * manual/examples/argp-ex3.c: Likewise.
36123 * manual/examples/argp-ex4.c: Likewise.
36124 * manual/examples/atexit.c: Likewise.
36125 * manual/examples/db.c: Likewise.
36126 * manual/examples/dir.c: Likewise.
36127 * manual/examples/dir2.c: Likewise.
36128 * manual/examples/execinfo.c: Likewise.
36129 * manual/examples/filecli.c: Likewise.
36130 * manual/examples/filesrv.c: Likewise.
36131 * manual/examples/fmtmsgexpl.c: Likewise.
36132 * manual/examples/genpass.c: Likewise.
36133 * manual/examples/inetcli.c: Likewise.
36134 * manual/examples/inetsrv.c: Likewise.
36135 * manual/examples/isockad.c: Likewise.
36136 * manual/examples/longopt.c: Likewise.
36137 * manual/examples/memopen.c: Likewise.
36138 * manual/examples/memstrm.c: Likewise.
36139 * manual/examples/mkfsock.c: Likewise.
36140 * manual/examples/mkisock.c: Likewise.
36141 * manual/examples/mygetpass.c: Likewise.
36142 * manual/examples/pipe.c: Likewise.
36143 * manual/examples/popen.c: Likewise.
36144 * manual/examples/rprintf.c: Likewise.
36145 * manual/examples/search.c: Likewise.
36146 * manual/examples/select.c: Likewise.
36147 * manual/examples/setjmp.c: Likewise.
36148 * manual/examples/sigh1.c: Likewise.
36149 * manual/examples/sigusr.c: Likewise.
36150 * manual/examples/stpcpy.c: Likewise.
36151 * manual/examples/strdupa.c: Likewise.
36152 * manual/examples/strftim.c: Likewise.
36153 * manual/examples/strncat.c: Likewise.
36154 * manual/examples/subopt.c: Likewise.
36155 * manual/examples/swapcontext.c: Likewise.
36156 * manual/examples/termios.c: Likewise.
36157 * manual/examples/testopt.c: Likewise.
36158 * manual/examples/testpass.c: Likewise.
36159 * manual/examples/timeval_subtract.c: Likewise.
36162 * manual/time.texi (Elapsed Time): Move timeval_subtract example
36164 * manual/timeval_subtract.c.texi: ... here, new file.
36166 2012-03-02 David S. Miller <davem@davemloft.net>
36168 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
36170 2012-03-02 Joseph Myers <joseph@codesourcery.com>
36173 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
36174 (__sin): Save and restore rounding mode and use round-to-nearest
36175 for all computations.
36176 (__cos): Save and restore rounding mode and use round-to-nearest
36177 for all computations.
36178 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
36180 (tan): Save and restore rounding mode and use round-to-nearest for
36182 * math/libm-test.inc (cos_test_tonearest): New function.
36183 (cos_test_towardzero): Likewise.
36184 (cos_test_downward): Likewise.
36185 (cos_test_upward): Likewise.
36186 (sin_test_tonearest): Likewise.
36187 (sin_test_towardzero): Likewise.
36188 (sin_test_downward): Likewise.
36189 (sin_test_upward): Likewise.
36190 (tan_test_tonearest): Likewise.
36191 (tan_test_towardzero): Likewise.
36192 (tan_test_downward): Likewise.
36193 (tan_test_upward): Likewise.
36194 (main): Call the new functions.
36195 * sysdeps/i386/fpu/libm-test-ulps: Update.
36196 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36199 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
36200 small n, then large n, before computing and testing k+n.
36201 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
36202 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
36204 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
36206 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
36207 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
36208 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
36209 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
36210 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
36211 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
36212 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
36213 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
36214 * math/libm-test.inc (scalbn_test): Add more tests.
36215 (scalbln_test): Likewise.
36217 * manual/filesys.texi (mode_t): Describe constraints on size and
36218 signedness, not exact equivalence to a particular type.
36220 (ino64_t): Likewise.
36222 (nlink_t): Likewise.
36223 (blkcnt_t): Likewise.
36224 (blkcnt64_t): Likewise.
36225 * manual/llio.texi (off_t): Likewise.
36228 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
36229 (__ieee754_exp): Save and restore rounding mode and use
36230 round-to-nearest for all computations.
36231 * math/libm-test.inc (exp_test_tonearest): New function.
36232 (exp_test_towardzero): Likewise.
36233 (exp_test_downward): Likewise.
36234 (exp_test_upward): Likewise.
36235 (main): Call the new functions.
36236 * sysdeps/i386/fpu/libm-test-ulps: Update.
36237 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36239 2012-03-01 Chris Demetriou <cgd@google.com>
36241 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
36242 have predictable order.
36244 2012-03-01 David S. Miller <davem@davemloft.net>
36246 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
36248 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
36249 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
36250 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
36251 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
36253 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
36254 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
36255 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
36256 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
36257 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
36258 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
36259 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
36260 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
36261 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
36263 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36265 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
36266 * sysdeps/sparc/fpu/libm-test-ulps: to here.
36267 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
36269 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
36270 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
36271 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
36272 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
36273 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
36274 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
36275 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
36276 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
36277 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
36278 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
36279 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
36280 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36281 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
36282 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
36283 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
36284 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36285 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
36286 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
36287 * sysdeps/sparc/elf/configure: Regenerated.
36289 2012-03-01 Joseph Myers <joseph@codesourcery.com>
36291 * configure.in (AS, LD): Require binutils 2.20 or later.
36292 * configure: Regenerated.
36293 * manual/install.texi (Tools for Compilation): Give binutils 2.20
36294 as required minimum version.
36295 * INSTALL: Regenerated.
36299 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
36300 before squaring exponent.
36301 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
36302 bottom long double and 27 bits of top long double before squaring
36304 * math/libm-test.inc (erfc_test): Add more tests.
36305 * sysdeps/i386/fpu/libm-test-ulps: Update.
36306 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36307 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36309 2012-03-01 Kai Tietz <ktietz@redhat.com>
36311 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
36312 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
36313 containing bit-fields.
36314 * soft-fp/extended.h (_FP_UNION_E): Likewise.
36315 * soft-fp/single.h (_FP_UNION_S): Likewise.
36316 * soft-fp/double.h (_FP_UNION_D): Likewise.
36318 2012-02-29 Joseph Myers <joseph@codesourcery.com>
36321 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
36322 not include ../strcmp.S.
36323 [USE_AS_STRNCASECMP_L]: Likewise.
36324 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
36325 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
36326 * sysdeps/i386/i686/multiarch/strncase_l-c.c
36327 (__strncasecmp_l_ia32): Define as alias to
36328 __strncasecmp_l_nonascii.
36331 * math/libm-test.inc (expm1_test): Add test for bug 5794.
36332 * sysdeps/i386/fpu/libm-test-ulps: Update.
36333 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36335 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
36336 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36338 2012-02-29 Jeff Law <law@redhat.com>
36340 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
36341 out of bounds read.
36343 2012-02-29 Marek Polacek <polacek@redhat.com>
36346 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
36347 * elf/Makefile: Add rules to run tst-unused-dep.out.
36349 2012-02-28 David S. Miller <davem@davemloft.net>
36351 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
36352 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
36353 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
36354 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
36355 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
36356 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
36358 2012-02-29 Joseph Myers <joseph@codesourcery.com>
36360 * math/libm-test.inc (llround_test): Move one test from
36361 lround_test. Use TEST_f_L in moved test.
36362 (lround_test): Move misplaced test to llround_test. Add testcase
36365 2012-02-28 Ulrich Drepper <drepper@gmail.com>
36367 * sysdeps/x86_64/fpu/e_expf.S: New file.
36368 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
36370 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
36373 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
36374 of remain_len that may cause incomplete multi-byte character and
36376 * posix/bug-regex33.c: New file.
36377 * posix/Makefile (tests): Add bug-regex33.
36379 2012-02-28 Joseph Myers <joseph@codesourcery.com>
36381 * manual/macros.texi: New file.
36382 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
36383 * manual/libc.texinfo: Include macros.texi.
36384 * manual/creatute.texi: Likewise.
36385 * manual/install.texi: Likewise.
36386 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
36387 @glibcadj{} in references to the GNU C Library.
36388 * manual/charset.texi: Likewise.
36389 * manual/conf.texi: Likewise.
36390 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
36391 when not using those macros.
36392 * manual/creature.texi: Likewise.
36393 * manual/crypt.texi: Likewise.
36394 * manual/errno.texi: Likewise.
36395 * manual/filesys.texi: Likewise.
36396 * manual/header.texi: Likewise.
36397 * manual/install.texi: Likewise.
36398 * manual/intro.texi: Likewise.
36399 * manual/io.texi: Likewise.
36400 * manual/job.texi: Likewise.
36401 * manual/lang.texi: Likewise.
36402 * manual/libc.texiinfo: Likewise.
36403 * manual/llio.texi: Likewise.
36404 * manual/locale.texi: Likewise.
36405 * manual/maint.texi: Likewise.
36406 * manual/math.texi: Likewise.
36407 * manual/memory.texi: Likewise.
36408 * manual/message.texi: Likewise.
36409 * manual/nss.texi: Likewise.
36410 * manual/pattern.texi: Likewise.
36411 * manual/process.texi: Likewise.
36412 * manual/resource.texi: Likewise.
36413 * manual/search.texi: Likewise.
36414 * manual/setjmp.texi: Likewise.
36415 * manual/signal.texi: Likewise.
36416 * manual/socket.texi: Likewise.
36417 * manual/startup.texi: Likewise.
36418 * manual/stdio.texi: Likewise.
36419 * manual/string.texi: Likewise.
36420 * manual/sysinfo.texi: Likewise.
36421 * manual/syslog.texi: Likewise.
36422 * manual/terminal.texi: Likewise.
36423 * manual/time.texi: Likewise.
36424 * manual/users.texi: Likewise.
36425 * INSTALL: Regenerated.
36426 * NOTES: Regenerated.
36427 * sysdeps/gnu/errlist.c: Regenerated.
36429 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
36431 * include/dirent.h: Include <dirstream.h> before
36434 2012-02-28 David S. Miller <davem@davemloft.net>
36436 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
36437 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
36438 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
36439 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
36441 2012-02-27 David S. Miller <davem@davemloft.net>
36443 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
36444 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
36445 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
36446 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
36448 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
36449 frame pointer instead of stack pointer relative arg slot.
36450 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
36451 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
36452 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
36454 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
36457 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
36459 2012-02-27 David S. Miller <davem@davemloft.net>
36461 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
36462 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
36463 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
36464 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
36465 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
36466 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
36467 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
36468 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
36470 2012-02-27 Joseph Myers <joseph@codesourcery.com>
36472 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
36473 later. Allow versions 5-9.
36474 * configure: Regenerated.
36475 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
36476 required minimum version and 4.6 as recommended version. Do not
36477 mention bugs in GCC 2.7 and 2.8.
36478 * INSTALL: Regenerated.
36480 2012-02-27 David S. Miller <davem@davemloft.net>
36482 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
36483 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
36484 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
36485 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
36486 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
36487 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
36488 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
36489 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
36491 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
36492 manipulate bits before adding and subtracting TWO112[sx].
36493 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
36495 2012-02-27 Roland McGrath <roland@hack.frob.com>
36498 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
36499 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
36500 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
36501 being in POSIX, because they are in 1003.1-2008.
36503 * rt/tst-aio.c: Include <fcntl.h>.
36504 * rt/tst-aio7.c: Likewise.
36505 * rt/tst-aio64.c: Likewise.
36507 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
36509 2012-02-27 Joseph Myers <joseph@codesourcery.com>
36511 * manual/install.texi (--with-headers): Describe headers as
36512 interface headers, not private headers.
36513 (Specific advice for GNU/Linux systems): Describe use of headers
36514 from "make headers_install", not private headers from older
36516 * INSTALL: Regenerated.
36517 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
36519 * sysdeps/unix/sysv/linux/configure: Regenerated.
36521 * manual/llio.texi (fclean): Remove documentation.
36523 * manual/Makefile (libc-texi-generated): New variable. Include
36525 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
36526 $(libc-texi-generated), not duplicated list of files.
36527 (version.texi, stamp-version): New rules.
36528 (realclean): Remove $(libc-texi-generated), not individual files
36529 from that list. Do not remove dir-add.texinfo.
36530 * manual/libc.texinfo: Comment out uses of edition numbers and
36531 references to printed manual. Remove last-updated dates.
36532 (EDITION): Comment out.
36534 (VERSION, UPDATED): Remove.
36535 (version.texi): Include.
36537 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
36539 * sysdeps/posix/spawni.c: Include <signal.h>.
36540 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
36541 * sysdeps/pthread/aio_fsync.c: Likewise.
36543 2012-02-26 Ulrich Drepper <drepper@gmail.com>
36545 * conform/Makefile (tests): Run only when not cross-compiling and
36546 when fast-check is not defined.
36548 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
36549 * conform/data/limits.h-data: Fixes for POSIX2008.
36550 * conform/run-conformtest.sh: Run all tests.
36551 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
36553 * include/bits/dlfcn.h: Likewise.
36554 * include/langinfo.h: Likewise.
36555 * include/monetary.h: Likewise.
36556 * include/sys/poll.h: Likewise.
36558 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
36560 * posix/spawn.h: Define __need_sigset_t.
36561 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
36562 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
36563 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
36564 to get sigevent_t only.
36565 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
36566 only for __USE_GNU.
36567 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36568 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
36569 process_vm_writev only for __USE_GNU.
36570 * termios/termios.h: Declare tcgetsid also for POSIX2008.
36572 * conform/Makefile: For now ignore errors from run-conformtest.
36573 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
36574 POSIX to avoid namespace pollution. Don't prepend headers.
36575 * conform/data/aio.h-data: Fixes for POSIX testing.
36576 * conform/data/fcntl.h-data: Likewise.
36577 * conform/data/glob.h-data: Likewise.
36578 * conform/data/grp.h-data: Likewise.
36579 * conform/data/pthread.h-data: Likewise.
36580 * conform/data/pwd.h-data: Likewise.
36581 * conform/data/signal.h-data: Likewise.
36582 * conform/data/spawn.h-data: Likewise.
36583 * conform/data/stdio.h-data: Likewise.
36584 * conform/data/stdlib.h-data: Likewise.
36585 * conform/data/stropts.h-data: Likewise.
36586 * conform/data/sys/mman.h-data: Likewise.
36587 * conform/data/sys/stat.h-data: Likewise.
36588 * conform/data/sys/types.h-data: Likewise.
36589 * conform/data/sys/wait.h-data: Likewise.
36590 * conform/data/time.h-data: Likewise.
36591 * conform/data/unistd.h-data: Likewise.
36592 * conform/data/utime.h-data: Likewise.
36594 * io/sys/stat.h: fchmod was always in POSIX.
36595 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
36596 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
36597 * rt/aio.h: Define __need_timespec before including <time.h>.
36598 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
36599 struct. Add forward declaration of pthread_attr_t and use it in
36601 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
36602 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
36603 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
36604 always remove CLK_TCK definition.
36606 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
36608 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
36610 2012-02-25 Ulrich Drepper <drepper@gmail.com>
36612 * conform/run-conformtest.sh: New file.
36613 * conform/Makefile: Run run-conformtest for tests.
36614 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
36617 * conform/data/uchar.h-data: New file.
36618 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
36619 * conform/data/arpa/inet.h-data: Likewise.
36620 * conform/data/assert.h-data: Likewise.
36621 * conform/data/complex.h-data: Likewise.
36622 * conform/data/cpio.h-data: Likewise.
36623 * conform/data/ctype.h-data: Likewise.
36624 * conform/data/dirent.h-data: Likewise.
36625 * conform/data/dlfcn.h-data: Likewise.
36626 * conform/data/errno.h-data: Likewise.
36627 * conform/data/fcntl.h-data: Likewise.
36628 * conform/data/float.h-data: Likewise.
36629 * conform/data/fmtmsg.h-data: Likewise.
36630 * conform/data/fnmatch.h-data: Likewise.
36631 * conform/data/ftw.h-data: Likewise.
36632 * conform/data/glob.h-data: Likewise.
36633 * conform/data/grp.h-data: Likewise.
36634 * conform/data/iconv.h-data: Likewise.
36635 * conform/data/inttypes.h-data: Likewise.
36636 * conform/data/langinfo.h-data: Likewise.
36637 * conform/data/libgen.h-data: Likewise.
36638 * conform/data/limits.h-data: Likewise.
36639 * conform/data/locale.h-data: Likewise.
36640 * conform/data/math.h-data: Likewise.
36641 * conform/data/monetary.h-data: Likewise.
36642 * conform/data/mqueue.h-data: Likewise.
36643 * conform/data/ndbm.h-data: Likewise.
36644 * conform/data/net/if.h-data: Likewise.
36645 * conform/data/netdb.h-data: Likewise.
36646 * conform/data/netinet/in.h-data: Likewise.
36647 * conform/data/nl_types.h-data: Likewise.
36648 * conform/data/poll.h-data: Likewise.
36649 * conform/data/pthread.h-data: Likewise.
36650 * conform/data/pwd.h-data: Likewise.
36651 * conform/data/regex.h-data: Likewise.
36652 * conform/data/sched.h-data: Likewise.
36653 * conform/data/search.h-data: Likewise.
36654 * conform/data/semaphore.h-data: Likewise.
36655 * conform/data/setjmp.h-data: Likewise.
36656 * conform/data/signal.h-data: Likewise.
36657 * conform/data/spawn.h-data: Likewise.
36658 * conform/data/stdarg.h-data: Likewise.
36659 * conform/data/stdio.h-data: Likewise.
36660 * conform/data/stdlib.h-data: Likewise.
36661 * conform/data/string.h-data: Likewise.
36662 * conform/data/strings.h-data: Likewise.
36663 * conform/data/stropts.h-data: Likewise.
36664 * conform/data/sys/ipc.h-data: Likewise.
36665 * conform/data/sys/mman.h-data: Likewise.
36666 * conform/data/sys/msg.h-data: Likewise.
36667 * conform/data/sys/resource.h-data: Likewise.
36668 * conform/data/sys/select.h-data: Likewise.
36669 * conform/data/sys/sem.h-data: Likewise.
36670 * conform/data/sys/shm.h-data: Likewise.
36671 * conform/data/sys/socket.h-data: Likewise.
36672 * conform/data/sys/stat.h-data: Likewise.
36673 * conform/data/sys/statvfs.h-data: Likewise.
36674 * conform/data/sys/time.h-data: Likewise.
36675 * conform/data/sys/timeb.h-data: Likewise.
36676 * conform/data/sys/times.h-data: Likewise.
36677 * conform/data/sys/types.h-data: Likewise.
36678 * conform/data/sys/uio.h-data: Likewise.
36679 * conform/data/sys/un.h-data: Likewise.
36680 * conform/data/sys/utsname.h-data: Likewise.
36681 * conform/data/sys/wait.h-data: Likewise.
36682 * conform/data/syslog.h-data: Likewise.
36683 * conform/data/tar.h-data: Likewise.
36684 * conform/data/termios.h-data: Likewise.
36685 * conform/data/utime.h-data: Likewise.
36686 * conform/data/utmpx.h-data: Likewise.
36687 * conform/data/varargs.h-data: Likewise.
36688 * conform/data/wchar.h-data: Likewise.
36689 * conform/data/wctype.h-data: Likewise.
36690 * conform/data/wordexp.h-data: Likewise.
36692 * include/stropts.h: New file.
36693 * include/uchar.h: New file.
36694 * include/aio.h: Changes to allow conformtest.pl to use the headers.
36695 * include/assert.h: Likewise.
36696 * include/ctype.h: Likewise.
36697 * include/dirent.h: Likewise.
36698 * include/dlfcn.h: Likewise.
36699 * include/fcntl.h: Likewise.
36700 * include/fnmatch.h: Likewise.
36701 * include/glob.h: Likewise.
36702 * include/grp.h: Likewise.
36703 * include/libio.h: Likewise.
36704 * include/locale.h: Likewise.
36705 * include/math.h: Likewise.
36706 * include/net/if.h: Likewise.
36707 * include/netdb.h: Likewise.
36708 * include/netinet/in.h: Likewise.
36709 * include/pthread.h: Likewise.
36710 * include/pwd.h: Likewise.
36711 * include/regex.h: Likewise.
36712 * include/sched.h: Likewise.
36713 * include/search.h: Likewise.
36714 * include/setjmp.h: Likewise.
36715 * include/signal.h: Likewise.
36716 * include/stdio.h: Likewise.
36717 * include/stdlib.h: Likewise.
36718 * include/string.h: Likewise.
36719 * include/sys/cdefs.h: Likewise.
36720 * include/sys/mman.h: Likewise.
36721 * include/sys/msg.h: Likewise.
36722 * include/sys/resource.h: Likewise.
36723 * include/sys/select.h: Likewise.
36724 * include/sys/socket.h: Likewise.
36725 * include/sys/stat.h: Likewise.
36726 * include/sys/statvfs.h: Likewise.
36727 * include/sys/time.h: Likewise.
36728 * include/sys/times.h: Likewise.
36729 * include/sys/uio.h: Likewise.
36730 * include/sys/utsname.h: Likewise.
36731 * include/sys/wait.h: Likewise.
36732 * include/termios.h: Likewise.
36733 * include/time.h: Likewise.
36734 * include/ulimit.h: Likewise.
36735 * include/unistd.h: Likewise.
36736 * include/utime.h: Likewise.
36737 * include/wchar.h: Likewise.
36738 * include/wctype.h: Likewise.
36739 * include/wordexp.h: Likewise.
36741 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
36743 * time/time.h: TIME_UTC must be a macro.
36744 Make timespec_get available for ISO C11 only as well.
36746 2012-02-24 Ulrich Drepper <drepper@gmail.com>
36748 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
36749 Reported by Peng Haitao <penght@cn.fujitsu.com>.
36751 2012-02-24 Joseph Myers <joseph@codesourcery.com>
36753 * configure.in: Use -o not -a in test for unsupported multi-arch.
36755 2012-02-24 Joseph Myers <joseph@codesourcery.com>
36757 * manual/texinfo.tex: Update to version 2012-01-19.16.
36759 2012-02-24 Joseph Myers <joseph@codesourcery.com>
36761 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
36763 2012-02-24 Roland McGrath <roland@hack.frob.com>
36766 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
36767 * manual/fdl-1.3.texi: New file.
36768 * manual/fdl-1.1.texi: File removed.
36771 * manual/libc.texinfo (FDL_VERSION): New @set.
36772 Use it for mention of FDL in cover text.
36773 (Documentation License): Use it in @include file name.
36775 2012-02-22 Joseph Myers <joseph@codesourcery.com>
36776 Roland McGrath <roland@hack.frob.com>
36779 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
36780 (not LONG_LONG_MAX and LONG_LONG_MIN.
36781 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
36782 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
36784 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
36786 2012-02-22 Joseph Myers <joseph@codesourcery.com>
36790 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
36791 manipulate bits before adding and subtracting TWO23[sx].
36792 * math/libm-test.inc (nearbyint_test): Add more tests.
36794 2012-02-22 Joseph Myers <joseph@codesourcery.com>
36797 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
36798 bits before adding and subtracting TWO23[sx].
36799 * math/libm-test.inc (rint_test): Add more tests.
36800 (rint_test_tonearest): Likewise.
36801 (rint_test_towardzero): Likewise.
36802 (rint_test_downward): Likewise.
36803 (rint_test_upward: Likewise.
36805 2012-02-22 Joseph Myers <joseph@codesourcery.com>
36808 * include/stdc-predef.h: New file. Extracted from features.h.
36809 * include/features.h: Include stdc-predef.h.
36810 * Makefile (headers): Add stdc-predef.h.
36811 * CONFORMANCE (Compiler limitations): Update.
36813 2012-02-22 Joseph Myers <joseph@codesourcery.com>
36815 * manual/libc.texinfo (VERSION, UPDATED): Revert.
36817 2012-02-21 David S. Miller <davem@davemloft.net>
36819 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
36820 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
36822 2012-02-20 David S. Miller <davem@davemloft.net>
36824 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
36825 using a normal save/restore sequence, rather than allocating a
36826 dummy stack frame just to store a frame pointer and restore.
36827 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36829 2012-02-21 Joseph Myers <joseph@codesourcery.com>
36831 * manual/install.texi: Fix stray word in line-wrapped comment.
36833 2012-02-20 David S. Miller <davem@davemloft.net>
36835 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
36836 both binutils and gcc support GOTDATA.
36838 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
36839 "rd %pc" in the PIC register setup sequences.
36841 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
36842 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
36843 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
36844 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
36845 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
36846 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
36847 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36848 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36849 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
36850 (SYSCALL_ERROR_HANDLER): Likewise.
36851 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
36852 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
36853 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
36854 (SYSCALL_ERROR_HANDLER): Likewise.
36856 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
36857 (HAVE_GCC_GOTDATA): New.
36858 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
36859 relocation support in both binutils and gcc.
36860 * sysdeps/sparc/elf/configure: Regenerate.
36862 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
36863 * sysdeps/sparc/sparc32/elf/configure: Delete.
36864 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
36865 * sysdeps/sparc/sparc64/elf/configure: Delete.
36866 * sysdeps/sparc/elf/configure.in: New file.
36867 * sysdeps/sparc/elf/configure: Generate.
36869 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
36870 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
36871 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
36872 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
36873 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
36875 2012-02-21 Joseph Myers <joseph@codesourcery.com>
36877 * manual/install.texi: Do not mention specific glibc version
36879 * manual/libc.texinfo (VERSION, UPDATED): Update.
36880 (@copying): Use @copyright{} and range of years.
36882 2012-02-21 Joseph Myers <joseph@codesourcery.com>
36885 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
36886 [crti.S not in sysdirs] (generated): Do not append.
36887 [crti.S not in sysdirs] (omit-deps): Likewise.
36888 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
36889 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
36890 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
36891 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
36892 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
36894 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
36895 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
36896 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
36897 * csu/defs.awk: Remove file.
36898 * sysdeps/generic/initfini.c: Likewise.
36899 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
36901 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
36904 2012-02-20 Joseph Myers <joseph@codesourcery.com>
36906 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
36907 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
36908 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
36909 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
36910 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36911 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
36913 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
36914 (__EPOLL_PACKED): Define to empty if not defined by
36916 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
36917 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36920 2012-02-20 Joseph Myers <joseph@codesourcery.com>
36922 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
36923 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
36924 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
36925 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
36927 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
36928 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36931 2012-02-20 Joseph Myers <joseph@codesourcery.com>
36933 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
36935 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36936 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
36937 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
36938 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36940 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
36942 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
36943 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
36945 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
36947 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
36948 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
36950 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
36952 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
36955 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
36957 * math/w_acos.c: Use non-signaling floating-point comparisons.
36958 * math/w_acosf.c: Likewise.
36959 * math/w_acosh.c: Likewise.
36960 * math/w_acoshf.c: Likewise.
36961 * math/w_acoshl.c: Likewise.
36962 * math/w_acosl.c: Likewise.
36963 * math/w_asin.c: Likewise.
36964 * math/w_asinf.c: Likewise.
36965 * math/w_asinl.c: Likewise.
36966 * math/w_atanh.c: Likewise.
36967 * math/w_atanhf.c: Likewise.
36968 * math/w_atanhl.c: Likewise.
36969 * math/w_exp2.c: Likewise.
36970 * math/w_exp2f.c: Likewise.
36971 * math/w_exp2l.c: Likewise.
36972 * math/w_j0.c: Likewise.
36973 * math/w_j0f.c: Likewise.
36974 * math/w_j0l.c: Likewise.
36975 * math/w_j1.c: Likewise.
36976 * math/w_j1f.c: Likewise.
36977 * math/w_j1l.c: Likewise.
36978 * math/w_jn.c: Likewise.
36979 * math/w_jnf.c: Likewise.
36980 * math/w_log.c: Likewise.
36981 * math/w_log10.c: Likewise.
36982 * math/w_log10f.c: Likewise.
36983 * math/w_log10l.c: Likewise.
36984 * math/w_log2.c: Likewise.
36985 * math/w_log2f.c: Likewise.
36986 * math/w_log2l.c: Likewise.
36987 * math/w_logf.c: Likewise.
36988 * math/w_logl.c: Likewise.
36989 * math/w_sqrt.c: Likewise.
36990 * math/w_sqrtf.c: Likewise.
36991 * math/w_sqrtl.c: Likewise.
36992 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
36993 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
36994 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36995 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
36996 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
36998 2012-02-19 Joseph Myers <joseph@codesourcery.com>
37001 * manual/string.texi (strnlen): Use correct parameter name in
37002 equivalent expression.
37004 2012-02-19 Joseph Myers <joseph@codesourcery.com>
37007 * manual/users.texi (seteuid): Consistently use neweuid for
37010 2012-02-19 Joseph Myers <joseph@codesourcery.com>
37013 * manual/nss.texi (Services in the NSS configuration): Correct
37014 list of services in example configuration file.
37016 2012-02-19 Nick Bowler <nbowler@draconx.ca>
37019 * manual/arith.texi: Remove statements about negative zero
37020 behaving identically to zero.
37022 2012-02-18 Joseph Myers <joseph@codesourcery.com>
37025 * manual/install.texi: Do not document upgrading from libc5.
37027 2012-02-18 Joseph Myers <joseph@codesourcery.com>
37030 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
37032 2012-02-18 David S. Miller <davem@davemloft.net>
37034 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
37035 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
37036 %o7 across the call.
37037 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
37039 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
37040 SETUP_PIC_REG_LEAF.
37041 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37042 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
37043 * sysdeps/sparc/crtn.S: Likewise.
37045 2012-02-17 Ulrich Drepper <drepper@gmail.com>
37047 * aout/Makefile: Remove.
37049 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
37052 * manual/examples/argp-ex1.c (main): Format definition in GNU
37054 * manual/examples/argp-ex2.c (main): Likewise.
37055 * manual/examples/argp-ex3.c (main): Likewise.
37056 * manual/examples/argp-ex4.c (main): Likewise.
37057 * manual/examples/longopt.c (main): Use new-style prototype
37059 * manual/examples/strncat.c (main): Specify return type and use
37060 (void) for arguments.
37061 * manual/examples/subopt.c (main): Use char **argv argument.
37063 2012-02-17 Joseph Myers <joseph@codesourcery.com>
37066 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
37069 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
37072 * manual/string.texi (strchr): Change when strchrnul is
37075 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
37078 * manual/locale.texi (setlocale): Document LOCPATH.
37080 2012-02-17 Joseph Myers <joseph@codesourcery.com>
37083 * manual/process.texi (execle): Move @dots{} before last argument.
37085 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
37088 * manual/charset.texi (Generic Charset Conversion): Fix typo
37089 (LC_TYPE -> LC_CTYPE).
37091 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
37094 * manual/arith.texi (scalbn): Use @var{} on parameter names.
37095 (scalbnf): Likewise.
37096 (scalbnl): Likewise.
37097 (scalbln): Likewise.
37098 (scalblnf): Likewise.
37099 (scalblnl): Likewise.
37100 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
37101 (vwarnx): Likewise.
37104 * manual/filesys.texi (telldir): Use braces around return type.
37105 * manual/llio.texi (mmap): Add space after comma.
37106 (mmap64): Likewise.
37107 * manual/math.texi (jn): Use @var{} on parameter names.
37113 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
37115 * manual/resource.texi (ulimit): Use @dots{} instead of literal
37117 (sched_get_priority_min): Remove semicolon on @deftypefun line.
37118 (sched_get_priority_max): Likewise.
37119 * manual/signal.texi (sigvec): Add space after comma.
37120 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
37122 (if_indextoname): Likewise.
37123 (if_freenameindex): Likewise.
37124 (sendto): Use ',' instead of '.' in prototype.
37125 * manual/startup.texi (syscall): Use @dots{} instead of literal
37127 * manual/stdio.texi (__fpending): Separate initial words of
37128 paragraph from @deftypefun line.
37129 * manual/syslog.texi (syslog): Use @dots{} instead of literal
37131 (vsyslog): Use @var{} on parameter names.
37132 * manual/terminal.texi (stty): Use @var{} on parameter names.
37133 * manual/users.texi (getutmp): Use @var{} on parameter names.
37134 (getutmpx): Likewise.
37136 2012-02-17 Joseph Myers <joseph@codesourcery.com>
37139 * manual/stdio.texi (fopen): Fix typos in description of
37142 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
37145 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
37146 get clock_id definition.
37148 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
37151 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
37152 (madvise): Cast every argument to void on its own.
37154 2012-02-17 Joseph Myers <joseph@codesourcery.com>
37157 * manual/startup.texi (Exit Status): Fix typo.
37159 2012-02-17 Joseph Myers <joseph@codesourcery.com>
37162 * manual/examples/argp-ex1.c: Include <stdlib.h>.
37163 * manual/examples/argp-ex2.c: Likewise.
37164 * manual/examples/argp-ex3.c: Likewise.
37166 2012-02-16 Richard Henderson <rth@redhat.com>
37168 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
37169 * sysdeps/s390/s390-32/initfini.c: Remove.
37170 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
37171 * sysdeps/s390/s390-64/initfini.c: Remove.
37173 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
37175 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
37176 compiler output for sysdeps/generic/initfini.c.
37177 * sysdeps/sh/elf/initfini.c: Remove file.
37179 2012-02-16 David S. Miller <davem@davemloft.net>
37182 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
37184 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
37185 * sysdeps/sparc/crti.S: New file.
37186 * sysdeps/sparc/crtn.S: New file.
37187 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
37188 * sysdeps/sparc/sparc64/Makefile: Likewise.
37190 2012-02-15 Mike Frysinger <vapier@gentoo.org>
37193 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
37195 2012-02-15 Roland McGrath <roland@hack.frob.com>
37198 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
37200 * mach/devstream.c (cookie_io_functions_t): Macro removed.
37201 (write, read, close): Likewise.
37202 Patch by Aurelien Jarno <aurelien@aurel32.net>.
37204 2012-02-15 Joseph Myers <joseph@codesourcery.com>
37206 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
37207 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
37208 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
37209 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
37211 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
37212 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37215 2012-02-14 Marek Polacek <polacek@redhat.com>
37217 * sysdeps/x86_64/crti.S: New file.
37218 * sysdeps/x86_64/crtn.S: New file.
37219 * sysdeps/x86_64/elf/initfini.c: Remove file.
37221 2012-02-13 Joseph Myers <joseph@codesourcery.com>
37223 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
37224 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
37225 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
37226 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
37228 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
37229 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37232 2012-02-13 Joseph Myers <joseph@codesourcery.com>
37234 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
37235 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
37236 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
37237 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
37239 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
37240 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37243 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
37245 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
37246 __feraiseexcept instead of feraiseexcept.
37248 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
37249 nanosleep invocations.
37250 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
37251 strings, and add error checking for a nanosleep invocations.
37253 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
37255 Replace FSF snail mail address with URLs, as per GNU coding standards.
37256 Most of the snail mail addresses were wrong anyway, and omitting
37257 them makes the source code easier to maintain. Almost all of the
37258 changes are to license notices and to locale LC_IDENTIFICATION
37259 addresses, except for this one:
37260 * manual/libc.texinfo: In "Published by", give the FSF's URL,
37261 not its snail mail address.
37263 2012-02-09 Richard Henderson <rth@twiddle.net>
37265 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
37266 of kernel-features.h.
37268 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
37270 2012-02-08 Marek Polacek <polacek@redhat.com>
37272 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
37273 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
37274 * sysdeps/gnu/_G_config.h: Likewise.
37275 * sysdeps/generic/_G_config.h: Likewise.
37277 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
37279 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
37281 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37283 * sysdeps/powerpc/powerpc32/crti.S: New file.
37284 * sysdeps/powerpc/powerpc32/crtn.S: New file.
37285 * sysdeps/powerpc/powerpc64/crti.S: New file.
37286 * sysdeps/powerpc/powerpc64/crtn.S: New file.
37288 * Makeconfig (have-initfini): Don't set.
37289 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
37290 * configure.in (nopic_initfini): Don't substitute.
37291 * config.h.in (HAVE_INITFINI): Don't #undef.
37292 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
37293 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
37295 2012-02-08 Joseph Myers <joseph@codesourcery.com>
37297 Support crti.S and crtn.S provided directly by architectures.
37298 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
37299 [crti.S in sysdirs] (omit-deps): Likewise.
37300 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
37301 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
37302 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
37303 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
37304 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
37305 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
37306 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
37307 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
37308 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
37309 compiler output for sysdeps/generic/initfini.c.
37310 * sysdeps/i386/elf/Makefile: Remove file.
37311 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
37313 2012-02-07 Marek Polacek <polacek@redhat.com>
37315 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
37316 * sysdeps/gnu/_G_config.h: Likewise.
37317 * sysdeps/mach/hurd/_G_config.h: Likewise.
37319 2012-02-07 Marek Polacek <polacek@redhat.com>
37321 * math/Makefile (tests): Add tst-CMPLX2.
37322 * math/tst-CMPLX2.c: New file.
37324 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
37326 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37328 * math/libm-test.inc (jn_test): Add missing L suffix.
37330 2012-02-06 Marek Polacek <polacek@redhat.com>
37332 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
37333 * sysdeps/i386/fpu/e_powf.S: Likewise.
37334 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
37335 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
37336 * sysdeps/i386/fpu/e_acosh.S: Likewise.
37337 * sysdeps/i386/fpu/e_pow.S: Likewise.
37338 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
37339 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
37340 * sysdeps/i386/fpu/s_expm1.S: Likewise.
37341 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
37342 * sysdeps/i386/fpu/e_log2.S: Likewise.
37343 * sysdeps/i386/fpu/e_log2l.S: Likewise.
37344 * sysdeps/i386/fpu/e_scalb.S: Likewise.
37345 * sysdeps/i386/fpu/e_powl.S: Likewise.
37346 * sysdeps/i386/fpu/s_log1p.S: Likewise.
37347 * sysdeps/i386/fpu/e_log10f.S: Likewise.
37348 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
37349 * sysdeps/i386/fpu/e_logl.S: Likewise.
37350 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
37351 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
37352 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
37353 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
37354 * sysdeps/i386/fpu/e_log2f.S: Likewise.
37355 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
37356 * sysdeps/i386/fpu/e_log.S: Likewise.
37357 * sysdeps/i386/fpu/s_cexp.S: Likewise.
37358 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
37359 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
37360 * sysdeps/i386/fpu/e_logf.S: Likewise.
37361 * sysdeps/i386/fpu/e_log10l.S: Likewise.
37362 * sysdeps/i386/fpu/e_atanh.S: Likewise.
37363 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
37364 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
37365 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
37366 * sysdeps/i386/fpu/e_log10.S: Likewise.
37367 * sysdeps/i386/fpu/s_frexp.S: Likewise.
37368 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
37369 * sysdeps/i386/fpu/s_asinh.S: Likewise.
37370 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
37371 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
37372 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
37373 * sysdeps/i386/asm-syntax.h: Likewise.
37374 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
37375 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37376 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
37377 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
37378 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
37379 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
37380 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
37381 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
37382 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
37383 * sysdeps/powerpc/sysdep.h: Likewise.
37384 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
37385 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
37387 2012-02-06 Joseph Myers <joseph@codesourcery.com>
37390 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
37392 2012-02-06 Joseph Myers <joseph@codesourcery.com>
37394 * sysdeps/i386/sysdep.h: Include <features.h>.
37395 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
37398 2012-02-05 Joseph Myers <joseph@codesourcery.com>
37400 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
37402 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
37405 2012-02-03 Joseph Myers <joseph@codesourcery.com>
37407 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
37408 (SETUP_PIC_REG): Use GET_PC_THUNK.
37409 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
37412 2012-02-03 Joseph Myers <joseph@codesourcery.com>
37414 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
37415 for non-PIC compilation.
37416 (SETUP_PIC_REG): Add .p2align directive.
37417 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
37418 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
37419 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
37420 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
37421 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
37422 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
37423 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
37424 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
37425 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
37426 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
37427 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
37428 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
37429 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
37430 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
37431 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
37432 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
37433 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
37434 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
37435 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
37436 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
37437 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
37438 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
37439 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
37440 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
37441 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
37442 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
37443 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37444 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
37445 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
37446 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
37447 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
37448 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37449 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
37450 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
37451 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
37452 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
37453 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
37454 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
37455 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
37456 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
37457 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
37459 2012-02-03 Joseph Myers <joseph@codesourcery.com>
37461 * math/tst-CMPLX.c: Include <stdio.h>.
37463 2012-01-31 Joseph Myers <joseph@codesourcery.com>
37465 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
37467 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
37468 * sysdeps/sparc/bits/mathdef.h: Likewise.
37470 2012-01-31 Marek Polacek <polacek@redhat.com>
37472 * libio/libio.h: Don't define _PARAMS.
37473 * locale/programs/config.h: Don't define PARAMS.
37474 * stdlib/strtol_l.c: Likewise.
37475 (__strtol_l): Remove PARAMS from the prototype.
37477 2012-01-31 Ulrich Drepper <drepper@gmail.com>
37479 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
37480 names. Just use the correct names. Remove unnecessary wrapper
37482 * malloc/arena.c: Likewise.
37483 * malloc/hooks.c: Likewise.
37485 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
37486 ARENA_TEST says not to. Simplify test for creation of a new arena.
37487 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
37489 2012-01-30 Ulrich Drepper <drepper@gmail.com>
37491 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
37493 (update_get_addr): New function.
37494 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
37495 GET_ADDR_MODULE parameter.
37497 2012-01-30 Joseph Myers <joseph@codesourcery.com>
37499 * crypt/cert.c: Remove __STDC__ conditionals.
37500 * crypt/crypt-entry.c: Likewise.
37501 * crypt/crypt_util.c: Likewise.
37502 * libio/filedoalloc.c: Likewise.
37503 * libio/fileops.c: Likewise.
37504 * libio/genops.c: Likewise.
37505 * libio/iofclose.c: Likewise.
37506 * libio/iofdopen.c: Likewise.
37507 * libio/iofopen.c: Likewise.
37508 * libio/iofopen64.c: Likewise.
37509 * libio/iogetdelim.c: Likewise.
37510 * libio/iopopen.c: Likewise.
37511 * libio/obprintf.c: Likewise.
37512 * libio/oldfileops.c: Likewise.
37513 * libio/oldiofclose.c: Likewise.
37514 * libio/oldiofdopen.c: Likewise.
37515 * libio/oldiofopen.c: Likewise.
37516 * libio/oldiopopen.c: Likewise.
37517 * libio/wfiledoalloc.c: Likewise.
37518 * libio/wgenops.c: Likewise.
37519 * locale/programs/xmalloc.c: Likewise.
37520 * misc/syslog.c: Likewise.
37521 * stdio-common/xbug.c: Likewise.
37522 * string/memchr.c: Likewise.
37523 * string/memcmp.c: Likewise.
37524 * string/memrchr.c: Likewise.
37525 * string/rawmemchr.c: Likewise.
37526 * sysdeps/posix/getcwd.c: Likewise.
37527 * time/strftime_l.c: Likewise.
37529 2012-01-30 Joseph Myers <joseph@codesourcery.com>
37531 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
37532 * config.make.in (config-cflags-sse2avx): Define.
37533 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
37536 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
37538 * scripts/config.guess: Update from upstream config git repository.
37539 * scripts/config.sub: Likewise.
37541 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
37543 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
37545 (R_TILEPRO_*, R_TILEGX_*): New macros.
37547 * scripts/firstversions.awk: Fix bug in version range handling.
37549 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
37551 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
37553 * include/sys/epoll.h: New file.
37554 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
37557 2012-01-28 Ulrich Drepper <drepper@gmail.com>
37559 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
37560 Avoid unnecessary __WORDSIZE == 64 test.
37561 (fmaxf): Use VEX format if possible.
37566 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
37567 * math/math_private.h: Remove libc_fegetround* and
37569 * sysdeps/i386/configure.in: Check for -msse2avx.
37570 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
37571 also if SSE2AVX is defined.
37572 Remove libc_fegetround* and libc_fesetround*.
37573 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
37574 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
37575 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
37577 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37578 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37579 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37580 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37581 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37583 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
37585 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37587 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
37589 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
37591 2012-01-27 Ulrich Drepper <drepper@gmail.com>
37594 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
37596 * Makeconfig (libm): Define.
37597 * elf/Makefile: Add rules to build and run tst-relsort1.
37598 * elf/tst-relsort1.c: New file.
37599 * elf/tst-relsort1mod1.c: New file.
37600 * elf/tst-relsort1mod2.c: New file.
37602 2012-01-27 Joseph Myers <joseph@codesourcery.com>
37604 * math/s_ldexp.c: Remove __STDC__ conditionals.
37605 * math/s_ldexpf.c: Likewise.
37606 * math/s_ldexpl.c: Likewise.
37607 * math/s_nextafter.c: Likewise.
37608 * math/s_nexttowardf.c: Likewise.
37609 * math/s_significand.c: Likewise.
37610 * math/s_significandf.c: Likewise.
37611 * math/s_significandl.c: Likewise.
37612 * math/w_jnl.c: Likewise.
37613 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
37614 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
37615 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
37616 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
37617 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
37618 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
37619 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
37620 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
37621 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
37622 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
37623 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
37624 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37625 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
37626 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
37627 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
37628 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
37629 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
37630 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
37631 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
37632 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37633 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37634 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
37635 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
37636 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
37637 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
37638 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
37639 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
37640 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
37641 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
37642 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
37643 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
37644 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
37645 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
37646 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
37647 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
37648 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
37649 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
37650 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
37651 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
37652 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
37653 * sysdeps/ieee754/k_standard.c: Likewise.
37654 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37655 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
37656 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
37657 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
37658 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
37659 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
37660 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
37661 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
37662 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
37663 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
37664 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
37665 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
37666 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
37667 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
37668 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
37669 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
37670 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
37671 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
37672 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
37673 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
37674 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
37675 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
37676 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
37677 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
37678 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
37679 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
37680 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37681 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37682 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
37683 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
37684 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
37685 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
37686 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
37687 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
37688 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
37689 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
37690 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
37691 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
37692 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
37693 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
37694 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
37695 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
37696 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
37697 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
37698 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
37699 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
37700 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
37701 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
37702 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
37703 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
37704 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
37705 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
37706 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
37707 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
37708 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
37709 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
37710 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
37711 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37712 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37713 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37714 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
37715 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
37716 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
37717 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
37718 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
37719 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
37720 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
37721 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
37722 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
37723 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
37724 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
37725 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
37726 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
37727 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
37728 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
37729 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
37730 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
37731 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
37732 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
37733 * sysdeps/ieee754/s_matherr.c: Likewise.
37734 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
37735 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
37736 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
37737 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
37739 2012-01-26 Joseph Myers <joseph@codesourcery.com>
37741 * crypt/md5.h: Remove __STDC__ conditionals.
37742 * libio/libioP.h: Likewise.
37743 * locale/programs/config.h: Likewise.
37744 * sysdeps/generic/sysdep.h: Likewise.
37745 * sysdeps/i386/asm-syntax.h: Likewise.
37746 * sysdeps/s390/asm-syntax.h: Likewise.
37747 * sysdeps/unix/sysdep.h: Likewise.
37748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
37749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
37751 2012-01-26 Joseph Myers <joseph@codesourcery.com>
37753 * libio/libio.h: Remove __STDC__ conditionals.
37754 * malloc/obstack.h: Likewise.
37755 * math/complex.h: Likewise.
37756 * math/math.h: Likewise.
37757 * sysdeps/generic/_G_config.h: Likewise.
37758 * sysdeps/gnu/_G_config.h: Likewise.
37759 * sysdeps/mach/hurd/_G_config.h: Likewise.
37760 * sysdeps/powerpc/bits/mathdef.h: Likewise.
37761 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
37762 * sysdeps/sparc/bits/mathdef.h: Likewise.
37764 2012-01-26 Ulrich Drepper <drepper@gmail.com>
37767 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
37768 Clean up HAS_* macros.
37769 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
37770 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
37772 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
37774 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37775 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37776 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37777 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37778 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37780 2012-01-25 Joseph Myers <joseph@codesourcery.com>
37782 * elf/tst-unique3.cc (gets): Remove declaration.
37783 * elf/tst-unique3lib.cc (gets): Likewise.
37784 * elf/tst-unique3lib2.cc (gets): Likewise.
37785 * elf/tst-unique4.cc (gets): Likewise.
37787 2012-01-24 Ulrich Drepper <drepper@gmail.com>
37789 * include/stdio.h: Add C++ protection. Add gets declarations and
37791 * debug/tst-chk1.c: Don't declare gets here.
37792 * stdio-common/tst-gets.c: Likewise.
37794 2012-01-24 Joseph Myers <joseph@codesourcery.com>
37796 * posix/glob: Remove directory.
37798 2012-01-24 Joseph Myers <joseph@codesourcery.com>
37800 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
37802 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
37804 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
37805 of the non-standard EPFNOSUPPORT.
37807 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
37809 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
37810 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
37811 ANYWHERE set to 1 only on KERN_NO_SPACE error.
37813 2012-01-21 Ulrich Drepper <drepper@gmail.com>
37815 * wcsmbs/uchar.h: Test __STDC_VERSION__.
37817 2012-01-20 Ulrich Drepper <drepper@gmail.com>
37819 * nscd/aicache.c (addhstaiX): Do not cache negative results of
37821 * nscd/grpcache.c (cache_addgr): Likewise.
37822 * nscd/hstcache.c (cache_addhst): Likewise.
37823 * nscd/initgrcache.c (addinitgroupsX): Likewise.
37824 * nscd/pwdcache.c (cache_addpw): Likewise.
37825 * nscd/servicescache.c (cache_addserv): Likewise.
37827 2012-01-16 Ulrich Drepper <drepper@gmail.com>
37829 * malloc/malloc.c: Various cleanups.
37830 * malloc/hooks.c: Likewise.
37832 * stdlib/Makefile (tests): Add bug-fmtmsg1.
37833 * stdlib/bug-fmtmsg1.c: New file.
37835 * stdlib/fmtmsg.c (init): Add missing unlock.
37836 Patch by Peng Haitao <penght@cn.fujitsu.com>.
37838 2012-01-12 Marek Polacek <polacek@redhat.com>
37840 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
37843 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
37845 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
37846 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
37847 macro to ensure uniqueness of label name.
37848 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
37849 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
37851 2012-01-11 Ulrich Drepper <drepper@gmail.com>
37853 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
37855 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
37856 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
37857 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
37858 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
37860 2012-01-10 Ulrich Drepper <drepper@gmail.com>
37862 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
37864 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
37865 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
37866 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
37868 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
37870 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
37871 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
37872 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
37873 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
37875 * math/bits/math-finite.h: Add ldexp support.
37877 2012-01-10 Marek Polacek <polacek@redhat.com>
37879 * locale/programs/localedef.h (show_archive_content): Add noreturn
37882 2012-01-09 Ulrich Drepper <drepper@gmail.com>
37884 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
37886 2012-01-08 Ulrich Drepper <drepper@gmail.com>
37888 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
37890 * io/Makefile (headers): Add bits/poll2.h.
37892 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
37894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
37895 typo #include statement.
37897 2012-01-08 Ulrich Drepper <drepper@gmail.com>
37899 * include/sys/cdefs.h: Define __attribute_alloc_size.
37900 * catgets/gencat.c: Add alloc_size attribute and apply consistently
37901 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
37902 * elf/pldd.c: Likewise.
37903 * iconv/iconv_charmap.c: Likewise.
37904 * iconv/iconvconfig.c: Likewise.
37905 * iconv/strtab.c: Likewise.
37906 * locale/programs/locale.c: Likewise.
37907 * locale/programs/localedef.h: Likewise.
37908 * locale/programs/simple-hash.c: Likewise.
37909 * nscd/nscd.h: Likewise.
37910 * nss/makedb.c: Likewise.
37911 * sysdeps/generic/ldconfig.h: Likewise.
37912 * locale/programs/localedef.c: Remove xmalloc prototype.
37913 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
37915 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
37917 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
37920 2012-01-08 Ulrich Drepper <drepper@gmail.com>
37922 * math/Makefile (tests): Add tst-CMPLX.
37923 * math/tst-CMPLX.c: New file.
37925 * math/complex.h (CMPLXL): Fix typo.
37927 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
37928 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
37930 * debug/tst-chk1.c: Add poll and ppoll tests.
37931 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
37932 * include/sys/poll.h: Add hidden proto for ppoll.
37933 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
37934 * sysdeps/mach/hurd/ppoll.c: Likewise.
37935 * io/ppoll.c: Likewise.
37936 * debug/poll_chk.c: New file.
37937 * debug/ppoll_chk.c: New file.
37938 * include/bits/poll2.h: New file.
37939 * io/bits/poll2.h: New file.
37942 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
37944 * configure.in: static is always set to yes. Remove.
37945 * config.make.in: Don't set build-static.
37946 * Makeconfig: Remove use of build-static.
37947 * dlfcn/Makefile: Likewise.
37948 * elf/Makefile: Likewise.
37949 * math/Makefile: Likewise.
37950 * misc/Makefile: Likewise.
37951 * nptl/Makefile: Likewise.
37952 * sysdeps/mach/hurd/Makefile: Likewise.
37954 * configure.in: PWD_P is not used anymore.
37955 * config.make.in: Remove PWD_P entry.
37957 * configure.in: Remove last remnants of RANLIB.
37958 No need to check for signed size_t anymore.
37959 Don't set libc_commonpagesize and libc_relro_required here for Alpha
37961 Remove __builtin_expect test because we require at least gcc 3.4.
37962 * aclocal.m4: Likewise.
37964 * wcsmbs/mbrtoc16.c: Implement using towc function.
37965 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
37966 * wcsmbs/wcsmbsload.c: Likewise.
37967 * iconv/gconv_simple.c: Likewise.
37968 * iconv/gconv_int.h: Likewise.
37969 * iconv/gconv_builtin.h: Likewise.
37970 * iconv/iconv_prog.c: Remove CHAR16 handling.
37972 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
37974 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
37976 * configure.in: Remove --with-elf and --enable-bounded options.
37977 Dont set base_machine for ia64. More non-ELF conditions removed.
37978 Remove testing and setting of leading underscore information.
37979 * config.make.in (build-bounded): Set to no.
37980 * config.h.in: Remove NO_UNDERSCORES entry.
37981 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
37983 * csu/start.c: Remove !NO_UNDERSCORE code.
37984 * locale/localeinfo.h: Likewise.
37985 * sysdeps/generic/machine-gmon.h: Likewise.
37986 * sysdeps/generic/sysdep.h: Likewise.
37987 * sysdeps/i386/sysdep.h: Likewise.
37988 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
37989 * sysdeps/mach/sysdep.h: Likewise.
37990 * sysdeps/s390/s390-32/sysdep.h: Likewise.
37991 * sysdeps/s390/s390-64/sysdep.h: Likewise.
37992 * sysdeps/sh/sysdep.h: Likewise.
37993 * sysdeps/sparc/sparc32/alloca.S: Likewise.
37994 * sysdeps/unix/i386/sysdep.S: Likewise.
37995 * sysdeps/unix/sparc/start.c: Likewise.
37996 * sysdeps/unix/sparc/sysdep.S: Likewise.
37997 * sysdeps/unix/sparc/sysdep.h: Likewise.
37998 * sysdeps/unix/start.c: Likewise.
37999 * sysdeps/unix/x86_64/sysdep.S: Likewise.
38000 * sysdeps/x86_64/sysdep.h: Likewise.
38002 2012-01-07 Ulrich Drepper <drepper@gmail.com>
38005 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
38007 * argp/argp-fmtstream.h: Use const instead __const.
38008 * argp/argp.h: Likewise.
38009 * assert/assert.h: Likewise.
38010 * bits/fenv.h: Likewise.
38011 * bits/sched.h: Likewise.
38012 * bits/sigset.h: Likewise.
38013 * bits/sigthread.h: Likewise.
38014 * catgets/nl_types.h: Likewise.
38015 * conform/data/pthread.h-data: Likewise.
38016 * crypt/crypt-private.h: Likewise.
38017 * crypt/crypt.h: Likewise.
38018 * crypt/crypt_util.c: Likewise.
38019 * ctype/ctype.h: Likewise.
38020 * debug/execinfo.h: Likewise.
38021 * debug/mbsnrtowcs_chk.c: Likewise.
38022 * debug/mbsrtowcs_chk.c: Likewise.
38023 * debug/wcsnrtombs_chk.c: Likewise.
38024 * debug/wcsrtombs_chk.c: Likewise.
38025 * debug/wcstombs_chk.c: Likewise.
38026 * dirent/dirent.h: Likewise.
38027 * dlfcn/dlfcn.h: Likewise.
38028 * elf/neededtest4.c: Likewise.
38029 * grp/grp.h: Likewise.
38030 * gshadow/gshadow.h: Likewise.
38031 * iconv/gconv.h: Likewise.
38032 * iconv/gconv_int.h: Likewise.
38033 * iconv/gconv_simple.c: Likewise.
38034 * iconv/iconv.h: Likewise.
38035 * iconv/loop.c: Likewise.
38036 * iconv/skeleton.c: Likewise.
38037 * include/aio.h: Likewise.
38038 * include/aliases.h: Likewise.
38039 * include/argz.h: Likewise.
38040 * include/arpa/inet.h: Likewise.
38041 * include/assert.h: Likewise.
38042 * include/dirent.h: Likewise.
38043 * include/dlfcn.h: Likewise.
38044 * include/execinfo.h: Likewise.
38045 * include/fcntl.h: Likewise.
38046 * include/fenv.h: Likewise.
38047 * include/glob.h: Likewise.
38048 * include/grp.h: Likewise.
38049 * include/libintl.h: Likewise.
38050 * include/mntent.h: Likewise.
38051 * include/netdb.h: Likewise.
38052 * include/pwd.h: Likewise.
38053 * include/rpc/netdb.h: Likewise.
38054 * include/sched.h: Likewise.
38055 * include/search.h: Likewise.
38056 * include/shadow.h: Likewise.
38057 * include/signal.h: Likewise.
38058 * include/stdio.h: Likewise.
38059 * include/stdlib.h: Likewise.
38060 * include/string.h: Likewise.
38061 * include/sys/socket.h: Likewise.
38062 * include/sys/stat.h: Likewise.
38063 * include/sys/statfs.h: Likewise.
38064 * include/sys/statvfs.h: Likewise.
38065 * include/sys/syslog.h: Likewise.
38066 * include/sys/time.h: Likewise.
38067 * include/sys/uio.h: Likewise.
38068 * include/time.h: Likewise.
38069 * include/unistd.h: Likewise.
38070 * include/utmp.h: Likewise.
38071 * include/wchar.h: Likewise.
38072 * include/wctype.h: Likewise.
38073 * inet/aliases.h: Likewise.
38074 * inet/arpa/inet.h: Likewise.
38075 * inet/netinet/ether.h: Likewise.
38076 * inet/netinet/in.h: Likewise.
38077 * intl/libintl.h: Likewise.
38078 * io/bits/fcntl2.h: Likewise.
38079 * io/fcntl.h: Likewise.
38080 * io/ftw.h: Likewise.
38081 * io/sys/poll.h: Likewise.
38082 * io/sys/stat.h: Likewise.
38083 * io/sys/statfs.h: Likewise.
38084 * io/sys/statvfs.h: Likewise.
38085 * io/utime.h: Likewise.
38086 * libio/bits/stdio.h: Likewise.
38087 * libio/bits/stdio2.h: Likewise.
38088 * libio/libio.h: Likewise.
38089 * libio/libioP.h: Likewise.
38090 * libio/stdio.h: Likewise.
38091 * locale/lc-ctype.c: Likewise.
38092 * locale/locale.h: Likewise.
38093 * login/utmp.h: Likewise.
38094 * malloc/arena.c: Likewise.
38095 * malloc/malloc.c: Likewise.
38096 * malloc/malloc.h: Likewise.
38097 * malloc/mcheck.c: Likewise.
38098 * malloc/mtrace.c: Likewise.
38099 * math/bits/mathcalls.h: Likewise.
38100 * math/fenv.h: Likewise.
38101 * math/math_private.h: Likewise.
38102 * misc/bits/error.h: Likewise.
38103 * misc/bits/syslog.h: Likewise.
38104 * misc/err.h: Likewise.
38105 * misc/error.h: Likewise.
38106 * misc/fstab.h: Likewise.
38107 * misc/mntent.h: Likewise.
38108 * misc/regexp.h: Likewise.
38109 * misc/search.h: Likewise.
38110 * misc/sgtty.h: Likewise.
38111 * misc/sys/mman.h: Likewise.
38112 * misc/sys/syslog.h: Likewise.
38113 * misc/sys/uio.h: Likewise.
38114 * misc/sys/xattr.h: Likewise.
38115 * misc/ttyent.h: Likewise.
38116 * nis/rpcsvc/ypclnt.h: Likewise.
38117 * nss/nss.h: Likewise.
38118 * posix/bits/unistd.h: Likewise.
38119 * posix/fnmatch.h: Likewise.
38120 * posix/glob.h: Likewise.
38121 * posix/sched.h: Likewise.
38122 * posix/spawn.h: Likewise.
38123 * posix/sys/wait.h: Likewise.
38124 * posix/unistd.h: Likewise.
38125 * posix/wordexp.h: Likewise.
38126 * pwd/pwd.h: Likewise.
38127 * resolv/netdb.h: Likewise.
38128 * resource/sys/resource.h: Likewise.
38129 * rt/aio.h: Likewise.
38130 * rt/bits/mqueue2.h: Likewise.
38131 * rt/mqueue.h: Likewise.
38132 * shadow/shadow.h: Likewise.
38133 * signal/signal.h: Likewise.
38134 * socket/send.c: Likewise.
38135 * socket/sendto.c: Likewise.
38136 * socket/sys/socket.h: Likewise.
38137 * stdio-common/printf.h: Likewise.
38138 * stdlib/bits/stdlib.h: Likewise.
38139 * stdlib/fmtmsg.h: Likewise.
38140 * stdlib/monetary.h: Likewise.
38141 * stdlib/stdlib.h: Likewise.
38142 * stdlib/ucontext.h: Likewise.
38143 * streams/stropts.h: Likewise.
38144 * string/argz.h: Likewise.
38145 * string/bits/string2.h: Likewise.
38146 * string/string.h: Likewise.
38147 * string/strings.h: Likewise.
38148 * sunrpc/rpc/auth.h: Likewise.
38149 * sunrpc/rpc/auth_des.h: Likewise.
38150 * sunrpc/rpc/clnt.h: Likewise.
38151 * sunrpc/rpc/netdb.h: Likewise.
38152 * sunrpc/rpc/pmap_clnt.h: Likewise.
38153 * sunrpc/rpc/xdr.h: Likewise.
38154 * sysdeps/generic/inttypes.h: Likewise.
38155 * sysdeps/generic/net/if.h: Likewise.
38156 * sysdeps/generic/sys/swap.h: Likewise.
38157 * sysdeps/gnu/net/if.h: Likewise.
38158 * sysdeps/gnu/utmpx.h: Likewise.
38159 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
38160 * sysdeps/i386/i486/bits/string.h: Likewise.
38161 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
38162 * sysdeps/s390/bits/string.h: Likewise.
38163 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
38164 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
38165 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
38166 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
38167 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
38168 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
38169 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
38170 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
38171 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
38172 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
38173 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
38174 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
38175 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
38176 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
38177 * sysdeps/unix/sysv/linux/readv.c: Likewise.
38178 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
38179 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
38180 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38181 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
38182 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
38183 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
38184 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
38185 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
38186 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
38187 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
38188 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
38189 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
38190 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
38191 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
38192 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
38193 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
38194 * sysvipc/sys/ipc.h: Likewise.
38195 * sysvipc/sys/msg.h: Likewise.
38196 * sysvipc/sys/sem.h: Likewise.
38197 * sysvipc/sys/shm.h: Likewise.
38198 * termios/termios.h: Likewise.
38199 * time/sys/time.h: Likewise.
38200 * time/time.h: Likewise.
38201 * wcsmbs/bits/wchar2.h: Likewise.
38202 * wcsmbs/uchar.h: Likewise.
38203 * wcsmbs/wchar.h: Likewise.
38204 * wctype/wctype.h: Likewise.
38207 * Makeconfig: Remove all but ELF support including AIX support.
38208 * Makerules: Likewise.
38209 * config.h.in: Likewise.
38210 * config.make.in: Likewise.
38211 * configure: Likewise.
38212 * configure.in: Likewise.
38213 * csu/Makefile: Likewise.
38214 * csu/version.c: Likewise.
38215 * debug/Makefile: Likewise.
38216 * dlfcn/Makefile: Likewise.
38217 * elf/Makefile: Likewise.
38218 * extra-lib.mk: Likewise.
38219 * iconv/Makefile: Likewise.
38220 * include/libc-symbols.h: Likewise.
38221 * include/shlib-compat.h: Likewise.
38222 * resolv/Makefile: Likewise.
38223 * resolv/res_libc.c: Likewise.
38224 * rt/Makefile: Likewise.
38225 * sysdeps/i386/asm-syntax.h: Likewise.
38226 * sysdeps/i386/sysdep.h: Likewise.
38227 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
38228 * sysdeps/mach/sysdep.h: Likewise.
38229 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
38230 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
38231 * sysdeps/s390/asm-syntax.h: Likewise.
38232 * sysdeps/s390/s390-32/sysdep.h: Likewise.
38233 * sysdeps/s390/s390-64/sysdep.h: Likewise.
38234 * sysdeps/sh/sysdep.h: Likewise.
38235 * sysdeps/unix/sparc/sysdep.h: Likewise.
38236 * sysdeps/wordsize-32/divdi3.c: Likewise.
38237 * sysdeps/x86_64/sysdep.h: Likewise.
38239 * argp/Versions: Remove _argp_unlock_xxx.
38242 * abilist/ld.abilist: Update. Adjust for removal of tls option.
38243 * abilist/libBrokenLocale.abilist: Likewise.
38244 * abilist/libanl.abilist: Likewise.
38245 * abilist/libc.abilist: Likewise.
38246 * abilist/libcrypt.abilist: Likewise.
38247 * abilist/libdl.abilist: Likewise.
38248 * abilist/libm.abilist: Likewise.
38249 * abilist/libnsl.abilist: Likewise.
38250 * abilist/libpthread.abilist: Likewise.
38251 * abilist/libresolv.abilist: Likewise.
38252 * abilist/librt.abilist: Likewise.
38253 * abilist/libthread_db.abilist: Likewise.
38254 * abilist/libutil.abilist: Likewise.
38255 * abilist/libnss_db.abilist: New file.
38257 * scripts/abilist.awk: Add support for indirect functions.
38259 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
38261 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
38263 * shlib-versions: Remove entries for ports architectures.
38265 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
38267 * elf/stackguard-macros.h: Remove support for IA-64.
38268 * elf/tst-auditmod1.c: Likewise.
38269 * sysdeps/generic/ldsodefs.h: Likewise.
38271 * sysdeps/unix/sysv/linux/configure.in: Ports should define
38272 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
38276 * configure.in: Remove --enable-omitfp support.
38278 * config.make.in: Likewise.
38279 * Makeconfig: Likewise.
38280 * manual/install.texi: Likewise.
38282 In case anyone cares, the IA-64 architecture could move to ports.
38283 * sysdeps/ia64/*: Removed.
38284 * sysdeps/unix/sysv/linux/ia64/*: Removed.
38285 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
38288 * configure.in: Remove entries for unsupported architectures.
38291 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
38292 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
38294 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
38295 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
38296 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
38297 fall back to using wcrtomb.
38298 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
38299 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
38301 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
38302 * wcsmbs/tst-c16c32-1.c: New file.
38304 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
38307 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
38309 * elf/tst-unique3.cc: Add explicit declaration of gets.
38310 * elf/tst-unique3lib.cc: Likewise.
38311 * elf/tst-unique3lib2.cc: Likewise.
38312 * elf/tst-unique4.cc: Likewise.
38314 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
38316 2012-01-06 Joseph Myers <joseph@codesourcery.com>
38319 * assert/assert.h (static_assert): Don't define for C++.
38320 * libio/stdio.h (gets): Do declare for C++ <= C++11.
38321 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
38323 2012-01-03 Ulrich Drepper <drepper@gmail.com>
38325 * iconv/loop.c (single loop): Fix assertion in storing of
38328 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
38330 2012-01-01 Ulrich Drepper <drepper@gmail.com>
38332 * posix/getconf.c: Update copyright year.
38333 * nss/getent.c: Likewise.
38334 * nss/makedb.c: Likewise.
38335 * iconv/iconvconfig.c: Likewise.
38336 * iconv/iconv_prog.c: Likewise.
38337 * elf/ldconfig.c: Likewise.
38338 * elf/pldd.c: Likewise.
38339 * elf/sotruss.ksh: Likewise.
38340 * catgets/gencat.c: Likewise.
38341 * csu/version.c: Likewise.
38342 * elf/ldd.bash.in: Likewise.
38343 * elf/sprof.c (print_version): Likewise.
38344 * locale/programs/locale.c: Likewise.
38345 * locale/programs/localedef.c: Likewise.
38346 * login/programs/pt_chown.c: Likewise.
38347 * nscd/nscd.c (print_version): Likewise.
38348 * debug/xtrace.sh: Likewise.
38349 * malloc/memusage.sh: Likewise.
38350 * malloc/mtrace.pl: Likewise.
38351 * debug/catchsegv.sh: Likewise.
38353 2011-12-30 Jakub Jelinek <jakub@redhat.com>
38355 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
38358 2011-12-24 Ulrich Drepper <drepper@gmail.com>
38361 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
38362 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
38364 * iconv/gconv_int.h: Likewise.
38365 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
38366 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
38367 from libc for GLIBC_2.16.
38368 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
38369 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
38370 * wcsmbs/uchar.h: Really define mbstate_t.
38371 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
38372 * wcsmbs/c16rtomb.c: New file.
38373 * wcsmbs/mbrtoc16.c: New file.
38374 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
38375 for C/POSIX locale.
38376 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
38377 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
38379 * wcsmbs/wchar.h: Add missing __restrict.
38381 2011-12-23 Ulrich Drepper <drepper@gmail.com>
38384 * time/Makefile (routines): Add timespec_get.
38385 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
38386 * time/time.h: Define TIME_UTC and declare timespec_get. Define
38387 timespec for ISO C11.
38388 * time/timespec_get.c: New file.
38389 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
38390 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
38393 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
38394 * stdlib/stdlib.h: Declare aligned_alloc.
38395 * Versions.def: Add GLIBC_2.16 for libc.
38396 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
38399 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
38402 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
38406 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
38409 * assert/assert.h (static_assert): Define.
38411 * version.h: Update for 2.16 development version.
38414 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
38417 * version.h (RELEASE): Bump for 2.15 release.
38418 * include/features.h (__GLIBC_MINOR__): Bump to 15.
38420 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
38421 Patch by Marek Polacek <mpolacek@redhat.com>.
38423 * bits/byteswap.h: Protect long long constants with __extension__.
38424 * sysdeps/i386/bits/byteswap.h: Likewise.
38425 * sysdeps/ia64/bits/byteswap.h: Likewise.
38426 * sysdeps/s390/bits/byteswap.h: Likewise.
38427 * sysdeps/x86_64/bits/byteswap.h: Likewise.
38429 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38432 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
38433 destination buffer.
38434 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
38436 2011-12-23 Marek Polacek <polacek@redhat.com>
38438 * elf/dl-addr.c (determine_info): Add inline keyword.
38439 * elf/tst-auditmod4b.c (check_avx): Likewise.
38440 * elf/tst-auditmod6b.c (check_avx): Likewise.
38441 * elf/tst-auditmod6c.c (check_avx): Likewise.
38442 * elf/tst-auditmod7b.c (check_avx): Likewise.
38444 2011-12-23 Ulrich Drepper <drepper@gmail.com>
38446 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
38449 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38452 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
38453 processing for last bytes.
38455 2011-08-06 Bruno Haible <bruno@clisp.org>
38458 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
38459 U+0385, not to U+1FEE.
38462 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
38463 entry for U+00A5 U+0301.
38465 2011-12-22 Ulrich Drepper <drepper@gmail.com>
38468 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
38469 buffer for the output is too small.
38471 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
38475 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
38476 SSE flags if possible.
38478 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38481 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
38482 processing for last bytes.
38484 2011-12-22 Joseph Myers <joseph@codesourcery.com>
38486 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
38487 (syscall-list-default-options, syscall-list-default-condition)
38488 (syscall-list-includes): Define.
38489 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
38490 list of ABIs and options and #if conditions for each ABI. Do not
38491 handle common syscalls between ABIs specially.
38492 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
38494 (syscall-list-variants, syscall-list-32bit-options)
38495 (syscall-list-32bit-condition, syscall-list-64bit-options)
38496 (syscall-list-64bit-condition): Define.
38497 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
38498 (syscall-list-variants, syscall-list-32bit-options)
38499 (syscall-list-32bit-condition, syscall-list-64bit-options)
38500 (syscall-list-64bit-condition): Define.
38501 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
38503 (syscall-list-variants, syscall-list-32bit-options)
38504 (syscall-list-32bit-condition, syscall-list-64bit-options)
38505 (syscall-list-64bit-condition): Define.
38506 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
38508 (syscall-list-variants, syscall-list-32bit-options)
38509 (syscall-list-32bit-condition, syscall-list-64bit-options)
38510 (syscall-list-64bit-condition): Define.
38512 2011-12-22 Ulrich Drepper <drepper@gmail.com>
38514 * locale/iso-639.def: Add brx entry.
38517 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
38518 Proposed by Mariusz_Cukr <marcukr@op.pl>.
38520 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
38521 __feraiseexcept_renamed.
38523 2011-12-21 Ulrich Drepper <drepper@gmail.com>
38526 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
38527 EPOLLET with unsigned values.
38528 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
38529 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
38531 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
38532 to large cancellation.
38533 * math/s_cacoshf.c: Likewise.
38534 * math/s_cacoshl.c: Likewise.
38536 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
38540 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
38541 * math/s_cacoshf.c: Likewise.
38542 * math/s_cacoshl.c: Likewise.
38544 2011-12-21 Ulrich Drepper <drepper@gmail.com>
38547 * iconv/gconv.h: Define __GCONV_SWAP.
38548 * iconvdata/unicode.c: The swap bit must be stored in __flags.
38549 * iconvdata/utf-16.c: Likewise.
38550 * iconvdata/utf-32.c: Likewise.
38552 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
38555 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
38556 numerator after shifting it by one limb.
38558 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
38560 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
38561 under [__USE_EXTERN_INLINES].
38563 2011-12-17 Ulrich Drepper <drepper@gmail.com>
38566 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
38568 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38570 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
38571 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
38573 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
38574 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
38575 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
38576 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
38577 for strncasecmp/strncasecmp_l compilation.
38578 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
38579 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
38581 2011-12-08 Marek Polacek <mpolacek@redhat.com>
38584 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
38587 2011-12-17 Ulrich Drepper <drepper@gmail.com>
38590 * time/tzfile.c (__tzfile_read): Check values from file header.
38592 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
38594 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
38595 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
38596 * powerpc/powerpc32/dl-start.S: Likewise.
38597 * powerpc/powerpc32/elf/start.S: Likewise.
38598 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
38599 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
38600 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
38601 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
38602 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
38603 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
38604 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
38605 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
38606 * powerpc/powerpc32/fpu/s_round.S: Likewise.
38607 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
38608 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
38609 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
38610 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
38611 * powerpc/powerpc32/memset.S: Likewise.
38612 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
38613 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
38614 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
38615 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
38616 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
38617 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
38618 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
38619 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
38620 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
38621 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
38622 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
38623 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
38624 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
38626 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38628 * math/libm-test.inc: Added more nearbyint tests.
38629 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
38630 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
38631 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
38632 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
38634 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
38636 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
38639 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38641 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
38642 Add wcscpy-ssse3 wcscpy-c.
38643 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
38644 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
38645 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
38646 * sysdeps/x86_64/wcschr.S: New file.
38647 * sysdeps/x86_64/wcsrchr.S: New file.
38648 * string/test-strcmp.c: Remove checking of wcscmp function for
38650 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
38651 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
38652 wcsrchr-sse2 wcsrchr-c.
38653 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
38654 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
38655 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
38656 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
38657 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
38658 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
38659 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
38660 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
38661 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
38662 * wcsmbc/wcschr.c (WCSCHR): New macro.
38664 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38666 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
38667 * wcsmbs/test-wcsrchr.c: New file.
38668 * string/test-strrchr.c: Add wcsrchr support.
38670 * wcsmbs/test-wcscpy.c: New file.
38671 * string/test-strcpy.c: Add wcscpy support.
38674 2011-12-10 Ulrich Drepper <drepper@gmail.com>
38676 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
38679 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
38682 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
38684 2011-12-04 Ulrich Drepper <drepper@gmail.com>
38686 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
38687 Minor optimizations.
38689 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
38690 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
38691 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
38693 2011-12-03 Ulrich Drepper <drepper@gmail.com>
38695 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
38696 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
38697 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
38698 for gcc to avoid warnings.
38699 * inet/Makefile (tests): Add tst-checks.
38700 * inet/tst-checks.c: New file.
38702 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
38705 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
38708 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
38709 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
38711 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
38713 2011-12-02 Ulrich Drepper <drepper@gmail.com>
38715 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
38718 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
38720 2011-11-29 Joseph Myers <joseph@codesourcery.com>
38722 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
38723 conditional on GCC version.
38724 (__arch_compare_and_exchange_val_8_acq)
38725 (__arch_compare_and_exchange_val_16_acq)
38726 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
38727 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
38728 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
38730 2011-12-02 Joseph Myers <joseph@codesourcery.com>
38732 * sysdeps/sh/backtrace.c: New file.
38734 2011-12-02 Andreas Schwab <schwab@redhat.com>
38736 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
38739 2011-12-01 Andreas Schwab <schwab@redhat.com>
38741 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
38742 falling back to utime.
38744 2011-11-30 Andreas Schwab <schwab@redhat.com>
38746 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
38747 expectations for float.
38749 2011-11-29 Andreas Schwab <schwab@redhat.com>
38751 * locale/weight.h (findidx): Add parameter len.
38752 * locale/weightwc.h (findidx): Likewise.
38753 * posix/fnmatch_loop.c (FCT): Adjust caller.
38754 * posix/regcomp.c (build_equiv_class): Likewise.
38755 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
38756 * posix/regexec.c (check_node_accept_bytes): Likewise.
38757 * string/strcoll_l.c (STRCOLL): Likewise.
38758 * string/strxfrm_l.c (STRXFRM): Likewise.
38760 2011-11-17 Ulrich Drepper <drepper@gmail.com>
38762 * Makefile.in: Remove CVSOPT handling.
38763 * configure.in: Remove use of AC_REVISION.
38764 * iconvdata/Makefile (distribute): No need to filter out CVS.
38765 * scripts/list-sources.sh: Remove CVS, subversion and monotone
38768 2011-11-16 Andreas Schwab <schwab@redhat.com>
38770 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
38771 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
38772 [USE_AS_STRNCASECMP_L]: Likewise.
38773 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
38774 NO_TLS_DIRECT_SEG_REFS.
38775 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
38776 Fix argument offsets for non-PIC.
38777 [USE_AS_STRNCASECMP_L]: Likewise.
38778 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
38779 NO_TLS_DIRECT_SEG_REFS.
38781 2011-11-15 Ulrich Drepper <drepper@gmail.com>
38783 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
38785 * locale/loadlocale.c (_nl_load_locale): Likewise.
38787 2011-11-15 Andreas Schwab <schwab@redhat.com>
38789 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
38790 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
38791 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
38792 (SYSCALL_GETTIME): Set errno on error.
38794 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
38795 count references to noai6ai_cached.
38797 2011-11-15 Ulrich Drepper <drepper@gmail.com>
38799 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
38801 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
38802 FD_CLOEXEC for /proc/self/maps.
38804 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
38805 FD_CLOEXEC for /proc/meminfo.
38807 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
38810 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
38811 FD_CLOEXEC for given file.
38813 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
38815 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
38816 FD_CLOEXEC for /etc/hosts.
38817 (_gethtent): Likewise.
38819 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
38821 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
38822 cancellation and set FD_CLOEXEC for /etc/netgroup.
38824 * nss/nss_files/files-key.c (search): Don't allow cancellation when
38825 reading /etc/publickey.
38827 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
38828 allow cancellation when reading /etc/group.
38830 * nss/nss_files/files-alias.c (internal_setent): Don't allow
38832 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
38834 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
38835 when using data file.
38837 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
38839 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
38840 (write_nis_obj): Use "c" and "e" in fopen.
38842 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
38844 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
38846 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
38848 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
38850 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
38853 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
38855 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
38857 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
38859 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
38860 file parsing and set FD_CLOEXEC.
38862 2011-11-14 Ulrich Drepper <drepper@gmail.com>
38864 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
38866 2011-11-14 Andreas Schwab <schwab@redhat.com>
38868 * malloc/arena.c (arena_get2): Don't call reused_arena when
38869 _int_new_arena failed.
38871 2011-11-14 Ulrich Drepper <drepper@gmail.com>
38873 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
38874 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
38875 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
38876 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
38877 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
38878 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
38879 to compile strcasecmp and strncasecmp.
38880 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
38881 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
38883 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
38885 2011-11-13 Ulrich Drepper <drepper@gmail.com>
38887 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
38888 locale-defines.sym to gen-as-const-headers.
38889 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
38890 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
38891 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
38892 to compile strcasecmp and strncasecmp.
38893 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
38894 strcasecmp_l and strncasecmp_l.
38895 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
38896 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
38897 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
38898 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
38899 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
38900 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
38901 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
38902 * sysdeps/i386/i686/multiarch/strncase.S: New file.
38903 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
38904 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
38905 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
38907 2011-11-12 Ulrich Drepper <drepper@gmail.com>
38909 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
38910 result of SYSDEP_GETTIME_CPU to retval.
38911 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
38912 parameter list to macro. Remove trailing semicolon. Adjust users.
38914 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
38917 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
38919 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
38921 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
38922 from unused variable.
38924 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
38926 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
38929 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
38932 * sunrpc/rpc_prot.c (rejected): Fix case value.
38934 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
38935 unsigned long long int to avoid warnings in shift.
38937 * posix/regex_internal.c (re_string_reconstruct): Actually use result
38939 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
38942 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
38943 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
38944 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
38946 * nis/nis_table.c (nis_list): Use variable of correct type for
38947 result of __follow_path call.
38949 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38951 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
38952 of math functions ceil, trunc, floor, round, and sqrt, when
38953 avaliable on the platform.
38954 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
38956 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
38957 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
38958 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
38960 2011-10-30 Marek Polacek <mpolacek@redhat.com>
38962 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
38963 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
38965 2011-11-11 Roland McGrath <roland@hack.frob.com>
38967 * include/unistd.h: Fix __readlink return type.
38968 Reported by Chris Metcalf <cmetcalf@tilera.com>.
38970 2011-11-11 Ulrich Drepper <drepper@gmail.com>
38972 * stdlib/ucontext.h: Undo last change for makecontext.
38974 2011-11-11 Andreas Schwab <schwab@redhat.com>
38976 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
38978 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
38979 * setjmp/setjmp.h: Mark functions as non-leaf.
38980 * setjmp/bits/setjmp2.h: Likewise.
38981 * stdlib/ucontext.h: Likewise.
38983 2011-11-10 Andreas Schwab <schwab@redhat.com>
38985 * malloc/arena.c (_int_new_arena): Don't increment narenas.
38986 (reused_arena): Don't check arena limit.
38987 (arena_get2): Atomically check arena limit.
38989 2011-11-08 Ulrich Drepper <drepper@gmail.com>
38991 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
38992 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
38994 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
38997 2011-11-07 Andreas Schwab <schwab@redhat.com>
38999 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
39000 handler when locking.
39002 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
39003 Fix size of allocated buffer.
39005 2011-11-04 Andreas Schwab <schwab@redhat.com>
39008 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
39009 declarations for long double functions.
39010 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
39012 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
39014 2011-11-03 Andreas Schwab <schwab@redhat.com>
39016 * nscd/nscd.c (main): Don't start AVC thread until credentials are
39019 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
39022 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
39024 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
39026 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
39028 * include/alloca.h (stackinfo_alloca_round): Define.
39029 (extend_alloca): Use it.
39030 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
39031 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
39034 * scripts/check-local-headers.sh: Ignore libaudit.h.
39036 * nscd/Makefile (extra-objs): Make recursively expanded.
39038 2011-11-01 Ulrich Drepper <drepper@gmail.com>
39040 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
39041 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
39043 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
39044 * posix/tst-rfc3484-2.c: Likewise.
39045 * posix/tst-rfc3484-3.c: Likewise.
39047 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
39049 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
39051 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
39052 process_vm_writev from libc using GLIBC_2.15 version.
39054 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
39056 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
39058 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
39061 2011-10-31 Ulrich Drepper <drepper@gmail.com>
39064 * nss/getent.c (initgroups_keys): Show error message in case no group
39067 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
39068 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
39069 __bump_nl_timestamp.
39070 * nscd/connections (nscd_init): When host database is served open
39071 netlink socket and request notification about configuration changes.
39072 (main_loop_poll): Track netlink file descriptor and bump timestamp
39073 in case data becomes available.
39074 (main_loop_epoll): Likewise.
39075 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
39076 (database_pers_head): Add extra_data fileds.
39077 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
39078 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
39079 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
39081 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
39082 in6ai data, call __free_in6ai.
39083 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
39084 Add -DHAVE_NETLINK.
39085 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
39086 interface information. Reuse previous data if netlink timestamp
39088 (__bump_nl_timestamp): New function.
39089 (__free_in6ai): New function.
39091 2011-10-30 Ulrich Drepper <drepper@gmail.com>
39093 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
39094 close_not_cancel_no_status here.
39095 (__check_pf): Reorganize code a bit to not call close twice if OOM.
39097 2011-10-29 Ulrich Drepper <drepper@gmail.com>
39100 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
39103 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
39104 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
39105 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
39107 2011-07-03 Andreas Jaeger <aj@suse.de>
39110 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
39111 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
39112 * math/libm-test.inc (sin_test): Add test case.
39114 2011-10-29 Ulrich Drepper <drepper@gmail.com>
39117 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
39118 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
39120 * elf/chroot_canon.c (chroot_canon): Cleanups.
39122 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
39125 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
39126 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
39128 * string/test-strchr.c: Make usable for strchrnul testing.
39129 * string/test-strchrnul.c: New file.
39130 * string/Makefile (strop-tests): Add strchrnul.
39132 * po/it.po: Update from translation team.
39133 * po/es.po: Likewise.
39135 2011-10-28 Ulrich Drepper <drepper@gmail.com>
39137 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
39138 the three constants needed as parameters. Drop the others.
39139 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
39140 __m128i_strloadu_tolower.
39141 Create and initialize variable zero and use it in all the places
39142 where _mm_setzero_si128 was used.
39144 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
39145 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
39146 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
39147 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
39149 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
39150 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
39151 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
39152 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
39153 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
39154 __mpranred, __mptan.
39155 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
39156 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
39157 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
39158 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
39159 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
39160 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
39161 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
39162 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
39163 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
39165 2011-10-28 Andreas Schwab <schwab@redhat.com>
39167 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
39168 redefine if SHARED.
39169 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
39171 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
39172 wide char related routines to wcsmbs subdir.
39174 2011-10-27 Andreas Schwab <schwab@redhat.com>
39177 * misc/sys/cdefs.h (__THROWNL): Define.
39178 * posix/unistd.h: Use __THREADNL instead of __THREAD
39179 for memory synchronization functions.
39181 2011-10-26 Roland McGrath <roland@hack.frob.com>
39184 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
39186 * manual/stdio.texi (Obstack Streams): Node removed.
39188 2011-10-26 Andreas Schwab <schwab@redhat.com>
39190 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
39191 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
39192 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
39194 * math/math_private.h (math_force_eval): Allow non-addressable
39196 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
39198 2011-10-25 Ulrich Drepper <drepper@gmail.com>
39200 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
39201 file is not needed.
39203 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
39204 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
39205 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
39206 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
39207 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
39208 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
39209 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
39210 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
39212 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
39213 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
39214 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
39215 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
39216 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
39217 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
39218 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
39219 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
39220 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
39221 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
39222 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
39223 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
39224 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
39225 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
39226 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
39227 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
39228 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
39229 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
39230 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
39232 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
39233 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
39235 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
39236 place. Use VEX encoding when compiling for AVX.
39238 2011-10-25 Andreas Schwab <schwab@redhat.com>
39240 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
39241 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
39243 * string/test-strchr.c (do_test): Don't generate NUL bytes.
39245 2011-10-25 Ulrich Drepper <drepper@gmail.com>
39247 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
39248 useless if() expression.
39249 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
39250 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
39251 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
39252 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39253 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
39254 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
39255 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39256 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39257 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
39258 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39259 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
39260 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39261 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
39262 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39263 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
39264 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
39265 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39266 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39267 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
39269 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
39271 2011-10-25 Andreas Schwab <schwab@redhat.com>
39273 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
39275 * elf/dl-fini.c (_dl_sort_fini): Likewise.
39277 2011-10-25 Ulrich Drepper <drepper@gmail.com>
39279 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
39280 .text section. Avoid duplicate constants.
39281 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
39282 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39283 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39284 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39285 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39286 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39287 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39288 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39289 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
39290 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
39291 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
39292 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
39293 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
39294 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
39295 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
39296 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
39297 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
39298 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
39299 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39300 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39301 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
39302 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
39303 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
39304 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
39305 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
39306 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
39307 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
39308 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
39309 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
39310 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
39311 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
39312 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
39313 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
39314 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
39315 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
39316 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
39317 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
39318 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
39319 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
39320 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
39321 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
39322 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
39323 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
39324 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
39325 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
39327 2011-10-24 Ulrich Drepper <drepper@gmail.com>
39329 * sysdeps/x86_64/dla.h: Move to ...
39330 * sysdeps/x86_64/fpu/dla.h: ...here.
39331 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
39332 situations. Use __builtin_fma only for gcc 4.6 and up.
39334 * config.make.in: Add have-mfma4 entry.
39335 * configure.in: Substitute libc_cv_cc_fma4.
39336 * math/Makefile (dbl-only-routines): Add sincostab.
39337 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
39338 Use __sincostab not sincos.
39339 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
39341 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39342 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39343 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39344 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
39346 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
39347 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
39348 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
39349 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
39351 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
39352 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
39354 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
39355 define aliases when function name is a macro.
39356 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
39357 sysdeps/ieee754/dbl-64/sincos.tbl.
39358 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
39359 fma4-enabled routines.
39360 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
39361 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
39362 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
39363 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
39364 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
39365 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
39366 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
39367 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
39368 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
39369 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
39370 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
39371 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
39372 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
39373 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
39374 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
39375 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
39376 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
39377 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
39378 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
39379 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
39380 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
39381 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
39382 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
39383 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
39384 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
39385 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
39386 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
39387 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
39388 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
39389 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
39391 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
39393 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39394 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39395 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39396 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39397 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39398 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39399 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39400 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39402 2011-10-24 Andreas Schwab <schwab@redhat.com>
39404 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
39406 2011-10-23 Ulrich Drepper <drepper@gmail.com>
39408 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
39410 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
39412 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
39414 * string/strnlen.c: Don't define STRNLEN, reverse logic.
39415 Remove unused variable magic_bits.
39416 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
39418 * string/strnlen.c: Define and use STRNLEN macro.
39419 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
39420 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
39421 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
39422 * wcsmbs/wcslen.c: Define and use WCSLEN.
39423 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
39424 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
39425 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
39426 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
39427 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
39428 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
39429 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
39431 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39433 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39434 strnlen-sse2-no-bsf.
39435 Rename strlen-no-bsf to strlen-sse2-no-bsf.
39436 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
39437 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
39438 Add strnlen support.
39439 (USE_AS_STRNLEN): New macro.
39440 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
39441 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
39442 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
39443 * sysdeps/x86_64/wcslen.S: New file.
39445 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
39447 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
39448 XMM-moves are used for copying on small sizes.
39450 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39452 * wcsmbs/Makefile (strop-tests): Add wcschr.
39453 * wcsmbs/test-wcschr.c: New file.
39454 * string/test-strchr.c: Update.
39455 Add wcschr support.
39458 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39460 * wcsmbs/Makefile (strop-tests): Add wcslen.
39461 * wcsmbs/test-wcslen.c: New file.
39462 * string/test-strlen.c: Update.
39463 Add wcslen support.
39466 2011-10-23 Ulrich Drepper <drepper@gmail.com>
39468 * po/it.po: Update from translation team.
39470 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39472 * sysdeps/x86_64/wcscmp.S: Update.
39473 Fix wrong comparison semantics.
39474 wcscmp shall use signed comparison not unsigned.
39475 Don't use substraction to avoid overflow bug.
39476 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
39477 * wcsmbc/wcscmp.c: Likewise.
39478 * string/test-strcmp.c: Likewise.
39479 Add new tests to check cases with negative values.
39481 2011-10-23 Ulrich Drepper <drepper@gmail.com>
39483 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
39484 * sysdeps/x86_64/dla.h: ...here. New file.
39485 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
39486 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39487 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39488 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39489 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39490 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39491 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39492 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39493 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39495 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
39497 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
39498 __ynl_finite aliases.
39500 2011-10-22 Ulrich Drepper <drepper@gmail.com>
39502 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39504 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
39506 [DLA_FMA] (EMULV): Use DLA_FMA.
39507 [DLA_FMA] (MUL12): Use EMULV.
39508 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
39509 that are not needed.
39510 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39511 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39512 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39513 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39514 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39515 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39516 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39518 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
39520 * math/s_nan.c: Undef __nan.
39521 * math/s_nanf.c: Undef __nanf.
39522 * math/s_nanl.c: Undef __nanl.
39523 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
39526 2011-10-22 Ulrich Drepper <drepper@gmail.com>
39528 * math/s_catan.c: Add branch predictions.
39529 * math/s_catanf.c: Likewise.
39530 * math/s_catanh.c: Likewise.
39531 * math/s_catanhf.c: Likewise.
39532 * math/s_catanhl.c: Likewise.
39533 * math/s_catanl.c: Likewise.
39534 * math/s_cexp.c: Likewise.
39535 * math/s_cexpf.c: Likewise.
39536 * math/s_cexpl.c: Likewise.
39537 * math/s_clog.c: Likewise.
39538 * math/s_clog10.c: Likewise.
39539 * math/s_clog10f.c: Likewise.
39540 * math/s_clog10l.c: Likewise.
39541 * math/s_clogf.c: Likewise.
39542 * math/s_clogl.c: Likewise.
39543 * math/s_csqrt.c: Likewise.
39544 * math/s_csqrtf.c: Likewise.
39545 * math/s_csqrtl.c: Likewise.
39546 * math/s_ctanf.c: Likewise.
39547 * math/s_ctanh.c: Likewise.
39548 * math/s_ctanhf.c: Likewise.
39549 * math/s_ctanhl.c: Likewise.
39550 * math/s_ctanl.c: Likewise.
39552 * math/math_private.h: Define __nan, __nanf, __nanl.
39553 * math/s_cacosh.c: Include <math_private.h>.
39554 * math/s_cacoshl.c: Likewise.
39555 * math/s_casinh.c: Likewise.
39556 * math/s_casinhf.c: Likewise.
39557 * math/s_casinhl.c: Likewise.
39558 * math/s_ccos.c: Rely entire on ccosh.
39559 * math/s_ccosf.c: Rely entire on ccoshf.
39560 * math/s_ccosl.c: Rely entirely on ccoshl.
39561 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
39562 Remove tests for FE_INVALID.
39563 * math/s_ccoshf.c: Likewise.
39564 * math/s_ccoshl.c: Likewise.
39565 * math/s_csin.c: Likewise.
39566 * math/s_csinf.c: Likewise.
39567 * math/s_csinh.c Likewise.
39568 * math/s_csinhf.c: Likewise.
39569 * math/s_csinhl.c: Likewise.
39570 * math/s_csinl.c: Likewise.
39571 * math/s_ctan.c: Likewise.
39572 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
39573 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
39574 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
39576 2011-10-21 Ulrich Drepper <drepper@gmail.com>
39578 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
39579 compilation problems.
39581 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
39584 2011-10-20 Ulrich Drepper <drepper@gmail.com>
39586 * sysdeps/i386/configure.in: Test for -mfma4 option.
39587 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
39588 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
39589 COMMON_CPUID_INDEX_80000001.
39590 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
39591 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
39592 use it if FMA3 is not supported.
39593 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
39595 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
39596 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
39598 2011-10-20 Andreas Schwab <schwab@redhat.com>
39601 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
39602 it would create a cycle with a link time dependency.
39604 2011-10-19 Ulrich Drepper <drepper@gmail.com>
39606 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
39608 * string/Makefile (strop-tests): Add rawmemchr.
39609 * string/test-rawmemchr.c: New file.
39611 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
39612 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
39613 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
39614 when compiling str{,n}casecmp and when AVX is available. Hook up
39615 new optimized code in initializers.
39617 2011-10-19 Andreas Schwab <schwab@redhat.com>
39619 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
39620 __feraiseexcept instead of feraiseexcept.
39622 2011-10-18 Ulrich Drepper <drepper@gmail.com>
39624 * math/math_private.h: Define defaults for libc_fetestexcept and
39626 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
39627 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
39628 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
39629 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
39630 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
39631 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
39632 libc_fetestexcept and libc_feupdateenv.
39634 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
39635 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
39636 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
39637 * sysdeps/x86_64/fpu/math_private.h: Define special version of
39638 libc_feholdexcept_setround.
39640 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
39641 Add s_nearbyint-c and s_nearbyintf-c.
39642 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
39643 nearbyintf inlines.
39644 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
39645 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
39646 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
39647 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
39649 * math/math_private.h: Define defaults for libc_fegetround,
39650 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
39651 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
39652 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
39653 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
39654 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
39655 standard functions.
39656 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
39657 Remove comments and hacks for old compiler versions.
39658 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
39659 libc_fegetround, libc_fesetround, libc_feholdexcept, and
39660 libc_feholdexceptl.
39662 2011-10-18 Andreas Schwab <schwab@redhat.com>
39664 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
39665 (__feraiseexcept_renamed): Add __NTH.
39666 (feraiseexcept): Add __NTH. Rename local variables to fix
39667 namespace violations.
39669 2011-10-17 Ulrich Drepper <drepper@gmail.com>
39671 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
39673 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
39675 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
39676 recently added interfaces.
39677 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
39679 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
39680 about macro parameter expansion.
39682 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
39683 __NO_MATH_INLINES is defined. Cleanups.
39685 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
39686 and __floorf is target has SSE4.1.
39687 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
39688 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
39689 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
39690 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
39692 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
39694 (floorf): Likewise.
39696 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
39698 2011-10-17 Andreas Schwab <schwab@redhat.com>
39700 * misc/sys/cdefs.h: Fix last change.
39702 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
39705 2011-10-16 Ulrich Drepper <drepper@gmail.com>
39707 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
39709 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
39710 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39711 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
39712 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39713 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39714 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
39715 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39716 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39717 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
39718 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
39719 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
39720 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
39721 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
39722 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
39723 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
39724 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
39725 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
39726 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
39727 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
39728 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
39729 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
39730 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
39732 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
39733 ceil, ceilf, floor, floorf.
39735 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
39736 Perform IRELATIVE relocations last.
39738 * elf/do-rel.h: Add another parameter nrelative, replacing the
39739 local variable with the same name. Change name of the function
39740 to end in Rel or Rela (uppercase).
39741 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
39742 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
39743 elf_dynamic_do_##reloc function.
39745 2011-10-15 Ulrich Drepper <drepper@gmail.com>
39747 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
39748 is sufficient, at least on modern CPUs.
39750 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
39752 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
39753 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
39755 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
39757 * math/bits/math-finite.h: Add entries for exp.
39758 * math/e_expl.c: Add __*_finite alias.
39759 * sysdeps/i386/fpu/e_exp.S: Likewise.
39760 * sysdeps/i386/fpu/e_expf.S: Likewise.
39761 * sysdeps/i386/fpu/e_expl.c: Likewise.
39762 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39763 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
39764 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
39765 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
39766 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
39767 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
39768 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
39770 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
39771 is sufficient, at least on modern CPUs.
39773 * ctype/ctype-info.c (__ctype_init): Define.
39774 * include/ctype.h (__ctype_init): Declare.
39775 (__ctype_b_loc): The variable is always initialized.
39776 (__ctype_toupper_loc): Likewise.
39777 (__ctype_tolower_loc): Likewise.
39778 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
39779 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
39781 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
39783 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
39785 * configure.in: Also look in $cxxmachine/include for C++ system
39788 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39790 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
39791 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
39792 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
39793 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
39794 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
39795 (USE_AS_WMEMCMP): New macro.
39797 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
39798 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
39799 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
39800 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
39801 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39802 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
39803 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
39804 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
39805 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
39806 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
39807 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
39808 (USE_AS_WMEMCMP): New macro.
39809 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
39810 * sysdeps/string/test-memcmp.c: Update.
39811 Fix simple_wmemcmp.
39813 * wcsmbs/wmemcmp.c: Update.
39814 (WMEMCMP): New macro.
39817 2011-10-12 Andreas Jaeger <aj@suse.de>
39820 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
39822 2011-10-15 Ulrich Drepper <drepper@gmail.com>
39824 * libio/iofwide.c (do_length): Avoid warning.
39826 * ctype/ctype.h (__isctype_f): Add missing __THROW.
39828 2011-10-14 Ulrich Drepper <drepper@gmail.com>
39830 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
39832 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
39833 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
39834 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
39835 * sysdeps/i386/i686/fpu/e_log.S: New file.
39836 * sysdeps/i386/i686/fpu/e_logf.S: New file.
39837 * sysdeps/i386/i686/fpu/e_logl.S: New file.
39839 * ctype/ctype.h: Add support for inlined isXXX functions when
39840 compiling C++ code.
39842 2011-10-14 Andreas Schwab <schwab@redhat.com>
39844 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39846 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
39848 2011-10-13 Roland McGrath <roland@hack.frob.com>
39851 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
39853 2011-10-13 Andreas Schwab <schwab@redhat.com>
39855 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
39856 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
39859 * sysdeps/x86_64/memrchr.S: Check for zero size.
39861 * string/stratcliff.c: Add memrchr tests.
39863 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39865 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39866 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
39867 rawmemchr-sse2 rawmemchr-sse2-bsf.
39868 * sysdeps/i386/i686/multiarch/memchr.S: New file.
39869 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
39870 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
39871 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
39872 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
39873 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
39874 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
39875 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
39876 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
39877 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
39878 * string/memrchr.c (MEMRCHR): New macro.
39880 2011-10-12 Ulrich Drepper <drepper@gmail.com>
39882 Add integration with gcc's -ffinite-math-only and optimize wrapper
39884 * Versions.def: Define GLIBC_2.15 version for libm.
39885 * math/Makefile (headers): Add bits/math-finite.h.
39886 * math/bits/math-finite.h: New file.
39887 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
39888 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
39889 * math/e_acoshl.c: Add __*_finite alias.
39890 * math/e_acosl.c: Likewise.
39891 * math/e_asinl.c: Likewise.
39892 * math/e_atan2l.c: Likewise.
39893 * math/e_atanhl.c: Likewise.
39894 * math/e_coshl.c: Likewise.
39895 * math/e_exp10.c: Likewise.
39896 * math/e_exp10f.c: Likewise.
39897 * math/e_exp10l.c: Likewise.
39898 * math/e_exp2l.c: Likewise.
39899 * math/e_fmodl.c: Likewise.
39900 * math/e_gammal_r.c: Likewise.
39901 * math/e_hypotl.c: Likewise.
39902 * math/e_j0l.c: Likewise.
39903 * math/e_j1l.c: Likewise.
39904 * math/e_jnl.c: Likewise.
39905 * math/e_lgammal_r.c: Likewise.
39906 * math/e_log10l.c: Likewise.
39907 * math/e_log2l.c: Likewise.
39908 * math/e_logl.c: Likewise.
39909 * math/e_powl.c: Likewise.
39910 * math/e_sinhl.c: Likewise.
39911 * math/e_sqrtl.c: Likewise.
39912 * math/e_scalb.c: Completely rewritten and optimized.
39913 * math/e_scalbf.c: Likewise.
39914 * math/e_scalbl.c: Likewise.
39915 * math/w_acos.c: Likewise.
39916 * math/w_acosf.c: Likewise.
39917 * math/w_acosl.c: Likewise.
39918 * math/w_acosh.c: Likewise.
39919 * math/w_acoshf.c: Likewise.
39920 * math/w_acoshl.c: Likewise.
39921 * math/w_asin.c: Likewise.
39922 * math/w_asinf.c: Likewise.
39923 * math/w_asinl.c: Likewise.
39924 * math/w_atan2.c: Likewise.
39925 * math/w_atan2f.c: Likewise.
39926 * math/w_atan2l.c: Likewise.
39927 * math/w_atanh.c: Likewise.
39928 * math/w_atanhf.c: Likewise.
39929 * math/w_atanhl.c: Likewise.
39930 * math/w_exp10.c: Likewise.
39931 * math/w_exp10f.c: Likewise.
39932 * math/w_exp10l.c: Likewise.
39933 * math/w_fmod.c: Likewise.
39934 * math/w_fmodf.c: Likewise.
39935 * math/w_fmodl.c: Likewise.
39936 * math/w_j0.c: Likewise.
39937 * math/w_j0f.c: Likewise.
39938 * math/w_j0l.c: Likewise.
39939 * math/w_j1.c: Likewise.
39940 * math/w_j1f.c: Likewise.
39941 * math/w_j1l.c: Likewise.
39942 * math/w_jn.c: Likewise.
39943 * math/w_jnf.c: Likewise.
39944 * math/w_log.c: Likewise.
39945 * math/w_logf.c: Likewise.
39946 * math/w_logl.c: Likewise.
39947 * math/w_log10.c: Likewise.
39948 * math/w_log10f.c: Likewise.
39949 * math/w_log10l.c: Likewise.
39950 * math/w_log2.c: Likewise.
39951 * math/w_log2f.c: Likewise.
39952 * math/w_log2l.c: Likewise.
39953 * math/w_pow.c: Likewise.
39954 * math/w_powf.c: Likewise.
39955 * math/w_powl.c: Likewise.
39956 * math/w_remainder.c: Likewise.
39957 * math/w_remainderf.c: Likewise.
39958 * math/w_remainderl.c: Likewise.
39959 * math/w_scalb.c: Likewise.
39960 * math/w_scalbf.c: Likewise.
39961 * math/w_scalbl.c: Likewise.
39962 * math/w_sqrt.c: Likewise.
39963 * math/w_sqrtf.c: Likewise.
39964 * math/w_sqrtl.c: Likewise.
39965 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
39966 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
39968 * math/math_private.h: Declare __kernel_standard_f.
39969 * math/w_cosh.c: Remove cruft and optimize a bit.
39970 * math/w_coshf.c: Likewise.
39971 * math/w_coshl.c: Likewise.
39972 * math/w_exp2.c: Likewise.
39973 * math/w_exp2f.c: Likewise.
39974 * math/w_exp2l.c: Likewise.
39975 * math/w_hypot.c: Likewise.
39976 * math/w_hypotf.c: Likewise.
39977 * math/w_hypotl.c: Likewise.
39978 * math/w_lgamma.c: Likewise.
39979 * math/w_lgamma_r.c: Likewise.
39980 * math/w_lgammaf.c: Likewise.
39981 * math/w_lgammaf_r.c: Likewise.
39982 * math/w_lgammal.c: Likewise.
39983 * math/w_lgammal_r.c: Likewise.
39984 * math/w_sinh.c: Likewise.
39985 * math/w_sinhf.c: Likewise.
39986 * math/w_sinhl.c: Likewise.
39987 * math/w_tgamma.c: Likewise.
39988 * math/w_tgammaf.c: Likewise.
39989 * math/w_tgammal.c: Likewise.
39990 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39991 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39992 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
39993 Minor optimizations. Pretty printing. Remove cruft.
39994 * sysdeps/i386/fpu/e_acosf.S: Likewise.
39995 * sysdeps/i386/fpu/e_acosh.S: Likewise.
39996 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
39997 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
39998 * sysdeps/i386/fpu/e_acosl.c: Likewise.
39999 * sysdeps/i386/fpu/e_asin.S: Likewise.
40000 * sysdeps/i386/fpu/e_asinf.S: Likewise.
40001 * sysdeps/i386/fpu/e_atan2.S: Likewise.
40002 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
40003 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
40004 * sysdeps/i386/fpu/e_atanh.S: Likewise.
40005 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
40006 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40007 * sysdeps/i386/fpu/e_exp10.S: Likewise.
40008 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
40009 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
40010 * sysdeps/i386/fpu/e_exp2.S: Likewise.
40011 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
40012 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
40013 * sysdeps/i386/fpu/e_fmod.S: Likewise.
40014 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
40015 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
40016 * sysdeps/i386/fpu/e_hypot.S: Likewise.
40017 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
40018 * sysdeps/i386/fpu/e_log.S: Likewise.
40019 * sysdeps/i386/fpu/e_log10.S: Likewise.
40020 * sysdeps/i386/fpu/e_log10f.S: Likewise.
40021 * sysdeps/i386/fpu/e_log10l.S: Likewise.
40022 * sysdeps/i386/fpu/e_log2.S: Likewise.
40023 * sysdeps/i386/fpu/e_log2f.S: Likewise.
40024 * sysdeps/i386/fpu/e_log2l.S: Likewise.
40025 * sysdeps/i386/fpu/e_logf.S: Likewise.
40026 * sysdeps/i386/fpu/e_logl.S: Likewise.
40027 * sysdeps/i386/fpu/e_pow.S: Likewise.
40028 * sysdeps/i386/fpu/e_powf.S: Likewise.
40029 * sysdeps/i386/fpu/e_powl.S: Likewise.
40030 * sysdeps/i386/fpu/e_remainder.S: Likewise.
40031 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
40032 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
40033 * sysdeps/i386/fpu/e_scalb.S: Likewise.
40034 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40035 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40036 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
40037 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
40038 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
40039 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
40040 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40041 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40042 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
40043 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
40044 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
40045 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
40046 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
40047 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40048 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
40049 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
40050 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
40051 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40052 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
40053 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
40054 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40055 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40056 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
40057 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40058 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40059 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
40060 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
40061 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40062 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40063 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
40064 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
40065 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
40066 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
40067 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
40068 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
40069 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40070 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
40071 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40072 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
40073 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
40074 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
40075 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
40076 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
40077 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
40078 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
40079 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
40080 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
40081 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
40082 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
40083 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40084 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
40085 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
40086 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
40087 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
40088 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
40089 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
40090 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
40091 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
40092 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40093 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
40094 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
40095 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
40096 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
40097 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
40098 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
40099 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
40100 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
40101 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40102 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40103 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
40104 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
40105 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
40106 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
40107 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
40108 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
40109 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
40110 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
40111 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
40112 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
40113 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
40114 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40115 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
40116 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
40117 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40118 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
40119 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40120 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
40121 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
40122 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40123 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40124 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
40125 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40126 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
40127 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
40128 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
40129 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40130 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
40131 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
40132 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
40133 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
40134 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
40135 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
40136 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
40137 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
40138 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
40139 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
40140 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
40141 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
40142 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
40143 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40144 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40145 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40146 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40147 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
40148 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40149 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
40150 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
40151 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
40152 (__isnanf): Likewise.
40153 (__isinf_ns): Likewise.
40154 (__isinf_nsf): Likewise.
40155 (__finite): Likewise.
40156 (__finitef): Likewise.
40157 (__ieee754_sqrt): Define as macro.
40158 (__ieee754_sqrtf): Define as macro.
40159 (__ieee754_sqrtl): Define as macro.
40160 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
40162 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
40163 __FINITE_MATH_ONLY__ consistent.
40164 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
40166 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
40168 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
40171 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
40173 2011-10-09 Ulrich Drepper <drepper@gmail.com>
40175 * po/ja.po: Update from translation team.
40177 2011-10-08 Roland McGrath <roland@hack.frob.com>
40179 * locale/programs/locarchive.c (prepare_address_space): New function.
40180 (create_archive, enlarge_archive, open_archive): Use it.
40182 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
40183 inside [SHARED], where it is used.
40185 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
40187 * nss/getent.c (netgroup_keys): Remove unused variable.
40188 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
40190 2011-10-08 Ulrich Drepper <drepper@gmail.com>
40192 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
40193 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
40194 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
40195 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
40196 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
40197 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
40198 * math/Makefile (libm-calls): Add s_isinf_ns.
40199 * math/divtc3.c: Use __isinf_nsl instead of isinf.
40200 * math/multc3.c: Likewise.
40201 * math/s_casin.c: Likewise.
40202 * math/s_casinf.c: Likewise.
40203 * math/s_casinl.c: Likewise.
40204 * math/s_ccos.c: Likewise.
40205 * math/s_ccosf.c: Likewise.
40206 * math/s_ccosl.c: Likewise.
40207 * math/s_ctan.c: Likewise.
40208 * math/s_ctanf.c: Likewise.
40209 * math/s_ctanh.c: Likewise.
40210 * math/s_ctanhf.c: Likewise.
40211 * math/s_ctanhl.c: Likewise.
40212 * math/s_ctanl.c: Likewise.
40213 * math/w_fmod.c: Likewise.
40214 * math/w_fmodf.c: Likewise.
40215 * math/w_fmodl.c: Likewise.
40216 * math/w_remainder.c: Likewise.
40217 * math/w_remainderf.c: Likewise.
40218 * math/w_remainderl.c: Likewise.
40219 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
40220 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
40221 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
40222 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
40223 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
40224 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
40225 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
40226 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
40228 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
40230 * stdio-common/printf_fphex.c: Likewise.
40231 * stdio-common/printf_size.c: Likewise.
40233 * math/e_exp10.c: Include math_private.h using <...> not "...".
40234 * math/e_exp10f.c: Likewise.
40235 * math/e_exp10l.c: Likewise.
40236 * math/e_exp2l.c: Likewise.
40237 * math/e_j0l.c: Likewise.
40238 * math/e_j1l.c: Likewise.
40239 * math/e_jnl.c: Likewise.
40240 * math/e_lgammal_r.c: Likewise.
40241 * math/e_rem_pio2l.c: Likewise.
40242 * math/e_scalb.c: Likewise.
40243 * math/e_scalbf.c: Likewise.
40244 * math/e_scalbl.c: Likewise.
40245 * math/k_cosl.c: Likewise.
40246 * math/k_sinl.c: Likewise.
40247 * math/k_tanl.c: Likewise.
40248 * math/s_cacoshf.c: Likewise.
40249 * math/s_catan.c: Likewise.
40250 * math/s_catanf.c: Likewise.
40251 * math/s_catanh.c: Likewise.
40252 * math/s_catanhf.c: Likewise.
40253 * math/s_catanhl.c: Likewise.
40254 * math/s_catanl.c: Likewise.
40255 * math/s_ccosh.c: Likewise.
40256 * math/s_ccoshf.c: Likewise.
40257 * math/s_ccoshl.c: Likewise.
40258 * math/s_cexp.c: Likewise.
40259 * math/s_cexpf.c: Likewise.
40260 * math/s_cexpl.c: Likewise.
40261 * math/s_clog.c: Likewise.
40262 * math/s_clog10.c: Likewise.
40263 * math/s_clog10f.c: Likewise.
40264 * math/s_clog10l.c: Likewise.
40265 * math/s_clogf.c: Likewise.
40266 * math/s_clogl.c: Likewise.
40267 * math/s_csin.c: Likewise.
40268 * math/s_csinf.c: Likewise.
40269 * math/s_csinh.c: Likewise.
40270 * math/s_csinhf.c: Likewise.
40271 * math/s_csinhl.c: Likewise.
40272 * math/s_csinl.c: Likewise.
40273 * math/s_csqrt.c: Likewise.
40274 * math/s_csqrtf.c: Likewise.
40275 * math/s_csqrtl.c: Likewise.
40276 * math/s_ctan.c: Likewise.
40277 * math/s_ctanf.c: Likewise.
40278 * math/s_ctanh.c: Likewise.
40279 * math/s_ctanhf.c: Likewise.
40280 * math/s_ctanhl.c: Likewise.
40281 * math/s_ctanl.c: Likewise.
40282 * math/s_ldexp.c: Likewise.
40283 * math/s_ldexpf.c: Likewise.
40284 * math/s_ldexpl.c: Likewise.
40285 * math/s_significand.c: Likewise.
40286 * math/s_significandf.c: Likewise.
40287 * math/s_significandl.c: Likewise.
40288 * math/w_acos.c: Likewise.
40289 * math/w_acosf.c: Likewise.
40290 * math/w_acosh.c: Likewise.
40291 * math/w_acoshf.c: Likewise.
40292 * math/w_acoshl.c: Likewise.
40293 * math/w_acosl.c: Likewise.
40294 * math/w_asin.c: Likewise.
40295 * math/w_asinf.c: Likewise.
40296 * math/w_asinl.c: Likewise.
40297 * math/w_atan2.c: Likewise.
40298 * math/w_atan2f.c: Likewise.
40299 * math/w_atan2l.c: Likewise.
40300 * math/w_atanh.c: Likewise.
40301 * math/w_atanhf.c: Likewise.
40302 * math/w_atanhl.c: Likewise.
40303 * math/w_cosh.c: Likewise.
40304 * math/w_coshf.c: Likewise.
40305 * math/w_coshl.c: Likewise.
40306 * math/w_dremf.c: Likewise.
40307 * math/w_exp10.c: Likewise.
40308 * math/w_exp10f.c: Likewise.
40309 * math/w_exp10l.c: Likewise.
40310 * math/w_exp2.c: Likewise.
40311 * math/w_exp2f.c: Likewise.
40312 * math/w_fmod.c: Likewise.
40313 * math/w_fmodf.c: Likewise.
40314 * math/w_fmodl.c: Likewise.
40315 * math/w_hypot.c: Likewise.
40316 * math/w_hypotf.c: Likewise.
40317 * math/w_hypotl.c: Likewise.
40318 * math/w_j0.c: Likewise.
40319 * math/w_j0f.c: Likewise.
40320 * math/w_j0l.c: Likewise.
40321 * math/w_j1.c: Likewise.
40322 * math/w_j1f.c: Likewise.
40323 * math/w_j1l.c: Likewise.
40324 * math/w_jn.c: Likewise.
40325 * math/w_jnf.c: Likewise.
40326 * math/w_jnl.c: Likewise.
40327 * math/w_lgamma.c: Likewise.
40328 * math/w_lgamma_r.c: Likewise.
40329 * math/w_lgammaf.c: Likewise.
40330 * math/w_lgammaf_r.c: Likewise.
40331 * math/w_lgammal.c: Likewise.
40332 * math/w_lgammal_r.c: Likewise.
40333 * math/w_log.c: Likewise.
40334 * math/w_log10.c: Likewise.
40335 * math/w_log10f.c: Likewise.
40336 * math/w_log10l.c: Likewise.
40337 * math/w_log2.c: Likewise.
40338 * math/w_log2f.c: Likewise.
40339 * math/w_log2l.c: Likewise.
40340 * math/w_logf.c: Likewise.
40341 * math/w_logl.c: Likewise.
40342 * math/w_pow.c: Likewise.
40343 * math/w_powf.c: Likewise.
40344 * math/w_powl.c: Likewise.
40345 * math/w_remainder.c: Likewise.
40346 * math/w_remainderf.c: Likewise.
40347 * math/w_remainderl.c: Likewise.
40348 * math/w_scalb.c: Likewise.
40349 * math/w_scalbf.c: Likewise.
40350 * math/w_scalbl.c: Likewise.
40351 * math/w_sinh.c: Likewise.
40352 * math/w_sinhf.c: Likewise.
40353 * math/w_sinhl.c: Likewise.
40354 * math/w_sqrt.c: Likewise.
40355 * math/w_sqrtf.c: Likewise.
40356 * math/w_sqrtl.c: Likewise.
40357 * math/w_tgamma.c: Likewise.
40358 * math/w_tgammaf.c: Likewise.
40359 * math/w_tgammal.c: Likewise.
40361 * po/ja.po: Update from translation team.
40363 2011-09-29 Andreas Jaeger <aj@suse.de>
40366 * sunrpc/netname.c (netname2host): Fix logic.
40370 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
40372 * math/w_remainder.c (__remainder): Likewise.
40373 * math/w_remainderf.c (__remainderf): Likewise.
40374 * math/libm-test.inc (remainder_test): Add test cases.
40376 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40378 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
40381 2011-10-07 Ulrich Drepper <drepper@gmail.com>
40383 * string/test-memcmp.c: Avoid unncessary #defines.
40384 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
40386 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40388 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
40389 Use new sse2 version for core i3 - i7 as it's faster
40390 than sse42 version.
40391 (bit_Prefer_PMINUB_for_stringop): New.
40392 * sysdeps/x86_64/rawmemchr.S: Update.
40393 Replace with faster SSE2 version.
40394 * sysdeps/x86_64/memrchr.S: New file.
40395 * sysdeps/x86_64/memchr.S: Update.
40396 Replace with faster SSE2 version.
40398 2011-09-12 Marek Polacek <mpolacek@redhat.com>
40400 * elf/dl-load.c (lose): Add cast to avoid warning.
40402 2011-10-07 Ulrich Drepper <drepper@gmail.com>
40404 * po/ca.po: Update from translation team.
40406 * inet/getnetgrent_r.c: Hook up nscd.
40407 * nscd/Makefile (routines): Add nscd_netgroup.
40408 (nscd-modules): Add netgroupcache.
40409 (CFLAGS-netgroupcache.c): Define.
40410 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
40411 (cache_search): Add const to second parameter.
40412 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
40414 (dbs): Add netgrdb entry.
40415 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
40416 (verify_persistent_db): Handle netgrdb.
40417 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
40418 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
40420 (netgroup_response_header): Define.
40421 (innetgroup_response_header): Define.
40422 (datahead): Add netgroup_response_header and innetgroup_response_header
40424 * nscd/nscd.conf: Add entries for netgroup cache.
40425 * nscd/nscd.h (dbtype): Add netgrdb.
40426 (_PATH_NSCD_NETGROUP_DB): Define.
40427 (netgroup_iov_disabled): Declare.
40428 (xmalloc, xcalloc, xrealloc): Move declarations here.
40429 (cache_search): Adjust prototype.
40430 Add netgroup-related prototypes.
40431 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
40432 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
40433 (__nscd_innetgr): Declare.
40434 * nscd/selinux.c (perms): Use access_vector_t as element type and
40435 add netgroup-related initializers.
40436 * nscd/netgroupcache.c: New file.
40437 * nscd/nscd_netgroup.c: New file.
40438 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
40439 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
40440 For four parameters use innetgr.
40441 * nss/nss_files/files-init.c: Add definition and callback for netgr.
40442 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
40443 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
40444 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
40446 * nscd/connections.c (register_traced_file): Don't register file
40447 for disabled databases.
40449 2011-10-06 Ulrich Drepper <drepper@gmail.com>
40451 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
40453 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
40454 from tree and freeing node.
40456 2011-09-25 Jiri Olsa <jolsa@redhat.com>
40458 * nss/nsswitch.c (__nss_database_lookup): Handle
40459 nss_parse_service_list out of memory case.
40461 2011-09-15 Jiri Olsa <jolsa@redhat.com>
40463 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
40464 out of memory case.
40466 2011-10-04 Andreas Schwab <schwab@redhat.com>
40468 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
40469 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
40471 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
40472 elf_machine_rela, elf_machine_lazy_rel.
40473 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
40474 (ELF_DYNAMIC_DO_REL): Likewise.
40475 (ELF_DYNAMIC_DO_RELA): Likewise.
40476 (ELF_DYNAMIC_RELOCATE): Likewise.
40477 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
40478 to ELF_DYNAMIC_DO_REL.
40479 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
40480 (dl_main): In trace mode always set __RTLD_NOIFUNC.
40481 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
40483 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
40484 skip_ifunc, don't call ifunc function if non-zero.
40485 (elf_machine_rela): Likewise.
40486 (elf_machine_lazy_rel): Likewise.
40487 (elf_machine_lazy_rela): Likewise.
40488 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
40489 (elf_machine_lazy_rel): Likewise.
40490 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
40492 (elf_machine_lazy_rel): Likewise.
40493 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
40495 (elf_machine_lazy_rel): Likewise.
40496 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
40497 (elf_machine_lazy_rel): Likewise.
40498 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
40499 (elf_machine_lazy_rel): Likewise.
40500 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
40501 (elf_machine_lazy_rel): Likewise.
40502 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
40503 (elf_machine_lazy_rel): Likewise.
40504 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
40505 (elf_machine_lazy_rel): Likewise.
40506 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
40507 (elf_machine_lazy_rel): Likewise.
40509 2011-09-28 Ulrich Drepper <drepper@gmail.com>
40511 * nss/nss_files/files-init.c (_nss_files_init): Use static
40512 initialization for all the *_traced_file variables.
40514 2011-09-28 Andreas Schwab <schwab@redhat.com>
40516 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40518 2011-09-27 Roland McGrath <roland@hack.frob.com>
40521 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
40523 2011-09-27 Andreas Schwab <schwab@redhat.com>
40525 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
40526 Reread the line before reparsing it.
40528 2011-09-26 Andreas Schwab <schwab@redhat.com>
40530 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
40532 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
40533 Maxim Kuvyrkov <maxim@codesourcery.com>
40534 Joseph Myers <joseph@codesourcery.com>
40536 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
40537 if needed for __stack_chk_guard.
40539 2011-09-19 Roland McGrath <roland@hack.frob.com>
40541 * sysdeps/posix/spawni.c (script_execute): Always define it.
40542 It will be optimized away if unused.
40543 (maybe_script_execute): New function.
40544 (__spawni): Call it.
40546 * Makerules: Don't include tls.make.
40547 (config-tls): Always set to thread.
40548 * tls.make.c: File removed.
40550 2011-09-19 Mike Frysinger <vapier@gentoo.org>
40552 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
40553 * config.make.in (CPPFLAGS-config): New substituted variable.
40555 2011-09-15 Ulrich Drepper <drepper@gmail.com>
40557 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
40560 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
40561 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
40563 2011-09-15 Roland McGrath <roland@hack.frob.com>
40565 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
40566 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
40567 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
40568 (CALL_FAIL): Likewise.
40569 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
40570 (CALL_FAIL): Macro removed.
40571 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
40573 2011-09-15 Ulrich Drepper <drepper@gmail.com>
40575 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
40576 for __FINITE_MATH_ONLY__ == 1.
40578 2011-09-15 Andreas Schwab <schwab@redhat.com>
40580 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
40581 __ieee754_sqrt instead of sqrt.
40582 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
40583 __ieee754_sqrtf instead of sqrtf.
40584 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
40585 __floorf instead of floorf.
40586 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
40587 __floorf, __truncf instead of floorf, truncf.
40589 2011-09-14 Ulrich Drepper <drepper@gmail.com>
40591 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
40593 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
40594 __extern_always_inline.
40595 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
40598 2011-09-14 Andreas Schwab <schwab@redhat.com>
40600 * elf/rtld.c (dl_main): Also relocate in dependency order when
40601 doing symbol dependency testing.
40603 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
40605 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
40606 Always define `refsym'.
40608 2011-09-13 Andreas Schwab <schwab@redhat.com>
40610 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
40611 (__FD_ELT): Renamed from __FDELT.
40612 * misc/bits/select2.h (__FD_ELT): Likewise.
40613 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
40614 __FD_MASK instead of __FDELT, __FDMASK.
40615 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
40617 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
40620 * elf/Makefile (gen-ldd): Fix pattern.
40622 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
40623 (init_tls): Likewise.
40625 2011-09-12 Ulrich Drepper <drepper@gmail.com>
40627 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
40629 2011-09-12 Andreas Schwab <schwab@redhat.com>
40631 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
40632 `struct cmsghdr *' instead of `void *'.
40633 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
40636 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
40638 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
40640 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
40641 ldd_rewrite_script.
40643 2011-09-11 Ulrich Drepper <drepper@gmail.com>
40645 * configure.in: Remove --with-tls option.
40646 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
40647 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
40648 out in case it is missing.
40649 * sysdeps/ia64/elf/configure.in: Likewise.
40650 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
40651 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
40652 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
40653 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
40654 * sysdeps/sh/elf/configure.in: Likewise.
40655 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
40656 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
40657 * sysdeps/x86_64/elf/configure.in: Likewise.
40658 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
40659 * sysdeps/mach/hurd/tls.h: Likewise.
40662 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
40665 * configure.in: Fix use of AC_INIT.
40667 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
40669 2011-09-10 Ulrich Drepper <drepper@gmail.com>
40671 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
40673 * malloc/hooks.c: Likewise.
40676 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
40677 variables statically.
40678 (narenas): Initialize.
40679 (list_lock): Initialize.
40680 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
40681 initializtion of main_arena and list_lock. Small cleanups.
40682 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
40683 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
40684 Add initializers to main_arena and mp_.
40685 (malloc_state): Remove pagesize member. Change all users to use
40688 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
40689 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
40690 is always initialized.
40692 * malloc/malloc.c: Removed unused configurations and dead code.
40693 * malloc/arena.c: Likewise.
40694 * malloc/hooks.c: Likewise.
40695 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
40697 * include/tls.h: Removed. USE___THREAD must always be defined.
40698 * bits/libc-tsd.h: Don't handle !USE___THREAD.
40699 * elf/dl-libc.c: Likewise.
40700 * elf/dl-tsd.c: Likewise.
40701 * include/errno.h: Likewise.
40702 * include/netdb.h: Likewise.
40703 * include/resolv.h: Likewise.
40704 * inet/herrno-loc.c: Likewise.
40705 * inet/herrno.c: Likewise.
40706 * malloc/arena.c: Likewise.
40707 * malloc/hooks.c: Likewise.
40708 * malloc/malloc.c: Likewise.
40709 * resolv/res-state.c: Likewise.
40710 * resolv/res_libc.c: Likewise.
40711 * sysdeps/i386/dl-machine.h: Likewise.
40712 * sysdeps/ia64/dl-machine.h: Likewise.
40713 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
40714 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
40715 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
40716 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
40717 * sysdeps/sh/dl-machine.h: Likewise.
40718 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
40719 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
40720 * sysdeps/unix/i386/sysdep.S: Likewise.
40721 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
40722 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
40723 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
40724 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
40725 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
40726 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
40727 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
40728 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40729 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40730 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
40731 * sysdeps/unix/x86_64/sysdep.S: Likewise.
40732 * sysdeps/x86_64/dl-machine.h: Likewise.
40733 * tls.make.c: Likewise.
40735 * configure.in: Remove --with-__thread option. Make tests for
40736 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
40737 tls_model attribute fail if no support is available. Remove
40739 * Makeconfig: Adjust for dropped configure option. All features are
40741 * Makerules: Likewise.
40742 * Versions.def: Likewise.
40743 * argp/argp-fmtstream.c: Likewise.
40744 * argp/argp-fmtstream.h: Likewise.
40745 * argp/argp-help.c: Likewise.
40746 * assert/assert.c: Likewise.
40747 * config.h.in: Likewise.
40748 * config.make.in: Likewise.
40749 * configure: Likewise.
40750 * configure.in: Likewise.
40751 * csu/Versions: Likewise.
40752 * csu/init.c: Likewise.
40753 * elf/tst-audit2.c: Likewise.
40754 * elf/tst-tls10.c: Likewise.
40755 * elf/tst-tls10.h: Likewise.
40756 * elf/tst-tls11.c: Likewise.
40757 * elf/tst-tls12.c: Likewise.
40758 * elf/tst-tls14.c: Likewise.
40759 * elf/tst-tlsmod11.c: Likewise.
40760 * elf/tst-tlsmod12.c: Likewise.
40761 * elf/tst-tlsmod13.c: Likewise.
40762 * elf/tst-tlsmod13a.c: Likewise.
40763 * elf/tst-tlsmod14a.c: Likewise.
40764 * elf/tst-tlsmod15b.c: Likewise.
40765 * elf/tst-tlsmod16a.c: Likewise.
40766 * elf/tst-tlsmod16b.c: Likewise.
40767 * elf/tst-tlsmod7.c: Likewise.
40768 * elf/tst-tlsmod8.c: Likewise.
40769 * elf/tst-tlsmod9.c: Likewise.
40770 * gmon/gmon.c: Likewise.
40771 * grp/fgetgrent_r.c: Likewise.
40772 * grp/putgrent.c: Likewise.
40773 * hurd/fopenport.c: Likewise.
40774 * include/libc-symbols.h: Likewise.
40775 * include/tls.h: Likewise.
40776 * intl/gettextP.h: Likewise.
40777 * intl/loadinfo.h: Likewise.
40778 * locale/global-locale.c: Likewise.
40779 * locale/localeinfo.h: Likewise.
40780 * mach/devstream.c: Likewise.
40781 * malloc/arena.c: Likewise.
40782 * malloc/set-freeres.c: Likewise.
40783 * misc/err.c: Likewise.
40784 * misc/getttyent.c: Likewise.
40785 * misc/mntent_r.c: Likewise.
40786 * posix/getopt.c: Likewise.
40787 * posix/wordexp.c: Likewise.
40788 * pwd/fgetpwent_r.c: Likewise.
40789 * resolv/Versions: Likewise.
40790 * resolv/res_hconf.c: Likewise.
40791 * shadow/fgetspent_r.c: Likewise.
40792 * shadow/putspent.c: Likewise.
40793 * stdio-common/printf_fphex.c: Likewise.
40794 * stdio-common/tmpfile.c: Likewise.
40795 * stdlib/abort.c: Likewise.
40796 * stdlib/fmtmsg.c: Likewise.
40797 * sunrpc/auth_unix.c: Likewise.
40798 * sunrpc/clnt_perr.c: Likewise.
40799 * sunrpc/clnt_tcp.c: Likewise.
40800 * sunrpc/clnt_udp.c: Likewise.
40801 * sunrpc/clnt_unix.c: Likewise.
40802 * sunrpc/openchild.c: Likewise.
40803 * sunrpc/svc_simple.c: Likewise.
40804 * sunrpc/svc_tcp.c: Likewise.
40805 * sunrpc/svc_udp.c: Likewise.
40806 * sunrpc/svc_unix.c: Likewise.
40807 * sunrpc/xdr.c: Likewise.
40808 * sunrpc/xdr_array.c: Likewise.
40809 * sunrpc/xdr_rec.c: Likewise.
40810 * sunrpc/xdr_ref.c: Likewise.
40811 * sunrpc/xdr_stdio.c: Likewise.
40813 2011-09-09 Ulrich Drepper <drepper@gmail.com>
40815 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40817 2011-07-03 Andreas Jaeger <aj@suse.de>
40819 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
40820 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
40821 regenerate with gen-libm-tests.pl.
40823 2010-05-12 Petr Baudis <pasky@suse.cz>
40826 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
40827 around j0() zero points by switching to j1().
40828 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40829 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40830 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40831 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40833 2011-09-09 Ulrich Drepper <drepper@gmail.com>
40835 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
40837 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
40839 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40840 Patch in part by Pavel Roskin <proski@gnu.org>.
40843 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
40845 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
40846 Free memory block if necessary.
40849 * libio/genops.c (INTDEF): For string streams the _lock pointer can
40850 be NULL. Don't lock in this case.
40852 2011-09-09 Roland McGrath <roland@hack.frob.com>
40854 * elf/elf.h (ELFOSABI_GNU): New macro.
40855 (ELFOSABI_LINUX): Define to that.
40857 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
40859 * string/strncat.c (strncat): Undef the symbol in case it has been
40860 defined in bits/string.h.
40862 2011-09-09 Ulrich Drepper <drepper@gmail.com>
40864 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
40866 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
40869 2011-08-17 Andreas Jaeger <aj@suse.de>
40871 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
40873 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
40874 Ian Lance Taylor <iant@google.com>
40876 * math/libm-test.inc (lround_test): New testcase.
40877 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
40879 2011-09-08 Ulrich Drepper <drepper@gmail.com>
40881 * Makefile: Remove support for automatic cvs check-ins.
40882 * Makerules: Likewise.
40883 * config.make.in: Likewise.
40884 * configure.in: Likewise.
40885 * intl/Makefile: Likewise.
40886 * locale/Makefile: Likewise.
40887 * po/Makefile: Likewise.
40888 * posix/Makefile: Likewise.
40889 * sysdeps/gnu/Makefile: Likewise.
40890 * sysdeps/mach/hurd/Makefile: Likewise.
40891 * sysdeps/sparc/sparc32/Makefile: Likewise.
40894 * posix/Makefile (bug-regex32-ENV): Define.
40895 Patch by John Stanley <jpsinthemix@verizon.net>.
40897 * misc/Makefile (headers): Add bits/select2.h.
40898 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
40899 * misc/bits/select2.h: New file.
40900 * include/bits/select2.h: New file.
40901 * debug/Makefile (routines): Add fdelt_chk.
40902 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
40903 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
40905 * debug/fdelt_chk.c: New file.
40907 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
40908 * wcsmbs/test-wmemcmp.c: Likewise.
40909 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
40910 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
40912 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40914 * string/Makefile (strop-tests): Add memcmp.
40915 * string/test-wmemcmp.c: New file.
40916 * string/test-memcmp.c: Add wmemcmp support.
40918 2011-09-08 Roland McGrath <roland@hack.frob.com>
40921 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
40924 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
40925 garbage value in a __mach_port_mod_refs call in the cases of the
40926 task-self and thread-self ports.
40928 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
40930 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
40932 2011-09-08 Andreas Schwab <schwab@redhat.com>
40934 * elf/dl-load.c (lose): Check for non-null L.
40936 2011-09-07 Ulrich Drepper <drepper@gmail.com>
40938 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
40940 * elf/dl-libc.c (dlerror_run): Pass back error code from
40944 * elf/dl-load.c (lose): Free l_origin if it is valid.
40946 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
40948 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
40949 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
40950 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
40951 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
40952 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
40953 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
40955 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40957 * sysdeps/powerpc/fpu/e_hypot.c: New file.
40958 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
40959 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
40960 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
40961 * sysdeps/powerpc/fpu/k_cosf.c: New file.
40962 * sysdeps/powerpc/fpu/k_sinf.c: New file.
40963 * sysdeps/powerpc/fpu/s_cosf.c: New file.
40964 * sysdeps/powerpc/fpu/s_sinf.c: New file.
40965 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
40966 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
40968 2011-08-15 Alan Modra <amodra@gmail.com>
40971 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
40972 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
40973 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
40974 ppc_mcount to static-only-routines.
40975 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
40977 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
40978 __mcount_internal with usual JUMPTARGET. Remove useless nop.
40980 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
40982 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
40983 for finite and infinity parameters.
40985 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
40987 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
40988 and add nop instructions for throughput optimization.
40989 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
40991 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
40993 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
40994 aligned copy for power7 with vector-scalar instructions.
40995 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
40997 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
40999 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
41002 2011-09-07 Andreas Schwab <schwab@redhat.com>
41005 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
41008 2011-09-07 Ulrich Drepper <drepper@gmail.com>
41010 * sysdeps/unix/sysv/linux/x86_64/init-first.c
41011 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
41012 syscall wrapper around clock_gettime in __vdso_clock_gettime.
41013 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
41016 2011-09-06 Ulrich Drepper <drepper@gmail.com>
41018 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
41019 Forgot to demangle the pointer.
41021 * sysdeps/i386/sysdep.h: Define atom_text_section.
41022 * sysdeps/x86_64/sysdep.h: Likewise.
41023 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
41024 section with atom_text_section.
41025 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
41026 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
41027 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
41028 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
41029 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
41031 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
41032 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
41033 already be defined. Change to take two parameters and don't assign
41034 result to variable. Adjust all users.
41035 Define INTERNAL_GETTIME if not already defined.
41036 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
41038 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
41039 HAVE_CLOCK_GETTIME_VSYSCALL.
41040 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
41042 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
41043 gettimeofday vsyscall, just use time.
41045 2011-09-06 Andreas Schwab <schwab@redhat.com>
41047 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
41050 2011-09-06 Ulrich Drepper <drepper@gmail.com>
41052 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
41054 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
41056 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
41057 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
41058 syscall if possible.
41060 2011-09-05 Ulrich Drepper <drepper@gmail.com>
41062 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
41063 e_ident. Don't pass to find_mapsXX.
41064 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
41066 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41068 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41069 strchr-sse2-no-bsf strrchr-sse2-no-bsf
41070 * sysdeps/x86_64/multiarch/strchr.S: Update.
41071 Check bit_slow_BSF bit.
41072 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
41073 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
41074 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
41076 2011-09-05 Ulrich Drepper <drepper@gmail.com>
41079 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
41081 (tryshell): Define.
41082 (__spawni): Change last parameter to be flag. Test
41083 SPAWN_XFLAGS_USE_PATH flag to use path or not.
41084 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
41085 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
41086 * posix/spawni.c: Likewise.
41087 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
41088 * posix/spawnp.c: Likewise. Change normal version to use
41089 SPAWN_XFLAGS_USE_PATH.
41090 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
41091 SPAWN_XFLAGS_TRY_SHELL.
41094 * posix/glob.h: Remove gcc 1.x support.
41097 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
41099 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41101 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41102 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
41104 * sysdeps/i386/i686/multiarch/strchr.S: New file.
41105 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
41106 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
41107 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
41108 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
41109 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
41111 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41113 * sysdeps/x86_64/wcscmp.S: New file.
41115 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
41116 wcscmp-c wcscmp-sse2
41117 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
41118 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
41119 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
41120 * wcsmbs/wcscmp.c: Allow renaming.
41122 2011-09-05 David S. Miller <davem@davemloft.net>
41124 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
41125 stack slot, rather than the struct return pointer slot.
41126 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
41127 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
41128 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
41129 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
41131 2011-09-05 Ulrich Drepper <drepper@gmail.com>
41133 * po/ja.po: Update from translation team.
41136 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
41137 kernel in 64-bit binaries.
41139 2011-09-01 David S. Miller <davem@davemloft.net>
41141 * elf/elf.h (HWCAP_SPARC_*): Move to..
41142 * sysdeps/sparc/sysdep.h: this new file and add new values.
41143 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
41144 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
41145 _DL_HWCAP_COUNT to 24.
41146 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
41148 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
41149 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
41150 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
41151 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
41152 instead of magic constants.
41153 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41155 2011-08-31 David S. Miller <davem@davemloft.net>
41157 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
41158 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
41159 Reimplement to do errno handling inline.
41160 (SYSCALL_ERROR_HANDLER): New macro.
41161 (__SYSCALL_STRING): Do not do errno handling in asm.
41162 (__CLONE_SYSCALL_STRING): Delete.
41163 (__INTERNAL_SYSCALL_STRING): Delete.
41164 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
41165 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
41166 (PSEUDO): Reimplement to do errno handling inline.
41167 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
41168 (SYSCALL_ERROR_HANDLER): New macro.
41169 (__SYSCALL_STRING): Do not do errno handling in asm.
41170 (__CLONE_SYSCALL_STRING): Delete.
41171 (__INTERNAL_SYSCALL_STRING): Delete.
41172 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
41173 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
41175 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
41176 (inline_syscall*): Add 'err' argument.
41177 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
41178 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
41179 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
41180 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
41182 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
41183 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
41185 2011-08-30 Andreas Schwab <schwab@redhat.com>
41187 * elf/rtld.c (dl_main): Relocate objects in dependency order.
41189 2011-08-29 Jiri Olsa <jolsa@redhat.com>
41191 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
41194 2011-08-24 David S. Miller <davem@davemloft.net>
41196 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
41198 2011-08-24 Andreas Schwab <schwab@redhat.com>
41200 * elf/Makefile: Add rules to build and run unload8 test.
41201 * elf/unload8.c: New file.
41202 * elf/unload8mod1.c: New file.
41203 * elf/unload8mod1x.c: New file.
41204 * elf/unload8mod2.c: New file.
41205 * elf/unload8mod3.c: New file.
41207 * elf/dl-close.c (_dl_close_worker): Reset private search list if
41210 2011-08-23 David S. Miller <davem@davemloft.net>
41212 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
41213 subtract stack bias.
41214 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
41215 %sp not %fp in calculations.
41216 (_JMPBUF_UNWINDS_ADJ): Likewise.
41218 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
41219 (aio_suspend): Call it to force an exception region around the
41220 AIO_MISC_WAIT() invocation.
41222 2011-08-23 Andreas Schwab <schwab@redhat.com>
41224 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
41227 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
41229 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
41231 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
41232 and <dl-machine.h>.
41233 (Elf64_FuncDesc): Remove.
41235 2011-08-22 David S. Miller <davem@davemloft.net>
41237 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
41238 sigaltstack check, add missing cfi directives.
41239 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
41240 missing cfi directives, and sigaltstack handling.
41242 2011-08-16 Andreas Schwab <schwab@redhat.com>
41245 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
41246 object is seen twice.
41247 * elf/dl-fini.c (_dl_sort_fini): Likewise.
41249 * elf/Makefile (distribute): Add tst-initorder2.c.
41250 (tests): Add tst-initorder2.
41251 (modules-names): Add tst-initorder2a tst-initorder2b
41252 tst-initorder2c tst-initorder2d. Add rules to build them.
41253 ($(objpfx)tst-initorder2.out): New rule.
41254 * elf/tst-initorder2.c: New file.
41255 * elf/tst-initorder2.exp: New file.
41257 2011-08-22 Andreas Schwab <schwab@redhat.com>
41259 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
41261 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
41262 dependencies back to end of function.
41264 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
41265 $(elfobjdir)/ld.so.
41267 2011-08-21 Ulrich Drepper <drepper@gmail.com>
41269 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
41270 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
41271 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
41272 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
41273 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
41274 of __vdso_gettimeofday.
41275 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
41276 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
41278 (_libc_vdso_platform_setup): Remove initialization of
41279 __vdso_gettimeofday and __vdso_time.
41281 2011-08-20 Ulrich Drepper <drepper@gmail.com>
41283 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
41284 and fgetc_unlocked.
41285 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
41288 * elf/dl-open.c (add_to_global): Report additions to the global scope
41289 for LD_DEBUG=scopes.
41290 (dl_open_worker): Also print scope of newly loaded dependencies.
41291 (_dl_show_scope): Indicate if there is no scope.
41294 * stdio-common/Makefile (tests): Add bug24.
41295 * stdio-common/bug24.c: New file.
41297 2011-08-19 Andreas Jaeger <aj@suse.de>
41300 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
41301 non-existant file when using close-on-exec mode.
41303 2011-08-20 Ulrich Drepper <drepper@gmail.com>
41305 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
41306 the very first instruction.
41308 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
41309 the CFI state in the end.
41310 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
41311 inclusion of dl-trampoline.h.
41312 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
41314 2011-08-19 Andreas Schwab <schwab@redhat.com>
41316 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
41317 expectations for long double.
41319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
41320 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
41322 2011-08-14 David S. Miller <davem@davemloft.net>
41324 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
41325 artificual limit depends upon the system page size.
41327 2011-08-17 Ulrich Drepper <drepper@gmail.com>
41329 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
41330 * resolv/Makefile: Define CFLAGS-libresolv.
41332 2011-08-17 Andreas Schwab <schwab@redhat.com>
41334 * nss/makedb.c (compute_tables): Make variables used in nested
41337 2011-08-17 Ulrich Drepper <drepper@gmail.com>
41339 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
41340 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
41341 if buffer was too small.
41343 * elf/pldd.c (main): Attach to all threads in the process.
41344 Rewrite /proc handling to use *at functions.
41346 2011-08-16 Ulrich Drepper <drepper@gmail.com>
41348 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
41349 specifies first scope to show.
41350 (dl_open_worker): Update callers. Move printing scope of new
41351 object to before the relocation.
41352 * elf/rtld.c (dl_main): Update _dl_show_scope call.
41353 * sysdeps/generic/ldsodefs.h: Update declaration.
41355 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
41356 string for the scope number.
41358 2011-08-14 Ulrich Drepper <drepper@gmail.com>
41360 * nscd/servicescache.c (cache_addserv): Make sure written is always
41363 2011-08-14 Roland McGrath <roland@hack.frob.com>
41365 * sysdeps/i386/i486/bits/atomic.h
41366 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
41367 statement expression, so as to suppress "set but not used" warning.
41368 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
41370 * string/strncat.c (STRNCAT): Use prototype definition.
41372 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
41373 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
41375 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
41376 (localedef-modules): Add localedef.
41377 (locale-modules): Add locale.
41379 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
41380 * elf/rtld.c (dl_main): Invert order of assignment in last change,
41381 to avoid a warning.
41383 2011-08-14 David S. Miller <davem@davemloft.net>
41385 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
41386 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
41388 2011-08-13 Ulrich Drepper <drepper@gmail.com>
41390 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
41391 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
41392 * elf/rtld.c (dl_main): Set l_name of vDSO.
41393 Call _dl_show_scope when DL_DEBUG_SCOPES.
41394 (process_dl_debug): Recognize scopes flag and also set it for all.
41395 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
41396 Declare _dl_show_scope.
41398 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
41399 (do_dlopen): Pass caller_dlopen to dl_open.
41400 (__libc_dlopen_mode): Initialize caller_dlopen.
41402 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
41403 of libc. Make tolower call locale-independent. Optimize a bit by
41404 using isdigit instead of isalnum.
41405 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
41407 2011-08-12 Ulrich Drepper <drepper@gmail.com>
41409 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
41410 was a dependency or dynamically loaded.
41412 2011-08-11 Ulrich Drepper <drepper@gmail.com>
41414 * intl/l10nflist.c: Allow architecture-specific pop function.
41415 * sysdeps/x86_64/l10nflist.c: New file.
41417 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
41420 2011-08-10 Andreas Schwab <schwab@redhat.com>
41422 * include/dirent.h: Add libc_hidden_proto for scandirat and
41423 scandirat64. Don't declare __scandirat64.
41424 * dirent/scandirat.c: Add libc_hidden_def.
41425 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
41426 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
41428 2011-08-10 David S. Miller <davem@davemloft.net>
41430 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
41432 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
41433 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
41434 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
41436 2011-08-09 Ulrich Drepper <drepper@gmail.com>
41438 * Versions.def [libc]: Add GLIBC_2.15.
41439 * dirent/Makefile (routines): Add scandirat and scandirat64.
41440 * dirent/Versions [libc]: Export scandirat and scandirat64 for
41442 * dirent/dirent.h: Declare scandirat and scandirat64.
41443 * dirent/scandirat.c: New file.
41444 * dirent/scandirat64.c: New file.
41445 * sysdeps/wordsize-64/scandirat.c: New file.
41446 * sysdeps/wordsize-64/scandirat64.c: New file.
41447 * dirent/opendir.c: Define opendirat.
41448 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
41450 * dirent/scandir64.c: Adjust for scandir.c change.
41451 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
41452 __scandirat64, and __scandir_cancel_handler.
41453 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
41454 additional parameter and use openat instead of open (outside of ld.so).
41455 Add new __opendir as wrapper around __opendirat.
41456 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
41457 here without requiring old scandirat implementation.
41459 2011-08-08 Ulrich Drepper <drepper@gmail.com>
41461 * dirent/scandir.c (cancel_handler): Renamed to
41462 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
41463 defined. Adjust users.
41464 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
41465 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
41467 2011-08-04 Ulrich Drepper <drepper@gmail.com>
41469 * string/test-string.h (IMPL): Use __STRING to expand name and then
41472 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
41475 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41477 * string/Makefile: Update.
41478 (strop-tests): Append strncat.
41479 * string/test-wcscmp.c: New file.
41480 New comprehensive test for wcscmp.
41481 * string/test-strcmp.c: Update.
41482 (WIDE): New define.
41484 2011-07-22 Andreas Schwab <schwab@redhat.com>
41486 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
41489 2011-07-26 Andreas Schwab <schwab@redhat.com>
41491 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
41492 encoding to ACE if AI_IDN.
41494 2011-08-01 Jakub Jelinek <jakub@redhat.com>
41496 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
41497 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
41499 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41501 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
41502 Fix overflow bug in strncat.
41503 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
41505 * string/test-strncat.c: Update.
41506 Add new tests for checking overflow bugs.
41508 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41510 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41511 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
41512 * sysdeps/i386/i686/multiarch/strcat.S: New file.
41513 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
41514 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
41515 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
41516 * sysdeps/i386/i686/multiarch/strncat.S: New file.
41517 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
41518 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
41520 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
41521 (USE_AS_STRCAT): Define.
41522 Add strcat and strncat support.
41523 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
41525 2011-07-25 Andreas Schwab <schwab@redhat.com>
41527 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
41528 __n bigger than INT_MAX+1.
41529 (__strncmp_g): Likewise.
41531 2011-07-23 Ulrich Drepper <drepper@gmail.com>
41533 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
41534 * libio/stido.h: Likewise.
41536 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
41538 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
41541 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
41542 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
41543 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
41544 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
41545 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
41548 * scripts/test-installation.pl: Don't expect libnss_test1 to be
41551 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
41553 (_dl_x86_64_save_sse): Likewise.
41555 2011-07-22 Ulrich Drepper <drepper@gmail.com>
41557 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
41559 (_dl_x86_64_save_sse): Likewise.
41561 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
41563 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
41565 2011-07-21 Andreas Schwab <schwab@redhat.com>
41567 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
41569 (_dl_x86_64_save_sse): Use correct AVX check.
41571 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41573 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
41574 bug in strncpy/strncat.
41575 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
41577 2011-07-21 Ulrich Drepper <drepper@gmail.com>
41579 * string/tester.c (test_strcat): Add tests for different alignments
41580 of source and destination.
41581 (test_strncat): Likewise.
41583 2011-07-20 Ulrich Drepper <drepper@gmail.com>
41586 * posix/glob.c (glob): Check passed in values before using them in
41587 expressions to avoid some overflows.
41588 (glob_in_dir): Likewise.
41591 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
41592 check for AVX enablement so that we don't crash with old kernels and
41594 * elf/tst-audit4.c: Add same checks here.
41595 * elf/tst-audit6.c: Likewise.
41597 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
41599 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
41601 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
41603 2011-07-20 Ulrich Drepper <drepper@gmail.com>
41605 * po/cs.po: Update from translation team.
41606 * po/bg.po: Likewise.
41608 2011-07-12 Marek Polacek <mpolacek@redhat.com>
41610 * misc/sys/cdefs.h: Add support for const attribute.
41611 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
41612 to gnu_dev_{major,minor,makedev} functions.
41614 2011-07-20 Marek Polacek <mpolacek@redhat.com>
41616 * intl/dcigettext.c (get_output_charset): Add missing bracket.
41618 2011-07-20 Andreas Schwab <schwab@redhat.com>
41620 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
41623 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41625 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
41626 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
41627 register in order to avoid conflicts with the soft frame pointer
41628 being held in r11 when necessary.
41629 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
41630 (INTERNAL_VSYSCALL_NCS): Likewise.
41632 2011-07-14 Marek Polacek <mpolacek@redhat.com>
41634 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
41635 * elf/dl-fini.c (_dl_fini): Adjust caller.
41636 * elf/dl-close.c (_dl_close_worker): Likewise.
41637 * sysdeps/generic/ldsodefs.h: Adjust declaration.
41639 2011-07-15 Marek Polacek <mpolacek@redhat.com>
41641 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
41642 "aux_cache->nlibs < 0".
41644 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
41645 in the reload-count case.
41647 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41649 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41650 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
41651 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
41652 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
41653 * sysdeps/x86_64/multiarch/strcat.S: New file.
41654 * sysdeps/x86_64/multiarch/strncat.S: New file.
41655 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
41656 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
41657 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
41658 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
41659 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
41660 (USE_AS_STRCAT): Define.
41661 Add strcat and strncat support.
41662 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
41663 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
41664 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
41665 * string/strncat.c: Update.
41666 (USE_AS_STRNCAT): Define.
41667 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41668 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
41670 * sysdeps/x86_64/multiarch/init-arch.h
41671 (bit_Prefer_PMINUB_for_stringop): New.
41672 (index_Prefer_PMINUB_for_stringop): Likewise.
41673 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
41674 bit_Prefer_PMINUB_for_stringop.
41676 2011-07-19 Ulrich Drepper <drepper@gmail.com>
41678 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
41680 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
41681 of casting of buffer.
41682 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
41683 buffer32 and buffer64.
41684 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
41685 writes instead of casting of buffer.
41686 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
41688 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
41691 2011-07-19 Andreas Schwab <schwab@redhat.com>
41693 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
41695 2011-07-19 Ulrich Drepper <drepper@gmail.com>
41697 * nscd/nscd.c (termination_handler): Don't do anything for a database
41698 if it has not yet been initialized.
41700 2011-07-18 Ulrich Drepper <drepper@gmail.com>
41702 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
41704 2011-07-15 Marek Polacek <mpolacek@redhat.com>
41706 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
41708 2011-07-18 Ulrich Drepper <drepper@gmail.com>
41710 * po/nl.po: Update from translation team.
41711 * po/sv.po: Likewise.
41713 2011-07-16 Roland McGrath <roland@hack.frob.com>
41715 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
41716 now disallowed by GCC.
41718 * configure.in (use-default-link): Default to yes if a test -shared
41719 link meets our qualifications.
41720 * configure: Regenerated.
41722 * config.make.in (output-format): New variable.
41723 * configure.in: Check for ld --print-output-format support.
41724 * configure: Regenerated.
41725 * Makerules ($(common-objpfx)format.lds)
41726 [$(output-format) != unknown]: Just use $(output-format),
41727 instead of the linker-script munging.
41729 2011-07-14 Roland McGrath <roland@hack.frob.com>
41731 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
41732 of $(common-objpfx)shlib.lds.
41733 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
41735 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
41736 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
41738 * configure.in (-z relro check): Adjust test code to add a large
41739 writable data section after it.
41740 * configure: Regenerated.
41742 2011-07-11 Roland McGrath <roland@hack.frob.com>
41744 * configure.in (-z relro check): Fix test code to make the variable
41746 * configure: Regenerated.
41748 2011-07-11 Ulrich Drepper <drepper@gmail.com>
41750 * nscd/nscd.h (struct traced_file): Define.
41751 (struct database_dyn): Remove inotify_descr, reset_res, and filename
41752 elements. Add traced_files.
41753 (inotify_fd): Declare.
41754 (register_traced_file): Declare.
41755 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
41756 (inotify_fd): Export.
41757 (resolv_conf_descr): Remove.
41758 (nscd_init): Move inotify descriptor creation to main.
41759 Don't register files for notification here.
41760 (register_traced_file): New function.
41761 (invalidate_cache): Don't use reset_res to determine whether to call
41762 res_init, go through the list of registered files.
41763 (main_loop_poll): The inotify descriptors are now stored in the
41764 structures for the traced files.
41765 (main_loop_epoll): Likewise
41766 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
41767 to __nss_disable_nscd.
41768 * nscd/cache.c (prune_cache): There is no single inotify descriptor
41769 for a database anymore. Check the records for all the registered
41771 * nss/Makefile (libnss_files-routines): Add files-init.
41772 (libnss_db-routines): Add db-init.
41773 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
41774 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
41775 * nss/nss_db/db-init.c: New file.
41776 * nss/nss_files/files-init.c: New file.
41777 * nss/nsswitch.c (nss_load_library): New function. Broken out of
41778 __nss_lookup_function.
41779 (__nss_lookup_function): Call nss_load_library.
41780 (nss_load_all_libraries): New function.
41781 (__nss_disable_nscd): Take parameter with callback function for files
41782 to register. Set is_nscd. Load all the DSOs for the NSS modules
41783 used for the cached services.
41784 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
41785 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
41786 options for features to all the files in nscd.
41788 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
41790 2011-07-10 Roland McGrath <roland@hack.frob.com>
41792 * csu/elf-init.c (__libc_csu_init): Comment typo.
41794 2011-07-09 Ulrich Drepper <drepper@gmail.com>
41796 * po/pl.po: Update from translation team.
41797 * po/ja.po: Likewise.
41798 * po/ru.po: Likewise.
41799 * po/ko.po: Likewise.
41800 * po/fr.po: Likewise.
41802 2011-07-09 Roland McGrath <roland@hack.frob.com>
41804 * configure.in (.ctors/.dtors header and trailer check):
41805 Use an empirical test on a built program.
41806 * configure: Regenerated.
41808 * configure.in (-z relro check): Use an empirical test on a built DSO.
41809 Detect, but do not require, on ia64.
41810 * configure: Regenerated.
41812 * configure.in (READELF): Find it with AC_CHECK_TOOL.
41813 Update tests that use readelf to use $READELF instead.
41814 * configure: Regenerated.
41816 2011-07-08 Ulrich Drepper <drepper@gmail.com>
41818 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
41819 if the result is not used.
41821 2011-07-05 Andreas Jaeger <aj@suse.de>
41824 * stdlib/tst-strtod.c: Add testcase.
41826 2011-07-07 Ulrich Drepper <drepper@gmail.com>
41828 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
41829 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
41830 The latter has a higher limit. Take additional parameter to pass to
41832 (__pathconf): Pass file to __statfs_link_max.
41833 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
41835 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
41839 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
41840 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
41842 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
41843 (__statfs_filesize_max): Likewise.
41844 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
41846 2011-07-05 Andreas Jaeger <aj@suse.de>
41848 * resolv/res_comp.c (dn_skipname): Remove unused variable.
41850 2011-07-06 Marek Polacek <mpolacek@redhat.com>
41852 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
41854 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
41857 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
41859 * Makefile (strop-tests): Add strncat.
41860 * string/test-strncat.c: New file.
41862 2011-06-30 Marek Polacek <mpolacek@redhat.com>
41864 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
41866 2011-06-21 Andreas Jaeger <aj@suse.de>
41868 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
41869 Copy rule from iconvdata/Makefile.
41871 2011-07-06 Ulrich Drepper <drepper@gmail.com>
41874 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
41875 but no long options are defined, just return 'W'.
41877 2011-06-22 Marek Polacek <mpolacek@redhat.com>
41880 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
41882 2011-07-06 Ulrich Drepper <drepper@gmail.com>
41884 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
41886 (innetgr): Likewise.
41888 2011-07-05 Roland McGrath <roland@hack.frob.com>
41890 * config.make.in (install_root): Default to $(DESTDIR).
41892 2011-07-05 Ulrich Drepper <drepper@gmail.com>
41894 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
41896 2011-07-02 Roland McGrath <roland@hack.frob.com>
41898 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
41900 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
41901 containing directory rather than embedding absolute directory names.
41903 * scripts/check-local-headers.sh: Rewritten using awk.
41904 Match by word, not by line. Print error messages for matches.
41905 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
41907 * Makerules [shlib-lds-flags empty]:
41908 ($(common-objpfx)libc_pic.opts): New target.
41909 ($(common-objpfx)libc_pic.os.clean): New target.
41910 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
41912 * config.make.in (OBJCOPY): New variable.
41913 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
41914 * configure: Regenerated.
41916 * config.make.in (use-default-link): New variable.
41917 * configure.in (use_default_link): Grok --with-default-link to set it.
41918 * configure: Regenerated.
41919 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
41920 (shlib-lds, shlib-lds-flags): Define to empty.
41922 * Makerules (shlib-lds): New variable.
41923 (shlib-lds-flags): New variable.
41924 (build-shlib, build-moduile, build-module-asneeded): Use it.
41925 ($(common-objpfx)libc.so): Use $(shlib-lds).
41926 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
41927 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
41929 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
41930 DT_FLAGS/DT_FLAGS_1 with zero flags.
41932 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
41933 linker script munging.
41935 2011-07-02 Ulrich Drepper <drepper@gmail.com>
41937 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
41939 * crypt/sha512.c (sha512_process_block): Perform total addition using
41940 128-bit if possible.
41941 (__sha512_finish_ctx): Likewise.
41942 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
41944 * crypt/sha256.c (SWAP64): Define.
41945 (sha256_process_block): Perform total addition using 64-bit if
41947 (__sha256_finish_ctx): Likewise.
41949 2011-07-01 Ulrich Drepper <drepper@gmail.com>
41951 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
41952 * nscd/initgrcache.c (addinitgroupsX): Likewise.
41953 * nscd/hstcache.c (cache_addhst): Likewise.
41954 * nscd/grpcache.c (cache_addgr): Likewise.
41955 * nscd/aicache.c (addhstaiX): Likewise
41956 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
41958 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
41960 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
41961 * nscd/initgrcache.c (addinitgroupsX): Likewise.
41962 * nscd/hstcache.c (cache_addhst): Likewise.
41963 * nscd/grpcache.c (cache_addgr): Likewise.
41964 * nscd/aicache.c (addhstaiX): Likewise
41966 2011-07-01 Andreas Schwab <schwab@redhat.com>
41968 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
41969 domain only when needed.
41971 2011-06-30 Andreas Schwab <schwab@redhat.com>
41973 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
41974 is always restored.
41976 2011-06-29 Ulrich Drepper <drepper@gmail.com>
41978 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
41979 are re-adding the entry.
41980 * nscd/servicescache.c (cache_addserv): Likewise.
41982 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
41984 * sysdeps/generic/dl-irel.h: fix protection against multiple
41986 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
41988 2011-06-28 Ulrich Drepper <drepper@gmail.com>
41991 * malloc/memusage.sh: Fix quoting in message.
41992 * debug/xtrace.sh: Likewise.
41994 * configure.in: Remove support for --experimental-malloc option, make
41996 * config.make.in: Likewise.
41997 * malloc/Makefile: Likewise.
41999 2011-06-27 Andreas Schwab <schwab@redhat.com>
42001 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
42002 two-byte characters.
42004 2011-06-27 Roland McGrath <roland@hack.frob.com>
42006 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
42007 AC_CACHE_CHECK invocation.
42008 * configure: Regenerated.
42010 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
42012 2011-06-27 Ulrich Drepper <drepper@gmail.com>
42015 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
42016 bit from old_res_options.
42018 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
42020 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
42021 value type for setfct.
42023 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
42025 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
42026 __gettimeofday instead of gettimeofday.
42028 2011-06-26 Ulrich Drepper <drepper@gmail.com>
42030 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
42032 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
42034 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
42036 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
42039 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
42041 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42042 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
42043 strcpy-sse2-unaligned strncpy-sse2-unaligned
42044 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
42045 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
42046 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
42047 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
42048 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
42049 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
42050 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
42051 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
42052 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
42053 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
42054 (STRCPY): Support SSE2 and SSSE3 versions.
42056 2011-06-24 Ulrich Drepper <drepper@gmail.com>
42059 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
42060 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
42061 kernels which artificially limit size of requests.
42063 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
42065 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42066 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
42067 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
42068 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
42069 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
42070 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
42071 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
42072 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
42073 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
42074 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
42075 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
42076 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
42077 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
42078 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
42079 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
42080 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42081 Enable unaligned load optimization for Intel Core i3, i5 and i7
42083 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
42085 (index_Fast_Unaligned_Load): Define.
42086 (HAS_FAST_UNALIGNED_LOAD): Define.
42088 2011-06-23 Marek Polacek <mpolacek@redhat.com>
42090 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
42092 2011-06-22 Ulrich Drepper <drepper@gmail.com>
42095 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
42096 until it is clear that the information is realy needed.
42097 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
42099 2011-06-22 Andreas Schwab <schwab@redhat.com>
42101 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
42103 2011-06-22 Ulrich Drepper <drepper@gmail.com>
42105 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
42106 /sys/devices/system/cpu/online if it is usable.
42108 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
42109 reading the information from the /proc filesystem to once a second.
42111 2011-06-21 Andreas Jaeger <aj@suse.de>
42113 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
42114 NULL after inclusion of kernel headers.
42116 2011-06-21 Ulrich Drepper <drepper@gmail.com>
42118 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
42119 calls to internal_setent.
42122 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
42123 addresses using gethostbyname4_r ignore IPv4 addresses.
42125 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
42126 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
42128 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
42130 2011-06-20 David S. Miller <davem@davemloft.net>
42132 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
42134 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
42136 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
42137 (elf_irel): Use it.
42138 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
42139 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
42140 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
42141 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
42142 * sysdeps/x86_64/dl-irel.h: Likewise.
42144 * elf/dl-runtime.c: Use elf_ifunc_invoke.
42145 * elf/dl-sym.c: Likewise.
42147 2011-06-15 Ulrich Drepper <drepper@gmail.com>
42149 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
42150 need to dereference resplen2.
42152 2011-06-14 Andreas Schwab <schwab@redhat.com>
42154 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
42156 2011-06-15 Ulrich Drepper <drepper@gmail.com>
42158 * Makeconfig: Define vardbdir and inst_vardbdir.
42159 * nss/Makefile: Add rules to install db-Makefile.
42161 * nss/nss_db/db-XXX.c: Cleanup.
42163 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
42164 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
42166 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
42167 * nss/makedb.c: Implement -g option to specify that value strings
42168 are generated and should not be added to table iterated over for
42170 * nss/nss_db/db-initgroups.c: New file.
42172 * nss/getent.c: Add support for initgroups lookups through getgrouplist
42175 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
42176 (internal_getgrouplist): Adjust to name change.
42177 Update use_initgroups_entry if this is not the first call.
42178 * nss/databases.def: Add initgroups entry.
42180 * nss/makedb.c (compute_tables): Check result of multiple hash table
42181 sizes to minimize maximum chain length.
42183 2011-06-14 Ulrich Drepper <drepper@gmail.com>
42185 * Versions.def: Add entry for libnss_db.
42186 * shlib-versions: Likewise.
42187 * nss/Makefile: Add rules to build libnss_db.
42188 * nss/Versions: Add libnss_db information. Organize libnss_files
42190 * nss/db-Makefile: Add gshadow support. Change rules for the new
42191 makedb progra. Some minor improvements to generate smaller files.
42192 * nss/nss_db/nss_db.h: Move NSS database header data structures to
42194 * nss/makedb.c: ...here.
42195 Improve database format to be smaller and require less memory at
42197 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
42199 * nss/nss_db/db-netgrp.c: Likewise.
42200 * nss/nss_db/db-open.c: Likewise.
42201 * nss/nss_files/flies-XXX.x: Adjust comments.
42202 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
42203 * nss/nss_files/files-grp.c: Likewise.
42204 * nss/nss_files/files-hosts.c: Likewise.
42205 * nss/nss_files/files-network.c: Likewise.
42206 * nss/nss_files/files-proto.c: Likewise.
42207 * nss/nss_files/files-pwd.c: Likewise.
42208 * nss/nss_files/files-rpc.c: Likewise.
42209 * nss/nss_files/files-service.c: Likewise.
42210 * nss/nss_files/files-sgrp.c: Likewise.
42211 * nss/nss_files/files-spwd.c: Likewise.
42212 * nss/nss_db/db-alias.c: Removed.
42213 * nss/nss_db/dummy-db.h: Removed.
42215 2011-06-02 Ulrich Drepper <drepper@gmail.com>
42217 * nss/makedb.c: Rewritten to not use database library.
42218 * nss/Makefile: Update to build new makedb program.
42220 2011-06-14 Andreas Jaeger <aj@suse.de>
42222 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
42223 memset declaration.
42225 2011-06-10 Andreas Schwab <schwab@redhat.com>
42227 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
42230 2011-06-10 Roland McGrath <roland@hack.frob.com>
42232 * Makerules (shlib.lds): Fail if the linker script comes out empty.
42233 * elf/Makefile ($(objpfx)ld.so): Likewise.
42235 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
42236 Don't list ld.so twice in dependencies.
42238 * posix/bug-regex31.c: Include <stdlib.h>.
42240 * nscd/hstcache.c (cache_addhst): Remove unused variable.
42242 * nis/nss_compat/compat-spwd.c
42243 (getspent_next_nss_netgr): Remove unused variable.
42244 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
42246 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
42247 nonmembers" output to use the right array.
42249 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
42251 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
42253 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
42254 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
42255 * catgets/gencat.c (read_input_file): Likewise.
42256 * locale/programs/locarchive.c (enlarge_archive): Likewise.
42258 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
42259 variable definition inside #if's controlling its use.
42261 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
42263 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
42265 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
42267 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
42270 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
42272 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
42273 * configure: Regenerated.
42275 * Makerules: Revert last change.
42276 * elf/Makefile: Likewise.
42278 2011-06-09 Roland McGrath <roland@hack.frob.com>
42280 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
42281 * elf/Makefile ($(objpfx)librtld.os): Likewise.
42282 (reloc-link): Likewise.
42284 2011-06-09 Ulrich Drepper <drepper@gmail.com>
42286 * elf/Makefile: Add rules to build pldd.
42287 * elf/pldd.c: New file.
42288 * elf/pldd-xx.c: New file.
42290 2011-06-07 Ulrich Drepper <drepper@gmail.com>
42292 * version.h: Update for 2.15 development version.
42294 2011-06-07 David S. Miller <davem@davemloft.net>
42296 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
42298 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
42299 elf_machine_lazy_rel): Likewise.
42300 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
42301 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
42302 elf_machine_lazy_rel): Likewise.
42303 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
42304 dl_hwcap via passed in argument.
42305 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
42308 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42310 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
42312 2011-06-06 Roland McGrath <roland@hack.frob.com>
42315 * manual/fdl-1.1.texi: New file, verbatim from:
42316 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
42317 * manual/lgpl-2.1.texi: New file, verbatim from:
42318 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
42319 * manual/Makefile (licenses): New variable, list those new file names.
42321 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
42323 * manual/fdl.texi: File removed.
42324 * manual/lesser.texi: File removed.
42325 * manual/libc.texinfo (Copying, Documentation License):
42326 Use new @include file names, put @appendix directive before @include.
42328 2011-06-04 Jakub Jelinek <jakub@redhat.com>
42331 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
42332 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
42333 (mq_open): Add __NTH.
42335 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
42337 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42338 Assume Intel Core i3/i5/i7 processor if AVX is available.
42340 2011-05-31 Ulrich Drepper <drepper@gmail.com>
42342 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
42345 2011-05-31 Andreas Schwab <schwab@redhat.com>
42347 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
42348 memory. Use alloca_account. Fix memory leak when retrying.
42350 2011-05-31 Ulrich Drepper <drepper@gmail.com>
42352 * version.h (RELEASE): Bump for 2.14 release.
42353 * include/features.h (__GLIBC_MINOR__): Bump to 14.
42355 * config.make.in (RANLIB): Remove entry.
42357 2011-05-30 Ulrich Drepper <drepper@gmail.com>
42359 * po/Makefile (po-sed-cmd): Add ksh to extensions.
42360 (libc.pot): Work around missing support for .ksh extension in xgettext.
42363 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
42364 if both request failed.
42365 (send_dg): In case of server errors clear resplen or *resplen2.
42368 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
42369 when there are multiple maps.
42370 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
42371 (_dl_fini): Remove test here.
42373 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
42375 2011-05-29 Ulrich Drepper <drepper@gmail.com>
42378 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
42379 bit from old_res_options.
42380 (gaih_inet): Likewise.
42383 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
42386 * resolv/res_init.c (res_setoptions): Make the code more compact.
42389 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
42393 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
42395 * malloc/malloc.h: Mark malloc hook variables as deprecated.
42398 * malloc/malloc.h: Declare malloc hook variables as volatile.
42400 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
42404 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
42405 raise in the comment.
42406 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
42407 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
42408 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
42410 2011-05-28 Ulrich Drepper <drepper@gmail.com>
42413 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
42414 grow the buffers more if it already has to be sufficient.
42415 (build_wcs_upper_buffer): Likewise.
42416 * posix/regexec.c (check_matching): Likewise.
42417 (clean_state_log_if_needed): Likewise.
42418 (extend_buffers): Don't enlarge buffers beyond size of the input
42420 Patches mostly by Emil Wojak <emil@wojak.eu>.
42421 * posix/bug-regex32.c: New file.
42422 * posix/Makefile (tests): Add bug-regex32.
42424 * locale/findlocale.c (_nl_find_locale): Return right away if
42425 _nl_explode_name failed.
42426 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
42428 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
42430 * debug/xtrace.sh: Unify messages.
42431 * malloc/memusage.sh: Likewise.
42434 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
42435 time symbol from vDSO. Substitute with vsyscall if not available.
42436 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
42439 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
42440 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
42441 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
42442 Add sendmmsg and internal_sendmmsg.
42443 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
42444 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
42445 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
42447 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
42448 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
42449 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
42451 2011-05-27 Ulrich Drepper <drepper@gmail.com>
42454 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
42455 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
42457 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
42461 * iconvdata/Makefile (tests): Add bug-iconv9.
42462 * iconvdata/bug-iconv9.c: New file.
42464 2011-05-27 Andreas Schwab <schwab@redhat.com>
42467 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
42469 2011-05-25 Jakub Jelinek <jakub@redhat.com>
42471 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
42472 (struct user_regs_struct): Change intcs field back to cs.
42474 2011-05-25 Ulrich Drepper <drepper@gmail.com>
42476 * po/ja.po: Update from translation team.
42478 2011-05-23 Ulrich Drepper <drepper@gmail.com>
42481 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
42482 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
42484 2011-05-20 Andreas Schwab <schwab@redhat.com>
42486 * stdlib/longlong.h: Update from GCC.
42488 2011-05-23 Andreas Schwab <schwab@redhat.com>
42490 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
42492 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
42493 Add parameter name.
42494 (__sysconf): Pass it down.
42496 2011-05-22 Ulrich Drepper <drepper@gmail.com>
42499 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
42501 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
42502 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
42503 add in in __libc_use_alloca calls. Adjust callers.
42504 (glob): Use malloc in some situations.
42506 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
42507 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
42510 2011-05-21 Ulrich Drepper <drepper@gmail.com>
42512 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
42513 and CLOCK_BOOTTIME_ALARM.
42516 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
42519 * string/_strerror.c (__strerror_r): Print negative errors as signed
42523 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
42524 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
42525 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
42527 * configure.in: Fix typo in redirection and correct removal of test
42528 files in two cases.
42531 * locale/setlocale.c (new_composite_name): Fix test to check for
42532 identical name of all categories.
42535 * libio/filedoalloc.c (local_isatty): New function.
42536 (_IO_file_doallocate): Use local_isatty.
42537 * stdio-common/perror.c (perror): In case a new stream is used
42538 forward the stream error.
42539 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
42542 2011-05-20 Ulrich Drepper <drepper@gmail.com>
42545 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
42547 * include/alloca.h (extend_alloca_account): Define.
42550 * posix/regex.h: Fix comments with documentation of user-accessible
42551 fields after compilation and describe correct free'ing of pattern
42552 after re_compile_pattern.
42553 Patch by Reuben Thomas <rrt@sc3d.org>.
42555 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
42557 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
42558 and -mno-altivec to prevent the compiler from using Altivec and/or
42559 VSX instructions when the corresponding registers are not available.
42561 2011-05-19 Andreas Schwab <schwab@redhat.com>
42563 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
42565 2011-05-19 Ulrich Drepper <drepper@gmail.com>
42567 * libio/freopen.c (freopen): Use __dup2, not dup2.
42568 * libio/freopen64.c (freopen64): Likewise.
42570 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
42573 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
42574 * math/Makefile (tests): Add test-powl.
42575 (CFLAGS-test-powl.c): Define.
42576 * math/test-powl.c: New file.
42578 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
42580 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
42582 2011-05-17 Ulrich Drepper <drepper@gmail.com>
42585 * iconvdata/gb18030.c: Update to GB18020-2005.
42587 2011-05-16 Ulrich Drepper <drepper@gmail.com>
42589 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
42590 RE_SYNTAX_POSIX_AWK): Update to match recent development.
42591 Patch by Aharon Robbins <arnold@skeeve.com>.
42594 * stdlib/putenv.c (putenv): Don't always create copy of the variable
42598 * misc/pselect.c (__pselect): Handle timeout value errors hidden
42599 through underflows.
42602 * misc/error.c (error_at_line): Ensure file_name and old_file_name
42603 point to strings before performing equality test for error_one_per_line
42607 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
42610 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
42611 (struct user_fpregs_struct): Avoid __uint*_t types.
42614 * malloc/mtrace.c (tr_where): Add additional parameter to point to
42615 symbol info. Use it instead of calling _dl_addr locally.
42616 (lock_and_info): New function.
42617 (tr_freehook): Call lock_and_info and pass symbol info as additional
42618 parameter to tr_where.
42619 (tr_mallochook): Likewise.
42620 (tr_reallochook): Likewise.
42621 (tr_memalignhook): Likewise.
42623 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
42624 used and couldn't be at all thread-safe.
42626 2011-05-15 Ulrich Drepper <drepper@gmail.com>
42628 * libio/freopen.c (freopen): Don't close old file descriptor
42629 before the new one is opened. Instead dup the new file descriptor
42630 to the old one after the new stream is created.
42631 * libio/freopen64.c (freopen64): Likewise.
42632 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
42633 * libio/fileops.c (_IO_new_file_close_it): Handle new
42634 _IO_FLAGS2_NOCLOSE flag.
42635 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
42636 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
42637 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
42638 _IO_FLAGS2_NOCLOSE flag.
42639 * include/unistd.h: Add hidden_proto for dup3.
42640 Define __have_dup3.
42641 * io/dup3.c: Define hidden symbol.
42642 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
42645 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
42646 when an incomplete long option is used.
42647 * posix/tst-getopt_long1.c: New file.
42648 * posix/Makefile (tests): Add tst-getopt_long1.
42651 * scripts/config.guess: Update from autoconf-2.68.
42652 * scripts/config.sub: Likewise.
42655 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
42657 (has_cpuclock): ...this. New function.
42658 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
42659 macro here based on has_cpuclock code.
42662 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42663 First byte (not low byte) is now always NUL.
42664 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
42666 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42667 Use non-cancelable interfaces.
42670 * locale/iso-639.def: Add entry for Sorani.
42673 * include/stdlib.h: Move include protection to the right place.
42674 Define abort_msg_s. Declare __abort_msg with it.
42675 * stdlib/abort.c (__abort_msg): Adjust type.
42676 * assert/assert.c (__assert_fail_base): New function. Majority
42677 of code from __assert_fail. Allocate memory for __abort_msg with
42679 (__assert_fail): Now call __assert_fail_base.
42680 * assert/assert-perr.c: Remove bulk of implementation. Use
42681 __assert_fail_base.
42682 * include/assert.hL Declare __assert_fail_base.
42683 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
42685 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
42687 2011-05-14 Ulrich Drepper <drepper@gmail.com>
42691 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
42692 until all modules are registered in the DTV.
42693 * elf/Makefile: Add rules to build and run tst-tls19.
42694 * elf/tst-tls19.c: New file.
42695 * elf/tst-tls19mod1.c: New file.
42696 * elf/tst-tls19mod2.c: New file.
42697 * elf/tst-tls19mod3.c: New file.
42698 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
42701 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
42705 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
42706 two-byte sequence errors.
42707 * iconvdata/Makefile (tests): Add bug-iconv8.
42708 * iconvdata/bug-iconv8.c: New file.
42711 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
42714 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
42717 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
42718 (dummy_getcfa): New function.
42719 (init): Get _Unwind_GetCFA address, use dummy if not found.
42720 (backtrace_helper): In recursion check, also check whether CFA changes.
42721 (__backtrace): Completely initialize arg.
42723 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
42724 storing incomplete byte sequence in state object. Avoid testing for
42725 guaranteed too small input if we know there is enough data available.
42727 2011-05-11 Andreas Schwab <schwab@redhat.com>
42729 * Makeconfig (+link-pie): Indent.
42730 * Rules (binaries-pie): Define if $(have-fpie) and
42732 (binaries-shared): Also filter out $(binaries-pie).
42733 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
42734 * nscd/Makefile (others-pie): Add nscd.
42735 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
42736 ($(objpfx)nscd): Remove command override.
42737 * login/Makefile (others-pie): Add pt_chown.
42738 ($(objpfx)pt_chown): Remove command override.
42739 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
42740 remove command overrides.
42742 2011-05-13 Ulrich Drepper <drepper@gmail.com>
42744 * libio/tst_putwc.c: Fix error messages.
42747 * libio/fileops.c (_IO_new_file_close_it): Always flush when
42748 currently writing and seek to current position when not.
42749 * libio/Makefile (tests): Add bug-fclose1.
42750 * libio/bug-fclose1.c: New file.
42752 2011-05-12 Ulrich Drepper <drepper@gmail.com>
42755 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
42756 don't set DF_1_NODELETE here.
42757 (do_lookup_x): When entering new entry test for copy relocation
42758 and if necessary set DF_1_NODELETE flag.
42759 * elf/tst-unique4.cc: New file.
42760 * elf/tst-unique4.h: New file.
42761 * elf/tst-unique4lib.cc: New file.
42762 * elf/Makefile: Add rules to build and run tst-unique4.
42763 Patch by Piotr Bury <pbury@goahead.com>.
42765 2011-05-11 Ulrich Drepper <drepper@gmail.com>
42768 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
42771 * misc/mntent_r.c (addmntent): Flush the stream after the output
42774 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
42775 (is_trusted_path_normalize): Skip initial colon. Append slash
42776 to empty buffer. Duplicate is_trusted_path code but allow
42777 constructed patch to be prefix.
42778 (is_dst): Allow $ORIGIN followed by /.
42779 (_dl_dst_substitute): Correct clearing of check_for_trusted.
42780 Correct testing of result of is_trusted_path_normalize
42781 (decompose_rpath): Fix warning.
42783 2011-05-10 Ulrich Drepper <drepper@gmail.com>
42786 * grp/initgroups.c (internal_getgrouplist): When we found the service
42787 list through the initgroups entry in nsswitch.conf do not always
42788 continue on a successful lookup. Don't always use the
42789 __nss_group_database value if it is set.
42790 * nss/nsswitch.conf (initgroups): Change action for successful db
42791 lookup to continue for compatibility.
42793 2011-05-09 Ulrich Drepper <drepper@gmail.com>
42796 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
42798 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
42800 * iconvdata/tst-tables.sh: Likewise.
42801 * iconvdata/cp770.c: New file.
42802 * iconvdata/cp771.c: New file.
42803 * iconvdata/cp772.c: New file.
42804 * iconvdata/cp773.c: New file.
42805 * iconvdata/cp774.c: New file.
42806 * iconvdata/testdata/CP770: New file.
42807 * iconvdata/testdata/CP770..UTF8: New file.
42808 * iconvdata/testdata/CP771: New file.
42809 * iconvdata/testdata/CP771..UTF8: New file.
42810 * iconvdata/testdata/CP772: New file.
42811 * iconvdata/testdata/CP772..UTF8: New file.
42812 * iconvdata/testdata/CP773: New file.
42813 * iconvdata/testdata/CP773..UTF8: New file.
42814 * iconvdata/testdata/CP774: New file.
42815 * iconvdata/testdata/CP774..UTF8: New file.
42817 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
42819 * iconvdata/gen-8bit-gap.sh: Likewise.
42820 * iconvdata/gen-8bit.sh: Likewise.
42822 * locale/iso-639.def: Add ary entry.
42825 * locale/C-translit.h.in: Add U20A1 transliteration.
42828 * locale/iso-639.def: Add wae entry.
42829 Patch by Kevin Bortis <bortis@translate-wae.ch>.
42832 * locale/programs/localedef.c (construct_output_path): Use ssize_t
42836 * locale/C-translit.h.in: Add entry for U20B9.
42837 Patch by pravin.d.s@gmail.com.
42839 2011-05-08 Ulrich Drepper <drepper@gmail.com>
42842 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
42843 ENAMETOOLONG use generic getcwd.
42844 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
42845 in rtld. Use *stat64.
42846 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
42847 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
42848 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
42849 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
42850 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
42851 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
42852 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
42853 __fstatat64 macros.
42854 * include/dirent.h: Add libc_hidden_proto for rewinddir.
42855 * dirent/rewinddir.c: Add libc_hidden_def.
42856 * sysdeps/mach/hurd/rewinddir.c: Likewise.
42857 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
42859 * include/dirent.h (__alloc_dir): Add flags parameter.
42860 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
42861 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
42863 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
42864 from fdopendir if O_CLOEXEC is already set.
42866 2011-03-15 Alan Modra <amodra@gmail.com>
42868 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
42869 l_tls_firstbyte_offset non-zero. Save padding offset in
42870 l_tls_firstbyte_offset for later use.
42871 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
42872 freeing static tls block.
42874 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
42876 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
42877 where #ifdef was intended. The intent is to prevent ARG_MAX from
42878 being defined by the kernel headers.
42880 2011-05-07 Ulrich Drepper <drepper@gmail.com>
42883 * resolv/resolv.h: Define RES_NOTLDQUERY.
42884 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
42885 no-tld-query and set RES_NOTLDQUERY.
42886 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
42887 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
42888 modern BIND to search name as TLD unless forbidden.
42890 2011-05-07 Petr Baudis <pasky@suse.cz>
42891 Ulrich Drepper <drepper@gmail.com>
42894 * elf/dl-load.c (fillin_rpath): Move trusted path check...
42895 (is_trusted_path): ...to here.
42896 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
42897 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
42898 using is_trusted_path_normalize() in setuid scripts.
42900 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
42902 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
42903 __BEGIN/__END_DECLS.
42905 2011-05-06 Ulrich Drepper <drepper@gmail.com>
42907 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
42908 NSS_STATUS_NOTFOUND if no record was found.
42910 2011-05-05 Andreas Schwab <schwab@redhat.com>
42912 * sunrpc/Makefile (headers): Add rpc/netdb.h.
42913 (headers-not-in-tirpc): Remove rpc/netdb.h
42914 * resolv/netdb.h: Revert last change.
42916 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
42918 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
42919 circular dependency between libgcc.a and libc.a.
42921 2011-05-05 Andreas Schwab <schwab@redhat.com>
42923 * resolv/netdb.h: Don't include <rpc/netdb.h>.
42924 * nis/Makefile: Don't install rpcsvc/*.
42925 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
42926 instead of <rpc/types.h>.
42927 (MAXHOSTNAMELEN): Define.
42929 2011-05-03 Andreas Schwab <schwab@redhat.com>
42931 * elf/ldconfig.c (add_dir): Don't crash on empty path.
42933 2011-04-28 Maciej Babinski <mbabinski@google.com>
42936 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
42937 gethostbyname4_r when IPv6 results are possible.
42939 2011-05-02 Ulrich Drepper <drepper@gmail.com>
42942 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
42943 _PC_PIPE_BUF handling.
42945 2011-04-30 Bruno Haible <bruno@clisp.org>
42948 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
42949 * resolv/netdb.h (getnameinfo): Change type of flags parameter
42951 * inet/getnameinfo.c (getnameinfo): Likewise.
42953 2011-04-29 Ulrich Drepper <drepper@gmail.com>
42955 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
42956 to groups setting in database lookup.
42957 * nss/nsswitch.conf: Add initgroups entry.
42959 2011-04-22 Ulrich Drepper <drepper@gmail.com>
42962 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
42964 Patch by Eric Blake <eblake@redhat.com>.
42966 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
42968 * sunrpc/Makefile (need-export-routines): Add svc_run.
42969 (routines): Remove svc_run.
42970 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
42971 * sunrpc/clnt_perr.c (clnt_perrno): Export.
42972 * sunrpc/svc_run.c (svc_run): Likewise.
42973 * sunrpc/svc_udp.c (svcudp_create): Likewise.
42975 2011-04-21 Ulrich Drepper <drepper@gmail.com>
42977 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
42978 problem in reallocation in last patch.
42980 2011-04-20 Ulrich Drepper <drepper@gmail.com>
42982 * sunrpc/Makefile: Move inclusion of Rules.
42984 2011-04-19 Ulrich Drepper <drepper@gmail.com>
42986 * nss/nss_files/files-initgroups.c: New file.
42987 * nss/Makefile (libnss_files-routines): Add files-initgroups.
42988 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
42989 _nss_files_initgroups_dyn.
42991 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
42993 * elf/elf.h (R_ARM_IRELATIVE): Define.
42995 2011-04-19 Ulrich Drepper <drepper@gmail.com>
42997 * po/ru.po: Update from translation team.
42999 2011-04-17 Ulrich Drepper <drepper@gmail.com>
43001 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
43004 2011-02-06 Mike Frysinger <vapier@gentoo.org>
43007 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
43008 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
43009 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
43010 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
43011 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
43013 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
43015 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
43017 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
43018 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
43019 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
43021 2011-04-17 Ulrich Drepper <drepper@gmail.com>
43024 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
43026 * stdlib/bug-getcontext.c: New file.
43027 * stdlib/Makefile: Add rules to build and run bug-getcontext.
43029 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43031 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
43032 instructions into .machine "z9-109".
43033 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
43034 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
43036 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43038 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
43039 between environment variables and auxiliary vector.
43041 2011-04-16 Ulrich Drepper <drepper@gmail.com>
43043 * Makefile: Add rules to build linkobj/libc.so.
43044 * include/libc-symbols.h: Define libc_hidden_nolink.
43045 * include/rpc/auth.h: Mark functions which are to be hidden.
43046 * include/rpc/auth_des.h: Likewise.
43047 * include/rpc/auth_unix.h: Likewise.
43048 * include/rpc/clnt.h: Likewise.
43049 * include/rpc/des_crypt.h: Likewise.
43050 * include/rpc/key_prot.h: Likewise.
43051 * include/rpc/pmap_clnt.h: Likewise.
43052 * include/rpc/pmap_prot.h: Likewise.
43053 * include/rpc/pmap_rmt.h: Likewise.
43054 * include/rpc/rpc_msg.h: Likewise.
43055 * include/rpc/svc.h: Likewise.
43056 * include/rpc/svc_auth.h: Likewise.
43057 * include/rpc/xdr.h: Likewise.
43058 * nis/Makefile: Link all DSOs against linkobj/libc.so.
43059 * nss/Makefile: Likewise.
43060 * sunrpc/Makefile: Don't install headers. Build library with normal
43061 entry points. Don't build rpcinfo. Link RPC tests appropriately.
43062 * sunrpc/auth_des.c: Hide exported symbols by default, export some
43063 for the compat linking library. Remove use of INTDEF/INTUSE.
43064 * sunrpc/auth_none.c: Likewise.
43065 * sunrpc/auth_unix.c: Likewise.
43066 * sunrpc/authdes_prot.c: Likewise.
43067 * sunrpc/authuxprot.c: Likewise.
43068 * sunrpc/clnt_gen.c: Likewise.
43069 * sunrpc/clnt_perr.c: Likewise.
43070 * sunrpc/clnt_raw.c: Likewise.
43071 * sunrpc/clnt_simp.c: Likewise.
43072 * sunrpc/clnt_tcp.c: Likewise.
43073 * sunrpc/clnt_udp.c: Likewise.
43074 * sunrpc/clnt_unix.c: Likewise.
43075 * sunrpc/des_crypt.c: Likewise.
43076 * sunrpc/des_soft.c: Likewise.
43077 * sunrpc/get_myaddr.c: Likewise.
43078 * sunrpc/key_call.c: Likewise.
43079 * sunrpc/key_prot.c: Likewise.
43080 * sunrpc/netname.c: Likewise.
43081 * sunrpc/pm_getmaps.c: Likewise.
43082 * sunrpc/pm_getport.c: Likewise.
43083 * sunrpc/pmap_clnt.c: Likewise.
43084 * sunrpc/pmap_prot.c: Likewise.
43085 * sunrpc/pmap_prot2.c: Likewise.
43086 * sunrpc/pmap_rmt.c: Likewise.
43087 * sunrpc/publickey.c: Likewise.
43088 * sunrpc/rpc_cmsg.c: Likewise.
43089 * sunrpc/rpc_common.c: Likewise.
43090 * sunrpc/rpc_dtable.c: Likewise.
43091 * sunrpc/rpc_prot.c: Likewise.
43092 * sunrpc/rpc_thread.c: Likewise.
43093 * sunrpc/rtime.c: Likewise.
43094 * sunrpc/svc.c: Likewise.
43095 * sunrpc/svc_auth.c: Likewise.
43096 * sunrpc/svc_authux.c: Likewise.
43097 * sunrpc/svc_raw.c: Likewise.
43098 * sunrpc/svc_run.c: Likewise.
43099 * sunrpc/svc_simple.c: Likewise.
43100 * sunrpc/svc_tcp.c: Likewise.
43101 * sunrpc/svc_udp.c: Likewise.
43102 * sunrpc/svc_unix.c: Likewise.
43103 * sunrpc/svcauth_des.c: Likewise.
43104 * sunrpc/xcrypt.c: Likewise.
43105 * sunrpc/xdr.c: Likewise.
43106 * sunrpc/xdr_array.c: Likewise.
43107 * sunrpc/xdr_float.c: Likewise.
43108 * sunrpc/xdr_intXX_t.c: Likewise.
43109 * sunrpc/xdr_mem.c: Likewise.
43110 * sunrpc/xdr_rec.c: Likewise.
43111 * sunrpc/xdr_ref.c: Likewise.
43112 * sunrpc/xdr_sizeof.c: Likewise.
43113 * sunrpc/xdr_stdio.c: Likewise.
43115 2011-04-10 Ulrich Drepper <drepper@gmail.com>
43118 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
43119 * sysdeps/ia64/dl-tls.h: Likewise.
43120 * sysdeps/powerpc/dl-tls.h: Likewise.
43121 * sysdeps/s390/dl-tls.h: Likewise.
43122 * sysdeps/sh/dl-tls.h: Likewise.
43123 * sysdeps/sparc/dl-tls.h: Likewise.
43124 * sysdeps/x86_64/dl-tls.h: Likewise.
43125 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
43127 2011-03-14 Andreas Schwab <schwab@redhat.com>
43129 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
43130 rpath element also skip the following colon.
43131 (expand_dynamic_string_token): Add is_path parameter and pass
43132 down to DL_DST_REQUIRED and _dl_dst_substitute.
43133 (decompose_rpath): Call expand_dynamic_string_token with
43134 non-zero is_path. Ignore empty rpaths.
43135 (_dl_map_object_from_fd): Call expand_dynamic_string_token
43138 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
43140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
43143 2011-04-09 Ulrich Drepper <drepper@gmail.com>
43146 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
43147 Patch by Filipe David Manana <fdmanana@apache.org>.
43149 2011-04-07 Andreas Schwab <schwab@redhat.com>
43151 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
43152 Maintain aligned stack.
43153 (CHECK_RSP): Remove unused macro.
43155 2011-04-03 Ulrich Drepper <drepper@gmail.com>
43157 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
43158 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
43160 2011-04-02 Ulrich Drepper <drepper@gmail.com>
43162 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
43164 * include/features.h: Mention __USE_XOPEN2K8 in comment.
43166 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
43169 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
43170 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
43171 * sysdeps/x86_64/memmove.c: New file.
43172 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
43173 (memcpy): Renamed to ...
43174 (__new_memcpy): This.
43175 (memcpy): Provide GLIBC_2_14 memcpy.
43176 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
43177 (memcpy): Provide GLIBC_2_2_5 memcpy.
43179 2011-04-01 Ulrich Drepper <drepper@gmail.com>
43182 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
43184 2011-03-30 Andreas Schwab <schwab@redhat.com>
43186 * misc/syncfs.c: New file.
43187 * misc/Makefile (routines): Add syncfs.
43188 * posix/unistd.h: Declare syncfs.
43189 * sysdeps/unix/syscalls.list: Add syncfs.
43191 2011-04-01 Andreas Schwab <schwab@redhat.com>
43193 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
43195 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
43196 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
43197 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43198 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43199 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43200 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
43201 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43203 2011-04-01 Ulrich Drepper <drepper@gmail.com>
43205 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
43206 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
43207 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
43208 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43209 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43210 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43211 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43213 * io/Makefile: Compile fallocate.c, fallocate64.c, and
43214 sync_file_range.c with -fexceptions.
43215 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
43216 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
43217 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
43218 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
43219 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
43220 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
43221 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
43222 sync_file_range as cancellation point
43223 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
43224 now a wrapper around __call_sync_file_range with cancellation handling.
43225 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
43226 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
43227 function name to __call_sync_file_range.
43228 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
43229 Add call_sync_file_range.
43231 2011-04-01 Andreas Schwab <schwab@redhat.com>
43233 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43236 2011-04-01 Ulrich Drepper <drepper@gmail.com>
43238 * iconv/iconv.h: Fix typo in comment.
43239 * io/fcntl.h: Likewise.
43240 * libio/stdio.h: Likewise.
43241 * posix/spawn.h: Likewise.
43242 * posix/unistd.h: Likewise.
43243 * stdlib/stdlib.h: Likewise.
43244 * time/time.h: Likewise.
43245 * wcsmbs/wchar.h: Likewise.
43247 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
43248 open_by_handle): Add.
43249 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
43250 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
43251 Augment a few comments.
43252 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
43253 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43254 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43255 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43256 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43257 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
43260 * io/fcntl.h (AT_EMPTY_PATH): Define.
43262 2011-03-30 Ulrich Drepper <drepper@gmail.com>
43264 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
43265 * sysdeps/unix/sysv/linux/bits/time.h: New file.
43266 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
43268 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
43269 * Versions.def: Add GLIBC_2.14.
43270 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
43273 2011-03-22 Ulrich Drepper <drepper@gmail.com>
43275 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
43277 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
43279 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
43282 * string/test-strncmp.c (do_page_test): New function.
43283 (check2): Likewise.
43284 (test_main): Call check2.
43285 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
43287 2011-03-20 Ulrich Drepper <drepper@gmail.com>
43290 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
43291 Handle cache information in CPU leaf 4.
43292 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
43294 2011-03-18 Ulrich Drepper <drepper@gmail.com>
43297 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
43298 character representation.
43299 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
43301 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
43303 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
43304 END(__isnan) to END(__isnanf) to match function entry point/label
43305 EALIGN(__isnanf,...).
43307 2011-03-10 Jakub Jelinek <jakub@redhat.com>
43309 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
43311 2011-03-10 Ulrich Drepper <drepper@gmail.com>
43314 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
43315 copy from the symbol referenced in the relocation to initialize the
43317 Patch by Piotr Bury <pbury@goahead.com>.
43318 * elf/Makefile: Add rules to build and tst-unique3.
43319 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
43320 * elf/tst-unique3.cc: New file.
43321 * elf/tst-unique3.h: New file.
43322 * elf/tst-unique3lib.cc: New file.
43323 * elf/tst-unique3lib2.cc: New file.
43325 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
43327 2011-03-10 Mike Frysinger <vapier@gentoo.org>
43329 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
43330 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
43333 2011-03-06 Ulrich Drepper <drepper@gmail.com>
43335 * elf/dl-load.c (_dl_map_object): If we are looking for the first
43336 to-be-loaded object along a path to loader is ld.so.
43338 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
43339 Ulrich Drepper <drepper@gmail.com>
43341 * sysdeps/x86_64/memset.S: After aligning destination, code
43342 branches to different locations depending on the value of
43343 misalignment, when multiarch is enabled. Fix this.
43345 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
43347 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
43348 Set _x86_64_preferred_memory_instruction for AMD processsors.
43349 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43350 Set bit_Prefer_SSE_for_memop for AMD processors.
43352 2011-03-04 Ulrich Drepper <drepper@gmail.com>
43354 * libio/fmemopen.c (fmemopen): Optimize a bit.
43356 2011-03-03 Andreas Schwab <schwab@redhat.com>
43358 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
43360 2011-03-03 Roland McGrath <roland@redhat.com>
43362 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
43364 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
43366 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
43367 __bzero_ultra1 instead of __memset_ultra1.
43369 2011-02-23 Andreas Schwab <schwab@redhat.com>
43370 Ulrich Drepper <drepper@gmail.com>
43373 * include/link.h (struct link_map): Add l_orig_initfini.
43374 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
43375 returning unsuccessfully.
43376 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
43377 close of a file loaded at startup, restore the original l_initfini
43379 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
43380 list, store the pointer.
43381 * elf/Makefile ($(objpfx)noload-mem): New rule.
43382 (noload-ENV): Define.
43383 (tests): Add $(objpfx)noload-mem.
43384 * elf/noload.c: Include <memcheck.h>.
43385 (main): Call mtrace. Close all opened handles.
43387 2011-02-17 Andreas Schwab <schwab@redhat.com>
43390 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
43391 dependencies are missing.
43393 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
43395 Fix __if_freereq crash: Unlike the generic version which uses free,
43397 * sysdeps/mach/hurd/ifreq.h: New file.
43399 2011-01-27 Petr Baudis <pasky@suse.cz>
43400 Ulrich Drepper <drepper@gmail.com>
43403 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
43404 to extend_alloca().
43405 * stdio-common/bug23.c: New file.
43406 * stdio-common/Makefile (tests): Add bug23.
43408 2010-09-28 Andreas Schwab <schwab@redhat.com>
43409 Ulrich Drepper <drepper@gmail.com>
43412 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
43413 before performing relro protection. At old place add assertion
43414 to make sure nothing changed.
43416 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
43417 Glauber de Oliveira Costa <glommer@gmail.com>
43419 * elf/elf.h: Add new ARM TLS relocs.
43421 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
43423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
43424 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
43426 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
43428 * sysdeps/wordsize-64/tst-writev.c: New file.
43430 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
43432 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
43433 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
43434 insns in _dl_start to prevent a TOC reference before relocs are
43437 2011-02-15 Ulrich Drepper <drepper@gmail.com>
43440 * Makeconfig: Remove RANLIB definition.
43441 * Makerules: Don't use RANLIB.
43442 * aclocal.m4: Remove ranlib test.
43443 * configure.in: No need to check for ranlib.
43444 * elf/rtld-Rules: Don't use RANLIB.
43446 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
43448 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
43450 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
43451 inclusion protection macro.
43453 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
43454 SIGRTMIN and SIGRTMAX and print information in that case only when
43455 SIGRTMIN is defined.
43457 2011-02-11 Jakub Jelinek <jakub@redhat.com>
43459 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
43460 arginfo fn returning -1.
43462 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
43463 and thousands string is zero terminated.
43465 2011-02-03 Andreas Schwab <schwab@redhat.com>
43467 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
43468 sysdeps/unix/sysv/linux/bits/socket.h.
43470 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
43472 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
43473 (__CPU_COUNT): Remove old macros.
43474 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
43475 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
43476 (__CPU_ALLOC, __CPU_FREE): Add macros.
43477 (__sched_cpualloc, __sched_cpufree): Add declarations.
43479 2011-02-05 Ulrich Drepper <drepper@gmail.com>
43481 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
43482 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
43483 * nscd/aicache.c (addhstaiX): Return timeout of added value.
43484 (readdhstai): Return value of addhstaiX call.
43485 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
43486 (addgrbyX): Return value returned by cache_addgr.
43487 (readdgrbyname): Return value returned by addgrbyX.
43488 (readdgrbygid): Likewise.
43489 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
43490 (addpwbyX): Return value returned by cache_addpw.
43491 (readdpwbyname): Return value returned by addhstbyX.
43492 (readdpwbyuid): Likewise.
43493 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
43494 (addservbyX): Return value returned by cache_addserv.
43495 (readdservbyname): Return value returned by addservbyX:
43496 (readdservbyport): Likewise.
43497 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
43498 (addhstbyX): Return value returned by cache_addhst.
43499 (readdhstbyname): Return value returned by addhstbyX.
43500 (readdhstbyaddr): Likewise.
43501 (readdhstbynamev6): Likewise.
43502 (readdhstbyaddrv6): Likewise.
43503 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
43504 (readdinitgroups): Return value returned by addinitgroupsX.
43505 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
43506 (prune_cache): Keep track of timeout value of re-added entries.
43507 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
43508 * nscd/nscd.h: Adjust prototypes of readd* functions.
43510 2011-02-04 Roland McGrath <roland@redhat.com>
43512 * nis/nis_server.c (nis_servstate): Use the right name for 0.
43513 (nis_stats): Likewise.
43514 * nis/nis_modify.c (nis_modify): Likewise.
43515 * nis/nis_remove.c (nis_remove): Likewise.
43516 * nis/nis_add.c (nis_add): Likewise.
43518 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
43520 * posix/fnmatch_loop.c: Add some consts.
43522 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
43524 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
43527 * config.make.in (config-cflags-novzeroupper): Define.
43528 * configure.in: Substitute libc_cv_cc_novzeroupper.
43529 * elf/Makefile (AVX-CFLAGS): Define.
43530 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
43531 (CFLAGS-tst-auditmod4a.c): Likewise.
43532 (CFLAGS-tst-auditmod4b.c): Likewise.
43533 (CFLAGS-tst-auditmod6b.c): Likewise.
43534 (CFLAGS-tst-auditmod6c.c): Likewise.
43535 (CFLAGS-tst-auditmod7b.c): Likewise.
43536 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
43538 2011-02-02 Ulrich Drepper <drepper@gmail.com>
43540 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
43541 function to the callback.
43542 Patch partly by Jiri Olsa <jolsa@redhat.com>.
43544 2011-02-02 Andreas Schwab <schwab@redhat.com>
43546 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
43549 2011-01-19 Ulrich Drepper <drepper@gmail.com>
43552 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
43554 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
43556 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
43559 * elf/Makefile: Add rules to build and run new test.
43560 * elf/tst-initorder.c: New file.
43561 * elf/tst-initorder.exp: New file.
43562 * elf/tst-initordera1.c: New file.
43563 * elf/tst-initordera2.c: New file.
43564 * elf/tst-initordera3.c: New file.
43565 * elf/tst-initordera4.c: New file.
43566 * elf/tst-initorderb1.c: New file.
43567 * elf/tst-initorderb2.c: New file.
43568 * elf/tst-order-a1.c: New file.
43569 * elf/tst-order-a2.c: New file.
43570 * elf/tst-order-a3.c: New file.
43571 * elf/tst-order-a4.c: New file.
43572 * elf/tst-order-b1.c: New file.
43573 * elf/tst-order-b2.c: New file.
43574 * elf/tst-order-main.c: New file.
43575 New test case by George Gensure <werkt0@gmail.com>.
43577 2010-10-01 Andreas Schwab <schwab@redhat.com>
43579 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
43580 decoding ACE if AI_CANONIDN.
43582 2011-01-18 Ulrich Drepper <drepper@gmail.com>
43584 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
43586 2011-01-17 Ulrich Drepper <drepper@gmail.com>
43588 * version.h (RELEASE): Bump for 2.13 release.
43589 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
43591 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
43593 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
43595 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
43596 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
43597 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
43598 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
43599 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
43600 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
43602 * posix/getconf.c: Update copyright year.
43603 * catgets/gencat.c: Likewise.
43604 * csu/version.c: Likewise.
43605 * debug/catchsegv.sh: Likewise.
43606 * debug/xtrace.sh: Likewise.
43607 * elf/ldconfig.c: Likewise.
43608 * elf/ldd.bash.in: Likewise.
43609 * elf/sprof.c (print_version): Likewise.
43610 * iconv/iconv_prog.c: Likewise.
43611 * iconv/iconvconfig.c: Likewise.
43612 * locale/programs/locale.c: Likewise.
43613 * locale/programs/localedef.c: Likewise.
43614 * malloc/memusage.sh: Likewise.
43615 * malloc/mtrace.pl: Likewise.
43616 * nscd/nscd.c (print_version): Likewise.
43617 * nss/getent.c: Likewise.
43619 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
43620 PF_CAIF, and PF_ALG.
43621 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43623 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
43625 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
43626 (modules-names): Use them.
43627 (ifunc-test-modules, ifunc-pie-tests): Define.
43628 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
43629 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
43630 (test-extras): Likewise.
43631 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
43632 $(compile-command.c).
43633 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
43634 (all-built-dso): Define.
43635 (check-textrel.out, check-execstack.out): Depend on it.
43637 * configure.in: Don't override --enable-multi-arch.
43639 2011-01-15 Ulrich Drepper <drepper@gmail.com>
43642 * nscd/hstcache.c (tryagain): Define.
43643 (cache_addhst): Return tryagain not notfound for temporary errors.
43644 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
43647 2011-01-14 Ulrich Drepper <drepper@gmail.com>
43650 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
43651 to make the syscall.
43652 * sysdeps/unix/sysv/linux/setgroups.c: New file.
43655 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
43656 and fall back to matching as normal character if the string ends before
43657 the matching ']' is found. This is what POSIX requires.
43658 * posix/testfnm.c: Adjust test result.
43659 * posix/globtest.sh: Adjust test result. Add new test.
43660 * posix/tst-fnmatch.input: Likewise.
43661 * posix/tst-fnmatch2.c: Add new test.
43663 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
43665 * elf/Makefile (check-execstack): Revert last change. Depend on
43667 (check-execstack.h): New target.
43668 (generated): Add check-execstack.h.
43669 * elf/check-execstack.c: Include "check-execstack.h".
43670 (main): Revert last change.
43671 (handle_file): Return zero if GNU_STACK is absent and
43672 DEFAULT_STACK_PERMS doesn't include PF_X.
43674 2011-01-13 Ulrich Drepper <drepper@gmail.com>
43676 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
43677 in child fails because the descriptor is already closed.
43678 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
43679 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
43680 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
43683 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
43687 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
43688 temporary buffer used to handle multi lookups locally.
43689 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
43691 2011-01-12 Ulrich Drepper <drepper@gmail.com>
43693 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
43696 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
43698 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
43699 alignment for SSE2.
43701 2011-01-12 Ulrich Drepper <drepper@gmail.com>
43704 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
43705 characters. When rounding increased number of integer digits recompute
43707 * stdio-common/tst-grouping.c: New file.
43708 * stdio-common/Makefile: Add rules to build and run tst-grouping.
43710 2011-01-09 Ulrich Drepper <drepper@gmail.com>
43712 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
43713 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
43715 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
43717 * bits/select.h: Likewise.
43719 2011-01-08 Ulrich Drepper <drepper@gmail.com>
43721 * po/ja.po: Update from translation team.
43723 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
43726 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
43727 implementation just like for lxstat, fxstatat, et al.
43729 2010-12-27 Jim Meyering <meyering@redhat.com>
43732 * posix/regexec.c (build_trtable): Return failure indication upon
43733 calloc failure. Otherwise, re_search_internal could infloop on OOM.
43735 2010-12-25 Ulrich Drepper <drepper@gmail.com>
43738 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
43739 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
43740 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
43741 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
43744 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
43747 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
43748 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
43750 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
43752 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
43753 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
43754 script has SORT_BY_INIT_PRIORITY.
43755 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
43756 NO_CTORS_DTORS_SECTIONS is defined.
43757 * elf/soinit.c: Likewise.
43758 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
43759 NO_CTORS_DTORS_SECTIONS is defined.
43760 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
43761 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
43762 * sysdeps/sh/init-first.c: Likewise.
43763 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
43765 2010-12-24 Ulrich Drepper <drepper@gmail.com>
43767 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
43768 always use the slow path.
43770 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
43772 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
43773 similar rule which adds the sysdep directories to the header search in
43774 order to pick up the correct platform stackinfo.h.
43775 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
43776 perform test if it is, otherwise return successfully without testing.
43777 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
43778 DEFAULT_STACK_PERMS define in stackinfo.h.
43779 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
43780 defined in stackinfo.h.
43781 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
43782 DEFAULT_STACK_PERMS defined in stackinfo.h.
43783 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
43784 * sysdeps/ia64/stackinfo.h: Likewise.
43785 * sysdeps/s390/stackinfo.h: Likewise.
43786 * sysdeps/sh/stackinfo.h: Likewise.
43787 * sysdeps/sparc/stackinfo.h: Likewise.
43788 * sysdeps/x86_64/stackinfo.h: Likewise.
43789 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
43790 PF_X for powerpc64. Retain PF_X for powerpc32.
43792 2010-12-19 Ulrich Drepper <drepper@gmail.com>
43794 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
43796 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
43797 GETDENTS_64BIT_ALIGNED.
43799 2010-12-14 Ulrich Drepper <dreper@gmail.com>
43801 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
43803 2010-12-10 Andreas Schwab <schwab@redhat.com>
43805 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
43808 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
43809 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
43811 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
43812 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
43814 2010-12-09 Ulrich Drepper <drepper@gmail.com>
43817 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
43820 2010-12-09 Jakub Jelinek <jakub@redhat.com>
43822 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
43824 2010-12-03 Ulrich Drepper <drepper@gmail.com>
43826 * po/it.po: Update from translation team.
43828 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
43830 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
43833 2010-11-30 Ulrich Drepper <drepper@gmail.com>
43835 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
43837 2010-11-24 Andreas Schwab <schwab@redhat.com>
43839 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
43841 (gaih_getanswer_slice): Likewise.
43843 2010-10-20 Jakub Jelinek <jakub@redhat.com>
43845 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
43847 2010-05-31 Petr Baudis <pasky@suse.cz>
43850 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
43851 silently even in the chroot mode.
43853 2010-11-22 Ulrich Drepper <drepper@gmail.com>
43855 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
43856 last patch a bit. Pretty printing
43858 2010-05-31 Petr Baudis <pasky@suse.cz>
43861 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
43862 initialization of skip_initgroups_dyn.
43864 2010-11-19 Ulrich Drepper <drepper@gmail.com>
43866 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
43867 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
43869 2010-11-16 Ulrich Drepper <drepper@gmail.com>
43871 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
43873 2010-11-11 Andreas Schwab <schwab@redhat.com>
43875 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
43876 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
43877 (tst-fnmatch-ENV): Set MALLOC_TRACE.
43878 ($(objpfx)tst-fnmatch-mem): New rule.
43879 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
43880 * posix/tst-fnmatch.c (main): Call mtrace.
43882 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
43884 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43885 Support Intel processor model 6 and model 0x2c.
43887 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
43889 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
43892 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
43895 * string/test-strncasecmp.c (check_result): New function.
43896 (do_one_test): Use it.
43897 (check1): New function.
43898 (test_main): Use it.
43899 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
43900 Support strcasecmp and strncasecmp.
43902 2010-11-08 Ulrich Drepper <drepper@gmail.com>
43905 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
43906 * sysdeps/x86_64/bits/byteswap.h: Likewise.
43908 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
43910 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
43912 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43914 * sysdeps/x86_64/multiarch/bzero.S: New file.
43915 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
43916 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
43917 * sysdeps/x86_64/multiarch/memset.S: New file.
43918 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
43919 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43920 Set bit_Prefer_SSE_for_memop for Intel processors.
43921 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
43923 (index_Prefer_SSE_for_memop): Define.
43924 (HAS_PREFER_SSE_FOR_MEMOP): Define.
43926 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
43928 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
43929 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
43931 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
43934 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
43935 (__x86_64_raw_data_cache_size_half): Likewise.
43936 (__x86_64_raw_shared_cache_size): Likewise.
43937 (__x86_64_raw_shared_cache_size_half): Likewise.
43939 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
43940 (__x86_64_raw_data_cache_size_half): Likewise.
43941 (__x86_64_raw_shared_cache_size): Likewise.
43942 (__x86_64_raw_shared_cache_size_half): Likewise.
43943 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
43944 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
43945 and __x86_64_raw_shared_cache_size_half. Round
43946 __x86_64_data_cache_size_half, __x86_64_data_cache_size
43947 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
43948 to multiple of 256 bytes.
43950 2010-11-03 Ulrich Drepper <drepper@gmail.com>
43953 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
43954 of inacessible symlinks. Verify result of symlink before returning it.
43955 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
43956 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
43958 2010-10-28 Erich Ritz <erichritz@gmail.com>
43960 * math/math.h (isinf): Fix typo in comment.
43962 2010-11-01 Ulrich Drepper <drepper@gmail.com>
43964 * po/da.po: Update from translation team.
43966 2010-10-26 Ulrich Drepper <drepper@gmail.com>
43968 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
43969 is added to the list.
43971 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43972 Ulrich Drepper <drepper@gmail.com>
43974 * elf/dl-object.c (_dl_new_object): Don't append the new object to
43975 the global list here. Move code to...
43976 (_dl_add_to_namespace_list): ...here. New function.
43977 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
43978 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
43979 * elf/dl-load.c (lose): Don't remove the element from the list.
43980 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
43981 (_dl_map_object): Likewise.
43983 2010-10-25 Ulrich Drepper <drepper@gmail.com>
43986 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
43987 into all bytes of SSE register.
43988 Patch by Richard Li <richardpku@gmail.com>.
43990 2010-10-24 Ulrich Drepper <drepper@gmail.com>
43993 * malloc/malloc.c (_int_free): Fill correct number of bytes when
43996 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
43998 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
43999 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
44000 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
44001 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
44002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
44004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
44006 2010-10-22 Andreas Schwab <schwab@redhat.com>
44008 * include/dlfcn.h (__RTLD_SECURE): Define.
44009 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
44010 mode & __RTLD_SECURE instead.
44011 (open_path): Rename preloaded parameter to secure.
44012 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
44013 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
44014 * elf/dl-deps.c (openaux): Likewise.
44015 * elf/rtld.c (struct map_args): Remove is_preloaded.
44016 (map_doit): Don't use it.
44017 (dl_main): Likewise.
44018 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
44019 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
44021 2010-09-09 Andreas Schwab <schwab@redhat.com>
44023 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
44024 (sysd-rules-targets): Remove duplicates.
44025 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
44026 rtld-%.$o dependency.
44028 2010-10-18 Andreas Schwab <schwab@redhat.com>
44030 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
44031 _dl_map_object do it.
44033 2010-10-19 Ulrich Drepper <drepper@gmail.com>
44035 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
44036 fast fma builtins, define the macros in the C99 standard.
44037 (FP_FAST_FMAF): Likewise.
44038 (FP_FAST_FMAL): Likewise.
44039 * sysdeps/x86_64/bits/mathdef.h: Likewise.
44041 * bits/mathdef.h: Update copyright year.
44042 * sysdeps/powerpc/bits/mathdef.h: Likewise.
44044 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
44046 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
44047 builtins, define the macros in the C99 standard.
44048 (FP_FAST_FMAF): Likewise.
44049 (FP_FAST_FMAL): Likewise.
44050 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
44052 (FP_FAST_FMAF): Likewise.
44054 2010-10-15 Jakub Jelinek <jakub@redhat.com>
44057 * math/libm-test.inc (fma_test): Some new testcases.
44058 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
44059 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
44060 y and infinite z. Do multiplication by C already in long double.
44061 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
44062 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
44063 y and infinite z. Do bitwise or of inexact bit into u.d.
44064 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
44065 * sysdeps/i386/fpu/s_fmaf.S: Removed.
44066 * sysdeps/i386/fpu/s_fma.S: Removed.
44067 * sysdeps/i386/fpu/s_fmal.S: Removed.
44069 2010-10-16 Jakub Jelinek <jakub@redhat.com>
44072 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
44073 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
44074 computation is not scheduled after fetestexcept. Fix value
44075 of minimum denormal long double.
44077 2010-10-14 Jakub Jelinek <jakub@redhat.com>
44080 * math/libm-test.inc (fma_test): Add some more tests.
44081 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
44084 2010-10-15 Andreas Schwab <schwab@redhat.com>
44086 * scripts/data/localplt-s390-linux-gnu.data: New file.
44087 * scripts/data/localplt-s390x-linux-gnu.data: New file.
44089 2010-10-13 Jakub Jelinek <jakub@redhat.com>
44092 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
44093 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
44095 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
44097 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
44098 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
44099 if one of x and y is very large and the other is subnormal.
44100 * sysdeps/s390/fpu/s_fmaf.c: New file.
44101 * sysdeps/s390/fpu/s_fma.c: New file.
44102 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
44103 * sysdeps/powerpc/fpu/s_fma.S: New file.
44104 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
44105 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
44106 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
44108 2010-10-12 Jakub Jelinek <jakub@redhat.com>
44111 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
44113 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
44114 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
44115 * sysdeps/i386/i686/multiarch/s_fma.c: Include
44116 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
44117 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
44118 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
44119 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
44121 2010-10-12 Ulrich Drepper <drepper@redhat.com>
44124 * posix/regcomp.c (parse_branch): One more memory leak plugged.
44125 * posix/bug-regex31.input: Add test case.
44127 2010-10-11 Ulrich Drepper <drepper@gmail.com>
44129 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
44130 * posix/bug-regex31.input: New file.
44133 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
44134 (parse_sub_exp): Fix last change, use postorder.
44136 * posix/bug-regex31.c: New file.
44137 * posix/Makefile: Add rules to build and run bug-regex31.
44139 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
44142 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
44145 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
44146 to have entries in sys_siglist.
44149 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
44152 2010-10-07 Jakub Jelinek <jakub@redhat.com>
44155 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
44156 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
44157 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
44158 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
44159 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
44160 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
44161 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
44162 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
44163 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
44164 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
44165 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
44166 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
44167 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
44168 * math/ftestexcept.c (fetestexcept): Likewise.
44169 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
44170 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
44171 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
44172 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
44173 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
44174 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
44175 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
44177 2010-10-11 Ulrich Drepper <drepper@gmail.com>
44180 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
44183 2010-10-06 Ulrich Drepper <drepper@gmail.com>
44185 * string/bug-strstr1.c: New file.
44186 * string/Makefile: Add rules to build and run bug-strstr1.
44188 2010-10-05 Eric Blake <eblake@redhat.com>
44191 * string/str-two-way.h (two_way_long_needle): Always clear memory
44192 when skipping input due to the shift table.
44194 2010-10-03 Ulrich Drepper <drepper@gmail.com>
44197 * malloc/mcheck.c: Handle large requests.
44200 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
44201 for strncmp and strncasecmp.
44202 * string/stratcliff.c: Add tests for strcmp and strncmp.
44203 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
44205 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44207 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
44210 2010-09-30 Andreas Jaeger <aj@suse.de>
44212 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
44213 (CGROUP_SUPER_MAGIC): Define.
44214 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44215 Handle btrfs and cgroup file systems.
44216 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
44219 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
44221 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
44222 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
44224 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44227 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
44228 trying to locate the ELF header.
44230 2010-09-27 Andreas Schwab <schwab@redhat.com>
44233 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
44234 Mask out sign-bit copies when constructing f_fsid.
44236 2010-09-24 Petr Baudis <pasky@suse.cz>
44238 * debug/stack_chk_fail_local.c: Add missing licence exception.
44239 * debug/warning-nop.c: Likewise.
44241 2010-09-15 Joseph Myers <joseph@codesourcery.com>
44243 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
44244 implementing getdents64 using getdents syscall, set d_type if
44245 __ASSUME_GETDENTS32_D_TYPE.
44247 2010-09-16 Andreas Schwab <schwab@redhat.com>
44249 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
44250 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
44252 2010-09-21 Ulrich Drepper <drepper@redhat.com>
44255 * posix/unistd.h: Undo change of feature selection for ftruncate from
44258 2010-09-20 Ulrich Drepper <drepper@redhat.com>
44260 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
44263 2010-09-20 Andreas Schwab <schwab@redhat.com>
44265 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
44267 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
44269 2010-09-14 Andreas Schwab <schwab@redhat.com>
44271 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
44272 variables after CHECK_SP call.
44273 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
44275 2010-09-13 Andreas Schwab <schwab@redhat.com>
44276 Ulrich Drepper <drepper@redhat.com>
44278 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
44279 re-relocationg ld.so.
44280 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
44281 _dl_init_paths call.
44282 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
44285 2010-09-14 Ulrich Drepper <drepper@redhat.com>
44287 * resolv/res_init.c (__res_vinit): Count the default server we added.
44289 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
44290 Ulrich Drepper <drepper@redhat.com>
44293 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
44294 (____longjmp_chk): Use %ebx for saving value across system call.
44297 2010-09-06 Andreas Schwab <schwab@redhat.com>
44299 * manual/Makefile: Don't mix pattern rules with normal rules.
44301 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
44303 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
44305 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
44306 * libio/iofopncook.c (_IO_cookie_init): Likewise.
44307 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
44308 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
44309 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44312 2010-09-04 Ulrich Drepper <drepper@redhat.com>
44315 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
44316 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
44318 2010-09-02 Ulrich Drepper <drepper@redhat.com>
44320 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
44321 * sysdeps/x86_64/addmul_1.S: Likewise.
44322 * sysdeps/x86_64/lshift.S: Likewise.
44323 * sysdeps/x86_64/mul_1.S: Likewise.
44324 * sysdeps/x86_64/rshift.S: Likewise.
44325 * sysdeps/x86_64/sub_n.S: Likewise.
44326 * sysdeps/x86_64/submul_1.S: Likewise.
44328 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
44330 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
44331 Define __sched_param instead of SCHED_* and sched_param when
44332 <bits/sched.h> is included with __need_schedparam defined.
44333 * bits/sched.h [__need_schedparam]
44334 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
44335 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
44336 (__defined_schedparam): Define to 1.
44337 (__sched_param): New structure, identical to sched_param.
44338 (__need_schedparam): Undefine.
44340 2010-08-31 Mike Frysinger <vapier@gentoo.org>
44342 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
44343 (epoll_create1): Declare.
44345 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
44347 2010-08-31 Andreas Schwab <schwab@redhat.com>
44350 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
44351 shifting retval into place.
44353 2010-09-01 Ulrich Drepper <drepper@redhat.com>
44355 * nis/rpcsvc/nis.h: Update copyright notice.
44356 * nis/rpcsvc/nis.x: Likewise.
44357 * nis/rpcsvc/nis_callback.h: Likewise.
44358 * nis/rpcsvc/nis_callback.x: Likewise.
44359 * nis/rpcsvc/nis_object.x: Likewise.
44360 * nis/rpcsvc/nis_tags.h: Likewise.
44361 * nis/rpcsvc/yp.h: Likewise.
44362 * nis/rpcsvc/yp.x: Likewise.
44363 * nis/rpcsvc/ypupd.h: Likewise.
44364 * nis/yp_xdr.c: Likewise.
44365 * nis/ypupdate_xdr.c: Likewise.
44367 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
44368 mainly the body of pmap_getport. Add parameters to specify timeouts.
44369 (pmap_getport): Use __libc_rpc_getport.
44370 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
44371 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
44372 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
44374 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
44376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
44379 2010-08-27 Roland McGrath <roland@redhat.com>
44381 * sysdeps/i386/i686/multiarch/Makefile
44382 (CFLAGS-varshift.c): New variable.
44384 2010-08-27 Ulrich Drepper <drepper@redhat.com>
44386 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
44387 * sysdeps/i386/i686/multiarch/varshift.c: New file.
44389 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
44391 * sysdeps/x86_64/strlen.S: Minimal code improvement.
44393 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
44395 * sysdeps/x86_64/strlen.S: Unroll the loop.
44396 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44397 strlen-sse2 strlen-sse2-bsf.
44398 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
44399 __strlen_no_bsf if bit_Slow_BSF is set.
44400 (__strlen_sse42): Removed.
44401 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
44402 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
44404 2010-08-25 Roland McGrath <roland@redhat.com>
44406 * sysdeps/x86_64/multiarch/varshift.S: File removed.
44407 * sysdeps/x86_64/multiarch/varshift.c: New file.
44408 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
44409 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
44410 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
44411 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
44413 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
44415 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44416 strlen-sse2 strlen-sse2-bsf.
44417 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
44418 __strlen_sse2_bsf if bit_Slow_BSF is unset.
44419 (__strlen_sse2): Removed.
44420 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
44421 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
44422 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
44423 bit_Slow_BSF for Atom.
44424 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
44425 (index_Slow_BSF): Define.
44426 (HAS_SLOW_BSF): Define.
44428 2010-08-25 Ulrich Drepper <drepper@redhat.com>
44431 * resolv/res_init.c (__res_vinit): When no server address at all
44432 is given default to loopback.
44434 2010-08-24 Roland McGrath <roland@redhat.com>
44436 * configure.in: Remove config-name.h generation.
44437 * configure: Regenerated.
44438 * config-name.in: File removed.
44439 * scripts/config-uname.sh: New file.
44440 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
44441 ($(objdir)config-name.h): New target.
44443 * sunrpc/rpc_parse.h: Avoid nested comment.
44445 2010-08-24 Richard Henderson <rth@redhat.com>
44446 Ulrich Drepper <drepper@redhat.com>
44447 H.J. Lu <hongjiu.lu@intel.com>
44449 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
44450 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
44451 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
44452 Replace _mm_srli_si128 with __m128i_shift_right. Replace
44453 _mm_alignr_epi8 with _mm_loadu_si128.
44454 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
44455 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
44456 (__m128i_shift_right): Removed.
44457 * sysdeps/i386/i686/multiarch/varshift.h: New file.
44458 * sysdeps/i386/i686/multiarch/varshift.S: New file.
44459 * sysdeps/x86_64/multiarch/varshift.h: New file.
44460 * sysdeps/x86_64/multiarch/varshift.S: New file.
44462 2010-08-21 Mike Frysinger <vapier@gentoo.org>
44464 * configure.in: Move assembler checks to before sysdep dir checking.
44466 2010-08-20 Petr Baudis <pasky@suse.cz>
44468 * LICENSES: Sync the sunrpc license.
44470 2010-08-19 Ulrich Drepper <drepper@redhat.com>
44472 * sunrpc/auth_des.c: Update copyright notice once again.
44473 * sunrpc/auth_none.c: Likewise.
44474 * sunrpc/auth_unix.c: Likewise.
44475 * sunrpc/authdes_prot.c: Likewise.
44476 * sunrpc/authuxprot.c: Likewise.
44477 * sunrpc/bindrsvprt.c: Likewise.
44478 * sunrpc/clnt_gen.c: Likewise.
44479 * sunrpc/clnt_perr.c: Likewise.
44480 * sunrpc/clnt_raw.c: Likewise.
44481 * sunrpc/clnt_simp.c: Likewise.
44482 * sunrpc/clnt_tcp.c: Likewise.
44483 * sunrpc/clnt_udp.c: Likewise.
44484 * sunrpc/clnt_unix.c: Likewise.
44485 * sunrpc/des_crypt.c: Likewise.
44486 * sunrpc/des_soft.c: Likewise.
44487 * sunrpc/get_myaddr.c: Likewise.
44488 * sunrpc/getrpcport.c: Likewise.
44489 * sunrpc/key_call.c: Likewise.
44490 * sunrpc/key_prot.c: Likewise.
44491 * sunrpc/openchild.c: Likewise.
44492 * sunrpc/pm_getmaps.c: Likewise.
44493 * sunrpc/pm_getport.c: Likewise.
44494 * sunrpc/pmap_clnt.c: Likewise.
44495 * sunrpc/pmap_prot.c: Likewise.
44496 * sunrpc/pmap_prot2.c: Likewise.
44497 * sunrpc/pmap_rmt.c: Likewise.
44498 * sunrpc/rpc/auth.h: Likewise.
44499 * sunrpc/rpc/auth_unix.h: Likewise.
44500 * sunrpc/rpc/clnt.h: Likewise.
44501 * sunrpc/rpc/des_crypt.h: Likewise.
44502 * sunrpc/rpc/key_prot.h: Likewise.
44503 * sunrpc/rpc/netdb.h: Likewise.
44504 * sunrpc/rpc/pmap_clnt.h: Likewise.
44505 * sunrpc/rpc/pmap_prot.h: Likewise.
44506 * sunrpc/rpc/pmap_rmt.h: Likewise.
44507 * sunrpc/rpc/rpc.h: Likewise.
44508 * sunrpc/rpc/rpc_des.h: Likewise.
44509 * sunrpc/rpc/rpc_msg.h: Likewise.
44510 * sunrpc/rpc/svc.h: Likewise.
44511 * sunrpc/rpc/svc_auth.h: Likewise.
44512 * sunrpc/rpc/types.h: Likewise.
44513 * sunrpc/rpc/xdr.h: Likewise.
44514 * sunrpc/rpc_clntout.c: Likewise.
44515 * sunrpc/rpc_cmsg.c: Likewise.
44516 * sunrpc/rpc_common.c: Likewise.
44517 * sunrpc/rpc_cout.c: Likewise.
44518 * sunrpc/rpc_dtable.c: Likewise.
44519 * sunrpc/rpc_hout.c: Likewise.
44520 * sunrpc/rpc_main.c: Likewise.
44521 * sunrpc/rpc_parse.c: Likewise.
44522 * sunrpc/rpc_parse.h: Likewise.
44523 * sunrpc/rpc_prot.c: Likewise.
44524 * sunrpc/rpc_sample.c: Likewise.
44525 * sunrpc/rpc_scan.c: Likewise.
44526 * sunrpc/rpc_scan.h: Likewise.
44527 * sunrpc/rpc_svcout.c: Likewise.
44528 * sunrpc/rpc_tblout.c: Likewise.
44529 * sunrpc/rpc_util.c: Likewise.
44530 * sunrpc/rpc_util.h: Likewise.
44531 * sunrpc/rpcinfo.c: Likewise.
44532 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
44533 * sunrpc/rpcsvc/key_prot.x: Likewise.
44534 * sunrpc/rpcsvc/klm_prot.x: Likewise.
44535 * sunrpc/rpcsvc/mount.x: Likewise.
44536 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
44537 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
44538 * sunrpc/rpcsvc/rex.x: Likewise.
44539 * sunrpc/rpcsvc/rstat.x: Likewise.
44540 * sunrpc/rpcsvc/rusers.x: Likewise.
44541 * sunrpc/rpcsvc/sm_inter.x: Likewise.
44542 * sunrpc/rpcsvc/spray.x: Likewise.
44543 * sunrpc/rpcsvc/yppasswd.x: Likewise.
44544 * sunrpc/rtime.c: Likewise.
44545 * sunrpc/svc.c: Likewise.
44546 * sunrpc/svc_auth.c: Likewise.
44547 * sunrpc/svc_authux.c: Likewise.
44548 * sunrpc/svc_raw.c: Likewise.
44549 * sunrpc/svc_run.c: Likewise.
44550 * sunrpc/svc_simple.c: Likewise.
44551 * sunrpc/svc_tcp.c: Likewise.
44552 * sunrpc/svc_udp.c: Likewise.
44553 * sunrpc/svc_unix.c: Likewise.
44554 * sunrpc/svcauth_des.c: Likewise.
44555 * sunrpc/xcrypt.c: Likewise.
44556 * sunrpc/xdr.c: Likewise.
44557 * sunrpc/xdr_array.c: Likewise.
44558 * sunrpc/xdr_float.c: Likewise.
44559 * sunrpc/xdr_mem.c: Likewise.
44560 * sunrpc/xdr_rec.c: Likewise.
44561 * sunrpc/xdr_ref.c: Likewise.
44562 * sunrpc/xdr_sizeof.c: Likewise.
44563 * sunrpc/xdr_stdio.c: Likewise.
44565 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
44568 2010-08-19 Andreas Schwab <schwab@redhat.com>
44570 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
44572 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
44574 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
44575 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
44576 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
44577 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
44578 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
44579 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
44580 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
44581 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
44582 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
44583 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
44584 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
44585 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
44586 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
44587 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
44589 2010-07-26 Anton Blanchard <anton@samba.org>
44591 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
44592 * malloc/arena.c (heap_trim): Likewise.
44594 2010-08-16 Ulrich Drepper <drepper@redhat.com>
44596 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
44598 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
44599 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
44601 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
44603 * sysdeps/i386/elf/Makefile: New file.
44605 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
44607 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
44608 from fanotify_init.
44609 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
44610 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
44612 2010-08-15 Ulrich Drepper <drepper@redhat.com>
44614 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
44616 * sysdeps/multiarch/strcmp.S: Likewise.
44618 2010-08-14 Ulrich Drepper <drepper@redhat.com>
44620 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
44621 strncase_l-nonascii.
44622 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
44623 Add strncase_l-ssse3.
44624 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
44625 * sysdeps/x86_64/strcmp.S: Likewise.
44626 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
44627 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
44628 * sysdeps/x86_64/strncase.S: New file.
44629 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
44630 * sysdeps/x86_64/strncase_l.S: New file.
44631 * string/Makefile (strop-tests): Add strncasecmp.
44632 * string/test-strncasecmp.c: New file.
44634 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
44637 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
44638 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
44640 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
44642 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
44644 2010-08-12 Ulrich Drepper <drepper@redhat.com>
44646 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
44647 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
44648 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
44650 2010-05-01 Alan Modra <amodra@gmail.com>
44652 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
44653 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
44654 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
44655 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
44656 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
44657 tidying. Don't tail-call __sigjmp_save for static lib.
44658 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
44660 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
44661 (CALL_MCOUNT): Add eh info, and nop after bl.
44662 (TAIL_CALL_SYSCALL_ERROR): New macro.
44663 (PSEUDO_RET): Use it.
44664 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
44665 Correct save location of integer regs and cr.
44666 (_dl_profile_resolve): Correct cr save location. Delete nops
44667 after bl when SHARED. Reduce cfi size a little by better
44668 placement of cfi directives.
44669 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
44670 make a stack frame. Instead use parm save area as a temp.
44671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
44672 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
44673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
44674 Don't make a stack frame for parent, use parm save area.
44675 Increase child stack frame to 112 bytes. Don't save unused reg,
44676 and adjust reg usage. Set up cfi on error recovery and
44677 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
44678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
44679 (__makecontext): Add dummy nop after jump to exit.
44680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
44681 Use correct parm save area and cr save, reduce stack frame.
44682 Correct cfi for possible PSEUDO_RET frame setup.
44683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
44684 Branch to local label emitted by PSEUDO_RET rather than
44687 2010-08-12 Andreas Schwab <schwab@redhat.com>
44690 * locale/programs/locale.c (print_assignment): New function.
44691 (show_locale_vars): Use it.
44693 2010-08-11 Ulrich Drepper <drepper@redhat.com>
44695 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
44697 (struct statfs64): Likewise.
44698 (_STATFS_F_FLAGS): Define.
44699 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
44700 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44701 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
44702 (ST_VALID): Define locally.
44703 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
44704 __statvfs_getflags, use the provided value.
44705 * sysdeps/unix/sysv/linux/kernel-features.h: Define
44706 __ASSUME_STATFS_F_FLAGS.
44708 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
44710 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
44711 Add sys/fanotify.h.
44712 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
44713 fanotify_mask for GLIBC_2.13.
44714 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
44715 fanotify_init and fanotify_mark.
44716 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
44717 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
44719 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
44721 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
44722 prlimit64 for GLIBC_2.13.
44723 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
44725 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
44727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
44728 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
44729 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
44730 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
44731 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
44733 * sysdeps/unix/sysv/linux/prlimit.c: New file.
44736 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
44737 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
44739 * nss/Makefile: Add rules to build and run tst-nss-test1.
44740 * shlib-versions: Add entry for libnss_test1.
44741 * nss/nss_test1.c: New file.
44742 * nss/tst-nss-test1.c: New file.
44744 * nss/nsswitch.c (__nss_database_custom): Define new variable.
44745 (__nss_configure_lookup): Set appropriate entry in
44746 __nss_configure_lookup to true.
44747 * nss/nsswitch.h: Define enum with indeces of databases in
44748 databases and __nss_database_custom arrays. Declare
44749 __nss_database_custom.
44750 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
44751 to avoid using nscd when custom rules are installed.
44752 * nss/getXXbyYY_r.c: Likewise.
44753 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
44755 * nss/nss_files/files-parse.c: Whitespace fixes.
44757 2010-08-09 Ulrich Drepper <drepper@redhat.com>
44760 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
44761 * posix/fnmatch_loop.c: Likewise.
44763 2010-07-17 Andi Kleen <ak@linux.intel.com>
44765 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
44766 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
44767 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
44768 * Versions.def [GLIBC_2.13]: Add.
44770 2010-08-06 Ulrich Drepper <drepper@redhat.com>
44772 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
44773 Also fail if tpwd after pwuid call is NULL.
44775 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
44777 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
44778 when converting to ms.
44780 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
44782 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
44783 EOPNOTSUPP errors with ENOTTY.
44784 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
44785 EOPNOTSUPP errors with ENOTTY.
44787 2010-07-31 Ulrich Drepper <drepper@redhat.com>
44789 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
44790 Add strcasecmp_l-ssse3.
44791 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
44793 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
44794 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
44795 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
44797 2010-07-30 Ulrich Drepper <drepper@redhat.com>
44799 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
44801 * string/Makefile (strop-tests): Add strcasecmp.
44802 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
44803 strcasecmp_l-nonascii.
44804 (gen-as-const-headers): Add locale-defines.sym.
44805 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
44806 * sysdeps/x86_64/strcasecmp.S: New file.
44807 * sysdeps/x86_64/strcasecmp_l.S: New file.
44808 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
44809 * sysdeps/x86_64/locale-defines.sym: New file.
44810 * string/test-strcasecmp.c: New file.
44812 * string/test-strcasestr.c: Test both ends of the range of characters.
44813 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
44815 2010-07-29 Roland McGrath <roland@redhat.com>
44818 * manual/locale.texi (Yes-or-No Questions): Fix example code.
44820 2010-07-27 Ulrich Drepper <drepper@redhat.com>
44822 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
44825 2010-07-27 Andreas Schwab <schwab@redhat.com>
44827 * manual/memory.texi (Malloc Tunable Parameters): Document
44830 2010-07-26 Roland McGrath <roland@redhat.com>
44833 * configure.in (-fgnu89-inline check): Set and substitute
44834 gnu89_inline, not libc_cv_gnu89_inline.
44835 * configure: Regenerated.
44836 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
44838 2010-07-26 Ulrich Drepper <drepper@redhat.com>
44840 * string/test-strnlen.c: New file.
44841 * string/Makefile (strop-tests): Add strnlen.
44842 * string/tester.c (test_strnlen): Add a few more test cases.
44843 * string/tst-strlen.c: Better error reporting.
44845 * sysdeps/x86_64/strnlen.S: New file.
44847 2010-07-24 Ulrich Drepper <drepper@redhat.com>
44849 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
44850 lower-latency instructions.
44852 2010-07-23 Ulrich Drepper <drepper@redhat.com>
44854 * string/test-strcasestr.c: New file.
44855 * string/test-strstr.c: New file.
44856 * string/Makefile (strop-tests): Add strstr and strcasestr.
44857 * string/str-two-way.h: Don't undefine MAX.
44858 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
44860 2010-07-21 Andreas Schwab <schwab@redhat.com>
44862 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44863 strcasestr-nonascii.
44864 (CFLAGS-strcasestr-nonascii.c): Define.
44865 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
44866 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
44867 Remove unused attribute.
44869 2010-07-20 Roland McGrath <roland@redhat.com>
44871 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
44872 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
44873 ld.so.cache was broken. With it, there is no way to disable dsocaps
44874 like LD_HWCAP_MASK can disable hwcaps.
44876 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
44878 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
44880 2010-07-16 Ulrich Drepper <drepper@redhat.com>
44882 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
44883 call in strcasestr.
44884 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
44885 __strcasestr_sse42_nonascii.
44886 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
44887 strcasestr-nonascii.c.
44888 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
44890 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
44892 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
44893 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
44894 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
44895 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
44897 2010-07-09 Ulrich Drepper <drepper@redhat.com>
44899 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
44902 2010-07-06 Andreas Schwab <schwab@redhat.com>
44905 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
44908 2010-07-06 Ulrich Drepper <drepper@redhat.com>
44910 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
44911 _PC_PIPE_BUF using F_GETPIPE_SZ.
44913 2010-07-05 Roland McGrath <roland@redhat.com>
44915 * manual/arith.texi (Rounding Functions): Fix rint description
44916 implicit in round description.
44918 2010-07-02 Ulrich Drepper <drepper@redhat.com>
44920 * elf/Makefile: Fix linking for a few tests to make recent linker
44923 2010-06-30 Andreas Schwab <schwab@redhat.com>
44925 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
44926 $(common-objpfx)libc_nonshared.a.
44928 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
44930 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
44931 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
44932 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
44933 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
44934 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
44935 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
44936 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
44937 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
44938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
44939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
44940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
44941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
44942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
44943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
44944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
44945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
44946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
44947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
44948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
44949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
44950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
44951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
44952 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
44953 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
44954 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
44955 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
44956 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
44957 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
44958 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
44959 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
44960 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
44961 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
44962 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
44963 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
44964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
44965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
44966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
44967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
44968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
44969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
44970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
44971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
44972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
44973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
44974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
44975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
44976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
44977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
44979 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
44981 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
44982 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
44983 * string/memmove.c (memmove): Renamed to ...
44984 (MEMMOVE): ...this. Default to memmove.
44985 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
44986 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
44988 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44989 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
44990 mempcpy-ssse3-back memmove-ssse3-back.
44991 * sysdeps/x86_64/multiarch/bcopy.S: New file .
44992 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
44993 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
44994 * sysdeps/x86_64/multiarch/memcpy.S: New file.
44995 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
44996 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
44997 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
44998 * sysdeps/x86_64/multiarch/memmove.c: New file.
44999 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
45000 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
45001 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
45002 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
45003 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
45004 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
45006 (index_Fast_Copy_Backward): Define.
45007 (HAS_ARCH_FEATURE): Define.
45008 (HAS_FAST_REP_STRING): Define.
45009 (HAS_FAST_COPY_BACKWARD): Define.
45011 2010-06-21 Andreas Schwab <schwab@redhat.com>
45013 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
45014 Restore proper fallback handling.
45016 2010-06-19 Ulrich Drepper <drepper@redhat.com>
45019 * posix/group_member.c (__group_member): Correct checking loop.
45021 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
45022 OOM in getpwuid_r correctly. Return error number when the caller
45023 should return, otherwise -1.
45024 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
45025 call returning > 0 value.
45026 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
45028 2010-06-07 Andreas Schwab <schwab@redhat.com>
45030 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
45031 libc_nonshared.a from targets in modules-names.
45033 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
45035 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
45038 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
45040 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
45041 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
45042 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
45043 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
45045 2010-06-02 Andreas Schwab <schwab@redhat.com>
45047 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
45049 2010-06-14 Ulrich Drepper <drepper@redhat.com>
45051 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
45053 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
45054 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45055 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45056 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45057 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45058 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
45060 2010-06-14 Roland McGrath <roland@redhat.com>
45062 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
45064 2010-06-07 Jakub Jelinek <jakub@redhat.com>
45066 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
45067 __REDIRECT followed by __THROW.
45068 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
45069 * posix/getopt.h (getopt): Likewise.
45071 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
45073 * hurd/lookup-at.c (__file_name_lookup_at): Accept
45074 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
45075 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
45077 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
45078 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
45080 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
45082 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
45084 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
45087 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45088 Properly check family and model.
45090 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
45092 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
45094 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
45096 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
45098 2010-05-21 Ulrich Drepper <drepper@redhat.com>
45100 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
45103 2010-05-19 Andreas Schwab <schwab@redhat.com>
45105 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
45108 2010-05-21 Andreas Schwab <schwab@redhat.com>
45110 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
45111 and internal_recvmmsg.
45112 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
45113 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
45114 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
45115 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
45117 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
45118 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
45119 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
45121 2010-05-20 Andreas Schwab <schwab@redhat.com>
45123 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
45125 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
45127 POWER7 optimizations.
45128 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
45129 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
45131 2010-05-19 Ulrich Drepper <drepper@redhat.com>
45133 * version.h: Update for 2.13 development version.
45135 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
45137 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
45138 exceptions. Return 0.
45140 2010-05-07 Roland McGrath <roland@redhat.com>
45142 * elf/ldconfig.c (main): Add a const.
45144 2010-05-06 Ulrich Drepper <drepper@redhat.com>
45146 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
45147 (args_options): Add no-idn option.
45148 (ahosts_keys_int): Add idn_flags to ai_flags.
45149 (parse_option): Handle 'i' option to clear idn_flags.
45151 * malloc/malloc.c (_int_free): Possible race in the most recently
45152 added check. Only act on the data if no current modification
45155 See ChangeLog.17 for earlier changes.